dotquilt 0.1.1 → 0.2.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/dist/chart-styles.js +1 -1
- package/dist/chart.css +1 -1
- package/dist/custom-elements.json +2248 -0
- package/dist/internal/loading-controller.js +6 -2
- package/dist/internal/morph.js +163 -13
- package/dist/region-styles.js +18 -1
- package/dist/region.css +1 -1
- package/dist/skeleton-family.css +1 -1
- package/dist/skeleton-text.css +1 -1
- package/dist/static-catalog-styles.js +1 -1
- package/dist/table-styles.js +1 -1
- package/dist/table.css +1 -1
- package/dist/text-styles.js +5 -1
- package/dist/text.css +1 -1
- package/dist/web-types.json +1473 -0
- package/dist/wrapper.d.ts +48 -0
- package/dist/wrapper.js +166 -0
- package/package.json +12 -2
|
@@ -0,0 +1,1473 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/web-types",
|
|
3
|
+
"name": "dotquilt",
|
|
4
|
+
"version": "0.2.0",
|
|
5
|
+
"description-markup": "markdown",
|
|
6
|
+
"js-types-syntax": "typescript",
|
|
7
|
+
"contributions": {
|
|
8
|
+
"html": {
|
|
9
|
+
"elements": [
|
|
10
|
+
{
|
|
11
|
+
"name": "dotquilt-skeleton-block",
|
|
12
|
+
"description": "A rectangle of marks for images, charts and other blocks. On handoff the marks travel to the content’s real shape.\n\nImport `registerSkeletonBlock` from `dotquilt/skeleton` and call it once. Docs: https://dotquilt.dev/docs/components/skeleton/",
|
|
13
|
+
"doc-url": "https://dotquilt.dev/docs/components/skeleton/",
|
|
14
|
+
"attributes": [
|
|
15
|
+
{
|
|
16
|
+
"name": "motion",
|
|
17
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks.",
|
|
18
|
+
"value": {
|
|
19
|
+
"kind": "plain",
|
|
20
|
+
"type": "'system' | 'paused'",
|
|
21
|
+
"default": "'system'"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "mark",
|
|
26
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes.",
|
|
27
|
+
"value": {
|
|
28
|
+
"kind": "plain",
|
|
29
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
30
|
+
"default": "'dot'"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "speed",
|
|
35
|
+
"description": "How fast the idle motion runs, from above 0 up to 4.",
|
|
36
|
+
"value": {
|
|
37
|
+
"kind": "plain",
|
|
38
|
+
"type": "number",
|
|
39
|
+
"default": "1"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "pointer-response",
|
|
44
|
+
"description": "`lift` lights the marks around the pointer while the placeholder shows, on devices with a fine pointer.",
|
|
45
|
+
"value": {
|
|
46
|
+
"kind": "plain",
|
|
47
|
+
"type": "'none' | 'lift'",
|
|
48
|
+
"default": "'none'"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "nonce",
|
|
53
|
+
"description": "A CSP nonce for the element's inline styles, read when it connects.",
|
|
54
|
+
"value": {
|
|
55
|
+
"kind": "plain",
|
|
56
|
+
"type": "string"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "data-dotquilt-style-href",
|
|
61
|
+
"description": "Loads the element's styles from this stylesheet instead of inline, read when it connects (for a strict `style-src`).",
|
|
62
|
+
"value": {
|
|
63
|
+
"kind": "plain",
|
|
64
|
+
"type": "string"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"slots": [],
|
|
69
|
+
"js": {
|
|
70
|
+
"properties": [
|
|
71
|
+
{
|
|
72
|
+
"name": "motion",
|
|
73
|
+
"type": "'system' | 'paused'",
|
|
74
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks."
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "mark",
|
|
78
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
79
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes."
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "speed",
|
|
83
|
+
"type": "number",
|
|
84
|
+
"description": "How fast the idle motion runs, from above 0 up to 4."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "pointerResponse",
|
|
88
|
+
"type": "'none' | 'lift'",
|
|
89
|
+
"description": "`lift` lights the marks around the pointer while the placeholder shows, on devices with a fine pointer."
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "stylePolicy",
|
|
93
|
+
"type": "StylePolicy",
|
|
94
|
+
"description": "How the element adds its styles: inline `<style>` (with an optional CSP nonce) or an external stylesheet. Set it before the element connects; the `nonce` attribute sets it too."
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "preset",
|
|
98
|
+
"type": "SkeletonPreset",
|
|
99
|
+
"description": "A named bundle of options from `definePreset()`. Explicit options win over it."
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "animations",
|
|
103
|
+
"type": "Animations<'skeleton'>",
|
|
104
|
+
"description": "The idle and handoff animations, built-in or from `defineAnimation()`."
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"events": [
|
|
108
|
+
{
|
|
109
|
+
"name": "dotquilt-error",
|
|
110
|
+
"type": "CustomEvent<LoaderErrorDetail>",
|
|
111
|
+
"description": "An option was invalid or an animation failed. `detail.code` says which, `detail.field` names the property."
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"css": {
|
|
116
|
+
"parts": [
|
|
117
|
+
{
|
|
118
|
+
"name": "surface",
|
|
119
|
+
"description": "The drawn marks."
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"properties": [
|
|
123
|
+
{
|
|
124
|
+
"name": "--dotquilt-color",
|
|
125
|
+
"description": "The resting marks. Default: `light-dark(#6e7889, #a3afc2)`."
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "--dotquilt-accent-color",
|
|
129
|
+
"description": "The idle glow and the chart handoff. Default: `light-dark(#4f8f93, #8dc4c5)`."
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "--dotquilt-dot-size",
|
|
133
|
+
"description": "Each dot's diameter. Default: `4.4px`."
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "--dotquilt-dot-gap",
|
|
137
|
+
"description": "The space between dots. Default: `4.6px`."
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "--dotquilt-radius",
|
|
141
|
+
"description": "The block's corners. Default: `.375rem`."
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "dotquilt-skeleton-line",
|
|
148
|
+
"description": "One line of text, drawn in marks.\n\nImport `registerSkeletonLine` from `dotquilt/skeleton` and call it once. Docs: https://dotquilt.dev/docs/components/skeleton/",
|
|
149
|
+
"doc-url": "https://dotquilt.dev/docs/components/skeleton/",
|
|
150
|
+
"attributes": [
|
|
151
|
+
{
|
|
152
|
+
"name": "motion",
|
|
153
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks.",
|
|
154
|
+
"value": {
|
|
155
|
+
"kind": "plain",
|
|
156
|
+
"type": "'system' | 'paused'",
|
|
157
|
+
"default": "'system'"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "mark",
|
|
162
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes.",
|
|
163
|
+
"value": {
|
|
164
|
+
"kind": "plain",
|
|
165
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
166
|
+
"default": "'dot'"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "speed",
|
|
171
|
+
"description": "How fast the idle motion runs, from above 0 up to 4.",
|
|
172
|
+
"value": {
|
|
173
|
+
"kind": "plain",
|
|
174
|
+
"type": "number",
|
|
175
|
+
"default": "1"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "pointer-response",
|
|
180
|
+
"description": "`lift` lights the marks around the pointer while the placeholder shows, on devices with a fine pointer.",
|
|
181
|
+
"value": {
|
|
182
|
+
"kind": "plain",
|
|
183
|
+
"type": "'none' | 'lift'",
|
|
184
|
+
"default": "'none'"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "nonce",
|
|
189
|
+
"description": "A CSP nonce for the element's inline styles, read when it connects.",
|
|
190
|
+
"value": {
|
|
191
|
+
"kind": "plain",
|
|
192
|
+
"type": "string"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "data-dotquilt-style-href",
|
|
197
|
+
"description": "Loads the element's styles from this stylesheet instead of inline, read when it connects (for a strict `style-src`).",
|
|
198
|
+
"value": {
|
|
199
|
+
"kind": "plain",
|
|
200
|
+
"type": "string"
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
"slots": [],
|
|
205
|
+
"js": {
|
|
206
|
+
"properties": [
|
|
207
|
+
{
|
|
208
|
+
"name": "motion",
|
|
209
|
+
"type": "'system' | 'paused'",
|
|
210
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks."
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "mark",
|
|
214
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
215
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes."
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "speed",
|
|
219
|
+
"type": "number",
|
|
220
|
+
"description": "How fast the idle motion runs, from above 0 up to 4."
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "pointerResponse",
|
|
224
|
+
"type": "'none' | 'lift'",
|
|
225
|
+
"description": "`lift` lights the marks around the pointer while the placeholder shows, on devices with a fine pointer."
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "stylePolicy",
|
|
229
|
+
"type": "StylePolicy",
|
|
230
|
+
"description": "How the element adds its styles: inline `<style>` (with an optional CSP nonce) or an external stylesheet. Set it before the element connects; the `nonce` attribute sets it too."
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "preset",
|
|
234
|
+
"type": "SkeletonPreset",
|
|
235
|
+
"description": "A named bundle of options from `definePreset()`. Explicit options win over it."
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "animations",
|
|
239
|
+
"type": "Animations<'skeleton'>",
|
|
240
|
+
"description": "The idle and handoff animations, built-in or from `defineAnimation()`."
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"events": [
|
|
244
|
+
{
|
|
245
|
+
"name": "dotquilt-error",
|
|
246
|
+
"type": "CustomEvent<LoaderErrorDetail>",
|
|
247
|
+
"description": "An option was invalid or an animation failed. `detail.code` says which, `detail.field` names the property."
|
|
248
|
+
}
|
|
249
|
+
]
|
|
250
|
+
},
|
|
251
|
+
"css": {
|
|
252
|
+
"parts": [
|
|
253
|
+
{
|
|
254
|
+
"name": "surface",
|
|
255
|
+
"description": "The drawn marks."
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"properties": [
|
|
259
|
+
{
|
|
260
|
+
"name": "--dotquilt-color",
|
|
261
|
+
"description": "The resting marks. Default: `light-dark(#6e7889, #a3afc2)`."
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"name": "--dotquilt-accent-color",
|
|
265
|
+
"description": "The idle glow and the chart handoff. Default: `light-dark(#4f8f93, #8dc4c5)`."
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "--dotquilt-dot-size",
|
|
269
|
+
"description": "Each dot's diameter. Default: `4.4px`."
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "--dotquilt-dot-gap",
|
|
273
|
+
"description": "The space between dots. Default: `4.6px`."
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "--dotquilt-radius",
|
|
277
|
+
"description": "The block's corners. Default: `.375rem`."
|
|
278
|
+
}
|
|
279
|
+
]
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"name": "dotquilt-skeleton-circle",
|
|
284
|
+
"description": "A circle of marks for avatars and icons.\n\nImport `registerSkeletonCircle` from `dotquilt/skeleton` and call it once. Docs: https://dotquilt.dev/docs/components/skeleton/",
|
|
285
|
+
"doc-url": "https://dotquilt.dev/docs/components/skeleton/",
|
|
286
|
+
"attributes": [
|
|
287
|
+
{
|
|
288
|
+
"name": "motion",
|
|
289
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks.",
|
|
290
|
+
"value": {
|
|
291
|
+
"kind": "plain",
|
|
292
|
+
"type": "'system' | 'paused'",
|
|
293
|
+
"default": "'system'"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "mark",
|
|
298
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes.",
|
|
299
|
+
"value": {
|
|
300
|
+
"kind": "plain",
|
|
301
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
302
|
+
"default": "'dot'"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "speed",
|
|
307
|
+
"description": "How fast the idle motion runs, from above 0 up to 4.",
|
|
308
|
+
"value": {
|
|
309
|
+
"kind": "plain",
|
|
310
|
+
"type": "number",
|
|
311
|
+
"default": "1"
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "pointer-response",
|
|
316
|
+
"description": "`lift` lights the marks around the pointer while the placeholder shows, on devices with a fine pointer.",
|
|
317
|
+
"value": {
|
|
318
|
+
"kind": "plain",
|
|
319
|
+
"type": "'none' | 'lift'",
|
|
320
|
+
"default": "'none'"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"name": "nonce",
|
|
325
|
+
"description": "A CSP nonce for the element's inline styles, read when it connects.",
|
|
326
|
+
"value": {
|
|
327
|
+
"kind": "plain",
|
|
328
|
+
"type": "string"
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "data-dotquilt-style-href",
|
|
333
|
+
"description": "Loads the element's styles from this stylesheet instead of inline, read when it connects (for a strict `style-src`).",
|
|
334
|
+
"value": {
|
|
335
|
+
"kind": "plain",
|
|
336
|
+
"type": "string"
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
],
|
|
340
|
+
"slots": [],
|
|
341
|
+
"js": {
|
|
342
|
+
"properties": [
|
|
343
|
+
{
|
|
344
|
+
"name": "motion",
|
|
345
|
+
"type": "'system' | 'paused'",
|
|
346
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks."
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"name": "mark",
|
|
350
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
351
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes."
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"name": "speed",
|
|
355
|
+
"type": "number",
|
|
356
|
+
"description": "How fast the idle motion runs, from above 0 up to 4."
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"name": "pointerResponse",
|
|
360
|
+
"type": "'none' | 'lift'",
|
|
361
|
+
"description": "`lift` lights the marks around the pointer while the placeholder shows, on devices with a fine pointer."
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "stylePolicy",
|
|
365
|
+
"type": "StylePolicy",
|
|
366
|
+
"description": "How the element adds its styles: inline `<style>` (with an optional CSP nonce) or an external stylesheet. Set it before the element connects; the `nonce` attribute sets it too."
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"name": "preset",
|
|
370
|
+
"type": "SkeletonPreset",
|
|
371
|
+
"description": "A named bundle of options from `definePreset()`. Explicit options win over it."
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"name": "animations",
|
|
375
|
+
"type": "Animations<'skeleton'>",
|
|
376
|
+
"description": "The idle and handoff animations, built-in or from `defineAnimation()`."
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"events": [
|
|
380
|
+
{
|
|
381
|
+
"name": "dotquilt-error",
|
|
382
|
+
"type": "CustomEvent<LoaderErrorDetail>",
|
|
383
|
+
"description": "An option was invalid or an animation failed. `detail.code` says which, `detail.field` names the property."
|
|
384
|
+
}
|
|
385
|
+
]
|
|
386
|
+
},
|
|
387
|
+
"css": {
|
|
388
|
+
"parts": [
|
|
389
|
+
{
|
|
390
|
+
"name": "surface",
|
|
391
|
+
"description": "The drawn marks."
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"properties": [
|
|
395
|
+
{
|
|
396
|
+
"name": "--dotquilt-color",
|
|
397
|
+
"description": "The resting marks. Default: `light-dark(#6e7889, #a3afc2)`."
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"name": "--dotquilt-accent-color",
|
|
401
|
+
"description": "The idle glow and the chart handoff. Default: `light-dark(#4f8f93, #8dc4c5)`."
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"name": "--dotquilt-dot-size",
|
|
405
|
+
"description": "Each dot's diameter. Default: `4.4px`."
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"name": "--dotquilt-dot-gap",
|
|
409
|
+
"description": "The space between dots. Default: `4.6px`."
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "--dotquilt-radius",
|
|
413
|
+
"description": "The block's corners. Default: `.375rem`."
|
|
414
|
+
}
|
|
415
|
+
]
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"name": "dotquilt-skeleton-text",
|
|
420
|
+
"description": "A paragraph of lines, drawn in marks.\n\nImport `registerSkeletonText` from `dotquilt/skeleton` and call it once. Docs: https://dotquilt.dev/docs/components/skeleton/",
|
|
421
|
+
"doc-url": "https://dotquilt.dev/docs/components/skeleton/",
|
|
422
|
+
"attributes": [
|
|
423
|
+
{
|
|
424
|
+
"name": "motion",
|
|
425
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks.",
|
|
426
|
+
"value": {
|
|
427
|
+
"kind": "plain",
|
|
428
|
+
"type": "'system' | 'paused'",
|
|
429
|
+
"default": "'system'"
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"name": "mark",
|
|
434
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes.",
|
|
435
|
+
"value": {
|
|
436
|
+
"kind": "plain",
|
|
437
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
438
|
+
"default": "'dot'"
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"name": "speed",
|
|
443
|
+
"description": "How fast the idle motion runs, from above 0 up to 4.",
|
|
444
|
+
"value": {
|
|
445
|
+
"kind": "plain",
|
|
446
|
+
"type": "number",
|
|
447
|
+
"default": "1"
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"name": "pointer-response",
|
|
452
|
+
"description": "`lift` lights the marks around the pointer while the placeholder shows, on devices with a fine pointer.",
|
|
453
|
+
"value": {
|
|
454
|
+
"kind": "plain",
|
|
455
|
+
"type": "'none' | 'lift'",
|
|
456
|
+
"default": "'none'"
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"name": "lines",
|
|
461
|
+
"description": "How many lines, up to 50.",
|
|
462
|
+
"value": {
|
|
463
|
+
"kind": "plain",
|
|
464
|
+
"type": "number",
|
|
465
|
+
"default": "3"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"name": "nonce",
|
|
470
|
+
"description": "A CSP nonce for the element's inline styles, read when it connects.",
|
|
471
|
+
"value": {
|
|
472
|
+
"kind": "plain",
|
|
473
|
+
"type": "string"
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"name": "data-dotquilt-style-href",
|
|
478
|
+
"description": "Loads the element's styles from this stylesheet instead of inline, read when it connects (for a strict `style-src`).",
|
|
479
|
+
"value": {
|
|
480
|
+
"kind": "plain",
|
|
481
|
+
"type": "string"
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
],
|
|
485
|
+
"slots": [],
|
|
486
|
+
"js": {
|
|
487
|
+
"properties": [
|
|
488
|
+
{
|
|
489
|
+
"name": "motion",
|
|
490
|
+
"type": "'system' | 'paused'",
|
|
491
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks."
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"name": "mark",
|
|
495
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
496
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes."
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"name": "speed",
|
|
500
|
+
"type": "number",
|
|
501
|
+
"description": "How fast the idle motion runs, from above 0 up to 4."
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"name": "pointerResponse",
|
|
505
|
+
"type": "'none' | 'lift'",
|
|
506
|
+
"description": "`lift` lights the marks around the pointer while the placeholder shows, on devices with a fine pointer."
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"name": "stylePolicy",
|
|
510
|
+
"type": "StylePolicy",
|
|
511
|
+
"description": "How the element adds its styles: inline `<style>` (with an optional CSP nonce) or an external stylesheet. Set it before the element connects; the `nonce` attribute sets it too."
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"name": "preset",
|
|
515
|
+
"type": "SkeletonPreset",
|
|
516
|
+
"description": "A named bundle of options from `definePreset()`. Explicit options win over it."
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"name": "animations",
|
|
520
|
+
"type": "Animations<'skeleton'>",
|
|
521
|
+
"description": "The idle and handoff animations, built-in or from `defineAnimation()`."
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"name": "lines",
|
|
525
|
+
"type": "number",
|
|
526
|
+
"description": "How many lines, up to 50."
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"name": "widths",
|
|
530
|
+
"type": "readonly number[]",
|
|
531
|
+
"description": "Each line's length as a share of the width, from above 0 to 1. The last line is shorter by default."
|
|
532
|
+
}
|
|
533
|
+
],
|
|
534
|
+
"events": [
|
|
535
|
+
{
|
|
536
|
+
"name": "dotquilt-error",
|
|
537
|
+
"type": "CustomEvent<LoaderErrorDetail>",
|
|
538
|
+
"description": "An option was invalid or an animation failed. `detail.code` says which, `detail.field` names the property."
|
|
539
|
+
}
|
|
540
|
+
]
|
|
541
|
+
},
|
|
542
|
+
"css": {
|
|
543
|
+
"parts": [
|
|
544
|
+
{
|
|
545
|
+
"name": "surface",
|
|
546
|
+
"description": "The drawn marks."
|
|
547
|
+
}
|
|
548
|
+
],
|
|
549
|
+
"properties": [
|
|
550
|
+
{
|
|
551
|
+
"name": "--dotquilt-color",
|
|
552
|
+
"description": "The resting marks. Default: `light-dark(#6e7889, #a3afc2)`."
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"name": "--dotquilt-accent-color",
|
|
556
|
+
"description": "The idle glow and the chart handoff. Default: `light-dark(#4f8f93, #8dc4c5)`."
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"name": "--dotquilt-dot-size",
|
|
560
|
+
"description": "Each dot's diameter. Default: `4.4px`."
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"name": "--dotquilt-dot-gap",
|
|
564
|
+
"description": "The space between dots. Default: `4.6px`."
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"name": "--dotquilt-radius",
|
|
568
|
+
"description": "The block's corners. Default: `.375rem`."
|
|
569
|
+
}
|
|
570
|
+
]
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"name": "dotquilt-typing-dots",
|
|
575
|
+
"description": "A row of dots in a slow wave, for a reply being written. Hidden from assistive technology; announce the status yourself.\n\nImport `registerTypingDots` from `dotquilt/typing` and call it once. Docs: https://dotquilt.dev/docs/components/typing-dots/",
|
|
576
|
+
"doc-url": "https://dotquilt.dev/docs/components/typing-dots/",
|
|
577
|
+
"attributes": [
|
|
578
|
+
{
|
|
579
|
+
"name": "motion",
|
|
580
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks.",
|
|
581
|
+
"value": {
|
|
582
|
+
"kind": "plain",
|
|
583
|
+
"type": "'system' | 'paused'",
|
|
584
|
+
"default": "'system'"
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"name": "mark",
|
|
589
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes.",
|
|
590
|
+
"value": {
|
|
591
|
+
"kind": "plain",
|
|
592
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
593
|
+
"default": "'dot'"
|
|
594
|
+
}
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"name": "speed",
|
|
598
|
+
"description": "How fast the wave moves, up to 4.",
|
|
599
|
+
"value": {
|
|
600
|
+
"kind": "plain",
|
|
601
|
+
"type": "number",
|
|
602
|
+
"default": "1"
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"name": "count",
|
|
607
|
+
"description": "How many dots, up to 8.",
|
|
608
|
+
"value": {
|
|
609
|
+
"kind": "plain",
|
|
610
|
+
"type": "number",
|
|
611
|
+
"default": "3"
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"name": "nonce",
|
|
616
|
+
"description": "A CSP nonce for the element's inline styles, read when it connects.",
|
|
617
|
+
"value": {
|
|
618
|
+
"kind": "plain",
|
|
619
|
+
"type": "string"
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"name": "data-dotquilt-style-href",
|
|
624
|
+
"description": "Loads the element's styles from this stylesheet instead of inline, read when it connects (for a strict `style-src`).",
|
|
625
|
+
"value": {
|
|
626
|
+
"kind": "plain",
|
|
627
|
+
"type": "string"
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
],
|
|
631
|
+
"slots": [],
|
|
632
|
+
"js": {
|
|
633
|
+
"properties": [
|
|
634
|
+
{
|
|
635
|
+
"name": "motion",
|
|
636
|
+
"type": "'system' | 'paused'",
|
|
637
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks."
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"name": "mark",
|
|
641
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
642
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes."
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"name": "speed",
|
|
646
|
+
"type": "number",
|
|
647
|
+
"description": "How fast the wave moves, up to 4."
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"name": "count",
|
|
651
|
+
"type": "number",
|
|
652
|
+
"description": "How many dots, up to 8."
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"name": "stylePolicy",
|
|
656
|
+
"type": "StylePolicy",
|
|
657
|
+
"description": "How the element adds its styles: inline `<style>` (with an optional CSP nonce) or an external stylesheet. Set it before the element connects; the `nonce` attribute sets it too."
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"name": "preset",
|
|
661
|
+
"type": "TypingPreset",
|
|
662
|
+
"description": "A named bundle of options from `definePreset()`. Explicit options win over it."
|
|
663
|
+
}
|
|
664
|
+
],
|
|
665
|
+
"events": [
|
|
666
|
+
{
|
|
667
|
+
"name": "dotquilt-error",
|
|
668
|
+
"type": "CustomEvent<LoaderErrorDetail>",
|
|
669
|
+
"description": "An option was invalid or an animation failed. `detail.code` says which, `detail.field` names the property."
|
|
670
|
+
}
|
|
671
|
+
]
|
|
672
|
+
},
|
|
673
|
+
"css": {
|
|
674
|
+
"parts": [
|
|
675
|
+
{
|
|
676
|
+
"name": "surface",
|
|
677
|
+
"description": "The drawn marks."
|
|
678
|
+
}
|
|
679
|
+
],
|
|
680
|
+
"properties": [
|
|
681
|
+
{
|
|
682
|
+
"name": "--dotquilt-color",
|
|
683
|
+
"description": "The resting marks. Default: `light-dark(#6e7889, #a3afc2)`."
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"name": "--dotquilt-accent-color",
|
|
687
|
+
"description": "The idle glow and the chart handoff. Default: `light-dark(#4f8f93, #8dc4c5)`."
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"name": "--dotquilt-dot-size",
|
|
691
|
+
"description": "Each dot's diameter. Default: `8px`."
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"name": "--dotquilt-dot-gap",
|
|
695
|
+
"description": "The space between dots. Default: `6px`."
|
|
696
|
+
}
|
|
697
|
+
]
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"name": "dotquilt-text-loader",
|
|
702
|
+
"description": "A value in the making: scrambling characters in marks that lock into the real text when it arrives.\n\nImport `registerTextLoader` from `dotquilt/text` and call it once. Docs: https://dotquilt.dev/docs/components/text-loader/",
|
|
703
|
+
"doc-url": "https://dotquilt.dev/docs/components/text-loader/",
|
|
704
|
+
"attributes": [
|
|
705
|
+
{
|
|
706
|
+
"name": "state",
|
|
707
|
+
"description": "Whether the content is loading: `pending` shows the placeholder, `refreshing` keeps the content usable with a quiet cue, `ready` hands over.",
|
|
708
|
+
"value": {
|
|
709
|
+
"kind": "plain",
|
|
710
|
+
"type": "'pending' | 'refreshing' | 'ready'",
|
|
711
|
+
"default": "'ready'"
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"name": "cycle",
|
|
716
|
+
"description": "Names one load, so a stale answer can't settle a newer one.",
|
|
717
|
+
"value": {
|
|
718
|
+
"kind": "plain",
|
|
719
|
+
"type": "string"
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"name": "delay",
|
|
724
|
+
"description": "Milliseconds to wait before showing the placeholder, so fast loads don't flicker. Up to 10000.",
|
|
725
|
+
"value": {
|
|
726
|
+
"kind": "plain",
|
|
727
|
+
"type": "number",
|
|
728
|
+
"default": "0"
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"name": "min-display",
|
|
733
|
+
"description": "Once a placeholder shows, keep it at least this many milliseconds, so it never flashes. Up to 10000.",
|
|
734
|
+
"value": {
|
|
735
|
+
"kind": "plain",
|
|
736
|
+
"type": "number",
|
|
737
|
+
"default": "0"
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"name": "motion",
|
|
742
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks.",
|
|
743
|
+
"value": {
|
|
744
|
+
"kind": "plain",
|
|
745
|
+
"type": "'system' | 'paused'",
|
|
746
|
+
"default": "'system'"
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"name": "mask",
|
|
751
|
+
"description": "The shape the placeholder shows. Defaults to the text itself.",
|
|
752
|
+
"value": {
|
|
753
|
+
"kind": "plain",
|
|
754
|
+
"type": "string"
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"name": "mark",
|
|
759
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes.",
|
|
760
|
+
"value": {
|
|
761
|
+
"kind": "plain",
|
|
762
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
763
|
+
"default": "'dot'"
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"name": "speed",
|
|
768
|
+
"description": "How fast the characters change, up to 4.",
|
|
769
|
+
"value": {
|
|
770
|
+
"kind": "plain",
|
|
771
|
+
"type": "number",
|
|
772
|
+
"default": "1"
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"name": "pointer-response",
|
|
777
|
+
"description": "`lift` lights the marks around the pointer while the placeholder shows, on devices with a fine pointer.",
|
|
778
|
+
"value": {
|
|
779
|
+
"kind": "plain",
|
|
780
|
+
"type": "'none' | 'lift'",
|
|
781
|
+
"default": "'none'"
|
|
782
|
+
}
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"name": "nonce",
|
|
786
|
+
"description": "A CSP nonce for the element's inline styles, read when it connects.",
|
|
787
|
+
"value": {
|
|
788
|
+
"kind": "plain",
|
|
789
|
+
"type": "string"
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"name": "data-dotquilt-style-href",
|
|
794
|
+
"description": "Loads the element's styles from this stylesheet instead of inline, read when it connects (for a strict `style-src`).",
|
|
795
|
+
"value": {
|
|
796
|
+
"kind": "plain",
|
|
797
|
+
"type": "string"
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
],
|
|
801
|
+
"slots": [
|
|
802
|
+
{
|
|
803
|
+
"name": "placeholder",
|
|
804
|
+
"description": "Server-rendered mask markup; the element draws its own placeholder once styled."
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
"name": "refresh-indicator",
|
|
808
|
+
"description": "Your own cue while refreshing."
|
|
809
|
+
}
|
|
810
|
+
],
|
|
811
|
+
"js": {
|
|
812
|
+
"properties": [
|
|
813
|
+
{
|
|
814
|
+
"name": "state",
|
|
815
|
+
"type": "'pending' | 'refreshing' | 'ready'",
|
|
816
|
+
"description": "Whether the content is loading: `pending` shows the placeholder, `refreshing` keeps the content usable with a quiet cue, `ready` hands over."
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "cycle",
|
|
820
|
+
"type": "string",
|
|
821
|
+
"description": "Names one load, so a stale answer can't settle a newer one."
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"name": "delay",
|
|
825
|
+
"type": "number",
|
|
826
|
+
"description": "Milliseconds to wait before showing the placeholder, so fast loads don't flicker. Up to 10000."
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
"name": "minDisplay",
|
|
830
|
+
"type": "number",
|
|
831
|
+
"description": "Once a placeholder shows, keep it at least this many milliseconds, so it never flashes. Up to 10000."
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"name": "timing",
|
|
835
|
+
"type": "Timing",
|
|
836
|
+
"description": "The handoff's length and curve. `{ duration: 0 }` swaps at once, for errors."
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"name": "revealTargets",
|
|
840
|
+
"type": "readonly RevealTarget[]",
|
|
841
|
+
"description": "Parts of the content that settle in turn under a custom handoff, or a TableLoader with a `targetProvider`."
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"name": "presentation",
|
|
845
|
+
"type": "'pending' | 'refreshing' | 'ready' | 'handoff'",
|
|
846
|
+
"description": "What is on screen right now, including a handoff in progress.",
|
|
847
|
+
"read-only": true
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"name": "motion",
|
|
851
|
+
"type": "'system' | 'paused'",
|
|
852
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks."
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"name": "stylePolicy",
|
|
856
|
+
"type": "StylePolicy",
|
|
857
|
+
"description": "How the element adds its styles: inline `<style>` (with an optional CSP nonce) or an external stylesheet. Set it before the element connects; the `nonce` attribute sets it too."
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"name": "mask",
|
|
861
|
+
"type": "string",
|
|
862
|
+
"description": "The shape the placeholder shows. Defaults to the text itself."
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"name": "mark",
|
|
866
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
867
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes."
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
"name": "speed",
|
|
871
|
+
"type": "number",
|
|
872
|
+
"description": "How fast the characters change, up to 4."
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"name": "pointerResponse",
|
|
876
|
+
"type": "'none' | 'lift'",
|
|
877
|
+
"description": "`lift` lights the marks around the pointer while the placeholder shows, on devices with a fine pointer."
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"name": "preset",
|
|
881
|
+
"type": "TextPreset",
|
|
882
|
+
"description": "A named bundle of options from `definePreset()`. Explicit options win over it."
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
"name": "animations",
|
|
886
|
+
"type": "Animations<'text'>",
|
|
887
|
+
"description": "The idle and handoff animations, built-in or from `defineAnimation()`."
|
|
888
|
+
}
|
|
889
|
+
],
|
|
890
|
+
"events": [
|
|
891
|
+
{
|
|
892
|
+
"name": "dotquilt-handoff-start",
|
|
893
|
+
"type": "CustomEvent<HandoffDetail>",
|
|
894
|
+
"description": "The handoff from the placeholder to the content begins."
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"name": "dotquilt-handoff-end",
|
|
898
|
+
"type": "CustomEvent<HandoffDetail>",
|
|
899
|
+
"description": "The handoff finished. `detail.reason` is `complete`, or why it swapped at once."
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"name": "dotquilt-handoff-cancel",
|
|
903
|
+
"type": "CustomEvent<HandoffDetail>",
|
|
904
|
+
"description": "A newer state or cycle replaced the handoff."
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"name": "dotquilt-error",
|
|
908
|
+
"type": "CustomEvent<LoaderErrorDetail>",
|
|
909
|
+
"description": "An option was invalid or an animation failed. `detail.code` says which, `detail.field` names the property."
|
|
910
|
+
}
|
|
911
|
+
]
|
|
912
|
+
},
|
|
913
|
+
"css": {
|
|
914
|
+
"parts": [
|
|
915
|
+
{
|
|
916
|
+
"name": "content",
|
|
917
|
+
"description": "The layer holding the real text."
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"name": "placeholder",
|
|
921
|
+
"description": "The placeholder layer."
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"name": "refresh-indicator",
|
|
925
|
+
"description": "The refresh cue layer."
|
|
926
|
+
}
|
|
927
|
+
],
|
|
928
|
+
"properties": [
|
|
929
|
+
{
|
|
930
|
+
"name": "--dotquilt-color",
|
|
931
|
+
"description": "The resting marks. Default: `light-dark(#6e7889, #a3afc2)`."
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"name": "--dotquilt-accent-color",
|
|
935
|
+
"description": "The idle glow and the chart handoff. Default: `light-dark(#4f8f93, #8dc4c5)`."
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"name": "--dotquilt-dot-size",
|
|
939
|
+
"description": "Each dot's diameter. Default: `4.4px`."
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"name": "--dotquilt-dot-gap",
|
|
943
|
+
"description": "The space between dots. Default: `4.6px`."
|
|
944
|
+
}
|
|
945
|
+
]
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"name": "dotquilt-chart-loader",
|
|
950
|
+
"description": "A field of marks that takes the shape of a chart, then hands over to the real one.\n\nImport `registerChartLoader` from `dotquilt/chart` and call it once. Docs: https://dotquilt.dev/docs/components/chart-loader/",
|
|
951
|
+
"doc-url": "https://dotquilt.dev/docs/components/chart-loader/",
|
|
952
|
+
"attributes": [
|
|
953
|
+
{
|
|
954
|
+
"name": "variant",
|
|
955
|
+
"description": "The kind of chart it stands in for.",
|
|
956
|
+
"value": {
|
|
957
|
+
"kind": "plain",
|
|
958
|
+
"type": "'line' | 'bar' | 'scatter'",
|
|
959
|
+
"default": "'line'"
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"name": "motion",
|
|
964
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks.",
|
|
965
|
+
"value": {
|
|
966
|
+
"kind": "plain",
|
|
967
|
+
"type": "'system' | 'paused'",
|
|
968
|
+
"default": "'system'"
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"name": "mark",
|
|
973
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes.",
|
|
974
|
+
"value": {
|
|
975
|
+
"kind": "plain",
|
|
976
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
977
|
+
"default": "'dot'"
|
|
978
|
+
}
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"name": "speed",
|
|
982
|
+
"description": "How fast the ridge and glow move, up to 4.",
|
|
983
|
+
"value": {
|
|
984
|
+
"kind": "plain",
|
|
985
|
+
"type": "number",
|
|
986
|
+
"default": "1"
|
|
987
|
+
}
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"name": "pointer-response",
|
|
991
|
+
"description": "`lift` lights the marks around the pointer while the placeholder shows, on devices with a fine pointer.",
|
|
992
|
+
"value": {
|
|
993
|
+
"kind": "plain",
|
|
994
|
+
"type": "'none' | 'lift'",
|
|
995
|
+
"default": "'none'"
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"name": "nonce",
|
|
1000
|
+
"description": "A CSP nonce for the element's inline styles, read when it connects.",
|
|
1001
|
+
"value": {
|
|
1002
|
+
"kind": "plain",
|
|
1003
|
+
"type": "string"
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"name": "data-dotquilt-style-href",
|
|
1008
|
+
"description": "Loads the element's styles from this stylesheet instead of inline, read when it connects (for a strict `style-src`).",
|
|
1009
|
+
"value": {
|
|
1010
|
+
"kind": "plain",
|
|
1011
|
+
"type": "string"
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
],
|
|
1015
|
+
"slots": [],
|
|
1016
|
+
"js": {
|
|
1017
|
+
"properties": [
|
|
1018
|
+
{
|
|
1019
|
+
"name": "variant",
|
|
1020
|
+
"type": "'line' | 'bar' | 'scatter'",
|
|
1021
|
+
"description": "The kind of chart it stands in for."
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
"name": "targetProvider",
|
|
1025
|
+
"type": "TargetProvider",
|
|
1026
|
+
"description": "Where the real chart is, for the handoff."
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
"name": "motion",
|
|
1030
|
+
"type": "'system' | 'paused'",
|
|
1031
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks."
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"name": "mark",
|
|
1035
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
1036
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes."
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"name": "speed",
|
|
1040
|
+
"type": "number",
|
|
1041
|
+
"description": "How fast the ridge and glow move, up to 4."
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
"name": "pointerResponse",
|
|
1045
|
+
"type": "'none' | 'lift'",
|
|
1046
|
+
"description": "`lift` lights the marks around the pointer while the placeholder shows, on devices with a fine pointer."
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"name": "stylePolicy",
|
|
1050
|
+
"type": "StylePolicy",
|
|
1051
|
+
"description": "How the element adds its styles: inline `<style>` (with an optional CSP nonce) or an external stylesheet. Set it before the element connects; the `nonce` attribute sets it too."
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"name": "preset",
|
|
1055
|
+
"type": "ChartPreset",
|
|
1056
|
+
"description": "A named bundle of options from `definePreset()`. Explicit options win over it."
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"name": "animations",
|
|
1060
|
+
"type": "Animations<'chart'>",
|
|
1061
|
+
"description": "The idle and handoff animations, built-in or from `defineAnimation()`."
|
|
1062
|
+
}
|
|
1063
|
+
],
|
|
1064
|
+
"events": [
|
|
1065
|
+
{
|
|
1066
|
+
"name": "dotquilt-error",
|
|
1067
|
+
"type": "CustomEvent<LoaderErrorDetail>",
|
|
1068
|
+
"description": "An option was invalid or an animation failed. `detail.code` says which, `detail.field` names the property."
|
|
1069
|
+
}
|
|
1070
|
+
]
|
|
1071
|
+
},
|
|
1072
|
+
"css": {
|
|
1073
|
+
"parts": [
|
|
1074
|
+
{
|
|
1075
|
+
"name": "surface",
|
|
1076
|
+
"description": "The drawn marks."
|
|
1077
|
+
}
|
|
1078
|
+
],
|
|
1079
|
+
"properties": [
|
|
1080
|
+
{
|
|
1081
|
+
"name": "--dotquilt-color",
|
|
1082
|
+
"description": "The resting marks. Default: `light-dark(#6e7889, #a3afc2)`."
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"name": "--dotquilt-accent-color",
|
|
1086
|
+
"description": "The idle glow and the chart handoff. Default: `light-dark(#4f8f93, #8dc4c5)`."
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
"name": "--dotquilt-dot-size",
|
|
1090
|
+
"description": "Each dot's diameter. Default: `4.4px`."
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"name": "--dotquilt-dot-gap",
|
|
1094
|
+
"description": "The space between dots. Default: `4.6px`."
|
|
1095
|
+
}
|
|
1096
|
+
]
|
|
1097
|
+
}
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"name": "dotquilt-table-loader",
|
|
1101
|
+
"description": "Rows of marks shaped like your columns, that gather into each cell’s real text on handoff.\n\nImport `registerTableLoader` from `dotquilt/table` and call it once. Docs: https://dotquilt.dev/docs/components/table-loader/",
|
|
1102
|
+
"doc-url": "https://dotquilt.dev/docs/components/table-loader/",
|
|
1103
|
+
"attributes": [
|
|
1104
|
+
{
|
|
1105
|
+
"name": "rows",
|
|
1106
|
+
"description": "How many rows to show, up to 100.",
|
|
1107
|
+
"value": {
|
|
1108
|
+
"kind": "plain",
|
|
1109
|
+
"type": "number",
|
|
1110
|
+
"default": "5"
|
|
1111
|
+
}
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"name": "row-height",
|
|
1115
|
+
"description": "Row height in pixels.",
|
|
1116
|
+
"value": {
|
|
1117
|
+
"kind": "plain",
|
|
1118
|
+
"type": "number",
|
|
1119
|
+
"default": "32"
|
|
1120
|
+
}
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
"name": "motion",
|
|
1124
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks.",
|
|
1125
|
+
"value": {
|
|
1126
|
+
"kind": "plain",
|
|
1127
|
+
"type": "'system' | 'paused'",
|
|
1128
|
+
"default": "'system'"
|
|
1129
|
+
}
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"name": "mark",
|
|
1133
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes.",
|
|
1134
|
+
"value": {
|
|
1135
|
+
"kind": "plain",
|
|
1136
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
1137
|
+
"default": "'dot'"
|
|
1138
|
+
}
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
"name": "speed",
|
|
1142
|
+
"description": "How fast the glow moves, up to 4.",
|
|
1143
|
+
"value": {
|
|
1144
|
+
"kind": "plain",
|
|
1145
|
+
"type": "number",
|
|
1146
|
+
"default": "1"
|
|
1147
|
+
}
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"name": "pointer-response",
|
|
1151
|
+
"description": "`lift` lights the marks around the pointer while the placeholder shows, on devices with a fine pointer.",
|
|
1152
|
+
"value": {
|
|
1153
|
+
"kind": "plain",
|
|
1154
|
+
"type": "'none' | 'lift'",
|
|
1155
|
+
"default": "'none'"
|
|
1156
|
+
}
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"name": "nonce",
|
|
1160
|
+
"description": "A CSP nonce for the element's inline styles, read when it connects.",
|
|
1161
|
+
"value": {
|
|
1162
|
+
"kind": "plain",
|
|
1163
|
+
"type": "string"
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"name": "data-dotquilt-style-href",
|
|
1168
|
+
"description": "Loads the element's styles from this stylesheet instead of inline, read when it connects (for a strict `style-src`).",
|
|
1169
|
+
"value": {
|
|
1170
|
+
"kind": "plain",
|
|
1171
|
+
"type": "string"
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
],
|
|
1175
|
+
"slots": [],
|
|
1176
|
+
"js": {
|
|
1177
|
+
"properties": [
|
|
1178
|
+
{
|
|
1179
|
+
"name": "rows",
|
|
1180
|
+
"type": "number",
|
|
1181
|
+
"description": "How many rows to show, up to 100."
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
"name": "rowHeight",
|
|
1185
|
+
"type": "number",
|
|
1186
|
+
"description": "Row height in pixels."
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
"name": "columns",
|
|
1190
|
+
"type": "readonly TableColumn[]",
|
|
1191
|
+
"description": "What each column holds (`text`, `number`, `badge` or `date`) and its share of the width. Up to 20; three text columns by default."
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"name": "targetProvider",
|
|
1195
|
+
"type": "TableTargetProvider",
|
|
1196
|
+
"description": "Where the real cells are, for the `rows` handoff."
|
|
1197
|
+
},
|
|
1198
|
+
{
|
|
1199
|
+
"name": "motion",
|
|
1200
|
+
"type": "'system' | 'paused'",
|
|
1201
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills the marks."
|
|
1202
|
+
},
|
|
1203
|
+
{
|
|
1204
|
+
"name": "mark",
|
|
1205
|
+
"type": "'dot' | 'dash' | 'square'",
|
|
1206
|
+
"description": "The shape of each mark. Dashes suit text lines and table rows; squares stay crisp at small sizes."
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"name": "speed",
|
|
1210
|
+
"type": "number",
|
|
1211
|
+
"description": "How fast the glow moves, up to 4."
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"name": "pointerResponse",
|
|
1215
|
+
"type": "'none' | 'lift'",
|
|
1216
|
+
"description": "`lift` lights the marks around the pointer while the placeholder shows, on devices with a fine pointer."
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
"name": "stylePolicy",
|
|
1220
|
+
"type": "StylePolicy",
|
|
1221
|
+
"description": "How the element adds its styles: inline `<style>` (with an optional CSP nonce) or an external stylesheet. Set it before the element connects; the `nonce` attribute sets it too."
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"name": "preset",
|
|
1225
|
+
"type": "TablePreset",
|
|
1226
|
+
"description": "A named bundle of options from `definePreset()`. Explicit options win over it."
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"name": "animations",
|
|
1230
|
+
"type": "Animations<'table'>",
|
|
1231
|
+
"description": "The idle and handoff animations, built-in or from `defineAnimation()`."
|
|
1232
|
+
}
|
|
1233
|
+
],
|
|
1234
|
+
"events": [
|
|
1235
|
+
{
|
|
1236
|
+
"name": "dotquilt-error",
|
|
1237
|
+
"type": "CustomEvent<LoaderErrorDetail>",
|
|
1238
|
+
"description": "An option was invalid or an animation failed. `detail.code` says which, `detail.field` names the property."
|
|
1239
|
+
}
|
|
1240
|
+
]
|
|
1241
|
+
},
|
|
1242
|
+
"css": {
|
|
1243
|
+
"parts": [
|
|
1244
|
+
{
|
|
1245
|
+
"name": "surface",
|
|
1246
|
+
"description": "The drawn marks."
|
|
1247
|
+
}
|
|
1248
|
+
],
|
|
1249
|
+
"properties": [
|
|
1250
|
+
{
|
|
1251
|
+
"name": "--dotquilt-color",
|
|
1252
|
+
"description": "The resting marks. Default: `light-dark(#6e7889, #a3afc2)`."
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"name": "--dotquilt-accent-color",
|
|
1256
|
+
"description": "The idle glow and the chart handoff. Default: `light-dark(#4f8f93, #8dc4c5)`."
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"name": "--dotquilt-dot-size",
|
|
1260
|
+
"description": "Each dot's diameter. Default: `4.4px`."
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"name": "--dotquilt-dot-gap",
|
|
1264
|
+
"description": "The space between dots. Default: `4.6px`."
|
|
1265
|
+
}
|
|
1266
|
+
]
|
|
1267
|
+
}
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"name": "dotquilt-region",
|
|
1271
|
+
"description": "Wraps content that loads: shows its placeholder while pending, keeps the content inert and hidden from assistive technology, then hands over to it.\n\nImport `registerLoadingRegion` from `dotquilt/region` and call it once. Docs: https://dotquilt.dev/docs/components/loading-region/",
|
|
1272
|
+
"doc-url": "https://dotquilt.dev/docs/components/loading-region/",
|
|
1273
|
+
"attributes": [
|
|
1274
|
+
{
|
|
1275
|
+
"name": "state",
|
|
1276
|
+
"description": "Whether the content is loading: `pending` shows the placeholder, `refreshing` keeps the content usable with a quiet cue, `ready` hands over.",
|
|
1277
|
+
"value": {
|
|
1278
|
+
"kind": "plain",
|
|
1279
|
+
"type": "'pending' | 'refreshing' | 'ready'",
|
|
1280
|
+
"default": "'ready'"
|
|
1281
|
+
}
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"name": "cycle",
|
|
1285
|
+
"description": "Names one load, so a stale answer can't settle a newer one.",
|
|
1286
|
+
"value": {
|
|
1287
|
+
"kind": "plain",
|
|
1288
|
+
"type": "string"
|
|
1289
|
+
}
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"name": "delay",
|
|
1293
|
+
"description": "Milliseconds to wait before showing the placeholder, so fast loads don't flicker. Up to 10000.",
|
|
1294
|
+
"value": {
|
|
1295
|
+
"kind": "plain",
|
|
1296
|
+
"type": "number",
|
|
1297
|
+
"default": "0"
|
|
1298
|
+
}
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
"name": "min-display",
|
|
1302
|
+
"description": "Once a placeholder shows, keep it at least this many milliseconds, so it never flashes. Up to 10000.",
|
|
1303
|
+
"value": {
|
|
1304
|
+
"kind": "plain",
|
|
1305
|
+
"type": "number",
|
|
1306
|
+
"default": "0"
|
|
1307
|
+
}
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
"name": "motion",
|
|
1311
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills every loader inside.",
|
|
1312
|
+
"value": {
|
|
1313
|
+
"kind": "plain",
|
|
1314
|
+
"type": "'system' | 'paused'",
|
|
1315
|
+
"default": "'system'"
|
|
1316
|
+
}
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"name": "nonce",
|
|
1320
|
+
"description": "A CSP nonce for the element's inline styles, read when it connects.",
|
|
1321
|
+
"value": {
|
|
1322
|
+
"kind": "plain",
|
|
1323
|
+
"type": "string"
|
|
1324
|
+
}
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"name": "data-dotquilt-style-href",
|
|
1328
|
+
"description": "Loads the element's styles from this stylesheet instead of inline, read when it connects (for a strict `style-src`).",
|
|
1329
|
+
"value": {
|
|
1330
|
+
"kind": "plain",
|
|
1331
|
+
"type": "string"
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
],
|
|
1335
|
+
"slots": [
|
|
1336
|
+
{
|
|
1337
|
+
"name": "placeholder",
|
|
1338
|
+
"description": "The loader shown while pending."
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
"name": "refresh-indicator",
|
|
1342
|
+
"description": "Your own cue while refreshing, in place of the row of marks."
|
|
1343
|
+
}
|
|
1344
|
+
],
|
|
1345
|
+
"js": {
|
|
1346
|
+
"properties": [
|
|
1347
|
+
{
|
|
1348
|
+
"name": "state",
|
|
1349
|
+
"type": "'pending' | 'refreshing' | 'ready'",
|
|
1350
|
+
"description": "Whether the content is loading: `pending` shows the placeholder, `refreshing` keeps the content usable with a quiet cue, `ready` hands over."
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"name": "cycle",
|
|
1354
|
+
"type": "string",
|
|
1355
|
+
"description": "Names one load, so a stale answer can't settle a newer one."
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
"name": "delay",
|
|
1359
|
+
"type": "number",
|
|
1360
|
+
"description": "Milliseconds to wait before showing the placeholder, so fast loads don't flicker. Up to 10000."
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
"name": "minDisplay",
|
|
1364
|
+
"type": "number",
|
|
1365
|
+
"description": "Once a placeholder shows, keep it at least this many milliseconds, so it never flashes. Up to 10000."
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
"name": "timing",
|
|
1369
|
+
"type": "Timing",
|
|
1370
|
+
"description": "The handoff's length and curve. `{ duration: 0 }` swaps at once, for errors."
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"name": "revealTargets",
|
|
1374
|
+
"type": "readonly RevealTarget[]",
|
|
1375
|
+
"description": "Parts of the content that settle in turn under a custom handoff, or a TableLoader with a `targetProvider`."
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
"name": "presentation",
|
|
1379
|
+
"type": "'pending' | 'refreshing' | 'ready' | 'handoff'",
|
|
1380
|
+
"description": "What is on screen right now, including a handoff in progress.",
|
|
1381
|
+
"read-only": true
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
"name": "motion",
|
|
1385
|
+
"type": "'system' | 'paused'",
|
|
1386
|
+
"description": "`system` follows the visitor's reduced-motion setting; `paused` stills every loader inside."
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"name": "stylePolicy",
|
|
1390
|
+
"type": "StylePolicy",
|
|
1391
|
+
"description": "How the element adds its styles: inline `<style>` (with an optional CSP nonce) or an external stylesheet. Set it before the element connects; the `nonce` attribute sets it too."
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"name": "preset",
|
|
1395
|
+
"type": "RegionPreset",
|
|
1396
|
+
"description": "A named bundle of options from `definePreset()`. Explicit options win over it."
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"name": "animations",
|
|
1400
|
+
"type": "Pick<Animations<'region'>, 'handoff'>",
|
|
1401
|
+
"description": "The idle and handoff animations, built-in or from `defineAnimation()`."
|
|
1402
|
+
}
|
|
1403
|
+
],
|
|
1404
|
+
"events": [
|
|
1405
|
+
{
|
|
1406
|
+
"name": "dotquilt-handoff-start",
|
|
1407
|
+
"type": "CustomEvent<HandoffDetail>",
|
|
1408
|
+
"description": "The handoff from the placeholder to the content begins."
|
|
1409
|
+
},
|
|
1410
|
+
{
|
|
1411
|
+
"name": "dotquilt-handoff-end",
|
|
1412
|
+
"type": "CustomEvent<HandoffDetail>",
|
|
1413
|
+
"description": "The handoff finished. `detail.reason` is `complete`, or why it swapped at once."
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
"name": "dotquilt-handoff-cancel",
|
|
1417
|
+
"type": "CustomEvent<HandoffDetail>",
|
|
1418
|
+
"description": "A newer state or cycle replaced the handoff."
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
"name": "dotquilt-error",
|
|
1422
|
+
"type": "CustomEvent<LoaderErrorDetail>",
|
|
1423
|
+
"description": "An option was invalid or an animation failed. `detail.code` says which, `detail.field` names the property."
|
|
1424
|
+
}
|
|
1425
|
+
]
|
|
1426
|
+
},
|
|
1427
|
+
"css": {
|
|
1428
|
+
"parts": [
|
|
1429
|
+
{
|
|
1430
|
+
"name": "content",
|
|
1431
|
+
"description": "The layer holding your content."
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
"name": "placeholder",
|
|
1435
|
+
"description": "The placeholder layer."
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
"name": "refresh-indicator",
|
|
1439
|
+
"description": "The refresh cue layer."
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
"name": "refresh-thread",
|
|
1443
|
+
"description": "The row of marks above the top edge while refreshing."
|
|
1444
|
+
}
|
|
1445
|
+
],
|
|
1446
|
+
"properties": [
|
|
1447
|
+
{
|
|
1448
|
+
"name": "--dotquilt-color",
|
|
1449
|
+
"description": "The resting marks. Default: `light-dark(#6e7889, #a3afc2)`."
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"name": "--dotquilt-accent-color",
|
|
1453
|
+
"description": "The idle glow and the chart handoff. Default: `light-dark(#4f8f93, #8dc4c5)`."
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"name": "--dotquilt-dot-size",
|
|
1457
|
+
"description": "Each dot's diameter. Default: `4.4px`."
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"name": "--dotquilt-dot-gap",
|
|
1461
|
+
"description": "The space between dots. Default: `4.6px`."
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"name": "--dotquilt-refresh-gap",
|
|
1465
|
+
"description": "How far above a refreshing region its row of marks sits. Default: `6px`."
|
|
1466
|
+
}
|
|
1467
|
+
]
|
|
1468
|
+
}
|
|
1469
|
+
}
|
|
1470
|
+
]
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1473
|
+
}
|