@vielzeug/codex 26.10.11 → 26.10.12
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/data/catalog.json +43 -43
- package/data/llms-full.txt +3 -3
- package/data/llms.txt +1 -1
- package/data/manifest.json +1 -1
- package/data/packages/gesture.json +2 -2
- package/data/refine.json +1665 -1665
- package/data/search.json +2 -2
- package/package.json +2 -2
package/data/refine.json
CHANGED
|
@@ -62,189 +62,211 @@
|
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"kind": "function",
|
|
65
|
-
"name": "
|
|
65
|
+
"name": "announce",
|
|
66
66
|
"return": {
|
|
67
67
|
"type": {
|
|
68
|
-
"text": "
|
|
68
|
+
"text": "void"
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
"parameters": [
|
|
72
72
|
{
|
|
73
|
-
"name": "
|
|
73
|
+
"name": "message",
|
|
74
74
|
"type": {
|
|
75
|
-
"text": "
|
|
75
|
+
"text": "string"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "options",
|
|
80
|
+
"default": "{}",
|
|
81
|
+
"type": {
|
|
82
|
+
"text": "AnnounceOptions"
|
|
76
83
|
}
|
|
77
84
|
}
|
|
78
85
|
],
|
|
79
|
-
"description": "
|
|
86
|
+
"description": "Announces a message to screen readers via a singleton visually-hidden\nlive region. Safe to call outside a component lifecycle (no cleanup needed).\n\nUses latest-value replacement: rapid consecutive calls to the same politeness\ncancel pending writes so only the last message is spoken. The clear-then-set\npattern (short delay) forces AT to re-read even when the message text hasn't\nchanged."
|
|
80
87
|
},
|
|
81
88
|
{
|
|
82
89
|
"kind": "function",
|
|
83
|
-
"name": "
|
|
90
|
+
"name": "setAriaReflection",
|
|
84
91
|
"return": {
|
|
85
92
|
"type": {
|
|
86
|
-
"text": "
|
|
93
|
+
"text": "void"
|
|
87
94
|
}
|
|
88
95
|
},
|
|
89
96
|
"parameters": [
|
|
90
97
|
{
|
|
91
|
-
"name": "
|
|
98
|
+
"name": "el",
|
|
92
99
|
"type": {
|
|
93
|
-
"text": "
|
|
100
|
+
"text": "Element"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "property",
|
|
105
|
+
"type": {
|
|
106
|
+
"text": "AriaReflectionProperty"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "targets",
|
|
111
|
+
"type": {
|
|
112
|
+
"text": "readonly Element[]"
|
|
94
113
|
}
|
|
95
114
|
}
|
|
96
115
|
],
|
|
97
|
-
"description": "
|
|
116
|
+
"description": "Associates `el` with `targets` via the given ARIA relationship. Prefers the\ncross-shadow-root-safe element-reflection property; falls back to a plain IDREF attribute\nbuilt from `targets`' own `id`s when the browser doesn't support element reflection yet.\n\nPass an empty array to clear the relationship."
|
|
98
117
|
},
|
|
99
118
|
{
|
|
100
119
|
"kind": "function",
|
|
101
|
-
"name": "
|
|
120
|
+
"name": "createAutoResize",
|
|
102
121
|
"return": {
|
|
103
122
|
"type": {
|
|
104
|
-
"text": "
|
|
123
|
+
"text": "AutoResizeControl"
|
|
105
124
|
}
|
|
106
125
|
},
|
|
107
126
|
"parameters": [
|
|
108
127
|
{
|
|
109
|
-
"name": "
|
|
128
|
+
"name": "options",
|
|
129
|
+
"default": "{}",
|
|
110
130
|
"type": {
|
|
111
|
-
"text": "
|
|
131
|
+
"text": "AutoResizeOptions"
|
|
112
132
|
}
|
|
113
133
|
}
|
|
114
134
|
],
|
|
115
|
-
"description": "
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
"kind": "variable",
|
|
119
|
-
"name": "children",
|
|
120
|
-
"type": {
|
|
121
|
-
"text": "readonly IconElement[]"
|
|
122
|
-
}
|
|
135
|
+
"description": "Grows a `<textarea>`'s height to fit its content, shared by every component that offers\nauto-resize (`ore-textarea`, `ore-message-composer`) instead of each reimplementing it.\n\nOwns only height: manual-resize cursor/direction is a per-component styling concern, not\nshared behavior, so it stays local to whichever component renders a resize handle."
|
|
123
136
|
},
|
|
124
137
|
{
|
|
125
138
|
"kind": "function",
|
|
126
|
-
"name": "
|
|
139
|
+
"name": "createCheckable",
|
|
127
140
|
"return": {
|
|
128
141
|
"type": {
|
|
129
|
-
"text": "
|
|
142
|
+
"text": "CheckableHandle"
|
|
130
143
|
}
|
|
131
144
|
},
|
|
132
145
|
"parameters": [
|
|
133
146
|
{
|
|
134
|
-
"name": "
|
|
135
|
-
"type": {
|
|
136
|
-
"text": "IconifyCollection"
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"name": "names",
|
|
141
|
-
"optional": true,
|
|
147
|
+
"name": "options",
|
|
142
148
|
"type": {
|
|
143
|
-
"text": "
|
|
149
|
+
"text": "CheckableOptions"
|
|
144
150
|
}
|
|
145
151
|
}
|
|
146
|
-
]
|
|
147
|
-
"description": "Convert selected names (including aliases), or the entire explicitly imported collection."
|
|
152
|
+
]
|
|
148
153
|
},
|
|
149
154
|
{
|
|
150
155
|
"kind": "function",
|
|
151
|
-
"name": "
|
|
156
|
+
"name": "createChoiceField",
|
|
152
157
|
"return": {
|
|
153
158
|
"type": {
|
|
154
|
-
"text": "
|
|
159
|
+
"text": "ChoiceFieldHandle"
|
|
155
160
|
}
|
|
156
161
|
},
|
|
157
162
|
"parameters": [
|
|
158
163
|
{
|
|
159
|
-
"name": "
|
|
164
|
+
"name": "options",
|
|
160
165
|
"type": {
|
|
161
|
-
"text": "
|
|
166
|
+
"text": "ChoiceFieldOptions"
|
|
162
167
|
}
|
|
163
168
|
}
|
|
164
169
|
]
|
|
165
170
|
},
|
|
166
171
|
{
|
|
167
172
|
"kind": "function",
|
|
168
|
-
"name": "
|
|
173
|
+
"name": "createComposerControl",
|
|
169
174
|
"return": {
|
|
170
175
|
"type": {
|
|
171
|
-
"text": "
|
|
176
|
+
"text": "ComposerControl"
|
|
172
177
|
}
|
|
173
178
|
},
|
|
174
179
|
"parameters": [
|
|
175
180
|
{
|
|
176
|
-
"name": "
|
|
181
|
+
"name": "options",
|
|
177
182
|
"type": {
|
|
178
|
-
"text": "
|
|
183
|
+
"text": "ComposerControlOptions"
|
|
179
184
|
}
|
|
180
185
|
}
|
|
181
186
|
],
|
|
182
|
-
"description": "
|
|
187
|
+
"description": "Send-gesture logic for a message/comment composer: decides *when* a send is allowed\nand *whether* a given keydown counts as one. Owns no DOM, value state, or event dispatch;\nthe component wires `handleKeydown`/`send` and decides what a send actually does."
|
|
183
188
|
},
|
|
184
189
|
{
|
|
185
190
|
"kind": "function",
|
|
186
|
-
"name": "
|
|
191
|
+
"name": "parseIso",
|
|
187
192
|
"return": {
|
|
188
193
|
"type": {
|
|
189
|
-
"text": "
|
|
194
|
+
"text": "Temporal.PlainDate | null"
|
|
190
195
|
}
|
|
191
196
|
},
|
|
192
197
|
"parameters": [
|
|
193
198
|
{
|
|
194
|
-
"name": "
|
|
199
|
+
"name": "iso",
|
|
195
200
|
"type": {
|
|
196
|
-
"text": "
|
|
201
|
+
"text": "string | undefined | null"
|
|
197
202
|
}
|
|
198
203
|
}
|
|
199
204
|
],
|
|
200
|
-
"description": "
|
|
205
|
+
"description": "Parses an ISO 8601 date string (`yyyy-MM-dd`) into a `Temporal.PlainDate`.\nReturns `null` for any invalid / empty input: never throws."
|
|
201
206
|
},
|
|
202
207
|
{
|
|
203
208
|
"kind": "function",
|
|
204
|
-
"name": "
|
|
209
|
+
"name": "toIsoString",
|
|
205
210
|
"return": {
|
|
206
211
|
"type": {
|
|
207
|
-
"text": "
|
|
212
|
+
"text": "string | null"
|
|
208
213
|
}
|
|
209
214
|
},
|
|
210
215
|
"parameters": [
|
|
211
216
|
{
|
|
212
|
-
"name": "
|
|
217
|
+
"name": "date",
|
|
213
218
|
"type": {
|
|
214
|
-
"text": "
|
|
219
|
+
"text": "Temporal.PlainDate | null"
|
|
215
220
|
}
|
|
216
221
|
}
|
|
217
222
|
],
|
|
218
|
-
"description": "
|
|
223
|
+
"description": "Serialises a `Temporal.PlainDate` (or `null`) to an ISO 8601 string (`yyyy-MM-dd`).\nReturns `null` when the input is `null`."
|
|
219
224
|
},
|
|
220
225
|
{
|
|
221
226
|
"kind": "function",
|
|
222
|
-
"name": "
|
|
227
|
+
"name": "formatDisplayDate",
|
|
223
228
|
"return": {
|
|
224
229
|
"type": {
|
|
225
|
-
"text": "
|
|
230
|
+
"text": "string"
|
|
226
231
|
}
|
|
227
232
|
},
|
|
228
233
|
"parameters": [
|
|
229
234
|
{
|
|
230
|
-
"name": "
|
|
235
|
+
"name": "date",
|
|
236
|
+
"type": {
|
|
237
|
+
"text": "Temporal.PlainDate"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "locale",
|
|
231
242
|
"type": {
|
|
232
243
|
"text": "string"
|
|
233
244
|
}
|
|
234
245
|
}
|
|
235
|
-
]
|
|
246
|
+
],
|
|
247
|
+
"description": "Formats a `Temporal.PlainDate` for display in a given locale.\ne.g. \"15 Jun 2025\" (default medium pattern)."
|
|
236
248
|
},
|
|
237
249
|
{
|
|
238
|
-
"kind": "
|
|
239
|
-
"name": "
|
|
240
|
-
"
|
|
241
|
-
"
|
|
250
|
+
"kind": "function",
|
|
251
|
+
"name": "createDatePickerControl",
|
|
252
|
+
"return": {
|
|
253
|
+
"type": {
|
|
254
|
+
"text": "DatePickerControl"
|
|
255
|
+
}
|
|
242
256
|
},
|
|
243
|
-
"
|
|
257
|
+
"parameters": [
|
|
258
|
+
{
|
|
259
|
+
"name": "options",
|
|
260
|
+
"type": {
|
|
261
|
+
"text": "DatePickerControlOptions"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"description": "Pure, framework-agnostic date-picker state machine backed by `Temporal.PlainDate`.\n\nAll state is held in plain mutable variables: suitable for wrapping in any\nreactive layer (ore `signal`, Vue ref, etc.). The factory returns a stable\nhandle object; callers are responsible for reactivity.\n\nOptions with getter-based live bindings (e.g. `get min() { ... }`) are read\non every call so the control always reflects the latest reactive state."
|
|
244
266
|
},
|
|
245
267
|
{
|
|
246
268
|
"kind": "function",
|
|
247
|
-
"name": "
|
|
269
|
+
"name": "handleCalendarGridKeydown",
|
|
248
270
|
"return": {
|
|
249
271
|
"type": {
|
|
250
272
|
"text": "void"
|
|
@@ -252,255 +274,253 @@
|
|
|
252
274
|
},
|
|
253
275
|
"parameters": [
|
|
254
276
|
{
|
|
255
|
-
"name": "
|
|
256
|
-
"default": "{}",
|
|
277
|
+
"name": "event",
|
|
257
278
|
"type": {
|
|
258
|
-
"text": "
|
|
279
|
+
"text": "KeyboardEvent"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"name": "cellSelector",
|
|
284
|
+
"type": {
|
|
285
|
+
"text": "string"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "columns",
|
|
290
|
+
"type": {
|
|
291
|
+
"text": "number"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"name": "onSelect",
|
|
296
|
+
"type": {
|
|
297
|
+
"text": "(cell: HTMLElement) => void"
|
|
259
298
|
}
|
|
260
299
|
}
|
|
261
|
-
]
|
|
300
|
+
],
|
|
301
|
+
"description": "Roving-arrow keyboard navigation for a calendar grid, implementing the ARIA `grid` cell pattern:\nArrow keys move by one cell / one row (`columns` wide), Home/End jump to the row's first/last\ncell, and Enter/Space activate the focused cell. Every calendar grid: days (7 columns) and\nmonths/years (4 columns): carries the base `.cal-grid` class, so `closest('.cal-grid')` scopes\nthe movement to the grid the event fired in regardless of view.\n\n`onSelect` receives the activated cell element so the day view can read its `data-iso` while the\nmonth/year views ignore the argument and use their own closure value."
|
|
262
302
|
},
|
|
263
303
|
{
|
|
264
304
|
"kind": "function",
|
|
265
|
-
"name": "
|
|
305
|
+
"name": "elementDirection",
|
|
266
306
|
"return": {
|
|
267
307
|
"type": {
|
|
268
|
-
"text": "
|
|
308
|
+
"text": "'ltr' | 'rtl'"
|
|
269
309
|
}
|
|
270
310
|
},
|
|
271
311
|
"parameters": [
|
|
272
312
|
{
|
|
273
|
-
"name": "
|
|
313
|
+
"name": "el",
|
|
274
314
|
"type": {
|
|
275
|
-
"text": "
|
|
315
|
+
"text": "Element | null"
|
|
276
316
|
}
|
|
277
317
|
}
|
|
278
|
-
]
|
|
318
|
+
],
|
|
319
|
+
"description": "Resolves the effective text direction for an element.\n\nThe closest ancestor with an explicit `dir=\"ltr\"` or `dir=\"rtl\"` attribute wins: this\nsupports locally-scoped RTL sections (e.g. a single `dir=\"rtl\"` panel inside an otherwise\nLTR page). When no explicit `dir` attribute is found up the tree, falls back to the\ncomputed `direction` CSS property (e.g. set via a `direction: rtl` style rule with no\n`dir` attribute). Defaults to `'ltr'` when `el` is `null`."
|
|
279
320
|
},
|
|
280
321
|
{
|
|
281
322
|
"kind": "function",
|
|
282
|
-
"name": "
|
|
323
|
+
"name": "createErrorHelperState",
|
|
283
324
|
"return": {
|
|
284
325
|
"type": {
|
|
285
|
-
"text": "
|
|
326
|
+
"text": "Readable<ErrorHelperState>"
|
|
286
327
|
}
|
|
287
328
|
},
|
|
288
329
|
"parameters": [
|
|
289
330
|
{
|
|
290
|
-
"name": "
|
|
331
|
+
"name": "options",
|
|
291
332
|
"type": {
|
|
292
|
-
"text": "
|
|
333
|
+
"text": "ErrorHelperOptions"
|
|
293
334
|
}
|
|
294
335
|
}
|
|
295
336
|
]
|
|
296
337
|
},
|
|
297
338
|
{
|
|
298
339
|
"kind": "function",
|
|
299
|
-
"name": "
|
|
340
|
+
"name": "createCounterState",
|
|
300
341
|
"return": {
|
|
301
342
|
"type": {
|
|
302
|
-
"text": "
|
|
343
|
+
"text": "Readable<CounterState>"
|
|
303
344
|
}
|
|
304
345
|
},
|
|
305
346
|
"parameters": [
|
|
306
347
|
{
|
|
307
|
-
"name": "
|
|
308
|
-
"type": {
|
|
309
|
-
"text": "IconDefinition"
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
"name": "prefix",
|
|
348
|
+
"name": "options",
|
|
314
349
|
"type": {
|
|
315
|
-
"text": "
|
|
350
|
+
"text": "CounterOptions"
|
|
316
351
|
}
|
|
317
352
|
}
|
|
318
353
|
],
|
|
319
|
-
"description": "
|
|
354
|
+
"description": "Creates a reactive counter state signal for text fields with `maxLength`.\nOnly call this when `maxLength` may be set: the state is genuinely opt-in."
|
|
320
355
|
},
|
|
321
356
|
{
|
|
322
357
|
"kind": "function",
|
|
323
|
-
"name": "
|
|
358
|
+
"name": "counterClassName",
|
|
324
359
|
"return": {
|
|
325
360
|
"type": {
|
|
326
|
-
"text": "
|
|
361
|
+
"text": "string"
|
|
327
362
|
}
|
|
328
363
|
},
|
|
329
364
|
"parameters": [
|
|
330
365
|
{
|
|
331
|
-
"name": "
|
|
366
|
+
"name": "counter",
|
|
332
367
|
"type": {
|
|
333
|
-
"text": "
|
|
368
|
+
"text": "CounterState | undefined"
|
|
334
369
|
}
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"name": "base",
|
|
373
|
+
"default": "'counter'"
|
|
335
374
|
}
|
|
336
375
|
],
|
|
337
|
-
"description": "
|
|
376
|
+
"description": "The single implementation of \"which modifier class does this counter state map to\" :\nevery field with a character counter (`ore-input`, `ore-textarea`, `ore-message-composer`)\nrenders the identical near-limit/at-limit styling, so this is the one place that decides it."
|
|
338
377
|
},
|
|
339
378
|
{
|
|
340
379
|
"kind": "function",
|
|
341
|
-
"name": "
|
|
380
|
+
"name": "createDirtyTracker",
|
|
342
381
|
"return": {
|
|
343
382
|
"type": {
|
|
344
|
-
"text": "
|
|
383
|
+
"text": "DirtyTracker"
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"kind": "function",
|
|
389
|
+
"name": "createAssistiveState",
|
|
390
|
+
"return": {
|
|
391
|
+
"type": {
|
|
392
|
+
"text": "AssistiveStateHandle"
|
|
345
393
|
}
|
|
346
394
|
},
|
|
347
395
|
"parameters": [
|
|
348
|
-
{
|
|
349
|
-
"name": "message",
|
|
350
|
-
"type": {
|
|
351
|
-
"text": "string"
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
396
|
{
|
|
355
397
|
"name": "options",
|
|
356
|
-
"default": "{}",
|
|
357
398
|
"type": {
|
|
358
|
-
"text": "
|
|
399
|
+
"text": "AssistiveStateOptions"
|
|
359
400
|
}
|
|
360
401
|
}
|
|
361
|
-
]
|
|
362
|
-
"description": "Announces a message to screen readers via a singleton visually-hidden\nlive region. Safe to call outside a component lifecycle (no cleanup needed).\n\nUses latest-value replacement: rapid consecutive calls to the same politeness\ncancel pending writes so only the last message is spoken. The clear-then-set\npattern (short delay) forces AT to re-read even when the message text hasn't\nchanged."
|
|
402
|
+
]
|
|
363
403
|
},
|
|
364
404
|
{
|
|
365
405
|
"kind": "function",
|
|
366
|
-
"name": "
|
|
406
|
+
"name": "createLabelState",
|
|
367
407
|
"return": {
|
|
368
408
|
"type": {
|
|
369
|
-
"text": "
|
|
409
|
+
"text": "LabelStateHandle"
|
|
370
410
|
}
|
|
371
411
|
},
|
|
372
412
|
"parameters": [
|
|
373
413
|
{
|
|
374
|
-
"name": "
|
|
414
|
+
"name": "options",
|
|
375
415
|
"type": {
|
|
376
|
-
"text": "
|
|
377
|
-
}
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
"name": "property",
|
|
381
|
-
"type": {
|
|
382
|
-
"text": "AriaReflectionProperty"
|
|
383
|
-
}
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
"name": "targets",
|
|
387
|
-
"type": {
|
|
388
|
-
"text": "readonly Element[]"
|
|
416
|
+
"text": "LabelStateOptions"
|
|
389
417
|
}
|
|
390
418
|
}
|
|
391
|
-
]
|
|
392
|
-
"description": "Associates `el` with `targets` via the given ARIA relationship. Prefers the\ncross-shadow-root-safe element-reflection property; falls back to a plain IDREF attribute\nbuilt from `targets`' own `id`s when the browser doesn't support element reflection yet.\n\nPass an empty array to clear the relationship."
|
|
419
|
+
]
|
|
393
420
|
},
|
|
394
421
|
{
|
|
395
422
|
"kind": "function",
|
|
396
|
-
"name": "
|
|
423
|
+
"name": "createField",
|
|
397
424
|
"return": {
|
|
398
425
|
"type": {
|
|
399
|
-
"text": "
|
|
426
|
+
"text": "FieldHandle"
|
|
400
427
|
}
|
|
401
428
|
},
|
|
402
429
|
"parameters": [
|
|
403
430
|
{
|
|
404
431
|
"name": "options",
|
|
405
|
-
"default": "{}",
|
|
406
432
|
"type": {
|
|
407
|
-
"text": "
|
|
433
|
+
"text": "FieldOptions"
|
|
408
434
|
}
|
|
409
435
|
}
|
|
410
|
-
]
|
|
411
|
-
"description": "Grows a `<textarea>`'s height to fit its content, shared by every component that offers\nauto-resize (`ore-textarea`, `ore-message-composer`) instead of each reimplementing it.\n\nOwns only height: manual-resize cursor/direction is a per-component styling concern, not\nshared behavior, so it stays local to whichever component renders a resize handle."
|
|
436
|
+
]
|
|
412
437
|
},
|
|
413
438
|
{
|
|
414
439
|
"kind": "function",
|
|
415
|
-
"name": "
|
|
440
|
+
"name": "createFocusManager",
|
|
416
441
|
"return": {
|
|
417
442
|
"type": {
|
|
418
|
-
"text": "
|
|
443
|
+
"text": "FocusManager"
|
|
419
444
|
}
|
|
420
445
|
},
|
|
421
446
|
"parameters": [
|
|
422
447
|
{
|
|
423
448
|
"name": "options",
|
|
424
449
|
"type": {
|
|
425
|
-
"text": "
|
|
450
|
+
"text": "FocusManagerOptions"
|
|
426
451
|
}
|
|
427
452
|
}
|
|
428
|
-
]
|
|
453
|
+
],
|
|
454
|
+
"description": "Encapsulates the three-step focus lifecycle used by dialogs and drawers:\n1. Capture the element that triggered the open.\n2. Move focus inside the overlay (optionally to a specific element).\n3. Restore focus when the overlay closes."
|
|
429
455
|
},
|
|
430
456
|
{
|
|
431
457
|
"kind": "function",
|
|
432
|
-
"name": "
|
|
458
|
+
"name": "dispatchKeyboardAction",
|
|
433
459
|
"return": {
|
|
434
460
|
"type": {
|
|
435
|
-
"text": "
|
|
461
|
+
"text": "boolean"
|
|
436
462
|
}
|
|
437
463
|
},
|
|
438
464
|
"parameters": [
|
|
465
|
+
{
|
|
466
|
+
"name": "event",
|
|
467
|
+
"type": {
|
|
468
|
+
"text": "KeyboardEvent"
|
|
469
|
+
}
|
|
470
|
+
},
|
|
439
471
|
{
|
|
440
472
|
"name": "options",
|
|
441
473
|
"type": {
|
|
442
|
-
"text": "
|
|
474
|
+
"text": "KeyboardDispatchOptions"
|
|
443
475
|
}
|
|
444
476
|
}
|
|
445
477
|
]
|
|
446
478
|
},
|
|
447
479
|
{
|
|
448
480
|
"kind": "function",
|
|
449
|
-
"name": "
|
|
481
|
+
"name": "createInteraction",
|
|
450
482
|
"return": {
|
|
451
483
|
"type": {
|
|
452
|
-
"text": "
|
|
484
|
+
"text": "Interaction"
|
|
453
485
|
}
|
|
454
486
|
},
|
|
455
487
|
"parameters": [
|
|
456
488
|
{
|
|
457
489
|
"name": "options",
|
|
458
490
|
"type": {
|
|
459
|
-
"text": "
|
|
491
|
+
"text": "InteractionOptions"
|
|
460
492
|
}
|
|
461
493
|
}
|
|
462
494
|
],
|
|
463
|
-
"description": "
|
|
495
|
+
"description": "Creates a set of event handlers for an interactive element that responds to\nkeyboard and pointer presses, and optionally focus/blur events."
|
|
464
496
|
},
|
|
465
497
|
{
|
|
466
498
|
"kind": "function",
|
|
467
|
-
"name": "
|
|
499
|
+
"name": "getLightChildrenByTag",
|
|
468
500
|
"return": {
|
|
469
501
|
"type": {
|
|
470
|
-
"text": "
|
|
502
|
+
"text": "HTMLElement[]"
|
|
471
503
|
}
|
|
472
504
|
},
|
|
473
505
|
"parameters": [
|
|
474
506
|
{
|
|
475
|
-
"name": "
|
|
507
|
+
"name": "host",
|
|
476
508
|
"type": {
|
|
477
|
-
"text": "
|
|
509
|
+
"text": "HTMLElement"
|
|
478
510
|
}
|
|
479
|
-
}
|
|
480
|
-
],
|
|
481
|
-
"description": "Parses an ISO 8601 date string (`yyyy-MM-dd`) into a `Temporal.PlainDate`.\nReturns `null` for any invalid / empty input: never throws."
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
"kind": "function",
|
|
485
|
-
"name": "toIsoString",
|
|
486
|
-
"return": {
|
|
487
|
-
"type": {
|
|
488
|
-
"text": "string | null"
|
|
489
|
-
}
|
|
490
|
-
},
|
|
491
|
-
"parameters": [
|
|
511
|
+
},
|
|
492
512
|
{
|
|
493
|
-
"name": "
|
|
513
|
+
"name": "tag",
|
|
494
514
|
"type": {
|
|
495
|
-
"text": "
|
|
515
|
+
"text": "string"
|
|
496
516
|
}
|
|
497
517
|
}
|
|
498
518
|
],
|
|
499
|
-
"description": "
|
|
519
|
+
"description": "Returns all light-DOM descendants matching `tag` inside `host`.\nUses `getElementsByTagName` on the host's light DOM \\u2014 not Shadow DOM slot assignment."
|
|
500
520
|
},
|
|
501
521
|
{
|
|
502
522
|
"kind": "function",
|
|
503
|
-
"name": "
|
|
523
|
+
"name": "getChoiceLabel",
|
|
504
524
|
"return": {
|
|
505
525
|
"type": {
|
|
506
526
|
"text": "string"
|
|
@@ -508,623 +528,603 @@
|
|
|
508
528
|
},
|
|
509
529
|
"parameters": [
|
|
510
530
|
{
|
|
511
|
-
"name": "
|
|
531
|
+
"name": "items",
|
|
512
532
|
"type": {
|
|
513
|
-
"text": "
|
|
533
|
+
"text": "HTMLElement[]"
|
|
514
534
|
}
|
|
515
535
|
},
|
|
516
536
|
{
|
|
517
|
-
"name": "
|
|
537
|
+
"name": "value",
|
|
518
538
|
"type": {
|
|
519
539
|
"text": "string"
|
|
520
540
|
}
|
|
521
541
|
}
|
|
522
542
|
],
|
|
523
|
-
"description": "
|
|
543
|
+
"description": "Returns the `textContent` of the item whose `value` attribute matches `value`,\nfalling back to `value` itself when no match is found.\nUsed by choice-field components to derive labels for emitted change events."
|
|
524
544
|
},
|
|
525
545
|
{
|
|
526
546
|
"kind": "function",
|
|
527
|
-
"name": "
|
|
547
|
+
"name": "createListControl",
|
|
528
548
|
"return": {
|
|
529
549
|
"type": {
|
|
530
|
-
"text": "
|
|
550
|
+
"text": "ListControl<T>"
|
|
531
551
|
}
|
|
532
552
|
},
|
|
533
553
|
"parameters": [
|
|
534
554
|
{
|
|
535
555
|
"name": "options",
|
|
536
556
|
"type": {
|
|
537
|
-
"text": "
|
|
557
|
+
"text": "ListNavigationOptions<T>"
|
|
538
558
|
}
|
|
539
559
|
}
|
|
540
|
-
]
|
|
541
|
-
"description": "Pure, framework-agnostic date-picker state machine backed by `Temporal.PlainDate`.\n\nAll state is held in plain mutable variables: suitable for wrapping in any\nreactive layer (ore `signal`, Vue ref, etc.). The factory returns a stable\nhandle object; callers are responsible for reactivity.\n\nOptions with getter-based live bindings (e.g. `get min() { ... }`) are read\non every call so the control always reflects the latest reactive state."
|
|
560
|
+
]
|
|
542
561
|
},
|
|
543
562
|
{
|
|
544
563
|
"kind": "function",
|
|
545
|
-
"name": "
|
|
564
|
+
"name": "toFiniteNumber",
|
|
546
565
|
"return": {
|
|
547
566
|
"type": {
|
|
548
|
-
"text": "
|
|
567
|
+
"text": "number | undefined"
|
|
549
568
|
}
|
|
550
569
|
},
|
|
551
570
|
"parameters": [
|
|
552
571
|
{
|
|
553
|
-
"name": "
|
|
554
|
-
"type": {
|
|
555
|
-
"text": "KeyboardEvent"
|
|
556
|
-
}
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
"name": "cellSelector",
|
|
560
|
-
"type": {
|
|
561
|
-
"text": "string"
|
|
562
|
-
}
|
|
563
|
-
},
|
|
564
|
-
{
|
|
565
|
-
"name": "columns",
|
|
566
|
-
"type": {
|
|
567
|
-
"text": "number"
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"name": "onSelect",
|
|
572
|
+
"name": "value",
|
|
572
573
|
"type": {
|
|
573
|
-
"text": "
|
|
574
|
+
"text": "unknown"
|
|
574
575
|
}
|
|
575
576
|
}
|
|
576
577
|
],
|
|
577
|
-
"description": "
|
|
578
|
+
"description": "Coerces `value` via `Number()` and returns it when finite, `undefined` otherwise.\n\nCaveat: `null` and `''` both coerce to `0` in JavaScript (`Number(null) === 0`,\n`Number('') === 0`) and are therefore returned as the finite number `0`, not\n`undefined`: this function does not treat \"absent\" values specially. Only\ngenuinely non-numeric input (`undefined`, `NaN`, non-numeric strings) yields\n`undefined`. Callers that mean \"no bound set\" should pass `undefined`\nexplicitly rather than `null` or `''`."
|
|
578
579
|
},
|
|
579
580
|
{
|
|
580
581
|
"kind": "function",
|
|
581
|
-
"name": "
|
|
582
|
+
"name": "toFiniteNumberOr",
|
|
582
583
|
"return": {
|
|
583
584
|
"type": {
|
|
584
|
-
"text": "
|
|
585
|
+
"text": "number"
|
|
585
586
|
}
|
|
586
587
|
},
|
|
587
588
|
"parameters": [
|
|
588
589
|
{
|
|
589
|
-
"name": "
|
|
590
|
+
"name": "value",
|
|
590
591
|
"type": {
|
|
591
|
-
"text": "
|
|
592
|
+
"text": "unknown"
|
|
593
|
+
}
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "fallback",
|
|
597
|
+
"type": {
|
|
598
|
+
"text": "number"
|
|
592
599
|
}
|
|
593
600
|
}
|
|
594
|
-
]
|
|
595
|
-
"description": "Resolves the effective text direction for an element.\n\nThe closest ancestor with an explicit `dir=\"ltr\"` or `dir=\"rtl\"` attribute wins: this\nsupports locally-scoped RTL sections (e.g. a single `dir=\"rtl\"` panel inside an otherwise\nLTR page). When no explicit `dir` attribute is found up the tree, falls back to the\ncomputed `direction` CSS property (e.g. set via a `direction: rtl` style rule with no\n`dir` attribute). Defaults to `'ltr'` when `el` is `null`."
|
|
601
|
+
]
|
|
596
602
|
},
|
|
597
603
|
{
|
|
598
604
|
"kind": "function",
|
|
599
|
-
"name": "
|
|
605
|
+
"name": "toPositiveStep",
|
|
600
606
|
"return": {
|
|
601
607
|
"type": {
|
|
602
|
-
"text": "
|
|
608
|
+
"text": "number"
|
|
603
609
|
}
|
|
604
610
|
},
|
|
605
611
|
"parameters": [
|
|
606
612
|
{
|
|
607
|
-
"name": "
|
|
613
|
+
"name": "value",
|
|
608
614
|
"type": {
|
|
609
|
-
"text": "
|
|
615
|
+
"text": "unknown"
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"name": "fallback",
|
|
620
|
+
"type": {
|
|
621
|
+
"text": "number"
|
|
610
622
|
}
|
|
611
623
|
}
|
|
612
624
|
]
|
|
613
625
|
},
|
|
614
626
|
{
|
|
615
627
|
"kind": "function",
|
|
616
|
-
"name": "
|
|
628
|
+
"name": "createListboxDropdown",
|
|
617
629
|
"return": {
|
|
618
630
|
"type": {
|
|
619
|
-
"text": "
|
|
631
|
+
"text": "ListboxDropdown<T>"
|
|
620
632
|
}
|
|
621
633
|
},
|
|
622
634
|
"parameters": [
|
|
623
635
|
{
|
|
624
636
|
"name": "options",
|
|
625
637
|
"type": {
|
|
626
|
-
"text": "
|
|
638
|
+
"text": "ListboxDropdownOptions<T>"
|
|
627
639
|
}
|
|
628
640
|
}
|
|
629
641
|
],
|
|
630
|
-
"description": "
|
|
642
|
+
"description": "Internal listbox dropdown behavior for select and combobox. It owns only\nlistbox interactions; menu and other overlay families keep their own logic."
|
|
631
643
|
},
|
|
632
644
|
{
|
|
633
645
|
"kind": "function",
|
|
634
|
-
"name": "
|
|
646
|
+
"name": "lifecycleSignal",
|
|
635
647
|
"return": {
|
|
636
648
|
"type": {
|
|
637
|
-
"text": "
|
|
649
|
+
"text": "AbortSignal"
|
|
638
650
|
}
|
|
639
651
|
},
|
|
640
652
|
"parameters": [
|
|
641
653
|
{
|
|
642
|
-
"name": "
|
|
654
|
+
"name": "onCleanup",
|
|
643
655
|
"type": {
|
|
644
|
-
"text": "
|
|
656
|
+
"text": "(fn: () => void) => void"
|
|
645
657
|
}
|
|
646
|
-
},
|
|
647
|
-
{
|
|
648
|
-
"name": "base",
|
|
649
|
-
"default": "'counter'"
|
|
650
658
|
}
|
|
651
659
|
],
|
|
652
|
-
"description": "
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
"kind": "function",
|
|
656
|
-
"name": "createDirtyTracker",
|
|
657
|
-
"return": {
|
|
658
|
-
"type": {
|
|
659
|
-
"text": "DirtyTracker"
|
|
660
|
-
}
|
|
661
|
-
}
|
|
660
|
+
"description": "Creates an `AbortSignal` tied to the component's Ore lifecycle.\n\nCall once at the top of a `setup()` function and pass the resulting signal\nas the required `signal` option to any stateful core primitive\n(`createTextField`, `createCheckable`, `createListboxDropdown`, etc.).\n\nWhen Ore disconnects the component, `onCleanup` fires, aborting the\nsignal and triggering cleanup in every primitive that received it."
|
|
662
661
|
},
|
|
663
662
|
{
|
|
664
663
|
"kind": "function",
|
|
665
|
-
"name": "
|
|
664
|
+
"name": "createOutsidePointerDismissal",
|
|
666
665
|
"return": {
|
|
667
666
|
"type": {
|
|
668
|
-
"text": "
|
|
667
|
+
"text": "(() => void)"
|
|
669
668
|
}
|
|
670
669
|
},
|
|
671
670
|
"parameters": [
|
|
672
671
|
{
|
|
673
672
|
"name": "options",
|
|
674
673
|
"type": {
|
|
675
|
-
"text": "
|
|
674
|
+
"text": "OutsidePointerDismissalOptions"
|
|
676
675
|
}
|
|
677
676
|
}
|
|
678
|
-
]
|
|
677
|
+
],
|
|
678
|
+
"description": "Dismisses an active floating surface when a pointer begins outside all of its\nsupplied boundary elements. Components retain ownership of their open state."
|
|
679
679
|
},
|
|
680
680
|
{
|
|
681
681
|
"kind": "function",
|
|
682
|
-
"name": "
|
|
682
|
+
"name": "parseStringTriggers",
|
|
683
683
|
"return": {
|
|
684
684
|
"type": {
|
|
685
|
-
"text": "
|
|
685
|
+
"text": "T[]"
|
|
686
686
|
}
|
|
687
687
|
},
|
|
688
688
|
"parameters": [
|
|
689
689
|
{
|
|
690
|
-
"name": "
|
|
690
|
+
"name": "value",
|
|
691
691
|
"type": {
|
|
692
|
-
"text": "
|
|
692
|
+
"text": "string | null | undefined"
|
|
693
|
+
}
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"name": "valid",
|
|
697
|
+
"type": {
|
|
698
|
+
"text": "ReadonlySet<T>"
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"name": "defaults",
|
|
703
|
+
"type": {
|
|
704
|
+
"text": "T[]"
|
|
693
705
|
}
|
|
694
706
|
}
|
|
695
|
-
]
|
|
707
|
+
],
|
|
708
|
+
"description": "Parses a comma-separated trigger string into a typed array, filtering against\na valid set and falling back to `defaults` when the input is empty or invalid.\n\nUsed by tooltip and popover to normalise their `trigger` prop values."
|
|
696
709
|
},
|
|
697
710
|
{
|
|
698
711
|
"kind": "function",
|
|
699
|
-
"name": "
|
|
712
|
+
"name": "parseOptionalBool",
|
|
700
713
|
"return": {
|
|
701
714
|
"type": {
|
|
702
|
-
"text": "
|
|
715
|
+
"text": "boolean | undefined"
|
|
703
716
|
}
|
|
704
717
|
},
|
|
705
718
|
"parameters": [
|
|
706
719
|
{
|
|
707
|
-
"name": "
|
|
720
|
+
"name": "value",
|
|
708
721
|
"type": {
|
|
709
|
-
"text": "
|
|
722
|
+
"text": "string | null"
|
|
710
723
|
}
|
|
711
724
|
}
|
|
712
|
-
]
|
|
725
|
+
],
|
|
726
|
+
"description": "Parses a boolean HTML attribute value into `true | false | undefined`, where\n`undefined` means \"attribute absent\": the signal controlled components (`open`)\nuse to distinguish uncontrolled from controlled mode.\n\nThe grammar is the standard attribute one: presence with no value (`open`) or\nthe literal `\"true\"` is true; anything else, including `\"false\"`, is false.\nEvery controlled overlay (dialog, drawer, menu, popover, tooltip,\ncommand-palette) parses its `open` prop with this exact contract."
|
|
713
727
|
},
|
|
714
728
|
{
|
|
715
729
|
"kind": "function",
|
|
716
|
-
"name": "
|
|
730
|
+
"name": "createDropdownPositioner",
|
|
717
731
|
"return": {
|
|
718
732
|
"type": {
|
|
719
|
-
"text": "
|
|
733
|
+
"text": "OverlayPositioner"
|
|
720
734
|
}
|
|
721
735
|
},
|
|
722
736
|
"parameters": [
|
|
723
737
|
{
|
|
724
|
-
"name": "
|
|
738
|
+
"name": "{\n boundary,\n getDir,\n getFloating,\n getOffsetPx = () => 0,\n getPlacement,\n getReference,\n matchWidth = true,\n onPlacementChange,\n padding = 6,\n useClippingAncestor = true,\n}",
|
|
725
739
|
"type": {
|
|
726
|
-
"text": "
|
|
740
|
+
"text": "DropdownPositionerOptions"
|
|
727
741
|
}
|
|
728
742
|
}
|
|
729
743
|
],
|
|
730
|
-
"description": "
|
|
744
|
+
"description": "Creates an Orbit-powered positioner for dropdown overlays (select, combobox, menu).\n\nUses flip + shift + optional width-matching middleware. Supports continuous\nauto-update for repositioning on scroll or resize.\n\nRTL-aware: start/end placements are automatically mirrored so dropdowns open on the\ncorrect side, based on `getDir` (or the reference element's resolved direction when\n`getDir` is omitted)."
|
|
731
745
|
},
|
|
732
746
|
{
|
|
733
747
|
"kind": "function",
|
|
734
|
-
"name": "
|
|
748
|
+
"name": "bindRefCallback",
|
|
735
749
|
"return": {
|
|
736
750
|
"type": {
|
|
737
|
-
"text": "
|
|
751
|
+
"text": "(() => void)"
|
|
738
752
|
}
|
|
739
753
|
},
|
|
740
754
|
"parameters": [
|
|
741
755
|
{
|
|
742
|
-
"name": "
|
|
756
|
+
"name": "ref",
|
|
743
757
|
"type": {
|
|
744
|
-
"text": "
|
|
758
|
+
"text": "Readable<RefCallback<T>>"
|
|
745
759
|
}
|
|
746
760
|
},
|
|
747
761
|
{
|
|
748
|
-
"name": "
|
|
762
|
+
"name": "el",
|
|
749
763
|
"type": {
|
|
750
|
-
"text": "
|
|
764
|
+
"text": "T"
|
|
751
765
|
}
|
|
752
766
|
}
|
|
753
|
-
]
|
|
767
|
+
],
|
|
768
|
+
"description": "Forwards a mounted element to a JS-only `ref` callback prop, and keeps forwarding to a\n*new* callback if the prop is set again after mount (e.g. a parent sets it via a ref\ncallback after render, rather than at initial mount). Every text-entry-style component\nwith a `ref` escape-hatch prop (`ore-input`, `ore-textarea`, `ore-message-composer`,\n`ore-file-input`) wires this identically: call it once from inside `onElement()`, alongside\nwhatever else that element needs wired."
|
|
754
769
|
},
|
|
755
770
|
{
|
|
756
771
|
"kind": "function",
|
|
757
|
-
"name": "
|
|
772
|
+
"name": "syncedSignal",
|
|
758
773
|
"return": {
|
|
759
774
|
"type": {
|
|
760
|
-
"text": "
|
|
775
|
+
"text": "Signal<TOut>"
|
|
761
776
|
}
|
|
762
777
|
},
|
|
763
778
|
"parameters": [
|
|
764
779
|
{
|
|
765
|
-
"name": "
|
|
780
|
+
"name": "source",
|
|
766
781
|
"type": {
|
|
767
|
-
"text": "
|
|
782
|
+
"text": "Readable<TIn>"
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"name": "abortSignal",
|
|
787
|
+
"optional": true,
|
|
788
|
+
"type": {
|
|
789
|
+
"text": "AbortSignal"
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"name": "transform",
|
|
794
|
+
"default": "(v) => v as unknown as TOut",
|
|
795
|
+
"type": {
|
|
796
|
+
"text": "(value: TIn) => TOut"
|
|
768
797
|
}
|
|
769
798
|
}
|
|
770
799
|
],
|
|
771
|
-
"description": "Creates a
|
|
800
|
+
"description": "Creates a local writable `Signal<T>` that stays in sync with an external\n`Reactive<T>`. When `abortSignal` is provided the watcher subscription\nis disposed automatically on abort; otherwise the caller is responsible for\ndisposal.\n\nInitialised synchronously via `untrack` so the first render never reads a\nstale value. The optional `transform` coerces each incoming value (e.g.\n`Boolean`, `String`)."
|
|
772
801
|
},
|
|
773
802
|
{
|
|
774
803
|
"kind": "function",
|
|
775
|
-
"name": "
|
|
804
|
+
"name": "createSliderControl",
|
|
776
805
|
"return": {
|
|
777
806
|
"type": {
|
|
778
|
-
"text": "
|
|
807
|
+
"text": "SliderControl"
|
|
779
808
|
}
|
|
780
809
|
},
|
|
781
810
|
"parameters": [
|
|
782
811
|
{
|
|
783
|
-
"name": "
|
|
812
|
+
"name": "options",
|
|
784
813
|
"type": {
|
|
785
|
-
"text": "
|
|
814
|
+
"text": "SliderControlOptions"
|
|
786
815
|
}
|
|
787
|
-
}
|
|
816
|
+
}
|
|
817
|
+
]
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"kind": "function",
|
|
821
|
+
"name": "createSpinnerControl",
|
|
822
|
+
"return": {
|
|
823
|
+
"type": {
|
|
824
|
+
"text": "SpinnerControl"
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
"parameters": [
|
|
788
828
|
{
|
|
789
|
-
"name": "
|
|
829
|
+
"name": "options",
|
|
790
830
|
"type": {
|
|
791
|
-
"text": "
|
|
831
|
+
"text": "SpinnerControlOptions"
|
|
792
832
|
}
|
|
793
833
|
}
|
|
794
|
-
]
|
|
795
|
-
"description": "Returns all light-DOM descendants matching `tag` inside `host`.\nUses `getElementsByTagName` on the host's light DOM \\u2014 not Shadow DOM slot assignment."
|
|
834
|
+
]
|
|
796
835
|
},
|
|
797
836
|
{
|
|
798
837
|
"kind": "function",
|
|
799
|
-
"name": "
|
|
838
|
+
"name": "createTextField",
|
|
800
839
|
"return": {
|
|
801
840
|
"type": {
|
|
802
|
-
"text": "
|
|
841
|
+
"text": "TextFieldHandle"
|
|
803
842
|
}
|
|
804
843
|
},
|
|
805
844
|
"parameters": [
|
|
806
845
|
{
|
|
807
|
-
"name": "
|
|
846
|
+
"name": "options",
|
|
808
847
|
"type": {
|
|
809
|
-
"text": "
|
|
848
|
+
"text": "TextFieldOptions"
|
|
810
849
|
}
|
|
811
|
-
}
|
|
850
|
+
}
|
|
851
|
+
]
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
"kind": "function",
|
|
855
|
+
"name": "mapIconifyIcons",
|
|
856
|
+
"return": {
|
|
857
|
+
"type": {
|
|
858
|
+
"text": "Record<string, IconDefinition>"
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
"parameters": [
|
|
812
862
|
{
|
|
813
|
-
"name": "
|
|
863
|
+
"name": "icons",
|
|
814
864
|
"type": {
|
|
815
|
-
"text": "string"
|
|
865
|
+
"text": "Readonly<Record<string, IconifyIcon>>"
|
|
816
866
|
}
|
|
817
867
|
}
|
|
818
868
|
],
|
|
819
|
-
"description": "
|
|
869
|
+
"description": "Keep app keys and the shared Iconify geometry, presentation, and validation contract."
|
|
820
870
|
},
|
|
821
871
|
{
|
|
822
872
|
"kind": "function",
|
|
823
|
-
"name": "
|
|
873
|
+
"name": "heroiconsIcons",
|
|
824
874
|
"return": {
|
|
825
875
|
"type": {
|
|
826
|
-
"text": "
|
|
876
|
+
"text": "Record<string, IconDefinition>"
|
|
827
877
|
}
|
|
828
878
|
},
|
|
829
879
|
"parameters": [
|
|
830
880
|
{
|
|
831
|
-
"name": "
|
|
881
|
+
"name": "icons",
|
|
832
882
|
"type": {
|
|
833
|
-
"text": "
|
|
883
|
+
"text": "Readonly<Record<string, IconifyIcon>>"
|
|
834
884
|
}
|
|
835
885
|
}
|
|
836
|
-
]
|
|
886
|
+
],
|
|
887
|
+
"description": "Convert caller-named individual `@iconify-icons/heroicons` data, not `@heroicons/react` components.\nPreserves app keys and SVG presentation; requires DOMParser. No imports or registration of icon sets."
|
|
837
888
|
},
|
|
838
889
|
{
|
|
839
890
|
"kind": "function",
|
|
840
|
-
"name": "
|
|
891
|
+
"name": "iconifyIcon",
|
|
841
892
|
"return": {
|
|
842
893
|
"type": {
|
|
843
|
-
"text": "
|
|
894
|
+
"text": "IconDefinition"
|
|
844
895
|
}
|
|
845
896
|
},
|
|
846
897
|
"parameters": [
|
|
847
898
|
{
|
|
848
|
-
"name": "
|
|
899
|
+
"name": "data",
|
|
849
900
|
"type": {
|
|
850
|
-
"text": "
|
|
901
|
+
"text": "IconifyIcon"
|
|
851
902
|
}
|
|
852
903
|
}
|
|
853
904
|
],
|
|
854
|
-
"description": "
|
|
905
|
+
"description": "Convert trusted local Iconify data using the browser DOMParser, never HTML injection."
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"kind": "variable",
|
|
909
|
+
"name": "children",
|
|
910
|
+
"type": {
|
|
911
|
+
"text": "readonly IconElement[]"
|
|
912
|
+
}
|
|
855
913
|
},
|
|
856
914
|
{
|
|
857
915
|
"kind": "function",
|
|
858
|
-
"name": "
|
|
916
|
+
"name": "iconifyIcons",
|
|
859
917
|
"return": {
|
|
860
918
|
"type": {
|
|
861
|
-
"text": "
|
|
919
|
+
"text": "Record<string, IconDefinition>"
|
|
862
920
|
}
|
|
863
921
|
},
|
|
864
922
|
"parameters": [
|
|
865
923
|
{
|
|
866
|
-
"name": "
|
|
924
|
+
"name": "collection",
|
|
867
925
|
"type": {
|
|
868
|
-
"text": "
|
|
926
|
+
"text": "IconifyCollection"
|
|
869
927
|
}
|
|
870
928
|
},
|
|
871
929
|
{
|
|
872
|
-
"name": "
|
|
930
|
+
"name": "names",
|
|
931
|
+
"optional": true,
|
|
873
932
|
"type": {
|
|
874
|
-
"text": "
|
|
933
|
+
"text": "readonly string[]"
|
|
875
934
|
}
|
|
876
935
|
}
|
|
877
|
-
]
|
|
936
|
+
],
|
|
937
|
+
"description": "Convert selected names (including aliases), or the entire explicitly imported collection."
|
|
878
938
|
},
|
|
879
939
|
{
|
|
880
940
|
"kind": "function",
|
|
881
|
-
"name": "
|
|
941
|
+
"name": "lucideIcons",
|
|
882
942
|
"return": {
|
|
883
943
|
"type": {
|
|
884
|
-
"text": "
|
|
944
|
+
"text": "Record<string, IconDefinition>"
|
|
885
945
|
}
|
|
886
946
|
},
|
|
887
947
|
"parameters": [
|
|
888
948
|
{
|
|
889
|
-
"name": "
|
|
890
|
-
"type": {
|
|
891
|
-
"text": "unknown"
|
|
892
|
-
}
|
|
893
|
-
},
|
|
894
|
-
{
|
|
895
|
-
"name": "fallback",
|
|
949
|
+
"name": "icons",
|
|
896
950
|
"type": {
|
|
897
|
-
"text": "
|
|
951
|
+
"text": "Readonly<Record<string, LucideIconData>>"
|
|
898
952
|
}
|
|
899
953
|
}
|
|
900
954
|
]
|
|
901
955
|
},
|
|
902
956
|
{
|
|
903
957
|
"kind": "function",
|
|
904
|
-
"name": "
|
|
958
|
+
"name": "mdiIcons",
|
|
905
959
|
"return": {
|
|
906
960
|
"type": {
|
|
907
|
-
"text": "
|
|
961
|
+
"text": "Record<string, IconDefinition>"
|
|
908
962
|
}
|
|
909
963
|
},
|
|
910
964
|
"parameters": [
|
|
911
965
|
{
|
|
912
|
-
"name": "
|
|
966
|
+
"name": "icons",
|
|
913
967
|
"type": {
|
|
914
|
-
"text": "
|
|
968
|
+
"text": "Readonly<Record<string, IconifyIcon>>"
|
|
915
969
|
}
|
|
916
970
|
}
|
|
917
971
|
],
|
|
918
|
-
"description": "
|
|
972
|
+
"description": "Convert caller-named individual `@iconify-icons/mdi` data, not framework components or raw path strings.\nPreserves app keys and SVG presentation; requires DOMParser. No imports or registration of icon sets."
|
|
919
973
|
},
|
|
920
974
|
{
|
|
921
975
|
"kind": "function",
|
|
922
|
-
"name": "
|
|
976
|
+
"name": "registerIcons",
|
|
923
977
|
"return": {
|
|
924
978
|
"type": {
|
|
925
|
-
"text": "
|
|
979
|
+
"text": "void"
|
|
926
980
|
}
|
|
927
981
|
},
|
|
928
982
|
"parameters": [
|
|
929
983
|
{
|
|
930
|
-
"name": "
|
|
984
|
+
"name": "icons",
|
|
931
985
|
"type": {
|
|
932
|
-
"text": "
|
|
986
|
+
"text": "Readonly<Record<string, IconDefinition>>"
|
|
933
987
|
}
|
|
934
988
|
}
|
|
935
989
|
],
|
|
936
|
-
"description": "
|
|
990
|
+
"description": "Register trusted, synchronous SVG data. Re-registration replaces an application icon."
|
|
937
991
|
},
|
|
938
992
|
{
|
|
939
993
|
"kind": "function",
|
|
940
|
-
"name": "
|
|
994
|
+
"name": "registerDefaultIcons",
|
|
941
995
|
"return": {
|
|
942
996
|
"type": {
|
|
943
|
-
"text": "
|
|
997
|
+
"text": "void"
|
|
944
998
|
}
|
|
945
999
|
},
|
|
946
1000
|
"parameters": [
|
|
947
1001
|
{
|
|
948
|
-
"name": "
|
|
1002
|
+
"name": "icons",
|
|
949
1003
|
"type": {
|
|
950
|
-
"text": "
|
|
1004
|
+
"text": "Readonly<Record<string, IconDefinition>>"
|
|
951
1005
|
}
|
|
952
1006
|
}
|
|
953
1007
|
],
|
|
954
|
-
"description": "
|
|
1008
|
+
"description": "Internal defaults never replace application registrations, in either import order."
|
|
955
1009
|
},
|
|
956
1010
|
{
|
|
957
1011
|
"kind": "function",
|
|
958
|
-
"name": "
|
|
1012
|
+
"name": "resolveIcon",
|
|
959
1013
|
"return": {
|
|
960
1014
|
"type": {
|
|
961
|
-
"text": "
|
|
1015
|
+
"text": "IconDefinition | undefined"
|
|
962
1016
|
}
|
|
963
1017
|
},
|
|
964
1018
|
"parameters": [
|
|
965
1019
|
{
|
|
966
|
-
"name": "
|
|
967
|
-
"type": {
|
|
968
|
-
"text": "string | null | undefined"
|
|
969
|
-
}
|
|
970
|
-
},
|
|
971
|
-
{
|
|
972
|
-
"name": "valid",
|
|
1020
|
+
"name": "name",
|
|
973
1021
|
"type": {
|
|
974
|
-
"text": "
|
|
1022
|
+
"text": "string"
|
|
975
1023
|
}
|
|
976
|
-
}
|
|
1024
|
+
}
|
|
1025
|
+
]
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"kind": "variable",
|
|
1029
|
+
"name": "SVG_NS",
|
|
1030
|
+
"type": {
|
|
1031
|
+
"text": "string"
|
|
1032
|
+
},
|
|
1033
|
+
"default": "'http://www.w3.org/2000/svg'"
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"kind": "function",
|
|
1037
|
+
"name": "validateAttributes",
|
|
1038
|
+
"return": {
|
|
1039
|
+
"type": {
|
|
1040
|
+
"text": "void"
|
|
1041
|
+
}
|
|
1042
|
+
},
|
|
1043
|
+
"parameters": [
|
|
977
1044
|
{
|
|
978
|
-
"name": "
|
|
1045
|
+
"name": "attrs",
|
|
1046
|
+
"default": "{}",
|
|
979
1047
|
"type": {
|
|
980
|
-
"text": "
|
|
1048
|
+
"text": "IconAttributes"
|
|
981
1049
|
}
|
|
982
1050
|
}
|
|
983
|
-
]
|
|
984
|
-
"description": "Parses a comma-separated trigger string into a typed array, filtering against\na valid set and falling back to `defaults` when the input is empty or invalid.\n\nUsed by tooltip and popover to normalise their `trigger` prop values."
|
|
1051
|
+
]
|
|
985
1052
|
},
|
|
986
1053
|
{
|
|
987
1054
|
"kind": "function",
|
|
988
|
-
"name": "
|
|
1055
|
+
"name": "validateElement",
|
|
989
1056
|
"return": {
|
|
990
1057
|
"type": {
|
|
991
|
-
"text": "
|
|
1058
|
+
"text": "void"
|
|
992
1059
|
}
|
|
993
1060
|
},
|
|
994
1061
|
"parameters": [
|
|
995
1062
|
{
|
|
996
|
-
"name": "
|
|
1063
|
+
"name": "node",
|
|
997
1064
|
"type": {
|
|
998
|
-
"text": "
|
|
1065
|
+
"text": "IconElement"
|
|
999
1066
|
}
|
|
1000
1067
|
}
|
|
1001
|
-
]
|
|
1002
|
-
"description": "Parses a boolean HTML attribute value into `true | false | undefined`, where\n`undefined` means \"attribute absent\": the signal controlled components (`open`)\nuse to distinguish uncontrolled from controlled mode.\n\nThe grammar is the standard attribute one: presence with no value (`open`) or\nthe literal `\"true\"` is true; anything else, including `\"false\"`, is false.\nEvery controlled overlay (dialog, drawer, menu, popover, tooltip,\ncommand-palette) parses its `open` prop with this exact contract."
|
|
1068
|
+
]
|
|
1003
1069
|
},
|
|
1004
1070
|
{
|
|
1005
1071
|
"kind": "function",
|
|
1006
|
-
"name": "
|
|
1072
|
+
"name": "validateIcon",
|
|
1007
1073
|
"return": {
|
|
1008
1074
|
"type": {
|
|
1009
|
-
"text": "
|
|
1075
|
+
"text": "void"
|
|
1010
1076
|
}
|
|
1011
1077
|
},
|
|
1012
1078
|
"parameters": [
|
|
1013
1079
|
{
|
|
1014
|
-
"name": "
|
|
1080
|
+
"name": "icon",
|
|
1015
1081
|
"type": {
|
|
1016
|
-
"text": "
|
|
1082
|
+
"text": "IconDefinition"
|
|
1017
1083
|
}
|
|
1018
1084
|
}
|
|
1019
|
-
]
|
|
1020
|
-
"description": "Creates an Orbit-powered positioner for dropdown overlays (select, combobox, menu).\n\nUses flip + shift + optional width-matching middleware. Supports continuous\nauto-update for repositioning on scroll or resize.\n\nRTL-aware: start/end placements are automatically mirrored so dropdowns open on the\ncorrect side, based on `getDir` (or the reference element's resolved direction when\n`getDir` is omitted)."
|
|
1085
|
+
]
|
|
1021
1086
|
},
|
|
1022
1087
|
{
|
|
1023
1088
|
"kind": "function",
|
|
1024
|
-
"name": "
|
|
1089
|
+
"name": "createIconChildren",
|
|
1025
1090
|
"return": {
|
|
1026
1091
|
"type": {
|
|
1027
|
-
"text": "
|
|
1092
|
+
"text": "SVGElement[]"
|
|
1028
1093
|
}
|
|
1029
1094
|
},
|
|
1030
1095
|
"parameters": [
|
|
1031
1096
|
{
|
|
1032
|
-
"name": "
|
|
1097
|
+
"name": "icon",
|
|
1033
1098
|
"type": {
|
|
1034
|
-
"text": "
|
|
1099
|
+
"text": "IconDefinition"
|
|
1035
1100
|
}
|
|
1036
1101
|
},
|
|
1037
1102
|
{
|
|
1038
|
-
"name": "
|
|
1103
|
+
"name": "prefix",
|
|
1039
1104
|
"type": {
|
|
1040
|
-
"text": "
|
|
1105
|
+
"text": "string"
|
|
1041
1106
|
}
|
|
1042
1107
|
}
|
|
1043
1108
|
],
|
|
1044
|
-
"description": "
|
|
1109
|
+
"description": "Prefix local IDs and references per rendered instance, including nested gradients/masks."
|
|
1045
1110
|
},
|
|
1046
1111
|
{
|
|
1047
1112
|
"kind": "function",
|
|
1048
|
-
"name": "
|
|
1113
|
+
"name": "tablerIcons",
|
|
1049
1114
|
"return": {
|
|
1050
1115
|
"type": {
|
|
1051
|
-
"text": "
|
|
1116
|
+
"text": "Record<string, IconDefinition>"
|
|
1052
1117
|
}
|
|
1053
1118
|
},
|
|
1054
1119
|
"parameters": [
|
|
1055
1120
|
{
|
|
1056
|
-
"name": "
|
|
1057
|
-
"type": {
|
|
1058
|
-
"text": "Readable<TIn>"
|
|
1059
|
-
}
|
|
1060
|
-
},
|
|
1061
|
-
{
|
|
1062
|
-
"name": "abortSignal",
|
|
1063
|
-
"optional": true,
|
|
1064
|
-
"type": {
|
|
1065
|
-
"text": "AbortSignal"
|
|
1066
|
-
}
|
|
1067
|
-
},
|
|
1068
|
-
{
|
|
1069
|
-
"name": "transform",
|
|
1070
|
-
"default": "(v) => v as unknown as TOut",
|
|
1121
|
+
"name": "icons",
|
|
1071
1122
|
"type": {
|
|
1072
|
-
"text": "
|
|
1123
|
+
"text": "Readonly<Record<string, IconifyIcon>>"
|
|
1073
1124
|
}
|
|
1074
1125
|
}
|
|
1075
1126
|
],
|
|
1076
|
-
"description": "
|
|
1077
|
-
},
|
|
1078
|
-
{
|
|
1079
|
-
"kind": "function",
|
|
1080
|
-
"name": "createSliderControl",
|
|
1081
|
-
"return": {
|
|
1082
|
-
"type": {
|
|
1083
|
-
"text": "SliderControl"
|
|
1084
|
-
}
|
|
1085
|
-
},
|
|
1086
|
-
"parameters": [
|
|
1087
|
-
{
|
|
1088
|
-
"name": "options",
|
|
1089
|
-
"type": {
|
|
1090
|
-
"text": "SliderControlOptions"
|
|
1091
|
-
}
|
|
1092
|
-
}
|
|
1093
|
-
]
|
|
1094
|
-
},
|
|
1095
|
-
{
|
|
1096
|
-
"kind": "function",
|
|
1097
|
-
"name": "createSpinnerControl",
|
|
1098
|
-
"return": {
|
|
1099
|
-
"type": {
|
|
1100
|
-
"text": "SpinnerControl"
|
|
1101
|
-
}
|
|
1102
|
-
},
|
|
1103
|
-
"parameters": [
|
|
1104
|
-
{
|
|
1105
|
-
"name": "options",
|
|
1106
|
-
"type": {
|
|
1107
|
-
"text": "SpinnerControlOptions"
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
]
|
|
1111
|
-
},
|
|
1112
|
-
{
|
|
1113
|
-
"kind": "function",
|
|
1114
|
-
"name": "createTextField",
|
|
1115
|
-
"return": {
|
|
1116
|
-
"type": {
|
|
1117
|
-
"text": "TextFieldHandle"
|
|
1118
|
-
}
|
|
1119
|
-
},
|
|
1120
|
-
"parameters": [
|
|
1121
|
-
{
|
|
1122
|
-
"name": "options",
|
|
1123
|
-
"type": {
|
|
1124
|
-
"text": "TextFieldOptions"
|
|
1125
|
-
}
|
|
1126
|
-
}
|
|
1127
|
-
]
|
|
1127
|
+
"description": "Convert caller-named individual `@iconify-icons/tabler` data, not native Tabler framework components.\nPreserves app keys and SVG presentation; requires DOMParser. No imports or registration of icon sets."
|
|
1128
1128
|
},
|
|
1129
1129
|
{
|
|
1130
1130
|
"kind": "function",
|
|
@@ -1405,544 +1405,407 @@
|
|
|
1405
1405
|
},
|
|
1406
1406
|
{
|
|
1407
1407
|
"kind": "variable",
|
|
1408
|
-
"name": "
|
|
1409
|
-
"description": "Injection key for the accordion context."
|
|
1410
|
-
},
|
|
1411
|
-
{
|
|
1412
|
-
"kind": "variable",
|
|
1413
|
-
"name": "ACCORDION_TAG",
|
|
1408
|
+
"name": "AVATAR_GROUP_TAG",
|
|
1414
1409
|
"type": {
|
|
1415
|
-
"text": "'ore-
|
|
1410
|
+
"text": "'ore-avatar-group'"
|
|
1416
1411
|
},
|
|
1417
|
-
"default": "'ore-
|
|
1418
|
-
"description": "
|
|
1412
|
+
"default": "'ore-avatar-group'",
|
|
1413
|
+
"description": "Groups multiple `ore-avatar` elements in a stacked, overlapping row."
|
|
1419
1414
|
},
|
|
1420
1415
|
{
|
|
1421
1416
|
"kind": "class",
|
|
1422
|
-
"name": "
|
|
1423
|
-
"tagName": "ore-
|
|
1417
|
+
"name": "OreAvatarGroupElement",
|
|
1418
|
+
"tagName": "ore-avatar-group",
|
|
1424
1419
|
"customElement": true,
|
|
1425
|
-
"description": "
|
|
1420
|
+
"description": "Groups multiple `ore-avatar` elements in a stacked, overlapping row.",
|
|
1426
1421
|
"summary": "",
|
|
1427
1422
|
"attributes": [
|
|
1428
1423
|
{
|
|
1429
|
-
"name": "
|
|
1430
|
-
"type": {
|
|
1431
|
-
"text": "'single' | 'multiple'"
|
|
1432
|
-
},
|
|
1433
|
-
"description": "Selection mode: 'single' | 'multiple'"
|
|
1434
|
-
},
|
|
1435
|
-
{
|
|
1436
|
-
"name": "size",
|
|
1424
|
+
"name": "max",
|
|
1437
1425
|
"type": {
|
|
1438
|
-
"text": "
|
|
1426
|
+
"text": "number"
|
|
1439
1427
|
},
|
|
1440
|
-
"description": "
|
|
1428
|
+
"description": "Max visible avatars before overflow badge (default: 5)",
|
|
1429
|
+
"default": "5"
|
|
1441
1430
|
},
|
|
1442
1431
|
{
|
|
1443
|
-
"name": "
|
|
1432
|
+
"name": "total",
|
|
1444
1433
|
"type": {
|
|
1445
|
-
"text": "
|
|
1434
|
+
"text": "number"
|
|
1446
1435
|
},
|
|
1447
|
-
"description": "
|
|
1436
|
+
"description": "Override the total count displayed in the badge"
|
|
1448
1437
|
}
|
|
1449
1438
|
],
|
|
1450
|
-
"
|
|
1451
|
-
{
|
|
1452
|
-
"name": "expand",
|
|
1453
|
-
"description": "Emitted when an item expands. detail: { expanded: boolean; item: HTMLElement }",
|
|
1454
|
-
"type": {
|
|
1455
|
-
"text": "CustomEvent"
|
|
1456
|
-
}
|
|
1457
|
-
},
|
|
1439
|
+
"slots": [
|
|
1458
1440
|
{
|
|
1459
|
-
"name": "
|
|
1460
|
-
"description": "
|
|
1461
|
-
"type": {
|
|
1462
|
-
"text": "CustomEvent"
|
|
1463
|
-
}
|
|
1441
|
+
"name": "",
|
|
1442
|
+
"description": "`ore-avatar` elements"
|
|
1464
1443
|
}
|
|
1465
1444
|
],
|
|
1466
|
-
"
|
|
1445
|
+
"cssParts": [
|
|
1467
1446
|
{
|
|
1468
|
-
"name": "",
|
|
1469
|
-
"description": "`
|
|
1447
|
+
"name": "overflow",
|
|
1448
|
+
"description": "Overflow count badge shown when avatars exceed `max`."
|
|
1470
1449
|
}
|
|
1471
1450
|
],
|
|
1472
1451
|
"cssProperties": [
|
|
1473
1452
|
{
|
|
1474
|
-
"name": "--
|
|
1475
|
-
"description": "
|
|
1476
|
-
},
|
|
1477
|
-
{
|
|
1478
|
-
"name": "--accordion-border-color",
|
|
1479
|
-
"description": "Container border color (solid/flat variants)"
|
|
1480
|
-
},
|
|
1481
|
-
{
|
|
1482
|
-
"name": "--accordion-divider-color",
|
|
1483
|
-
"description": "Divider color between items (text variant)"
|
|
1484
|
-
},
|
|
1485
|
-
{
|
|
1486
|
-
"name": "--accordion-shadow",
|
|
1487
|
-
"description": "Container box shadow"
|
|
1453
|
+
"name": "--avatar-group-overlap",
|
|
1454
|
+
"description": "Negative margin creating the overlap (default: -0.75rem)"
|
|
1488
1455
|
}
|
|
1489
1456
|
],
|
|
1490
1457
|
"demos": [
|
|
1491
1458
|
{
|
|
1492
1459
|
"url": "",
|
|
1493
|
-
"description": "```html\n<ore-
|
|
1460
|
+
"description": "```html\n<ore-avatar-group max=\"3\">\n <ore-avatar src=\"/a.jpg\" alt=\"Alice\"></ore-avatar>\n <ore-avatar src=\"/b.jpg\" alt=\"Bob\"></ore-avatar>\n <ore-avatar src=\"/c.jpg\" alt=\"Carol\"></ore-avatar>\n <ore-avatar src=\"/d.jpg\" alt=\"Dave\"></ore-avatar>\n</ore-avatar-group>\n```"
|
|
1494
1461
|
}
|
|
1495
1462
|
]
|
|
1496
1463
|
},
|
|
1497
1464
|
{
|
|
1498
1465
|
"kind": "variable",
|
|
1499
|
-
"name": "
|
|
1466
|
+
"name": "AVATAR_STATUSES",
|
|
1500
1467
|
"type": {
|
|
1501
|
-
"text": "'
|
|
1468
|
+
"text": "['online', 'offline', 'busy', 'away']"
|
|
1502
1469
|
},
|
|
1503
|
-
"default": "'
|
|
1504
|
-
|
|
1470
|
+
"default": "['online', 'offline', 'busy', 'away']"
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"kind": "variable",
|
|
1474
|
+
"name": "AVATAR_TAG",
|
|
1475
|
+
"type": {
|
|
1476
|
+
"text": "'ore-avatar'"
|
|
1477
|
+
},
|
|
1478
|
+
"default": "'ore-avatar'",
|
|
1479
|
+
"description": "Displays a user avatar: image → initials → generic fallback icon, in that priority order."
|
|
1505
1480
|
},
|
|
1506
1481
|
{
|
|
1507
1482
|
"kind": "class",
|
|
1508
|
-
"name": "
|
|
1509
|
-
"tagName": "ore-
|
|
1483
|
+
"name": "OreAvatarElement",
|
|
1484
|
+
"tagName": "ore-avatar",
|
|
1510
1485
|
"customElement": true,
|
|
1511
|
-
"description": "
|
|
1486
|
+
"description": "Displays a user avatar: image → initials → generic fallback icon, in that priority order.",
|
|
1512
1487
|
"summary": "",
|
|
1513
1488
|
"attributes": [
|
|
1514
1489
|
{
|
|
1515
|
-
"name": "
|
|
1490
|
+
"name": "src",
|
|
1516
1491
|
"type": {
|
|
1517
|
-
"text": "
|
|
1492
|
+
"text": "string"
|
|
1518
1493
|
},
|
|
1519
|
-
"description": "
|
|
1494
|
+
"description": "Image source URL"
|
|
1520
1495
|
},
|
|
1521
1496
|
{
|
|
1522
|
-
"name": "
|
|
1497
|
+
"name": "alt",
|
|
1523
1498
|
"type": {
|
|
1524
|
-
"text": "
|
|
1499
|
+
"text": "string"
|
|
1525
1500
|
},
|
|
1526
|
-
"description": "
|
|
1501
|
+
"description": "Image alt text (also used to derive initials)"
|
|
1527
1502
|
},
|
|
1528
1503
|
{
|
|
1529
|
-
"name": "
|
|
1504
|
+
"name": "initials",
|
|
1530
1505
|
"type": {
|
|
1531
|
-
"text": "
|
|
1506
|
+
"text": "string"
|
|
1532
1507
|
},
|
|
1533
|
-
"description": "
|
|
1508
|
+
"description": "Explicit initials (up to 2 chars)"
|
|
1534
1509
|
},
|
|
1535
1510
|
{
|
|
1536
|
-
"name": "
|
|
1511
|
+
"name": "color",
|
|
1537
1512
|
"type": {
|
|
1538
|
-
"text": "'
|
|
1513
|
+
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
1539
1514
|
},
|
|
1540
|
-
"description": "
|
|
1541
|
-
}
|
|
1542
|
-
],
|
|
1543
|
-
"events": [
|
|
1515
|
+
"description": "Theme color for initials background: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
1516
|
+
},
|
|
1544
1517
|
{
|
|
1545
|
-
"name": "
|
|
1546
|
-
"description": "Emitted when item expands. detail: { expanded: boolean; item: HTMLElement }",
|
|
1518
|
+
"name": "size",
|
|
1547
1519
|
"type": {
|
|
1548
|
-
"text": "
|
|
1549
|
-
}
|
|
1520
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
1521
|
+
},
|
|
1522
|
+
"description": "'sm' | 'md' | 'lg'"
|
|
1550
1523
|
},
|
|
1551
1524
|
{
|
|
1552
|
-
"name": "
|
|
1553
|
-
"description": "Emitted when item collapses. detail: { expanded: boolean; item: HTMLElement }",
|
|
1525
|
+
"name": "rounded",
|
|
1554
1526
|
"type": {
|
|
1555
|
-
"text": "
|
|
1556
|
-
}
|
|
1527
|
+
"text": "'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full'"
|
|
1528
|
+
},
|
|
1529
|
+
"description": "Border radius: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full'"
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
"name": "status",
|
|
1533
|
+
"type": {
|
|
1534
|
+
"text": "'online' | 'offline' | 'busy' | 'away'"
|
|
1535
|
+
},
|
|
1536
|
+
"description": "'online' | 'offline' | 'busy' | 'away'"
|
|
1557
1537
|
}
|
|
1558
1538
|
],
|
|
1559
1539
|
"slots": [
|
|
1560
|
-
{
|
|
1561
|
-
"name": "prefix",
|
|
1562
|
-
"description": "Content before the title (e.g., icons)"
|
|
1563
|
-
},
|
|
1564
|
-
{
|
|
1565
|
-
"name": "title",
|
|
1566
|
-
"description": "Main accordion item title"
|
|
1567
|
-
},
|
|
1568
|
-
{
|
|
1569
|
-
"name": "subtitle",
|
|
1570
|
-
"description": "Optional subtitle text"
|
|
1571
|
-
},
|
|
1572
|
-
{
|
|
1573
|
-
"name": "suffix",
|
|
1574
|
-
"description": "Content after the title (e.g., badges)"
|
|
1575
|
-
},
|
|
1576
1540
|
{
|
|
1577
1541
|
"name": "",
|
|
1578
|
-
"description": "
|
|
1542
|
+
"description": "Fallback content shown when image and initials are unavailable."
|
|
1579
1543
|
}
|
|
1580
1544
|
],
|
|
1581
1545
|
"cssParts": [
|
|
1582
1546
|
{
|
|
1583
|
-
"name": "
|
|
1584
|
-
"description": "
|
|
1547
|
+
"name": "avatar",
|
|
1548
|
+
"description": "Avatar root container."
|
|
1585
1549
|
},
|
|
1586
1550
|
{
|
|
1587
|
-
"name": "
|
|
1588
|
-
"description": "
|
|
1551
|
+
"name": "img",
|
|
1552
|
+
"description": "Image element."
|
|
1589
1553
|
},
|
|
1590
1554
|
{
|
|
1591
|
-
"name": "
|
|
1592
|
-
"description": "
|
|
1555
|
+
"name": "initials",
|
|
1556
|
+
"description": "Initials fallback element."
|
|
1593
1557
|
},
|
|
1594
1558
|
{
|
|
1595
|
-
"name": "
|
|
1596
|
-
"description": "
|
|
1559
|
+
"name": "fallback",
|
|
1560
|
+
"description": "Shadow part for the `fallback` element."
|
|
1597
1561
|
},
|
|
1598
1562
|
{
|
|
1599
|
-
"name": "
|
|
1600
|
-
"description": "
|
|
1563
|
+
"name": "status",
|
|
1564
|
+
"description": "Status indicator element."
|
|
1601
1565
|
},
|
|
1602
1566
|
{
|
|
1603
|
-
"name": "
|
|
1604
|
-
"description": "
|
|
1567
|
+
"name": "overflow",
|
|
1568
|
+
"description": "Overflow indicator element."
|
|
1605
1569
|
}
|
|
1606
1570
|
],
|
|
1607
1571
|
"cssProperties": [
|
|
1608
1572
|
{
|
|
1609
|
-
"name": "--
|
|
1610
|
-
"description": "
|
|
1611
|
-
},
|
|
1612
|
-
{
|
|
1613
|
-
"name": "--accordion-item-hover-bg",
|
|
1614
|
-
"description": "Background color on hover"
|
|
1615
|
-
},
|
|
1616
|
-
{
|
|
1617
|
-
"name": "--accordion-item-border-color",
|
|
1618
|
-
"description": "Border color"
|
|
1619
|
-
},
|
|
1620
|
-
{
|
|
1621
|
-
"name": "--accordion-item-title-color",
|
|
1622
|
-
"description": "Title text color"
|
|
1573
|
+
"name": "--avatar-size",
|
|
1574
|
+
"description": "Diameter of the avatar"
|
|
1623
1575
|
},
|
|
1624
1576
|
{
|
|
1625
|
-
"name": "--
|
|
1626
|
-
"description": "
|
|
1577
|
+
"name": "--avatar-bg",
|
|
1578
|
+
"description": "Background color"
|
|
1627
1579
|
},
|
|
1628
1580
|
{
|
|
1629
|
-
"name": "--
|
|
1630
|
-
"description": "
|
|
1581
|
+
"name": "--avatar-color",
|
|
1582
|
+
"description": "Text/icon color"
|
|
1631
1583
|
},
|
|
1632
1584
|
{
|
|
1633
|
-
"name": "--
|
|
1585
|
+
"name": "--avatar-radius",
|
|
1634
1586
|
"description": "Border radius"
|
|
1635
1587
|
},
|
|
1636
1588
|
{
|
|
1637
|
-
"name": "--
|
|
1638
|
-
"description": "
|
|
1639
|
-
},
|
|
1640
|
-
{
|
|
1641
|
-
"name": "--accordion-item-title",
|
|
1642
|
-
"description": "Title font size"
|
|
1643
|
-
},
|
|
1644
|
-
{
|
|
1645
|
-
"name": "--accordion-item-subtitle-size",
|
|
1646
|
-
"description": "Subtitle font size"
|
|
1647
|
-
},
|
|
1648
|
-
{
|
|
1649
|
-
"name": "--accordion-item-body",
|
|
1650
|
-
"description": "Body font size"
|
|
1651
|
-
},
|
|
1652
|
-
{
|
|
1653
|
-
"name": "--accordion-item-details-padding",
|
|
1654
|
-
"description": "Summary/header padding"
|
|
1655
|
-
},
|
|
1656
|
-
{
|
|
1657
|
-
"name": "--accordion-item-summary-padding",
|
|
1658
|
-
"description": "Content padding"
|
|
1659
|
-
},
|
|
1660
|
-
{
|
|
1661
|
-
"name": "--accordion-item-row-duration",
|
|
1662
|
-
"description": "Expand/collapse row transition duration (default 200ms)"
|
|
1663
|
-
},
|
|
1664
|
-
{
|
|
1665
|
-
"name": "--accordion-item-fade-duration",
|
|
1666
|
-
"description": "Content fade duration (default 200ms)"
|
|
1667
|
-
},
|
|
1668
|
-
{
|
|
1669
|
-
"name": "--accordion-item-fade-delay",
|
|
1670
|
-
"description": "Content fade delay after the row starts (default 60ms)"
|
|
1589
|
+
"name": "--avatar-border",
|
|
1590
|
+
"description": "Border shorthand"
|
|
1671
1591
|
},
|
|
1672
1592
|
{
|
|
1673
|
-
"name": "--
|
|
1674
|
-
"description": "
|
|
1593
|
+
"name": "--avatar-border-color",
|
|
1594
|
+
"description": "Border color (also controls status dot border)"
|
|
1675
1595
|
}
|
|
1676
1596
|
],
|
|
1677
1597
|
"demos": [
|
|
1678
1598
|
{
|
|
1679
1599
|
"url": "",
|
|
1680
|
-
"description": "```html\n<ore-
|
|
1600
|
+
"description": "```html\n<ore-avatar src=\"/jane.jpg\" alt=\"Jane Doe\"></ore-avatar>\n<ore-avatar initials=\"JD\" color=\"primary\"></ore-avatar>\n<ore-avatar alt=\"John Smith\" status=\"online\"></ore-avatar>\n```"
|
|
1681
1601
|
}
|
|
1682
1602
|
]
|
|
1683
1603
|
},
|
|
1684
1604
|
{
|
|
1685
1605
|
"kind": "variable",
|
|
1686
|
-
"name": "
|
|
1606
|
+
"name": "BREADCRUMB_ITEM_TAG",
|
|
1687
1607
|
"type": {
|
|
1688
|
-
"text": "'ore-
|
|
1608
|
+
"text": "'ore-breadcrumb-item'"
|
|
1689
1609
|
},
|
|
1690
|
-
"default": "'ore-
|
|
1691
|
-
"description": "
|
|
1610
|
+
"default": "'ore-breadcrumb-item'",
|
|
1611
|
+
"description": "A single breadcrumb entry rendered inside `<ore-breadcrumb>`."
|
|
1692
1612
|
},
|
|
1693
1613
|
{
|
|
1694
1614
|
"kind": "class",
|
|
1695
|
-
"name": "
|
|
1696
|
-
"tagName": "ore-
|
|
1615
|
+
"name": "OreBreadcrumbItemElement",
|
|
1616
|
+
"tagName": "ore-breadcrumb-item",
|
|
1697
1617
|
"customElement": true,
|
|
1698
|
-
"description": "
|
|
1618
|
+
"description": "A single breadcrumb entry rendered inside `<ore-breadcrumb>`.",
|
|
1699
1619
|
"summary": "",
|
|
1700
1620
|
"attributes": [
|
|
1701
|
-
{
|
|
1702
|
-
"name": "value",
|
|
1703
|
-
"type": {
|
|
1704
|
-
"text": "string"
|
|
1705
|
-
},
|
|
1706
|
-
"description": "Unique identifier, matches the corresponding ore-tab-panel value"
|
|
1707
|
-
},
|
|
1708
1621
|
{
|
|
1709
1622
|
"name": "active",
|
|
1710
1623
|
"type": {
|
|
1711
1624
|
"text": "boolean"
|
|
1712
1625
|
},
|
|
1713
|
-
"description": "
|
|
1714
|
-
},
|
|
1715
|
-
{
|
|
1716
|
-
"name": "disabled",
|
|
1717
|
-
"type": {
|
|
1718
|
-
"text": "boolean"
|
|
1719
|
-
},
|
|
1720
|
-
"description": "Prevents selection"
|
|
1721
|
-
},
|
|
1722
|
-
{
|
|
1723
|
-
"name": "density",
|
|
1724
|
-
"type": {
|
|
1725
|
-
"text": "'default' | 'compact'"
|
|
1726
|
-
},
|
|
1727
|
-
"description": "Inherited spatial density: 'default' | 'compact'"
|
|
1728
|
-
},
|
|
1729
|
-
{
|
|
1730
|
-
"name": "size",
|
|
1731
|
-
"type": {
|
|
1732
|
-
"text": "'sm' | 'md' | 'lg'"
|
|
1733
|
-
},
|
|
1734
|
-
"description": "'sm' | 'md' | 'lg'"
|
|
1626
|
+
"description": "Marks this item as the current page (`aria-current=\"page\"`)"
|
|
1735
1627
|
},
|
|
1736
1628
|
{
|
|
1737
|
-
"name": "
|
|
1629
|
+
"name": "href",
|
|
1738
1630
|
"type": {
|
|
1739
|
-
"text": "
|
|
1631
|
+
"text": "string"
|
|
1740
1632
|
},
|
|
1741
|
-
"description": "
|
|
1633
|
+
"description": "Link target for this breadcrumb item"
|
|
1742
1634
|
},
|
|
1743
1635
|
{
|
|
1744
|
-
"name": "
|
|
1636
|
+
"name": "separator",
|
|
1745
1637
|
"type": {
|
|
1746
|
-
"text": "
|
|
1638
|
+
"text": "string"
|
|
1747
1639
|
},
|
|
1748
|
-
"description": "
|
|
1640
|
+
"description": "Separator text shown before the item (except first item)"
|
|
1749
1641
|
}
|
|
1750
1642
|
],
|
|
1751
1643
|
"slots": [
|
|
1752
|
-
{
|
|
1753
|
-
"name": "prefix",
|
|
1754
|
-
"description": "Icon or content before the label"
|
|
1755
|
-
},
|
|
1756
1644
|
{
|
|
1757
1645
|
"name": "",
|
|
1758
|
-
"description": "
|
|
1646
|
+
"description": "Item label/content"
|
|
1759
1647
|
},
|
|
1760
1648
|
{
|
|
1761
|
-
"name": "
|
|
1762
|
-
"description": "
|
|
1649
|
+
"name": "icon",
|
|
1650
|
+
"description": "Optional leading icon for the crumb"
|
|
1763
1651
|
}
|
|
1764
1652
|
],
|
|
1765
1653
|
"cssParts": [
|
|
1766
1654
|
{
|
|
1767
|
-
"name": "
|
|
1768
|
-
"description": "
|
|
1769
|
-
}
|
|
1770
|
-
],
|
|
1771
|
-
"cssProperties": [
|
|
1772
|
-
{
|
|
1773
|
-
"name": "--tab-item-radius",
|
|
1774
|
-
"description": "Button border radius"
|
|
1775
|
-
},
|
|
1776
|
-
{
|
|
1777
|
-
"name": "--tab-item-transition",
|
|
1778
|
-
"description": "Transition duration/easing"
|
|
1779
|
-
},
|
|
1780
|
-
{
|
|
1781
|
-
"name": "--tab-item-padding",
|
|
1782
|
-
"description": "Button padding"
|
|
1783
|
-
},
|
|
1784
|
-
{
|
|
1785
|
-
"name": "--tab-item-font-size",
|
|
1786
|
-
"description": "Button font size"
|
|
1787
|
-
},
|
|
1788
|
-
{
|
|
1789
|
-
"name": "--tab-item-color",
|
|
1790
|
-
"description": "Default text color"
|
|
1791
|
-
},
|
|
1792
|
-
{
|
|
1793
|
-
"name": "--tab-item-hover-bg",
|
|
1794
|
-
"description": "Background on hover"
|
|
1795
|
-
},
|
|
1796
|
-
{
|
|
1797
|
-
"name": "--tab-item-active-bg",
|
|
1798
|
-
"description": "Background when active/selected"
|
|
1799
|
-
},
|
|
1800
|
-
{
|
|
1801
|
-
"name": "--tab-item-active-color",
|
|
1802
|
-
"description": "Text color when active/selected"
|
|
1655
|
+
"name": "separator",
|
|
1656
|
+
"description": "Separator element before the item label"
|
|
1803
1657
|
},
|
|
1804
1658
|
{
|
|
1805
|
-
"name": "
|
|
1806
|
-
"description": "
|
|
1659
|
+
"name": "link",
|
|
1660
|
+
"description": "The interactive anchor element"
|
|
1807
1661
|
}
|
|
1808
1662
|
],
|
|
1809
1663
|
"demos": [
|
|
1810
1664
|
{
|
|
1811
1665
|
"url": "",
|
|
1812
|
-
"description": "```html\n<ore-
|
|
1666
|
+
"description": "```html\n<ore-breadcrumb-item href=\"/\">Home</ore-breadcrumb-item>\n<ore-breadcrumb-item active>Current Page</ore-breadcrumb-item>\n```"
|
|
1813
1667
|
}
|
|
1814
1668
|
]
|
|
1815
1669
|
},
|
|
1816
1670
|
{
|
|
1817
1671
|
"kind": "variable",
|
|
1818
|
-
"name": "
|
|
1672
|
+
"name": "BREADCRUMB_TAG",
|
|
1819
1673
|
"type": {
|
|
1820
|
-
"text": "'ore-
|
|
1674
|
+
"text": "'ore-breadcrumb'"
|
|
1821
1675
|
},
|
|
1822
|
-
"default": "'ore-
|
|
1823
|
-
"description": "
|
|
1676
|
+
"default": "'ore-breadcrumb'",
|
|
1677
|
+
"description": "Accessible breadcrumb navigation container."
|
|
1824
1678
|
},
|
|
1825
1679
|
{
|
|
1826
1680
|
"kind": "class",
|
|
1827
|
-
"name": "
|
|
1828
|
-
"tagName": "ore-
|
|
1681
|
+
"name": "OreBreadcrumbElement",
|
|
1682
|
+
"tagName": "ore-breadcrumb",
|
|
1829
1683
|
"customElement": true,
|
|
1830
|
-
"description": "
|
|
1684
|
+
"description": "Accessible breadcrumb navigation container.",
|
|
1831
1685
|
"summary": "",
|
|
1832
1686
|
"attributes": [
|
|
1833
1687
|
{
|
|
1834
|
-
"name": "
|
|
1688
|
+
"name": "label",
|
|
1835
1689
|
"type": {
|
|
1836
1690
|
"text": "string"
|
|
1837
1691
|
},
|
|
1838
|
-
"description": "
|
|
1839
|
-
},
|
|
1840
|
-
{
|
|
1841
|
-
"name": "active",
|
|
1842
|
-
"type": {
|
|
1843
|
-
"text": "boolean"
|
|
1844
|
-
},
|
|
1845
|
-
"description": "Toggled by the parent ore-tabs"
|
|
1692
|
+
"description": "Accessible label for the internal `<nav>` landmark"
|
|
1846
1693
|
},
|
|
1847
1694
|
{
|
|
1848
|
-
"name": "
|
|
1695
|
+
"name": "separator",
|
|
1849
1696
|
"type": {
|
|
1850
|
-
"text": "
|
|
1697
|
+
"text": "string"
|
|
1851
1698
|
},
|
|
1852
|
-
"description": "
|
|
1699
|
+
"description": "Separator text propagated to child `<ore-breadcrumb-item>` elements"
|
|
1853
1700
|
}
|
|
1854
1701
|
],
|
|
1855
1702
|
"slots": [
|
|
1856
1703
|
{
|
|
1857
1704
|
"name": "",
|
|
1858
|
-
"description": "
|
|
1705
|
+
"description": "One or more `<ore-breadcrumb-item>` children"
|
|
1859
1706
|
}
|
|
1860
1707
|
],
|
|
1861
1708
|
"cssParts": [
|
|
1862
1709
|
{
|
|
1863
|
-
"name": "
|
|
1864
|
-
"description": "
|
|
1710
|
+
"name": "nav",
|
|
1711
|
+
"description": "Internal navigation landmark element"
|
|
1712
|
+
},
|
|
1713
|
+
{
|
|
1714
|
+
"name": "list",
|
|
1715
|
+
"description": "Internal ordered list container"
|
|
1865
1716
|
}
|
|
1866
1717
|
],
|
|
1867
1718
|
"cssProperties": [
|
|
1868
1719
|
{
|
|
1869
|
-
"name": "--
|
|
1870
|
-
"description": "
|
|
1871
|
-
},
|
|
1872
|
-
{
|
|
1873
|
-
"name": "--tab-panel-font-size",
|
|
1874
|
-
"description": "Font size of the panel content"
|
|
1720
|
+
"name": "--breadcrumb-separator",
|
|
1721
|
+
"description": "Optional custom separator text synced to child items"
|
|
1875
1722
|
}
|
|
1876
1723
|
],
|
|
1877
1724
|
"demos": [
|
|
1878
1725
|
{
|
|
1879
1726
|
"url": "",
|
|
1880
|
-
"description": "```html\n<ore-
|
|
1727
|
+
"description": "```html\n<ore-breadcrumb label=\"Page breadcrumb\">\n <ore-breadcrumb-item href=\"/\">Home</ore-breadcrumb-item>\n <ore-breadcrumb-item href=\"/blog\">Blog</ore-breadcrumb-item>\n <ore-breadcrumb-item active>My Post</ore-breadcrumb-item>\n</ore-breadcrumb>\n```"
|
|
1881
1728
|
}
|
|
1882
1729
|
]
|
|
1883
1730
|
},
|
|
1884
1731
|
{
|
|
1885
1732
|
"kind": "variable",
|
|
1886
|
-
"name": "
|
|
1887
|
-
"description": "Injection key for the tabs context."
|
|
1888
|
-
},
|
|
1889
|
-
{
|
|
1890
|
-
"kind": "variable",
|
|
1891
|
-
"name": "TABS_TAG",
|
|
1733
|
+
"name": "CARD_TAG",
|
|
1892
1734
|
"type": {
|
|
1893
|
-
"text": "'ore-
|
|
1735
|
+
"text": "'ore-card'"
|
|
1894
1736
|
},
|
|
1895
|
-
"default": "'ore-
|
|
1896
|
-
"description": "
|
|
1737
|
+
"default": "'ore-card'",
|
|
1738
|
+
"description": "A versatile card container with semantic slots for media, header, body, footer, and actions."
|
|
1897
1739
|
},
|
|
1898
1740
|
{
|
|
1899
1741
|
"kind": "class",
|
|
1900
|
-
"name": "
|
|
1901
|
-
"tagName": "ore-
|
|
1742
|
+
"name": "OreCardElement",
|
|
1743
|
+
"tagName": "ore-card",
|
|
1902
1744
|
"customElement": true,
|
|
1903
|
-
"description": "
|
|
1745
|
+
"description": "A versatile card container with semantic slots for media, header, body, footer, and actions.",
|
|
1904
1746
|
"summary": "",
|
|
1905
1747
|
"attributes": [
|
|
1906
1748
|
{
|
|
1907
|
-
"name": "
|
|
1749
|
+
"name": "variant",
|
|
1908
1750
|
"type": {
|
|
1909
|
-
"text": "
|
|
1751
|
+
"text": "'solid' | 'flat' | 'frost'"
|
|
1910
1752
|
},
|
|
1911
|
-
"description": "
|
|
1753
|
+
"description": "Visual variant: 'solid' | 'flat' | 'frost'"
|
|
1912
1754
|
},
|
|
1913
1755
|
{
|
|
1914
|
-
"name": "
|
|
1756
|
+
"name": "color",
|
|
1915
1757
|
"type": {
|
|
1916
|
-
"text": "'
|
|
1758
|
+
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
1917
1759
|
},
|
|
1918
|
-
"description": "
|
|
1760
|
+
"description": "Theme color: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
1919
1761
|
},
|
|
1920
1762
|
{
|
|
1921
|
-
"name": "
|
|
1763
|
+
"name": "padding",
|
|
1922
1764
|
"type": {
|
|
1923
|
-
"text": "'sm' | 'md' | 'lg'"
|
|
1765
|
+
"text": "'none' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
1924
1766
|
},
|
|
1925
|
-
"description": "
|
|
1767
|
+
"description": "Internal padding: 'none' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
1926
1768
|
},
|
|
1927
1769
|
{
|
|
1928
|
-
"name": "
|
|
1770
|
+
"name": "elevation",
|
|
1929
1771
|
"type": {
|
|
1930
|
-
"text": "'
|
|
1772
|
+
"text": "'0' | '1' | '2' | '3' | '4' | '5'"
|
|
1931
1773
|
},
|
|
1932
|
-
"description": "
|
|
1774
|
+
"description": "Shadow elevation: '0' | '1' | '2' | '3' | '4' | '5'"
|
|
1933
1775
|
},
|
|
1934
1776
|
{
|
|
1935
|
-
"name": "
|
|
1777
|
+
"name": "orientation",
|
|
1936
1778
|
"type": {
|
|
1937
|
-
"text": "
|
|
1779
|
+
"text": "string"
|
|
1938
1780
|
},
|
|
1939
|
-
"description": "
|
|
1781
|
+
"description": "Card layout: 'horizontal'"
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
"name": "interactive",
|
|
1785
|
+
"type": {
|
|
1786
|
+
"text": "boolean"
|
|
1787
|
+
},
|
|
1788
|
+
"description": "Enable pointer/keyboard activation"
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
"name": "disabled",
|
|
1792
|
+
"type": {
|
|
1793
|
+
"text": "boolean"
|
|
1794
|
+
},
|
|
1795
|
+
"description": "Disable card interaction"
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"name": "loading",
|
|
1799
|
+
"type": {
|
|
1800
|
+
"text": "boolean"
|
|
1801
|
+
},
|
|
1802
|
+
"description": "Show loading progress bar"
|
|
1940
1803
|
}
|
|
1941
1804
|
],
|
|
1942
1805
|
"events": [
|
|
1943
1806
|
{
|
|
1944
|
-
"name": "
|
|
1945
|
-
"description": "Emitted when
|
|
1807
|
+
"name": "activate",
|
|
1808
|
+
"description": "Emitted when an interactive card is activated. detail: { originalEvent: MouseEvent | KeyboardEvent; trigger: 'pointer' | 'keyboard' }",
|
|
1946
1809
|
"type": {
|
|
1947
1810
|
"text": "CustomEvent"
|
|
1948
1811
|
}
|
|
@@ -1950,691 +1813,557 @@
|
|
|
1950
1813
|
],
|
|
1951
1814
|
"slots": [
|
|
1952
1815
|
{
|
|
1953
|
-
"name": "
|
|
1954
|
-
"description": "
|
|
1816
|
+
"name": "media",
|
|
1817
|
+
"description": "Media content displayed at top/left"
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
"name": "header",
|
|
1821
|
+
"description": "Card header (title, subtitle)"
|
|
1955
1822
|
},
|
|
1956
1823
|
{
|
|
1957
1824
|
"name": "",
|
|
1958
|
-
"description": "
|
|
1825
|
+
"description": "Main card content"
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
"name": "footer",
|
|
1829
|
+
"description": "Card footer content"
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
"name": "actions",
|
|
1833
|
+
"description": "Action buttons or links"
|
|
1959
1834
|
}
|
|
1960
1835
|
],
|
|
1961
1836
|
"cssParts": [
|
|
1962
1837
|
{
|
|
1963
|
-
"name": "
|
|
1964
|
-
"description": "
|
|
1838
|
+
"name": "card",
|
|
1839
|
+
"description": "Card root container."
|
|
1965
1840
|
},
|
|
1966
1841
|
{
|
|
1967
|
-
"name": "
|
|
1968
|
-
"description": "
|
|
1842
|
+
"name": "loading-bar",
|
|
1843
|
+
"description": "Loading progress bar."
|
|
1969
1844
|
},
|
|
1970
1845
|
{
|
|
1971
|
-
"name": "
|
|
1972
|
-
"description": "
|
|
1846
|
+
"name": "media",
|
|
1847
|
+
"description": "Media slot container."
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
"name": "body",
|
|
1851
|
+
"description": "Body content container."
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
"name": "header",
|
|
1855
|
+
"description": "Header container."
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
"name": "content",
|
|
1859
|
+
"description": "Content container."
|
|
1860
|
+
},
|
|
1861
|
+
{
|
|
1862
|
+
"name": "footer",
|
|
1863
|
+
"description": "Footer container."
|
|
1864
|
+
},
|
|
1865
|
+
{
|
|
1866
|
+
"name": "actions",
|
|
1867
|
+
"description": "Actions slot container."
|
|
1973
1868
|
}
|
|
1974
1869
|
],
|
|
1975
1870
|
"cssProperties": [
|
|
1976
1871
|
{
|
|
1977
|
-
"name": "--
|
|
1978
|
-
"description": "
|
|
1872
|
+
"name": "--card-bg",
|
|
1873
|
+
"description": "Background color"
|
|
1979
1874
|
},
|
|
1980
1875
|
{
|
|
1981
|
-
"name": "--
|
|
1982
|
-
"description": "
|
|
1876
|
+
"name": "--card-color",
|
|
1877
|
+
"description": "Text color"
|
|
1983
1878
|
},
|
|
1984
1879
|
{
|
|
1985
|
-
"name": "--
|
|
1986
|
-
"description": "
|
|
1880
|
+
"name": "--card-border",
|
|
1881
|
+
"description": "Border width"
|
|
1987
1882
|
},
|
|
1988
1883
|
{
|
|
1989
|
-
"name": "--
|
|
1990
|
-
"description": "
|
|
1884
|
+
"name": "--card-border-color",
|
|
1885
|
+
"description": "Border color"
|
|
1991
1886
|
},
|
|
1992
1887
|
{
|
|
1993
|
-
"name": "--
|
|
1994
|
-
"description": "
|
|
1888
|
+
"name": "--card-radius",
|
|
1889
|
+
"description": "Border radius"
|
|
1995
1890
|
},
|
|
1996
1891
|
{
|
|
1997
|
-
"name": "--
|
|
1998
|
-
"description": "
|
|
1892
|
+
"name": "--card-padding",
|
|
1893
|
+
"description": "Internal padding"
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
"name": "--card-shadow",
|
|
1897
|
+
"description": "Box shadow"
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
"name": "--card-hover-shadow",
|
|
1901
|
+
"description": "Shadow on hover"
|
|
1999
1902
|
}
|
|
2000
1903
|
],
|
|
2001
1904
|
"demos": [
|
|
2002
1905
|
{
|
|
2003
1906
|
"url": "",
|
|
2004
|
-
"description": "```html\n<ore-
|
|
1907
|
+
"description": "```html\n<ore-card elevation=\"2\"><h3 slot=\"header\">Title</h3><p>Content</p></ore-card>\n<ore-card interactive color=\"primary\"><h3 slot=\"header\">Click me</h3></ore-card>\n<ore-card variant=\"frost\" color=\"secondary\">Frosted card</ore-card>\n```"
|
|
2005
1908
|
}
|
|
2006
1909
|
]
|
|
2007
1910
|
},
|
|
2008
1911
|
{
|
|
2009
1912
|
"kind": "variable",
|
|
2010
|
-
"name": "
|
|
1913
|
+
"name": "CAROUSEL_SLIDE_TAG",
|
|
2011
1914
|
"type": {
|
|
2012
|
-
"text": "'ore-
|
|
1915
|
+
"text": "'ore-carousel-slide'"
|
|
2013
1916
|
},
|
|
2014
|
-
"default": "'ore-
|
|
2015
|
-
"description": "Groups multiple `ore-avatar` elements in a stacked, overlapping row."
|
|
1917
|
+
"default": "'ore-carousel-slide'"
|
|
2016
1918
|
},
|
|
2017
1919
|
{
|
|
2018
1920
|
"kind": "class",
|
|
2019
|
-
"name": "
|
|
2020
|
-
"tagName": "ore-
|
|
1921
|
+
"name": "OreCarouselSlideElement",
|
|
1922
|
+
"tagName": "ore-carousel-slide",
|
|
2021
1923
|
"customElement": true,
|
|
2022
|
-
"description": "
|
|
1924
|
+
"description": "",
|
|
2023
1925
|
"summary": "",
|
|
2024
|
-
"
|
|
2025
|
-
{
|
|
2026
|
-
"name": "max",
|
|
2027
|
-
"type": {
|
|
2028
|
-
"text": "number"
|
|
2029
|
-
},
|
|
2030
|
-
"description": "Max visible avatars before overflow badge (default: 5)",
|
|
2031
|
-
"default": "5"
|
|
2032
|
-
},
|
|
2033
|
-
{
|
|
2034
|
-
"name": "total",
|
|
2035
|
-
"type": {
|
|
2036
|
-
"text": "number"
|
|
2037
|
-
},
|
|
2038
|
-
"description": "Override the total count displayed in the badge"
|
|
2039
|
-
}
|
|
2040
|
-
],
|
|
2041
|
-
"slots": [
|
|
2042
|
-
{
|
|
2043
|
-
"name": "",
|
|
2044
|
-
"description": "`ore-avatar` elements"
|
|
2045
|
-
}
|
|
2046
|
-
],
|
|
2047
|
-
"cssParts": [
|
|
2048
|
-
{
|
|
2049
|
-
"name": "overflow",
|
|
2050
|
-
"description": "Overflow count badge shown when avatars exceed `max`."
|
|
2051
|
-
}
|
|
2052
|
-
],
|
|
2053
|
-
"cssProperties": [
|
|
2054
|
-
{
|
|
2055
|
-
"name": "--avatar-group-overlap",
|
|
2056
|
-
"description": "Negative margin creating the overlap (default: -0.75rem)"
|
|
2057
|
-
}
|
|
2058
|
-
],
|
|
2059
|
-
"demos": [
|
|
2060
|
-
{
|
|
2061
|
-
"url": "",
|
|
2062
|
-
"description": "```html\n<ore-avatar-group max=\"3\">\n <ore-avatar src=\"/a.jpg\" alt=\"Alice\"></ore-avatar>\n <ore-avatar src=\"/b.jpg\" alt=\"Bob\"></ore-avatar>\n <ore-avatar src=\"/c.jpg\" alt=\"Carol\"></ore-avatar>\n <ore-avatar src=\"/d.jpg\" alt=\"Dave\"></ore-avatar>\n</ore-avatar-group>\n```"
|
|
2063
|
-
}
|
|
2064
|
-
]
|
|
1926
|
+
"demos": []
|
|
2065
1927
|
},
|
|
2066
1928
|
{
|
|
2067
1929
|
"kind": "variable",
|
|
2068
|
-
"name": "
|
|
1930
|
+
"name": "CAROUSEL_ORIENTATIONS",
|
|
2069
1931
|
"type": {
|
|
2070
|
-
"text": "['
|
|
1932
|
+
"text": "['horizontal', 'vertical']"
|
|
2071
1933
|
},
|
|
2072
|
-
"default": "['
|
|
1934
|
+
"default": "['horizontal', 'vertical']"
|
|
2073
1935
|
},
|
|
2074
1936
|
{
|
|
2075
1937
|
"kind": "variable",
|
|
2076
|
-
"name": "
|
|
1938
|
+
"name": "CAROUSEL_VARIANTS",
|
|
2077
1939
|
"type": {
|
|
2078
|
-
"text": "'
|
|
1940
|
+
"text": "['default', 'fade', 'filmstrip', 'gallery']"
|
|
2079
1941
|
},
|
|
2080
|
-
"default": "'
|
|
2081
|
-
|
|
1942
|
+
"default": "['default', 'fade', 'filmstrip', 'gallery']"
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
"kind": "variable",
|
|
1946
|
+
"name": "CAROUSEL_TAG",
|
|
1947
|
+
"type": {
|
|
1948
|
+
"text": "'ore-carousel'"
|
|
1949
|
+
},
|
|
1950
|
+
"default": "'ore-carousel'",
|
|
1951
|
+
"description": "An accessible, keyboard-navigable carousel / slideshow with optional\nautoplay, swipe support, and indicator dots.\n\nPlace `<ore-carousel-slide>` elements as direct children."
|
|
2082
1952
|
},
|
|
2083
1953
|
{
|
|
2084
1954
|
"kind": "class",
|
|
2085
|
-
"name": "
|
|
2086
|
-
"tagName": "ore-
|
|
1955
|
+
"name": "OreCarouselElement",
|
|
1956
|
+
"tagName": "ore-carousel",
|
|
2087
1957
|
"customElement": true,
|
|
2088
|
-
"description": "
|
|
1958
|
+
"description": "An accessible, keyboard-navigable carousel / slideshow with optional\nautoplay, swipe support, and indicator dots.\nPlace `<ore-carousel-slide>` elements as direct children.",
|
|
2089
1959
|
"summary": "",
|
|
2090
1960
|
"attributes": [
|
|
2091
1961
|
{
|
|
2092
|
-
"name": "
|
|
1962
|
+
"name": "color",
|
|
2093
1963
|
"type": {
|
|
2094
|
-
"text": "
|
|
1964
|
+
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
2095
1965
|
},
|
|
2096
|
-
"description": "
|
|
1966
|
+
"description": "Theme color for navigation buttons: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
2097
1967
|
},
|
|
2098
1968
|
{
|
|
2099
|
-
"name": "
|
|
1969
|
+
"name": "autoplay",
|
|
2100
1970
|
"type": {
|
|
2101
|
-
"text": "
|
|
1971
|
+
"text": "boolean"
|
|
2102
1972
|
},
|
|
2103
|
-
"description": "
|
|
1973
|
+
"description": "Advance slides automatically (default false)"
|
|
2104
1974
|
},
|
|
2105
1975
|
{
|
|
2106
|
-
"name": "
|
|
1976
|
+
"name": "autoplay-interval",
|
|
2107
1977
|
"type": {
|
|
2108
|
-
"text": "
|
|
1978
|
+
"text": "number"
|
|
2109
1979
|
},
|
|
2110
|
-
"description": "
|
|
1980
|
+
"description": "Milliseconds between automatic advances (default 5000)"
|
|
2111
1981
|
},
|
|
2112
1982
|
{
|
|
2113
|
-
"name": "
|
|
1983
|
+
"name": "label",
|
|
2114
1984
|
"type": {
|
|
2115
|
-
"text": "
|
|
1985
|
+
"text": "string"
|
|
2116
1986
|
},
|
|
2117
|
-
"description": "
|
|
1987
|
+
"description": "Accessible label for the carousel region"
|
|
2118
1988
|
},
|
|
2119
1989
|
{
|
|
2120
|
-
"name": "
|
|
1990
|
+
"name": "loop",
|
|
2121
1991
|
"type": {
|
|
2122
|
-
"text": "
|
|
1992
|
+
"text": "boolean"
|
|
2123
1993
|
},
|
|
2124
|
-
"description": "
|
|
1994
|
+
"description": "Loop from last slide to first (default true)"
|
|
2125
1995
|
},
|
|
2126
1996
|
{
|
|
2127
|
-
"name": "
|
|
1997
|
+
"name": "orientation",
|
|
2128
1998
|
"type": {
|
|
2129
|
-
"text": "
|
|
1999
|
+
"text": "string"
|
|
2130
2000
|
},
|
|
2131
|
-
"description": "
|
|
2001
|
+
"description": "'horizontal' (default) | 'vertical'"
|
|
2132
2002
|
},
|
|
2133
2003
|
{
|
|
2134
|
-
"name": "
|
|
2004
|
+
"name": "variant",
|
|
2135
2005
|
"type": {
|
|
2136
|
-
"text": "'
|
|
2006
|
+
"text": "'default' | 'fade' | 'filmstrip' | 'gallery'"
|
|
2137
2007
|
},
|
|
2138
|
-
"description": "'
|
|
2008
|
+
"description": "'default' | 'fade' | 'filmstrip' | 'gallery'"
|
|
2009
|
+
},
|
|
2010
|
+
{
|
|
2011
|
+
"name": "show-controls",
|
|
2012
|
+
"type": {
|
|
2013
|
+
"text": "boolean"
|
|
2014
|
+
},
|
|
2015
|
+
"description": "Show prev/next buttons (default true)"
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
"name": "show-indicators",
|
|
2019
|
+
"type": {
|
|
2020
|
+
"text": "boolean"
|
|
2021
|
+
},
|
|
2022
|
+
"description": "Show indicator dots (default true)"
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
"name": "slide-index",
|
|
2026
|
+
"type": {
|
|
2027
|
+
"text": "number"
|
|
2028
|
+
},
|
|
2029
|
+
"description": "Active slide index (zero-based, default 0)"
|
|
2030
|
+
}
|
|
2031
|
+
],
|
|
2032
|
+
"events": [
|
|
2033
|
+
{
|
|
2034
|
+
"name": "change",
|
|
2035
|
+
"description": "Fires when the active slide changes. detail: { index: number }",
|
|
2036
|
+
"type": {
|
|
2037
|
+
"text": "CustomEvent"
|
|
2038
|
+
}
|
|
2139
2039
|
}
|
|
2140
2040
|
],
|
|
2141
2041
|
"slots": [
|
|
2142
2042
|
{
|
|
2143
2043
|
"name": "",
|
|
2144
|
-
"description": "
|
|
2044
|
+
"description": "Place `<ore-carousel-slide>` elements here"
|
|
2145
2045
|
}
|
|
2146
2046
|
],
|
|
2147
2047
|
"cssParts": [
|
|
2148
2048
|
{
|
|
2149
|
-
"name": "
|
|
2150
|
-
"description": "
|
|
2151
|
-
},
|
|
2152
|
-
{
|
|
2153
|
-
"name": "img",
|
|
2154
|
-
"description": "Image element."
|
|
2049
|
+
"name": "track",
|
|
2050
|
+
"description": "The scrolling slide track element"
|
|
2155
2051
|
},
|
|
2156
2052
|
{
|
|
2157
|
-
"name": "
|
|
2158
|
-
"description": "
|
|
2053
|
+
"name": "controls",
|
|
2054
|
+
"description": "The prev/next button container"
|
|
2159
2055
|
},
|
|
2160
2056
|
{
|
|
2161
|
-
"name": "
|
|
2162
|
-
"description": "
|
|
2057
|
+
"name": "indicators",
|
|
2058
|
+
"description": "The indicator dots container"
|
|
2163
2059
|
},
|
|
2164
2060
|
{
|
|
2165
|
-
"name": "
|
|
2166
|
-
"description": "
|
|
2061
|
+
"name": "prev-btn",
|
|
2062
|
+
"description": "The previous-slide button"
|
|
2167
2063
|
},
|
|
2168
2064
|
{
|
|
2169
|
-
"name": "
|
|
2170
|
-
"description": "
|
|
2065
|
+
"name": "next-btn",
|
|
2066
|
+
"description": "The next-slide button"
|
|
2171
2067
|
}
|
|
2172
2068
|
],
|
|
2173
2069
|
"cssProperties": [
|
|
2174
2070
|
{
|
|
2175
|
-
"name": "--
|
|
2176
|
-
"description": "
|
|
2071
|
+
"name": "--carousel-bg",
|
|
2072
|
+
"description": "Slide area background"
|
|
2177
2073
|
},
|
|
2178
2074
|
{
|
|
2179
|
-
"name": "--
|
|
2180
|
-
"description": "
|
|
2075
|
+
"name": "--carousel-radius",
|
|
2076
|
+
"description": "Border radius of the carousel"
|
|
2181
2077
|
},
|
|
2182
2078
|
{
|
|
2183
|
-
"name": "--
|
|
2184
|
-
"description": "
|
|
2079
|
+
"name": "--carousel-dot-bg",
|
|
2080
|
+
"description": "Inactive indicator color (default: var(--color-contrast-300))"
|
|
2185
2081
|
},
|
|
2186
2082
|
{
|
|
2187
|
-
"name": "--
|
|
2188
|
-
"description": "
|
|
2083
|
+
"name": "--carousel-dot-active-bg",
|
|
2084
|
+
"description": "Active indicator / fill color (default: var(--color-contrast-700))"
|
|
2189
2085
|
},
|
|
2190
2086
|
{
|
|
2191
|
-
"name": "--
|
|
2192
|
-
"description": "
|
|
2087
|
+
"name": "--carousel-transition-duration",
|
|
2088
|
+
"description": "Slide transition duration (default 0.35s; 0s under prefers-reduced-motion)."
|
|
2193
2089
|
},
|
|
2194
2090
|
{
|
|
2195
|
-
"name": "--
|
|
2196
|
-
"description": "
|
|
2091
|
+
"name": "--carousel-min-height",
|
|
2092
|
+
"description": "Minimum height when no explicit height is set (default 240px)"
|
|
2093
|
+
},
|
|
2094
|
+
{
|
|
2095
|
+
"name": "--carousel-filmstrip-inactive",
|
|
2096
|
+
"description": "Width (horizontal) or height (vertical) of inactive slides in filmstrip mode"
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
"name": "--carousel-filmstrip-gap",
|
|
2100
|
+
"description": "Gap between slides in filmstrip mode"
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"name": "--carousel-gallery-thumbnail",
|
|
2104
|
+
"description": "Width (horizontal) or height (vertical) of thumbnail slides in gallery mode (default var(--size-24))"
|
|
2105
|
+
},
|
|
2106
|
+
{
|
|
2107
|
+
"name": "--carousel-gallery-gap",
|
|
2108
|
+
"description": "Gap between slides in gallery mode (default var(--size-2))"
|
|
2197
2109
|
}
|
|
2198
2110
|
],
|
|
2199
2111
|
"demos": [
|
|
2200
2112
|
{
|
|
2201
2113
|
"url": "",
|
|
2202
|
-
"description": "```html\n<ore-
|
|
2114
|
+
"description": "```html\n<ore-carousel label=\"Product highlights\" loop>\n <ore-carousel-slide>Slide 1</ore-carousel-slide>\n <ore-carousel-slide>Slide 2</ore-carousel-slide>\n <ore-carousel-slide>Slide 3</ore-carousel-slide>\n</ore-carousel>\n```"
|
|
2203
2115
|
}
|
|
2204
2116
|
]
|
|
2205
2117
|
},
|
|
2206
2118
|
{
|
|
2207
2119
|
"kind": "variable",
|
|
2208
|
-
"name": "
|
|
2120
|
+
"name": "CHAT_MESSAGE_STATUSES",
|
|
2209
2121
|
"type": {
|
|
2210
|
-
"text": "'
|
|
2122
|
+
"text": "['error', 'sending', 'sent']"
|
|
2211
2123
|
},
|
|
2212
|
-
"default": "'
|
|
2213
|
-
|
|
2124
|
+
"default": "['error', 'sending', 'sent']"
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
"kind": "variable",
|
|
2128
|
+
"name": "CHAT_MESSAGE_TAG",
|
|
2129
|
+
"type": {
|
|
2130
|
+
"text": "'ore-chat-message'"
|
|
2131
|
+
},
|
|
2132
|
+
"default": "'ore-chat-message'",
|
|
2133
|
+
"description": "A single message bubble for chat/conversation UIs: sender-aware alignment, an optional\navatar slot, delivery status (sending/sent/error with retry), and a streaming cursor for\nassistant messages still generating. Content is provided via the default slot, so any\nmarkdown-to-HTML rendering stays the consumer's choice.\n\nThe default slot's leading/trailing whitespace-only text nodes are trimmed in place once\nper slot assignment (mount, and again on `slotchange`): pretty-printed HTML's\nindentation would otherwise render as blank lines, since the bubble preserves line breaks\n(`white-space: pre-wrap`) for genuine multi-paragraph replies. This mutates those specific\ntext nodes' `textContent` directly; it never touches nodes appended afterward (e.g. by\n`el.textContent += token` while streaming), only the ones present at assignment time."
|
|
2214
2134
|
},
|
|
2215
2135
|
{
|
|
2216
2136
|
"kind": "class",
|
|
2217
|
-
"name": "
|
|
2218
|
-
"tagName": "ore-
|
|
2137
|
+
"name": "OreChatMessageElement",
|
|
2138
|
+
"tagName": "ore-chat-message",
|
|
2219
2139
|
"customElement": true,
|
|
2220
|
-
"description": "A single
|
|
2140
|
+
"description": "A single message bubble for chat/conversation UIs: sender-aware alignment, an optional\navatar slot, delivery status (sending/sent/error with retry), and a streaming cursor for\nassistant messages still generating. Content is provided via the default slot, so any\nmarkdown-to-HTML rendering stays the consumer's choice.\nThe default slot's leading/trailing whitespace-only text nodes are trimmed in place once\nper slot assignment (mount, and again on `slotchange`): pretty-printed HTML's\nindentation would otherwise render as blank lines, since the bubble preserves line breaks\n(`white-space: pre-wrap`) for genuine multi-paragraph replies. This mutates those specific\ntext nodes' `textContent` directly; it never touches nodes appended afterward (e.g. by\n`el.textContent += token` while streaming), only the ones present at assignment time.",
|
|
2221
2141
|
"summary": "",
|
|
2222
2142
|
"attributes": [
|
|
2223
2143
|
{
|
|
2224
|
-
"name": "
|
|
2144
|
+
"name": "sender",
|
|
2225
2145
|
"type": {
|
|
2226
|
-
"text": "
|
|
2146
|
+
"text": "'user' | 'assistant' | 'system'"
|
|
2227
2147
|
},
|
|
2228
|
-
"description": "
|
|
2148
|
+
"description": "Who sent the message: 'user' | 'assistant' | 'system' (default 'assistant')"
|
|
2229
2149
|
},
|
|
2230
2150
|
{
|
|
2231
|
-
"name": "
|
|
2151
|
+
"name": "name",
|
|
2232
2152
|
"type": {
|
|
2233
2153
|
"text": "string"
|
|
2234
2154
|
},
|
|
2235
|
-
"description": "
|
|
2155
|
+
"description": "Display name shown above the bubble"
|
|
2236
2156
|
},
|
|
2237
2157
|
{
|
|
2238
|
-
"name": "
|
|
2158
|
+
"name": "timestamp",
|
|
2239
2159
|
"type": {
|
|
2240
2160
|
"text": "string"
|
|
2241
2161
|
},
|
|
2242
|
-
"description": "
|
|
2243
|
-
}
|
|
2244
|
-
],
|
|
2245
|
-
"slots": [
|
|
2246
|
-
{
|
|
2247
|
-
"name": "",
|
|
2248
|
-
"description": "Item label/content"
|
|
2162
|
+
"description": "ISO 8601 timestamp, rendered as a localized short time"
|
|
2249
2163
|
},
|
|
2250
2164
|
{
|
|
2251
|
-
"name": "
|
|
2252
|
-
"
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
{
|
|
2257
|
-
"name": "separator",
|
|
2258
|
-
"description": "Separator element before the item label"
|
|
2165
|
+
"name": "status",
|
|
2166
|
+
"type": {
|
|
2167
|
+
"text": "'sending' | 'sent' | 'error'"
|
|
2168
|
+
},
|
|
2169
|
+
"description": "Delivery status: 'sending' | 'sent' | 'error'"
|
|
2259
2170
|
},
|
|
2260
2171
|
{
|
|
2261
|
-
"name": "
|
|
2262
|
-
"description": "The interactive anchor element"
|
|
2263
|
-
}
|
|
2264
|
-
],
|
|
2265
|
-
"demos": [
|
|
2266
|
-
{
|
|
2267
|
-
"url": "",
|
|
2268
|
-
"description": "```html\n<ore-breadcrumb-item href=\"/\">Home</ore-breadcrumb-item>\n<ore-breadcrumb-item active>Current Page</ore-breadcrumb-item>\n```"
|
|
2269
|
-
}
|
|
2270
|
-
]
|
|
2271
|
-
},
|
|
2272
|
-
{
|
|
2273
|
-
"kind": "variable",
|
|
2274
|
-
"name": "BREADCRUMB_TAG",
|
|
2275
|
-
"type": {
|
|
2276
|
-
"text": "'ore-breadcrumb'"
|
|
2277
|
-
},
|
|
2278
|
-
"default": "'ore-breadcrumb'",
|
|
2279
|
-
"description": "Accessible breadcrumb navigation container."
|
|
2280
|
-
},
|
|
2281
|
-
{
|
|
2282
|
-
"kind": "class",
|
|
2283
|
-
"name": "OreBreadcrumbElement",
|
|
2284
|
-
"tagName": "ore-breadcrumb",
|
|
2285
|
-
"customElement": true,
|
|
2286
|
-
"description": "Accessible breadcrumb navigation container.",
|
|
2287
|
-
"summary": "",
|
|
2288
|
-
"attributes": [
|
|
2289
|
-
{
|
|
2290
|
-
"name": "label",
|
|
2172
|
+
"name": "error",
|
|
2291
2173
|
"type": {
|
|
2292
2174
|
"text": "string"
|
|
2293
2175
|
},
|
|
2294
|
-
"description": "
|
|
2176
|
+
"description": "Error detail shown beneath the bubble when status=\"error\""
|
|
2295
2177
|
},
|
|
2296
2178
|
{
|
|
2297
|
-
"name": "
|
|
2179
|
+
"name": "streaming",
|
|
2298
2180
|
"type": {
|
|
2299
|
-
"text": "
|
|
2181
|
+
"text": "boolean"
|
|
2300
2182
|
},
|
|
2301
|
-
"description": "
|
|
2183
|
+
"description": "Append a blinking cursor after the content"
|
|
2302
2184
|
}
|
|
2303
2185
|
],
|
|
2304
|
-
"
|
|
2186
|
+
"events": [
|
|
2305
2187
|
{
|
|
2306
|
-
"name": "",
|
|
2307
|
-
"description": "
|
|
2188
|
+
"name": "retry",
|
|
2189
|
+
"description": "Fired when the retry action is activated. detail: { originalEvent }",
|
|
2190
|
+
"type": {
|
|
2191
|
+
"text": "CustomEvent"
|
|
2192
|
+
}
|
|
2308
2193
|
}
|
|
2309
2194
|
],
|
|
2310
|
-
"
|
|
2195
|
+
"slots": [
|
|
2311
2196
|
{
|
|
2312
|
-
"name": "
|
|
2313
|
-
"description": "
|
|
2197
|
+
"name": "",
|
|
2198
|
+
"description": "Message content"
|
|
2314
2199
|
},
|
|
2315
2200
|
{
|
|
2316
|
-
"name": "
|
|
2317
|
-
"description": "
|
|
2318
|
-
}
|
|
2319
|
-
],
|
|
2320
|
-
"cssProperties": [
|
|
2201
|
+
"name": "avatar",
|
|
2202
|
+
"description": "Avatar element (e.g. `<ore-avatar>`)"
|
|
2203
|
+
},
|
|
2321
2204
|
{
|
|
2322
|
-
"name": "
|
|
2323
|
-
"description": "
|
|
2205
|
+
"name": "actions",
|
|
2206
|
+
"description": "Action buttons shown beneath the message (copy, regenerate, feedback, …)"
|
|
2324
2207
|
}
|
|
2325
2208
|
],
|
|
2326
|
-
"
|
|
2209
|
+
"cssParts": [
|
|
2327
2210
|
{
|
|
2328
|
-
"
|
|
2329
|
-
"description": "
|
|
2330
|
-
}
|
|
2331
|
-
]
|
|
2332
|
-
},
|
|
2333
|
-
{
|
|
2334
|
-
"kind": "variable",
|
|
2335
|
-
"name": "CARD_TAG",
|
|
2336
|
-
"type": {
|
|
2337
|
-
"text": "'ore-card'"
|
|
2338
|
-
},
|
|
2339
|
-
"default": "'ore-card'",
|
|
2340
|
-
"description": "A versatile card container with semantic slots for media, header, body, footer, and actions."
|
|
2341
|
-
},
|
|
2342
|
-
{
|
|
2343
|
-
"kind": "class",
|
|
2344
|
-
"name": "OreCardElement",
|
|
2345
|
-
"tagName": "ore-card",
|
|
2346
|
-
"customElement": true,
|
|
2347
|
-
"description": "A versatile card container with semantic slots for media, header, body, footer, and actions.",
|
|
2348
|
-
"summary": "",
|
|
2349
|
-
"attributes": [
|
|
2211
|
+
"name": "row",
|
|
2212
|
+
"description": "Root row container (avatar + column)"
|
|
2213
|
+
},
|
|
2350
2214
|
{
|
|
2351
|
-
"name": "
|
|
2352
|
-
"
|
|
2353
|
-
"text": "'solid' | 'flat' | 'frost'"
|
|
2354
|
-
},
|
|
2355
|
-
"description": "Visual variant: 'solid' | 'flat' | 'frost'"
|
|
2356
|
-
},
|
|
2357
|
-
{
|
|
2358
|
-
"name": "color",
|
|
2359
|
-
"type": {
|
|
2360
|
-
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
2361
|
-
},
|
|
2362
|
-
"description": "Theme color: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
2363
|
-
},
|
|
2364
|
-
{
|
|
2365
|
-
"name": "padding",
|
|
2366
|
-
"type": {
|
|
2367
|
-
"text": "'none' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
2368
|
-
},
|
|
2369
|
-
"description": "Internal padding: 'none' | 'sm' | 'md' | 'lg' | 'xl'"
|
|
2370
|
-
},
|
|
2371
|
-
{
|
|
2372
|
-
"name": "elevation",
|
|
2373
|
-
"type": {
|
|
2374
|
-
"text": "'0' | '1' | '2' | '3' | '4' | '5'"
|
|
2375
|
-
},
|
|
2376
|
-
"description": "Shadow elevation: '0' | '1' | '2' | '3' | '4' | '5'"
|
|
2377
|
-
},
|
|
2378
|
-
{
|
|
2379
|
-
"name": "orientation",
|
|
2380
|
-
"type": {
|
|
2381
|
-
"text": "string"
|
|
2382
|
-
},
|
|
2383
|
-
"description": "Card layout: 'horizontal'"
|
|
2384
|
-
},
|
|
2385
|
-
{
|
|
2386
|
-
"name": "interactive",
|
|
2387
|
-
"type": {
|
|
2388
|
-
"text": "boolean"
|
|
2389
|
-
},
|
|
2390
|
-
"description": "Enable pointer/keyboard activation"
|
|
2391
|
-
},
|
|
2392
|
-
{
|
|
2393
|
-
"name": "disabled",
|
|
2394
|
-
"type": {
|
|
2395
|
-
"text": "boolean"
|
|
2396
|
-
},
|
|
2397
|
-
"description": "Disable card interaction"
|
|
2398
|
-
},
|
|
2399
|
-
{
|
|
2400
|
-
"name": "loading",
|
|
2401
|
-
"type": {
|
|
2402
|
-
"text": "boolean"
|
|
2403
|
-
},
|
|
2404
|
-
"description": "Show loading progress bar"
|
|
2405
|
-
}
|
|
2406
|
-
],
|
|
2407
|
-
"events": [
|
|
2408
|
-
{
|
|
2409
|
-
"name": "activate",
|
|
2410
|
-
"description": "Emitted when an interactive card is activated. detail: { originalEvent: MouseEvent | KeyboardEvent; trigger: 'pointer' | 'keyboard' }",
|
|
2411
|
-
"type": {
|
|
2412
|
-
"text": "CustomEvent"
|
|
2413
|
-
}
|
|
2414
|
-
}
|
|
2415
|
-
],
|
|
2416
|
-
"slots": [
|
|
2417
|
-
{
|
|
2418
|
-
"name": "media",
|
|
2419
|
-
"description": "Media content displayed at top/left"
|
|
2215
|
+
"name": "avatar",
|
|
2216
|
+
"description": "Avatar slot container"
|
|
2420
2217
|
},
|
|
2421
2218
|
{
|
|
2422
|
-
"name": "
|
|
2423
|
-
"description": "
|
|
2219
|
+
"name": "column",
|
|
2220
|
+
"description": "Column containing name, bubble, meta, and actions"
|
|
2424
2221
|
},
|
|
2425
2222
|
{
|
|
2426
|
-
"name": "",
|
|
2427
|
-
"description": "
|
|
2223
|
+
"name": "name",
|
|
2224
|
+
"description": "Sender display name"
|
|
2428
2225
|
},
|
|
2429
2226
|
{
|
|
2430
|
-
"name": "
|
|
2431
|
-
"description": "
|
|
2227
|
+
"name": "bubble",
|
|
2228
|
+
"description": "Message bubble container"
|
|
2432
2229
|
},
|
|
2433
2230
|
{
|
|
2434
|
-
"name": "
|
|
2435
|
-
"description": "
|
|
2436
|
-
}
|
|
2437
|
-
],
|
|
2438
|
-
"cssParts": [
|
|
2439
|
-
{
|
|
2440
|
-
"name": "card",
|
|
2441
|
-
"description": "Card root container."
|
|
2231
|
+
"name": "content",
|
|
2232
|
+
"description": "Content container inside the bubble"
|
|
2442
2233
|
},
|
|
2443
2234
|
{
|
|
2444
|
-
"name": "
|
|
2445
|
-
"description": "
|
|
2235
|
+
"name": "cursor",
|
|
2236
|
+
"description": "Blinking streaming cursor"
|
|
2446
2237
|
},
|
|
2447
2238
|
{
|
|
2448
|
-
"name": "
|
|
2449
|
-
"description": "
|
|
2239
|
+
"name": "meta",
|
|
2240
|
+
"description": "Row of timestamp, status, and error text below the bubble"
|
|
2450
2241
|
},
|
|
2451
2242
|
{
|
|
2452
|
-
"name": "
|
|
2453
|
-
"description": "
|
|
2243
|
+
"name": "timestamp",
|
|
2244
|
+
"description": "Timestamp `<time>` element"
|
|
2454
2245
|
},
|
|
2455
2246
|
{
|
|
2456
|
-
"name": "
|
|
2457
|
-
"description": "
|
|
2247
|
+
"name": "status",
|
|
2248
|
+
"description": "Status indicator"
|
|
2458
2249
|
},
|
|
2459
2250
|
{
|
|
2460
|
-
"name": "
|
|
2461
|
-
"description": "
|
|
2251
|
+
"name": "error",
|
|
2252
|
+
"description": "Error text"
|
|
2462
2253
|
},
|
|
2463
2254
|
{
|
|
2464
|
-
"name": "
|
|
2465
|
-
"description": "
|
|
2255
|
+
"name": "retry",
|
|
2256
|
+
"description": "Retry button (status=\"error\" only)"
|
|
2466
2257
|
},
|
|
2467
2258
|
{
|
|
2468
2259
|
"name": "actions",
|
|
2469
|
-
"description": "Actions slot container
|
|
2260
|
+
"description": "Actions slot container"
|
|
2470
2261
|
}
|
|
2471
2262
|
],
|
|
2472
2263
|
"cssProperties": [
|
|
2473
2264
|
{
|
|
2474
|
-
"name": "--
|
|
2475
|
-
"description": "
|
|
2476
|
-
},
|
|
2477
|
-
{
|
|
2478
|
-
"name": "--card-color",
|
|
2479
|
-
"description": "Text color"
|
|
2480
|
-
},
|
|
2481
|
-
{
|
|
2482
|
-
"name": "--card-border",
|
|
2483
|
-
"description": "Border width"
|
|
2265
|
+
"name": "--chat-message-bg",
|
|
2266
|
+
"description": "Bubble background color (assistant/system)"
|
|
2484
2267
|
},
|
|
2485
2268
|
{
|
|
2486
|
-
"name": "--
|
|
2487
|
-
"description": "
|
|
2269
|
+
"name": "--chat-message-color",
|
|
2270
|
+
"description": "Bubble text color (assistant/system)"
|
|
2488
2271
|
},
|
|
2489
2272
|
{
|
|
2490
|
-
"name": "--
|
|
2491
|
-
"description": "
|
|
2273
|
+
"name": "--chat-message-user-bg",
|
|
2274
|
+
"description": "Bubble background color (user)"
|
|
2492
2275
|
},
|
|
2493
2276
|
{
|
|
2494
|
-
"name": "--
|
|
2495
|
-
"description": "
|
|
2277
|
+
"name": "--chat-message-user-color",
|
|
2278
|
+
"description": "Bubble text color (user)"
|
|
2496
2279
|
},
|
|
2497
2280
|
{
|
|
2498
|
-
"name": "--
|
|
2499
|
-
"description": "
|
|
2281
|
+
"name": "--chat-message-radius",
|
|
2282
|
+
"description": "Bubble border radius"
|
|
2500
2283
|
},
|
|
2501
2284
|
{
|
|
2502
|
-
"name": "--
|
|
2503
|
-
"description": "
|
|
2285
|
+
"name": "--chat-message-max-width",
|
|
2286
|
+
"description": "Maximum bubble width"
|
|
2504
2287
|
}
|
|
2505
2288
|
],
|
|
2506
2289
|
"demos": [
|
|
2507
2290
|
{
|
|
2508
2291
|
"url": "",
|
|
2509
|
-
"description": "```html\n<ore-
|
|
2292
|
+
"description": "```html\n<ore-chat-message sender=\"user\" timestamp=\"2024-01-01T12:00:00Z\" status=\"sent\">\n What's the weather like today?\n</ore-chat-message>\n<ore-chat-message sender=\"assistant\" name=\"Assistant\" streaming>\n Let me check that for you\n</ore-chat-message>\n```"
|
|
2510
2293
|
}
|
|
2511
2294
|
]
|
|
2512
2295
|
},
|
|
2513
2296
|
{
|
|
2514
2297
|
"kind": "variable",
|
|
2515
|
-
"name": "
|
|
2516
|
-
"type": {
|
|
2517
|
-
"text": "'ore-carousel-slide'"
|
|
2518
|
-
},
|
|
2519
|
-
"default": "'ore-carousel-slide'"
|
|
2520
|
-
},
|
|
2521
|
-
{
|
|
2522
|
-
"kind": "class",
|
|
2523
|
-
"name": "OreCarouselSlideElement",
|
|
2524
|
-
"tagName": "ore-carousel-slide",
|
|
2525
|
-
"customElement": true,
|
|
2526
|
-
"description": "",
|
|
2527
|
-
"summary": "",
|
|
2528
|
-
"demos": []
|
|
2529
|
-
},
|
|
2530
|
-
{
|
|
2531
|
-
"kind": "variable",
|
|
2532
|
-
"name": "CAROUSEL_ORIENTATIONS",
|
|
2533
|
-
"type": {
|
|
2534
|
-
"text": "['horizontal', 'vertical']"
|
|
2535
|
-
},
|
|
2536
|
-
"default": "['horizontal', 'vertical']"
|
|
2537
|
-
},
|
|
2538
|
-
{
|
|
2539
|
-
"kind": "variable",
|
|
2540
|
-
"name": "CAROUSEL_VARIANTS",
|
|
2541
|
-
"type": {
|
|
2542
|
-
"text": "['default', 'fade', 'filmstrip', 'gallery']"
|
|
2543
|
-
},
|
|
2544
|
-
"default": "['default', 'fade', 'filmstrip', 'gallery']"
|
|
2545
|
-
},
|
|
2546
|
-
{
|
|
2547
|
-
"kind": "variable",
|
|
2548
|
-
"name": "CAROUSEL_TAG",
|
|
2298
|
+
"name": "CHAT_PANEL_TAG",
|
|
2549
2299
|
"type": {
|
|
2550
|
-
"text": "'ore-
|
|
2300
|
+
"text": "'ore-chat-panel'"
|
|
2551
2301
|
},
|
|
2552
|
-
"default": "'ore-
|
|
2553
|
-
"description": "
|
|
2302
|
+
"default": "'ore-chat-panel'",
|
|
2303
|
+
"description": "A self-contained assistant chat surface: the fixed corner window a demo or support\nflow needs: header with title, status, Start over and close; a live-region message\ntranscript built from `ore-chat-message`; suggested questions while the transcript\nholds only the greeting; and an `ore-message-composer` footer.\n\nThe panel owns presentation and interaction only. Reply generation, persistence, and\naction semantics stay with the consumer: listen for `send`, append the assistant reply\nto `messages`, and reassign the array; handle `action` for whatever a message's action\npayload means in your app."
|
|
2554
2304
|
},
|
|
2555
2305
|
{
|
|
2556
2306
|
"kind": "class",
|
|
2557
|
-
"name": "
|
|
2558
|
-
"tagName": "ore-
|
|
2307
|
+
"name": "OreChatPanelElement",
|
|
2308
|
+
"tagName": "ore-chat-panel",
|
|
2559
2309
|
"customElement": true,
|
|
2560
|
-
"description": "
|
|
2310
|
+
"description": "A self-contained assistant chat surface: the fixed corner window a demo or support\nflow needs: header with title, status, Start over and close; a live-region message\ntranscript built from `ore-chat-message`; suggested questions while the transcript\nholds only the greeting; and an `ore-message-composer` footer.\nThe panel owns presentation and interaction only. Reply generation, persistence, and\naction semantics stay with the consumer: listen for `send`, append the assistant reply\nto `messages`, and reassign the array; handle `action` for whatever a message's action\npayload means in your app.",
|
|
2561
2311
|
"summary": "",
|
|
2562
2312
|
"attributes": [
|
|
2563
2313
|
{
|
|
2564
|
-
"name": "
|
|
2314
|
+
"name": "label",
|
|
2565
2315
|
"type": {
|
|
2566
|
-
"text": "
|
|
2316
|
+
"text": "string"
|
|
2567
2317
|
},
|
|
2568
|
-
"description": "
|
|
2318
|
+
"description": "Accessible name for the panel region"
|
|
2569
2319
|
},
|
|
2570
2320
|
{
|
|
2571
|
-
"name": "
|
|
2321
|
+
"name": "open",
|
|
2572
2322
|
"type": {
|
|
2573
2323
|
"text": "boolean"
|
|
2574
2324
|
},
|
|
2575
|
-
"description": "
|
|
2576
|
-
},
|
|
2577
|
-
{
|
|
2578
|
-
"name": "autoplay-interval",
|
|
2579
|
-
"type": {
|
|
2580
|
-
"text": "number"
|
|
2581
|
-
},
|
|
2582
|
-
"description": "Milliseconds between automatic advances (default 5000)"
|
|
2325
|
+
"description": "Open state"
|
|
2583
2326
|
},
|
|
2584
2327
|
{
|
|
2585
|
-
"name": "
|
|
2328
|
+
"name": "initials",
|
|
2586
2329
|
"type": {
|
|
2587
2330
|
"text": "string"
|
|
2588
2331
|
},
|
|
2589
|
-
"description": "
|
|
2332
|
+
"description": "Assistant avatar initials (default 'V')"
|
|
2590
2333
|
},
|
|
2591
2334
|
{
|
|
2592
|
-
"name": "
|
|
2335
|
+
"name": "maxlength",
|
|
2593
2336
|
"type": {
|
|
2594
|
-
"text": "
|
|
2337
|
+
"text": "number"
|
|
2595
2338
|
},
|
|
2596
|
-
"description": "
|
|
2597
|
-
}
|
|
2339
|
+
"description": "Composer character limit (default 240)"
|
|
2340
|
+
}
|
|
2341
|
+
],
|
|
2342
|
+
"events": [
|
|
2598
2343
|
{
|
|
2599
|
-
"name": "
|
|
2344
|
+
"name": "send",
|
|
2345
|
+
"description": "A send or suggestion was submitted. detail: { text }",
|
|
2600
2346
|
"type": {
|
|
2601
|
-
"text": "
|
|
2602
|
-
}
|
|
2603
|
-
"description": "'horizontal' (default) | 'vertical'"
|
|
2347
|
+
"text": "CustomEvent"
|
|
2348
|
+
}
|
|
2604
2349
|
},
|
|
2605
2350
|
{
|
|
2606
|
-
"name": "
|
|
2351
|
+
"name": "action",
|
|
2352
|
+
"description": "A message action button was activated. detail: { payload }",
|
|
2607
2353
|
"type": {
|
|
2608
|
-
"text": "
|
|
2609
|
-
}
|
|
2610
|
-
"description": "'default' | 'fade' | 'filmstrip' | 'gallery'"
|
|
2354
|
+
"text": "CustomEvent"
|
|
2355
|
+
}
|
|
2611
2356
|
},
|
|
2612
2357
|
{
|
|
2613
|
-
"name": "
|
|
2358
|
+
"name": "reset",
|
|
2359
|
+
"description": "The transcript was cleared via Start over.",
|
|
2614
2360
|
"type": {
|
|
2615
|
-
"text": "
|
|
2616
|
-
}
|
|
2617
|
-
"description": "Show prev/next buttons (default true)"
|
|
2361
|
+
"text": "CustomEvent"
|
|
2362
|
+
}
|
|
2618
2363
|
},
|
|
2619
2364
|
{
|
|
2620
|
-
"name": "
|
|
2621
|
-
"
|
|
2622
|
-
"text": "boolean"
|
|
2623
|
-
},
|
|
2624
|
-
"description": "Show indicator dots (default true)"
|
|
2625
|
-
},
|
|
2626
|
-
{
|
|
2627
|
-
"name": "slide-index",
|
|
2628
|
-
"type": {
|
|
2629
|
-
"text": "number"
|
|
2630
|
-
},
|
|
2631
|
-
"description": "Active slide index (zero-based, default 0)"
|
|
2632
|
-
}
|
|
2633
|
-
],
|
|
2634
|
-
"events": [
|
|
2635
|
-
{
|
|
2636
|
-
"name": "change",
|
|
2637
|
-
"description": "Fires when the active slide changes. detail: { index: number }",
|
|
2365
|
+
"name": "open-change",
|
|
2366
|
+
"description": "Open state changed. detail: { open, reason }",
|
|
2638
2367
|
"type": {
|
|
2639
2368
|
"text": "CustomEvent"
|
|
2640
2369
|
}
|
|
@@ -2642,534 +2371,203 @@
|
|
|
2642
2371
|
],
|
|
2643
2372
|
"slots": [
|
|
2644
2373
|
{
|
|
2645
|
-
"name": "",
|
|
2646
|
-
"description": "
|
|
2374
|
+
"name": "header",
|
|
2375
|
+
"description": "Replaces the default title/status header content"
|
|
2647
2376
|
}
|
|
2648
2377
|
],
|
|
2649
2378
|
"cssParts": [
|
|
2650
2379
|
{
|
|
2651
|
-
"name": "
|
|
2652
|
-
"description": "The
|
|
2380
|
+
"name": "window",
|
|
2381
|
+
"description": "The fixed panel window"
|
|
2653
2382
|
},
|
|
2654
2383
|
{
|
|
2655
|
-
"name": "
|
|
2656
|
-
"description": "
|
|
2384
|
+
"name": "header",
|
|
2385
|
+
"description": "Header row"
|
|
2657
2386
|
},
|
|
2658
2387
|
{
|
|
2659
|
-
"name": "
|
|
2660
|
-
"description": "
|
|
2388
|
+
"name": "body",
|
|
2389
|
+
"description": "Scrollable transcript area"
|
|
2661
2390
|
},
|
|
2662
2391
|
{
|
|
2663
|
-
"name": "
|
|
2664
|
-
"description": "
|
|
2392
|
+
"name": "messages",
|
|
2393
|
+
"description": "Message list (role=log)"
|
|
2665
2394
|
},
|
|
2666
2395
|
{
|
|
2667
|
-
"name": "
|
|
2668
|
-
"description": "
|
|
2396
|
+
"name": "suggestions",
|
|
2397
|
+
"description": "Suggestion chips row"
|
|
2398
|
+
},
|
|
2399
|
+
{
|
|
2400
|
+
"name": "composer",
|
|
2401
|
+
"description": "Composer footer"
|
|
2669
2402
|
}
|
|
2670
2403
|
],
|
|
2671
2404
|
"cssProperties": [
|
|
2672
2405
|
{
|
|
2673
|
-
"name": "--
|
|
2674
|
-
"description": "
|
|
2675
|
-
},
|
|
2676
|
-
{
|
|
2677
|
-
"name": "--carousel-radius",
|
|
2678
|
-
"description": "Border radius of the carousel"
|
|
2679
|
-
},
|
|
2680
|
-
{
|
|
2681
|
-
"name": "--carousel-dot-bg",
|
|
2682
|
-
"description": "Inactive indicator color (default: var(--color-contrast-300))"
|
|
2683
|
-
},
|
|
2684
|
-
{
|
|
2685
|
-
"name": "--carousel-dot-active-bg",
|
|
2686
|
-
"description": "Active indicator / fill color (default: var(--color-contrast-700))"
|
|
2687
|
-
},
|
|
2688
|
-
{
|
|
2689
|
-
"name": "--carousel-transition-duration",
|
|
2690
|
-
"description": "Slide transition duration (default 0.35s; 0s under prefers-reduced-motion)."
|
|
2691
|
-
},
|
|
2692
|
-
{
|
|
2693
|
-
"name": "--carousel-min-height",
|
|
2694
|
-
"description": "Minimum height when no explicit height is set (default 240px)"
|
|
2695
|
-
},
|
|
2696
|
-
{
|
|
2697
|
-
"name": "--carousel-filmstrip-inactive",
|
|
2698
|
-
"description": "Width (horizontal) or height (vertical) of inactive slides in filmstrip mode"
|
|
2406
|
+
"name": "--chat-panel-width",
|
|
2407
|
+
"description": "Panel width (default min(420px, viewport-fit))"
|
|
2699
2408
|
},
|
|
2700
2409
|
{
|
|
2701
|
-
"name": "--
|
|
2702
|
-
"description": "
|
|
2410
|
+
"name": "--chat-panel-height",
|
|
2411
|
+
"description": "Panel height (default min(640px, viewport-fit))"
|
|
2703
2412
|
},
|
|
2704
2413
|
{
|
|
2705
|
-
"name": "--
|
|
2706
|
-
"description": "
|
|
2414
|
+
"name": "--chat-panel-inset",
|
|
2415
|
+
"description": "Distance from the viewport corner (default --size-6)"
|
|
2707
2416
|
},
|
|
2708
2417
|
{
|
|
2709
|
-
"name": "--
|
|
2710
|
-
"description": "
|
|
2418
|
+
"name": "--chat-panel-z-index",
|
|
2419
|
+
"description": "Stacking order (default --z-fixed)"
|
|
2711
2420
|
}
|
|
2712
2421
|
],
|
|
2713
2422
|
"demos": [
|
|
2714
2423
|
{
|
|
2715
2424
|
"url": "",
|
|
2716
|
-
"description": "```html\n<ore-
|
|
2425
|
+
"description": "```html\n<ore-chat-panel id=\"advisor\" label=\"Model advisor\"></ore-chat-panel>\n<script type=\"module\">\n import '@vielzeug/refine/chat-panel';\n const panel = document.getElementById('advisor');\n panel.messages = [{ sender: 'assistant', text: 'Hi! What can I help with?' }];\n panel.addEventListener('send', (event) => {\n panel.messages = [\n ...panel.messages,\n { sender: 'user', text: event.detail.text },\n { sender: 'assistant', text: 'Let me look into that.' },\n ];\n });\n panel.show();\n</script>\n```"
|
|
2717
2426
|
}
|
|
2718
2427
|
]
|
|
2719
2428
|
},
|
|
2720
2429
|
{
|
|
2721
2430
|
"kind": "variable",
|
|
2722
|
-
"name": "
|
|
2723
|
-
"type": {
|
|
2724
|
-
"text": "['error', 'sending', 'sent']"
|
|
2725
|
-
},
|
|
2726
|
-
"default": "['error', 'sending', 'sent']"
|
|
2727
|
-
},
|
|
2728
|
-
{
|
|
2729
|
-
"kind": "variable",
|
|
2730
|
-
"name": "CHAT_MESSAGE_TAG",
|
|
2431
|
+
"name": "CODE_WINDOW_TAG",
|
|
2731
2432
|
"type": {
|
|
2732
|
-
"text": "'ore-
|
|
2433
|
+
"text": "'ore-code-window'"
|
|
2733
2434
|
},
|
|
2734
|
-
"default": "'ore-
|
|
2735
|
-
"description": "A
|
|
2435
|
+
"default": "'ore-code-window'",
|
|
2436
|
+
"description": "A styled window chrome for code blocks and AI/MCP conversation flows.\n\nTwo variants:\n- `variant=\"code\"` (default): language badge + optional filename header.\n- `variant=\"chat\"`: traffic-light dots + title header."
|
|
2736
2437
|
},
|
|
2737
2438
|
{
|
|
2738
2439
|
"kind": "class",
|
|
2739
|
-
"name": "
|
|
2740
|
-
"tagName": "ore-
|
|
2440
|
+
"name": "OreCodeWindowElement",
|
|
2441
|
+
"tagName": "ore-code-window",
|
|
2741
2442
|
"customElement": true,
|
|
2742
|
-
"description": "A
|
|
2443
|
+
"description": "A styled window chrome for code blocks and AI/MCP conversation flows.\nTwo variants:\n- `variant=\"code\"` (default): language badge + optional filename header.\n- `variant=\"chat\"`: traffic-light dots + title header.",
|
|
2743
2444
|
"summary": "",
|
|
2744
2445
|
"attributes": [
|
|
2745
2446
|
{
|
|
2746
|
-
"name": "
|
|
2447
|
+
"name": "variant",
|
|
2747
2448
|
"type": {
|
|
2748
|
-
"text": "'
|
|
2449
|
+
"text": "'code'|'chat'"
|
|
2749
2450
|
},
|
|
2750
|
-
"description": "
|
|
2451
|
+
"description": "Window style variant"
|
|
2751
2452
|
},
|
|
2752
2453
|
{
|
|
2753
|
-
"name": "
|
|
2454
|
+
"name": "lang",
|
|
2754
2455
|
"type": {
|
|
2755
2456
|
"text": "string"
|
|
2756
2457
|
},
|
|
2757
|
-
"description": "
|
|
2458
|
+
"description": "Language badge label (variant=\"code\" only)"
|
|
2758
2459
|
},
|
|
2759
2460
|
{
|
|
2760
|
-
"name": "
|
|
2461
|
+
"name": "filename",
|
|
2761
2462
|
"type": {
|
|
2762
2463
|
"text": "string"
|
|
2763
2464
|
},
|
|
2764
|
-
"description": "
|
|
2765
|
-
},
|
|
2766
|
-
{
|
|
2767
|
-
"name": "status",
|
|
2768
|
-
"type": {
|
|
2769
|
-
"text": "'sending' | 'sent' | 'error'"
|
|
2770
|
-
},
|
|
2771
|
-
"description": "Delivery status: 'sending' | 'sent' | 'error'"
|
|
2465
|
+
"description": "Filename shown next to the badge (variant=\"code\" only)"
|
|
2772
2466
|
},
|
|
2773
2467
|
{
|
|
2774
|
-
"name": "
|
|
2468
|
+
"name": "title",
|
|
2775
2469
|
"type": {
|
|
2776
2470
|
"text": "string"
|
|
2777
2471
|
},
|
|
2778
|
-
"description": "
|
|
2779
|
-
},
|
|
2780
|
-
{
|
|
2781
|
-
"name": "streaming",
|
|
2782
|
-
"type": {
|
|
2783
|
-
"text": "boolean"
|
|
2784
|
-
},
|
|
2785
|
-
"description": "Append a blinking cursor after the content"
|
|
2786
|
-
}
|
|
2787
|
-
],
|
|
2788
|
-
"events": [
|
|
2789
|
-
{
|
|
2790
|
-
"name": "retry",
|
|
2791
|
-
"description": "Fired when the retry action is activated. detail: { originalEvent }",
|
|
2792
|
-
"type": {
|
|
2793
|
-
"text": "CustomEvent"
|
|
2794
|
-
}
|
|
2472
|
+
"description": "Label beside the dots (variant=\"chat\" only)"
|
|
2795
2473
|
}
|
|
2796
2474
|
],
|
|
2797
2475
|
"slots": [
|
|
2798
2476
|
{
|
|
2799
2477
|
"name": "",
|
|
2800
|
-
"description": "
|
|
2801
|
-
},
|
|
2802
|
-
{
|
|
2803
|
-
"name": "avatar",
|
|
2804
|
-
"description": "Avatar element (e.g. `<ore-avatar>`)"
|
|
2478
|
+
"description": "Main body content (code, conversation turns, or any markup)"
|
|
2805
2479
|
},
|
|
2806
2480
|
{
|
|
2807
|
-
"name": "
|
|
2808
|
-
"description": "
|
|
2481
|
+
"name": "header-end",
|
|
2482
|
+
"description": "Optional content appended to the trailing edge of the header"
|
|
2809
2483
|
}
|
|
2810
2484
|
],
|
|
2811
2485
|
"cssParts": [
|
|
2812
2486
|
{
|
|
2813
|
-
"name": "
|
|
2814
|
-
"description": "
|
|
2815
|
-
},
|
|
2816
|
-
{
|
|
2817
|
-
"name": "avatar",
|
|
2818
|
-
"description": "Avatar slot container"
|
|
2819
|
-
},
|
|
2820
|
-
{
|
|
2821
|
-
"name": "column",
|
|
2822
|
-
"description": "Column containing name, bubble, meta, and actions"
|
|
2823
|
-
},
|
|
2824
|
-
{
|
|
2825
|
-
"name": "name",
|
|
2826
|
-
"description": "Sender display name"
|
|
2827
|
-
},
|
|
2828
|
-
{
|
|
2829
|
-
"name": "bubble",
|
|
2830
|
-
"description": "Message bubble container"
|
|
2831
|
-
},
|
|
2832
|
-
{
|
|
2833
|
-
"name": "content",
|
|
2834
|
-
"description": "Content container inside the bubble"
|
|
2835
|
-
},
|
|
2836
|
-
{
|
|
2837
|
-
"name": "cursor",
|
|
2838
|
-
"description": "Blinking streaming cursor"
|
|
2487
|
+
"name": "window",
|
|
2488
|
+
"description": "The root window element"
|
|
2839
2489
|
},
|
|
2840
2490
|
{
|
|
2841
|
-
"name": "
|
|
2842
|
-
"description": "
|
|
2491
|
+
"name": "header",
|
|
2492
|
+
"description": "The header bar"
|
|
2843
2493
|
},
|
|
2844
2494
|
{
|
|
2845
|
-
"name": "
|
|
2846
|
-
"description": "
|
|
2495
|
+
"name": "lang",
|
|
2496
|
+
"description": "The language badge (`variant=\"code\"`)"
|
|
2847
2497
|
},
|
|
2848
2498
|
{
|
|
2849
|
-
"name": "
|
|
2850
|
-
"description": "
|
|
2499
|
+
"name": "filename",
|
|
2500
|
+
"description": "The filename label (`variant=\"code\"`)"
|
|
2851
2501
|
},
|
|
2852
2502
|
{
|
|
2853
|
-
"name": "
|
|
2854
|
-
"description": "
|
|
2503
|
+
"name": "dots",
|
|
2504
|
+
"description": "The traffic-light dot container (`variant=\"chat\"`)"
|
|
2855
2505
|
},
|
|
2856
2506
|
{
|
|
2857
|
-
"name": "
|
|
2858
|
-
"description": "
|
|
2507
|
+
"name": "title",
|
|
2508
|
+
"description": "The title label (`variant=\"chat\"`)"
|
|
2859
2509
|
},
|
|
2860
2510
|
{
|
|
2861
|
-
"name": "
|
|
2862
|
-
"description": "
|
|
2511
|
+
"name": "body",
|
|
2512
|
+
"description": "The body container wrapping the default slot"
|
|
2863
2513
|
}
|
|
2864
2514
|
],
|
|
2865
2515
|
"cssProperties": [
|
|
2866
2516
|
{
|
|
2867
|
-
"name": "--
|
|
2868
|
-
"description": "
|
|
2517
|
+
"name": "--code-window-bg",
|
|
2518
|
+
"description": "Window background color"
|
|
2869
2519
|
},
|
|
2870
2520
|
{
|
|
2871
|
-
"name": "--
|
|
2872
|
-
"description": "
|
|
2521
|
+
"name": "--code-window-header-bg",
|
|
2522
|
+
"description": "Header background color"
|
|
2873
2523
|
},
|
|
2874
2524
|
{
|
|
2875
|
-
"name": "--
|
|
2876
|
-
"description": "
|
|
2525
|
+
"name": "--code-window-border-color",
|
|
2526
|
+
"description": "Border color"
|
|
2877
2527
|
},
|
|
2878
2528
|
{
|
|
2879
|
-
"name": "--
|
|
2880
|
-
"description": "
|
|
2529
|
+
"name": "--code-window-radius",
|
|
2530
|
+
"description": "Border radius"
|
|
2881
2531
|
},
|
|
2882
2532
|
{
|
|
2883
|
-
"name": "--
|
|
2884
|
-
"description": "
|
|
2533
|
+
"name": "--code-window-shadow",
|
|
2534
|
+
"description": "Box shadow"
|
|
2885
2535
|
},
|
|
2886
2536
|
{
|
|
2887
|
-
"name": "--
|
|
2888
|
-
"description": "
|
|
2537
|
+
"name": "--code-window-body-padding",
|
|
2538
|
+
"description": "Body slot padding"
|
|
2889
2539
|
}
|
|
2890
2540
|
],
|
|
2891
2541
|
"demos": [
|
|
2892
2542
|
{
|
|
2893
2543
|
"url": "",
|
|
2894
|
-
"description": "```html\n<ore-
|
|
2544
|
+
"description": "```html\n<ore-code-window lang=\"ts\" filename=\"app.ts\">\n <pre>const x = 1;</pre>\n</ore-code-window>\n<ore-code-window variant=\"chat\" title=\"MCP tool call\">\n <!-- conversation turns go here -->\n</ore-code-window>\n```"
|
|
2895
2545
|
}
|
|
2896
2546
|
]
|
|
2897
2547
|
},
|
|
2898
2548
|
{
|
|
2899
2549
|
"kind": "variable",
|
|
2900
|
-
"name": "
|
|
2550
|
+
"name": "COPY_COMMAND_TAG",
|
|
2901
2551
|
"type": {
|
|
2902
|
-
"text": "'ore-
|
|
2552
|
+
"text": "'ore-copy-command'"
|
|
2903
2553
|
},
|
|
2904
|
-
"default": "'ore-
|
|
2905
|
-
"description": "A
|
|
2554
|
+
"default": "'ore-copy-command'",
|
|
2555
|
+
"description": "A styled, copy-to-clipboard command display component.\nShows a command string in a monospace code block with a copy button.\nClicking the component copies the value to the clipboard, shows a transient\ncheck-mark confirmation, and emits a `copy` event."
|
|
2906
2556
|
},
|
|
2907
2557
|
{
|
|
2908
2558
|
"kind": "class",
|
|
2909
|
-
"name": "
|
|
2910
|
-
"tagName": "ore-
|
|
2559
|
+
"name": "OreCopyCommandElement",
|
|
2560
|
+
"tagName": "ore-copy-command",
|
|
2911
2561
|
"customElement": true,
|
|
2912
|
-
"description": "A
|
|
2562
|
+
"description": "A styled, copy-to-clipboard command display component.\nShows a command string in a monospace code block with a copy button.\nClicking the component copies the value to the clipboard, shows a transient\ncheck-mark confirmation, and emits a `copy` event.",
|
|
2913
2563
|
"summary": "",
|
|
2914
2564
|
"attributes": [
|
|
2915
2565
|
{
|
|
2916
|
-
"name": "
|
|
2566
|
+
"name": "value",
|
|
2917
2567
|
"type": {
|
|
2918
2568
|
"text": "string"
|
|
2919
2569
|
},
|
|
2920
|
-
"description": "
|
|
2921
|
-
},
|
|
2922
|
-
{
|
|
2923
|
-
"name": "open",
|
|
2924
|
-
"type": {
|
|
2925
|
-
"text": "boolean"
|
|
2926
|
-
},
|
|
2927
|
-
"description": "Open state"
|
|
2928
|
-
},
|
|
2929
|
-
{
|
|
2930
|
-
"name": "initials",
|
|
2931
|
-
"type": {
|
|
2932
|
-
"text": "string"
|
|
2933
|
-
},
|
|
2934
|
-
"description": "Assistant avatar initials (default 'V')"
|
|
2935
|
-
},
|
|
2936
|
-
{
|
|
2937
|
-
"name": "maxlength",
|
|
2938
|
-
"type": {
|
|
2939
|
-
"text": "number"
|
|
2940
|
-
},
|
|
2941
|
-
"description": "Composer character limit (default 240)"
|
|
2942
|
-
}
|
|
2943
|
-
],
|
|
2944
|
-
"events": [
|
|
2945
|
-
{
|
|
2946
|
-
"name": "send",
|
|
2947
|
-
"description": "A send or suggestion was submitted. detail: { text }",
|
|
2948
|
-
"type": {
|
|
2949
|
-
"text": "CustomEvent"
|
|
2950
|
-
}
|
|
2951
|
-
},
|
|
2952
|
-
{
|
|
2953
|
-
"name": "action",
|
|
2954
|
-
"description": "A message action button was activated. detail: { payload }",
|
|
2955
|
-
"type": {
|
|
2956
|
-
"text": "CustomEvent"
|
|
2957
|
-
}
|
|
2958
|
-
},
|
|
2959
|
-
{
|
|
2960
|
-
"name": "reset",
|
|
2961
|
-
"description": "The transcript was cleared via Start over.",
|
|
2962
|
-
"type": {
|
|
2963
|
-
"text": "CustomEvent"
|
|
2964
|
-
}
|
|
2965
|
-
},
|
|
2966
|
-
{
|
|
2967
|
-
"name": "open-change",
|
|
2968
|
-
"description": "Open state changed. detail: { open, reason }",
|
|
2969
|
-
"type": {
|
|
2970
|
-
"text": "CustomEvent"
|
|
2971
|
-
}
|
|
2972
|
-
}
|
|
2973
|
-
],
|
|
2974
|
-
"slots": [
|
|
2975
|
-
{
|
|
2976
|
-
"name": "header",
|
|
2977
|
-
"description": "Replaces the default title/status header content"
|
|
2978
|
-
}
|
|
2979
|
-
],
|
|
2980
|
-
"cssParts": [
|
|
2981
|
-
{
|
|
2982
|
-
"name": "window",
|
|
2983
|
-
"description": "The fixed panel window"
|
|
2984
|
-
},
|
|
2985
|
-
{
|
|
2986
|
-
"name": "header",
|
|
2987
|
-
"description": "Header row"
|
|
2988
|
-
},
|
|
2989
|
-
{
|
|
2990
|
-
"name": "body",
|
|
2991
|
-
"description": "Scrollable transcript area"
|
|
2992
|
-
},
|
|
2993
|
-
{
|
|
2994
|
-
"name": "messages",
|
|
2995
|
-
"description": "Message list (role=log)"
|
|
2996
|
-
},
|
|
2997
|
-
{
|
|
2998
|
-
"name": "suggestions",
|
|
2999
|
-
"description": "Suggestion chips row"
|
|
3000
|
-
},
|
|
3001
|
-
{
|
|
3002
|
-
"name": "composer",
|
|
3003
|
-
"description": "Composer footer"
|
|
3004
|
-
}
|
|
3005
|
-
],
|
|
3006
|
-
"cssProperties": [
|
|
3007
|
-
{
|
|
3008
|
-
"name": "--chat-panel-width",
|
|
3009
|
-
"description": "Panel width (default min(420px, viewport-fit))"
|
|
3010
|
-
},
|
|
3011
|
-
{
|
|
3012
|
-
"name": "--chat-panel-height",
|
|
3013
|
-
"description": "Panel height (default min(640px, viewport-fit))"
|
|
3014
|
-
},
|
|
3015
|
-
{
|
|
3016
|
-
"name": "--chat-panel-inset",
|
|
3017
|
-
"description": "Distance from the viewport corner (default --size-6)"
|
|
3018
|
-
},
|
|
3019
|
-
{
|
|
3020
|
-
"name": "--chat-panel-z-index",
|
|
3021
|
-
"description": "Stacking order (default --z-fixed)"
|
|
3022
|
-
}
|
|
3023
|
-
],
|
|
3024
|
-
"demos": [
|
|
3025
|
-
{
|
|
3026
|
-
"url": "",
|
|
3027
|
-
"description": "```html\n<ore-chat-panel id=\"advisor\" label=\"Model advisor\"></ore-chat-panel>\n<script type=\"module\">\n import '@vielzeug/refine/chat-panel';\n const panel = document.getElementById('advisor');\n panel.messages = [{ sender: 'assistant', text: 'Hi! What can I help with?' }];\n panel.addEventListener('send', (event) => {\n panel.messages = [\n ...panel.messages,\n { sender: 'user', text: event.detail.text },\n { sender: 'assistant', text: 'Let me look into that.' },\n ];\n });\n panel.show();\n</script>\n```"
|
|
3028
|
-
}
|
|
3029
|
-
]
|
|
3030
|
-
},
|
|
3031
|
-
{
|
|
3032
|
-
"kind": "variable",
|
|
3033
|
-
"name": "CODE_WINDOW_TAG",
|
|
3034
|
-
"type": {
|
|
3035
|
-
"text": "'ore-code-window'"
|
|
3036
|
-
},
|
|
3037
|
-
"default": "'ore-code-window'",
|
|
3038
|
-
"description": "A styled window chrome for code blocks and AI/MCP conversation flows.\n\nTwo variants:\n- `variant=\"code\"` (default): language badge + optional filename header.\n- `variant=\"chat\"`: traffic-light dots + title header."
|
|
3039
|
-
},
|
|
3040
|
-
{
|
|
3041
|
-
"kind": "class",
|
|
3042
|
-
"name": "OreCodeWindowElement",
|
|
3043
|
-
"tagName": "ore-code-window",
|
|
3044
|
-
"customElement": true,
|
|
3045
|
-
"description": "A styled window chrome for code blocks and AI/MCP conversation flows.\nTwo variants:\n- `variant=\"code\"` (default): language badge + optional filename header.\n- `variant=\"chat\"`: traffic-light dots + title header.",
|
|
3046
|
-
"summary": "",
|
|
3047
|
-
"attributes": [
|
|
3048
|
-
{
|
|
3049
|
-
"name": "variant",
|
|
3050
|
-
"type": {
|
|
3051
|
-
"text": "'code'|'chat'"
|
|
3052
|
-
},
|
|
3053
|
-
"description": "Window style variant"
|
|
3054
|
-
},
|
|
3055
|
-
{
|
|
3056
|
-
"name": "lang",
|
|
3057
|
-
"type": {
|
|
3058
|
-
"text": "string"
|
|
3059
|
-
},
|
|
3060
|
-
"description": "Language badge label (variant=\"code\" only)"
|
|
3061
|
-
},
|
|
3062
|
-
{
|
|
3063
|
-
"name": "filename",
|
|
3064
|
-
"type": {
|
|
3065
|
-
"text": "string"
|
|
3066
|
-
},
|
|
3067
|
-
"description": "Filename shown next to the badge (variant=\"code\" only)"
|
|
3068
|
-
},
|
|
3069
|
-
{
|
|
3070
|
-
"name": "title",
|
|
3071
|
-
"type": {
|
|
3072
|
-
"text": "string"
|
|
3073
|
-
},
|
|
3074
|
-
"description": "Label beside the dots (variant=\"chat\" only)"
|
|
3075
|
-
}
|
|
3076
|
-
],
|
|
3077
|
-
"slots": [
|
|
3078
|
-
{
|
|
3079
|
-
"name": "",
|
|
3080
|
-
"description": "Main body content (code, conversation turns, or any markup)"
|
|
3081
|
-
},
|
|
3082
|
-
{
|
|
3083
|
-
"name": "header-end",
|
|
3084
|
-
"description": "Optional content appended to the trailing edge of the header"
|
|
3085
|
-
}
|
|
3086
|
-
],
|
|
3087
|
-
"cssParts": [
|
|
3088
|
-
{
|
|
3089
|
-
"name": "window",
|
|
3090
|
-
"description": "The root window element"
|
|
3091
|
-
},
|
|
3092
|
-
{
|
|
3093
|
-
"name": "header",
|
|
3094
|
-
"description": "The header bar"
|
|
3095
|
-
},
|
|
3096
|
-
{
|
|
3097
|
-
"name": "lang",
|
|
3098
|
-
"description": "The language badge (`variant=\"code\"`)"
|
|
3099
|
-
},
|
|
3100
|
-
{
|
|
3101
|
-
"name": "filename",
|
|
3102
|
-
"description": "The filename label (`variant=\"code\"`)"
|
|
3103
|
-
},
|
|
3104
|
-
{
|
|
3105
|
-
"name": "dots",
|
|
3106
|
-
"description": "The traffic-light dot container (`variant=\"chat\"`)"
|
|
3107
|
-
},
|
|
3108
|
-
{
|
|
3109
|
-
"name": "title",
|
|
3110
|
-
"description": "The title label (`variant=\"chat\"`)"
|
|
3111
|
-
},
|
|
3112
|
-
{
|
|
3113
|
-
"name": "body",
|
|
3114
|
-
"description": "The body container wrapping the default slot"
|
|
3115
|
-
}
|
|
3116
|
-
],
|
|
3117
|
-
"cssProperties": [
|
|
3118
|
-
{
|
|
3119
|
-
"name": "--code-window-bg",
|
|
3120
|
-
"description": "Window background color"
|
|
3121
|
-
},
|
|
3122
|
-
{
|
|
3123
|
-
"name": "--code-window-header-bg",
|
|
3124
|
-
"description": "Header background color"
|
|
3125
|
-
},
|
|
3126
|
-
{
|
|
3127
|
-
"name": "--code-window-border-color",
|
|
3128
|
-
"description": "Border color"
|
|
3129
|
-
},
|
|
3130
|
-
{
|
|
3131
|
-
"name": "--code-window-radius",
|
|
3132
|
-
"description": "Border radius"
|
|
3133
|
-
},
|
|
3134
|
-
{
|
|
3135
|
-
"name": "--code-window-shadow",
|
|
3136
|
-
"description": "Box shadow"
|
|
3137
|
-
},
|
|
3138
|
-
{
|
|
3139
|
-
"name": "--code-window-body-padding",
|
|
3140
|
-
"description": "Body slot padding"
|
|
3141
|
-
}
|
|
3142
|
-
],
|
|
3143
|
-
"demos": [
|
|
3144
|
-
{
|
|
3145
|
-
"url": "",
|
|
3146
|
-
"description": "```html\n<ore-code-window lang=\"ts\" filename=\"app.ts\">\n <pre>const x = 1;</pre>\n</ore-code-window>\n<ore-code-window variant=\"chat\" title=\"MCP tool call\">\n <!-- conversation turns go here -->\n</ore-code-window>\n```"
|
|
3147
|
-
}
|
|
3148
|
-
]
|
|
3149
|
-
},
|
|
3150
|
-
{
|
|
3151
|
-
"kind": "variable",
|
|
3152
|
-
"name": "COPY_COMMAND_TAG",
|
|
3153
|
-
"type": {
|
|
3154
|
-
"text": "'ore-copy-command'"
|
|
3155
|
-
},
|
|
3156
|
-
"default": "'ore-copy-command'",
|
|
3157
|
-
"description": "A styled, copy-to-clipboard command display component.\nShows a command string in a monospace code block with a copy button.\nClicking the component copies the value to the clipboard, shows a transient\ncheck-mark confirmation, and emits a `copy` event."
|
|
3158
|
-
},
|
|
3159
|
-
{
|
|
3160
|
-
"kind": "class",
|
|
3161
|
-
"name": "OreCopyCommandElement",
|
|
3162
|
-
"tagName": "ore-copy-command",
|
|
3163
|
-
"customElement": true,
|
|
3164
|
-
"description": "A styled, copy-to-clipboard command display component.\nShows a command string in a monospace code block with a copy button.\nClicking the component copies the value to the clipboard, shows a transient\ncheck-mark confirmation, and emits a `copy` event.",
|
|
3165
|
-
"summary": "",
|
|
3166
|
-
"attributes": [
|
|
3167
|
-
{
|
|
3168
|
-
"name": "value",
|
|
3169
|
-
"type": {
|
|
3170
|
-
"text": "string"
|
|
3171
|
-
},
|
|
3172
|
-
"description": "The command string to display and copy"
|
|
2570
|
+
"description": "The command string to display and copy"
|
|
3173
2571
|
},
|
|
3174
2572
|
{
|
|
3175
2573
|
"name": "size",
|
|
@@ -5071,192 +4469,794 @@
|
|
|
5071
4469
|
"description": "Generated native `<tfoot>` section"
|
|
5072
4470
|
},
|
|
5073
4471
|
{
|
|
5074
|
-
"name": "cell",
|
|
5075
|
-
"description": "Every native `<td>` in `<tbody>` rows"
|
|
4472
|
+
"name": "cell",
|
|
4473
|
+
"description": "Every native `<td>` in `<tbody>` rows"
|
|
4474
|
+
},
|
|
4475
|
+
{
|
|
4476
|
+
"name": "header-cell",
|
|
4477
|
+
"description": "Every native `<th>` / `<td>` in `<thead>` and `<tfoot>` rows"
|
|
4478
|
+
}
|
|
4479
|
+
],
|
|
4480
|
+
"cssProperties": [
|
|
4481
|
+
{
|
|
4482
|
+
"name": "--table-bg",
|
|
4483
|
+
"description": "Table background color"
|
|
4484
|
+
},
|
|
4485
|
+
{
|
|
4486
|
+
"name": "--table-border-color",
|
|
4487
|
+
"description": "Cell separator and outer border color"
|
|
4488
|
+
},
|
|
4489
|
+
{
|
|
4490
|
+
"name": "--table-radius",
|
|
4491
|
+
"description": "Corner radius of the table container"
|
|
4492
|
+
},
|
|
4493
|
+
{
|
|
4494
|
+
"name": "--table-shadow",
|
|
4495
|
+
"description": "Box shadow of the table container"
|
|
4496
|
+
},
|
|
4497
|
+
{
|
|
4498
|
+
"name": "--table-header-bg",
|
|
4499
|
+
"description": "Background of header and footer rows"
|
|
4500
|
+
},
|
|
4501
|
+
{
|
|
4502
|
+
"name": "--table-accent",
|
|
4503
|
+
"description": "Accent color for interactive states"
|
|
4504
|
+
},
|
|
4505
|
+
{
|
|
4506
|
+
"name": "--table-row-hover-bg",
|
|
4507
|
+
"description": "Row hover background"
|
|
4508
|
+
},
|
|
4509
|
+
{
|
|
4510
|
+
"name": "--table-stripe-bg",
|
|
4511
|
+
"description": "Even-row stripe background"
|
|
4512
|
+
},
|
|
4513
|
+
{
|
|
4514
|
+
"name": "--table-cell-padding-x",
|
|
4515
|
+
"description": "Cell horizontal padding"
|
|
4516
|
+
},
|
|
4517
|
+
{
|
|
4518
|
+
"name": "--table-cell-padding-y",
|
|
4519
|
+
"description": "Cell vertical padding"
|
|
4520
|
+
},
|
|
4521
|
+
{
|
|
4522
|
+
"name": "--table-font-size",
|
|
4523
|
+
"description": "Base font size for cells"
|
|
4524
|
+
},
|
|
4525
|
+
{
|
|
4526
|
+
"name": "--table-sticky-max-height",
|
|
4527
|
+
"description": "Max height of the sticky scroll container"
|
|
4528
|
+
},
|
|
4529
|
+
{
|
|
4530
|
+
"name": "--table-sticky-header-bg",
|
|
4531
|
+
"description": "Background of sticky header cells"
|
|
4532
|
+
},
|
|
4533
|
+
{
|
|
4534
|
+
"name": "--table-sticky-blur",
|
|
4535
|
+
"description": "Backdrop blur applied to sticky headers"
|
|
4536
|
+
}
|
|
4537
|
+
],
|
|
4538
|
+
"demos": [
|
|
4539
|
+
{
|
|
4540
|
+
"url": "",
|
|
4541
|
+
"description": "```html\n<ore-table caption=\"Top repositories\" striped bordered sticky>\n <ore-tr head>\n <ore-th>Repository</ore-th>\n <ore-th>Stars</ore-th>\n </ore-tr>\n <ore-tr>\n <ore-td>vielzeug/refine</ore-td>\n <ore-td>1 200</ore-td>\n </ore-tr>\n</ore-table>\n```"
|
|
4542
|
+
}
|
|
4543
|
+
]
|
|
4544
|
+
},
|
|
4545
|
+
{
|
|
4546
|
+
"kind": "variable",
|
|
4547
|
+
"name": "TEXT_TAG",
|
|
4548
|
+
"type": {
|
|
4549
|
+
"text": "'ore-text'"
|
|
4550
|
+
},
|
|
4551
|
+
"default": "'ore-text'",
|
|
4552
|
+
"description": "A typography component with semantic variants and responsive sizing."
|
|
4553
|
+
},
|
|
4554
|
+
{
|
|
4555
|
+
"kind": "class",
|
|
4556
|
+
"name": "OreTextElement",
|
|
4557
|
+
"tagName": "ore-text",
|
|
4558
|
+
"customElement": true,
|
|
4559
|
+
"description": "A typography component with semantic variants and responsive sizing.",
|
|
4560
|
+
"summary": "",
|
|
4561
|
+
"attributes": [
|
|
4562
|
+
{
|
|
4563
|
+
"name": "variant",
|
|
4564
|
+
"type": {
|
|
4565
|
+
"text": "'body' | 'heading' | 'label' | 'caption' | 'overline' | 'code'"
|
|
4566
|
+
},
|
|
4567
|
+
"description": "Text variant: 'body' | 'heading' | 'label' | 'caption' | 'overline' | 'code'"
|
|
4568
|
+
},
|
|
4569
|
+
{
|
|
4570
|
+
"name": "size",
|
|
4571
|
+
"type": {
|
|
4572
|
+
"text": "'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'"
|
|
4573
|
+
},
|
|
4574
|
+
"description": "Font size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'. Maps to --text-* tokens for body variants and --heading-* tokens for the heading variant."
|
|
4575
|
+
},
|
|
4576
|
+
{
|
|
4577
|
+
"name": "weight",
|
|
4578
|
+
"type": {
|
|
4579
|
+
"text": "'normal' | 'medium' | 'semibold' | 'bold'"
|
|
4580
|
+
},
|
|
4581
|
+
"description": "Font weight: 'normal' | 'medium' | 'semibold' | 'bold'"
|
|
4582
|
+
},
|
|
4583
|
+
{
|
|
4584
|
+
"name": "color",
|
|
4585
|
+
"type": {
|
|
4586
|
+
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'heading' | 'body' | 'muted' | 'tertiary' | 'disabled' | 'contrast'"
|
|
4587
|
+
},
|
|
4588
|
+
"description": "Text color: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error' | 'heading' | 'body' | 'muted' | 'tertiary' | 'disabled' | 'contrast'"
|
|
4589
|
+
},
|
|
4590
|
+
{
|
|
4591
|
+
"name": "align",
|
|
4592
|
+
"type": {
|
|
4593
|
+
"text": "'left' | 'center' | 'right' | 'justify'"
|
|
4594
|
+
},
|
|
4595
|
+
"description": "Text alignment: 'left' | 'center' | 'right' | 'justify'"
|
|
4596
|
+
},
|
|
4597
|
+
{
|
|
4598
|
+
"name": "truncate",
|
|
4599
|
+
"type": {
|
|
4600
|
+
"text": "boolean"
|
|
4601
|
+
},
|
|
4602
|
+
"description": "Truncate text with ellipsis when it overflows (single-line)"
|
|
4603
|
+
},
|
|
4604
|
+
{
|
|
4605
|
+
"name": "lines",
|
|
4606
|
+
"type": {
|
|
4607
|
+
"text": "number"
|
|
4608
|
+
},
|
|
4609
|
+
"description": "Clamp to N lines with ellipsis (multi-line truncation)"
|
|
4610
|
+
},
|
|
4611
|
+
{
|
|
4612
|
+
"name": "italic",
|
|
4613
|
+
"type": {
|
|
4614
|
+
"text": "boolean"
|
|
4615
|
+
},
|
|
4616
|
+
"description": "Italic text style"
|
|
4617
|
+
},
|
|
4618
|
+
{
|
|
4619
|
+
"name": "as",
|
|
4620
|
+
"type": {
|
|
4621
|
+
"text": "'span' | 'p' | 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'label' | 'code'"
|
|
4622
|
+
},
|
|
4623
|
+
"description": "Semantic HTML element: 'span' | 'p' | 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'label' | 'code'"
|
|
4624
|
+
}
|
|
4625
|
+
],
|
|
4626
|
+
"slots": [
|
|
4627
|
+
{
|
|
4628
|
+
"name": "",
|
|
4629
|
+
"description": "Text content"
|
|
4630
|
+
}
|
|
4631
|
+
],
|
|
4632
|
+
"cssProperties": [
|
|
4633
|
+
{
|
|
4634
|
+
"name": "--text-size",
|
|
4635
|
+
"description": "Font size"
|
|
4636
|
+
},
|
|
4637
|
+
{
|
|
4638
|
+
"name": "--text-weight",
|
|
4639
|
+
"description": "Font weight"
|
|
4640
|
+
},
|
|
4641
|
+
{
|
|
4642
|
+
"name": "--text-color",
|
|
4643
|
+
"description": "Text color"
|
|
4644
|
+
},
|
|
4645
|
+
{
|
|
4646
|
+
"name": "--text-line-height",
|
|
4647
|
+
"description": "Line height"
|
|
4648
|
+
},
|
|
4649
|
+
{
|
|
4650
|
+
"name": "--text-letter-spacing",
|
|
4651
|
+
"description": "Letter spacing"
|
|
4652
|
+
}
|
|
4653
|
+
],
|
|
4654
|
+
"demos": [
|
|
4655
|
+
{
|
|
4656
|
+
"url": "",
|
|
4657
|
+
"description": "```html\n<ore-text variant=\"heading\" size=\"2xl\" weight=\"bold\">Welcome</ore-text>\n<ore-text as=\"h2\" variant=\"heading\" size=\"xl\">Section title</ore-text>\n<ore-text color=\"primary\" weight=\"semibold\">Important notice</ore-text>\n<ore-text variant=\"code\">npm install</ore-text>\n<ore-text lines=\"2\">Long paragraph that clamps at two lines…</ore-text>\n```"
|
|
4658
|
+
}
|
|
4659
|
+
]
|
|
4660
|
+
},
|
|
4661
|
+
{
|
|
4662
|
+
"kind": "variable",
|
|
4663
|
+
"name": "ACCORDION_CTX",
|
|
4664
|
+
"description": "Injection key for the accordion context."
|
|
4665
|
+
},
|
|
4666
|
+
{
|
|
4667
|
+
"kind": "variable",
|
|
4668
|
+
"name": "ACCORDION_TAG",
|
|
4669
|
+
"type": {
|
|
4670
|
+
"text": "'ore-accordion'"
|
|
4671
|
+
},
|
|
4672
|
+
"default": "'ore-accordion'",
|
|
4673
|
+
"description": "A container for accordion items with single or multiple selection modes."
|
|
4674
|
+
},
|
|
4675
|
+
{
|
|
4676
|
+
"kind": "class",
|
|
4677
|
+
"name": "OreAccordionElement",
|
|
4678
|
+
"tagName": "ore-accordion",
|
|
4679
|
+
"customElement": true,
|
|
4680
|
+
"description": "A container for accordion items with single or multiple selection modes.",
|
|
4681
|
+
"summary": "",
|
|
4682
|
+
"attributes": [
|
|
4683
|
+
{
|
|
4684
|
+
"name": "selection-mode",
|
|
4685
|
+
"type": {
|
|
4686
|
+
"text": "'single' | 'multiple'"
|
|
4687
|
+
},
|
|
4688
|
+
"description": "Selection mode: 'single' | 'multiple'"
|
|
4689
|
+
},
|
|
4690
|
+
{
|
|
4691
|
+
"name": "size",
|
|
4692
|
+
"type": {
|
|
4693
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
4694
|
+
},
|
|
4695
|
+
"description": "Size for all items: 'sm' | 'md' | 'lg' (propagated to children)"
|
|
4696
|
+
},
|
|
4697
|
+
{
|
|
4698
|
+
"name": "variant",
|
|
4699
|
+
"type": {
|
|
4700
|
+
"text": "'solid' | 'flat' | 'bordered' | 'text' | 'frost'"
|
|
4701
|
+
},
|
|
4702
|
+
"description": "Visual variant: 'solid' | 'flat' | 'bordered' | 'text' | 'frost' (propagated to children)"
|
|
4703
|
+
}
|
|
4704
|
+
],
|
|
4705
|
+
"events": [
|
|
4706
|
+
{
|
|
4707
|
+
"name": "expand",
|
|
4708
|
+
"description": "Emitted when an item expands. detail: { expanded: boolean; item: HTMLElement }",
|
|
4709
|
+
"type": {
|
|
4710
|
+
"text": "CustomEvent"
|
|
4711
|
+
}
|
|
4712
|
+
},
|
|
4713
|
+
{
|
|
4714
|
+
"name": "change",
|
|
4715
|
+
"description": "Emitted when selection changes (single mode). detail: { expandedItem: HTMLElement }",
|
|
4716
|
+
"type": {
|
|
4717
|
+
"text": "CustomEvent"
|
|
4718
|
+
}
|
|
4719
|
+
}
|
|
4720
|
+
],
|
|
4721
|
+
"slots": [
|
|
4722
|
+
{
|
|
4723
|
+
"name": "",
|
|
4724
|
+
"description": "`ore-accordion-item` elements"
|
|
4725
|
+
}
|
|
4726
|
+
],
|
|
4727
|
+
"cssProperties": [
|
|
4728
|
+
{
|
|
4729
|
+
"name": "--accordion-bg",
|
|
4730
|
+
"description": "Container background color (solid/flat/frost variants)"
|
|
4731
|
+
},
|
|
4732
|
+
{
|
|
4733
|
+
"name": "--accordion-border-color",
|
|
4734
|
+
"description": "Container border color (solid/flat variants)"
|
|
4735
|
+
},
|
|
4736
|
+
{
|
|
4737
|
+
"name": "--accordion-divider-color",
|
|
4738
|
+
"description": "Divider color between items (text variant)"
|
|
4739
|
+
},
|
|
4740
|
+
{
|
|
4741
|
+
"name": "--accordion-shadow",
|
|
4742
|
+
"description": "Container box shadow"
|
|
4743
|
+
}
|
|
4744
|
+
],
|
|
4745
|
+
"demos": [
|
|
4746
|
+
{
|
|
4747
|
+
"url": "",
|
|
4748
|
+
"description": "```html\n<ore-accordion selection-mode=\"single\">\n <ore-accordion-item>\n <span slot=\"title\">What is Refine?</span>\n <p>Refine is a headless web component library.</p>\n </ore-accordion-item>\n <ore-accordion-item>\n <span slot=\"title\">How do I install it?</span>\n <p>Run <code>npm install @vielzeug/refine</code>.</p>\n </ore-accordion-item>\n</ore-accordion>\n<ore-accordion variant=\"bordered\" selection-mode=\"multiple\">\n <ore-accordion-item expanded><span slot=\"title\">Open by default</span><p>Content</p></ore-accordion-item>\n</ore-accordion>\n```"
|
|
4749
|
+
}
|
|
4750
|
+
]
|
|
4751
|
+
},
|
|
4752
|
+
{
|
|
4753
|
+
"kind": "variable",
|
|
4754
|
+
"name": "ACCORDION_ITEM_TAG",
|
|
4755
|
+
"type": {
|
|
4756
|
+
"text": "'ore-accordion-item'"
|
|
4757
|
+
},
|
|
4758
|
+
"default": "'ore-accordion-item'",
|
|
4759
|
+
"description": "An individual accordion item with expand/collapse functionality using native details/summary."
|
|
4760
|
+
},
|
|
4761
|
+
{
|
|
4762
|
+
"kind": "class",
|
|
4763
|
+
"name": "OreAccordionItemElement",
|
|
4764
|
+
"tagName": "ore-accordion-item",
|
|
4765
|
+
"customElement": true,
|
|
4766
|
+
"description": "An individual accordion item with expand/collapse functionality using native details/summary.",
|
|
4767
|
+
"summary": "",
|
|
4768
|
+
"attributes": [
|
|
4769
|
+
{
|
|
4770
|
+
"name": "expanded",
|
|
4771
|
+
"type": {
|
|
4772
|
+
"text": "boolean"
|
|
4773
|
+
},
|
|
4774
|
+
"description": "Whether the item is expanded/open"
|
|
4775
|
+
},
|
|
4776
|
+
{
|
|
4777
|
+
"name": "disabled",
|
|
4778
|
+
"type": {
|
|
4779
|
+
"text": "boolean"
|
|
4780
|
+
},
|
|
4781
|
+
"description": "Disable accordion item interaction"
|
|
4782
|
+
},
|
|
4783
|
+
{
|
|
4784
|
+
"name": "size",
|
|
4785
|
+
"type": {
|
|
4786
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
4787
|
+
},
|
|
4788
|
+
"description": "Item size: 'sm' | 'md' | 'lg'"
|
|
4789
|
+
},
|
|
4790
|
+
{
|
|
4791
|
+
"name": "variant",
|
|
4792
|
+
"type": {
|
|
4793
|
+
"text": "'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'text' | 'frost'"
|
|
4794
|
+
},
|
|
4795
|
+
"description": "Visual variant: 'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'text' | 'frost'"
|
|
4796
|
+
}
|
|
4797
|
+
],
|
|
4798
|
+
"events": [
|
|
4799
|
+
{
|
|
4800
|
+
"name": "expand",
|
|
4801
|
+
"description": "Emitted when item expands. detail: { expanded: boolean; item: HTMLElement }",
|
|
4802
|
+
"type": {
|
|
4803
|
+
"text": "CustomEvent"
|
|
4804
|
+
}
|
|
4805
|
+
},
|
|
4806
|
+
{
|
|
4807
|
+
"name": "collapse",
|
|
4808
|
+
"description": "Emitted when item collapses. detail: { expanded: boolean; item: HTMLElement }",
|
|
4809
|
+
"type": {
|
|
4810
|
+
"text": "CustomEvent"
|
|
4811
|
+
}
|
|
4812
|
+
}
|
|
4813
|
+
],
|
|
4814
|
+
"slots": [
|
|
4815
|
+
{
|
|
4816
|
+
"name": "prefix",
|
|
4817
|
+
"description": "Content before the title (e.g., icons)"
|
|
4818
|
+
},
|
|
4819
|
+
{
|
|
4820
|
+
"name": "title",
|
|
4821
|
+
"description": "Main accordion item title"
|
|
4822
|
+
},
|
|
4823
|
+
{
|
|
4824
|
+
"name": "subtitle",
|
|
4825
|
+
"description": "Optional subtitle text"
|
|
4826
|
+
},
|
|
4827
|
+
{
|
|
4828
|
+
"name": "suffix",
|
|
4829
|
+
"description": "Content after the title (e.g., badges)"
|
|
4830
|
+
},
|
|
4831
|
+
{
|
|
4832
|
+
"name": "",
|
|
4833
|
+
"description": "Accordion item content (shown when expanded)"
|
|
4834
|
+
}
|
|
4835
|
+
],
|
|
4836
|
+
"cssParts": [
|
|
4837
|
+
{
|
|
4838
|
+
"name": "item",
|
|
4839
|
+
"description": "Item root element."
|
|
4840
|
+
},
|
|
4841
|
+
{
|
|
4842
|
+
"name": "summary",
|
|
4843
|
+
"description": "Summary trigger row."
|
|
4844
|
+
},
|
|
4845
|
+
{
|
|
4846
|
+
"name": "header",
|
|
4847
|
+
"description": "Header container."
|
|
4848
|
+
},
|
|
4849
|
+
{
|
|
4850
|
+
"name": "title",
|
|
4851
|
+
"description": "Title text element."
|
|
4852
|
+
},
|
|
4853
|
+
{
|
|
4854
|
+
"name": "subtitle",
|
|
4855
|
+
"description": "Subtitle text element."
|
|
4856
|
+
},
|
|
4857
|
+
{
|
|
4858
|
+
"name": "content",
|
|
4859
|
+
"description": "Content container."
|
|
4860
|
+
}
|
|
4861
|
+
],
|
|
4862
|
+
"cssProperties": [
|
|
4863
|
+
{
|
|
4864
|
+
"name": "--accordion-item-bg",
|
|
4865
|
+
"description": "Background color"
|
|
4866
|
+
},
|
|
4867
|
+
{
|
|
4868
|
+
"name": "--accordion-item-hover-bg",
|
|
4869
|
+
"description": "Background color on hover"
|
|
4870
|
+
},
|
|
4871
|
+
{
|
|
4872
|
+
"name": "--accordion-item-border-color",
|
|
4873
|
+
"description": "Border color"
|
|
4874
|
+
},
|
|
4875
|
+
{
|
|
4876
|
+
"name": "--accordion-item-title-color",
|
|
4877
|
+
"description": "Title text color"
|
|
4878
|
+
},
|
|
4879
|
+
{
|
|
4880
|
+
"name": "--accordion-item-subtitle-color",
|
|
4881
|
+
"description": "Subtitle text color"
|
|
4882
|
+
},
|
|
4883
|
+
{
|
|
4884
|
+
"name": "--accordion-item-body-color",
|
|
4885
|
+
"description": "Body text color"
|
|
4886
|
+
},
|
|
4887
|
+
{
|
|
4888
|
+
"name": "--accordion-item-radius",
|
|
4889
|
+
"description": "Border radius"
|
|
4890
|
+
},
|
|
4891
|
+
{
|
|
4892
|
+
"name": "--accordion-item-transition",
|
|
4893
|
+
"description": "Transition duration"
|
|
4894
|
+
},
|
|
4895
|
+
{
|
|
4896
|
+
"name": "--accordion-item-title",
|
|
4897
|
+
"description": "Title font size"
|
|
4898
|
+
},
|
|
4899
|
+
{
|
|
4900
|
+
"name": "--accordion-item-subtitle-size",
|
|
4901
|
+
"description": "Subtitle font size"
|
|
4902
|
+
},
|
|
4903
|
+
{
|
|
4904
|
+
"name": "--accordion-item-body",
|
|
4905
|
+
"description": "Body font size"
|
|
4906
|
+
},
|
|
4907
|
+
{
|
|
4908
|
+
"name": "--accordion-item-details-padding",
|
|
4909
|
+
"description": "Summary/header padding"
|
|
4910
|
+
},
|
|
4911
|
+
{
|
|
4912
|
+
"name": "--accordion-item-summary-padding",
|
|
4913
|
+
"description": "Content padding"
|
|
4914
|
+
},
|
|
4915
|
+
{
|
|
4916
|
+
"name": "--accordion-item-row-duration",
|
|
4917
|
+
"description": "Expand/collapse row transition duration (default 200ms)"
|
|
4918
|
+
},
|
|
4919
|
+
{
|
|
4920
|
+
"name": "--accordion-item-fade-duration",
|
|
4921
|
+
"description": "Content fade duration (default 200ms)"
|
|
4922
|
+
},
|
|
4923
|
+
{
|
|
4924
|
+
"name": "--accordion-item-fade-delay",
|
|
4925
|
+
"description": "Content fade delay after the row starts (default 60ms)"
|
|
4926
|
+
},
|
|
4927
|
+
{
|
|
4928
|
+
"name": "--accordion-item-collapse-delay",
|
|
4929
|
+
"description": "Delay before the row collapses after the close fade (default 120ms)"
|
|
4930
|
+
}
|
|
4931
|
+
],
|
|
4932
|
+
"demos": [
|
|
4933
|
+
{
|
|
4934
|
+
"url": "",
|
|
4935
|
+
"description": "```html\n<ore-accordion-item><span slot=\"title\">Click to expand</span><p>Content</p></ore-accordion-item>\n<ore-accordion-item expanded variant=\"bordered\"><span slot=\"title\">Title</span><p>Content</p></ore-accordion-item>\n```"
|
|
4936
|
+
}
|
|
4937
|
+
]
|
|
4938
|
+
},
|
|
4939
|
+
{
|
|
4940
|
+
"kind": "variable",
|
|
4941
|
+
"name": "TAB_ITEM_TAG",
|
|
4942
|
+
"type": {
|
|
4943
|
+
"text": "'ore-tab-item'"
|
|
4944
|
+
},
|
|
4945
|
+
"default": "'ore-tab-item'",
|
|
4946
|
+
"description": "Individual tab trigger. Must be placed in the `tabs` slot of `ore-tabs`."
|
|
4947
|
+
},
|
|
4948
|
+
{
|
|
4949
|
+
"kind": "class",
|
|
4950
|
+
"name": "OreTabItemElement",
|
|
4951
|
+
"tagName": "ore-tab-item",
|
|
4952
|
+
"customElement": true,
|
|
4953
|
+
"description": "Individual tab trigger. Must be placed in the `tabs` slot of `ore-tabs`.",
|
|
4954
|
+
"summary": "",
|
|
4955
|
+
"attributes": [
|
|
4956
|
+
{
|
|
4957
|
+
"name": "value",
|
|
4958
|
+
"type": {
|
|
4959
|
+
"text": "string"
|
|
4960
|
+
},
|
|
4961
|
+
"description": "Unique identifier, matches the corresponding ore-tab-panel value"
|
|
4962
|
+
},
|
|
4963
|
+
{
|
|
4964
|
+
"name": "active",
|
|
4965
|
+
"type": {
|
|
4966
|
+
"text": "boolean"
|
|
4967
|
+
},
|
|
4968
|
+
"description": "Set by the parent ore-tabs when this tab is selected"
|
|
4969
|
+
},
|
|
4970
|
+
{
|
|
4971
|
+
"name": "disabled",
|
|
4972
|
+
"type": {
|
|
4973
|
+
"text": "boolean"
|
|
4974
|
+
},
|
|
4975
|
+
"description": "Prevents selection"
|
|
4976
|
+
},
|
|
4977
|
+
{
|
|
4978
|
+
"name": "density",
|
|
4979
|
+
"type": {
|
|
4980
|
+
"text": "'default' | 'compact'"
|
|
4981
|
+
},
|
|
4982
|
+
"description": "Inherited spatial density: 'default' | 'compact'"
|
|
4983
|
+
},
|
|
4984
|
+
{
|
|
4985
|
+
"name": "size",
|
|
4986
|
+
"type": {
|
|
4987
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
4988
|
+
},
|
|
4989
|
+
"description": "'sm' | 'md' | 'lg'"
|
|
4990
|
+
},
|
|
4991
|
+
{
|
|
4992
|
+
"name": "variant",
|
|
4993
|
+
"type": {
|
|
4994
|
+
"text": "'solid' | 'flat' | 'bordered' | 'ghost' | 'frost'"
|
|
4995
|
+
},
|
|
4996
|
+
"description": "Inherited from ore-tabs: 'solid' | 'flat' | 'bordered' | 'ghost' | 'frost'"
|
|
5076
4997
|
},
|
|
5077
4998
|
{
|
|
5078
|
-
"name": "
|
|
5079
|
-
"
|
|
4999
|
+
"name": "color",
|
|
5000
|
+
"type": {
|
|
5001
|
+
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
5002
|
+
},
|
|
5003
|
+
"description": "Inherited from ore-tabs: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
5080
5004
|
}
|
|
5081
5005
|
],
|
|
5082
|
-
"
|
|
5083
|
-
{
|
|
5084
|
-
"name": "--table-bg",
|
|
5085
|
-
"description": "Table background color"
|
|
5086
|
-
},
|
|
5006
|
+
"slots": [
|
|
5087
5007
|
{
|
|
5088
|
-
"name": "
|
|
5089
|
-
"description": "
|
|
5008
|
+
"name": "prefix",
|
|
5009
|
+
"description": "Icon or content before the label"
|
|
5090
5010
|
},
|
|
5091
5011
|
{
|
|
5092
|
-
"name": "
|
|
5093
|
-
"description": "
|
|
5012
|
+
"name": "",
|
|
5013
|
+
"description": "Tab label"
|
|
5094
5014
|
},
|
|
5095
5015
|
{
|
|
5096
|
-
"name": "
|
|
5097
|
-
"description": "
|
|
5098
|
-
}
|
|
5016
|
+
"name": "suffix",
|
|
5017
|
+
"description": "Badge or count after the label"
|
|
5018
|
+
}
|
|
5019
|
+
],
|
|
5020
|
+
"cssParts": [
|
|
5099
5021
|
{
|
|
5100
|
-
"name": "
|
|
5101
|
-
"description": "
|
|
5102
|
-
}
|
|
5022
|
+
"name": "tab",
|
|
5023
|
+
"description": "Tab trigger element."
|
|
5024
|
+
}
|
|
5025
|
+
],
|
|
5026
|
+
"cssProperties": [
|
|
5103
5027
|
{
|
|
5104
|
-
"name": "--
|
|
5105
|
-
"description": "
|
|
5028
|
+
"name": "--tab-item-radius",
|
|
5029
|
+
"description": "Button border radius"
|
|
5106
5030
|
},
|
|
5107
5031
|
{
|
|
5108
|
-
"name": "--
|
|
5109
|
-
"description": "
|
|
5032
|
+
"name": "--tab-item-transition",
|
|
5033
|
+
"description": "Transition duration/easing"
|
|
5110
5034
|
},
|
|
5111
5035
|
{
|
|
5112
|
-
"name": "--
|
|
5113
|
-
"description": "
|
|
5036
|
+
"name": "--tab-item-padding",
|
|
5037
|
+
"description": "Button padding"
|
|
5114
5038
|
},
|
|
5115
5039
|
{
|
|
5116
|
-
"name": "--
|
|
5117
|
-
"description": "
|
|
5040
|
+
"name": "--tab-item-font-size",
|
|
5041
|
+
"description": "Button font size"
|
|
5118
5042
|
},
|
|
5119
5043
|
{
|
|
5120
|
-
"name": "--
|
|
5121
|
-
"description": "
|
|
5044
|
+
"name": "--tab-item-color",
|
|
5045
|
+
"description": "Default text color"
|
|
5122
5046
|
},
|
|
5123
5047
|
{
|
|
5124
|
-
"name": "--
|
|
5125
|
-
"description": "
|
|
5048
|
+
"name": "--tab-item-hover-bg",
|
|
5049
|
+
"description": "Background on hover"
|
|
5126
5050
|
},
|
|
5127
5051
|
{
|
|
5128
|
-
"name": "--
|
|
5129
|
-
"description": "
|
|
5052
|
+
"name": "--tab-item-active-bg",
|
|
5053
|
+
"description": "Background when active/selected"
|
|
5130
5054
|
},
|
|
5131
5055
|
{
|
|
5132
|
-
"name": "--
|
|
5133
|
-
"description": "
|
|
5056
|
+
"name": "--tab-item-active-color",
|
|
5057
|
+
"description": "Text color when active/selected"
|
|
5134
5058
|
},
|
|
5135
5059
|
{
|
|
5136
|
-
"name": "--
|
|
5137
|
-
"description": "
|
|
5060
|
+
"name": "--tab-item-active-shadow",
|
|
5061
|
+
"description": "Box shadow when active/selected"
|
|
5138
5062
|
}
|
|
5139
5063
|
],
|
|
5140
5064
|
"demos": [
|
|
5141
5065
|
{
|
|
5142
5066
|
"url": "",
|
|
5143
|
-
"description": "```html\n<ore-
|
|
5067
|
+
"description": "```html\n<ore-tab-item slot=\"tabs\" value=\"overview\">Overview</ore-tab-item>\n<ore-tab-item slot=\"tabs\" value=\"settings\" disabled>Settings</ore-tab-item>\n```"
|
|
5144
5068
|
}
|
|
5145
5069
|
]
|
|
5146
5070
|
},
|
|
5147
5071
|
{
|
|
5148
5072
|
"kind": "variable",
|
|
5149
|
-
"name": "
|
|
5073
|
+
"name": "TAB_PANEL_TAG",
|
|
5150
5074
|
"type": {
|
|
5151
|
-
"text": "'ore-
|
|
5075
|
+
"text": "'ore-tab-panel'"
|
|
5152
5076
|
},
|
|
5153
|
-
"default": "'ore-
|
|
5154
|
-
"description": "
|
|
5077
|
+
"default": "'ore-tab-panel'",
|
|
5078
|
+
"description": "Content panel for a tab. Shown when its `value` matches the selected tab."
|
|
5155
5079
|
},
|
|
5156
5080
|
{
|
|
5157
5081
|
"kind": "class",
|
|
5158
|
-
"name": "
|
|
5159
|
-
"tagName": "ore-
|
|
5082
|
+
"name": "OreTabPanelElement",
|
|
5083
|
+
"tagName": "ore-tab-panel",
|
|
5160
5084
|
"customElement": true,
|
|
5161
|
-
"description": "
|
|
5085
|
+
"description": "Content panel for a tab. Shown when its `value` matches the selected tab.",
|
|
5162
5086
|
"summary": "",
|
|
5163
5087
|
"attributes": [
|
|
5164
5088
|
{
|
|
5165
|
-
"name": "
|
|
5089
|
+
"name": "value",
|
|
5166
5090
|
"type": {
|
|
5167
|
-
"text": "
|
|
5091
|
+
"text": "string"
|
|
5168
5092
|
},
|
|
5169
|
-
"description": "
|
|
5093
|
+
"description": "Must match the corresponding ore-tab-item value"
|
|
5170
5094
|
},
|
|
5171
5095
|
{
|
|
5172
|
-
"name": "
|
|
5096
|
+
"name": "active",
|
|
5173
5097
|
"type": {
|
|
5174
|
-
"text": "
|
|
5098
|
+
"text": "boolean"
|
|
5175
5099
|
},
|
|
5176
|
-
"description": "
|
|
5100
|
+
"description": "Toggled by the parent ore-tabs"
|
|
5177
5101
|
},
|
|
5178
5102
|
{
|
|
5179
|
-
"name": "
|
|
5103
|
+
"name": "padding",
|
|
5180
5104
|
"type": {
|
|
5181
|
-
"text": "'
|
|
5105
|
+
"text": "'none' | 'xs' | 'sm' | 'md'"
|
|
5182
5106
|
},
|
|
5183
|
-
"description": "
|
|
5107
|
+
"description": "Panel padding: 'none' | 'xs' | 'sm' | 'md' (default) | 'lg' | 'xl' | '2xl'"
|
|
5108
|
+
}
|
|
5109
|
+
],
|
|
5110
|
+
"slots": [
|
|
5111
|
+
{
|
|
5112
|
+
"name": "",
|
|
5113
|
+
"description": "Panel content"
|
|
5114
|
+
}
|
|
5115
|
+
],
|
|
5116
|
+
"cssParts": [
|
|
5117
|
+
{
|
|
5118
|
+
"name": "panel",
|
|
5119
|
+
"description": "Panel container."
|
|
5120
|
+
}
|
|
5121
|
+
],
|
|
5122
|
+
"cssProperties": [
|
|
5123
|
+
{
|
|
5124
|
+
"name": "--tab-panel-padding",
|
|
5125
|
+
"description": "Inner padding of the panel content area"
|
|
5184
5126
|
},
|
|
5185
5127
|
{
|
|
5186
|
-
"name": "
|
|
5128
|
+
"name": "--tab-panel-font-size",
|
|
5129
|
+
"description": "Font size of the panel content"
|
|
5130
|
+
}
|
|
5131
|
+
],
|
|
5132
|
+
"demos": [
|
|
5133
|
+
{
|
|
5134
|
+
"url": "",
|
|
5135
|
+
"description": "```html\n<ore-tab-panel value=\"overview\"><p>Overview content here</p></ore-tab-panel>\n<ore-tab-panel value=\"settings\" padding=\"lg\"><p>Large padding</p></ore-tab-panel>\n<ore-tab-panel value=\"code\" padding=\"none\"><pre>No padding for code</pre></ore-tab-panel>\n```"
|
|
5136
|
+
}
|
|
5137
|
+
]
|
|
5138
|
+
},
|
|
5139
|
+
{
|
|
5140
|
+
"kind": "variable",
|
|
5141
|
+
"name": "TABS_CTX",
|
|
5142
|
+
"description": "Injection key for the tabs context."
|
|
5143
|
+
},
|
|
5144
|
+
{
|
|
5145
|
+
"kind": "variable",
|
|
5146
|
+
"name": "TABS_TAG",
|
|
5147
|
+
"type": {
|
|
5148
|
+
"text": "'ore-tabs'"
|
|
5149
|
+
},
|
|
5150
|
+
"default": "'ore-tabs'",
|
|
5151
|
+
"description": "Tabs container. Manages tab selection and syncs state to child tab items and panels."
|
|
5152
|
+
},
|
|
5153
|
+
{
|
|
5154
|
+
"kind": "class",
|
|
5155
|
+
"name": "OreTabsElement",
|
|
5156
|
+
"tagName": "ore-tabs",
|
|
5157
|
+
"customElement": true,
|
|
5158
|
+
"description": "Tabs container. Manages tab selection and syncs state to child tab items and panels.",
|
|
5159
|
+
"summary": "",
|
|
5160
|
+
"attributes": [
|
|
5161
|
+
{
|
|
5162
|
+
"name": "value",
|
|
5187
5163
|
"type": {
|
|
5188
|
-
"text": "
|
|
5164
|
+
"text": "string"
|
|
5189
5165
|
},
|
|
5190
|
-
"description": "
|
|
5166
|
+
"description": "The value of the currently selected tab"
|
|
5191
5167
|
},
|
|
5192
5168
|
{
|
|
5193
|
-
"name": "
|
|
5169
|
+
"name": "variant",
|
|
5194
5170
|
"type": {
|
|
5195
|
-
"text": "'
|
|
5171
|
+
"text": "'solid' | 'flat' | 'bordered' | 'ghost' | 'frost'"
|
|
5196
5172
|
},
|
|
5197
|
-
"description": "
|
|
5173
|
+
"description": "Visual variant: 'solid' | 'flat' | 'bordered' | 'ghost' | 'frost'"
|
|
5198
5174
|
},
|
|
5199
5175
|
{
|
|
5200
|
-
"name": "
|
|
5176
|
+
"name": "size",
|
|
5201
5177
|
"type": {
|
|
5202
|
-
"text": "
|
|
5178
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
5203
5179
|
},
|
|
5204
|
-
"description": "
|
|
5180
|
+
"description": "Size: 'sm' | 'md' | 'lg'"
|
|
5205
5181
|
},
|
|
5206
5182
|
{
|
|
5207
|
-
"name": "
|
|
5183
|
+
"name": "density",
|
|
5208
5184
|
"type": {
|
|
5209
|
-
"text": "
|
|
5185
|
+
"text": "'default' | 'compact'"
|
|
5210
5186
|
},
|
|
5211
|
-
"description": "
|
|
5187
|
+
"description": "Spatial density: 'default' | 'compact'"
|
|
5212
5188
|
},
|
|
5213
5189
|
{
|
|
5214
|
-
"name": "
|
|
5190
|
+
"name": "color",
|
|
5215
5191
|
"type": {
|
|
5216
|
-
"text": "
|
|
5192
|
+
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
5217
5193
|
},
|
|
5218
|
-
"description": "
|
|
5219
|
-
}
|
|
5194
|
+
"description": "Theme color: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
5195
|
+
}
|
|
5196
|
+
],
|
|
5197
|
+
"events": [
|
|
5220
5198
|
{
|
|
5221
|
-
"name": "
|
|
5199
|
+
"name": "change",
|
|
5200
|
+
"description": "Emitted when the active tab changes with detail: { value: string }",
|
|
5222
5201
|
"type": {
|
|
5223
|
-
"text": "
|
|
5224
|
-
}
|
|
5225
|
-
"description": "Semantic HTML element: 'span' | 'p' | 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'label' | 'code'"
|
|
5202
|
+
"text": "CustomEvent"
|
|
5203
|
+
}
|
|
5226
5204
|
}
|
|
5227
5205
|
],
|
|
5228
5206
|
"slots": [
|
|
5207
|
+
{
|
|
5208
|
+
"name": "tabs",
|
|
5209
|
+
"description": "Place `ore-tab-item` elements here"
|
|
5210
|
+
},
|
|
5229
5211
|
{
|
|
5230
5212
|
"name": "",
|
|
5231
|
-
"description": "
|
|
5213
|
+
"description": "Place `ore-tab-panel` elements here"
|
|
5214
|
+
}
|
|
5215
|
+
],
|
|
5216
|
+
"cssParts": [
|
|
5217
|
+
{
|
|
5218
|
+
"name": "tablist",
|
|
5219
|
+
"description": "Container that holds the slotted tab items"
|
|
5220
|
+
},
|
|
5221
|
+
{
|
|
5222
|
+
"name": "indicator",
|
|
5223
|
+
"description": "Active tab indicator element"
|
|
5224
|
+
},
|
|
5225
|
+
{
|
|
5226
|
+
"name": "panels",
|
|
5227
|
+
"description": "Container that holds tab panel content"
|
|
5232
5228
|
}
|
|
5233
5229
|
],
|
|
5234
5230
|
"cssProperties": [
|
|
5235
5231
|
{
|
|
5236
|
-
"name": "--
|
|
5237
|
-
"description": "
|
|
5232
|
+
"name": "--tabs-radius",
|
|
5233
|
+
"description": "Border radius of the tablist container and panels"
|
|
5238
5234
|
},
|
|
5239
5235
|
{
|
|
5240
|
-
"name": "--
|
|
5241
|
-
"description": "
|
|
5236
|
+
"name": "--tabs-transition",
|
|
5237
|
+
"description": "Transition duration/easing for the active indicator"
|
|
5242
5238
|
},
|
|
5243
5239
|
{
|
|
5244
|
-
"name": "--
|
|
5245
|
-
"description": "
|
|
5240
|
+
"name": "--tabs-indicator-color",
|
|
5241
|
+
"description": "Color of the sliding active indicator line"
|
|
5246
5242
|
},
|
|
5247
5243
|
{
|
|
5248
|
-
"name": "--
|
|
5249
|
-
"description": "
|
|
5244
|
+
"name": "--tabs-bg",
|
|
5245
|
+
"description": "Background of the host element (flat variant)"
|
|
5250
5246
|
},
|
|
5251
5247
|
{
|
|
5252
|
-
"name": "--
|
|
5253
|
-
"description": "
|
|
5248
|
+
"name": "--tabs-tablist-bg",
|
|
5249
|
+
"description": "Tablist container background (solid/frost variants)"
|
|
5250
|
+
},
|
|
5251
|
+
{
|
|
5252
|
+
"name": "--tabs-tablist-border-color",
|
|
5253
|
+
"description": "Tablist container border color"
|
|
5254
5254
|
}
|
|
5255
5255
|
],
|
|
5256
5256
|
"demos": [
|
|
5257
5257
|
{
|
|
5258
5258
|
"url": "",
|
|
5259
|
-
"description": "```html\n<ore-
|
|
5259
|
+
"description": "```html\n<ore-tabs value=\"tab1\" variant=\"bordered\">\n <ore-tab-item slot=\"tabs\" value=\"tab1\">Overview</ore-tab-item>\n <ore-tab-item slot=\"tabs\" value=\"tab2\">Settings</ore-tab-item>\n <ore-tab-panel value=\"tab1\"><p>Overview content</p></ore-tab-panel>\n <ore-tab-panel value=\"tab2\"><p>Settings content</p></ore-tab-panel>\n</ore-tabs>\n```"
|
|
5260
5260
|
}
|
|
5261
5261
|
]
|
|
5262
5262
|
},
|