Skip to content

Releases: DYB-Development/keystone_ui

Release list

v0.5.0

Choose a tag to compare

@tylercschneider tylercschneider released this 07 May 23:50
b37667f

Added

  • FormComponent — <form> wrapper with action:, method: (with Rails-style _method override for patch/put/delete), multipart:, and data: attributes
  • FileUploadComponent — styled file input with clickable drop zone, drag-and-drop support, file name feedback, accepted file types, multiple file support, and hint text (Stimulus file-upload controller)
  • Stimulus controllers — added 6 missing controllers: dropdown, dismiss, modal, clipboard, tab-switcher, accordion
  • DataTableComponent — sortable column headers: sortable: true on Column, sort:, sort_direction:, sort_url: params render clickable <a> headers with arrow icons and data-turbo-action="replace"
  • DataTableComponent — hidden columns: hideable: true on Column, hidden_columns: param filters columns server-side
  • ColumnPickerComponent — dropdown with checkboxes for toggling hideable column visibility, with optional PATCH persistence via save_url: (Stimulus controller)
  • SelectComponent — styled <select> dropdown with options, selected value, include_blank, and disabled states
  • BadgeComponent — inline status badge with variants (neutral/success/danger/warning/info)
  • StatCardComponent — metric card for dashboards with label, value, suffix, and color variants
  • ChartCardComponent — card wrapper for chart content with configurable height (sm/md/lg)
  • CopyButtonComponent — copy-to-clipboard button with success/error messages
  • ModalComponent — modal dialog with title, close button, backdrop, and size options (sm/md/lg/xl)
  • AccordionComponent — collapsible question/answer items
  • TabSwitcherComponent — tab bar with active state indicator (Stimulus controller)
  • OptionCardComponent — toggleable card option for radio-like selection
  • HeroComponent — large hero section with split/centered layouts and aside slot
  • FeatureGridComponent — grid of feature cards with icons, title, and description
  • CtaBannerComponent — call-to-action banner with title, subtitle, and action buttons
  • ColorPickerComponent — HSV color picker with swatch preview (Stimulus controller)
  • NavbarComponent — top-level navigation bar with slots for desktop and mobile sections
  • NavItemComponent — single nav link with active state
  • NavDropdownComponent — dropdown menu within the navbar (Stimulus controller)
  • BottomNavComponent — mobile bottom tab bar, hidden on desktop
  • BottomNavItemComponent — single bottom nav tab with icon and active state
  • MobileHeaderComponent — mobile header with back link, centered title, and subtitle
  • MobileActionsComponent — ellipsis dropdown for mobile action menus
  • FormPageComponent — form page wrapper with content_for signals for navbar context
  • ShowPageComponent — show page wrapper with content_for signals for navbar context
  • SettingsLinkComponent — settings row link with chevron icon
  • Complete README documentation for all 36 components
  • Complete rake keystone:claude output for all 36 components

Fixed

  • Install generator creates application.css when missing (no longer requires tailwindcss:install first)
  • AlertComponent dismiss button now wires data-controller="dismiss" on wrapper
  • CopyButtonComponent template now includes click->clipboard#copy action
  • BadgeComponent and StatCardComponent :info variant moved into VARIANT_CLASSES constant (was inline, invisible to safelist)
  • ShowPageComponent now has frozen constants and subtitle? method (matches FormPageComponent pattern)