shadcn-rails 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -1
  3. data/CLAUDE.md +151 -2
  4. data/PROGRESS.md +30 -20
  5. data/README.md +89 -1398
  6. data/Rakefile +66 -0
  7. data/__tests__/controllers/combobox_controller.test.js +56 -51
  8. data/__tests__/controllers/context_menu_controller.test.js +280 -2
  9. data/__tests__/controllers/menubar_controller.test.js +5 -4
  10. data/__tests__/controllers/navigation_menu_controller.test.js +5 -4
  11. data/__tests__/controllers/popover_controller.test.js +35 -60
  12. data/__tests__/controllers/select_controller.test.js +5 -1
  13. data/app/assets/javascripts/shadcn/controllers/base_menu_controller.js +266 -0
  14. data/app/assets/javascripts/shadcn/controllers/combobox_controller.js +13 -8
  15. data/app/assets/javascripts/shadcn/controllers/command_controller.js +5 -1
  16. data/app/assets/javascripts/shadcn/controllers/context_menu_controller.js +61 -105
  17. data/app/assets/javascripts/shadcn/controllers/dropdown_controller.js +49 -170
  18. data/app/assets/javascripts/shadcn/controllers/menubar_controller.js +10 -7
  19. data/app/assets/javascripts/shadcn/controllers/navigation_menu_controller.js +10 -6
  20. data/app/assets/javascripts/shadcn/controllers/popover_controller.js +7 -7
  21. data/app/assets/javascripts/shadcn/controllers/select_controller.js +12 -10
  22. data/app/assets/javascripts/shadcn/controllers/sidebar_controller.js +24 -14
  23. data/app/assets/javascripts/shadcn/index.js +2 -0
  24. data/app/assets/stylesheets/shadcn/components.css +12 -0
  25. data/app/components/shadcn/command_list_component.rb +29 -14
  26. data/app/components/shadcn/context_menu_checkbox_item_component.rb +76 -0
  27. data/app/components/shadcn/context_menu_content_component.rb +37 -14
  28. data/app/components/shadcn/context_menu_item_component.rb +3 -2
  29. data/app/components/shadcn/context_menu_radio_group_component.rb +42 -0
  30. data/app/components/shadcn/context_menu_radio_item_component.rb +76 -0
  31. data/app/components/shadcn/dropdown_menu_checkbox_item_component.rb +76 -0
  32. data/app/components/shadcn/dropdown_menu_content_component.rb +45 -16
  33. data/app/components/shadcn/dropdown_menu_radio_group_component.rb +42 -0
  34. data/app/components/shadcn/dropdown_menu_radio_item_component.rb +76 -0
  35. data/app/components/shadcn/menubar_content_component.rb +45 -20
  36. data/app/components/shadcn/menubar_sub_content_component.rb +21 -8
  37. data/app/components/shadcn/radio_group_item_component.rb +32 -6
  38. data/app/components/shadcn/resizable_panel_group_component.rb +27 -16
  39. data/app/components/shadcn/select_component.rb +23 -6
  40. data/bin/bump +321 -0
  41. data/bin/release +205 -0
  42. data/bin/test +75 -0
  43. data/jest.config.js +1 -1
  44. data/lib/shadcn/rails/version.rb +1 -1
  45. data/package-lock.json +27 -4
  46. data/package.json +4 -1
  47. metadata +11 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shadcn-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Iheanyi Ekechukwu
@@ -224,6 +224,7 @@ files:
224
224
  - app/assets/javascripts/shadcn/controllers/accordion_controller.js
225
225
  - app/assets/javascripts/shadcn/controllers/avatar_controller.d.ts
226
226
  - app/assets/javascripts/shadcn/controllers/avatar_controller.js
227
+ - app/assets/javascripts/shadcn/controllers/base_menu_controller.js
227
228
  - app/assets/javascripts/shadcn/controllers/calendar_controller.js
228
229
  - app/assets/javascripts/shadcn/controllers/carousel_controller.js
229
230
  - app/assets/javascripts/shadcn/controllers/checkbox_controller.d.ts
@@ -329,10 +330,13 @@ files:
329
330
  - app/components/shadcn/command_list_component.rb
330
331
  - app/components/shadcn/command_separator_component.rb
331
332
  - app/components/shadcn/command_shortcut_component.rb
333
+ - app/components/shadcn/context_menu_checkbox_item_component.rb
332
334
  - app/components/shadcn/context_menu_component.rb
333
335
  - app/components/shadcn/context_menu_content_component.rb
334
336
  - app/components/shadcn/context_menu_item_component.rb
335
337
  - app/components/shadcn/context_menu_label_component.rb
338
+ - app/components/shadcn/context_menu_radio_group_component.rb
339
+ - app/components/shadcn/context_menu_radio_item_component.rb
336
340
  - app/components/shadcn/context_menu_separator_component.rb
337
341
  - app/components/shadcn/context_menu_shortcut_component.rb
338
342
  - app/components/shadcn/date_picker_component.rb
@@ -348,11 +352,14 @@ files:
348
352
  - app/components/shadcn/drawer_footer_component.rb
349
353
  - app/components/shadcn/drawer_header_component.rb
350
354
  - app/components/shadcn/drawer_title_component.rb
355
+ - app/components/shadcn/dropdown_menu_checkbox_item_component.rb
351
356
  - app/components/shadcn/dropdown_menu_component.rb
352
357
  - app/components/shadcn/dropdown_menu_content_component.rb
353
358
  - app/components/shadcn/dropdown_menu_group_component.rb
354
359
  - app/components/shadcn/dropdown_menu_item_component.rb
355
360
  - app/components/shadcn/dropdown_menu_label_component.rb
361
+ - app/components/shadcn/dropdown_menu_radio_group_component.rb
362
+ - app/components/shadcn/dropdown_menu_radio_item_component.rb
356
363
  - app/components/shadcn/dropdown_menu_separator_component.rb
357
364
  - app/components/shadcn/dropdown_menu_shortcut_component.rb
358
365
  - app/components/shadcn/empty_component.rb
@@ -476,8 +483,11 @@ files:
476
483
  - app/components/shadcn/tooltip_component.rb
477
484
  - app/components/shadcn/typography_component.rb
478
485
  - babel.config.cjs
486
+ - bin/bump
479
487
  - bin/console
488
+ - bin/release
480
489
  - bin/setup
490
+ - bin/test
481
491
  - config/importmap.rb
482
492
  - fly.toml
483
493
  - jest.config.js