Skip to content

v0.3.0

Choose a tag to compare

@adoyle0 adoyle0 released this 14 Oct 22:04
· 101 commits to main since this release

BREAKING CHANGES

  • Remove RwSignal requirement for <ThemeProvider> mode and theme attributes. You can still provide theme from a signal but it won't be reactive anymore. Use ThemeProviderContext for reactivity.
  • <ThemeProvider> mode attribute is a string now instead of an enum. Mode::Auto is now "auto", Mode::Light is now "light", Mode::Dark is now "dark". This is to prevent future breakage in your theming component if more modes are added later.

Features

  • Added DropdownMenu component with limited positioning support.
  • Various inputs use their children as a label with preset styling.

For example

<Checkbox>"Label"</Checkbox>

will render a checkbox with a label to the right of it with the text "Label".

And

<Input>"Label"</Input>

will render the input field with "Label" above it with a small gap. This should make making forms faster and easier, for more control use <Label>. Components with this feature are Checkbox, Input, Radio, Slider, Switch, and Textarea.

  • Added CheckboxGroup component that works like <RadioGroup> maintaining a reactive list of checked element values. Switch can also be used in a CheckboxGroup.

Fixes

  • Fixed typo preventing breadcrumb items being styled.
  • Block scrolling in the sidebar scrolling page content when the scrollbar nav hits the top or bottom (overscrolling).
  • Ensure inputs like Checkbox and Radio have outlines when used in primary style buttons in both light and dark modes.

Full Changelog: v0.2.1...v0.3.0