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.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/phlex_kit/_tokens.css +16 -0
- data/app/assets/stylesheets/phlex_kit/phlex_kit.css +1 -0
- data/app/components/phlex_kit/alert/alert.css +60 -22
- data/app/components/phlex_kit/alert/alert.rb +11 -7
- data/app/components/phlex_kit/alert/alert_action.rb +14 -0
- data/app/components/phlex_kit/alert/alert_title.rb +3 -2
- data/app/components/phlex_kit/alert_dialog/alert_dialog.css +5 -2
- data/app/components/phlex_kit/avatar/avatar.css +80 -9
- data/app/components/phlex_kit/avatar/avatar.rb +6 -4
- data/app/components/phlex_kit/avatar/avatar_badge.rb +15 -0
- data/app/components/phlex_kit/avatar/avatar_group_count.rb +14 -0
- data/app/components/phlex_kit/badge/badge.css +61 -39
- data/app/components/phlex_kit/badge/badge.rb +24 -7
- data/app/components/phlex_kit/breadcrumb/breadcrumb.css +2 -2
- data/app/components/phlex_kit/bubble/bubble.css +49 -8
- data/app/components/phlex_kit/button/button.css +71 -26
- data/app/components/phlex_kit/button/button.rb +20 -13
- data/app/components/phlex_kit/button_group/button_group.css +59 -8
- data/app/components/phlex_kit/button_group/button_group.rb +11 -5
- data/app/components/phlex_kit/button_group/button_group_separator.rb +14 -0
- data/app/components/phlex_kit/button_group/button_group_text.rb +14 -0
- data/app/components/phlex_kit/calendar/calendar.css +66 -15
- data/app/components/phlex_kit/calendar/calendar.rb +87 -19
- data/app/components/phlex_kit/calendar/calendar_controller.js +226 -75
- data/app/components/phlex_kit/calendar/calendar_days.rb +7 -6
- data/app/components/phlex_kit/calendar/calendar_weekdays.rb +3 -1
- data/app/components/phlex_kit/checkbox/checkbox.css +52 -7
- data/app/components/phlex_kit/collapsible/collapsible.css +10 -1
- data/app/components/phlex_kit/collapsible/collapsible_controller.js +9 -2
- data/app/components/phlex_kit/combobox/combobox.css +37 -3
- data/app/components/phlex_kit/combobox/combobox.rb +3 -1
- data/app/components/phlex_kit/combobox/combobox_controller.js +9 -1
- data/app/components/phlex_kit/combobox/combobox_input_trigger.rb +7 -2
- data/app/components/phlex_kit/command/command.css +58 -22
- data/app/components/phlex_kit/command/command_controller.js +3 -1
- data/app/components/phlex_kit/command/command_input.rb +29 -25
- data/app/components/phlex_kit/command/command_separator.rb +18 -0
- data/app/components/phlex_kit/command/command_shortcut.rb +13 -0
- data/app/components/phlex_kit/context_menu/context_menu.css +78 -6
- data/app/components/phlex_kit/context_menu/context_menu_checkbox_item.rb +27 -0
- data/app/components/phlex_kit/context_menu/context_menu_group.rb +10 -0
- data/app/components/phlex_kit/context_menu/context_menu_item.rb +13 -3
- data/app/components/phlex_kit/context_menu/context_menu_radio_group.rb +10 -0
- data/app/components/phlex_kit/context_menu/context_menu_radio_item.rb +30 -0
- data/app/components/phlex_kit/context_menu/context_menu_shortcut.rb +11 -0
- data/app/components/phlex_kit/context_menu/context_menu_sub.rb +11 -0
- data/app/components/phlex_kit/context_menu/context_menu_sub_content.rb +12 -0
- data/app/components/phlex_kit/context_menu/context_menu_sub_trigger.rb +17 -0
- data/app/components/phlex_kit/dialog/dialog.css +34 -16
- data/app/components/phlex_kit/dialog/dialog_close.rb +13 -0
- data/app/components/phlex_kit/dialog/dialog_content.rb +13 -5
- data/app/components/phlex_kit/drawer/drawer.css +56 -17
- data/app/components/phlex_kit/drawer/drawer_content.rb +8 -4
- data/app/components/phlex_kit/empty/empty.css +13 -8
- data/app/components/phlex_kit/field/field.css +152 -0
- data/app/components/phlex_kit/field/field.rb +35 -0
- data/app/components/phlex_kit/field/field_content.rb +11 -0
- data/app/components/phlex_kit/field/field_description.rb +10 -0
- data/app/components/phlex_kit/field/field_error.rb +29 -0
- data/app/components/phlex_kit/field/field_group.rb +12 -0
- data/app/components/phlex_kit/field/field_label.rb +12 -0
- data/app/components/phlex_kit/field/field_legend.rb +17 -0
- data/app/components/phlex_kit/field/field_separator.rb +15 -0
- data/app/components/phlex_kit/field/field_set.rb +10 -0
- data/app/components/phlex_kit/field/field_title.rb +11 -0
- data/app/components/phlex_kit/hover_card/hover_card.css +12 -4
- data/app/components/phlex_kit/hover_card/hover_card_content.rb +11 -2
- data/app/components/phlex_kit/input/input.css +45 -11
- data/app/components/phlex_kit/input_group/input_group.css +88 -12
- data/app/components/phlex_kit/input_group/input_group_addon.rb +11 -4
- data/app/components/phlex_kit/input_group/input_group_button.rb +18 -0
- data/app/components/phlex_kit/input_otp/input_otp.css +29 -5
- data/app/components/phlex_kit/item/item.css +56 -8
- data/app/components/phlex_kit/item/item.rb +13 -3
- data/app/components/phlex_kit/item/item_footer.rb +8 -0
- data/app/components/phlex_kit/item/item_header.rb +8 -0
- data/app/components/phlex_kit/item/item_media.rb +13 -3
- data/app/components/phlex_kit/item/item_separator.rb +10 -0
- data/app/components/phlex_kit/kbd/kbd.css +10 -0
- data/app/components/phlex_kit/marker/marker.css +29 -9
- data/app/components/phlex_kit/marker/marker.rb +13 -3
- data/app/components/phlex_kit/menubar/menubar.css +88 -17
- data/app/components/phlex_kit/menubar/menubar_checkbox_item.rb +26 -0
- data/app/components/phlex_kit/menubar/menubar_group.rb +10 -0
- data/app/components/phlex_kit/menubar/menubar_item.rb +9 -4
- data/app/components/phlex_kit/menubar/menubar_label.rb +10 -0
- data/app/components/phlex_kit/menubar/menubar_radio_group.rb +10 -0
- data/app/components/phlex_kit/menubar/menubar_radio_item.rb +29 -0
- data/app/components/phlex_kit/menubar/menubar_shortcut.rb +10 -0
- data/app/components/phlex_kit/menubar/menubar_sub.rb +10 -0
- data/app/components/phlex_kit/menubar/menubar_sub_content.rb +11 -0
- data/app/components/phlex_kit/menubar/menubar_sub_trigger.rb +17 -0
- data/app/components/phlex_kit/message/message.css +8 -1
- data/app/components/phlex_kit/message_scroller/message_scroller.css +18 -0
- data/app/components/phlex_kit/native_select/native_select.css +25 -5
- data/app/components/phlex_kit/navigation_menu/navigation_menu.css +9 -6
- data/app/components/phlex_kit/pagination/pagination.css +10 -3
- data/app/components/phlex_kit/pagination/pagination_link.rb +21 -0
- data/app/components/phlex_kit/pagination/pagination_next.rb +20 -0
- data/app/components/phlex_kit/pagination/pagination_previous.rb +21 -0
- data/app/components/phlex_kit/popover/popover.css +15 -4
- data/app/components/phlex_kit/popover/popover_content.rb +11 -2
- data/app/components/phlex_kit/popover/popover_description.rb +10 -0
- data/app/components/phlex_kit/popover/popover_header.rb +10 -0
- data/app/components/phlex_kit/popover/popover_title.rb +10 -0
- data/app/components/phlex_kit/progress/progress.css +5 -5
- data/app/components/phlex_kit/radio_button/radio_button.css +46 -2
- data/app/components/phlex_kit/radio_group/radio_group.css +2 -2
- data/app/components/phlex_kit/resizable/resizable.css +17 -0
- data/app/components/phlex_kit/resizable/resizable_handle.rb +7 -3
- data/app/components/phlex_kit/select/select.css +46 -10
- data/app/components/phlex_kit/select/select_separator.rb +10 -0
- data/app/components/phlex_kit/select/select_trigger.rb +5 -2
- data/app/components/phlex_kit/sheet/sheet.css +18 -9
- data/app/components/phlex_kit/sheet/sheet_close.rb +10 -0
- data/app/components/phlex_kit/sheet/sheet_content.rb +8 -4
- data/app/components/phlex_kit/sidebar/sidebar.css +76 -9
- data/app/components/phlex_kit/sidebar/sidebar_controller.js +22 -7
- data/app/components/phlex_kit/sidebar/sidebar_menu_button.rb +8 -3
- data/app/components/phlex_kit/sidebar/sidebar_rail.rb +21 -0
- data/app/components/phlex_kit/sidebar/sidebar_wrapper.rb +25 -8
- data/app/components/phlex_kit/skeleton/skeleton.css +1 -1
- data/app/components/phlex_kit/slider/slider.css +33 -12
- data/app/components/phlex_kit/switch/switch.css +50 -13
- data/app/components/phlex_kit/switch/switch.rb +5 -2
- data/app/components/phlex_kit/table/table.css +8 -4
- data/app/components/phlex_kit/tabs/tabs.css +72 -8
- data/app/components/phlex_kit/tabs/tabs.rb +7 -2
- data/app/components/phlex_kit/tabs/tabs_list.rb +11 -2
- data/app/components/phlex_kit/textarea/textarea.css +33 -13
- data/app/components/phlex_kit/toast/toast.css +1 -1
- data/app/components/phlex_kit/toggle/toggle.css +25 -10
- data/app/components/phlex_kit/toggle_group/toggle_group.css +7 -6
- data/app/components/phlex_kit/tooltip/tooltip.css +37 -10
- data/app/components/phlex_kit/tooltip/tooltip_content.rb +9 -4
- data/lib/phlex_kit/version.rb +1 -1
- 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
|
+
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
|