Skip to content

Releases: ruby-ui/ruby_ui

v1.0.0

31 Mar 14:10
Compare
Choose a tag to compare

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." }
end

Now:

Alert do
  AlertTitle { "Pro tip" }
  AlertDescription { "With RubyUI you'll ship faster." }
end

New 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