Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Plasma v0.4.0

Compare
Choose a tag to compare
@evaera evaera released this 05 Jul 07:12
· 10 commits to main since this release

[0.4.0] - 2022-07-05

Added

  • Table widget
  • Added font option to heading

Changed

  • useInstance no longer returns the root instance. Instead, it returns a ref table, which is also created and passed to the useInstance 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 the ref 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

Pull requests

  • Add RichText = true to checkbox, heading, label, table, and window by @osyrisrblx in #3
  • Slider Improvements by @osyrisrblx in #2

New Contributors

Full Changelog: v0.3.0...v0.4.0