playbook_ui_docs 13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21365 → 13.10.0.pre.alpha.PLAY1051removinghighchartsdependency1465

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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_button/docs/_button_circle_swift.md +28 -0
  3. data/app/pb_kits/playbook/pb_button/docs/_button_default_swift.md +23 -0
  4. data/app/pb_kits/playbook/pb_button/docs/_button_full_width_swift.md +9 -0
  5. data/app/pb_kits/playbook/pb_button/docs/_button_icon_options_swift.md +18 -0
  6. data/app/pb_kits/playbook/pb_button/docs/_button_props_swift.md +11 -0
  7. data/app/pb_kits/playbook/pb_button/docs/_button_size_swift.md +20 -0
  8. data/app/pb_kits/playbook/pb_button/docs/example.yml +8 -0
  9. data/app/pb_kits/playbook/pb_card/docs/_card_background_swift.md +29 -0
  10. data/app/pb_kits/playbook/pb_card/docs/_card_border_none_swift.md +7 -0
  11. data/app/pb_kits/playbook/pb_card/docs/_card_border_radius_swift.md +33 -0
  12. data/app/pb_kits/playbook/pb_card/docs/_card_header_swift.md +33 -0
  13. data/app/pb_kits/playbook/pb_card/docs/_card_highlight_swift.md +17 -0
  14. data/app/pb_kits/playbook/pb_card/docs/_card_light_swift.md +7 -0
  15. data/app/pb_kits/playbook/pb_card/docs/_card_padding_swift.md +33 -0
  16. data/app/pb_kits/playbook/pb_card/docs/_card_props_swift.md +10 -0
  17. data/app/pb_kits/playbook/pb_card/docs/_card_selected_swift.md +0 -0
  18. data/app/pb_kits/playbook/pb_card/docs/_card_separator_swift.md +11 -0
  19. data/app/pb_kits/playbook/pb_card/docs/_card_shadow_swift.md +21 -0
  20. data/app/pb_kits/playbook/pb_card/docs/_card_styles_swift.md +17 -0
  21. data/app/pb_kits/playbook/pb_card/docs/_card_tag_swift.md +0 -0
  22. data/app/pb_kits/playbook/pb_card/docs/example.yml +12 -0
  23. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default_swift.md +10 -0
  24. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error_swift.md +12 -0
  25. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate_swift.md +12 -0
  26. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_props_swift.md +7 -0
  27. data/app/pb_kits/playbook/pb_checkbox/docs/example.yml +7 -0
  28. data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_props.md +6 -0
  29. data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_swift.md +16 -0
  30. data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_defaul_swift.md +7 -0
  31. data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes_swift.md +11 -0
  32. data/app/pb_kits/playbook/pb_icon_circle/docs/example.yml +7 -0
  33. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.html.erb +1 -0
  34. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.html.erb +45 -104
  35. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.jsx +43 -100
  36. data/app/pb_kits/playbook/pb_multi_level_select/docs/example.yml +0 -2
  37. data/app/pb_kits/playbook/pb_multi_level_select/docs/index.js +0 -1
  38. data/app/pb_kits/playbook/pb_table/docs/_table_header.html.erb +47 -31
  39. data/app/pb_kits/playbook/pb_table/docs/_table_header.md +5 -0
  40. data/dist/playbook-doc.js +8 -8
  41. metadata +29 -4
  42. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.html.erb +0 -139
  43. data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.jsx +0 -151
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui_docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21365
4
+ version: 13.10.0.pre.alpha.PLAY1051removinghighchartsdependency1465
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-11-01 00:00:00.000000000 Z
12
+ date: 2023-11-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -150,19 +150,23 @@ files:
150
150
  - app/pb_kits/playbook/pb_button/docs/_button_block_content.html.erb
151
151
  - app/pb_kits/playbook/pb_button/docs/_button_block_content.jsx
152
152
  - app/pb_kits/playbook/pb_button/docs/_button_block_content.md
153
+ - app/pb_kits/playbook/pb_button/docs/_button_circle_swift.md
153
154
  - app/pb_kits/playbook/pb_button/docs/_button_default.html.erb
154
155
  - app/pb_kits/playbook/pb_button/docs/_button_default.jsx
155
156
  - app/pb_kits/playbook/pb_button/docs/_button_default.md
157
+ - app/pb_kits/playbook/pb_button/docs/_button_default_swift.md
156
158
  - app/pb_kits/playbook/pb_button/docs/_button_form.html.erb
157
159
  - app/pb_kits/playbook/pb_button/docs/_button_form.jsx
158
160
  - app/pb_kits/playbook/pb_button/docs/_button_full_width.html.erb
159
161
  - app/pb_kits/playbook/pb_button/docs/_button_full_width.jsx
160
162
  - app/pb_kits/playbook/pb_button/docs/_button_full_width.md
163
+ - app/pb_kits/playbook/pb_button/docs/_button_full_width_swift.md
161
164
  - app/pb_kits/playbook/pb_button/docs/_button_hover.html.erb
162
165
  - app/pb_kits/playbook/pb_button/docs/_button_hover.jsx
163
166
  - app/pb_kits/playbook/pb_button/docs/_button_icon_options.html.erb
164
167
  - app/pb_kits/playbook/pb_button/docs/_button_icon_options.jsx
165
168
  - app/pb_kits/playbook/pb_button/docs/_button_icon_options.md
169
+ - app/pb_kits/playbook/pb_button/docs/_button_icon_options_swift.md
166
170
  - app/pb_kits/playbook/pb_button/docs/_button_link.html.erb
167
171
  - app/pb_kits/playbook/pb_button/docs/_button_link.jsx
168
172
  - app/pb_kits/playbook/pb_button/docs/_button_link.md
@@ -171,12 +175,14 @@ files:
171
175
  - app/pb_kits/playbook/pb_button/docs/_button_loading.md
172
176
  - app/pb_kits/playbook/pb_button/docs/_button_options.html.erb
173
177
  - app/pb_kits/playbook/pb_button/docs/_button_options.jsx
178
+ - app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
174
179
  - app/pb_kits/playbook/pb_button/docs/_button_reaction.html.erb
175
180
  - app/pb_kits/playbook/pb_button/docs/_button_reaction.jsx
176
181
  - app/pb_kits/playbook/pb_button/docs/_button_reaction.md
177
182
  - app/pb_kits/playbook/pb_button/docs/_button_size.html.erb
178
183
  - app/pb_kits/playbook/pb_button/docs/_button_size.jsx
179
184
  - app/pb_kits/playbook/pb_button/docs/_button_size.md
185
+ - app/pb_kits/playbook/pb_button/docs/_button_size_swift.md
180
186
  - app/pb_kits/playbook/pb_button/docs/_footer.md
181
187
  - app/pb_kits/playbook/pb_button/docs/example.yml
182
188
  - app/pb_kits/playbook/pb_button/docs/index.js
@@ -201,33 +207,46 @@ files:
201
207
  - app/pb_kits/playbook/pb_card/docs/_card_background.html.erb
202
208
  - app/pb_kits/playbook/pb_card/docs/_card_background.jsx
203
209
  - app/pb_kits/playbook/pb_card/docs/_card_background.md
210
+ - app/pb_kits/playbook/pb_card/docs/_card_background_swift.md
204
211
  - app/pb_kits/playbook/pb_card/docs/_card_border_none.html.erb
205
212
  - app/pb_kits/playbook/pb_card/docs/_card_border_none.jsx
206
213
  - app/pb_kits/playbook/pb_card/docs/_card_border_none.md
214
+ - app/pb_kits/playbook/pb_card/docs/_card_border_none_swift.md
207
215
  - app/pb_kits/playbook/pb_card/docs/_card_border_radius.html.erb
208
216
  - app/pb_kits/playbook/pb_card/docs/_card_border_radius.jsx
209
217
  - app/pb_kits/playbook/pb_card/docs/_card_border_radius.md
218
+ - app/pb_kits/playbook/pb_card/docs/_card_border_radius_swift.md
210
219
  - app/pb_kits/playbook/pb_card/docs/_card_content.html.erb
211
220
  - app/pb_kits/playbook/pb_card/docs/_card_content.jsx
212
221
  - app/pb_kits/playbook/pb_card/docs/_card_header.html.erb
213
222
  - app/pb_kits/playbook/pb_card/docs/_card_header.jsx
214
223
  - app/pb_kits/playbook/pb_card/docs/_card_header.md
224
+ - app/pb_kits/playbook/pb_card/docs/_card_header_swift.md
215
225
  - app/pb_kits/playbook/pb_card/docs/_card_highlight.html.erb
216
226
  - app/pb_kits/playbook/pb_card/docs/_card_highlight.jsx
217
227
  - app/pb_kits/playbook/pb_card/docs/_card_highlight.md
228
+ - app/pb_kits/playbook/pb_card/docs/_card_highlight_swift.md
218
229
  - app/pb_kits/playbook/pb_card/docs/_card_light.html.erb
219
230
  - app/pb_kits/playbook/pb_card/docs/_card_light.jsx
220
231
  - app/pb_kits/playbook/pb_card/docs/_card_light.md
232
+ - app/pb_kits/playbook/pb_card/docs/_card_light_swift.md
221
233
  - app/pb_kits/playbook/pb_card/docs/_card_padding.html.erb
222
234
  - app/pb_kits/playbook/pb_card/docs/_card_padding.jsx
235
+ - app/pb_kits/playbook/pb_card/docs/_card_padding_swift.md
236
+ - app/pb_kits/playbook/pb_card/docs/_card_props_swift.md
223
237
  - app/pb_kits/playbook/pb_card/docs/_card_selected.html.erb
224
238
  - app/pb_kits/playbook/pb_card/docs/_card_selected.jsx
239
+ - app/pb_kits/playbook/pb_card/docs/_card_selected_swift.md
225
240
  - app/pb_kits/playbook/pb_card/docs/_card_separator.html.erb
226
241
  - app/pb_kits/playbook/pb_card/docs/_card_separator.jsx
242
+ - app/pb_kits/playbook/pb_card/docs/_card_separator_swift.md
227
243
  - app/pb_kits/playbook/pb_card/docs/_card_shadow.html.erb
228
244
  - app/pb_kits/playbook/pb_card/docs/_card_shadow.jsx
245
+ - app/pb_kits/playbook/pb_card/docs/_card_shadow_swift.md
246
+ - app/pb_kits/playbook/pb_card/docs/_card_styles_swift.md
229
247
  - app/pb_kits/playbook/pb_card/docs/_card_tag.html.erb
230
248
  - app/pb_kits/playbook/pb_card/docs/_card_tag.jsx
249
+ - app/pb_kits/playbook/pb_card/docs/_card_tag_swift.md
231
250
  - app/pb_kits/playbook/pb_card/docs/example.yml
232
251
  - app/pb_kits/playbook/pb_card/docs/index.js
233
252
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_checked.html.erb
@@ -236,11 +255,15 @@ files:
236
255
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.jsx
237
256
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.html.erb
238
257
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.jsx
258
+ - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default_swift.md
239
259
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.html.erb
240
260
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.jsx
261
+ - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error_swift.md
241
262
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.html.erb
242
263
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.jsx
264
+ - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate_swift.md
243
265
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_options.html.erb
266
+ - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_props_swift.md
244
267
  - app/pb_kits/playbook/pb_checkbox/docs/_description.md
245
268
  - app/pb_kits/playbook/pb_checkbox/docs/example.yml
246
269
  - app/pb_kits/playbook/pb_checkbox/docs/index.js
@@ -713,6 +736,9 @@ files:
713
736
  - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.html.erb
714
737
  - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.jsx
715
738
  - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.md
739
+ - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_props.md
740
+ - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_swift.md
741
+ - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_defaul_swift.md
716
742
  - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_default.html.erb
717
743
  - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_default.jsx
718
744
  - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_emoji.html.erb
@@ -720,6 +746,7 @@ files:
720
746
  - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_emoji.md
721
747
  - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes.html.erb
722
748
  - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes.jsx
749
+ - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes_swift.md
723
750
  - app/pb_kits/playbook/pb_icon_circle/docs/example.yml
724
751
  - app/pb_kits/playbook/pb_icon_circle/docs/index.js
725
752
  - app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_color.html.erb
@@ -892,8 +919,6 @@ files:
892
919
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.md
893
920
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.html.erb
894
921
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.jsx
895
- - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.html.erb
896
- - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.jsx
897
922
  - app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_form.html.erb
898
923
  - app/pb_kits/playbook/pb_multi_level_select/docs/example.yml
899
924
  - app/pb_kits/playbook/pb_multi_level_select/docs/index.js
@@ -1,139 +0,0 @@
1
- <% treeData = [
2
- {
3
- label: "HQ",
4
- value: "HQ",
5
- id: "hq1",
6
- },
7
- {
8
- label: "Philadelphia",
9
- value: "Philadelphia",
10
- id: "phl1",
11
- hideRadio: true,
12
- children: [
13
- {
14
- label: "Marketing & Sales PHL",
15
- value: "Marketing & Sales PHL",
16
- id: "marketingPHL1",
17
- },
18
- {
19
- label: "Installation Office PHL",
20
- value: "Installation Office PHL",
21
- id: "installationPHL1",
22
- },
23
- {
24
- label: "Warehouse PHL",
25
- value: "Warehouse PHL",
26
- id: "warehousePHL1",
27
- },
28
- ]
29
- },
30
- {
31
- label: "New Jersey",
32
- value: "New Jersey",
33
- id: "nj2",
34
- hideRadio: true,
35
- children: [
36
- {
37
- label: "New Jersey",
38
- value: "New Jersey",
39
- id: "nj3",
40
- hideRadio: true,
41
- children: [
42
- {
43
- label: "Marketing & Sales NJ",
44
- value: "Marketing & Sales NJ",
45
- id: "marketingNJ1",
46
- },
47
- {
48
- label: "Installation Office NJ",
49
- value: "Installation Office NJ",
50
- id: "installationNJ1",
51
- },
52
- {
53
- label: "Warehouse NJ",
54
- value: "Warehouse NJ",
55
- id: "warehouseNJ1",
56
- },
57
- ],
58
- },
59
- {
60
- label: "Princeton",
61
- value: "Princeton",
62
- id: "princeton1",
63
- hideRadio: true,
64
- children: [
65
- {
66
- label: "Marketing & Sales Princeton",
67
- value: "Marketing & Sales Princeton",
68
- id: "marketingPR1",
69
- },
70
- {
71
- label: "Installation Office Princeton",
72
- value: "Installation Office Princeton",
73
- id: "installationPR1",
74
- },
75
- {
76
- label: "Warehouse Princeton",
77
- value: "Warehouse Princeton",
78
- id: "warehousePR1",
79
- },
80
- ]
81
- },
82
- ]
83
- },
84
- {
85
- label: "Maryland",
86
- value: "Maryland",
87
- id: "MD1",
88
- hideRadio: true,
89
- children: [
90
- {
91
- label: "Marketing & Sales MD",
92
- value: "Marketing & Sales MD",
93
- id: "marketingMD1",
94
- },
95
- {
96
- label: "Installation Office MD",
97
- value: "Installation Office MD",
98
- id: "installationMD1",
99
- },
100
- {
101
- label: "Warehouse MD",
102
- value: "Warehouse MD",
103
- id: "warehouseMD1",
104
- },
105
- ]
106
- },
107
- {
108
- label: "Connecticut",
109
- value: "Connecticut",
110
- id: "CT1",
111
- hideRadio: true,
112
- children: [
113
- {
114
- label: "Marketing & Sales CT",
115
- value: "Marketing & Sales CT",
116
- id: "marketingCT1",
117
- },
118
- {
119
- label: "Installation Office CT",
120
- value: "Installation Office CT",
121
- id: "installationCT1",
122
- },
123
- {
124
- label: "Warehouse CT",
125
- value: "Warehouse CT",
126
- id: "warehouseCT1",
127
- },
128
- ]
129
- },
130
- ]; %>
131
-
132
- <%= pb_rails("multi_level_select", props: {
133
- id: "multi-level-select-single-children-only-rails",
134
- name: "my_single_children_only_select_array",
135
- tree_data: treeData,
136
- input_name: "PowerChildren",
137
- ultimate_children_only: true,
138
- variant: "single"
139
- }) %>
@@ -1,151 +0,0 @@
1
- import React from "react";
2
- import MultiLevelSelect from "../_multi_level_select";
3
-
4
- const treeData = [
5
- {
6
- label: "HQ",
7
- value: "HQ",
8
- id: "hq1",
9
- },
10
- {
11
- label: "Philadelphia",
12
- value: "Philadelphia",
13
- id: "phl1",
14
- hideRadio: true,
15
- children: [
16
- {
17
- label: "Marketing & Sales PHL",
18
- value: "Marketing & Sales PHL",
19
- id: "marketingPHL1",
20
- },
21
- {
22
- label: "Installation Office PHL",
23
- value: "Installation Office PHL",
24
- id: "installationPHL1",
25
- },
26
- {
27
- label: "Warehouse PHL",
28
- value: "Warehouse PHL",
29
- id: "warehousePHL1",
30
- },
31
- ]
32
- },
33
- {
34
- label: "New Jersey",
35
- value: "New Jersey",
36
- id: "nj2",
37
- hideRadio: true,
38
- children: [
39
- {
40
- label: "New Jersey",
41
- value: "New Jersey",
42
- id: "nj3",
43
- hideRadio: true,
44
- children: [
45
- {
46
- label: "Marketing & Sales NJ",
47
- value: "Marketing & Sales NJ",
48
- id: "marketingNJ1",
49
- },
50
- {
51
- label: "Installation Office NJ",
52
- value: "Installation Office NJ",
53
- id: "installationNJ1",
54
- },
55
- {
56
- label: "Warehouse NJ",
57
- value: "Warehouse NJ",
58
- id: "warehouseNJ1",
59
- },
60
- ],
61
- },
62
- {
63
- label: "Princeton",
64
- value: "Princeton",
65
- id: "princeton1",
66
- hideRadio: true,
67
- children: [
68
- {
69
- label: "Marketing & Sales Princeton",
70
- value: "Marketing & Sales Princeton",
71
- id: "marketingPR1",
72
- },
73
- {
74
- label: "Installation Office Princeton",
75
- value: "Installation Office Princeton",
76
- id: "installationPR1",
77
- },
78
- {
79
- label: "Warehouse Princeton",
80
- value: "Warehouse Princeton",
81
- id: "warehousePR1",
82
- },
83
- ]
84
- },
85
- ]
86
- },
87
- {
88
- label: "Maryland",
89
- value: "Maryland",
90
- id: "MD1",
91
- hideRadio: true,
92
- children: [
93
- {
94
- label: "Marketing & Sales MD",
95
- value: "Marketing & Sales MD",
96
- id: "marketingMD1",
97
- },
98
- {
99
- label: "Installation Office MD",
100
- value: "Installation Office MD",
101
- id: "installationMD1",
102
- },
103
- {
104
- label: "Warehouse MD",
105
- value: "Warehouse MD",
106
- id: "warehouseMD1",
107
- },
108
- ]
109
- },
110
- {
111
- label: "Connecticut",
112
- value: "Connecticut",
113
- id: "CT1",
114
- hideRadio: true,
115
- children: [
116
- {
117
- label: "Marketing & Sales CT",
118
- value: "Marketing & Sales CT",
119
- id: "marketingCT1",
120
- },
121
- {
122
- label: "Installation Office CT",
123
- value: "Installation Office CT",
124
- id: "installationCT1",
125
- },
126
- {
127
- label: "Warehouse CT",
128
- value: "Warehouse CT",
129
- id: "warehouseCT1",
130
- },
131
- ]
132
- },
133
- ];
134
-
135
- const MultiLevelSelectSingleChildrenOnly = (props) => {
136
- return (
137
- <div>
138
- <MultiLevelSelect
139
- id="multiselect-single-children-only"
140
- inputName="PowerChildren"
141
- onSelect={(selectedNode) => console.log("Selected Node", selectedNode)}
142
- treeData={treeData}
143
- // ultimateChildrenOnly
144
- variant="single"
145
- {...props}
146
- />
147
- </div>
148
- )
149
- };
150
-
151
- export default MultiLevelSelectSingleChildrenOnly;