playbook_ui 13.10.0 → 13.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_button/docs/_button_circle_swift.md +28 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_default_swift.md +23 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_full_width_swift.md +9 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_icon_options_swift.md +18 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_props_swift.md +11 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_size_swift.md +20 -0
- data/app/pb_kits/playbook/pb_button/docs/example.yml +8 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_background_swift.md +29 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_border_none_swift.md +7 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_border_radius_swift.md +33 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_header_swift.md +33 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_highlight_swift.md +17 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_light_swift.md +7 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_padding_swift.md +33 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_props_swift.md +10 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_selected_swift.md +0 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_separator_swift.md +11 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_shadow_swift.md +21 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_styles_swift.md +17 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_tag_swift.md +0 -0
- data/app/pb_kits/playbook/pb_card/docs/example.yml +12 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default_swift.md +10 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error_swift.md +12 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate_swift.md +12 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_props_swift.md +7 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_docs/kit_example.html.erb +3 -3
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_props.md +6 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_swift.md +16 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_defaul_swift.md +7 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes_swift.md +11 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +27 -20
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.html.erb +0 -1
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.html.erb +104 -45
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.jsx +100 -43
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.md +1 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.html.erb +138 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.jsx +150 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.md +1 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx +10 -2
- data/app/pb_kits/playbook/pb_rich_text_editor/_tiptap_styles.scss +8 -4
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_disabled.jsx +33 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_disabled.md +3 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_rich_text_editor/docs/index.js +2 -1
- data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor_advanced.test.js +47 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_header.html.erb +47 -31
- data/app/pb_kits/playbook/pb_table/docs/_table_header.md +5 -0
- data/app/pb_kits/playbook/pb_table/table_header.html.erb +1 -1
- data/dist/menu.yml +284 -110
- data/dist/playbook-rails.js +5 -5
- data/lib/playbook/pb_doc_helper.rb +12 -1
- data/lib/playbook/version.rb +2 -2
- metadata +36 -2
@@ -46,7 +46,18 @@ module Playbook
|
|
46
46
|
# rubocop:disable Naming/AccessorMethodName
|
47
47
|
def get_kits
|
48
48
|
menu = YAML.load_file(Playbook::Engine.root.join("dist/menu.yml"))
|
49
|
-
|
49
|
+
all_kits = []
|
50
|
+
menu["kits"].each do |kit|
|
51
|
+
kit_name = kit["name"]
|
52
|
+
components = kit["components"].map { |c| c["name"] }
|
53
|
+
|
54
|
+
all_kits << if components.size == 1
|
55
|
+
components.first
|
56
|
+
else
|
57
|
+
{ kit_name => components }
|
58
|
+
end
|
59
|
+
end
|
60
|
+
all_kits
|
50
61
|
end
|
51
62
|
|
52
63
|
def get_kits_pb_website
|
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.
|
4
|
+
version: 13.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-11-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -431,19 +431,23 @@ files:
|
|
431
431
|
- app/pb_kits/playbook/pb_button/docs/_button_block_content.html.erb
|
432
432
|
- app/pb_kits/playbook/pb_button/docs/_button_block_content.jsx
|
433
433
|
- app/pb_kits/playbook/pb_button/docs/_button_block_content.md
|
434
|
+
- app/pb_kits/playbook/pb_button/docs/_button_circle_swift.md
|
434
435
|
- app/pb_kits/playbook/pb_button/docs/_button_default.html.erb
|
435
436
|
- app/pb_kits/playbook/pb_button/docs/_button_default.jsx
|
436
437
|
- app/pb_kits/playbook/pb_button/docs/_button_default.md
|
438
|
+
- app/pb_kits/playbook/pb_button/docs/_button_default_swift.md
|
437
439
|
- app/pb_kits/playbook/pb_button/docs/_button_form.html.erb
|
438
440
|
- app/pb_kits/playbook/pb_button/docs/_button_form.jsx
|
439
441
|
- app/pb_kits/playbook/pb_button/docs/_button_full_width.html.erb
|
440
442
|
- app/pb_kits/playbook/pb_button/docs/_button_full_width.jsx
|
441
443
|
- app/pb_kits/playbook/pb_button/docs/_button_full_width.md
|
444
|
+
- app/pb_kits/playbook/pb_button/docs/_button_full_width_swift.md
|
442
445
|
- app/pb_kits/playbook/pb_button/docs/_button_hover.html.erb
|
443
446
|
- app/pb_kits/playbook/pb_button/docs/_button_hover.jsx
|
444
447
|
- app/pb_kits/playbook/pb_button/docs/_button_icon_options.html.erb
|
445
448
|
- app/pb_kits/playbook/pb_button/docs/_button_icon_options.jsx
|
446
449
|
- app/pb_kits/playbook/pb_button/docs/_button_icon_options.md
|
450
|
+
- app/pb_kits/playbook/pb_button/docs/_button_icon_options_swift.md
|
447
451
|
- app/pb_kits/playbook/pb_button/docs/_button_link.html.erb
|
448
452
|
- app/pb_kits/playbook/pb_button/docs/_button_link.jsx
|
449
453
|
- app/pb_kits/playbook/pb_button/docs/_button_link.md
|
@@ -452,12 +456,14 @@ files:
|
|
452
456
|
- app/pb_kits/playbook/pb_button/docs/_button_loading.md
|
453
457
|
- app/pb_kits/playbook/pb_button/docs/_button_options.html.erb
|
454
458
|
- app/pb_kits/playbook/pb_button/docs/_button_options.jsx
|
459
|
+
- app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
|
455
460
|
- app/pb_kits/playbook/pb_button/docs/_button_reaction.html.erb
|
456
461
|
- app/pb_kits/playbook/pb_button/docs/_button_reaction.jsx
|
457
462
|
- app/pb_kits/playbook/pb_button/docs/_button_reaction.md
|
458
463
|
- app/pb_kits/playbook/pb_button/docs/_button_size.html.erb
|
459
464
|
- app/pb_kits/playbook/pb_button/docs/_button_size.jsx
|
460
465
|
- app/pb_kits/playbook/pb_button/docs/_button_size.md
|
466
|
+
- app/pb_kits/playbook/pb_button/docs/_button_size_swift.md
|
461
467
|
- app/pb_kits/playbook/pb_button/docs/_footer.md
|
462
468
|
- app/pb_kits/playbook/pb_button/docs/example.yml
|
463
469
|
- app/pb_kits/playbook/pb_button/docs/index.js
|
@@ -504,33 +510,46 @@ files:
|
|
504
510
|
- app/pb_kits/playbook/pb_card/docs/_card_background.html.erb
|
505
511
|
- app/pb_kits/playbook/pb_card/docs/_card_background.jsx
|
506
512
|
- app/pb_kits/playbook/pb_card/docs/_card_background.md
|
513
|
+
- app/pb_kits/playbook/pb_card/docs/_card_background_swift.md
|
507
514
|
- app/pb_kits/playbook/pb_card/docs/_card_border_none.html.erb
|
508
515
|
- app/pb_kits/playbook/pb_card/docs/_card_border_none.jsx
|
509
516
|
- app/pb_kits/playbook/pb_card/docs/_card_border_none.md
|
517
|
+
- app/pb_kits/playbook/pb_card/docs/_card_border_none_swift.md
|
510
518
|
- app/pb_kits/playbook/pb_card/docs/_card_border_radius.html.erb
|
511
519
|
- app/pb_kits/playbook/pb_card/docs/_card_border_radius.jsx
|
512
520
|
- app/pb_kits/playbook/pb_card/docs/_card_border_radius.md
|
521
|
+
- app/pb_kits/playbook/pb_card/docs/_card_border_radius_swift.md
|
513
522
|
- app/pb_kits/playbook/pb_card/docs/_card_content.html.erb
|
514
523
|
- app/pb_kits/playbook/pb_card/docs/_card_content.jsx
|
515
524
|
- app/pb_kits/playbook/pb_card/docs/_card_header.html.erb
|
516
525
|
- app/pb_kits/playbook/pb_card/docs/_card_header.jsx
|
517
526
|
- app/pb_kits/playbook/pb_card/docs/_card_header.md
|
527
|
+
- app/pb_kits/playbook/pb_card/docs/_card_header_swift.md
|
518
528
|
- app/pb_kits/playbook/pb_card/docs/_card_highlight.html.erb
|
519
529
|
- app/pb_kits/playbook/pb_card/docs/_card_highlight.jsx
|
520
530
|
- app/pb_kits/playbook/pb_card/docs/_card_highlight.md
|
531
|
+
- app/pb_kits/playbook/pb_card/docs/_card_highlight_swift.md
|
521
532
|
- app/pb_kits/playbook/pb_card/docs/_card_light.html.erb
|
522
533
|
- app/pb_kits/playbook/pb_card/docs/_card_light.jsx
|
523
534
|
- app/pb_kits/playbook/pb_card/docs/_card_light.md
|
535
|
+
- app/pb_kits/playbook/pb_card/docs/_card_light_swift.md
|
524
536
|
- app/pb_kits/playbook/pb_card/docs/_card_padding.html.erb
|
525
537
|
- app/pb_kits/playbook/pb_card/docs/_card_padding.jsx
|
538
|
+
- app/pb_kits/playbook/pb_card/docs/_card_padding_swift.md
|
539
|
+
- app/pb_kits/playbook/pb_card/docs/_card_props_swift.md
|
526
540
|
- app/pb_kits/playbook/pb_card/docs/_card_selected.html.erb
|
527
541
|
- app/pb_kits/playbook/pb_card/docs/_card_selected.jsx
|
542
|
+
- app/pb_kits/playbook/pb_card/docs/_card_selected_swift.md
|
528
543
|
- app/pb_kits/playbook/pb_card/docs/_card_separator.html.erb
|
529
544
|
- app/pb_kits/playbook/pb_card/docs/_card_separator.jsx
|
545
|
+
- app/pb_kits/playbook/pb_card/docs/_card_separator_swift.md
|
530
546
|
- app/pb_kits/playbook/pb_card/docs/_card_shadow.html.erb
|
531
547
|
- app/pb_kits/playbook/pb_card/docs/_card_shadow.jsx
|
548
|
+
- app/pb_kits/playbook/pb_card/docs/_card_shadow_swift.md
|
549
|
+
- app/pb_kits/playbook/pb_card/docs/_card_styles_swift.md
|
532
550
|
- app/pb_kits/playbook/pb_card/docs/_card_tag.html.erb
|
533
551
|
- app/pb_kits/playbook/pb_card/docs/_card_tag.jsx
|
552
|
+
- app/pb_kits/playbook/pb_card/docs/_card_tag_swift.md
|
534
553
|
- app/pb_kits/playbook/pb_card/docs/example.yml
|
535
554
|
- app/pb_kits/playbook/pb_card/docs/index.js
|
536
555
|
- app/pb_kits/playbook/pb_checkbox/_checkbox.scss
|
@@ -544,11 +563,15 @@ files:
|
|
544
563
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.jsx
|
545
564
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.html.erb
|
546
565
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.jsx
|
566
|
+
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default_swift.md
|
547
567
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.html.erb
|
548
568
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.jsx
|
569
|
+
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error_swift.md
|
549
570
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.html.erb
|
550
571
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.jsx
|
572
|
+
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate_swift.md
|
551
573
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_options.html.erb
|
574
|
+
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_props_swift.md
|
552
575
|
- app/pb_kits/playbook/pb_checkbox/docs/_description.md
|
553
576
|
- app/pb_kits/playbook/pb_checkbox/docs/example.yml
|
554
577
|
- app/pb_kits/playbook/pb_checkbox/docs/index.js
|
@@ -1223,6 +1246,9 @@ files:
|
|
1223
1246
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.html.erb
|
1224
1247
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.jsx
|
1225
1248
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.md
|
1249
|
+
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_props.md
|
1250
|
+
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_swift.md
|
1251
|
+
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_defaul_swift.md
|
1226
1252
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_default.html.erb
|
1227
1253
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_default.jsx
|
1228
1254
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_emoji.html.erb
|
@@ -1230,6 +1256,7 @@ files:
|
|
1230
1256
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_emoji.md
|
1231
1257
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes.html.erb
|
1232
1258
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes.jsx
|
1259
|
+
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes_swift.md
|
1233
1260
|
- app/pb_kits/playbook/pb_icon_circle/docs/example.yml
|
1234
1261
|
- app/pb_kits/playbook/pb_icon_circle/docs/index.js
|
1235
1262
|
- app/pb_kits/playbook/pb_icon_circle/icon_circle.html.erb
|
@@ -1502,6 +1529,10 @@ files:
|
|
1502
1529
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.md
|
1503
1530
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.html.erb
|
1504
1531
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.jsx
|
1532
|
+
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.md
|
1533
|
+
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.html.erb
|
1534
|
+
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.jsx
|
1535
|
+
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.md
|
1505
1536
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_form.html.erb
|
1506
1537
|
- app/pb_kits/playbook/pb_multi_level_select/docs/example.yml
|
1507
1538
|
- app/pb_kits/playbook/pb_multi_level_select/docs/index.js
|
@@ -1852,6 +1883,8 @@ files:
|
|
1852
1883
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_templates.jsx
|
1853
1884
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_bottom.html.erb
|
1854
1885
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_bottom.jsx
|
1886
|
+
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_disabled.jsx
|
1887
|
+
- app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_toolbar_disabled.md
|
1855
1888
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml
|
1856
1889
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/index.js
|
1857
1890
|
- app/pb_kits/playbook/pb_rich_text_editor/docs/templates.js
|
@@ -1859,6 +1892,7 @@ files:
|
|
1859
1892
|
- app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.html.erb
|
1860
1893
|
- app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.rb
|
1861
1894
|
- app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.test.js
|
1895
|
+
- app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor_advanced.test.js
|
1862
1896
|
- app/pb_kits/playbook/pb_rich_text_editor/useFocus.ts
|
1863
1897
|
- app/pb_kits/playbook/pb_section_separator/_section_separator.scss
|
1864
1898
|
- app/pb_kits/playbook/pb_section_separator/_section_separator.tsx
|