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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -1
- data/CLAUDE.md +151 -2
- data/PROGRESS.md +30 -20
- data/README.md +89 -1398
- data/Rakefile +66 -0
- data/__tests__/controllers/combobox_controller.test.js +56 -51
- data/__tests__/controllers/context_menu_controller.test.js +280 -2
- data/__tests__/controllers/menubar_controller.test.js +5 -4
- data/__tests__/controllers/navigation_menu_controller.test.js +5 -4
- data/__tests__/controllers/popover_controller.test.js +35 -60
- data/__tests__/controllers/select_controller.test.js +5 -1
- data/app/assets/javascripts/shadcn/controllers/base_menu_controller.js +266 -0
- data/app/assets/javascripts/shadcn/controllers/combobox_controller.js +13 -8
- data/app/assets/javascripts/shadcn/controllers/command_controller.js +5 -1
- data/app/assets/javascripts/shadcn/controllers/context_menu_controller.js +61 -105
- data/app/assets/javascripts/shadcn/controllers/dropdown_controller.js +49 -170
- data/app/assets/javascripts/shadcn/controllers/menubar_controller.js +10 -7
- data/app/assets/javascripts/shadcn/controllers/navigation_menu_controller.js +10 -6
- data/app/assets/javascripts/shadcn/controllers/popover_controller.js +7 -7
- data/app/assets/javascripts/shadcn/controllers/select_controller.js +12 -10
- data/app/assets/javascripts/shadcn/controllers/sidebar_controller.js +24 -14
- data/app/assets/javascripts/shadcn/index.js +2 -0
- data/app/assets/stylesheets/shadcn/components.css +12 -0
- data/app/components/shadcn/command_list_component.rb +29 -14
- data/app/components/shadcn/context_menu_checkbox_item_component.rb +76 -0
- data/app/components/shadcn/context_menu_content_component.rb +37 -14
- data/app/components/shadcn/context_menu_item_component.rb +3 -2
- data/app/components/shadcn/context_menu_radio_group_component.rb +42 -0
- data/app/components/shadcn/context_menu_radio_item_component.rb +76 -0
- data/app/components/shadcn/dropdown_menu_checkbox_item_component.rb +76 -0
- data/app/components/shadcn/dropdown_menu_content_component.rb +45 -16
- data/app/components/shadcn/dropdown_menu_radio_group_component.rb +42 -0
- data/app/components/shadcn/dropdown_menu_radio_item_component.rb +76 -0
- data/app/components/shadcn/menubar_content_component.rb +45 -20
- data/app/components/shadcn/menubar_sub_content_component.rb +21 -8
- data/app/components/shadcn/radio_group_item_component.rb +32 -6
- data/app/components/shadcn/resizable_panel_group_component.rb +27 -16
- data/app/components/shadcn/select_component.rb +23 -6
- data/bin/bump +321 -0
- data/bin/release +205 -0
- data/bin/test +75 -0
- data/jest.config.js +1 -1
- data/lib/shadcn/rails/version.rb +1 -1
- data/package-lock.json +27 -4
- data/package.json +4 -1
- 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.
|
|
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
|