shadcn-rails 0.1.0 → 0.2.1
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 +69 -2
- data/README.md +102 -1398
- data/__mocks__/@floating-ui/dom.js +67 -0
- data/app/assets/javascripts/shadcn/controllers/base_menu_controller.js +266 -0
- data/app/assets/javascripts/shadcn/controllers/combobox_controller.js +34 -8
- data/app/assets/javascripts/shadcn/controllers/command_controller.js +5 -1
- data/app/assets/javascripts/shadcn/controllers/context_menu_controller.js +64 -135
- data/app/assets/javascripts/shadcn/controllers/dropdown_controller.js +56 -186
- data/app/assets/javascripts/shadcn/controllers/hover_card_controller.js +29 -55
- 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 +35 -60
- data/app/assets/javascripts/shadcn/controllers/select_controller.js +37 -17
- data/app/assets/javascripts/shadcn/controllers/sidebar_controller.js +24 -14
- data/app/assets/javascripts/shadcn/controllers/tooltip_controller.js +28 -59
- data/app/assets/javascripts/shadcn/index.js +9 -1
- data/app/assets/javascripts/shadcn/utils/floating.js +179 -0
- data/app/assets/stylesheets/shadcn/base.css +32 -0
- data/app/assets/stylesheets/shadcn/components.css +12 -0
- data/app/components/shadcn/accordion_component.html.erb +8 -0
- data/app/components/shadcn/accordion_component.rb +6 -15
- data/app/components/shadcn/alert_component.html.erb +6 -0
- data/app/components/shadcn/alert_component.rb +0 -18
- data/app/components/shadcn/alert_dialog_component.html.erb +12 -0
- data/app/components/shadcn/alert_dialog_component.rb +7 -27
- data/app/components/shadcn/aspect_ratio_component.html.erb +7 -0
- data/app/components/shadcn/aspect_ratio_component.rb +4 -19
- data/app/components/shadcn/avatar_component.html.erb +20 -0
- data/app/components/shadcn/avatar_component.rb +8 -36
- data/app/components/shadcn/badge_component.html.erb +1 -0
- data/app/components/shadcn/badge_component.rb +0 -11
- data/app/components/shadcn/base_component.rb +15 -2
- data/app/components/shadcn/breadcrumb_component.html.erb +5 -0
- data/app/components/shadcn/breadcrumb_component.rb +6 -16
- data/app/components/shadcn/button_component.html.erb +18 -0
- data/app/components/shadcn/button_component.rb +1 -41
- data/app/components/shadcn/card_component.html.erb +8 -0
- data/app/components/shadcn/card_component.rb +2 -6
- data/app/components/shadcn/checkbox_component.html.erb +32 -0
- data/app/components/shadcn/checkbox_component.rb +4 -43
- data/app/components/shadcn/collapsible_component.html.erb +8 -0
- data/app/components/shadcn/collapsible_component.rb +6 -15
- 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_component.html.erb +11 -0
- data/app/components/shadcn/context_menu_component.rb +6 -26
- 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/dialog_component.html.erb +14 -0
- data/app/components/shadcn/dialog_component.rb +8 -29
- data/app/components/shadcn/drawer_component.html.erb +12 -0
- data/app/components/shadcn/drawer_component.rb +7 -27
- data/app/components/shadcn/dropdown_menu_checkbox_item_component.rb +76 -0
- data/app/components/shadcn/dropdown_menu_component.html.erb +14 -0
- data/app/components/shadcn/dropdown_menu_component.rb +9 -29
- 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/field_component.rb +7 -8
- data/app/components/shadcn/hover_card_component.html.erb +12 -0
- data/app/components/shadcn/hover_card_component.rb +7 -26
- data/app/components/shadcn/input_component.html.erb +18 -0
- data/app/components/shadcn/input_component.rb +2 -27
- data/app/components/shadcn/input_otp_component.rb +3 -3
- data/app/components/shadcn/kbd_component.html.erb +1 -0
- data/app/components/shadcn/kbd_component.rb +3 -10
- data/app/components/shadcn/label_component.html.erb +3 -0
- data/app/components/shadcn/label_component.rb +2 -18
- data/app/components/shadcn/menubar_component.html.erb +6 -0
- data/app/components/shadcn/menubar_component.rb +4 -15
- 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/native_select_component.html.erb +22 -0
- data/app/components/shadcn/native_select_component.rb +9 -39
- data/app/components/shadcn/navigation_menu_component.html.erb +6 -0
- data/app/components/shadcn/navigation_menu_component.rb +4 -15
- data/app/components/shadcn/pagination_component.html.erb +5 -0
- data/app/components/shadcn/pagination_component.rb +11 -15
- data/app/components/shadcn/popover_component.html.erb +15 -0
- data/app/components/shadcn/popover_component.rb +10 -30
- data/app/components/shadcn/progress_component.html.erb +13 -0
- data/app/components/shadcn/progress_component.rb +6 -26
- data/app/components/shadcn/radio_group_component.html.erb +8 -0
- data/app/components/shadcn/radio_group_component.rb +12 -26
- 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/scroll_area_component.html.erb +7 -0
- data/app/components/shadcn/scroll_area_component.rb +4 -16
- data/app/components/shadcn/select_component.html.erb +46 -0
- data/app/components/shadcn/select_component.rb +29 -86
- data/app/components/shadcn/separator_component.html.erb +5 -0
- data/app/components/shadcn/separator_component.rb +6 -14
- data/app/components/shadcn/sheet_component.html.erb +12 -0
- data/app/components/shadcn/sheet_component.rb +7 -27
- data/app/components/shadcn/sidebar_component.rb +2 -2
- data/app/components/shadcn/skeleton_component.html.erb +1 -0
- data/app/components/shadcn/skeleton_component.rb +4 -2
- data/app/components/shadcn/slider_component.html.erb +12 -0
- data/app/components/shadcn/slider_component.rb +2 -21
- data/app/components/shadcn/spinner_component.html.erb +18 -0
- data/app/components/shadcn/spinner_component.rb +2 -30
- data/app/components/shadcn/switch_component.html.erb +72 -0
- data/app/components/shadcn/switch_component.rb +4 -82
- data/app/components/shadcn/table_component.html.erb +9 -0
- data/app/components/shadcn/table_component.rb +2 -10
- data/app/components/shadcn/tabs_component.html.erb +8 -0
- data/app/components/shadcn/tabs_component.rb +4 -17
- data/app/components/shadcn/textarea_component.html.erb +13 -0
- data/app/components/shadcn/textarea_component.rb +6 -22
- data/app/components/shadcn/toast_component.html.erb +36 -0
- data/app/components/shadcn/toast_component.rb +6 -54
- data/app/components/shadcn/toggle_component.html.erb +12 -0
- data/app/components/shadcn/toggle_component.rb +6 -21
- data/app/components/shadcn/toggle_group_component.html.erb +14 -0
- data/app/components/shadcn/toggle_group_component.rb +6 -29
- data/app/components/shadcn/tooltip_component.html.erb +20 -0
- data/app/components/shadcn/tooltip_component.rb +13 -38
- data/lib/generators/shadcn/add/USAGE +24 -0
- data/lib/generators/shadcn/add/add_generator.rb +279 -0
- data/lib/generators/shadcn/install/USAGE +22 -0
- data/lib/generators/shadcn/install/install_generator.rb +8 -3
- data/lib/generators/shadcn/install/templates/initializer.rb.tt +7 -27
- data/lib/generators/shadcn/install/templates/shadcn.yml.tt +15 -31
- data/lib/shadcn/rails/version.rb +1 -1
- metadata +54 -42
- data/.dockerignore +0 -40
- data/CLAUDE.md +0 -463
- data/PROGRESS.md +0 -485
- data/Rakefile +0 -29
- data/__tests__/controllers/__snapshots__/calendar_controller.test.js.snap +0 -13
- data/__tests__/controllers/__snapshots__/popover_controller.test.js.snap +0 -46
- data/__tests__/controllers/__snapshots__/sheet_controller.test.js.snap +0 -111
- data/__tests__/controllers/__snapshots__/tabs_controller.test.js.snap +0 -27
- data/__tests__/controllers/accordion_controller.test.js +0 -904
- data/__tests__/controllers/calendar_controller.test.js +0 -1370
- data/__tests__/controllers/carousel_controller.test.js +0 -912
- data/__tests__/controllers/checkbox_controller.test.js +0 -454
- data/__tests__/controllers/collapsible_controller.test.js +0 -407
- data/__tests__/controllers/combobox_controller.test.js +0 -966
- data/__tests__/controllers/context_menu_controller.test.js +0 -627
- data/__tests__/controllers/date_picker_controller.test.js +0 -636
- data/__tests__/controllers/dialog_controller.test.js +0 -878
- data/__tests__/controllers/drawer_controller.test.js +0 -995
- data/__tests__/controllers/menubar_controller.test.js +0 -736
- data/__tests__/controllers/navigation_menu_controller.test.js +0 -598
- data/__tests__/controllers/popover_controller.test.js +0 -1007
- data/__tests__/controllers/radio_group_controller.test.js +0 -640
- data/__tests__/controllers/resizable_controller.test.js +0 -680
- data/__tests__/controllers/select_controller.test.js +0 -674
- data/__tests__/controllers/sheet_controller.test.js +0 -986
- data/__tests__/controllers/slider_controller.test.js +0 -1036
- data/__tests__/controllers/switch_controller.test.js +0 -424
- data/__tests__/controllers/tabs_controller.test.js +0 -907
- data/__tests__/controllers/toggle_group_controller.test.js +0 -839
- data/__tests__/controllers/tooltip_controller.test.js +0 -808
- data/__tests__/helpers/stimulus-test-helper.js +0 -203
- data/babel.config.cjs +0 -5
- data/bin/console +0 -11
- data/bin/setup +0 -8
- data/jest.config.js +0 -19
- data/jest.setup.js +0 -8
- data/lib/generators/shadcn/component/component_generator.rb +0 -188
- data/lib/generators/shadcn/theme/theme_generator.rb +0 -128
- data/package-lock.json +0 -7415
- data/package.json +0 -68
- data/rollup.config.js +0 -29
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
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Iheanyi Ekechukwu
|
|
@@ -186,44 +186,15 @@ executables: []
|
|
|
186
186
|
extensions: []
|
|
187
187
|
extra_rdoc_files: []
|
|
188
188
|
files:
|
|
189
|
-
- ".dockerignore"
|
|
190
189
|
- CHANGELOG.md
|
|
191
|
-
- CLAUDE.md
|
|
192
|
-
- PROGRESS.md
|
|
193
190
|
- README.md
|
|
194
|
-
-
|
|
195
|
-
- __tests__/controllers/__snapshots__/calendar_controller.test.js.snap
|
|
196
|
-
- __tests__/controllers/__snapshots__/popover_controller.test.js.snap
|
|
197
|
-
- __tests__/controllers/__snapshots__/sheet_controller.test.js.snap
|
|
198
|
-
- __tests__/controllers/__snapshots__/tabs_controller.test.js.snap
|
|
199
|
-
- __tests__/controllers/accordion_controller.test.js
|
|
200
|
-
- __tests__/controllers/calendar_controller.test.js
|
|
201
|
-
- __tests__/controllers/carousel_controller.test.js
|
|
202
|
-
- __tests__/controllers/checkbox_controller.test.js
|
|
203
|
-
- __tests__/controllers/collapsible_controller.test.js
|
|
204
|
-
- __tests__/controllers/combobox_controller.test.js
|
|
205
|
-
- __tests__/controllers/context_menu_controller.test.js
|
|
206
|
-
- __tests__/controllers/date_picker_controller.test.js
|
|
207
|
-
- __tests__/controllers/dialog_controller.test.js
|
|
208
|
-
- __tests__/controllers/drawer_controller.test.js
|
|
209
|
-
- __tests__/controllers/menubar_controller.test.js
|
|
210
|
-
- __tests__/controllers/navigation_menu_controller.test.js
|
|
211
|
-
- __tests__/controllers/popover_controller.test.js
|
|
212
|
-
- __tests__/controllers/radio_group_controller.test.js
|
|
213
|
-
- __tests__/controllers/resizable_controller.test.js
|
|
214
|
-
- __tests__/controllers/select_controller.test.js
|
|
215
|
-
- __tests__/controllers/sheet_controller.test.js
|
|
216
|
-
- __tests__/controllers/slider_controller.test.js
|
|
217
|
-
- __tests__/controllers/switch_controller.test.js
|
|
218
|
-
- __tests__/controllers/tabs_controller.test.js
|
|
219
|
-
- __tests__/controllers/toggle_group_controller.test.js
|
|
220
|
-
- __tests__/controllers/tooltip_controller.test.js
|
|
221
|
-
- __tests__/helpers/stimulus-test-helper.js
|
|
191
|
+
- __mocks__/@floating-ui/dom.js
|
|
222
192
|
- app/assets/config/manifest.js
|
|
223
193
|
- app/assets/javascripts/shadcn/controllers/accordion_controller.d.ts
|
|
224
194
|
- app/assets/javascripts/shadcn/controllers/accordion_controller.js
|
|
225
195
|
- app/assets/javascripts/shadcn/controllers/avatar_controller.d.ts
|
|
226
196
|
- app/assets/javascripts/shadcn/controllers/avatar_controller.js
|
|
197
|
+
- app/assets/javascripts/shadcn/controllers/base_menu_controller.js
|
|
227
198
|
- app/assets/javascripts/shadcn/controllers/calendar_controller.js
|
|
228
199
|
- app/assets/javascripts/shadcn/controllers/carousel_controller.js
|
|
229
200
|
- app/assets/javascripts/shadcn/controllers/checkbox_controller.d.ts
|
|
@@ -275,6 +246,7 @@ files:
|
|
|
275
246
|
- app/assets/javascripts/shadcn/controllers/tooltip_controller.js
|
|
276
247
|
- app/assets/javascripts/shadcn/index.d.ts
|
|
277
248
|
- app/assets/javascripts/shadcn/index.js
|
|
249
|
+
- app/assets/javascripts/shadcn/utils/floating.js
|
|
278
250
|
- app/assets/stylesheets/.keep
|
|
279
251
|
- app/assets/stylesheets/shadcn/base.css
|
|
280
252
|
- app/assets/stylesheets/shadcn/components.css
|
|
@@ -283,14 +255,17 @@ files:
|
|
|
283
255
|
- app/assets/stylesheets/shadcn/themes/slate.css
|
|
284
256
|
- app/assets/stylesheets/shadcn/themes/stone.css
|
|
285
257
|
- app/assets/stylesheets/shadcn/themes/zinc.css
|
|
258
|
+
- app/components/shadcn/accordion_component.html.erb
|
|
286
259
|
- app/components/shadcn/accordion_component.rb
|
|
287
260
|
- app/components/shadcn/accordion_content_component.rb
|
|
288
261
|
- app/components/shadcn/accordion_item_component.rb
|
|
289
262
|
- app/components/shadcn/accordion_trigger_component.rb
|
|
263
|
+
- app/components/shadcn/alert_component.html.erb
|
|
290
264
|
- app/components/shadcn/alert_component.rb
|
|
291
265
|
- app/components/shadcn/alert_description_component.rb
|
|
292
266
|
- app/components/shadcn/alert_dialog_action_component.rb
|
|
293
267
|
- app/components/shadcn/alert_dialog_cancel_component.rb
|
|
268
|
+
- app/components/shadcn/alert_dialog_component.html.erb
|
|
294
269
|
- app/components/shadcn/alert_dialog_component.rb
|
|
295
270
|
- app/components/shadcn/alert_dialog_content_component.rb
|
|
296
271
|
- app/components/shadcn/alert_dialog_description_component.rb
|
|
@@ -298,17 +273,23 @@ files:
|
|
|
298
273
|
- app/components/shadcn/alert_dialog_header_component.rb
|
|
299
274
|
- app/components/shadcn/alert_dialog_title_component.rb
|
|
300
275
|
- app/components/shadcn/alert_title_component.rb
|
|
276
|
+
- app/components/shadcn/aspect_ratio_component.html.erb
|
|
301
277
|
- app/components/shadcn/aspect_ratio_component.rb
|
|
278
|
+
- app/components/shadcn/avatar_component.html.erb
|
|
302
279
|
- app/components/shadcn/avatar_component.rb
|
|
303
280
|
- app/components/shadcn/avatar_fallback_component.rb
|
|
281
|
+
- app/components/shadcn/badge_component.html.erb
|
|
304
282
|
- app/components/shadcn/badge_component.rb
|
|
305
283
|
- app/components/shadcn/base_component.rb
|
|
284
|
+
- app/components/shadcn/breadcrumb_component.html.erb
|
|
306
285
|
- app/components/shadcn/breadcrumb_component.rb
|
|
307
286
|
- app/components/shadcn/breadcrumb_item_component.rb
|
|
287
|
+
- app/components/shadcn/button_component.html.erb
|
|
308
288
|
- app/components/shadcn/button_component.rb
|
|
309
289
|
- app/components/shadcn/button_group_component.rb
|
|
310
290
|
- app/components/shadcn/calendar_component.rb
|
|
311
291
|
- app/components/shadcn/card_action_component.rb
|
|
292
|
+
- app/components/shadcn/card_component.html.erb
|
|
312
293
|
- app/components/shadcn/card_component.rb
|
|
313
294
|
- app/components/shadcn/card_content_component.rb
|
|
314
295
|
- app/components/shadcn/card_description_component.rb
|
|
@@ -316,7 +297,9 @@ files:
|
|
|
316
297
|
- app/components/shadcn/card_header_component.rb
|
|
317
298
|
- app/components/shadcn/card_title_component.rb
|
|
318
299
|
- app/components/shadcn/carousel_component.rb
|
|
300
|
+
- app/components/shadcn/checkbox_component.html.erb
|
|
319
301
|
- app/components/shadcn/checkbox_component.rb
|
|
302
|
+
- app/components/shadcn/collapsible_component.html.erb
|
|
320
303
|
- app/components/shadcn/collapsible_component.rb
|
|
321
304
|
- app/components/shadcn/collapsible_content_component.rb
|
|
322
305
|
- app/components/shadcn/combobox_component.rb
|
|
@@ -329,30 +312,40 @@ files:
|
|
|
329
312
|
- app/components/shadcn/command_list_component.rb
|
|
330
313
|
- app/components/shadcn/command_separator_component.rb
|
|
331
314
|
- app/components/shadcn/command_shortcut_component.rb
|
|
315
|
+
- app/components/shadcn/context_menu_checkbox_item_component.rb
|
|
316
|
+
- app/components/shadcn/context_menu_component.html.erb
|
|
332
317
|
- app/components/shadcn/context_menu_component.rb
|
|
333
318
|
- app/components/shadcn/context_menu_content_component.rb
|
|
334
319
|
- app/components/shadcn/context_menu_item_component.rb
|
|
335
320
|
- app/components/shadcn/context_menu_label_component.rb
|
|
321
|
+
- app/components/shadcn/context_menu_radio_group_component.rb
|
|
322
|
+
- app/components/shadcn/context_menu_radio_item_component.rb
|
|
336
323
|
- app/components/shadcn/context_menu_separator_component.rb
|
|
337
324
|
- app/components/shadcn/context_menu_shortcut_component.rb
|
|
338
325
|
- app/components/shadcn/date_picker_component.rb
|
|
326
|
+
- app/components/shadcn/dialog_component.html.erb
|
|
339
327
|
- app/components/shadcn/dialog_component.rb
|
|
340
328
|
- app/components/shadcn/dialog_content_component.rb
|
|
341
329
|
- app/components/shadcn/dialog_description_component.rb
|
|
342
330
|
- app/components/shadcn/dialog_footer_component.rb
|
|
343
331
|
- app/components/shadcn/dialog_header_component.rb
|
|
344
332
|
- app/components/shadcn/dialog_title_component.rb
|
|
333
|
+
- app/components/shadcn/drawer_component.html.erb
|
|
345
334
|
- app/components/shadcn/drawer_component.rb
|
|
346
335
|
- app/components/shadcn/drawer_content_component.rb
|
|
347
336
|
- app/components/shadcn/drawer_description_component.rb
|
|
348
337
|
- app/components/shadcn/drawer_footer_component.rb
|
|
349
338
|
- app/components/shadcn/drawer_header_component.rb
|
|
350
339
|
- app/components/shadcn/drawer_title_component.rb
|
|
340
|
+
- app/components/shadcn/dropdown_menu_checkbox_item_component.rb
|
|
341
|
+
- app/components/shadcn/dropdown_menu_component.html.erb
|
|
351
342
|
- app/components/shadcn/dropdown_menu_component.rb
|
|
352
343
|
- app/components/shadcn/dropdown_menu_content_component.rb
|
|
353
344
|
- app/components/shadcn/dropdown_menu_group_component.rb
|
|
354
345
|
- app/components/shadcn/dropdown_menu_item_component.rb
|
|
355
346
|
- app/components/shadcn/dropdown_menu_label_component.rb
|
|
347
|
+
- app/components/shadcn/dropdown_menu_radio_group_component.rb
|
|
348
|
+
- app/components/shadcn/dropdown_menu_radio_item_component.rb
|
|
356
349
|
- app/components/shadcn/dropdown_menu_separator_component.rb
|
|
357
350
|
- app/components/shadcn/dropdown_menu_shortcut_component.rb
|
|
358
351
|
- app/components/shadcn/empty_component.rb
|
|
@@ -362,8 +355,10 @@ files:
|
|
|
362
355
|
- app/components/shadcn/empty_media_component.rb
|
|
363
356
|
- app/components/shadcn/empty_title_component.rb
|
|
364
357
|
- app/components/shadcn/field_component.rb
|
|
358
|
+
- app/components/shadcn/hover_card_component.html.erb
|
|
365
359
|
- app/components/shadcn/hover_card_component.rb
|
|
366
360
|
- app/components/shadcn/hover_card_content_component.rb
|
|
361
|
+
- app/components/shadcn/input_component.html.erb
|
|
367
362
|
- app/components/shadcn/input_component.rb
|
|
368
363
|
- app/components/shadcn/input_group_component.rb
|
|
369
364
|
- app/components/shadcn/input_otp_component.rb
|
|
@@ -377,9 +372,12 @@ files:
|
|
|
377
372
|
- app/components/shadcn/item_media_component.rb
|
|
378
373
|
- app/components/shadcn/item_separator_component.rb
|
|
379
374
|
- app/components/shadcn/item_title_component.rb
|
|
375
|
+
- app/components/shadcn/kbd_component.html.erb
|
|
380
376
|
- app/components/shadcn/kbd_component.rb
|
|
377
|
+
- app/components/shadcn/label_component.html.erb
|
|
381
378
|
- app/components/shadcn/label_component.rb
|
|
382
379
|
- app/components/shadcn/menubar_checkbox_item_component.rb
|
|
380
|
+
- app/components/shadcn/menubar_component.html.erb
|
|
383
381
|
- app/components/shadcn/menubar_component.rb
|
|
384
382
|
- app/components/shadcn/menubar_content_component.rb
|
|
385
383
|
- app/components/shadcn/menubar_item_component.rb
|
|
@@ -393,33 +391,43 @@ files:
|
|
|
393
391
|
- app/components/shadcn/menubar_sub_content_component.rb
|
|
394
392
|
- app/components/shadcn/menubar_sub_trigger_component.rb
|
|
395
393
|
- app/components/shadcn/menubar_trigger_component.rb
|
|
394
|
+
- app/components/shadcn/native_select_component.html.erb
|
|
396
395
|
- app/components/shadcn/native_select_component.rb
|
|
396
|
+
- app/components/shadcn/navigation_menu_component.html.erb
|
|
397
397
|
- app/components/shadcn/navigation_menu_component.rb
|
|
398
398
|
- app/components/shadcn/navigation_menu_content_component.rb
|
|
399
399
|
- app/components/shadcn/navigation_menu_item_component.rb
|
|
400
400
|
- app/components/shadcn/navigation_menu_link_component.rb
|
|
401
401
|
- app/components/shadcn/navigation_menu_list_component.rb
|
|
402
402
|
- app/components/shadcn/navigation_menu_trigger_component.rb
|
|
403
|
+
- app/components/shadcn/pagination_component.html.erb
|
|
403
404
|
- app/components/shadcn/pagination_component.rb
|
|
404
405
|
- app/components/shadcn/pagination_content_component.rb
|
|
405
406
|
- app/components/shadcn/pagination_ellipsis_component.rb
|
|
406
407
|
- app/components/shadcn/pagination_item_component.rb
|
|
407
408
|
- app/components/shadcn/pagination_next_component.rb
|
|
408
409
|
- app/components/shadcn/pagination_previous_component.rb
|
|
410
|
+
- app/components/shadcn/popover_component.html.erb
|
|
409
411
|
- app/components/shadcn/popover_component.rb
|
|
410
412
|
- app/components/shadcn/popover_content_component.rb
|
|
413
|
+
- app/components/shadcn/progress_component.html.erb
|
|
411
414
|
- app/components/shadcn/progress_component.rb
|
|
415
|
+
- app/components/shadcn/radio_group_component.html.erb
|
|
412
416
|
- app/components/shadcn/radio_group_component.rb
|
|
413
417
|
- app/components/shadcn/radio_group_item_component.rb
|
|
414
418
|
- app/components/shadcn/resizable_handle_component.rb
|
|
415
419
|
- app/components/shadcn/resizable_panel_component.rb
|
|
416
420
|
- app/components/shadcn/resizable_panel_group_component.rb
|
|
421
|
+
- app/components/shadcn/scroll_area_component.html.erb
|
|
417
422
|
- app/components/shadcn/scroll_area_component.rb
|
|
423
|
+
- app/components/shadcn/select_component.html.erb
|
|
418
424
|
- app/components/shadcn/select_component.rb
|
|
419
425
|
- app/components/shadcn/select_group_component.rb
|
|
420
426
|
- app/components/shadcn/select_item_component.rb
|
|
421
427
|
- app/components/shadcn/select_separator_component.rb
|
|
428
|
+
- app/components/shadcn/separator_component.html.erb
|
|
422
429
|
- app/components/shadcn/separator_component.rb
|
|
430
|
+
- app/components/shadcn/sheet_component.html.erb
|
|
423
431
|
- app/components/shadcn/sheet_component.rb
|
|
424
432
|
- app/components/shadcn/sheet_content_component.rb
|
|
425
433
|
- app/components/shadcn/sheet_description_component.rb
|
|
@@ -448,45 +456,52 @@ files:
|
|
|
448
456
|
- app/components/shadcn/sidebar_rail_component.rb
|
|
449
457
|
- app/components/shadcn/sidebar_separator_component.rb
|
|
450
458
|
- app/components/shadcn/sidebar_trigger_component.rb
|
|
459
|
+
- app/components/shadcn/skeleton_component.html.erb
|
|
451
460
|
- app/components/shadcn/skeleton_component.rb
|
|
461
|
+
- app/components/shadcn/slider_component.html.erb
|
|
452
462
|
- app/components/shadcn/slider_component.rb
|
|
463
|
+
- app/components/shadcn/spinner_component.html.erb
|
|
453
464
|
- app/components/shadcn/spinner_component.rb
|
|
465
|
+
- app/components/shadcn/switch_component.html.erb
|
|
454
466
|
- app/components/shadcn/switch_component.rb
|
|
455
467
|
- app/components/shadcn/table_body_component.rb
|
|
456
468
|
- app/components/shadcn/table_caption_component.rb
|
|
457
469
|
- app/components/shadcn/table_cell_component.rb
|
|
470
|
+
- app/components/shadcn/table_component.html.erb
|
|
458
471
|
- app/components/shadcn/table_component.rb
|
|
459
472
|
- app/components/shadcn/table_footer_component.rb
|
|
460
473
|
- app/components/shadcn/table_head_component.rb
|
|
461
474
|
- app/components/shadcn/table_header_component.rb
|
|
462
475
|
- app/components/shadcn/table_row_component.rb
|
|
476
|
+
- app/components/shadcn/tabs_component.html.erb
|
|
463
477
|
- app/components/shadcn/tabs_component.rb
|
|
464
478
|
- app/components/shadcn/tabs_content_component.rb
|
|
465
479
|
- app/components/shadcn/tabs_list_component.rb
|
|
466
480
|
- app/components/shadcn/tabs_trigger_component.rb
|
|
481
|
+
- app/components/shadcn/textarea_component.html.erb
|
|
467
482
|
- app/components/shadcn/textarea_component.rb
|
|
468
483
|
- app/components/shadcn/toast_action_component.rb
|
|
484
|
+
- app/components/shadcn/toast_component.html.erb
|
|
469
485
|
- app/components/shadcn/toast_component.rb
|
|
470
486
|
- app/components/shadcn/toast_description_component.rb
|
|
471
487
|
- app/components/shadcn/toast_title_component.rb
|
|
472
488
|
- app/components/shadcn/toast_viewport_component.rb
|
|
489
|
+
- app/components/shadcn/toggle_component.html.erb
|
|
473
490
|
- app/components/shadcn/toggle_component.rb
|
|
491
|
+
- app/components/shadcn/toggle_group_component.html.erb
|
|
474
492
|
- app/components/shadcn/toggle_group_component.rb
|
|
475
493
|
- app/components/shadcn/toggle_group_item_component.rb
|
|
494
|
+
- app/components/shadcn/tooltip_component.html.erb
|
|
476
495
|
- app/components/shadcn/tooltip_component.rb
|
|
477
496
|
- app/components/shadcn/typography_component.rb
|
|
478
|
-
- babel.config.cjs
|
|
479
|
-
- bin/console
|
|
480
|
-
- bin/setup
|
|
481
497
|
- config/importmap.rb
|
|
482
498
|
- fly.toml
|
|
483
|
-
-
|
|
484
|
-
-
|
|
485
|
-
- lib/generators/shadcn/
|
|
499
|
+
- lib/generators/shadcn/add/USAGE
|
|
500
|
+
- lib/generators/shadcn/add/add_generator.rb
|
|
501
|
+
- lib/generators/shadcn/install/USAGE
|
|
486
502
|
- lib/generators/shadcn/install/install_generator.rb
|
|
487
503
|
- lib/generators/shadcn/install/templates/initializer.rb.tt
|
|
488
504
|
- lib/generators/shadcn/install/templates/shadcn.yml.tt
|
|
489
|
-
- lib/generators/shadcn/theme/theme_generator.rb
|
|
490
505
|
- lib/shadcn/rails.rb
|
|
491
506
|
- lib/shadcn/rails/class_merger.rb
|
|
492
507
|
- lib/shadcn/rails/configuration.rb
|
|
@@ -495,9 +510,6 @@ files:
|
|
|
495
510
|
- lib/shadcn/rails/helpers/component_helper.rb
|
|
496
511
|
- lib/shadcn/rails/helpers/pagination_helper.rb
|
|
497
512
|
- lib/shadcn/rails/version.rb
|
|
498
|
-
- package-lock.json
|
|
499
|
-
- package.json
|
|
500
|
-
- rollup.config.js
|
|
501
513
|
- sig/shadcn/rails.rbs
|
|
502
514
|
homepage: https://github.com/iheanyi/shadcn-rails
|
|
503
515
|
licenses:
|
data/.dockerignore
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# .dockerignore for shadcn-rails
|
|
2
|
-
# Keep the build context small while including necessary files
|
|
3
|
-
|
|
4
|
-
# Git
|
|
5
|
-
.git
|
|
6
|
-
.gitignore
|
|
7
|
-
|
|
8
|
-
# IDE
|
|
9
|
-
.idea
|
|
10
|
-
.vscode
|
|
11
|
-
*.swp
|
|
12
|
-
*.swo
|
|
13
|
-
|
|
14
|
-
# OS
|
|
15
|
-
.DS_Store
|
|
16
|
-
Thumbs.db
|
|
17
|
-
|
|
18
|
-
# Ruby
|
|
19
|
-
*.gem
|
|
20
|
-
.bundle
|
|
21
|
-
vendor/bundle
|
|
22
|
-
|
|
23
|
-
# Logs
|
|
24
|
-
log/*
|
|
25
|
-
tmp/*
|
|
26
|
-
*.log
|
|
27
|
-
|
|
28
|
-
# Test artifacts
|
|
29
|
-
coverage/
|
|
30
|
-
test/dummy/tmp/
|
|
31
|
-
test/dummy/log/
|
|
32
|
-
test/dummy/storage/
|
|
33
|
-
|
|
34
|
-
# Node (if any)
|
|
35
|
-
node_modules/
|
|
36
|
-
|
|
37
|
-
# Keep these (don't ignore)
|
|
38
|
-
# !app/
|
|
39
|
-
# !lib/
|
|
40
|
-
# !test/dummy/
|