shadcn-rails 0.2.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 +66 -2
- data/README.md +21 -8
- data/__mocks__/@floating-ui/dom.js +67 -0
- data/app/assets/javascripts/shadcn/controllers/combobox_controller.js +23 -2
- data/app/assets/javascripts/shadcn/controllers/context_menu_controller.js +4 -31
- data/app/assets/javascripts/shadcn/controllers/dropdown_controller.js +32 -41
- data/app/assets/javascripts/shadcn/controllers/hover_card_controller.js +29 -55
- data/app/assets/javascripts/shadcn/controllers/popover_controller.js +29 -54
- data/app/assets/javascripts/shadcn/controllers/select_controller.js +26 -8
- data/app/assets/javascripts/shadcn/controllers/tooltip_controller.js +28 -59
- data/app/assets/javascripts/shadcn/index.js +7 -1
- data/app/assets/javascripts/shadcn/utils/floating.js +179 -0
- data/app/assets/stylesheets/shadcn/base.css +32 -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/context_menu_component.html.erb +11 -0
- data/app/components/shadcn/context_menu_component.rb +6 -26
- 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_component.html.erb +14 -0
- data/app/components/shadcn/dropdown_menu_component.rb +9 -29
- 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/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/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 +6 -80
- 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 +47 -45
- data/.dockerignore +0 -40
- data/CLAUDE.md +0 -612
- data/PROGRESS.md +0 -495
- data/Rakefile +0 -95
- 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 -971
- data/__tests__/controllers/context_menu_controller.test.js +0 -905
- 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 -737
- data/__tests__/controllers/navigation_menu_controller.test.js +0 -599
- data/__tests__/controllers/popover_controller.test.js +0 -982
- 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 -678
- 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/bump +0 -321
- data/bin/console +0 -11
- data/bin/release +0 -205
- data/bin/setup +0 -8
- data/bin/test +0 -75
- 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 -7438
- data/package.json +0 -71
- 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.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Iheanyi Ekechukwu
|
|
@@ -186,39 +186,9 @@ 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
|
|
@@ -276,6 +246,7 @@ files:
|
|
|
276
246
|
- app/assets/javascripts/shadcn/controllers/tooltip_controller.js
|
|
277
247
|
- app/assets/javascripts/shadcn/index.d.ts
|
|
278
248
|
- app/assets/javascripts/shadcn/index.js
|
|
249
|
+
- app/assets/javascripts/shadcn/utils/floating.js
|
|
279
250
|
- app/assets/stylesheets/.keep
|
|
280
251
|
- app/assets/stylesheets/shadcn/base.css
|
|
281
252
|
- app/assets/stylesheets/shadcn/components.css
|
|
@@ -284,14 +255,17 @@ files:
|
|
|
284
255
|
- app/assets/stylesheets/shadcn/themes/slate.css
|
|
285
256
|
- app/assets/stylesheets/shadcn/themes/stone.css
|
|
286
257
|
- app/assets/stylesheets/shadcn/themes/zinc.css
|
|
258
|
+
- app/components/shadcn/accordion_component.html.erb
|
|
287
259
|
- app/components/shadcn/accordion_component.rb
|
|
288
260
|
- app/components/shadcn/accordion_content_component.rb
|
|
289
261
|
- app/components/shadcn/accordion_item_component.rb
|
|
290
262
|
- app/components/shadcn/accordion_trigger_component.rb
|
|
263
|
+
- app/components/shadcn/alert_component.html.erb
|
|
291
264
|
- app/components/shadcn/alert_component.rb
|
|
292
265
|
- app/components/shadcn/alert_description_component.rb
|
|
293
266
|
- app/components/shadcn/alert_dialog_action_component.rb
|
|
294
267
|
- app/components/shadcn/alert_dialog_cancel_component.rb
|
|
268
|
+
- app/components/shadcn/alert_dialog_component.html.erb
|
|
295
269
|
- app/components/shadcn/alert_dialog_component.rb
|
|
296
270
|
- app/components/shadcn/alert_dialog_content_component.rb
|
|
297
271
|
- app/components/shadcn/alert_dialog_description_component.rb
|
|
@@ -299,17 +273,23 @@ files:
|
|
|
299
273
|
- app/components/shadcn/alert_dialog_header_component.rb
|
|
300
274
|
- app/components/shadcn/alert_dialog_title_component.rb
|
|
301
275
|
- app/components/shadcn/alert_title_component.rb
|
|
276
|
+
- app/components/shadcn/aspect_ratio_component.html.erb
|
|
302
277
|
- app/components/shadcn/aspect_ratio_component.rb
|
|
278
|
+
- app/components/shadcn/avatar_component.html.erb
|
|
303
279
|
- app/components/shadcn/avatar_component.rb
|
|
304
280
|
- app/components/shadcn/avatar_fallback_component.rb
|
|
281
|
+
- app/components/shadcn/badge_component.html.erb
|
|
305
282
|
- app/components/shadcn/badge_component.rb
|
|
306
283
|
- app/components/shadcn/base_component.rb
|
|
284
|
+
- app/components/shadcn/breadcrumb_component.html.erb
|
|
307
285
|
- app/components/shadcn/breadcrumb_component.rb
|
|
308
286
|
- app/components/shadcn/breadcrumb_item_component.rb
|
|
287
|
+
- app/components/shadcn/button_component.html.erb
|
|
309
288
|
- app/components/shadcn/button_component.rb
|
|
310
289
|
- app/components/shadcn/button_group_component.rb
|
|
311
290
|
- app/components/shadcn/calendar_component.rb
|
|
312
291
|
- app/components/shadcn/card_action_component.rb
|
|
292
|
+
- app/components/shadcn/card_component.html.erb
|
|
313
293
|
- app/components/shadcn/card_component.rb
|
|
314
294
|
- app/components/shadcn/card_content_component.rb
|
|
315
295
|
- app/components/shadcn/card_description_component.rb
|
|
@@ -317,7 +297,9 @@ files:
|
|
|
317
297
|
- app/components/shadcn/card_header_component.rb
|
|
318
298
|
- app/components/shadcn/card_title_component.rb
|
|
319
299
|
- app/components/shadcn/carousel_component.rb
|
|
300
|
+
- app/components/shadcn/checkbox_component.html.erb
|
|
320
301
|
- app/components/shadcn/checkbox_component.rb
|
|
302
|
+
- app/components/shadcn/collapsible_component.html.erb
|
|
321
303
|
- app/components/shadcn/collapsible_component.rb
|
|
322
304
|
- app/components/shadcn/collapsible_content_component.rb
|
|
323
305
|
- app/components/shadcn/combobox_component.rb
|
|
@@ -331,6 +313,7 @@ files:
|
|
|
331
313
|
- app/components/shadcn/command_separator_component.rb
|
|
332
314
|
- app/components/shadcn/command_shortcut_component.rb
|
|
333
315
|
- app/components/shadcn/context_menu_checkbox_item_component.rb
|
|
316
|
+
- app/components/shadcn/context_menu_component.html.erb
|
|
334
317
|
- app/components/shadcn/context_menu_component.rb
|
|
335
318
|
- app/components/shadcn/context_menu_content_component.rb
|
|
336
319
|
- app/components/shadcn/context_menu_item_component.rb
|
|
@@ -340,12 +323,14 @@ files:
|
|
|
340
323
|
- app/components/shadcn/context_menu_separator_component.rb
|
|
341
324
|
- app/components/shadcn/context_menu_shortcut_component.rb
|
|
342
325
|
- app/components/shadcn/date_picker_component.rb
|
|
326
|
+
- app/components/shadcn/dialog_component.html.erb
|
|
343
327
|
- app/components/shadcn/dialog_component.rb
|
|
344
328
|
- app/components/shadcn/dialog_content_component.rb
|
|
345
329
|
- app/components/shadcn/dialog_description_component.rb
|
|
346
330
|
- app/components/shadcn/dialog_footer_component.rb
|
|
347
331
|
- app/components/shadcn/dialog_header_component.rb
|
|
348
332
|
- app/components/shadcn/dialog_title_component.rb
|
|
333
|
+
- app/components/shadcn/drawer_component.html.erb
|
|
349
334
|
- app/components/shadcn/drawer_component.rb
|
|
350
335
|
- app/components/shadcn/drawer_content_component.rb
|
|
351
336
|
- app/components/shadcn/drawer_description_component.rb
|
|
@@ -353,6 +338,7 @@ files:
|
|
|
353
338
|
- app/components/shadcn/drawer_header_component.rb
|
|
354
339
|
- app/components/shadcn/drawer_title_component.rb
|
|
355
340
|
- app/components/shadcn/dropdown_menu_checkbox_item_component.rb
|
|
341
|
+
- app/components/shadcn/dropdown_menu_component.html.erb
|
|
356
342
|
- app/components/shadcn/dropdown_menu_component.rb
|
|
357
343
|
- app/components/shadcn/dropdown_menu_content_component.rb
|
|
358
344
|
- app/components/shadcn/dropdown_menu_group_component.rb
|
|
@@ -369,8 +355,10 @@ files:
|
|
|
369
355
|
- app/components/shadcn/empty_media_component.rb
|
|
370
356
|
- app/components/shadcn/empty_title_component.rb
|
|
371
357
|
- app/components/shadcn/field_component.rb
|
|
358
|
+
- app/components/shadcn/hover_card_component.html.erb
|
|
372
359
|
- app/components/shadcn/hover_card_component.rb
|
|
373
360
|
- app/components/shadcn/hover_card_content_component.rb
|
|
361
|
+
- app/components/shadcn/input_component.html.erb
|
|
374
362
|
- app/components/shadcn/input_component.rb
|
|
375
363
|
- app/components/shadcn/input_group_component.rb
|
|
376
364
|
- app/components/shadcn/input_otp_component.rb
|
|
@@ -384,9 +372,12 @@ files:
|
|
|
384
372
|
- app/components/shadcn/item_media_component.rb
|
|
385
373
|
- app/components/shadcn/item_separator_component.rb
|
|
386
374
|
- app/components/shadcn/item_title_component.rb
|
|
375
|
+
- app/components/shadcn/kbd_component.html.erb
|
|
387
376
|
- app/components/shadcn/kbd_component.rb
|
|
377
|
+
- app/components/shadcn/label_component.html.erb
|
|
388
378
|
- app/components/shadcn/label_component.rb
|
|
389
379
|
- app/components/shadcn/menubar_checkbox_item_component.rb
|
|
380
|
+
- app/components/shadcn/menubar_component.html.erb
|
|
390
381
|
- app/components/shadcn/menubar_component.rb
|
|
391
382
|
- app/components/shadcn/menubar_content_component.rb
|
|
392
383
|
- app/components/shadcn/menubar_item_component.rb
|
|
@@ -400,33 +391,43 @@ files:
|
|
|
400
391
|
- app/components/shadcn/menubar_sub_content_component.rb
|
|
401
392
|
- app/components/shadcn/menubar_sub_trigger_component.rb
|
|
402
393
|
- app/components/shadcn/menubar_trigger_component.rb
|
|
394
|
+
- app/components/shadcn/native_select_component.html.erb
|
|
403
395
|
- app/components/shadcn/native_select_component.rb
|
|
396
|
+
- app/components/shadcn/navigation_menu_component.html.erb
|
|
404
397
|
- app/components/shadcn/navigation_menu_component.rb
|
|
405
398
|
- app/components/shadcn/navigation_menu_content_component.rb
|
|
406
399
|
- app/components/shadcn/navigation_menu_item_component.rb
|
|
407
400
|
- app/components/shadcn/navigation_menu_link_component.rb
|
|
408
401
|
- app/components/shadcn/navigation_menu_list_component.rb
|
|
409
402
|
- app/components/shadcn/navigation_menu_trigger_component.rb
|
|
403
|
+
- app/components/shadcn/pagination_component.html.erb
|
|
410
404
|
- app/components/shadcn/pagination_component.rb
|
|
411
405
|
- app/components/shadcn/pagination_content_component.rb
|
|
412
406
|
- app/components/shadcn/pagination_ellipsis_component.rb
|
|
413
407
|
- app/components/shadcn/pagination_item_component.rb
|
|
414
408
|
- app/components/shadcn/pagination_next_component.rb
|
|
415
409
|
- app/components/shadcn/pagination_previous_component.rb
|
|
410
|
+
- app/components/shadcn/popover_component.html.erb
|
|
416
411
|
- app/components/shadcn/popover_component.rb
|
|
417
412
|
- app/components/shadcn/popover_content_component.rb
|
|
413
|
+
- app/components/shadcn/progress_component.html.erb
|
|
418
414
|
- app/components/shadcn/progress_component.rb
|
|
415
|
+
- app/components/shadcn/radio_group_component.html.erb
|
|
419
416
|
- app/components/shadcn/radio_group_component.rb
|
|
420
417
|
- app/components/shadcn/radio_group_item_component.rb
|
|
421
418
|
- app/components/shadcn/resizable_handle_component.rb
|
|
422
419
|
- app/components/shadcn/resizable_panel_component.rb
|
|
423
420
|
- app/components/shadcn/resizable_panel_group_component.rb
|
|
421
|
+
- app/components/shadcn/scroll_area_component.html.erb
|
|
424
422
|
- app/components/shadcn/scroll_area_component.rb
|
|
423
|
+
- app/components/shadcn/select_component.html.erb
|
|
425
424
|
- app/components/shadcn/select_component.rb
|
|
426
425
|
- app/components/shadcn/select_group_component.rb
|
|
427
426
|
- app/components/shadcn/select_item_component.rb
|
|
428
427
|
- app/components/shadcn/select_separator_component.rb
|
|
428
|
+
- app/components/shadcn/separator_component.html.erb
|
|
429
429
|
- app/components/shadcn/separator_component.rb
|
|
430
|
+
- app/components/shadcn/sheet_component.html.erb
|
|
430
431
|
- app/components/shadcn/sheet_component.rb
|
|
431
432
|
- app/components/shadcn/sheet_content_component.rb
|
|
432
433
|
- app/components/shadcn/sheet_description_component.rb
|
|
@@ -455,48 +456,52 @@ files:
|
|
|
455
456
|
- app/components/shadcn/sidebar_rail_component.rb
|
|
456
457
|
- app/components/shadcn/sidebar_separator_component.rb
|
|
457
458
|
- app/components/shadcn/sidebar_trigger_component.rb
|
|
459
|
+
- app/components/shadcn/skeleton_component.html.erb
|
|
458
460
|
- app/components/shadcn/skeleton_component.rb
|
|
461
|
+
- app/components/shadcn/slider_component.html.erb
|
|
459
462
|
- app/components/shadcn/slider_component.rb
|
|
463
|
+
- app/components/shadcn/spinner_component.html.erb
|
|
460
464
|
- app/components/shadcn/spinner_component.rb
|
|
465
|
+
- app/components/shadcn/switch_component.html.erb
|
|
461
466
|
- app/components/shadcn/switch_component.rb
|
|
462
467
|
- app/components/shadcn/table_body_component.rb
|
|
463
468
|
- app/components/shadcn/table_caption_component.rb
|
|
464
469
|
- app/components/shadcn/table_cell_component.rb
|
|
470
|
+
- app/components/shadcn/table_component.html.erb
|
|
465
471
|
- app/components/shadcn/table_component.rb
|
|
466
472
|
- app/components/shadcn/table_footer_component.rb
|
|
467
473
|
- app/components/shadcn/table_head_component.rb
|
|
468
474
|
- app/components/shadcn/table_header_component.rb
|
|
469
475
|
- app/components/shadcn/table_row_component.rb
|
|
476
|
+
- app/components/shadcn/tabs_component.html.erb
|
|
470
477
|
- app/components/shadcn/tabs_component.rb
|
|
471
478
|
- app/components/shadcn/tabs_content_component.rb
|
|
472
479
|
- app/components/shadcn/tabs_list_component.rb
|
|
473
480
|
- app/components/shadcn/tabs_trigger_component.rb
|
|
481
|
+
- app/components/shadcn/textarea_component.html.erb
|
|
474
482
|
- app/components/shadcn/textarea_component.rb
|
|
475
483
|
- app/components/shadcn/toast_action_component.rb
|
|
484
|
+
- app/components/shadcn/toast_component.html.erb
|
|
476
485
|
- app/components/shadcn/toast_component.rb
|
|
477
486
|
- app/components/shadcn/toast_description_component.rb
|
|
478
487
|
- app/components/shadcn/toast_title_component.rb
|
|
479
488
|
- app/components/shadcn/toast_viewport_component.rb
|
|
489
|
+
- app/components/shadcn/toggle_component.html.erb
|
|
480
490
|
- app/components/shadcn/toggle_component.rb
|
|
491
|
+
- app/components/shadcn/toggle_group_component.html.erb
|
|
481
492
|
- app/components/shadcn/toggle_group_component.rb
|
|
482
493
|
- app/components/shadcn/toggle_group_item_component.rb
|
|
494
|
+
- app/components/shadcn/tooltip_component.html.erb
|
|
483
495
|
- app/components/shadcn/tooltip_component.rb
|
|
484
496
|
- app/components/shadcn/typography_component.rb
|
|
485
|
-
- babel.config.cjs
|
|
486
|
-
- bin/bump
|
|
487
|
-
- bin/console
|
|
488
|
-
- bin/release
|
|
489
|
-
- bin/setup
|
|
490
|
-
- bin/test
|
|
491
497
|
- config/importmap.rb
|
|
492
498
|
- fly.toml
|
|
493
|
-
-
|
|
494
|
-
-
|
|
495
|
-
- lib/generators/shadcn/
|
|
499
|
+
- lib/generators/shadcn/add/USAGE
|
|
500
|
+
- lib/generators/shadcn/add/add_generator.rb
|
|
501
|
+
- lib/generators/shadcn/install/USAGE
|
|
496
502
|
- lib/generators/shadcn/install/install_generator.rb
|
|
497
503
|
- lib/generators/shadcn/install/templates/initializer.rb.tt
|
|
498
504
|
- lib/generators/shadcn/install/templates/shadcn.yml.tt
|
|
499
|
-
- lib/generators/shadcn/theme/theme_generator.rb
|
|
500
505
|
- lib/shadcn/rails.rb
|
|
501
506
|
- lib/shadcn/rails/class_merger.rb
|
|
502
507
|
- lib/shadcn/rails/configuration.rb
|
|
@@ -505,9 +510,6 @@ files:
|
|
|
505
510
|
- lib/shadcn/rails/helpers/component_helper.rb
|
|
506
511
|
- lib/shadcn/rails/helpers/pagination_helper.rb
|
|
507
512
|
- lib/shadcn/rails/version.rb
|
|
508
|
-
- package-lock.json
|
|
509
|
-
- package.json
|
|
510
|
-
- rollup.config.js
|
|
511
513
|
- sig/shadcn/rails.rbs
|
|
512
514
|
homepage: https://github.com/iheanyi/shadcn-rails
|
|
513
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/
|