@rcarls/rc-chip-group 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.
- package/README.md +26 -0
- package/dist/custom-elements.json +687 -0
- package/dist/rc-chip-group-DKVJOa6j.js +364 -0
- package/dist/rc-chip-group-DKVJOa6j.js.map +1 -0
- package/dist/rc-chip-group-define.js +7 -0
- package/dist/rc-chip-group-define.js.map +1 -0
- package/dist/rc-chip-group.js +5 -0
- package/dist/rc-chip-group.js.map +1 -0
- package/dist/types/packages/rc-chip-group/src/define.d.ts +1 -0
- package/dist/types/packages/rc-chip-group/src/index.d.ts +1 -0
- package/dist/types/packages/rc-chip-group/src/rc-chip-group.d.ts +122 -0
- package/dist/types/packages/rc-chip-group/src/rc-chip-group.styles.d.ts +2 -0
- package/package.json +66 -0
|
@@ -0,0 +1,687 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "src/define.ts",
|
|
8
|
+
"declarations": [],
|
|
9
|
+
"exports": [
|
|
10
|
+
{
|
|
11
|
+
"kind": "custom-element-definition",
|
|
12
|
+
"name": "rc-chip-group",
|
|
13
|
+
"declaration": {
|
|
14
|
+
"name": "RCChipGroup",
|
|
15
|
+
"module": "/src/index.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"kind": "js",
|
|
20
|
+
"name": "*",
|
|
21
|
+
"declaration": {
|
|
22
|
+
"name": "*",
|
|
23
|
+
"module": "src/index.js"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"kind": "javascript-module",
|
|
30
|
+
"path": "src/index.ts",
|
|
31
|
+
"declarations": [],
|
|
32
|
+
"exports": [
|
|
33
|
+
{
|
|
34
|
+
"kind": "js",
|
|
35
|
+
"name": "*",
|
|
36
|
+
"declaration": {
|
|
37
|
+
"name": "*",
|
|
38
|
+
"module": "src/rc-chip-group.js"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"kind": "javascript-module",
|
|
45
|
+
"path": "src/rc-chip-group.ts",
|
|
46
|
+
"declarations": [
|
|
47
|
+
{
|
|
48
|
+
"kind": "class",
|
|
49
|
+
"description": "Adaptive chip layout for native controls, `rc-chip`, and arbitrary elements.\nNatural wrapping is kept while content fits within `max-rows`; overflowing\nauto groups collapse to one horizontally scrolling row with a leading\nShow all action.\n\nAssist groups expose toolbar semantics and roving arrow-key navigation.\nFilter groups preserve native radio/checkbox behavior: author a `<fieldset>`\naround the group, then place one native input in each direct-child chip label.\nGeneric groups are layout-only and do not coordinate their children.",
|
|
50
|
+
"name": "RCChipGroup",
|
|
51
|
+
"cssProperties": [
|
|
52
|
+
{
|
|
53
|
+
"description": "Inline gap between items.",
|
|
54
|
+
"name": "--rc-chip-group-column-gap",
|
|
55
|
+
"default": "0.5rem"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"description": "Block gap between wrapped rows.",
|
|
59
|
+
"name": "--rc-chip-group-row-gap",
|
|
60
|
+
"default": "0"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"description": "Group block-axis padding.",
|
|
64
|
+
"name": "--rc-chip-group-padding-block",
|
|
65
|
+
"default": "0"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"description": "Horizontal scroll padding.",
|
|
69
|
+
"name": "--rc-chip-group-scroll-padding-inline",
|
|
70
|
+
"default": "0"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"description": "Standards-based scrollbar width.",
|
|
74
|
+
"name": "--rc-chip-group-scrollbar-width",
|
|
75
|
+
"default": "none"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"description": "Gap between the disclosure icon and label.",
|
|
79
|
+
"name": "--rc-chip-group-toggle-gap",
|
|
80
|
+
"default": "0.5rem"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"description": "Gap before the disclosure separator.",
|
|
84
|
+
"name": "--rc-chip-group-toggle-separator-gap",
|
|
85
|
+
"default": "0.5rem"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"description": "Disclosure icon size.",
|
|
89
|
+
"name": "--rc-chip-group-toggle-icon-size",
|
|
90
|
+
"default": "1.125rem"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"description": "Separator block size.",
|
|
94
|
+
"name": "--rc-chip-group-toggle-separator-block-size",
|
|
95
|
+
"default": "1.5rem"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"description": "Separator thickness.",
|
|
99
|
+
"name": "--rc-chip-group-toggle-separator-inline-size",
|
|
100
|
+
"default": "1px"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"description": "Separator color.",
|
|
104
|
+
"name": "--rc-chip-group-toggle-separator-color",
|
|
105
|
+
"default": "currentColor"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"cssParts": [
|
|
109
|
+
{
|
|
110
|
+
"description": "Flex layout and horizontal scroll container.",
|
|
111
|
+
"name": "root"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"description": "Internal leading disclosure chip.",
|
|
115
|
+
"name": "toggle"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"description": "MDI tune icon inside the disclosure chip.",
|
|
119
|
+
"name": "toggle-icon"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"description": "Vertical separator after the disclosure chip.",
|
|
123
|
+
"name": "toggle-separator"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"slots": [
|
|
127
|
+
{
|
|
128
|
+
"description": "Direct chip or arbitrary-element children.",
|
|
129
|
+
"name": ""
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
"members": [
|
|
133
|
+
{
|
|
134
|
+
"kind": "field",
|
|
135
|
+
"name": "_expanded",
|
|
136
|
+
"type": {
|
|
137
|
+
"text": "boolean | undefined"
|
|
138
|
+
},
|
|
139
|
+
"privacy": "private"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"kind": "field",
|
|
143
|
+
"name": "_defaultExpanded",
|
|
144
|
+
"type": {
|
|
145
|
+
"text": "boolean"
|
|
146
|
+
},
|
|
147
|
+
"privacy": "private",
|
|
148
|
+
"default": "false"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"kind": "field",
|
|
152
|
+
"name": "_uncontrolledExpanded",
|
|
153
|
+
"type": {
|
|
154
|
+
"text": "boolean | undefined"
|
|
155
|
+
},
|
|
156
|
+
"privacy": "private"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"kind": "field",
|
|
160
|
+
"name": "_expandedInitialized",
|
|
161
|
+
"type": {
|
|
162
|
+
"text": "boolean"
|
|
163
|
+
},
|
|
164
|
+
"privacy": "private",
|
|
165
|
+
"default": "false"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"kind": "field",
|
|
169
|
+
"name": "_measureFrame",
|
|
170
|
+
"type": {
|
|
171
|
+
"text": "number | undefined"
|
|
172
|
+
},
|
|
173
|
+
"privacy": "private"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"kind": "field",
|
|
177
|
+
"name": "_targetVisibilityFrame",
|
|
178
|
+
"type": {
|
|
179
|
+
"text": "number | undefined"
|
|
180
|
+
},
|
|
181
|
+
"privacy": "private"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"kind": "field",
|
|
185
|
+
"name": "_pendingScrollLeft",
|
|
186
|
+
"type": {
|
|
187
|
+
"text": "number | undefined"
|
|
188
|
+
},
|
|
189
|
+
"privacy": "private"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"kind": "field",
|
|
193
|
+
"name": "_pendingScrollTarget",
|
|
194
|
+
"type": {
|
|
195
|
+
"text": "HTMLElement | undefined"
|
|
196
|
+
},
|
|
197
|
+
"privacy": "private"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"kind": "field",
|
|
201
|
+
"name": "_overflowing",
|
|
202
|
+
"type": {
|
|
203
|
+
"text": "boolean"
|
|
204
|
+
},
|
|
205
|
+
"privacy": "private",
|
|
206
|
+
"default": "false"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"kind": "field",
|
|
210
|
+
"name": "_$root",
|
|
211
|
+
"type": {
|
|
212
|
+
"text": "HTMLDivElement"
|
|
213
|
+
},
|
|
214
|
+
"privacy": "protected"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"kind": "field",
|
|
218
|
+
"name": "_$slot",
|
|
219
|
+
"type": {
|
|
220
|
+
"text": "HTMLSlotElement"
|
|
221
|
+
},
|
|
222
|
+
"privacy": "private"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"kind": "field",
|
|
226
|
+
"name": "_$toggle",
|
|
227
|
+
"type": {
|
|
228
|
+
"text": "RCChip"
|
|
229
|
+
},
|
|
230
|
+
"privacy": "private"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"kind": "field",
|
|
234
|
+
"name": "_$toggleWrap",
|
|
235
|
+
"type": {
|
|
236
|
+
"text": "HTMLSpanElement"
|
|
237
|
+
},
|
|
238
|
+
"privacy": "private"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"kind": "field",
|
|
242
|
+
"name": "_resizeObserver",
|
|
243
|
+
"type": {
|
|
244
|
+
"text": "ResizeObserver | null"
|
|
245
|
+
},
|
|
246
|
+
"privacy": "private",
|
|
247
|
+
"default": "null"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"kind": "field",
|
|
251
|
+
"name": "_mutationObserver",
|
|
252
|
+
"type": {
|
|
253
|
+
"text": "MutationObserver | null"
|
|
254
|
+
},
|
|
255
|
+
"privacy": "private",
|
|
256
|
+
"default": "null"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"kind": "field",
|
|
260
|
+
"name": "_authoredVariants",
|
|
261
|
+
"privacy": "private",
|
|
262
|
+
"readonly": true,
|
|
263
|
+
"default": "new Map<RCChip, RCChip['variant']>()"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"kind": "field",
|
|
267
|
+
"name": "layout",
|
|
268
|
+
"type": {
|
|
269
|
+
"text": "RCChipGroupLayout"
|
|
270
|
+
},
|
|
271
|
+
"default": "'auto'",
|
|
272
|
+
"description": "Layout strategy.",
|
|
273
|
+
"attribute": "layout",
|
|
274
|
+
"reflects": true
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"kind": "field",
|
|
278
|
+
"name": "maxRows",
|
|
279
|
+
"type": {
|
|
280
|
+
"text": "number"
|
|
281
|
+
},
|
|
282
|
+
"default": "2",
|
|
283
|
+
"description": "Maximum natural rows before auto layout collapses to horizontal scrolling.",
|
|
284
|
+
"attribute": "max-rows",
|
|
285
|
+
"reflects": true
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"kind": "field",
|
|
289
|
+
"name": "kind",
|
|
290
|
+
"type": {
|
|
291
|
+
"text": "RCChipGroupKind"
|
|
292
|
+
},
|
|
293
|
+
"default": "'generic'",
|
|
294
|
+
"description": "Child coordination mode.",
|
|
295
|
+
"attribute": "kind",
|
|
296
|
+
"reflects": true
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"kind": "field",
|
|
300
|
+
"name": "selection",
|
|
301
|
+
"type": {
|
|
302
|
+
"text": "RCChipGroupSelection"
|
|
303
|
+
},
|
|
304
|
+
"default": "'none'",
|
|
305
|
+
"description": "Native filter selection hint.",
|
|
306
|
+
"attribute": "selection",
|
|
307
|
+
"reflects": true
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"kind": "field",
|
|
311
|
+
"name": "label",
|
|
312
|
+
"type": {
|
|
313
|
+
"text": "string"
|
|
314
|
+
},
|
|
315
|
+
"default": "'Chip actions'",
|
|
316
|
+
"description": "Accessible label used when `kind=\"assist\"` exposes toolbar semantics.",
|
|
317
|
+
"attribute": "label"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"kind": "field",
|
|
321
|
+
"name": "showAllLabel",
|
|
322
|
+
"type": {
|
|
323
|
+
"text": "string"
|
|
324
|
+
},
|
|
325
|
+
"default": "'Show all'",
|
|
326
|
+
"description": "Collapsed overflow action label.",
|
|
327
|
+
"attribute": "show-all-label"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"kind": "field",
|
|
331
|
+
"name": "showLessLabel",
|
|
332
|
+
"type": {
|
|
333
|
+
"text": "string"
|
|
334
|
+
},
|
|
335
|
+
"default": "'Show less'",
|
|
336
|
+
"description": "Expanded overflow action label.",
|
|
337
|
+
"attribute": "show-less-label"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"kind": "field",
|
|
341
|
+
"name": "expanded",
|
|
342
|
+
"type": {
|
|
343
|
+
"text": "boolean"
|
|
344
|
+
},
|
|
345
|
+
"description": "Current auto-layout disclosure state. Host writes are silent.",
|
|
346
|
+
"attribute": "expanded",
|
|
347
|
+
"reflects": true
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"kind": "field",
|
|
351
|
+
"name": "defaultExpanded",
|
|
352
|
+
"type": {
|
|
353
|
+
"text": "boolean"
|
|
354
|
+
},
|
|
355
|
+
"description": "Initial uncontrolled disclosure state.",
|
|
356
|
+
"attribute": "default-expanded"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"kind": "method",
|
|
360
|
+
"name": "_collectItems",
|
|
361
|
+
"privacy": "protected",
|
|
362
|
+
"return": {
|
|
363
|
+
"type": {
|
|
364
|
+
"text": "Element[]"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"parameters": [
|
|
368
|
+
{
|
|
369
|
+
"name": "$slot",
|
|
370
|
+
"type": {
|
|
371
|
+
"text": "HTMLSlotElement"
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"kind": "method",
|
|
378
|
+
"name": "_initItems",
|
|
379
|
+
"privacy": "protected",
|
|
380
|
+
"return": {
|
|
381
|
+
"type": {
|
|
382
|
+
"text": "void"
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"kind": "method",
|
|
388
|
+
"name": "_isAssistItem",
|
|
389
|
+
"privacy": "private",
|
|
390
|
+
"return": {
|
|
391
|
+
"type": {
|
|
392
|
+
"text": "boolean"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
"parameters": [
|
|
396
|
+
{
|
|
397
|
+
"name": "$element",
|
|
398
|
+
"type": {
|
|
399
|
+
"text": "Element"
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
]
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"kind": "field",
|
|
406
|
+
"name": "_handleKeyDown",
|
|
407
|
+
"privacy": "private",
|
|
408
|
+
"readonly": true
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"kind": "method",
|
|
412
|
+
"name": "_handleSlotChange",
|
|
413
|
+
"privacy": "private",
|
|
414
|
+
"return": {
|
|
415
|
+
"type": {
|
|
416
|
+
"text": "void"
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
"parameters": [
|
|
420
|
+
{
|
|
421
|
+
"name": "event",
|
|
422
|
+
"type": {
|
|
423
|
+
"text": "Event"
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
]
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"kind": "method",
|
|
430
|
+
"name": "_assignedElements",
|
|
431
|
+
"privacy": "private",
|
|
432
|
+
"return": {
|
|
433
|
+
"type": {
|
|
434
|
+
"text": "HTMLElement[]"
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"kind": "method",
|
|
440
|
+
"name": "_syncAssignedItems",
|
|
441
|
+
"privacy": "private",
|
|
442
|
+
"return": {
|
|
443
|
+
"type": {
|
|
444
|
+
"text": "void"
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"kind": "method",
|
|
450
|
+
"name": "_observeAssignedItems",
|
|
451
|
+
"privacy": "private",
|
|
452
|
+
"return": {
|
|
453
|
+
"type": {
|
|
454
|
+
"text": "void"
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"kind": "method",
|
|
460
|
+
"name": "_syncNativeSelection",
|
|
461
|
+
"privacy": "private",
|
|
462
|
+
"return": {
|
|
463
|
+
"type": {
|
|
464
|
+
"text": "void"
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"kind": "method",
|
|
470
|
+
"name": "_restoreAuthoredVariants",
|
|
471
|
+
"privacy": "private",
|
|
472
|
+
"return": {
|
|
473
|
+
"type": {
|
|
474
|
+
"text": "void"
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"kind": "method",
|
|
480
|
+
"name": "_validateFilterItems",
|
|
481
|
+
"privacy": "private",
|
|
482
|
+
"return": {
|
|
483
|
+
"type": {
|
|
484
|
+
"text": "void"
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"kind": "field",
|
|
490
|
+
"name": "_handleChange",
|
|
491
|
+
"privacy": "private",
|
|
492
|
+
"readonly": true
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"kind": "field",
|
|
496
|
+
"name": "_toggleExpanded",
|
|
497
|
+
"privacy": "private",
|
|
498
|
+
"readonly": true
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"kind": "method",
|
|
502
|
+
"name": "_scheduleMeasure",
|
|
503
|
+
"privacy": "private",
|
|
504
|
+
"return": {
|
|
505
|
+
"type": {
|
|
506
|
+
"text": "void"
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"kind": "method",
|
|
512
|
+
"name": "_measureRows",
|
|
513
|
+
"privacy": "private",
|
|
514
|
+
"return": {
|
|
515
|
+
"type": {
|
|
516
|
+
"text": "void"
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"kind": "method",
|
|
522
|
+
"name": "_keepTargetVisible",
|
|
523
|
+
"privacy": "private",
|
|
524
|
+
"return": {
|
|
525
|
+
"type": {
|
|
526
|
+
"text": "void"
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
"parameters": [
|
|
530
|
+
{
|
|
531
|
+
"name": "$target",
|
|
532
|
+
"type": {
|
|
533
|
+
"text": "HTMLElement | undefined"
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
]
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"kind": "method",
|
|
540
|
+
"name": "_scheduleTargetVisibility",
|
|
541
|
+
"privacy": "private",
|
|
542
|
+
"return": {
|
|
543
|
+
"type": {
|
|
544
|
+
"text": "void"
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
"parameters": [
|
|
548
|
+
{
|
|
549
|
+
"name": "$target",
|
|
550
|
+
"type": {
|
|
551
|
+
"text": "HTMLElement | undefined"
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
]
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"kind": "field",
|
|
558
|
+
"name": "_resolvedLayout",
|
|
559
|
+
"type": {
|
|
560
|
+
"text": "'wrap' | 'scroll'"
|
|
561
|
+
},
|
|
562
|
+
"privacy": "private",
|
|
563
|
+
"readonly": true
|
|
564
|
+
}
|
|
565
|
+
],
|
|
566
|
+
"events": [
|
|
567
|
+
{
|
|
568
|
+
"description": "Fired after the user activates Show all or Show less.",
|
|
569
|
+
"name": "rc-chip-group-toggle"
|
|
570
|
+
}
|
|
571
|
+
],
|
|
572
|
+
"attributes": [
|
|
573
|
+
{
|
|
574
|
+
"description": "Layout strategy.",
|
|
575
|
+
"name": "layout",
|
|
576
|
+
"type": {
|
|
577
|
+
"text": "RCChipGroupLayout"
|
|
578
|
+
},
|
|
579
|
+
"default": "'auto'",
|
|
580
|
+
"fieldName": "layout"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"description": "Maximum natural rows before auto layout collapses to horizontal scrolling.",
|
|
584
|
+
"name": "max-rows",
|
|
585
|
+
"type": {
|
|
586
|
+
"text": "number"
|
|
587
|
+
},
|
|
588
|
+
"default": "2",
|
|
589
|
+
"fieldName": "maxRows"
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"description": "Child coordination mode.",
|
|
593
|
+
"name": "kind",
|
|
594
|
+
"type": {
|
|
595
|
+
"text": "RCChipGroupKind"
|
|
596
|
+
},
|
|
597
|
+
"default": "'generic'",
|
|
598
|
+
"fieldName": "kind"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"description": "Native filter selection hint.",
|
|
602
|
+
"name": "selection",
|
|
603
|
+
"type": {
|
|
604
|
+
"text": "RCChipGroupSelection"
|
|
605
|
+
},
|
|
606
|
+
"default": "'none'",
|
|
607
|
+
"fieldName": "selection"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"description": "Current auto-layout disclosure state. Host writes are silent.",
|
|
611
|
+
"name": "expanded",
|
|
612
|
+
"type": {
|
|
613
|
+
"text": "boolean"
|
|
614
|
+
},
|
|
615
|
+
"fieldName": "expanded"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"description": "Initial uncontrolled disclosure state.",
|
|
619
|
+
"name": "default-expanded",
|
|
620
|
+
"type": {
|
|
621
|
+
"text": "boolean"
|
|
622
|
+
},
|
|
623
|
+
"fieldName": "defaultExpanded"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"description": "Accessible label used when `kind=\"assist\"` exposes toolbar semantics.",
|
|
627
|
+
"name": "label",
|
|
628
|
+
"type": {
|
|
629
|
+
"text": "string"
|
|
630
|
+
},
|
|
631
|
+
"default": "'Chip actions'",
|
|
632
|
+
"fieldName": "label"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"description": "Collapsed overflow action label.",
|
|
636
|
+
"name": "show-all-label",
|
|
637
|
+
"type": {
|
|
638
|
+
"text": "string"
|
|
639
|
+
},
|
|
640
|
+
"default": "'Show all'",
|
|
641
|
+
"fieldName": "showAllLabel"
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"description": "Expanded overflow action label.",
|
|
645
|
+
"name": "show-less-label",
|
|
646
|
+
"type": {
|
|
647
|
+
"text": "string"
|
|
648
|
+
},
|
|
649
|
+
"default": "'Show less'",
|
|
650
|
+
"fieldName": "showLessLabel"
|
|
651
|
+
}
|
|
652
|
+
],
|
|
653
|
+
"mixins": [
|
|
654
|
+
{
|
|
655
|
+
"name": "RovingTabIndexMixin",
|
|
656
|
+
"package": "@rcarls/rc-common"
|
|
657
|
+
}
|
|
658
|
+
],
|
|
659
|
+
"superclass": {
|
|
660
|
+
"name": "LitElement",
|
|
661
|
+
"package": "lit"
|
|
662
|
+
},
|
|
663
|
+
"tagName": "rc-chip-group",
|
|
664
|
+
"customElement": true
|
|
665
|
+
}
|
|
666
|
+
],
|
|
667
|
+
"exports": [
|
|
668
|
+
{
|
|
669
|
+
"kind": "js",
|
|
670
|
+
"name": "RCChipGroup",
|
|
671
|
+
"declaration": {
|
|
672
|
+
"name": "RCChipGroup",
|
|
673
|
+
"module": "src/rc-chip-group.ts"
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"kind": "js",
|
|
678
|
+
"name": "default",
|
|
679
|
+
"declaration": {
|
|
680
|
+
"name": "RCChipGroup",
|
|
681
|
+
"module": "src/rc-chip-group.ts"
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
]
|
|
685
|
+
}
|
|
686
|
+
]
|
|
687
|
+
}
|