playbook_ui 13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21358 → 13.10.0.pre.alpha.dependabotnpmandyarntiptapextensionlink21121407
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_multi_level_select/_multi_level_select.tsx +1 -7
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.html.erb +1 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.html.erb +45 -104
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.jsx +43 -100
- data/app/pb_kits/playbook/pb_multi_level_select/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_multi_level_select/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb +0 -3
- 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/playbook-rails.js +5 -5
- data/lib/playbook/version.rb +1 -1
- metadata +21 -4
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.html.erb +0 -133
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.jsx +0 -145
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.10.0.pre.alpha.
|
4
|
+
version: 13.10.0.pre.alpha.dependabotnpmandyarntiptapextensionlink21121407
|
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-06 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
|
@@ -1502,8 +1521,6 @@ files:
|
|
1502
1521
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.md
|
1503
1522
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.html.erb
|
1504
1523
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.jsx
|
1505
|
-
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.html.erb
|
1506
|
-
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.jsx
|
1507
1524
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_form.html.erb
|
1508
1525
|
- app/pb_kits/playbook/pb_multi_level_select/docs/example.yml
|
1509
1526
|
- app/pb_kits/playbook/pb_multi_level_select/docs/index.js
|
@@ -1,133 +0,0 @@
|
|
1
|
-
<% treeData = [
|
2
|
-
{
|
3
|
-
label: "Philadelphia",
|
4
|
-
value: "Philadelphia",
|
5
|
-
id: "phl",
|
6
|
-
children: [
|
7
|
-
{
|
8
|
-
label: "HQ",
|
9
|
-
value: "HQ",
|
10
|
-
id: "hq",
|
11
|
-
},
|
12
|
-
{
|
13
|
-
label: "Marketing & Sales PHL",
|
14
|
-
value: "Marketing & Sales PHL",
|
15
|
-
id: "marketing1",
|
16
|
-
},
|
17
|
-
{
|
18
|
-
label: "Installation Office PHL",
|
19
|
-
value: "Installation Office PHL",
|
20
|
-
id: "installation1",
|
21
|
-
},
|
22
|
-
{
|
23
|
-
label: "Warehouse PHL",
|
24
|
-
value: "Warehouse PHL",
|
25
|
-
id: "warehouse1",
|
26
|
-
},
|
27
|
-
]
|
28
|
-
},
|
29
|
-
{
|
30
|
-
label: "New Jersey",
|
31
|
-
value: "New Jersey",
|
32
|
-
id: "nj",
|
33
|
-
children: [
|
34
|
-
{
|
35
|
-
label: "New Jersey",
|
36
|
-
value: "New Jersey",
|
37
|
-
id: "nj1",
|
38
|
-
children: [
|
39
|
-
{
|
40
|
-
label: "Marketing & Sales NJ",
|
41
|
-
value: "Marketing & Sales NJ",
|
42
|
-
id: "marketing2",
|
43
|
-
},
|
44
|
-
{
|
45
|
-
label: "Installation Office NJ",
|
46
|
-
value: "Installation Office NJ",
|
47
|
-
id: "installation2",
|
48
|
-
},
|
49
|
-
{
|
50
|
-
label: "Warehouse NJ",
|
51
|
-
value: "Warehouse NJ",
|
52
|
-
id: "warehouse2",
|
53
|
-
},
|
54
|
-
],
|
55
|
-
},
|
56
|
-
{
|
57
|
-
label: "Princeton",
|
58
|
-
value: "Princeton",
|
59
|
-
id: "princeton",
|
60
|
-
children: [
|
61
|
-
{
|
62
|
-
label: "Marketing & Sales Princeton",
|
63
|
-
value: "Marketing & Sales Princeton",
|
64
|
-
id: "marketing3",
|
65
|
-
},
|
66
|
-
{
|
67
|
-
label: "Installation Office Princeton",
|
68
|
-
value: "Installation Office Princeton",
|
69
|
-
id: "installation3",
|
70
|
-
},
|
71
|
-
{
|
72
|
-
label: "Warehouse Princeton",
|
73
|
-
value: "Warehouse Princeton",
|
74
|
-
id: "warehouse3",
|
75
|
-
},
|
76
|
-
]
|
77
|
-
},
|
78
|
-
]
|
79
|
-
},
|
80
|
-
{
|
81
|
-
label: "Maryland",
|
82
|
-
value: "Maryland",
|
83
|
-
id: "MD",
|
84
|
-
children: [
|
85
|
-
{
|
86
|
-
label: "Marketing & Sales MD",
|
87
|
-
value: "Marketing & Sales MD",
|
88
|
-
id: "marketing4",
|
89
|
-
},
|
90
|
-
{
|
91
|
-
label: "Installation Office MD",
|
92
|
-
value: "Installation Office MD",
|
93
|
-
id: "installation4",
|
94
|
-
},
|
95
|
-
{
|
96
|
-
label: "Warehouse MD",
|
97
|
-
value: "Warehouse MD",
|
98
|
-
id: "warehouse4",
|
99
|
-
},
|
100
|
-
]
|
101
|
-
},
|
102
|
-
{
|
103
|
-
label: "Connecticut",
|
104
|
-
value: "Connecticut",
|
105
|
-
id: "CT",
|
106
|
-
children: [
|
107
|
-
{
|
108
|
-
label: "Marketing & Sales CT",
|
109
|
-
value: "Marketing & Sales CT",
|
110
|
-
id: "marketing5",
|
111
|
-
},
|
112
|
-
{
|
113
|
-
label: "Installation Office CT",
|
114
|
-
value: "Installation Office CT",
|
115
|
-
id: "installation5",
|
116
|
-
},
|
117
|
-
{
|
118
|
-
label: "Warehouse CT",
|
119
|
-
value: "Warehouse CT",
|
120
|
-
id: "warehouse5",
|
121
|
-
},
|
122
|
-
]
|
123
|
-
},
|
124
|
-
]; %>
|
125
|
-
|
126
|
-
<%= pb_rails("multi_level_select", props: {
|
127
|
-
id: "multi-level-select-single-children-only-rails",
|
128
|
-
name: "my_single_children_only_select_array",
|
129
|
-
tree_data: treeData,
|
130
|
-
input_name: "PowerChildren",
|
131
|
-
ultimate_children_only: true,
|
132
|
-
variant: "single"
|
133
|
-
}) %>
|
data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.jsx
DELETED
@@ -1,145 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import MultiLevelSelect from "../_multi_level_select";
|
3
|
-
|
4
|
-
const treeData = [
|
5
|
-
{
|
6
|
-
label: "Philadelphia",
|
7
|
-
value: "Philadelphia",
|
8
|
-
id: "phl",
|
9
|
-
children: [
|
10
|
-
{
|
11
|
-
label: "HQ",
|
12
|
-
value: "HQ",
|
13
|
-
id: "hq",
|
14
|
-
},
|
15
|
-
{
|
16
|
-
label: "Marketing & Sales PHL",
|
17
|
-
value: "Marketing & Sales PHL",
|
18
|
-
id: "marketing1",
|
19
|
-
},
|
20
|
-
{
|
21
|
-
label: "Installation Office PHL",
|
22
|
-
value: "Installation Office PHL",
|
23
|
-
id: "installation1",
|
24
|
-
},
|
25
|
-
{
|
26
|
-
label: "Warehouse PHL",
|
27
|
-
value: "Warehouse PHL",
|
28
|
-
id: "warehouse1",
|
29
|
-
},
|
30
|
-
]
|
31
|
-
},
|
32
|
-
{
|
33
|
-
label: "New Jersey",
|
34
|
-
value: "New Jersey",
|
35
|
-
id: "nj",
|
36
|
-
children: [
|
37
|
-
{
|
38
|
-
label: "New Jersey",
|
39
|
-
value: "New Jersey",
|
40
|
-
id: "nj1",
|
41
|
-
children: [
|
42
|
-
{
|
43
|
-
label: "Marketing & Sales NJ",
|
44
|
-
value: "Marketing & Sales NJ",
|
45
|
-
id: "marketing2",
|
46
|
-
},
|
47
|
-
{
|
48
|
-
label: "Installation Office NJ",
|
49
|
-
value: "Installation Office NJ",
|
50
|
-
id: "installation2",
|
51
|
-
},
|
52
|
-
{
|
53
|
-
label: "Warehouse NJ",
|
54
|
-
value: "Warehouse NJ",
|
55
|
-
id: "warehouse2",
|
56
|
-
},
|
57
|
-
],
|
58
|
-
},
|
59
|
-
{
|
60
|
-
label: "Princeton",
|
61
|
-
value: "Princeton",
|
62
|
-
id: "princeton",
|
63
|
-
children: [
|
64
|
-
{
|
65
|
-
label: "Marketing & Sales Princeton",
|
66
|
-
value: "Marketing & Sales Princeton",
|
67
|
-
id: "marketing3",
|
68
|
-
},
|
69
|
-
{
|
70
|
-
label: "Installation Office Princeton",
|
71
|
-
value: "Installation Office Princeton",
|
72
|
-
id: "installation3",
|
73
|
-
},
|
74
|
-
{
|
75
|
-
label: "Warehouse Princeton",
|
76
|
-
value: "Warehouse Princeton",
|
77
|
-
id: "warehouse3",
|
78
|
-
},
|
79
|
-
]
|
80
|
-
},
|
81
|
-
]
|
82
|
-
},
|
83
|
-
{
|
84
|
-
label: "Maryland",
|
85
|
-
value: "Maryland",
|
86
|
-
id: "MD",
|
87
|
-
children: [
|
88
|
-
{
|
89
|
-
label: "Marketing & Sales MD",
|
90
|
-
value: "Marketing & Sales MD",
|
91
|
-
id: "marketing4",
|
92
|
-
},
|
93
|
-
{
|
94
|
-
label: "Installation Office MD",
|
95
|
-
value: "Installation Office MD",
|
96
|
-
id: "installation4",
|
97
|
-
},
|
98
|
-
{
|
99
|
-
label: "Warehouse MD",
|
100
|
-
value: "Warehouse MD",
|
101
|
-
id: "warehouse4",
|
102
|
-
},
|
103
|
-
]
|
104
|
-
},
|
105
|
-
{
|
106
|
-
label: "Connecticut",
|
107
|
-
value: "Connecticut",
|
108
|
-
id: "CT",
|
109
|
-
children: [
|
110
|
-
{
|
111
|
-
label: "Marketing & Sales CT",
|
112
|
-
value: "Marketing & Sales CT",
|
113
|
-
id: "marketing5",
|
114
|
-
},
|
115
|
-
{
|
116
|
-
label: "Installation Office CT",
|
117
|
-
value: "Installation Office CT",
|
118
|
-
id: "installation5",
|
119
|
-
},
|
120
|
-
{
|
121
|
-
label: "Warehouse CT",
|
122
|
-
value: "Warehouse CT",
|
123
|
-
id: "warehouse5",
|
124
|
-
},
|
125
|
-
]
|
126
|
-
},
|
127
|
-
];
|
128
|
-
|
129
|
-
const MultiLevelSelectSingleChildrenOnly = (props) => {
|
130
|
-
return (
|
131
|
-
<div>
|
132
|
-
<MultiLevelSelect
|
133
|
-
id="multiselect-single-children-only"
|
134
|
-
inputName="PowerChildren"
|
135
|
-
onSelect={(selectedNode) => console.log("Selected Node", selectedNode)}
|
136
|
-
treeData={treeData}
|
137
|
-
ultimateChildrenOnly
|
138
|
-
variant="single"
|
139
|
-
{...props}
|
140
|
-
/>
|
141
|
-
</div>
|
142
|
-
)
|
143
|
-
};
|
144
|
-
|
145
|
-
export default MultiLevelSelectSingleChildrenOnly;
|