@rcarls/rc-list 0.6.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/CHANGELOG.md +55 -0
- package/README.md +86 -0
- package/dist/custom-elements.json +746 -0
- package/dist/rc-list-DyOxApRJ.js +361 -0
- package/dist/rc-list-DyOxApRJ.js.map +1 -0
- package/dist/rc-list-define.js +8 -0
- package/dist/rc-list-define.js.map +1 -0
- package/dist/rc-list.js +6 -0
- package/dist/rc-list.js.map +1 -0
- package/dist/types/packages/rc-list/src/define.d.ts +1 -0
- package/dist/types/packages/rc-list/src/index.d.ts +2 -0
- package/dist/types/packages/rc-list/src/rc-list-item.d.ts +109 -0
- package/dist/types/packages/rc-list/src/rc-list-item.styles.d.ts +2 -0
- package/dist/types/packages/rc-list/src/rc-list.d.ts +65 -0
- package/dist/types/packages/rc-list/src/rc-list.styles.d.ts +2 -0
- package/package.json +65 -0
|
@@ -0,0 +1,746 @@
|
|
|
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-list-item",
|
|
13
|
+
"declaration": {
|
|
14
|
+
"name": "RCListItem",
|
|
15
|
+
"module": "/src/index.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"kind": "custom-element-definition",
|
|
20
|
+
"name": "rc-list",
|
|
21
|
+
"declaration": {
|
|
22
|
+
"name": "RCList",
|
|
23
|
+
"module": "/src/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"kind": "js",
|
|
28
|
+
"name": "*",
|
|
29
|
+
"declaration": {
|
|
30
|
+
"name": "*",
|
|
31
|
+
"module": "src/index.js"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"kind": "javascript-module",
|
|
38
|
+
"path": "src/index.ts",
|
|
39
|
+
"declarations": [],
|
|
40
|
+
"exports": [
|
|
41
|
+
{
|
|
42
|
+
"kind": "js",
|
|
43
|
+
"name": "*",
|
|
44
|
+
"declaration": {
|
|
45
|
+
"name": "*",
|
|
46
|
+
"module": "src/rc-list-item.js"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"kind": "js",
|
|
51
|
+
"name": "*",
|
|
52
|
+
"declaration": {
|
|
53
|
+
"name": "*",
|
|
54
|
+
"module": "src/rc-list.js"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"kind": "javascript-module",
|
|
61
|
+
"path": "src/rc-list-item.ts",
|
|
62
|
+
"declarations": [
|
|
63
|
+
{
|
|
64
|
+
"kind": "class",
|
|
65
|
+
"description": "A list row whose leading, content, and trailing cells participate in the\ncolumn grid owned by the nearest `rc-list`.\n\n`selected` is presentational state. In a selecting `rc-list`, the group\nmirrors it from a direct native radio or checkbox, which remains the source\nof truth. Outside a selecting list, authors may control it directly.\n\nAn `interactive` row forwards a plain click anywhere on its surface (that\nhasn't already landed on one of its own interactive descendants — see\n`@rcarls/rc-common`'s `ClickDelegateController`) to whichever of these\nresolves first:\n 1. `action-target`, the same same-root id-ref contract `rc-card` uses —\n for a row whose primary action is a button/link that isn't itself a\n selection control (opens a dialog, navigates, etc).\n 2. A direct-child native `input[type=checkbox]`/`input[type=radio]` —\n the existing selection-row behavior, unchanged.\nBoth exist because a CSS `::after`-overlay (\"stretched link\") on the\nslotted control doesn't work here: it would need `[part=content]` as its\ncontaining block, but that part's own `overflow: hidden` (required for\nlabel truncation) clips the overlay right back down to its own bounds.",
|
|
66
|
+
"name": "RCListItem",
|
|
67
|
+
"cssProperties": [
|
|
68
|
+
{
|
|
69
|
+
"description": "Minimum rendered row height.",
|
|
70
|
+
"name": "--rc-list-item-min-block-size",
|
|
71
|
+
"default": "3rem"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"description": "Row block padding.",
|
|
75
|
+
"name": "--rc-list-item-padding-block",
|
|
76
|
+
"default": "0.5rem"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"description": "Row foreground color.",
|
|
80
|
+
"name": "--rc-list-item-color",
|
|
81
|
+
"default": "CanvasText"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"description": "Row surface color.",
|
|
85
|
+
"name": "--rc-list-item-background",
|
|
86
|
+
"default": "transparent"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"description": "Selected foreground color.",
|
|
90
|
+
"name": "--rc-list-item-selected-color"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"description": "Selected surface color.",
|
|
94
|
+
"name": "--rc-list-item-selected-background",
|
|
95
|
+
"default": "transparent"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"description": "Row border shorthand.",
|
|
99
|
+
"name": "--rc-list-item-border",
|
|
100
|
+
"default": "0"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"description": "Row corner radius.",
|
|
104
|
+
"name": "--rc-list-item-border-radius",
|
|
105
|
+
"default": "0"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"description": "Row shadow.",
|
|
109
|
+
"name": "--rc-list-item-box-shadow",
|
|
110
|
+
"default": "none"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"description": "Divider border shorthand.",
|
|
114
|
+
"name": "--rc-list-item-divider",
|
|
115
|
+
"default": "0"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"description": "Divider inline inset.",
|
|
119
|
+
"name": "--rc-list-item-divider-inset-inline",
|
|
120
|
+
"default": "0"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"description": "Internal row track definition.",
|
|
124
|
+
"name": "--rc-list-item-grid-template-rows",
|
|
125
|
+
"default": "auto"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"description": "Gap between internal row tracks.",
|
|
129
|
+
"name": "--rc-list-item-row-gap",
|
|
130
|
+
"default": "0"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"description": "Leading region column placement.",
|
|
134
|
+
"name": "--rc-list-item-leading-grid-column",
|
|
135
|
+
"default": "leading-start / leading-end"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"description": "Leading region row placement.",
|
|
139
|
+
"name": "--rc-list-item-leading-grid-row",
|
|
140
|
+
"default": "auto"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"description": "Content region column placement.",
|
|
144
|
+
"name": "--rc-list-item-content-grid-column",
|
|
145
|
+
"default": "content-start / content-end"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"description": "Content region row placement.",
|
|
149
|
+
"name": "--rc-list-item-content-grid-row",
|
|
150
|
+
"default": "auto"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"description": "Content wrapping behavior.",
|
|
154
|
+
"name": "--rc-list-item-content-white-space",
|
|
155
|
+
"default": "nowrap"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"description": "Content overflow marker.",
|
|
159
|
+
"name": "--rc-list-item-content-text-overflow",
|
|
160
|
+
"default": "ellipsis"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"description": "Trailing region column placement.",
|
|
164
|
+
"name": "--rc-list-item-trailing-grid-column",
|
|
165
|
+
"default": "trailing-start / trailing-end"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"description": "Trailing region row placement.",
|
|
169
|
+
"name": "--rc-list-item-trailing-grid-row",
|
|
170
|
+
"default": "auto"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"description": "Trailing region alignment within its grid area.",
|
|
174
|
+
"name": "--rc-list-item-trailing-justify-self",
|
|
175
|
+
"default": "end"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"description": "Interaction state layer color.",
|
|
179
|
+
"name": "--rc-list-item-state-layer-color",
|
|
180
|
+
"default": "currentColor"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"description": "Resting interaction state layer opacity.",
|
|
184
|
+
"name": "--rc-list-item-state-layer-opacity",
|
|
185
|
+
"default": "0"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"description": "Hover state opacity.",
|
|
189
|
+
"name": "--rc-list-item-hover-state-layer-opacity",
|
|
190
|
+
"default": "0.08"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"description": "Focus state opacity.",
|
|
194
|
+
"name": "--rc-list-item-focus-state-layer-opacity",
|
|
195
|
+
"default": "0.1"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"description": "Pressed state opacity.",
|
|
199
|
+
"name": "--rc-list-item-pressed-state-layer-opacity",
|
|
200
|
+
"default": "0.1"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"description": "Disabled row opacity.",
|
|
204
|
+
"name": "--rc-list-item-disabled-opacity",
|
|
205
|
+
"default": "0.38"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"description": "Row state transition duration.",
|
|
209
|
+
"name": "--rc-list-item-transition-duration",
|
|
210
|
+
"default": "0ms"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"description": "Row state transition easing.",
|
|
214
|
+
"name": "--rc-list-item-transition-easing",
|
|
215
|
+
"default": "ease"
|
|
216
|
+
}
|
|
217
|
+
],
|
|
218
|
+
"cssParts": [
|
|
219
|
+
{
|
|
220
|
+
"description": "Row surface and subgrid.",
|
|
221
|
+
"name": "row"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"description": "Hover, focus, and pressed state layer.",
|
|
225
|
+
"name": "state-layer"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"description": "Leading slot wrapper.",
|
|
229
|
+
"name": "leading"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"description": "Default content slot wrapper.",
|
|
233
|
+
"name": "content"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"description": "Trailing slot wrapper.",
|
|
237
|
+
"name": "trailing"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"description": "Row divider.",
|
|
241
|
+
"name": "divider"
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
"slots": [
|
|
245
|
+
{
|
|
246
|
+
"description": "Optional leading visual or native selection control. Add `data-rc-list-leading` when a theme should apply its standard leading-icon geometry.",
|
|
247
|
+
"name": "leading"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"description": "Primary row content. It truncates to one line by default.",
|
|
251
|
+
"name": ""
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"description": "Optional trailing metadata or action.",
|
|
255
|
+
"name": "trailing"
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"members": [
|
|
259
|
+
{
|
|
260
|
+
"kind": "field",
|
|
261
|
+
"name": "_internals",
|
|
262
|
+
"type": {
|
|
263
|
+
"text": "ElementInternals"
|
|
264
|
+
},
|
|
265
|
+
"privacy": "private",
|
|
266
|
+
"readonly": true
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"kind": "field",
|
|
270
|
+
"name": "selected",
|
|
271
|
+
"type": {
|
|
272
|
+
"text": "boolean"
|
|
273
|
+
},
|
|
274
|
+
"default": "false",
|
|
275
|
+
"description": "Presentational selected state. Host writes are silent.",
|
|
276
|
+
"attribute": "selected",
|
|
277
|
+
"reflects": true
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"kind": "field",
|
|
281
|
+
"name": "disabled",
|
|
282
|
+
"type": {
|
|
283
|
+
"text": "boolean"
|
|
284
|
+
},
|
|
285
|
+
"default": "false",
|
|
286
|
+
"description": "Presentational disabled state. Host writes are silent.",
|
|
287
|
+
"attribute": "disabled",
|
|
288
|
+
"reflects": true
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"kind": "field",
|
|
292
|
+
"name": "interactive",
|
|
293
|
+
"type": {
|
|
294
|
+
"text": "boolean"
|
|
295
|
+
},
|
|
296
|
+
"default": "false",
|
|
297
|
+
"description": "Enables row interaction styling.",
|
|
298
|
+
"attribute": "interactive",
|
|
299
|
+
"reflects": true
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"kind": "field",
|
|
303
|
+
"name": "actionTarget",
|
|
304
|
+
"type": {
|
|
305
|
+
"text": "string"
|
|
306
|
+
},
|
|
307
|
+
"default": "''",
|
|
308
|
+
"description": "ID of a same-root anchor or button that receives forwarded surface\nclicks — the same contract as `rc-card`'s `action-target`. Checked\nbefore the native radio/checkbox fallback, so a row can combine a\nselection input with its own `action-target` if it ever needs to\n(uncommon, but not fought against).",
|
|
309
|
+
"attribute": "action-target"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"kind": "method",
|
|
313
|
+
"name": "_hasAssignedElements",
|
|
314
|
+
"privacy": "private",
|
|
315
|
+
"return": {
|
|
316
|
+
"type": {
|
|
317
|
+
"text": "boolean"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"parameters": [
|
|
321
|
+
{
|
|
322
|
+
"name": "event",
|
|
323
|
+
"type": {
|
|
324
|
+
"text": "Event"
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
]
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"kind": "method",
|
|
331
|
+
"name": "_handleNamedSlotChange",
|
|
332
|
+
"privacy": "private",
|
|
333
|
+
"return": {
|
|
334
|
+
"type": {
|
|
335
|
+
"text": "void"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"parameters": [
|
|
339
|
+
{
|
|
340
|
+
"name": "event",
|
|
341
|
+
"type": {
|
|
342
|
+
"text": "Event"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"kind": "method",
|
|
349
|
+
"name": "_nativeInput",
|
|
350
|
+
"privacy": "private",
|
|
351
|
+
"return": {
|
|
352
|
+
"type": {
|
|
353
|
+
"text": "HTMLInputElement | null"
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"kind": "method",
|
|
359
|
+
"name": "_resolveActionTarget",
|
|
360
|
+
"privacy": "private",
|
|
361
|
+
"return": {
|
|
362
|
+
"type": {
|
|
363
|
+
"text": "HTMLAnchorElement | HTMLButtonElement | null"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"kind": "field",
|
|
369
|
+
"name": "role",
|
|
370
|
+
"type": {
|
|
371
|
+
"text": "string"
|
|
372
|
+
},
|
|
373
|
+
"default": "'listitem'"
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"attributes": [
|
|
377
|
+
{
|
|
378
|
+
"description": "Presentational selected state. Host writes are silent.",
|
|
379
|
+
"name": "selected",
|
|
380
|
+
"type": {
|
|
381
|
+
"text": "boolean"
|
|
382
|
+
},
|
|
383
|
+
"default": "false",
|
|
384
|
+
"fieldName": "selected"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"description": "Presentational disabled state. Host writes are silent.",
|
|
388
|
+
"name": "disabled",
|
|
389
|
+
"type": {
|
|
390
|
+
"text": "boolean"
|
|
391
|
+
},
|
|
392
|
+
"default": "false",
|
|
393
|
+
"fieldName": "disabled"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"description": "Enables row interaction styling.",
|
|
397
|
+
"name": "interactive",
|
|
398
|
+
"type": {
|
|
399
|
+
"text": "boolean"
|
|
400
|
+
},
|
|
401
|
+
"default": "false",
|
|
402
|
+
"fieldName": "interactive"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"description": "ID of a same-root anchor or button that receives forwarded surface\nclicks — the same contract as `rc-card`'s `action-target`. Checked\nbefore the native radio/checkbox fallback, so a row can combine a\nselection input with its own `action-target` if it ever needs to\n(uncommon, but not fought against).",
|
|
406
|
+
"name": "action-target",
|
|
407
|
+
"type": {
|
|
408
|
+
"text": "string"
|
|
409
|
+
},
|
|
410
|
+
"default": "''",
|
|
411
|
+
"fieldName": "actionTarget"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"description": "Reflected when the leading slot has content.",
|
|
415
|
+
"name": "has-leading"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"description": "Reflected when the trailing slot has content.",
|
|
419
|
+
"name": "has-trailing"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"description": "Visible row position assigned by the parent list.",
|
|
423
|
+
"name": "data-rc-list-position"
|
|
424
|
+
}
|
|
425
|
+
],
|
|
426
|
+
"superclass": {
|
|
427
|
+
"name": "LitElement",
|
|
428
|
+
"package": "lit"
|
|
429
|
+
},
|
|
430
|
+
"tagName": "rc-list-item",
|
|
431
|
+
"customElement": true
|
|
432
|
+
}
|
|
433
|
+
],
|
|
434
|
+
"exports": [
|
|
435
|
+
{
|
|
436
|
+
"kind": "js",
|
|
437
|
+
"name": "RCListItem",
|
|
438
|
+
"declaration": {
|
|
439
|
+
"name": "RCListItem",
|
|
440
|
+
"module": "src/rc-list-item.ts"
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
]
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"kind": "javascript-module",
|
|
447
|
+
"path": "src/rc-list.ts",
|
|
448
|
+
"declarations": [
|
|
449
|
+
{
|
|
450
|
+
"kind": "class",
|
|
451
|
+
"description": "Shared-column list layout with optional native-backed selection.\n\nIn `single` and `multiple` selection modes, each direct `rc-list-item`\nmust contain one direct native radio or checkbox respectively. Native\nchecked and disabled state remain authoritative; the list only mirrors\nthem to the row for styling and makes non-control row surfaces operable.",
|
|
452
|
+
"name": "RCList",
|
|
453
|
+
"cssProperties": [
|
|
454
|
+
{
|
|
455
|
+
"description": "Shared inline content padding.",
|
|
456
|
+
"name": "--rc-list-padding-inline",
|
|
457
|
+
"default": "0"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"description": "List block padding.",
|
|
461
|
+
"name": "--rc-list-padding-block",
|
|
462
|
+
"default": "0"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"description": "Shared leading column size when any visible item has leading content.",
|
|
466
|
+
"name": "--rc-list-leading-size",
|
|
467
|
+
"default": "minmax(0, max-content)"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"description": "Gap after the leading column.",
|
|
471
|
+
"name": "--rc-list-leading-gap",
|
|
472
|
+
"default": "1rem"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"description": "Shared trailing column size when any visible item has trailing content.",
|
|
476
|
+
"name": "--rc-list-trailing-size",
|
|
477
|
+
"default": "minmax(0, max-content)"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"description": "Gap before the trailing column.",
|
|
481
|
+
"name": "--rc-list-trailing-gap",
|
|
482
|
+
"default": "1rem"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"description": "Gap between rows.",
|
|
486
|
+
"name": "--rc-list-row-gap",
|
|
487
|
+
"default": "0"
|
|
488
|
+
}
|
|
489
|
+
],
|
|
490
|
+
"cssParts": [
|
|
491
|
+
{
|
|
492
|
+
"description": "Shared list grid.",
|
|
493
|
+
"name": "list"
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
"slots": [
|
|
497
|
+
{
|
|
498
|
+
"description": "Direct `rc-list-item` children.",
|
|
499
|
+
"name": ""
|
|
500
|
+
}
|
|
501
|
+
],
|
|
502
|
+
"members": [
|
|
503
|
+
{
|
|
504
|
+
"kind": "field",
|
|
505
|
+
"name": "_internals",
|
|
506
|
+
"type": {
|
|
507
|
+
"text": "ElementInternals"
|
|
508
|
+
},
|
|
509
|
+
"privacy": "private",
|
|
510
|
+
"readonly": true
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"kind": "field",
|
|
514
|
+
"name": "_syncQueued",
|
|
515
|
+
"type": {
|
|
516
|
+
"text": "boolean"
|
|
517
|
+
},
|
|
518
|
+
"privacy": "private",
|
|
519
|
+
"default": "false"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"kind": "field",
|
|
523
|
+
"name": "_warnedInvalidChildren",
|
|
524
|
+
"privacy": "private",
|
|
525
|
+
"readonly": true,
|
|
526
|
+
"default": "new WeakSet<Element>()"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"kind": "field",
|
|
530
|
+
"name": "_warnedInvalidSelection",
|
|
531
|
+
"privacy": "private",
|
|
532
|
+
"readonly": true,
|
|
533
|
+
"default": "new WeakMap<RCListItem, RCListSelection>()"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"kind": "field",
|
|
537
|
+
"name": "_authoredItemState",
|
|
538
|
+
"privacy": "private",
|
|
539
|
+
"readonly": true,
|
|
540
|
+
"default": "new Map<RCListItem, AuthoredItemState>()"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"kind": "field",
|
|
544
|
+
"name": "_$slot",
|
|
545
|
+
"type": {
|
|
546
|
+
"text": "HTMLSlotElement"
|
|
547
|
+
},
|
|
548
|
+
"privacy": "private"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"kind": "field",
|
|
552
|
+
"name": "_mutationObserver",
|
|
553
|
+
"type": {
|
|
554
|
+
"text": "MutationObserver | null"
|
|
555
|
+
},
|
|
556
|
+
"privacy": "private",
|
|
557
|
+
"default": "null"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"kind": "field",
|
|
561
|
+
"name": "variant",
|
|
562
|
+
"type": {
|
|
563
|
+
"text": "RCListVariant"
|
|
564
|
+
},
|
|
565
|
+
"default": "'standard'",
|
|
566
|
+
"description": "Appearance hint.",
|
|
567
|
+
"attribute": "variant",
|
|
568
|
+
"reflects": true
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"kind": "field",
|
|
572
|
+
"name": "selection",
|
|
573
|
+
"type": {
|
|
574
|
+
"text": "RCListSelection"
|
|
575
|
+
},
|
|
576
|
+
"default": "'none'",
|
|
577
|
+
"description": "Native selection coordination mode.",
|
|
578
|
+
"attribute": "selection",
|
|
579
|
+
"reflects": true
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"kind": "method",
|
|
583
|
+
"name": "_items",
|
|
584
|
+
"privacy": "private",
|
|
585
|
+
"return": {
|
|
586
|
+
"type": {
|
|
587
|
+
"text": "RCListItem[]"
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"kind": "method",
|
|
593
|
+
"name": "_expectedInputType",
|
|
594
|
+
"privacy": "private",
|
|
595
|
+
"return": {
|
|
596
|
+
"type": {
|
|
597
|
+
"text": "'radio' | 'checkbox' | undefined"
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"kind": "method",
|
|
603
|
+
"name": "_inputFor",
|
|
604
|
+
"privacy": "private",
|
|
605
|
+
"return": {
|
|
606
|
+
"type": {
|
|
607
|
+
"text": "HTMLInputElement | null"
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
"parameters": [
|
|
611
|
+
{
|
|
612
|
+
"name": "item",
|
|
613
|
+
"type": {
|
|
614
|
+
"text": "RCListItem"
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
]
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"kind": "method",
|
|
621
|
+
"name": "_queueSync",
|
|
622
|
+
"privacy": "private",
|
|
623
|
+
"return": {
|
|
624
|
+
"type": {
|
|
625
|
+
"text": "void"
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"kind": "method",
|
|
631
|
+
"name": "_syncItems",
|
|
632
|
+
"privacy": "private",
|
|
633
|
+
"return": {
|
|
634
|
+
"type": {
|
|
635
|
+
"text": "void"
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"kind": "method",
|
|
641
|
+
"name": "_restoreItem",
|
|
642
|
+
"privacy": "private",
|
|
643
|
+
"return": {
|
|
644
|
+
"type": {
|
|
645
|
+
"text": "void"
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
"parameters": [
|
|
649
|
+
{
|
|
650
|
+
"name": "$item",
|
|
651
|
+
"type": {
|
|
652
|
+
"text": "RCListItem"
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"name": "state",
|
|
657
|
+
"type": {
|
|
658
|
+
"text": "AuthoredItemState"
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
]
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"kind": "method",
|
|
665
|
+
"name": "_restoreAllItems",
|
|
666
|
+
"privacy": "private",
|
|
667
|
+
"return": {
|
|
668
|
+
"type": {
|
|
669
|
+
"text": "void"
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"kind": "field",
|
|
675
|
+
"name": "_handleChange",
|
|
676
|
+
"privacy": "private",
|
|
677
|
+
"readonly": true
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"kind": "method",
|
|
681
|
+
"name": "_handleSlotChange",
|
|
682
|
+
"privacy": "private",
|
|
683
|
+
"return": {
|
|
684
|
+
"type": {
|
|
685
|
+
"text": "void"
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"kind": "field",
|
|
691
|
+
"name": "role",
|
|
692
|
+
"type": {
|
|
693
|
+
"text": "string"
|
|
694
|
+
},
|
|
695
|
+
"default": "'list'"
|
|
696
|
+
}
|
|
697
|
+
],
|
|
698
|
+
"attributes": [
|
|
699
|
+
{
|
|
700
|
+
"description": "Appearance hint.",
|
|
701
|
+
"name": "variant",
|
|
702
|
+
"type": {
|
|
703
|
+
"text": "RCListVariant"
|
|
704
|
+
},
|
|
705
|
+
"default": "'standard'",
|
|
706
|
+
"fieldName": "variant"
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"description": "Native selection coordination mode.",
|
|
710
|
+
"name": "selection",
|
|
711
|
+
"type": {
|
|
712
|
+
"text": "RCListSelection"
|
|
713
|
+
},
|
|
714
|
+
"default": "'none'",
|
|
715
|
+
"fieldName": "selection"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"description": "Reflected when a visible item uses the leading slot.",
|
|
719
|
+
"name": "has-leading"
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"description": "Reflected when a visible item uses the trailing slot.",
|
|
723
|
+
"name": "has-trailing"
|
|
724
|
+
}
|
|
725
|
+
],
|
|
726
|
+
"superclass": {
|
|
727
|
+
"name": "LitElement",
|
|
728
|
+
"package": "lit"
|
|
729
|
+
},
|
|
730
|
+
"tagName": "rc-list",
|
|
731
|
+
"customElement": true
|
|
732
|
+
}
|
|
733
|
+
],
|
|
734
|
+
"exports": [
|
|
735
|
+
{
|
|
736
|
+
"kind": "js",
|
|
737
|
+
"name": "RCList",
|
|
738
|
+
"declaration": {
|
|
739
|
+
"name": "RCList",
|
|
740
|
+
"module": "src/rc-list.ts"
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
]
|
|
744
|
+
}
|
|
745
|
+
]
|
|
746
|
+
}
|