playbook_ui_docs 16.11.0.pre.rc.3 → 16.12.0.pre.rc.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8aebf4773d6603d4719e50a93f2368c8056eb648db1b0ddab946d8c9a669d4b
4
- data.tar.gz: 298f1dbe52e26420c4edf0a38d89e80ebb6e7202500d822ee6336331984b83e6
3
+ metadata.gz: c6437f02cade9ccd5ba1d9a8e2ff586d0164c437ac09c5c320ca076f1e527c2f
4
+ data.tar.gz: 265a7eec146519b5f03f5735fb3e66b2ae280fb253122852720bb98ecbf32312
5
5
  SHA512:
6
- metadata.gz: 0736f1700862eec359cb8b4b8bacd5e1009c3dd7033e33e832254a51c9252500a0e42d80000261a2dcab93d03f00c0f09f36b9f277acfb95ed8ca2ed21adaf6a
7
- data.tar.gz: 519409f964bb23f416aef1b896da12fd9fad3e84ffe7bbf1c082c2aac408a90018221ad28185d36217faf506f3dbdb739497d3e7abe223f72ac84fafe5ac85af
6
+ metadata.gz: a24cc713a72e817f9a91d5d88c5386a03a6765e977f4aedfff6e8a627de0b805d94d5dd472ca8b05787a8264e957adc1ae15bdf1ebd1275d5e929c1ccf7b416e
7
+ data.tar.gz: d14edb01c034151927e64877347b2d36a11ea6fa4b707106416f800823d3d1e1a314bf4dd7834001a8fc87592d02c65bb67389c05d2b1363c042620efe96b0f0
@@ -28,9 +28,9 @@
28
28
  popoverButton.onclick = () => {
29
29
  buttonClicked = !buttonClicked
30
30
  if (buttonClicked) {
31
- arrowDiv.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="auto" height="auto" viewBox="0 0 31 25" fill="none" class="pb_custom_icon svg-inline--fa pb_icon_kit svg_fw" id="" data="{}" aria="{}" tabindex=""><path d="M14.2031 5.70312C14.625 5.28125 15.3281 5.28125 15.75 5.70312L24.7969 14.7031C25.2188 15.1719 25.2188 15.875 24.7969 16.2969C24.3281 16.7656 23.625 16.7656 23.2031 16.2969L15 8.09375L6.79688 16.2969C6.32812 16.7656 5.625 16.7656 5.20312 16.2969C4.73438 15.875 4.73438 15.1719 5.20312 14.75L14.2031 5.70312Z" fill="currentColor"/></svg>'
31
+ arrowDiv.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 31 25" fill="none" class="pb_custom_icon svg-inline--fa pb_icon_kit svg_fw" id="" data="{}" aria="{}" tabindex=""><path d="M14.2031 5.70312C14.625 5.28125 15.3281 5.28125 15.75 5.70312L24.7969 14.7031C25.2188 15.1719 25.2188 15.875 24.7969 16.2969C24.3281 16.7656 23.625 16.7656 23.2031 16.2969L15 8.09375L6.79688 16.2969C6.32812 16.7656 5.625 16.7656 5.20312 16.2969C4.73438 15.875 4.73438 15.1719 5.20312 14.75L14.2031 5.70312Z" fill="currentColor"/></svg>'
32
32
  } else {
33
- arrowDiv.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="auto" height="auto" viewBox="0 0 31 25" fill="none" class="pb_custom_icon svg-inline--fa pb_icon_kit svg_fw" id="" data="{}" aria="{}" tabindex=""><path d="M14.2031 19.2969L5.20312 10.2969C4.73438 9.875 4.73438 9.17188 5.20312 8.70312C5.625 8.28125 6.32812 8.28125 6.79688 8.70312L15 16.9531L23.2031 8.75C23.625 8.28125 24.3281 8.28125 24.7969 8.75C25.2188 9.17188 25.2188 9.875 24.7969 10.2969L15.75 19.2969C15.3281 19.7656 14.625 19.7656 14.2031 19.2969Z" fill="currentColor"/></svg>'
33
+ arrowDiv.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 31 25" fill="none" class="pb_custom_icon svg-inline--fa pb_icon_kit svg_fw" id="" data="{}" aria="{}" tabindex=""><path d="M14.2031 19.2969L5.20312 10.2969C4.73438 9.875 4.73438 9.17188 5.20312 8.70312C5.625 8.28125 6.32812 8.28125 6.79688 8.70312L15 16.9531L23.2031 8.75C23.625 8.28125 24.3281 8.28125 24.7969 8.75C25.2188 9.17188 25.2188 9.875 24.7969 10.2969L15.75 19.2969C15.3281 19.7656 14.625 19.7656 14.2031 19.2969Z" fill="currentColor"/></svg>'
34
34
  }
35
35
  }
36
36
  </script>
@@ -70,7 +70,7 @@
70
70
  ],
71
71
  "presets": [
72
72
  {
73
- "name": "Basic list",
73
+ "name": "Default",
74
74
  "props": {
75
75
  "label": "Colors",
76
76
  "name": "color",
@@ -94,6 +94,32 @@
94
94
  ]
95
95
  }
96
96
  },
97
+ {
98
+ "name": "With Pills",
99
+ "props": {
100
+ "label": "With Pills",
101
+ "name": "with_pills",
102
+ "isMulti": true,
103
+ "options": [
104
+ {
105
+ "label": "Orange",
106
+ "value": "#FFA500"
107
+ },
108
+ {
109
+ "label": "Red",
110
+ "value": "#FF0000"
111
+ },
112
+ {
113
+ "label": "Green",
114
+ "value": "#00FF00"
115
+ },
116
+ {
117
+ "label": "Blue",
118
+ "value": "#0000FF"
119
+ }
120
+ ]
121
+ }
122
+ },
97
123
  {
98
124
  "name": "Count display",
99
125
  "props": {
@@ -229,12 +255,21 @@
229
255
  },
230
256
  "clearOnContextChange": {
231
257
  "requires": "searchContextSelector"
258
+ },
259
+ "enablePillReorder": {
260
+ "requires": "isMulti"
261
+ },
262
+ "showPillIndex": {
263
+ "requires": "isMulti"
264
+ },
265
+ "pillDragHandle": {
266
+ "requires": "isMulti"
232
267
  }
233
268
  },
234
269
  "hints": {
235
- "basic_list": {
236
- "presetName": "Basic list",
237
- "message": "Basic list uses a local options array with label and value keys.",
270
+ "default": {
271
+ "presetName": "Default",
272
+ "message": "Default uses a local options array with label and value keys.",
238
273
  "type": "info"
239
274
  },
240
275
  "count_display": {
@@ -261,6 +296,11 @@
261
296
  "presetName": "Creatable handler",
262
297
  "message": "Creatable handler shows custom option creation, preserved search input, and an onChange handler.",
263
298
  "type": "info"
299
+ },
300
+ "with_pills": {
301
+ "presetName": "With Pills",
302
+ "message": "With Pills uses multi-select with pills so selected values render as pills.",
303
+ "type": "info"
264
304
  }
265
305
  },
266
306
  "customProps": {
@@ -49,12 +49,12 @@
49
49
  },
50
50
  {
51
51
  "name": "Appearance",
52
- "props": ["components", "dark", "marginBottom"]
52
+ "props": ["components", "dark", "marginBottom", "enablePillReorder", "showPillIndex", "pillDragHandle"]
53
53
  }
54
54
  ],
55
55
  "presets": [
56
56
  {
57
- "name": "Basic list",
57
+ "name": "Default",
58
58
  "props": {
59
59
  "label": "Colors",
60
60
  "name": "color",
@@ -66,6 +66,20 @@
66
66
  ]
67
67
  }
68
68
  },
69
+ {
70
+ "name": "With Pills",
71
+ "props": {
72
+ "label": "With Pills",
73
+ "name": "with_pills",
74
+ "isMulti": true,
75
+ "options": [
76
+ { "label": "Orange", "value": "#FFA500" },
77
+ { "label": "Red", "value": "#FF0000" },
78
+ { "label": "Green", "value": "#00FF00" },
79
+ { "label": "Blue", "value": "#0000FF" }
80
+ ]
81
+ }
82
+ },
69
83
  {
70
84
  "name": "Count display",
71
85
  "props": {
@@ -145,12 +159,15 @@
145
159
  "requiredIndicator": { "requires": "label" },
146
160
  "validation": { "requires": { "required": true } },
147
161
  "optionsByContext": { "requires": "searchContextSelector" },
148
- "clearOnContextChange": { "requires": "searchContextSelector" }
162
+ "clearOnContextChange": { "requires": "searchContextSelector" },
163
+ "enablePillReorder": { "requires": "isMulti" },
164
+ "showPillIndex": { "requires": "isMulti" },
165
+ "pillDragHandle": { "requires": "isMulti" }
149
166
  },
150
167
  "hints": {
151
- "basic_list": {
152
- "presetName": "Basic list",
153
- "message": "Basic list uses a local options array with label and value keys.",
168
+ "default": {
169
+ "presetName": "Default",
170
+ "message": "Default uses a local options array with label and value keys.",
154
171
  "type": "info"
155
172
  },
156
173
  "count_display": {
@@ -177,6 +194,11 @@
177
194
  "presetName": "Creatable handler",
178
195
  "message": "Creatable handler shows custom option creation, preserved search input, and an onChange handler.",
179
196
  "type": "info"
197
+ },
198
+ "with_pills": {
199
+ "presetName": "With Pills",
200
+ "message": "With Pills uses multi-select with pills so selected values render as pills.",
201
+ "type": "info"
180
202
  }
181
203
  }
182
204
  }
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: 16.11.0.pre.rc.3
4
+ version: 16.12.0.pre.rc.0
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: 2026-07-09 00:00:00.000000000 Z
12
+ date: 2026-07-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui