- The context functions are now exposed in
init.lua
- automaticSize helper should now set minSize attribute correctly
- Fixed Slider not firing event callback for drag connection (Fixes using slider on the server in Matter debugger)
- Added highlight widget
- table now supports a
hovered
method in its handle
- Table widget
- Added font option to heading
useInstance
no longer returns the root instance. Instead, it returns aref
table, which is also created and passed to theuseInstance
function itself as a first parameter. You can create keys in the table to access instances in the widget body.- The
create
function now has special behavior if a key is passed in the props table. It will set a value in the table to the instance that's being created at the key specified by the value in the props table. E.g.,[ref] = "button"
will set the key "button" in theref
table to the button that was created. automaticSize
now covers more cases, including text objects and objects with no UIGridStyleLayout within them.- The window widget is now draggable, resizable, and closable.
- Slider now supports min and initial value settings
- label, checkbox, heading, table, window now support RichText
- Buttons are appropriately sized to their text contents
- Added
hydrateAutomaticSize
function
automaticSize
no longer applies automatic sizing on the server. Instead, it configures the instance to be compatible withhydrateAutomaticSize
from the client.automaticSize
now accepts a UDim2 as amaxSize
for use with Scale
- Fixed
automaticSize
with scrolling frames sometimes causing an infinite content reflow loop.
- Added
useKey
- Added heading, label, slider, and space widgets
- Add multi-phase frame API with
beginFrame
,continueFrame
, andfinishFrame
- Add event callback injection
- Widget state now resets if the widget in the slot changed from last frame
- Initial release