Releases: ruby-ui/ruby_ui
v1.1.0
What's Changed
- Fix missing method in combobox popover by @manuelfcreis in #316
- fix the options value naming by @justinallenmarsh in #298
- Minor fixes to FormField component styling by @georgekettle in #318
- Update to focus state and transition by @georgekettle in #319
- add toggle to combobox trigger by @sethhorsley in #321
- Fix checkbox and radio button contrast for dark mode by @djalmaaraujo in #324
- Fix devcontainer setup and upgrade Ruby to 3.4.7 by @cirdes in #325
- form: Update form component by @djalmaaraujo in #330
- sheet: Add overflow-scroll to SheetContent by @djalmaaraujo in #331
- [Improvement] Create pull_request_template.md by @djalmaaraujo in #332
- [Improvement] Add docs generator and button documentation by @djalmaaraujo in #335
- [Documentation] Add documentation for batch 2 components by @djalmaaraujo in #337
- [Documentation] Add documentation for batch 3 components by @djalmaaraujo in #338
- [Documentation] Add documentation for batch 4 components by @djalmaaraujo in #339
- Improvement | Input type file by @pierry01 in #342
- Add checked:bg-primary to combobox_toggle_all_checkbox by @pierry01 in #327
New Contributors
- @manuelfcreis made their first contribution in #316
Full Changelog: v1.0.2...v1.1.0
v1.0.0
New name
What started as PhlexUI became RBUI, and now it's officially RubyUI.
New paradigm
RubyUI is now a generator-only library—no need to install it in your application! You can simply copy the components or use our generators to set up RubyUI and extract components to your app.
New requirements
RubyUI is compatible with Phlex 2 and Tailwind V4, but you can still adapt its code for older versions if needed.
Compatibility with Phlex::Kit
Including RubyUI module, you can use capital letter methods to use RubyUI components.
Before:
render RubyUI::Alert.new do
render RubyUI::AlertTitle.new { "Pro tip" }
render RubyUI::AlertDescription.new { "With RubyUI you'll ship faster." }
endNow:
Alert do
AlertTitle { "Pro tip" }
AlertDescription { "With RubyUI you'll ship faster." }
endNew components
New components were added:
- Breadcrumb
- Carousel
- Checkbox/Radio groups
- Combobox
- Form utils
- Masked input
- Select
- Separator
- Skeleton
- Switch
- Textarea
New generators
Now we have a setup generator that install needed config and gems, js packages and configuration, and we have a generator to help generating components into host application.
Importmap support
We tested RubyUI setup and all components on an application using Importmap (and also using esbuild).
RTL support
Several components received support for RTL layout.
Fixes
We've implemented hundreds of fixes—too many to list them here