luxen-ui 0.21.4 → 0.22.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/cdn/chunks/lit-html.js +1 -1
- package/cdn/chunks/lit-html.js.map +1 -1
- package/cdn/custom-elements.json +693 -670
- package/cdn/elements/alert-dialog/alert-dialog.d.ts +1 -0
- package/cdn/elements/alert-dialog/alert-dialog.d.ts.map +1 -1
- package/cdn/elements/alert-dialog/alert-dialog.js.map +1 -1
- package/cdn/elements/avatar/avatar.js +1 -1
- package/cdn/elements/color-scheme-icon/color-scheme-icon.js +1 -1
- package/cdn/elements/dialog/dialog.d.ts +1 -0
- package/cdn/elements/dialog/dialog.d.ts.map +1 -1
- package/cdn/elements/dialog/dialog.js.map +1 -1
- package/cdn/elements/dialog/dialog.styles.js +1 -1
- package/cdn/elements/dialog/dialog.styles.js.map +1 -1
- package/cdn/elements/drawer/drawer.d.ts +2 -1
- package/cdn/elements/drawer/drawer.d.ts.map +1 -1
- package/cdn/elements/drawer/drawer.js +1 -1
- package/cdn/elements/drawer/drawer.js.map +1 -1
- package/cdn/elements/tree/tree.d.ts +6 -0
- package/cdn/elements/tree/tree.d.ts.map +1 -1
- package/cdn/elements/tree/tree.js +1 -1
- package/cdn/elements/tree/tree.js.map +1 -1
- package/cdn/elements/tree-item/tree-item.d.ts +17 -2
- package/cdn/elements/tree-item/tree-item.d.ts.map +1 -1
- package/cdn/elements/tree-item/tree-item.js +4 -4
- package/cdn/elements/tree-item/tree-item.js.map +1 -1
- package/dist/custom-elements.json +693 -670
- package/dist/elements/alert-dialog/alert-dialog.d.ts +1 -0
- package/dist/elements/alert-dialog/alert-dialog.d.ts.map +1 -1
- package/dist/elements/alert-dialog/alert-dialog.js +1 -0
- package/dist/elements/dialog/dialog.css +18 -1
- package/dist/elements/dialog/dialog.d.ts +1 -0
- package/dist/elements/dialog/dialog.d.ts.map +1 -1
- package/dist/elements/dialog/dialog.js +1 -0
- package/dist/elements/drawer/drawer.css +11 -0
- package/dist/elements/drawer/drawer.d.ts +2 -1
- package/dist/elements/drawer/drawer.d.ts.map +1 -1
- package/dist/elements/drawer/drawer.js +2 -1
- package/dist/elements/tree/tree.d.ts +6 -0
- package/dist/elements/tree/tree.d.ts.map +1 -1
- package/dist/elements/tree/tree.js +24 -8
- package/dist/elements/tree-item/tree-item.d.ts +17 -2
- package/dist/elements/tree-item/tree-item.d.ts.map +1 -1
- package/dist/elements/tree-item/tree-item.js +31 -8
- package/dist/metadata/alert-dialog.json +5 -0
- package/dist/metadata/dialog.json +5 -0
- package/dist/metadata/drawer.json +5 -0
- package/dist/metadata/index.json +18 -3
- package/dist/metadata/tree-item.json +1 -1
- package/dist/metadata/tree.json +1 -1
- package/dist/templates/elements/alert-dialog.md +1 -0
- package/dist/templates/elements/dialog.md +1 -0
- package/dist/templates/elements/drawer.md +1 -0
- package/dist/templates/elements/tree-item.md +2 -1
- package/dist/templates/elements/tree.md +11 -0
- package/package.json +1 -1
- package/templates/SKILL.md.tpl +2 -1
package/cdn/custom-elements.json
CHANGED
|
@@ -4,438 +4,144 @@
|
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "javascript-module",
|
|
7
|
-
"path": "src/html/elements/alert
|
|
7
|
+
"path": "src/html/elements/alert/alert.ts",
|
|
8
8
|
"declarations": [
|
|
9
9
|
{
|
|
10
10
|
"kind": "class",
|
|
11
|
-
"description": "
|
|
12
|
-
"name": "
|
|
13
|
-
"superclass": {
|
|
14
|
-
"name": "Event",
|
|
15
|
-
"module": "src/html/elements/alert-dialog/alert-dialog.ts"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"kind": "class",
|
|
20
|
-
"description": "Fired when the user dismisses an alert dialog (the cancel action, Escape, or a\nclose request). Cancelable — call `event.preventDefault()` to keep it open.\n\nDoes not bubble and is not composed: listen on the element itself.",
|
|
21
|
-
"name": "CancelEvent",
|
|
22
|
-
"superclass": {
|
|
23
|
-
"name": "Event",
|
|
24
|
-
"module": "src/html/elements/alert-dialog/alert-dialog.ts"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"kind": "class",
|
|
29
|
-
"description": "An interruptive confirmation dialog built on `<l-dialog>`. Renders its own\ncancel/confirm actions and exposes `role=\"alertdialog\"`. Use it to confirm a\nconsequential action (delete, publish, discard) — not for generic content.\n\nOpen and close by toggling the `open` property (or the `--show` / `--hide`\nInvoker commands). The dialog closes automatically when the user picks an\naction, unless the matching `confirm` / `cancel` event is canceled.",
|
|
30
|
-
"name": "AlertDialog",
|
|
11
|
+
"description": "",
|
|
12
|
+
"name": "Alert",
|
|
31
13
|
"cssProperties": [
|
|
32
14
|
{
|
|
33
|
-
"description": "
|
|
34
|
-
"name": "--
|
|
35
|
-
"default": "
|
|
36
|
-
"inheritedFrom": {
|
|
37
|
-
"name": "Dialog",
|
|
38
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"description": "Dialog border radius.",
|
|
43
|
-
"name": "--border-radius",
|
|
44
|
-
"default": "6px",
|
|
45
|
-
"inheritedFrom": {
|
|
46
|
-
"name": "Dialog",
|
|
47
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"description": "Padding applied to the header, footer, and inline-padding of the body.",
|
|
52
|
-
"name": "--padding",
|
|
53
|
-
"default": "1.5rem",
|
|
54
|
-
"inheritedFrom": {
|
|
55
|
-
"name": "Dialog",
|
|
56
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"description": "Open transition duration.",
|
|
61
|
-
"name": "--show-duration",
|
|
62
|
-
"default": "200ms",
|
|
63
|
-
"inheritedFrom": {
|
|
64
|
-
"name": "Dialog",
|
|
65
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"description": "Close transition duration.",
|
|
70
|
-
"name": "--hide-duration",
|
|
71
|
-
"default": "200ms",
|
|
72
|
-
"inheritedFrom": {
|
|
73
|
-
"name": "Dialog",
|
|
74
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"description": "Backdrop color.",
|
|
79
|
-
"name": "--backdrop",
|
|
80
|
-
"inheritedFrom": {
|
|
81
|
-
"name": "Dialog",
|
|
82
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"description": "Backdrop blur amount (any CSS length).",
|
|
87
|
-
"name": "--backdrop-blur",
|
|
88
|
-
"default": "0",
|
|
89
|
-
"inheritedFrom": {
|
|
90
|
-
"name": "Dialog",
|
|
91
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
],
|
|
95
|
-
"cssParts": [
|
|
96
|
-
{
|
|
97
|
-
"description": "The native `<dialog>` element.",
|
|
98
|
-
"name": "dialog",
|
|
99
|
-
"inheritedFrom": {
|
|
100
|
-
"name": "Dialog",
|
|
101
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"description": "The header wrapper containing the title.",
|
|
106
|
-
"name": "header",
|
|
107
|
-
"inheritedFrom": {
|
|
108
|
-
"name": "Dialog",
|
|
109
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"description": "The dialog title heading.",
|
|
114
|
-
"name": "title",
|
|
115
|
-
"inheritedFrom": {
|
|
116
|
-
"name": "Dialog",
|
|
117
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"description": "The body wrapper around the description.",
|
|
122
|
-
"name": "body",
|
|
123
|
-
"inheritedFrom": {
|
|
124
|
-
"name": "Dialog",
|
|
125
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"description": "The footer wrapper around the actions.",
|
|
130
|
-
"name": "footer",
|
|
131
|
-
"inheritedFrom": {
|
|
132
|
-
"name": "Dialog",
|
|
133
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"description": "Both built-in action buttons.",
|
|
138
|
-
"name": "button"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"description": "The built-in cancel button.",
|
|
142
|
-
"name": "cancel"
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"description": "The built-in confirm button.",
|
|
146
|
-
"name": "confirm"
|
|
147
|
-
}
|
|
148
|
-
],
|
|
149
|
-
"slots": [
|
|
150
|
-
{
|
|
151
|
-
"description": "Description text. Provides the dialog's accessible description.",
|
|
152
|
-
"name": "",
|
|
153
|
-
"inheritedFrom": {
|
|
154
|
-
"name": "Dialog",
|
|
155
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"description": "Custom heading element. Overrides the default `<h2>` rendered from the `title` property. Also provides the dialog's accessible name.",
|
|
160
|
-
"name": "title",
|
|
161
|
-
"inheritedFrom": {
|
|
162
|
-
"name": "Dialog",
|
|
163
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"description": "Replaces the built-in cancel action (e.g. a link). Keep it focusable.",
|
|
168
|
-
"name": "cancel"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"description": "Replaces the built-in confirm action.",
|
|
172
|
-
"name": "confirm"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"description": "Close button (typically `<button class=\"l-close\">`).",
|
|
176
|
-
"name": "close",
|
|
177
|
-
"inheritedFrom": {
|
|
178
|
-
"name": "Dialog",
|
|
179
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"description": "Footer actions.",
|
|
184
|
-
"name": "footer",
|
|
185
|
-
"inheritedFrom": {
|
|
186
|
-
"name": "Dialog",
|
|
187
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
],
|
|
191
|
-
"members": [
|
|
192
|
-
{
|
|
193
|
-
"kind": "field",
|
|
194
|
-
"name": "confirmText",
|
|
195
|
-
"type": {
|
|
196
|
-
"text": "string"
|
|
197
|
-
},
|
|
198
|
-
"default": "'Confirm'",
|
|
199
|
-
"description": "Label for the confirm action.",
|
|
200
|
-
"attribute": "confirm-text"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"kind": "field",
|
|
204
|
-
"name": "cancelText",
|
|
205
|
-
"type": {
|
|
206
|
-
"text": "string"
|
|
207
|
-
},
|
|
208
|
-
"default": "'Cancel'",
|
|
209
|
-
"description": "Label for the cancel action.",
|
|
210
|
-
"attribute": "cancel-text"
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"kind": "field",
|
|
214
|
-
"name": "tone",
|
|
215
|
-
"type": {
|
|
216
|
-
"text": "'danger' | undefined"
|
|
217
|
-
},
|
|
218
|
-
"description": "Visual tone. `danger` renders the confirm action as destructive.",
|
|
219
|
-
"attribute": "tone",
|
|
220
|
-
"reflects": true
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"kind": "field",
|
|
224
|
-
"name": "loading",
|
|
225
|
-
"type": {
|
|
226
|
-
"text": "boolean"
|
|
227
|
-
},
|
|
228
|
-
"default": "false",
|
|
229
|
-
"description": "Show a busy state on the confirm action (spinner + `aria-disabled`); the\ncancel action stays operable as an escape hatch.",
|
|
230
|
-
"attribute": "loading",
|
|
231
|
-
"reflects": true
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"kind": "field",
|
|
235
|
-
"name": "title",
|
|
236
|
-
"type": {
|
|
237
|
-
"text": "string"
|
|
238
|
-
},
|
|
239
|
-
"default": "''",
|
|
240
|
-
"description": "Dialog title rendered in the header and used as the dialog's accessible name.",
|
|
241
|
-
"attribute": "title",
|
|
242
|
-
"inheritedFrom": {
|
|
243
|
-
"name": "Dialog",
|
|
244
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"kind": "field",
|
|
249
|
-
"name": "open",
|
|
250
|
-
"type": {
|
|
251
|
-
"text": "boolean"
|
|
252
|
-
},
|
|
253
|
-
"default": "false",
|
|
254
|
-
"description": "Whether the dialog is open.",
|
|
255
|
-
"attribute": "open",
|
|
256
|
-
"reflects": true,
|
|
257
|
-
"inheritedFrom": {
|
|
258
|
-
"name": "Dialog",
|
|
259
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"kind": "field",
|
|
264
|
-
"name": "lightDismiss",
|
|
265
|
-
"type": {
|
|
266
|
-
"text": "boolean"
|
|
267
|
-
},
|
|
268
|
-
"default": "false",
|
|
269
|
-
"description": "Close when the backdrop is clicked.",
|
|
270
|
-
"attribute": "light-dismiss",
|
|
271
|
-
"reflects": true,
|
|
272
|
-
"inheritedFrom": {
|
|
273
|
-
"name": "Dialog",
|
|
274
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"kind": "field",
|
|
279
|
-
"name": "withoutHeader",
|
|
280
|
-
"type": {
|
|
281
|
-
"text": "boolean"
|
|
282
|
-
},
|
|
283
|
-
"default": "false",
|
|
284
|
-
"description": "Hide the header entirely (title and close slot).",
|
|
285
|
-
"attribute": "without-header",
|
|
286
|
-
"reflects": true,
|
|
287
|
-
"inheritedFrom": {
|
|
288
|
-
"name": "Dialog",
|
|
289
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
"kind": "field",
|
|
294
|
-
"name": "dialog",
|
|
295
|
-
"type": {
|
|
296
|
-
"text": "HTMLDialogElement"
|
|
297
|
-
},
|
|
298
|
-
"inheritedFrom": {
|
|
299
|
-
"name": "Dialog",
|
|
300
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
],
|
|
304
|
-
"events": [
|
|
305
|
-
{
|
|
306
|
-
"name": "confirm",
|
|
307
|
-
"description": "Fired when the user accepts. Cancelable — `preventDefault()` keeps it open for async work.",
|
|
308
|
-
"cancelable": true
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"name": "cancel",
|
|
312
|
-
"description": "Fired when the user dismisses (cancel action, Escape). Cancelable — `preventDefault()` keeps it open.",
|
|
313
|
-
"cancelable": true
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"name": "show",
|
|
317
|
-
"description": "Fired when the dialog is about to open. Cancelable.",
|
|
318
|
-
"cancelable": true
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
"name": "hide",
|
|
322
|
-
"description": "Fired when the dialog is about to close via the `open` property. Cancelable. (The confirm, cancel, and Escape paths close natively and emit `confirm`/`cancel` instead of `hide`.)",
|
|
323
|
-
"cancelable": true
|
|
15
|
+
"description": "Gap between the icon, content, and close button.",
|
|
16
|
+
"name": "--gap",
|
|
17
|
+
"default": "0.75rem"
|
|
324
18
|
},
|
|
325
19
|
{
|
|
326
|
-
"
|
|
327
|
-
"
|
|
328
|
-
"
|
|
20
|
+
"description": "Inner padding.",
|
|
21
|
+
"name": "--padding",
|
|
22
|
+
"default": "1rem"
|
|
329
23
|
},
|
|
330
24
|
{
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
25
|
+
"description": "Corner radius.",
|
|
26
|
+
"name": "--border-radius",
|
|
27
|
+
"default": "8px"
|
|
334
28
|
}
|
|
335
29
|
],
|
|
336
|
-
"
|
|
30
|
+
"members": [
|
|
337
31
|
{
|
|
338
|
-
"
|
|
32
|
+
"kind": "field",
|
|
33
|
+
"name": "variant",
|
|
339
34
|
"type": {
|
|
340
|
-
"text": "
|
|
35
|
+
"text": "AlertVariant | undefined"
|
|
341
36
|
},
|
|
342
|
-
"
|
|
343
|
-
"
|
|
344
|
-
"
|
|
37
|
+
"description": "Semantic variant: `info`, `success`, `warning`, or `danger`. Default is neutral.",
|
|
38
|
+
"attribute": "variant",
|
|
39
|
+
"reflects": true
|
|
345
40
|
},
|
|
346
41
|
{
|
|
347
|
-
"
|
|
42
|
+
"kind": "field",
|
|
43
|
+
"name": "icon",
|
|
348
44
|
"type": {
|
|
349
|
-
"text": "string"
|
|
45
|
+
"text": "string | undefined"
|
|
350
46
|
},
|
|
351
|
-
"
|
|
352
|
-
"
|
|
353
|
-
"fieldName": "cancelText"
|
|
47
|
+
"description": "Iconify icon name (e.g. `lucide:bell`) overriding the variant's default icon.",
|
|
48
|
+
"attribute": "icon"
|
|
354
49
|
},
|
|
355
50
|
{
|
|
356
|
-
"
|
|
51
|
+
"kind": "field",
|
|
52
|
+
"name": "withoutIcon",
|
|
357
53
|
"type": {
|
|
358
|
-
"text": "
|
|
54
|
+
"text": "boolean"
|
|
359
55
|
},
|
|
360
|
-
"
|
|
361
|
-
"
|
|
56
|
+
"default": "false",
|
|
57
|
+
"description": "Hide the leading icon entirely.",
|
|
58
|
+
"attribute": "without-icon"
|
|
362
59
|
},
|
|
363
60
|
{
|
|
364
|
-
"
|
|
61
|
+
"kind": "field",
|
|
62
|
+
"name": "dismissible",
|
|
365
63
|
"type": {
|
|
366
64
|
"text": "boolean"
|
|
367
65
|
},
|
|
368
66
|
"default": "false",
|
|
369
|
-
"description": "Show a
|
|
370
|
-
"
|
|
67
|
+
"description": "Show a close button that dismisses the alert when clicked.",
|
|
68
|
+
"attribute": "dismissible",
|
|
69
|
+
"reflects": true
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"events": [
|
|
73
|
+
{
|
|
74
|
+
"name": "hide",
|
|
75
|
+
"description": "Emitted when a dismissible alert is about to close. Cancelable — call `event.preventDefault()` to keep it open.",
|
|
76
|
+
"cancelable": true
|
|
371
77
|
},
|
|
372
78
|
{
|
|
373
|
-
"name": "
|
|
79
|
+
"name": "after-hide",
|
|
80
|
+
"description": "Emitted after the dismiss animation completes and the alert is removed from the DOM. Not cancelable.",
|
|
81
|
+
"cancelable": false
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"attributes": [
|
|
85
|
+
{
|
|
86
|
+
"name": "variant",
|
|
374
87
|
"type": {
|
|
375
|
-
"text": "
|
|
88
|
+
"text": "AlertVariant | undefined"
|
|
376
89
|
},
|
|
377
|
-
"
|
|
378
|
-
"
|
|
379
|
-
"fieldName": "title",
|
|
380
|
-
"inheritedFrom": {
|
|
381
|
-
"name": "Dialog",
|
|
382
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
383
|
-
}
|
|
90
|
+
"description": "Semantic variant: `info`, `success`, `warning`, or `danger`. Default is neutral.",
|
|
91
|
+
"fieldName": "variant"
|
|
384
92
|
},
|
|
385
93
|
{
|
|
386
|
-
"name": "
|
|
94
|
+
"name": "icon",
|
|
387
95
|
"type": {
|
|
388
|
-
"text": "
|
|
96
|
+
"text": "string | undefined"
|
|
389
97
|
},
|
|
390
|
-
"
|
|
391
|
-
"
|
|
392
|
-
"fieldName": "open",
|
|
393
|
-
"inheritedFrom": {
|
|
394
|
-
"name": "Dialog",
|
|
395
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
396
|
-
}
|
|
98
|
+
"description": "Iconify icon name (e.g. `lucide:bell`) overriding the variant's default icon.",
|
|
99
|
+
"fieldName": "icon"
|
|
397
100
|
},
|
|
398
101
|
{
|
|
399
|
-
"name": "
|
|
102
|
+
"name": "without-icon",
|
|
400
103
|
"type": {
|
|
401
104
|
"text": "boolean"
|
|
402
105
|
},
|
|
403
106
|
"default": "false",
|
|
404
|
-
"description": "
|
|
405
|
-
"fieldName": "
|
|
406
|
-
"inheritedFrom": {
|
|
407
|
-
"name": "Dialog",
|
|
408
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
409
|
-
}
|
|
107
|
+
"description": "Hide the leading icon entirely.",
|
|
108
|
+
"fieldName": "withoutIcon"
|
|
410
109
|
},
|
|
411
110
|
{
|
|
412
|
-
"name": "
|
|
111
|
+
"name": "dismissible",
|
|
413
112
|
"type": {
|
|
414
113
|
"text": "boolean"
|
|
415
114
|
},
|
|
416
115
|
"default": "false",
|
|
417
|
-
"description": "
|
|
418
|
-
"fieldName": "
|
|
419
|
-
"inheritedFrom": {
|
|
420
|
-
"name": "Dialog",
|
|
421
|
-
"module": "src/html/elements/dialog/dialog.ts"
|
|
422
|
-
}
|
|
116
|
+
"description": "Show a close button that dismisses the alert when clicked.",
|
|
117
|
+
"fieldName": "dismissible"
|
|
423
118
|
}
|
|
424
119
|
],
|
|
425
120
|
"superclass": {
|
|
426
|
-
"name": "
|
|
427
|
-
"module": "/src/html/
|
|
121
|
+
"name": "LuxenElement",
|
|
122
|
+
"module": "/src/html/shared/luxen-element.js"
|
|
428
123
|
},
|
|
429
|
-
"tagName": "l-alert
|
|
124
|
+
"tagName": "l-alert",
|
|
430
125
|
"customElement": true,
|
|
431
|
-
"
|
|
126
|
+
"summary": "A callout box that highlights contextual information with a semantic color and a leading icon.",
|
|
127
|
+
"examples": [
|
|
432
128
|
{
|
|
433
|
-
"
|
|
434
|
-
"
|
|
129
|
+
"language": "html",
|
|
130
|
+
"code": "<l-alert variant=\"warning\" dismissible>\n <span class=\"l-alert-title\">Heads up</span>\n This action cannot be undone.\n</l-alert>"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"_cssClasses": [
|
|
134
|
+
{
|
|
135
|
+
"name": ".l-alert-icon",
|
|
136
|
+
"description": "The leading icon, colored by variant (auto-injected)."
|
|
435
137
|
},
|
|
436
138
|
{
|
|
437
|
-
"name": "
|
|
438
|
-
"description": "
|
|
139
|
+
"name": ".l-alert-content",
|
|
140
|
+
"description": "Wrapper the authored children are moved into; stacks them vertically (auto-injected)."
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": ".l-alert-title",
|
|
144
|
+
"description": "Optional bold heading placed above the body content. Use a real heading element (e.g. `<h3 class=\"l-alert-title\">`) when the alert is a section callout so it is reachable by heading navigation."
|
|
439
145
|
}
|
|
440
146
|
]
|
|
441
147
|
}
|
|
@@ -443,33 +149,17 @@
|
|
|
443
149
|
"exports": [
|
|
444
150
|
{
|
|
445
151
|
"kind": "js",
|
|
446
|
-
"name": "
|
|
447
|
-
"declaration": {
|
|
448
|
-
"name": "ConfirmEvent",
|
|
449
|
-
"module": "src/html/elements/alert-dialog/alert-dialog.ts"
|
|
450
|
-
}
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
"kind": "js",
|
|
454
|
-
"name": "CancelEvent",
|
|
455
|
-
"declaration": {
|
|
456
|
-
"name": "CancelEvent",
|
|
457
|
-
"module": "src/html/elements/alert-dialog/alert-dialog.ts"
|
|
458
|
-
}
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
"kind": "js",
|
|
462
|
-
"name": "AlertDialog",
|
|
152
|
+
"name": "Alert",
|
|
463
153
|
"declaration": {
|
|
464
|
-
"name": "
|
|
465
|
-
"module": "src/html/elements/alert
|
|
154
|
+
"name": "Alert",
|
|
155
|
+
"module": "src/html/elements/alert/alert.ts"
|
|
466
156
|
}
|
|
467
157
|
}
|
|
468
158
|
]
|
|
469
159
|
},
|
|
470
160
|
{
|
|
471
161
|
"kind": "javascript-module",
|
|
472
|
-
"path": "src/html/elements/alert
|
|
162
|
+
"path": "src/html/elements/alert/index.ts",
|
|
473
163
|
"declarations": [],
|
|
474
164
|
"exports": [
|
|
475
165
|
{
|
|
@@ -477,151 +167,156 @@
|
|
|
477
167
|
"name": "*",
|
|
478
168
|
"declaration": {
|
|
479
169
|
"name": "*",
|
|
480
|
-
"module": "src/html/elements/alert
|
|
170
|
+
"module": "src/html/elements/alert/alert.js"
|
|
481
171
|
}
|
|
482
172
|
}
|
|
483
173
|
]
|
|
484
174
|
},
|
|
485
175
|
{
|
|
486
176
|
"kind": "javascript-module",
|
|
487
|
-
"path": "src/html/elements/
|
|
177
|
+
"path": "src/html/elements/avatar/avatar.ts",
|
|
488
178
|
"declarations": [
|
|
489
179
|
{
|
|
490
180
|
"kind": "class",
|
|
491
181
|
"description": "",
|
|
492
|
-
"name": "
|
|
182
|
+
"name": "Avatar",
|
|
493
183
|
"cssProperties": [
|
|
494
184
|
{
|
|
495
|
-
"description": "
|
|
496
|
-
"name": "--
|
|
497
|
-
"default": "
|
|
185
|
+
"description": "Box size (any length). Set it inline (e.g. `style=\"--size: 20px\"`) for an arbitrary size beyond the `size` token scale; the font then follows proportionally. The `size` attribute sets it to the matching token.",
|
|
186
|
+
"name": "--size",
|
|
187
|
+
"default": "40px"
|
|
498
188
|
},
|
|
499
189
|
{
|
|
500
|
-
"description": "
|
|
501
|
-
"name": "--
|
|
502
|
-
"default": "1rem"
|
|
190
|
+
"description": "Background fill color for initials and the default icon.",
|
|
191
|
+
"name": "--color"
|
|
503
192
|
},
|
|
504
193
|
{
|
|
505
|
-
"description": "
|
|
506
|
-
"name": "--
|
|
507
|
-
|
|
194
|
+
"description": "Initials/icon color over `--color`. Defaults to an auto-derived readable color; set it to enforce a specific brand color (overrides the automatic choice).",
|
|
195
|
+
"name": "--text-color"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"description": "Set to `circle` for a fully circular avatar (default is a rounded square).",
|
|
199
|
+
"name": "--appearance"
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"cssParts": [
|
|
203
|
+
{
|
|
204
|
+
"description": "The avatar container that paints `--color`; style it (e.g. `color`) to override the auto-derived text color.",
|
|
205
|
+
"name": "base"
|
|
508
206
|
}
|
|
509
207
|
],
|
|
510
208
|
"members": [
|
|
511
209
|
{
|
|
512
210
|
"kind": "field",
|
|
513
|
-
"name": "
|
|
211
|
+
"name": "src",
|
|
514
212
|
"type": {
|
|
515
|
-
"text": "
|
|
213
|
+
"text": "string"
|
|
516
214
|
},
|
|
517
|
-
"
|
|
518
|
-
"
|
|
519
|
-
"
|
|
215
|
+
"default": "''",
|
|
216
|
+
"description": "Image URL. Falls back to initials (then the default icon) if it fails to load.",
|
|
217
|
+
"attribute": "src"
|
|
520
218
|
},
|
|
521
219
|
{
|
|
522
220
|
"kind": "field",
|
|
523
|
-
"name": "
|
|
221
|
+
"name": "name",
|
|
524
222
|
"type": {
|
|
525
|
-
"text": "string
|
|
223
|
+
"text": "string"
|
|
526
224
|
},
|
|
527
|
-
"
|
|
528
|
-
"
|
|
225
|
+
"default": "''",
|
|
226
|
+
"description": "Name used as the accessible label and to derive the initials fallback.",
|
|
227
|
+
"attribute": "name"
|
|
529
228
|
},
|
|
530
229
|
{
|
|
531
230
|
"kind": "field",
|
|
532
|
-
"name": "
|
|
231
|
+
"name": "size",
|
|
533
232
|
"type": {
|
|
534
|
-
"text": "
|
|
233
|
+
"text": "string"
|
|
535
234
|
},
|
|
536
|
-
"default": "
|
|
537
|
-
"description": "
|
|
538
|
-
"attribute": "
|
|
235
|
+
"default": "'md'",
|
|
236
|
+
"description": "Avatar size: `xs`, `sm`, `md` (default), `lg`, or `xl`.",
|
|
237
|
+
"attribute": "size",
|
|
238
|
+
"reflects": true
|
|
539
239
|
},
|
|
540
240
|
{
|
|
541
241
|
"kind": "field",
|
|
542
|
-
"name": "
|
|
242
|
+
"name": "badge",
|
|
243
|
+
"type": {
|
|
244
|
+
"text": "number"
|
|
245
|
+
},
|
|
246
|
+
"default": "0",
|
|
247
|
+
"description": "Count shown in the corner badge. `0` hides the badge.",
|
|
248
|
+
"attribute": "badge"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"kind": "field",
|
|
252
|
+
"name": "interactive",
|
|
543
253
|
"type": {
|
|
544
254
|
"text": "boolean"
|
|
545
255
|
},
|
|
546
256
|
"default": "false",
|
|
547
|
-
"description": "
|
|
548
|
-
"attribute": "
|
|
257
|
+
"description": "Render as a `<button>` with focus ring and hover states.",
|
|
258
|
+
"attribute": "interactive",
|
|
549
259
|
"reflects": true
|
|
550
260
|
}
|
|
551
261
|
],
|
|
552
|
-
"events": [
|
|
553
|
-
{
|
|
554
|
-
"name": "hide",
|
|
555
|
-
"description": "Emitted when a dismissible alert is about to close. Cancelable — call `event.preventDefault()` to keep it open.",
|
|
556
|
-
"cancelable": true
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
"name": "after-hide",
|
|
560
|
-
"description": "Emitted after the dismiss animation completes and the alert is removed from the DOM. Not cancelable.",
|
|
561
|
-
"cancelable": false
|
|
562
|
-
}
|
|
563
|
-
],
|
|
564
262
|
"attributes": [
|
|
565
263
|
{
|
|
566
|
-
"name": "
|
|
264
|
+
"name": "src",
|
|
265
|
+
"type": {
|
|
266
|
+
"text": "string"
|
|
267
|
+
},
|
|
268
|
+
"default": "''",
|
|
269
|
+
"description": "Image URL. Falls back to initials (then the default icon) if it fails to load.",
|
|
270
|
+
"fieldName": "src"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "name",
|
|
567
274
|
"type": {
|
|
568
|
-
"text": "
|
|
275
|
+
"text": "string"
|
|
569
276
|
},
|
|
570
|
-
"
|
|
571
|
-
"
|
|
277
|
+
"default": "''",
|
|
278
|
+
"description": "Name used as the accessible label and to derive the initials fallback.",
|
|
279
|
+
"fieldName": "name"
|
|
572
280
|
},
|
|
573
281
|
{
|
|
574
|
-
"name": "
|
|
282
|
+
"name": "size",
|
|
575
283
|
"type": {
|
|
576
|
-
"text": "string
|
|
284
|
+
"text": "string"
|
|
577
285
|
},
|
|
578
|
-
"
|
|
579
|
-
"
|
|
286
|
+
"default": "'md'",
|
|
287
|
+
"description": "Avatar size: `xs`, `sm`, `md` (default), `lg`, or `xl`.",
|
|
288
|
+
"fieldName": "size"
|
|
580
289
|
},
|
|
581
290
|
{
|
|
582
|
-
"name": "
|
|
291
|
+
"name": "badge",
|
|
583
292
|
"type": {
|
|
584
|
-
"text": "
|
|
293
|
+
"text": "number"
|
|
585
294
|
},
|
|
586
|
-
"default": "
|
|
587
|
-
"description": "
|
|
588
|
-
"fieldName": "
|
|
295
|
+
"default": "0",
|
|
296
|
+
"description": "Count shown in the corner badge. `0` hides the badge.",
|
|
297
|
+
"fieldName": "badge"
|
|
589
298
|
},
|
|
590
299
|
{
|
|
591
|
-
"name": "
|
|
300
|
+
"name": "interactive",
|
|
592
301
|
"type": {
|
|
593
302
|
"text": "boolean"
|
|
594
303
|
},
|
|
595
304
|
"default": "false",
|
|
596
|
-
"description": "
|
|
597
|
-
"fieldName": "
|
|
305
|
+
"description": "Render as a `<button>` with focus ring and hover states.",
|
|
306
|
+
"fieldName": "interactive"
|
|
598
307
|
}
|
|
599
308
|
],
|
|
600
309
|
"superclass": {
|
|
601
310
|
"name": "LuxenElement",
|
|
602
311
|
"module": "/src/html/shared/luxen-element.js"
|
|
603
312
|
},
|
|
604
|
-
"tagName": "l-
|
|
313
|
+
"tagName": "l-avatar",
|
|
605
314
|
"customElement": true,
|
|
606
|
-
"summary": "
|
|
607
|
-
"examples": [
|
|
608
|
-
{
|
|
609
|
-
"language": "html",
|
|
610
|
-
"code": "<l-alert variant=\"warning\" dismissible>\n <span class=\"l-alert-title\">Heads up</span>\n This action cannot be undone.\n</l-alert>"
|
|
611
|
-
}
|
|
612
|
-
],
|
|
315
|
+
"summary": "An avatar component for displaying user images, initials, or a default icon.",
|
|
613
316
|
"_cssClasses": [
|
|
614
317
|
{
|
|
615
|
-
"name": ".l-
|
|
616
|
-
"description": "
|
|
617
|
-
},
|
|
618
|
-
{
|
|
619
|
-
"name": ".l-alert-content",
|
|
620
|
-
"description": "Wrapper the authored children are moved into; stacks them vertically (auto-injected)."
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
"name": ".l-alert-title",
|
|
624
|
-
"description": "Optional bold heading placed above the body content. Use a real heading element (e.g. `<h3 class=\"l-alert-title\">`) when the alert is a section callout so it is reachable by heading navigation."
|
|
318
|
+
"name": ".l-avatar-group",
|
|
319
|
+
"description": "Flex wrapper that overlaps a row of stacked avatars."
|
|
625
320
|
}
|
|
626
321
|
]
|
|
627
322
|
}
|
|
@@ -629,17 +324,17 @@
|
|
|
629
324
|
"exports": [
|
|
630
325
|
{
|
|
631
326
|
"kind": "js",
|
|
632
|
-
"name": "
|
|
327
|
+
"name": "Avatar",
|
|
633
328
|
"declaration": {
|
|
634
|
-
"name": "
|
|
635
|
-
"module": "src/html/elements/
|
|
329
|
+
"name": "Avatar",
|
|
330
|
+
"module": "src/html/elements/avatar/avatar.ts"
|
|
636
331
|
}
|
|
637
332
|
}
|
|
638
333
|
]
|
|
639
334
|
},
|
|
640
335
|
{
|
|
641
336
|
"kind": "javascript-module",
|
|
642
|
-
"path": "src/html/elements/
|
|
337
|
+
"path": "src/html/elements/avatar/index.ts",
|
|
643
338
|
"declarations": [],
|
|
644
339
|
"exports": [
|
|
645
340
|
{
|
|
@@ -647,156 +342,454 @@
|
|
|
647
342
|
"name": "*",
|
|
648
343
|
"declaration": {
|
|
649
344
|
"name": "*",
|
|
650
|
-
"module": "src/html/elements/
|
|
345
|
+
"module": "src/html/elements/avatar/avatar.js"
|
|
651
346
|
}
|
|
652
347
|
}
|
|
653
348
|
]
|
|
654
349
|
},
|
|
655
350
|
{
|
|
656
351
|
"kind": "javascript-module",
|
|
657
|
-
"path": "src/html/elements/
|
|
352
|
+
"path": "src/html/elements/alert-dialog/alert-dialog.ts",
|
|
658
353
|
"declarations": [
|
|
659
354
|
{
|
|
660
355
|
"kind": "class",
|
|
661
|
-
"description": "",
|
|
662
|
-
"name": "
|
|
356
|
+
"description": "Fired when the user accepts an alert dialog (the confirm action). Cancelable —\ncall `event.preventDefault()` to keep the dialog open (e.g. to await an async\ntask); close it yourself afterwards by setting `open = false`.\n\nDoes not bubble and is not composed: listen on the element itself.",
|
|
357
|
+
"name": "ConfirmEvent",
|
|
358
|
+
"superclass": {
|
|
359
|
+
"name": "Event",
|
|
360
|
+
"module": "src/html/elements/alert-dialog/alert-dialog.ts"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"kind": "class",
|
|
365
|
+
"description": "Fired when the user dismisses an alert dialog (the cancel action, Escape, or a\nclose request). Cancelable — call `event.preventDefault()` to keep it open.\n\nDoes not bubble and is not composed: listen on the element itself.",
|
|
366
|
+
"name": "CancelEvent",
|
|
367
|
+
"superclass": {
|
|
368
|
+
"name": "Event",
|
|
369
|
+
"module": "src/html/elements/alert-dialog/alert-dialog.ts"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"kind": "class",
|
|
374
|
+
"description": "An interruptive confirmation dialog built on `<l-dialog>`. Renders its own\ncancel/confirm actions and exposes `role=\"alertdialog\"`. Use it to confirm a\nconsequential action (delete, publish, discard) — not for generic content.\n\nOpen and close by toggling the `open` property (or the `--show` / `--hide`\nInvoker commands). The dialog closes automatically when the user picks an\naction, unless the matching `confirm` / `cancel` event is canceled.",
|
|
375
|
+
"name": "AlertDialog",
|
|
663
376
|
"cssProperties": [
|
|
664
377
|
{
|
|
665
|
-
"description": "
|
|
666
|
-
"name": "--
|
|
667
|
-
"default": "
|
|
378
|
+
"description": "Dialog width.",
|
|
379
|
+
"name": "--width",
|
|
380
|
+
"default": "31rem",
|
|
381
|
+
"inheritedFrom": {
|
|
382
|
+
"name": "Dialog",
|
|
383
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
384
|
+
}
|
|
668
385
|
},
|
|
669
386
|
{
|
|
670
|
-
"description": "
|
|
671
|
-
"name": "--
|
|
387
|
+
"description": "Dialog border radius.",
|
|
388
|
+
"name": "--border-radius",
|
|
389
|
+
"default": "6px",
|
|
390
|
+
"inheritedFrom": {
|
|
391
|
+
"name": "Dialog",
|
|
392
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
393
|
+
}
|
|
672
394
|
},
|
|
673
395
|
{
|
|
674
|
-
"description": "
|
|
675
|
-
"name": "--
|
|
396
|
+
"description": "Padding applied to the header, footer, and inline-padding of the body.",
|
|
397
|
+
"name": "--padding",
|
|
398
|
+
"default": "1.5rem",
|
|
399
|
+
"inheritedFrom": {
|
|
400
|
+
"name": "Dialog",
|
|
401
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
402
|
+
}
|
|
676
403
|
},
|
|
677
404
|
{
|
|
678
|
-
"description": "
|
|
679
|
-
"name": "--
|
|
405
|
+
"description": "Open transition duration.",
|
|
406
|
+
"name": "--show-duration",
|
|
407
|
+
"default": "200ms",
|
|
408
|
+
"inheritedFrom": {
|
|
409
|
+
"name": "Dialog",
|
|
410
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"description": "Close transition duration.",
|
|
415
|
+
"name": "--hide-duration",
|
|
416
|
+
"default": "200ms",
|
|
417
|
+
"inheritedFrom": {
|
|
418
|
+
"name": "Dialog",
|
|
419
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"description": "Timing function of the open and close transitions, backdrop included.",
|
|
424
|
+
"name": "--easing",
|
|
425
|
+
"default": "cubic-bezier(0.32, 0.72, 0, 1)",
|
|
426
|
+
"inheritedFrom": {
|
|
427
|
+
"name": "Dialog",
|
|
428
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"description": "Backdrop color.",
|
|
433
|
+
"name": "--backdrop",
|
|
434
|
+
"inheritedFrom": {
|
|
435
|
+
"name": "Dialog",
|
|
436
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"description": "Backdrop blur amount (any CSS length).",
|
|
441
|
+
"name": "--backdrop-blur",
|
|
442
|
+
"default": "0",
|
|
443
|
+
"inheritedFrom": {
|
|
444
|
+
"name": "Dialog",
|
|
445
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
446
|
+
}
|
|
680
447
|
}
|
|
681
448
|
],
|
|
682
449
|
"cssParts": [
|
|
683
450
|
{
|
|
684
|
-
"description": "The
|
|
685
|
-
"name": "
|
|
451
|
+
"description": "The native `<dialog>` element.",
|
|
452
|
+
"name": "dialog",
|
|
453
|
+
"inheritedFrom": {
|
|
454
|
+
"name": "Dialog",
|
|
455
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"description": "The header wrapper containing the title.",
|
|
460
|
+
"name": "header",
|
|
461
|
+
"inheritedFrom": {
|
|
462
|
+
"name": "Dialog",
|
|
463
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"description": "The dialog title heading.",
|
|
468
|
+
"name": "title",
|
|
469
|
+
"inheritedFrom": {
|
|
470
|
+
"name": "Dialog",
|
|
471
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"description": "The body wrapper around the description.",
|
|
476
|
+
"name": "body",
|
|
477
|
+
"inheritedFrom": {
|
|
478
|
+
"name": "Dialog",
|
|
479
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"description": "The footer wrapper around the actions.",
|
|
484
|
+
"name": "footer",
|
|
485
|
+
"inheritedFrom": {
|
|
486
|
+
"name": "Dialog",
|
|
487
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"description": "Both built-in action buttons.",
|
|
492
|
+
"name": "button"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"description": "The built-in cancel button.",
|
|
496
|
+
"name": "cancel"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"description": "The built-in confirm button.",
|
|
500
|
+
"name": "confirm"
|
|
501
|
+
}
|
|
502
|
+
],
|
|
503
|
+
"slots": [
|
|
504
|
+
{
|
|
505
|
+
"description": "Description text. Provides the dialog's accessible description.",
|
|
506
|
+
"name": "",
|
|
507
|
+
"inheritedFrom": {
|
|
508
|
+
"name": "Dialog",
|
|
509
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"description": "Custom heading element. Overrides the default `<h2>` rendered from the `title` property. Also provides the dialog's accessible name.",
|
|
514
|
+
"name": "title",
|
|
515
|
+
"inheritedFrom": {
|
|
516
|
+
"name": "Dialog",
|
|
517
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"description": "Replaces the built-in cancel action (e.g. a link). Keep it focusable.",
|
|
522
|
+
"name": "cancel"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"description": "Replaces the built-in confirm action.",
|
|
526
|
+
"name": "confirm"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"description": "Close button (typically `<button class=\"l-close\">`).",
|
|
530
|
+
"name": "close",
|
|
531
|
+
"inheritedFrom": {
|
|
532
|
+
"name": "Dialog",
|
|
533
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"description": "Footer actions.",
|
|
538
|
+
"name": "footer",
|
|
539
|
+
"inheritedFrom": {
|
|
540
|
+
"name": "Dialog",
|
|
541
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
542
|
+
}
|
|
686
543
|
}
|
|
687
544
|
],
|
|
688
545
|
"members": [
|
|
689
546
|
{
|
|
690
547
|
"kind": "field",
|
|
691
|
-
"name": "
|
|
548
|
+
"name": "confirmText",
|
|
692
549
|
"type": {
|
|
693
550
|
"text": "string"
|
|
694
551
|
},
|
|
695
|
-
"default": "''",
|
|
696
|
-
"description": "
|
|
697
|
-
"attribute": "
|
|
552
|
+
"default": "'Confirm'",
|
|
553
|
+
"description": "Label for the confirm action.",
|
|
554
|
+
"attribute": "confirm-text"
|
|
698
555
|
},
|
|
699
556
|
{
|
|
700
557
|
"kind": "field",
|
|
701
|
-
"name": "
|
|
558
|
+
"name": "cancelText",
|
|
702
559
|
"type": {
|
|
703
560
|
"text": "string"
|
|
704
561
|
},
|
|
705
|
-
"default": "''",
|
|
706
|
-
"description": "
|
|
707
|
-
"attribute": "
|
|
562
|
+
"default": "'Cancel'",
|
|
563
|
+
"description": "Label for the cancel action.",
|
|
564
|
+
"attribute": "cancel-text"
|
|
708
565
|
},
|
|
709
566
|
{
|
|
710
567
|
"kind": "field",
|
|
711
|
-
"name": "
|
|
568
|
+
"name": "tone",
|
|
712
569
|
"type": {
|
|
713
|
-
"text": "
|
|
570
|
+
"text": "'danger' | undefined"
|
|
714
571
|
},
|
|
715
|
-
"
|
|
716
|
-
"
|
|
717
|
-
"attribute": "size",
|
|
572
|
+
"description": "Visual tone. `danger` renders the confirm action as destructive.",
|
|
573
|
+
"attribute": "tone",
|
|
718
574
|
"reflects": true
|
|
719
575
|
},
|
|
720
576
|
{
|
|
721
577
|
"kind": "field",
|
|
722
|
-
"name": "
|
|
578
|
+
"name": "loading",
|
|
723
579
|
"type": {
|
|
724
|
-
"text": "
|
|
580
|
+
"text": "boolean"
|
|
725
581
|
},
|
|
726
|
-
"default": "
|
|
727
|
-
"description": "
|
|
728
|
-
"attribute": "
|
|
582
|
+
"default": "false",
|
|
583
|
+
"description": "Show a busy state on the confirm action (spinner + `aria-disabled`); the\ncancel action stays operable as an escape hatch.",
|
|
584
|
+
"attribute": "loading",
|
|
585
|
+
"reflects": true
|
|
729
586
|
},
|
|
730
587
|
{
|
|
731
588
|
"kind": "field",
|
|
732
|
-
"name": "
|
|
589
|
+
"name": "title",
|
|
590
|
+
"type": {
|
|
591
|
+
"text": "string"
|
|
592
|
+
},
|
|
593
|
+
"default": "''",
|
|
594
|
+
"description": "Dialog title rendered in the header and used as the dialog's accessible name.",
|
|
595
|
+
"attribute": "title",
|
|
596
|
+
"inheritedFrom": {
|
|
597
|
+
"name": "Dialog",
|
|
598
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"kind": "field",
|
|
603
|
+
"name": "open",
|
|
733
604
|
"type": {
|
|
734
605
|
"text": "boolean"
|
|
735
606
|
},
|
|
736
607
|
"default": "false",
|
|
737
|
-
"description": "
|
|
738
|
-
"attribute": "
|
|
739
|
-
"reflects": true
|
|
608
|
+
"description": "Whether the dialog is open.",
|
|
609
|
+
"attribute": "open",
|
|
610
|
+
"reflects": true,
|
|
611
|
+
"inheritedFrom": {
|
|
612
|
+
"name": "Dialog",
|
|
613
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"kind": "field",
|
|
618
|
+
"name": "lightDismiss",
|
|
619
|
+
"type": {
|
|
620
|
+
"text": "boolean"
|
|
621
|
+
},
|
|
622
|
+
"default": "false",
|
|
623
|
+
"description": "Close when the backdrop is clicked.",
|
|
624
|
+
"attribute": "light-dismiss",
|
|
625
|
+
"reflects": true,
|
|
626
|
+
"inheritedFrom": {
|
|
627
|
+
"name": "Dialog",
|
|
628
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"kind": "field",
|
|
633
|
+
"name": "withoutHeader",
|
|
634
|
+
"type": {
|
|
635
|
+
"text": "boolean"
|
|
636
|
+
},
|
|
637
|
+
"default": "false",
|
|
638
|
+
"description": "Hide the header entirely (title and close slot).",
|
|
639
|
+
"attribute": "without-header",
|
|
640
|
+
"reflects": true,
|
|
641
|
+
"inheritedFrom": {
|
|
642
|
+
"name": "Dialog",
|
|
643
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"kind": "field",
|
|
648
|
+
"name": "dialog",
|
|
649
|
+
"type": {
|
|
650
|
+
"text": "HTMLDialogElement"
|
|
651
|
+
},
|
|
652
|
+
"inheritedFrom": {
|
|
653
|
+
"name": "Dialog",
|
|
654
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
],
|
|
658
|
+
"events": [
|
|
659
|
+
{
|
|
660
|
+
"name": "confirm",
|
|
661
|
+
"description": "Fired when the user accepts. Cancelable — `preventDefault()` keeps it open for async work.",
|
|
662
|
+
"cancelable": true
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"name": "cancel",
|
|
666
|
+
"description": "Fired when the user dismisses (cancel action, Escape). Cancelable — `preventDefault()` keeps it open.",
|
|
667
|
+
"cancelable": true
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"name": "show",
|
|
671
|
+
"description": "Fired when the dialog is about to open. Cancelable.",
|
|
672
|
+
"cancelable": true
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"name": "hide",
|
|
676
|
+
"description": "Fired when the dialog is about to close via the `open` property. Cancelable. (The confirm, cancel, and Escape paths close natively and emit `confirm`/`cancel` instead of `hide`.)",
|
|
677
|
+
"cancelable": true
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"name": "after-show",
|
|
681
|
+
"description": "Fired after the open animation completes. Not cancelable.",
|
|
682
|
+
"cancelable": false
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"name": "after-hide",
|
|
686
|
+
"description": "Fired after the close animation completes. Not cancelable.",
|
|
687
|
+
"cancelable": false
|
|
740
688
|
}
|
|
741
689
|
],
|
|
742
690
|
"attributes": [
|
|
743
691
|
{
|
|
744
|
-
"name": "
|
|
692
|
+
"name": "confirm-text",
|
|
745
693
|
"type": {
|
|
746
694
|
"text": "string"
|
|
747
695
|
},
|
|
748
|
-
"default": "''",
|
|
749
|
-
"description": "
|
|
750
|
-
"fieldName": "
|
|
696
|
+
"default": "'Confirm'",
|
|
697
|
+
"description": "Label for the confirm action.",
|
|
698
|
+
"fieldName": "confirmText"
|
|
751
699
|
},
|
|
752
700
|
{
|
|
753
|
-
"name": "
|
|
701
|
+
"name": "cancel-text",
|
|
754
702
|
"type": {
|
|
755
703
|
"text": "string"
|
|
756
704
|
},
|
|
757
|
-
"default": "''",
|
|
758
|
-
"description": "
|
|
759
|
-
"fieldName": "
|
|
705
|
+
"default": "'Cancel'",
|
|
706
|
+
"description": "Label for the cancel action.",
|
|
707
|
+
"fieldName": "cancelText"
|
|
760
708
|
},
|
|
761
709
|
{
|
|
762
|
-
"name": "
|
|
710
|
+
"name": "tone",
|
|
711
|
+
"type": {
|
|
712
|
+
"text": "'danger' | undefined"
|
|
713
|
+
},
|
|
714
|
+
"description": "Visual tone. `danger` renders the confirm action as destructive.",
|
|
715
|
+
"fieldName": "tone"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"name": "loading",
|
|
719
|
+
"type": {
|
|
720
|
+
"text": "boolean"
|
|
721
|
+
},
|
|
722
|
+
"default": "false",
|
|
723
|
+
"description": "Show a busy state on the confirm action (spinner + `aria-disabled`); the\ncancel action stays operable as an escape hatch.",
|
|
724
|
+
"fieldName": "loading"
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"name": "title",
|
|
763
728
|
"type": {
|
|
764
729
|
"text": "string"
|
|
765
730
|
},
|
|
766
|
-
"default": "'
|
|
767
|
-
"description": "
|
|
768
|
-
"fieldName": "
|
|
731
|
+
"default": "''",
|
|
732
|
+
"description": "Dialog title rendered in the header and used as the dialog's accessible name.",
|
|
733
|
+
"fieldName": "title",
|
|
734
|
+
"inheritedFrom": {
|
|
735
|
+
"name": "Dialog",
|
|
736
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
737
|
+
}
|
|
769
738
|
},
|
|
770
739
|
{
|
|
771
|
-
"name": "
|
|
740
|
+
"name": "open",
|
|
772
741
|
"type": {
|
|
773
|
-
"text": "
|
|
742
|
+
"text": "boolean"
|
|
774
743
|
},
|
|
775
|
-
"default": "
|
|
776
|
-
"description": "
|
|
777
|
-
"fieldName": "
|
|
744
|
+
"default": "false",
|
|
745
|
+
"description": "Whether the dialog is open.",
|
|
746
|
+
"fieldName": "open",
|
|
747
|
+
"inheritedFrom": {
|
|
748
|
+
"name": "Dialog",
|
|
749
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
750
|
+
}
|
|
778
751
|
},
|
|
779
752
|
{
|
|
780
|
-
"name": "
|
|
753
|
+
"name": "light-dismiss",
|
|
781
754
|
"type": {
|
|
782
755
|
"text": "boolean"
|
|
783
756
|
},
|
|
784
757
|
"default": "false",
|
|
785
|
-
"description": "
|
|
786
|
-
"fieldName": "
|
|
758
|
+
"description": "Close when the backdrop is clicked.",
|
|
759
|
+
"fieldName": "lightDismiss",
|
|
760
|
+
"inheritedFrom": {
|
|
761
|
+
"name": "Dialog",
|
|
762
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
763
|
+
}
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"name": "without-header",
|
|
767
|
+
"type": {
|
|
768
|
+
"text": "boolean"
|
|
769
|
+
},
|
|
770
|
+
"default": "false",
|
|
771
|
+
"description": "Hide the header entirely (title and close slot).",
|
|
772
|
+
"fieldName": "withoutHeader",
|
|
773
|
+
"inheritedFrom": {
|
|
774
|
+
"name": "Dialog",
|
|
775
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
776
|
+
}
|
|
787
777
|
}
|
|
788
778
|
],
|
|
789
779
|
"superclass": {
|
|
790
|
-
"name": "
|
|
791
|
-
"module": "/src/html/
|
|
780
|
+
"name": "Dialog",
|
|
781
|
+
"module": "/src/html/elements/dialog/dialog.js"
|
|
792
782
|
},
|
|
793
|
-
"tagName": "l-
|
|
783
|
+
"tagName": "l-alert-dialog",
|
|
794
784
|
"customElement": true,
|
|
795
|
-
"
|
|
796
|
-
"_cssClasses": [
|
|
785
|
+
"commands": [
|
|
797
786
|
{
|
|
798
|
-
"name": "
|
|
799
|
-
"description": "
|
|
787
|
+
"name": "--show",
|
|
788
|
+
"description": "Sets `open = true`."
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"name": "--hide",
|
|
792
|
+
"description": "Sets `open = false`."
|
|
800
793
|
}
|
|
801
794
|
]
|
|
802
795
|
}
|
|
@@ -804,17 +797,33 @@
|
|
|
804
797
|
"exports": [
|
|
805
798
|
{
|
|
806
799
|
"kind": "js",
|
|
807
|
-
"name": "
|
|
800
|
+
"name": "ConfirmEvent",
|
|
808
801
|
"declaration": {
|
|
809
|
-
"name": "
|
|
810
|
-
"module": "src/html/elements/
|
|
802
|
+
"name": "ConfirmEvent",
|
|
803
|
+
"module": "src/html/elements/alert-dialog/alert-dialog.ts"
|
|
804
|
+
}
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
"kind": "js",
|
|
808
|
+
"name": "CancelEvent",
|
|
809
|
+
"declaration": {
|
|
810
|
+
"name": "CancelEvent",
|
|
811
|
+
"module": "src/html/elements/alert-dialog/alert-dialog.ts"
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"kind": "js",
|
|
816
|
+
"name": "AlertDialog",
|
|
817
|
+
"declaration": {
|
|
818
|
+
"name": "AlertDialog",
|
|
819
|
+
"module": "src/html/elements/alert-dialog/alert-dialog.ts"
|
|
811
820
|
}
|
|
812
821
|
}
|
|
813
822
|
]
|
|
814
823
|
},
|
|
815
824
|
{
|
|
816
825
|
"kind": "javascript-module",
|
|
817
|
-
"path": "src/html/elements/
|
|
826
|
+
"path": "src/html/elements/alert-dialog/index.ts",
|
|
818
827
|
"declarations": [],
|
|
819
828
|
"exports": [
|
|
820
829
|
{
|
|
@@ -822,7 +831,7 @@
|
|
|
822
831
|
"name": "*",
|
|
823
832
|
"declaration": {
|
|
824
833
|
"name": "*",
|
|
825
|
-
"module": "src/html/elements/
|
|
834
|
+
"module": "src/html/elements/alert-dialog/alert-dialog.js"
|
|
826
835
|
}
|
|
827
836
|
}
|
|
828
837
|
]
|
|
@@ -2743,6 +2752,11 @@
|
|
|
2743
2752
|
"name": "--hide-duration",
|
|
2744
2753
|
"default": "200ms"
|
|
2745
2754
|
},
|
|
2755
|
+
{
|
|
2756
|
+
"description": "Timing function of the open and close transitions, backdrop included.",
|
|
2757
|
+
"name": "--easing",
|
|
2758
|
+
"default": "cubic-bezier(0.32, 0.72, 0, 1)"
|
|
2759
|
+
},
|
|
2746
2760
|
{
|
|
2747
2761
|
"description": "Backdrop color.",
|
|
2748
2762
|
"name": "--backdrop"
|
|
@@ -3202,7 +3216,7 @@
|
|
|
3202
3216
|
"name": "--shadow"
|
|
3203
3217
|
},
|
|
3204
3218
|
{
|
|
3205
|
-
"description": "Open transition duration. Default `
|
|
3219
|
+
"description": "Open transition duration. Default `300ms`.",
|
|
3206
3220
|
"name": "--show-duration",
|
|
3207
3221
|
"default": "200ms",
|
|
3208
3222
|
"inheritedFrom": {
|
|
@@ -3219,6 +3233,15 @@
|
|
|
3219
3233
|
"module": "src/html/elements/dialog/dialog.ts"
|
|
3220
3234
|
}
|
|
3221
3235
|
},
|
|
3236
|
+
{
|
|
3237
|
+
"description": "Timing function of the open and close transitions, backdrop included. Default `cubic-bezier(0.32, 0.72, 0, 1)`.",
|
|
3238
|
+
"name": "--easing",
|
|
3239
|
+
"default": "cubic-bezier(0.32, 0.72, 0, 1)",
|
|
3240
|
+
"inheritedFrom": {
|
|
3241
|
+
"name": "Dialog",
|
|
3242
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
3243
|
+
}
|
|
3244
|
+
},
|
|
3222
3245
|
{
|
|
3223
3246
|
"description": "Backdrop color.",
|
|
3224
3247
|
"name": "--backdrop",
|
|
@@ -4796,45 +4819,6 @@
|
|
|
4796
4819
|
}
|
|
4797
4820
|
]
|
|
4798
4821
|
},
|
|
4799
|
-
{
|
|
4800
|
-
"kind": "javascript-module",
|
|
4801
|
-
"path": "src/html/elements/kbd/kbd.meta.ts",
|
|
4802
|
-
"declarations": [
|
|
4803
|
-
{
|
|
4804
|
-
"kind": "class",
|
|
4805
|
-
"description": "",
|
|
4806
|
-
"name": "KbdMeta",
|
|
4807
|
-
"summary": "Displays keyboard keys or shortcuts inline with text.",
|
|
4808
|
-
"examples": [
|
|
4809
|
-
{
|
|
4810
|
-
"title": "Single key",
|
|
4811
|
-
"language": "html",
|
|
4812
|
-
"code": "<kbd class=\"l-kbd\">Esc</kbd>"
|
|
4813
|
-
}
|
|
4814
|
-
],
|
|
4815
|
-
"_cssClasses": [
|
|
4816
|
-
{
|
|
4817
|
-
"name": ".l-kbd",
|
|
4818
|
-
"description": "Base class for keyboard key styling on `<kbd>` elements."
|
|
4819
|
-
}
|
|
4820
|
-
],
|
|
4821
|
-
"customElement": false,
|
|
4822
|
-
"_native": true,
|
|
4823
|
-
"_nativeTag": "kbd",
|
|
4824
|
-
"selector": ".l-kbd"
|
|
4825
|
-
}
|
|
4826
|
-
],
|
|
4827
|
-
"exports": [
|
|
4828
|
-
{
|
|
4829
|
-
"kind": "js",
|
|
4830
|
-
"name": "KbdMeta",
|
|
4831
|
-
"declaration": {
|
|
4832
|
-
"name": "KbdMeta",
|
|
4833
|
-
"module": "src/html/elements/kbd/kbd.meta.ts"
|
|
4834
|
-
}
|
|
4835
|
-
}
|
|
4836
|
-
]
|
|
4837
|
-
},
|
|
4838
4822
|
{
|
|
4839
4823
|
"kind": "javascript-module",
|
|
4840
4824
|
"path": "src/html/elements/input-stepper/index.ts",
|
|
@@ -5071,6 +5055,45 @@
|
|
|
5071
5055
|
}
|
|
5072
5056
|
]
|
|
5073
5057
|
},
|
|
5058
|
+
{
|
|
5059
|
+
"kind": "javascript-module",
|
|
5060
|
+
"path": "src/html/elements/kbd/kbd.meta.ts",
|
|
5061
|
+
"declarations": [
|
|
5062
|
+
{
|
|
5063
|
+
"kind": "class",
|
|
5064
|
+
"description": "",
|
|
5065
|
+
"name": "KbdMeta",
|
|
5066
|
+
"summary": "Displays keyboard keys or shortcuts inline with text.",
|
|
5067
|
+
"examples": [
|
|
5068
|
+
{
|
|
5069
|
+
"title": "Single key",
|
|
5070
|
+
"language": "html",
|
|
5071
|
+
"code": "<kbd class=\"l-kbd\">Esc</kbd>"
|
|
5072
|
+
}
|
|
5073
|
+
],
|
|
5074
|
+
"_cssClasses": [
|
|
5075
|
+
{
|
|
5076
|
+
"name": ".l-kbd",
|
|
5077
|
+
"description": "Base class for keyboard key styling on `<kbd>` elements."
|
|
5078
|
+
}
|
|
5079
|
+
],
|
|
5080
|
+
"customElement": false,
|
|
5081
|
+
"_native": true,
|
|
5082
|
+
"_nativeTag": "kbd",
|
|
5083
|
+
"selector": ".l-kbd"
|
|
5084
|
+
}
|
|
5085
|
+
],
|
|
5086
|
+
"exports": [
|
|
5087
|
+
{
|
|
5088
|
+
"kind": "js",
|
|
5089
|
+
"name": "KbdMeta",
|
|
5090
|
+
"declaration": {
|
|
5091
|
+
"name": "KbdMeta",
|
|
5092
|
+
"module": "src/html/elements/kbd/kbd.meta.ts"
|
|
5093
|
+
}
|
|
5094
|
+
}
|
|
5095
|
+
]
|
|
5096
|
+
},
|
|
5074
5097
|
{
|
|
5075
5098
|
"kind": "javascript-module",
|
|
5076
5099
|
"path": "src/html/elements/popover/index.ts",
|
|
@@ -6545,88 +6568,6 @@
|
|
|
6545
6568
|
}
|
|
6546
6569
|
]
|
|
6547
6570
|
},
|
|
6548
|
-
{
|
|
6549
|
-
"kind": "javascript-module",
|
|
6550
|
-
"path": "src/html/elements/skeleton/index.ts",
|
|
6551
|
-
"declarations": [],
|
|
6552
|
-
"exports": [
|
|
6553
|
-
{
|
|
6554
|
-
"kind": "js",
|
|
6555
|
-
"name": "*",
|
|
6556
|
-
"declaration": {
|
|
6557
|
-
"name": "*",
|
|
6558
|
-
"module": "src/html/elements/skeleton/skeleton.js"
|
|
6559
|
-
}
|
|
6560
|
-
}
|
|
6561
|
-
]
|
|
6562
|
-
},
|
|
6563
|
-
{
|
|
6564
|
-
"kind": "javascript-module",
|
|
6565
|
-
"path": "src/html/elements/skeleton/skeleton.ts",
|
|
6566
|
-
"declarations": [
|
|
6567
|
-
{
|
|
6568
|
-
"kind": "class",
|
|
6569
|
-
"description": "",
|
|
6570
|
-
"name": "Skeleton",
|
|
6571
|
-
"cssProperties": [
|
|
6572
|
-
{
|
|
6573
|
-
"description": "Width of the skeleton",
|
|
6574
|
-
"name": "--width"
|
|
6575
|
-
},
|
|
6576
|
-
{
|
|
6577
|
-
"description": "Height of the skeleton",
|
|
6578
|
-
"name": "--height"
|
|
6579
|
-
}
|
|
6580
|
-
],
|
|
6581
|
-
"members": [],
|
|
6582
|
-
"attributes": [
|
|
6583
|
-
{
|
|
6584
|
-
"description": "circle | text — Placeholder shape. Default is a block.",
|
|
6585
|
-
"name": "shape"
|
|
6586
|
-
},
|
|
6587
|
-
{
|
|
6588
|
-
"description": "pulse | wave — Loading animation. Default is `pulse`.",
|
|
6589
|
-
"name": "animation"
|
|
6590
|
-
}
|
|
6591
|
-
],
|
|
6592
|
-
"superclass": {
|
|
6593
|
-
"name": "LuxenElement",
|
|
6594
|
-
"module": "/src/html/shared/luxen-element.js"
|
|
6595
|
-
},
|
|
6596
|
-
"tagName": "l-skeleton",
|
|
6597
|
-
"customElement": true,
|
|
6598
|
-
"summary": "A skeleton loading placeholder.",
|
|
6599
|
-
"_attributes": [
|
|
6600
|
-
{
|
|
6601
|
-
"name": "shape",
|
|
6602
|
-
"values": [
|
|
6603
|
-
"circle",
|
|
6604
|
-
"text"
|
|
6605
|
-
],
|
|
6606
|
-
"description": "Placeholder shape. Default is a block."
|
|
6607
|
-
},
|
|
6608
|
-
{
|
|
6609
|
-
"name": "animation",
|
|
6610
|
-
"values": [
|
|
6611
|
-
"pulse",
|
|
6612
|
-
"wave"
|
|
6613
|
-
],
|
|
6614
|
-
"description": "Loading animation. Default is `pulse`."
|
|
6615
|
-
}
|
|
6616
|
-
]
|
|
6617
|
-
}
|
|
6618
|
-
],
|
|
6619
|
-
"exports": [
|
|
6620
|
-
{
|
|
6621
|
-
"kind": "js",
|
|
6622
|
-
"name": "Skeleton",
|
|
6623
|
-
"declaration": {
|
|
6624
|
-
"name": "Skeleton",
|
|
6625
|
-
"module": "src/html/elements/skeleton/skeleton.ts"
|
|
6626
|
-
}
|
|
6627
|
-
}
|
|
6628
|
-
]
|
|
6629
|
-
},
|
|
6630
6571
|
{
|
|
6631
6572
|
"kind": "javascript-module",
|
|
6632
6573
|
"path": "src/html/elements/select/index.ts",
|
|
@@ -7005,6 +6946,88 @@
|
|
|
7005
6946
|
}
|
|
7006
6947
|
]
|
|
7007
6948
|
},
|
|
6949
|
+
{
|
|
6950
|
+
"kind": "javascript-module",
|
|
6951
|
+
"path": "src/html/elements/skeleton/index.ts",
|
|
6952
|
+
"declarations": [],
|
|
6953
|
+
"exports": [
|
|
6954
|
+
{
|
|
6955
|
+
"kind": "js",
|
|
6956
|
+
"name": "*",
|
|
6957
|
+
"declaration": {
|
|
6958
|
+
"name": "*",
|
|
6959
|
+
"module": "src/html/elements/skeleton/skeleton.js"
|
|
6960
|
+
}
|
|
6961
|
+
}
|
|
6962
|
+
]
|
|
6963
|
+
},
|
|
6964
|
+
{
|
|
6965
|
+
"kind": "javascript-module",
|
|
6966
|
+
"path": "src/html/elements/skeleton/skeleton.ts",
|
|
6967
|
+
"declarations": [
|
|
6968
|
+
{
|
|
6969
|
+
"kind": "class",
|
|
6970
|
+
"description": "",
|
|
6971
|
+
"name": "Skeleton",
|
|
6972
|
+
"cssProperties": [
|
|
6973
|
+
{
|
|
6974
|
+
"description": "Width of the skeleton",
|
|
6975
|
+
"name": "--width"
|
|
6976
|
+
},
|
|
6977
|
+
{
|
|
6978
|
+
"description": "Height of the skeleton",
|
|
6979
|
+
"name": "--height"
|
|
6980
|
+
}
|
|
6981
|
+
],
|
|
6982
|
+
"members": [],
|
|
6983
|
+
"attributes": [
|
|
6984
|
+
{
|
|
6985
|
+
"description": "circle | text — Placeholder shape. Default is a block.",
|
|
6986
|
+
"name": "shape"
|
|
6987
|
+
},
|
|
6988
|
+
{
|
|
6989
|
+
"description": "pulse | wave — Loading animation. Default is `pulse`.",
|
|
6990
|
+
"name": "animation"
|
|
6991
|
+
}
|
|
6992
|
+
],
|
|
6993
|
+
"superclass": {
|
|
6994
|
+
"name": "LuxenElement",
|
|
6995
|
+
"module": "/src/html/shared/luxen-element.js"
|
|
6996
|
+
},
|
|
6997
|
+
"tagName": "l-skeleton",
|
|
6998
|
+
"customElement": true,
|
|
6999
|
+
"summary": "A skeleton loading placeholder.",
|
|
7000
|
+
"_attributes": [
|
|
7001
|
+
{
|
|
7002
|
+
"name": "shape",
|
|
7003
|
+
"values": [
|
|
7004
|
+
"circle",
|
|
7005
|
+
"text"
|
|
7006
|
+
],
|
|
7007
|
+
"description": "Placeholder shape. Default is a block."
|
|
7008
|
+
},
|
|
7009
|
+
{
|
|
7010
|
+
"name": "animation",
|
|
7011
|
+
"values": [
|
|
7012
|
+
"pulse",
|
|
7013
|
+
"wave"
|
|
7014
|
+
],
|
|
7015
|
+
"description": "Loading animation. Default is `pulse`."
|
|
7016
|
+
}
|
|
7017
|
+
]
|
|
7018
|
+
}
|
|
7019
|
+
],
|
|
7020
|
+
"exports": [
|
|
7021
|
+
{
|
|
7022
|
+
"kind": "js",
|
|
7023
|
+
"name": "Skeleton",
|
|
7024
|
+
"declaration": {
|
|
7025
|
+
"name": "Skeleton",
|
|
7026
|
+
"module": "src/html/elements/skeleton/skeleton.ts"
|
|
7027
|
+
}
|
|
7028
|
+
}
|
|
7029
|
+
]
|
|
7030
|
+
},
|
|
7008
7031
|
{
|
|
7009
7032
|
"kind": "javascript-module",
|
|
7010
7033
|
"path": "src/html/elements/slider/index.ts",
|
|
@@ -10151,7 +10174,7 @@
|
|
|
10151
10174
|
"text": "boolean"
|
|
10152
10175
|
},
|
|
10153
10176
|
"default": "false",
|
|
10154
|
-
"description": "When set with `selection=\"multiple\"`, parent and children selection are decoupled:\ntoggling a parent does NOT toggle its descendants and vice versa.\nWithout it, selection cascades both ways and branches may become indeterminate.",
|
|
10177
|
+
"description": "When set with `selection=\"multiple\"`, parent and children selection are decoupled:\ntoggling a parent does NOT toggle its descendants and vice versa.\nWithout it, selection cascades both ways and branches may become indeterminate.\n\nIn independent mode the tree never writes `indeterminate`: the consumer owns\nit (e.g. to show a partial state computed from rows not in the DOM). On\nleaving the cascade, the tree clears only the flags its cascade wrote.",
|
|
10155
10178
|
"attribute": "independent",
|
|
10156
10179
|
"reflects": true
|
|
10157
10180
|
},
|
|
@@ -10215,7 +10238,7 @@
|
|
|
10215
10238
|
"text": "boolean"
|
|
10216
10239
|
},
|
|
10217
10240
|
"default": "false",
|
|
10218
|
-
"description": "When set with `selection=\"multiple\"`, parent and children selection are decoupled:\ntoggling a parent does NOT toggle its descendants and vice versa.\nWithout it, selection cascades both ways and branches may become indeterminate.",
|
|
10241
|
+
"description": "When set with `selection=\"multiple\"`, parent and children selection are decoupled:\ntoggling a parent does NOT toggle its descendants and vice versa.\nWithout it, selection cascades both ways and branches may become indeterminate.\n\nIn independent mode the tree never writes `indeterminate`: the consumer owns\nit (e.g. to show a partial state computed from rows not in the DOM). On\nleaving the cascade, the tree clears only the flags its cascade wrote.",
|
|
10219
10242
|
"fieldName": "independent"
|
|
10220
10243
|
}
|
|
10221
10244
|
],
|
|
@@ -10411,8 +10434,8 @@
|
|
|
10411
10434
|
"type": {
|
|
10412
10435
|
"text": "boolean"
|
|
10413
10436
|
},
|
|
10437
|
+
"description": "Whether the checkbox is indeterminate (some descendants selected). Managed by\n`<l-tree>` in cascade mode; set it yourself with `independent`.",
|
|
10414
10438
|
"default": "false",
|
|
10415
|
-
"description": "Whether the checkbox is indeterminate (some descendants selected).",
|
|
10416
10439
|
"attribute": "indeterminate",
|
|
10417
10440
|
"reflects": true
|
|
10418
10441
|
},
|
|
@@ -10582,8 +10605,8 @@
|
|
|
10582
10605
|
"type": {
|
|
10583
10606
|
"text": "boolean"
|
|
10584
10607
|
},
|
|
10608
|
+
"description": "Whether the checkbox is indeterminate (some descendants selected). Managed by\n`<l-tree>` in cascade mode; set it yourself with `independent`.",
|
|
10585
10609
|
"default": "false",
|
|
10586
|
-
"description": "Whether the checkbox is indeterminate (some descendants selected).",
|
|
10587
10610
|
"fieldName": "indeterminate"
|
|
10588
10611
|
},
|
|
10589
10612
|
{
|