v0.3.0
BREAKING CHANGES
- Remove
RwSignalrequirement for<ThemeProvider>modeandthemeattributes. You can still providethemefrom a signal but it won't be reactive anymore. UseThemeProviderContextfor reactivity. <ThemeProvider>modeattribute is a string now instead of an enum.Mode::Autois now"auto",Mode::Lightis now"light",Mode::Darkis now"dark". This is to prevent future breakage in your theming component if more modes are added later.
Features
- Added
DropdownMenucomponent 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
CheckboxGroupcomponent that works like<RadioGroup>maintaining a reactive list of checked element values.Switchcan also be used in aCheckboxGroup.
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
CheckboxandRadiohave outlines when used in primary style buttons in both light and dark modes.
Full Changelog: v0.2.1...v0.3.0