phlex_kit 0.4.0 → 0.5.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 (138) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/phlex_kit/_tokens.css +16 -0
  3. data/app/assets/stylesheets/phlex_kit/phlex_kit.css +1 -0
  4. data/app/components/phlex_kit/alert/alert.css +60 -22
  5. data/app/components/phlex_kit/alert/alert.rb +11 -7
  6. data/app/components/phlex_kit/alert/alert_action.rb +14 -0
  7. data/app/components/phlex_kit/alert/alert_title.rb +3 -2
  8. data/app/components/phlex_kit/alert_dialog/alert_dialog.css +5 -2
  9. data/app/components/phlex_kit/avatar/avatar.css +80 -9
  10. data/app/components/phlex_kit/avatar/avatar.rb +6 -4
  11. data/app/components/phlex_kit/avatar/avatar_badge.rb +15 -0
  12. data/app/components/phlex_kit/avatar/avatar_group_count.rb +14 -0
  13. data/app/components/phlex_kit/badge/badge.css +61 -39
  14. data/app/components/phlex_kit/badge/badge.rb +24 -7
  15. data/app/components/phlex_kit/breadcrumb/breadcrumb.css +2 -2
  16. data/app/components/phlex_kit/bubble/bubble.css +49 -8
  17. data/app/components/phlex_kit/button/button.css +71 -26
  18. data/app/components/phlex_kit/button/button.rb +20 -13
  19. data/app/components/phlex_kit/button_group/button_group.css +59 -8
  20. data/app/components/phlex_kit/button_group/button_group.rb +11 -5
  21. data/app/components/phlex_kit/button_group/button_group_separator.rb +14 -0
  22. data/app/components/phlex_kit/button_group/button_group_text.rb +14 -0
  23. data/app/components/phlex_kit/calendar/calendar.css +66 -15
  24. data/app/components/phlex_kit/calendar/calendar.rb +87 -19
  25. data/app/components/phlex_kit/calendar/calendar_controller.js +226 -75
  26. data/app/components/phlex_kit/calendar/calendar_days.rb +7 -6
  27. data/app/components/phlex_kit/calendar/calendar_weekdays.rb +3 -1
  28. data/app/components/phlex_kit/checkbox/checkbox.css +52 -7
  29. data/app/components/phlex_kit/collapsible/collapsible.css +10 -1
  30. data/app/components/phlex_kit/collapsible/collapsible_controller.js +9 -2
  31. data/app/components/phlex_kit/combobox/combobox.css +37 -3
  32. data/app/components/phlex_kit/combobox/combobox.rb +3 -1
  33. data/app/components/phlex_kit/combobox/combobox_controller.js +9 -1
  34. data/app/components/phlex_kit/combobox/combobox_input_trigger.rb +7 -2
  35. data/app/components/phlex_kit/command/command.css +58 -22
  36. data/app/components/phlex_kit/command/command_controller.js +3 -1
  37. data/app/components/phlex_kit/command/command_input.rb +29 -25
  38. data/app/components/phlex_kit/command/command_separator.rb +18 -0
  39. data/app/components/phlex_kit/command/command_shortcut.rb +13 -0
  40. data/app/components/phlex_kit/context_menu/context_menu.css +78 -6
  41. data/app/components/phlex_kit/context_menu/context_menu_checkbox_item.rb +27 -0
  42. data/app/components/phlex_kit/context_menu/context_menu_group.rb +10 -0
  43. data/app/components/phlex_kit/context_menu/context_menu_item.rb +13 -3
  44. data/app/components/phlex_kit/context_menu/context_menu_radio_group.rb +10 -0
  45. data/app/components/phlex_kit/context_menu/context_menu_radio_item.rb +30 -0
  46. data/app/components/phlex_kit/context_menu/context_menu_shortcut.rb +11 -0
  47. data/app/components/phlex_kit/context_menu/context_menu_sub.rb +11 -0
  48. data/app/components/phlex_kit/context_menu/context_menu_sub_content.rb +12 -0
  49. data/app/components/phlex_kit/context_menu/context_menu_sub_trigger.rb +17 -0
  50. data/app/components/phlex_kit/dialog/dialog.css +34 -16
  51. data/app/components/phlex_kit/dialog/dialog_close.rb +13 -0
  52. data/app/components/phlex_kit/dialog/dialog_content.rb +13 -5
  53. data/app/components/phlex_kit/drawer/drawer.css +56 -17
  54. data/app/components/phlex_kit/drawer/drawer_content.rb +8 -4
  55. data/app/components/phlex_kit/empty/empty.css +13 -8
  56. data/app/components/phlex_kit/field/field.css +152 -0
  57. data/app/components/phlex_kit/field/field.rb +35 -0
  58. data/app/components/phlex_kit/field/field_content.rb +11 -0
  59. data/app/components/phlex_kit/field/field_description.rb +10 -0
  60. data/app/components/phlex_kit/field/field_error.rb +29 -0
  61. data/app/components/phlex_kit/field/field_group.rb +12 -0
  62. data/app/components/phlex_kit/field/field_label.rb +12 -0
  63. data/app/components/phlex_kit/field/field_legend.rb +17 -0
  64. data/app/components/phlex_kit/field/field_separator.rb +15 -0
  65. data/app/components/phlex_kit/field/field_set.rb +10 -0
  66. data/app/components/phlex_kit/field/field_title.rb +11 -0
  67. data/app/components/phlex_kit/hover_card/hover_card.css +12 -4
  68. data/app/components/phlex_kit/hover_card/hover_card_content.rb +11 -2
  69. data/app/components/phlex_kit/input/input.css +45 -11
  70. data/app/components/phlex_kit/input_group/input_group.css +88 -12
  71. data/app/components/phlex_kit/input_group/input_group_addon.rb +11 -4
  72. data/app/components/phlex_kit/input_group/input_group_button.rb +18 -0
  73. data/app/components/phlex_kit/input_otp/input_otp.css +29 -5
  74. data/app/components/phlex_kit/item/item.css +56 -8
  75. data/app/components/phlex_kit/item/item.rb +13 -3
  76. data/app/components/phlex_kit/item/item_footer.rb +8 -0
  77. data/app/components/phlex_kit/item/item_header.rb +8 -0
  78. data/app/components/phlex_kit/item/item_media.rb +13 -3
  79. data/app/components/phlex_kit/item/item_separator.rb +10 -0
  80. data/app/components/phlex_kit/kbd/kbd.css +10 -0
  81. data/app/components/phlex_kit/marker/marker.css +29 -9
  82. data/app/components/phlex_kit/marker/marker.rb +13 -3
  83. data/app/components/phlex_kit/menubar/menubar.css +88 -17
  84. data/app/components/phlex_kit/menubar/menubar_checkbox_item.rb +26 -0
  85. data/app/components/phlex_kit/menubar/menubar_group.rb +10 -0
  86. data/app/components/phlex_kit/menubar/menubar_item.rb +9 -4
  87. data/app/components/phlex_kit/menubar/menubar_label.rb +10 -0
  88. data/app/components/phlex_kit/menubar/menubar_radio_group.rb +10 -0
  89. data/app/components/phlex_kit/menubar/menubar_radio_item.rb +29 -0
  90. data/app/components/phlex_kit/menubar/menubar_shortcut.rb +10 -0
  91. data/app/components/phlex_kit/menubar/menubar_sub.rb +10 -0
  92. data/app/components/phlex_kit/menubar/menubar_sub_content.rb +11 -0
  93. data/app/components/phlex_kit/menubar/menubar_sub_trigger.rb +17 -0
  94. data/app/components/phlex_kit/message/message.css +8 -1
  95. data/app/components/phlex_kit/message_scroller/message_scroller.css +18 -0
  96. data/app/components/phlex_kit/native_select/native_select.css +25 -5
  97. data/app/components/phlex_kit/navigation_menu/navigation_menu.css +9 -6
  98. data/app/components/phlex_kit/pagination/pagination.css +10 -3
  99. data/app/components/phlex_kit/pagination/pagination_link.rb +21 -0
  100. data/app/components/phlex_kit/pagination/pagination_next.rb +20 -0
  101. data/app/components/phlex_kit/pagination/pagination_previous.rb +21 -0
  102. data/app/components/phlex_kit/popover/popover.css +15 -4
  103. data/app/components/phlex_kit/popover/popover_content.rb +11 -2
  104. data/app/components/phlex_kit/popover/popover_description.rb +10 -0
  105. data/app/components/phlex_kit/popover/popover_header.rb +10 -0
  106. data/app/components/phlex_kit/popover/popover_title.rb +10 -0
  107. data/app/components/phlex_kit/progress/progress.css +5 -5
  108. data/app/components/phlex_kit/radio_button/radio_button.css +46 -2
  109. data/app/components/phlex_kit/radio_group/radio_group.css +2 -2
  110. data/app/components/phlex_kit/resizable/resizable.css +17 -0
  111. data/app/components/phlex_kit/resizable/resizable_handle.rb +7 -3
  112. data/app/components/phlex_kit/select/select.css +46 -10
  113. data/app/components/phlex_kit/select/select_separator.rb +10 -0
  114. data/app/components/phlex_kit/select/select_trigger.rb +5 -2
  115. data/app/components/phlex_kit/sheet/sheet.css +18 -9
  116. data/app/components/phlex_kit/sheet/sheet_close.rb +10 -0
  117. data/app/components/phlex_kit/sheet/sheet_content.rb +8 -4
  118. data/app/components/phlex_kit/sidebar/sidebar.css +76 -9
  119. data/app/components/phlex_kit/sidebar/sidebar_controller.js +22 -7
  120. data/app/components/phlex_kit/sidebar/sidebar_menu_button.rb +8 -3
  121. data/app/components/phlex_kit/sidebar/sidebar_rail.rb +21 -0
  122. data/app/components/phlex_kit/sidebar/sidebar_wrapper.rb +25 -8
  123. data/app/components/phlex_kit/skeleton/skeleton.css +1 -1
  124. data/app/components/phlex_kit/slider/slider.css +33 -12
  125. data/app/components/phlex_kit/switch/switch.css +50 -13
  126. data/app/components/phlex_kit/switch/switch.rb +5 -2
  127. data/app/components/phlex_kit/table/table.css +8 -4
  128. data/app/components/phlex_kit/tabs/tabs.css +72 -8
  129. data/app/components/phlex_kit/tabs/tabs.rb +7 -2
  130. data/app/components/phlex_kit/tabs/tabs_list.rb +11 -2
  131. data/app/components/phlex_kit/textarea/textarea.css +33 -13
  132. data/app/components/phlex_kit/toast/toast.css +1 -1
  133. data/app/components/phlex_kit/toggle/toggle.css +25 -10
  134. data/app/components/phlex_kit/toggle_group/toggle_group.css +7 -6
  135. data/app/components/phlex_kit/tooltip/tooltip.css +37 -10
  136. data/app/components/phlex_kit/tooltip/tooltip_content.rb +9 -4
  137. data/lib/phlex_kit/version.rb +1 -1
  138. metadata +50 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phlex_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Kennedy
@@ -134,6 +134,7 @@ files:
134
134
  - app/components/phlex_kit/accordion/accordion_trigger.rb
135
135
  - app/components/phlex_kit/alert/alert.css
136
136
  - app/components/phlex_kit/alert/alert.rb
137
+ - app/components/phlex_kit/alert/alert_action.rb
137
138
  - app/components/phlex_kit/alert/alert_description.rb
138
139
  - app/components/phlex_kit/alert/alert_title.rb
139
140
  - app/components/phlex_kit/alert_dialog/alert_dialog.css
@@ -163,9 +164,11 @@ files:
163
164
  - app/components/phlex_kit/attachment/scroll_fade_controller.js
164
165
  - app/components/phlex_kit/avatar/avatar.css
165
166
  - app/components/phlex_kit/avatar/avatar.rb
167
+ - app/components/phlex_kit/avatar/avatar_badge.rb
166
168
  - app/components/phlex_kit/avatar/avatar_controller.js
167
169
  - app/components/phlex_kit/avatar/avatar_fallback.rb
168
170
  - app/components/phlex_kit/avatar/avatar_group.rb
171
+ - app/components/phlex_kit/avatar/avatar_group_count.rb
169
172
  - app/components/phlex_kit/avatar/avatar_image.rb
170
173
  - app/components/phlex_kit/badge/badge.css
171
174
  - app/components/phlex_kit/badge/badge.rb
@@ -186,6 +189,8 @@ files:
186
189
  - app/components/phlex_kit/button/button.rb
187
190
  - app/components/phlex_kit/button_group/button_group.css
188
191
  - app/components/phlex_kit/button_group/button_group.rb
192
+ - app/components/phlex_kit/button_group/button_group_separator.rb
193
+ - app/components/phlex_kit/button_group/button_group_text.rb
189
194
  - app/components/phlex_kit/calendar/calendar.css
190
195
  - app/components/phlex_kit/calendar/calendar.rb
191
196
  - app/components/phlex_kit/calendar/calendar_body.rb
@@ -260,13 +265,23 @@ files:
260
265
  - app/components/phlex_kit/command/command_input.rb
261
266
  - app/components/phlex_kit/command/command_item.rb
262
267
  - app/components/phlex_kit/command/command_list.rb
268
+ - app/components/phlex_kit/command/command_separator.rb
269
+ - app/components/phlex_kit/command/command_shortcut.rb
263
270
  - app/components/phlex_kit/context_menu/context_menu.css
264
271
  - app/components/phlex_kit/context_menu/context_menu.rb
272
+ - app/components/phlex_kit/context_menu/context_menu_checkbox_item.rb
265
273
  - app/components/phlex_kit/context_menu/context_menu_content.rb
266
274
  - app/components/phlex_kit/context_menu/context_menu_controller.js
275
+ - app/components/phlex_kit/context_menu/context_menu_group.rb
267
276
  - app/components/phlex_kit/context_menu/context_menu_item.rb
268
277
  - app/components/phlex_kit/context_menu/context_menu_label.rb
278
+ - app/components/phlex_kit/context_menu/context_menu_radio_group.rb
279
+ - app/components/phlex_kit/context_menu/context_menu_radio_item.rb
269
280
  - app/components/phlex_kit/context_menu/context_menu_separator.rb
281
+ - app/components/phlex_kit/context_menu/context_menu_shortcut.rb
282
+ - app/components/phlex_kit/context_menu/context_menu_sub.rb
283
+ - app/components/phlex_kit/context_menu/context_menu_sub_content.rb
284
+ - app/components/phlex_kit/context_menu/context_menu_sub_trigger.rb
270
285
  - app/components/phlex_kit/context_menu/context_menu_trigger.rb
271
286
  - app/components/phlex_kit/data_table/data_table.css
272
287
  - app/components/phlex_kit/data_table/data_table.rb
@@ -293,6 +308,7 @@ files:
293
308
  - app/components/phlex_kit/date_picker/date_picker.rb
294
309
  - app/components/phlex_kit/dialog/dialog.css
295
310
  - app/components/phlex_kit/dialog/dialog.rb
311
+ - app/components/phlex_kit/dialog/dialog_close.rb
296
312
  - app/components/phlex_kit/dialog/dialog_content.rb
297
313
  - app/components/phlex_kit/dialog/dialog_controller.js
298
314
  - app/components/phlex_kit/dialog/dialog_description.rb
@@ -333,6 +349,17 @@ files:
333
349
  - app/components/phlex_kit/empty/empty_header.rb
334
350
  - app/components/phlex_kit/empty/empty_media.rb
335
351
  - app/components/phlex_kit/empty/empty_title.rb
352
+ - app/components/phlex_kit/field/field.css
353
+ - app/components/phlex_kit/field/field.rb
354
+ - app/components/phlex_kit/field/field_content.rb
355
+ - app/components/phlex_kit/field/field_description.rb
356
+ - app/components/phlex_kit/field/field_error.rb
357
+ - app/components/phlex_kit/field/field_group.rb
358
+ - app/components/phlex_kit/field/field_label.rb
359
+ - app/components/phlex_kit/field/field_legend.rb
360
+ - app/components/phlex_kit/field/field_separator.rb
361
+ - app/components/phlex_kit/field/field_set.rb
362
+ - app/components/phlex_kit/field/field_title.rb
336
363
  - app/components/phlex_kit/form/form.css
337
364
  - app/components/phlex_kit/form/form.rb
338
365
  - app/components/phlex_kit/form_field/form_field.css
@@ -352,6 +379,7 @@ files:
352
379
  - app/components/phlex_kit/input_group/input_group.css
353
380
  - app/components/phlex_kit/input_group/input_group.rb
354
381
  - app/components/phlex_kit/input_group/input_group_addon.rb
382
+ - app/components/phlex_kit/input_group/input_group_button.rb
355
383
  - app/components/phlex_kit/input_group/input_group_text.rb
356
384
  - app/components/phlex_kit/input_otp/input_otp.css
357
385
  - app/components/phlex_kit/input_otp/input_otp.rb
@@ -364,8 +392,11 @@ files:
364
392
  - app/components/phlex_kit/item/item_actions.rb
365
393
  - app/components/phlex_kit/item/item_content.rb
366
394
  - app/components/phlex_kit/item/item_description.rb
395
+ - app/components/phlex_kit/item/item_footer.rb
367
396
  - app/components/phlex_kit/item/item_group.rb
397
+ - app/components/phlex_kit/item/item_header.rb
368
398
  - app/components/phlex_kit/item/item_media.rb
399
+ - app/components/phlex_kit/item/item_separator.rb
369
400
  - app/components/phlex_kit/item/item_title.rb
370
401
  - app/components/phlex_kit/kbd/kbd.css
371
402
  - app/components/phlex_kit/kbd/kbd.rb
@@ -382,11 +413,20 @@ files:
382
413
  - app/components/phlex_kit/masked_input/masked_input_controller.js
383
414
  - app/components/phlex_kit/menubar/menubar.css
384
415
  - app/components/phlex_kit/menubar/menubar.rb
416
+ - app/components/phlex_kit/menubar/menubar_checkbox_item.rb
385
417
  - app/components/phlex_kit/menubar/menubar_content.rb
386
418
  - app/components/phlex_kit/menubar/menubar_controller.js
419
+ - app/components/phlex_kit/menubar/menubar_group.rb
387
420
  - app/components/phlex_kit/menubar/menubar_item.rb
421
+ - app/components/phlex_kit/menubar/menubar_label.rb
388
422
  - app/components/phlex_kit/menubar/menubar_menu.rb
423
+ - app/components/phlex_kit/menubar/menubar_radio_group.rb
424
+ - app/components/phlex_kit/menubar/menubar_radio_item.rb
389
425
  - app/components/phlex_kit/menubar/menubar_separator.rb
426
+ - app/components/phlex_kit/menubar/menubar_shortcut.rb
427
+ - app/components/phlex_kit/menubar/menubar_sub.rb
428
+ - app/components/phlex_kit/menubar/menubar_sub_content.rb
429
+ - app/components/phlex_kit/menubar/menubar_sub_trigger.rb
390
430
  - app/components/phlex_kit/menubar/menubar_trigger.rb
391
431
  - app/components/phlex_kit/message/message.css
392
432
  - app/components/phlex_kit/message/message.rb
@@ -415,10 +455,16 @@ files:
415
455
  - app/components/phlex_kit/pagination/pagination_content.rb
416
456
  - app/components/phlex_kit/pagination/pagination_ellipsis.rb
417
457
  - app/components/phlex_kit/pagination/pagination_item.rb
458
+ - app/components/phlex_kit/pagination/pagination_link.rb
459
+ - app/components/phlex_kit/pagination/pagination_next.rb
460
+ - app/components/phlex_kit/pagination/pagination_previous.rb
418
461
  - app/components/phlex_kit/popover/popover.css
419
462
  - app/components/phlex_kit/popover/popover.rb
420
463
  - app/components/phlex_kit/popover/popover_content.rb
421
464
  - app/components/phlex_kit/popover/popover_controller.js
465
+ - app/components/phlex_kit/popover/popover_description.rb
466
+ - app/components/phlex_kit/popover/popover_header.rb
467
+ - app/components/phlex_kit/popover/popover_title.rb
422
468
  - app/components/phlex_kit/popover/popover_trigger.rb
423
469
  - app/components/phlex_kit/progress/progress.css
424
470
  - app/components/phlex_kit/progress/progress.rb
@@ -442,12 +488,14 @@ files:
442
488
  - app/components/phlex_kit/select/select_item.rb
443
489
  - app/components/phlex_kit/select/select_item_controller.js
444
490
  - app/components/phlex_kit/select/select_label.rb
491
+ - app/components/phlex_kit/select/select_separator.rb
445
492
  - app/components/phlex_kit/select/select_trigger.rb
446
493
  - app/components/phlex_kit/select/select_value.rb
447
494
  - app/components/phlex_kit/separator/separator.css
448
495
  - app/components/phlex_kit/separator/separator.rb
449
496
  - app/components/phlex_kit/sheet/sheet.css
450
497
  - app/components/phlex_kit/sheet/sheet.rb
498
+ - app/components/phlex_kit/sheet/sheet_close.rb
451
499
  - app/components/phlex_kit/sheet/sheet_content.rb
452
500
  - app/components/phlex_kit/sheet/sheet_content_controller.js
453
501
  - app/components/phlex_kit/sheet/sheet_controller.js
@@ -480,6 +528,7 @@ files:
480
528
  - app/components/phlex_kit/sidebar/sidebar_menu_sub.rb
481
529
  - app/components/phlex_kit/sidebar/sidebar_menu_sub_button.rb
482
530
  - app/components/phlex_kit/sidebar/sidebar_menu_sub_item.rb
531
+ - app/components/phlex_kit/sidebar/sidebar_rail.rb
483
532
  - app/components/phlex_kit/sidebar/sidebar_separator.rb
484
533
  - app/components/phlex_kit/sidebar/sidebar_trigger.rb
485
534
  - app/components/phlex_kit/sidebar/sidebar_wrapper.rb