Skip to content

fix(date-picker): add installable component#380

Merged
djalmaaraujo merged 1 commit intomainfrom
da/date-picker-install-fix
May 7, 2026
Merged

fix(date-picker): add installable component#380
djalmaaraujo merged 1 commit intomainfrom
da/date-picker-install-fix

Conversation

@djalmaaraujo
Copy link
Copy Markdown
Contributor

@djalmaaraujo djalmaaraujo commented May 7, 2026

Summary

  • Add an installable RubyUI::DatePicker component that composes Input, Popover, and Calendar.
  • Add DatePicker dependencies so rails g ruby_ui:component DatePicker installs the composed components automatically.
  • Update the docs example to use DatePicker(id: "date") directly.

Validation

  • rails g ruby_ui:component DatePicker --pretend
  • bundle exec rake test in gem/ (162 runs, 0 failures)
  • bundle exec rake standard in gem/
  • pnpm run build:css in docs/
  • bin/rails test in docs/ (63 runs, 0 failures)
  • bundle exec standardrb in docs/
  • Selenium smoke test: DatePicker popover opens and selecting day 15 updates the input to 2026-05-15

Fixes #352

@djalmaaraujo djalmaaraujo requested a review from cirdes as a code owner May 7, 2026 11:17
@djalmaaraujo djalmaaraujo changed the title fix(date-picker): add installable component [render preview] fix(date-picker): add installable component May 7, 2026
@djalmaaraujo djalmaaraujo temporarily deployed to da/date-picker-install-fix - web-1 PR #380 May 7, 2026 11:26 — with Render Destroyed
@djalmaaraujo djalmaaraujo changed the title [render preview] fix(date-picker): add installable component fix(date-picker): add installable component May 7, 2026
@djalmaaraujo djalmaaraujo merged commit e1f0824 into main May 7, 2026
4 checks passed
@djalmaaraujo djalmaaraujo deleted the da/date-picker-install-fix branch May 7, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DatePicker component doesn't exist

1 participant