@vielzeug/codex 3.1.1 → 26.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/catalog.json +124 -36
- package/data/llms-full.txt +2335 -679
- package/data/llms.txt +5 -3
- package/data/manifest.json +1 -1
- package/data/packages/arsenal.json +30 -6
- package/data/packages/assay.json +11 -19
- package/data/packages/clockwork.json +30 -27
- package/data/packages/codex.json +4 -4
- package/data/packages/conduit.json +33 -34
- package/data/packages/courier.json +15 -14
- package/data/packages/dnd.json +2 -2
- package/data/packages/familiar.json +24 -3
- package/data/packages/flux.json +9 -6
- package/data/packages/focus.json +16 -6
- package/data/packages/gesture.json +10 -4
- package/data/packages/herald.json +7 -8
- package/data/packages/illusionist.json +1 -1
- package/data/packages/keymap.json +11 -7
- package/data/packages/ledger.json +25 -25
- package/data/packages/lingua.json +2 -2
- package/data/packages/mesh.json +29 -31
- package/data/packages/necromancer.json +3 -2
- package/data/packages/orbit.json +4 -3
- package/data/packages/ore.json +4 -3
- package/data/packages/postmaster.json +24 -24
- package/data/packages/pulse.json +28 -28
- package/data/packages/refine.json +6 -4
- package/data/packages/ripple.json +2 -2
- package/data/packages/sandbox.json +2 -2
- package/data/packages/scout.json +13 -7
- package/data/packages/scroll.json +7 -7
- package/data/packages/sentinel.json +26 -15
- package/data/packages/sigil.json +3 -3
- package/data/packages/spell.json +25 -30
- package/data/packages/tandem.json +29 -0
- package/data/packages/tavern.json +23 -0
- package/data/packages/tempo.json +44 -42
- package/data/packages/vault.json +9 -19
- package/data/packages/ward.json +26 -29
- package/data/packages/wayfinder.json +20 -13
- package/data/refine.json +746 -65
- package/data/search.json +198 -163
- package/dist/index.d.ts +2 -3
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +5 -12
- package/skills/vielzeug/SKILL.md +2 -0
- package/dist/advanced.d.ts +0 -12
- package/dist/advanced.js +0 -13
- package/dist/advanced.js.map +0 -1
package/data/refine.json
CHANGED
|
@@ -41,6 +41,25 @@
|
|
|
41
41
|
},
|
|
42
42
|
"default": "{ content, disclosure, feedback, inputs, layout, overlay }"
|
|
43
43
|
},
|
|
44
|
+
{
|
|
45
|
+
"kind": "function",
|
|
46
|
+
"name": "createThemeController",
|
|
47
|
+
"return": {
|
|
48
|
+
"type": {
|
|
49
|
+
"text": "ThemeController"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"parameters": [
|
|
53
|
+
{
|
|
54
|
+
"name": "options",
|
|
55
|
+
"default": "{}",
|
|
56
|
+
"type": {
|
|
57
|
+
"text": "ThemeControllerOptions"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"description": "Creates a document theme controller. Call once at app startup."
|
|
62
|
+
},
|
|
44
63
|
{
|
|
45
64
|
"kind": "function",
|
|
46
65
|
"name": "announce",
|
|
@@ -245,6 +264,42 @@
|
|
|
245
264
|
],
|
|
246
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."
|
|
247
266
|
},
|
|
267
|
+
{
|
|
268
|
+
"kind": "function",
|
|
269
|
+
"name": "handleCalendarGridKeydown",
|
|
270
|
+
"return": {
|
|
271
|
+
"type": {
|
|
272
|
+
"text": "void"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"parameters": [
|
|
276
|
+
{
|
|
277
|
+
"name": "event",
|
|
278
|
+
"type": {
|
|
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"
|
|
298
|
+
}
|
|
299
|
+
}
|
|
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."
|
|
302
|
+
},
|
|
248
303
|
{
|
|
249
304
|
"kind": "function",
|
|
250
305
|
"name": "elementDirection",
|
|
@@ -398,6 +453,41 @@
|
|
|
398
453
|
],
|
|
399
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."
|
|
400
455
|
},
|
|
456
|
+
{
|
|
457
|
+
"kind": "function",
|
|
458
|
+
"name": "registerIcons",
|
|
459
|
+
"return": {
|
|
460
|
+
"type": {
|
|
461
|
+
"text": "void"
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
"parameters": [
|
|
465
|
+
{
|
|
466
|
+
"name": "icons",
|
|
467
|
+
"type": {
|
|
468
|
+
"text": "Record<string, IconNode>"
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
],
|
|
472
|
+
"description": "Register icons (or override existing ones) by name. Keys may be kebab-case or\nPascalCase — both resolve."
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"kind": "function",
|
|
476
|
+
"name": "resolveIcon",
|
|
477
|
+
"return": {
|
|
478
|
+
"type": {
|
|
479
|
+
"text": "IconNode | undefined"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"parameters": [
|
|
483
|
+
{
|
|
484
|
+
"name": "name",
|
|
485
|
+
"type": {
|
|
486
|
+
"text": "string"
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
]
|
|
490
|
+
},
|
|
401
491
|
{
|
|
402
492
|
"kind": "function",
|
|
403
493
|
"name": "dispatchKeyboardAction",
|
|
@@ -652,6 +742,24 @@
|
|
|
652
742
|
],
|
|
653
743
|
"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."
|
|
654
744
|
},
|
|
745
|
+
{
|
|
746
|
+
"kind": "function",
|
|
747
|
+
"name": "parseOptionalBool",
|
|
748
|
+
"return": {
|
|
749
|
+
"type": {
|
|
750
|
+
"text": "boolean | undefined"
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
"parameters": [
|
|
754
|
+
{
|
|
755
|
+
"name": "value",
|
|
756
|
+
"type": {
|
|
757
|
+
"text": "string | null"
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
],
|
|
761
|
+
"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."
|
|
762
|
+
},
|
|
655
763
|
{
|
|
656
764
|
"kind": "function",
|
|
657
765
|
"name": "createDropdownPositioner",
|
|
@@ -662,7 +770,7 @@
|
|
|
662
770
|
},
|
|
663
771
|
"parameters": [
|
|
664
772
|
{
|
|
665
|
-
"name": "{\n boundary,\n getDir,\n getFloating,\n getPlacement,\n getReference,\n matchWidth = true,\n
|
|
773
|
+
"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}",
|
|
666
774
|
"type": {
|
|
667
775
|
"text": "DropdownPositionerOptions"
|
|
668
776
|
}
|
|
@@ -777,6 +885,60 @@
|
|
|
777
885
|
}
|
|
778
886
|
]
|
|
779
887
|
},
|
|
888
|
+
{
|
|
889
|
+
"kind": "function",
|
|
890
|
+
"name": "parseMaxWidthPx",
|
|
891
|
+
"return": {
|
|
892
|
+
"type": {
|
|
893
|
+
"text": "number | undefined"
|
|
894
|
+
}
|
|
895
|
+
},
|
|
896
|
+
"parameters": [
|
|
897
|
+
{
|
|
898
|
+
"name": "query",
|
|
899
|
+
"type": {
|
|
900
|
+
"text": "string | undefined"
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
],
|
|
904
|
+
"description": "Parses the px value out of a container-query string like `(max-width: 768px)`."
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"kind": "function",
|
|
908
|
+
"name": "resolveContainerElement",
|
|
909
|
+
"return": {
|
|
910
|
+
"type": {
|
|
911
|
+
"text": "HTMLElement | null"
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
"parameters": [
|
|
915
|
+
{
|
|
916
|
+
"name": "el",
|
|
917
|
+
"type": {
|
|
918
|
+
"text": "HTMLElement"
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
],
|
|
922
|
+
"description": "The element whose width the component measures against, skipping transparent\n`ore-grid-item` wrappers so a component inside a grid still sees its real container."
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
"kind": "function",
|
|
926
|
+
"name": "readContainerWidth",
|
|
927
|
+
"return": {
|
|
928
|
+
"type": {
|
|
929
|
+
"text": "number"
|
|
930
|
+
}
|
|
931
|
+
},
|
|
932
|
+
"parameters": [
|
|
933
|
+
{
|
|
934
|
+
"name": "el",
|
|
935
|
+
"type": {
|
|
936
|
+
"text": "HTMLElement"
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
],
|
|
940
|
+
"description": "The container width to test against a breakpoint, falling back to the element itself."
|
|
941
|
+
},
|
|
780
942
|
{
|
|
781
943
|
"kind": "variable",
|
|
782
944
|
"name": "themableBundle",
|
|
@@ -1750,6 +1912,139 @@
|
|
|
1750
1912
|
}
|
|
1751
1913
|
]
|
|
1752
1914
|
},
|
|
1915
|
+
{
|
|
1916
|
+
"kind": "variable",
|
|
1917
|
+
"name": "CHAT_PANEL_TAG",
|
|
1918
|
+
"type": {
|
|
1919
|
+
"text": "'ore-chat-panel'"
|
|
1920
|
+
},
|
|
1921
|
+
"default": "'ore-chat-panel'",
|
|
1922
|
+
"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."
|
|
1923
|
+
},
|
|
1924
|
+
{
|
|
1925
|
+
"kind": "class",
|
|
1926
|
+
"name": "OreChatPanelElement",
|
|
1927
|
+
"tagName": "ore-chat-panel",
|
|
1928
|
+
"customElement": true,
|
|
1929
|
+
"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.",
|
|
1930
|
+
"summary": "",
|
|
1931
|
+
"attributes": [
|
|
1932
|
+
{
|
|
1933
|
+
"name": "label",
|
|
1934
|
+
"type": {
|
|
1935
|
+
"text": "string"
|
|
1936
|
+
},
|
|
1937
|
+
"description": "Accessible name for the panel region"
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
"name": "open",
|
|
1941
|
+
"type": {
|
|
1942
|
+
"text": "boolean"
|
|
1943
|
+
},
|
|
1944
|
+
"description": "Open state"
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"name": "initials",
|
|
1948
|
+
"type": {
|
|
1949
|
+
"text": "string"
|
|
1950
|
+
},
|
|
1951
|
+
"description": "Assistant avatar initials (default 'V')"
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
"name": "maxlength",
|
|
1955
|
+
"type": {
|
|
1956
|
+
"text": "number"
|
|
1957
|
+
},
|
|
1958
|
+
"description": "Composer character limit (default 240)"
|
|
1959
|
+
}
|
|
1960
|
+
],
|
|
1961
|
+
"events": [
|
|
1962
|
+
{
|
|
1963
|
+
"name": "send",
|
|
1964
|
+
"description": "A send or suggestion was submitted. detail: { text }",
|
|
1965
|
+
"type": {
|
|
1966
|
+
"text": "CustomEvent"
|
|
1967
|
+
}
|
|
1968
|
+
},
|
|
1969
|
+
{
|
|
1970
|
+
"name": "action",
|
|
1971
|
+
"description": "A message action button was activated. detail: { payload }",
|
|
1972
|
+
"type": {
|
|
1973
|
+
"text": "CustomEvent"
|
|
1974
|
+
}
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
"name": "reset",
|
|
1978
|
+
"description": "The transcript was cleared via Start over.",
|
|
1979
|
+
"type": {
|
|
1980
|
+
"text": "CustomEvent"
|
|
1981
|
+
}
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
"name": "open-change",
|
|
1985
|
+
"description": "Open state changed. detail: { open, reason }",
|
|
1986
|
+
"type": {
|
|
1987
|
+
"text": "CustomEvent"
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1990
|
+
],
|
|
1991
|
+
"slots": [
|
|
1992
|
+
{
|
|
1993
|
+
"name": "header",
|
|
1994
|
+
"description": "Replaces the default title/status header content"
|
|
1995
|
+
}
|
|
1996
|
+
],
|
|
1997
|
+
"cssParts": [
|
|
1998
|
+
{
|
|
1999
|
+
"name": "window",
|
|
2000
|
+
"description": "The fixed panel window"
|
|
2001
|
+
},
|
|
2002
|
+
{
|
|
2003
|
+
"name": "header",
|
|
2004
|
+
"description": "Header row"
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
"name": "body",
|
|
2008
|
+
"description": "Scrollable transcript area"
|
|
2009
|
+
},
|
|
2010
|
+
{
|
|
2011
|
+
"name": "messages",
|
|
2012
|
+
"description": "Message list (role=log)"
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"name": "suggestions",
|
|
2016
|
+
"description": "Suggestion chips row"
|
|
2017
|
+
},
|
|
2018
|
+
{
|
|
2019
|
+
"name": "composer",
|
|
2020
|
+
"description": "Composer footer"
|
|
2021
|
+
}
|
|
2022
|
+
],
|
|
2023
|
+
"cssProperties": [
|
|
2024
|
+
{
|
|
2025
|
+
"name": "--chat-panel-width",
|
|
2026
|
+
"description": "Panel width (default min(420px, viewport-fit))"
|
|
2027
|
+
},
|
|
2028
|
+
{
|
|
2029
|
+
"name": "--chat-panel-height",
|
|
2030
|
+
"description": "Panel height (default min(640px, viewport-fit))"
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
"name": "--chat-panel-inset",
|
|
2034
|
+
"description": "Distance from the viewport corner (default --size-6)"
|
|
2035
|
+
},
|
|
2036
|
+
{
|
|
2037
|
+
"name": "--chat-panel-z-index",
|
|
2038
|
+
"description": "Stacking order (default --z-fixed)"
|
|
2039
|
+
}
|
|
2040
|
+
],
|
|
2041
|
+
"demos": [
|
|
2042
|
+
{
|
|
2043
|
+
"url": "",
|
|
2044
|
+
"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```"
|
|
2045
|
+
}
|
|
2046
|
+
]
|
|
2047
|
+
},
|
|
1753
2048
|
{
|
|
1754
2049
|
"kind": "variable",
|
|
1755
2050
|
"name": "CODE_WINDOW_TAG",
|
|
@@ -1993,24 +2288,6 @@
|
|
|
1993
2288
|
}
|
|
1994
2289
|
]
|
|
1995
2290
|
},
|
|
1996
|
-
{
|
|
1997
|
-
"kind": "function",
|
|
1998
|
-
"name": "registerIcons",
|
|
1999
|
-
"return": {
|
|
2000
|
-
"type": {
|
|
2001
|
-
"text": "void"
|
|
2002
|
-
}
|
|
2003
|
-
},
|
|
2004
|
-
"parameters": [
|
|
2005
|
-
{
|
|
2006
|
-
"name": "icons",
|
|
2007
|
-
"type": {
|
|
2008
|
-
"text": "Record<string, IconNode>"
|
|
2009
|
-
}
|
|
2010
|
-
}
|
|
2011
|
-
],
|
|
2012
|
-
"description": "Register additional icons (or override existing ones) by name.\nKeys may be kebab-case or PascalCase — both are accepted by `ore-icon`."
|
|
2013
|
-
},
|
|
2014
2291
|
{
|
|
2015
2292
|
"kind": "variable",
|
|
2016
2293
|
"name": "ICON_TAG",
|
|
@@ -2018,14 +2295,14 @@
|
|
|
2018
2295
|
"text": "'ore-icon'"
|
|
2019
2296
|
},
|
|
2020
2297
|
"default": "'ore-icon'",
|
|
2021
|
-
"description": "Icon wrapper for consistent Lucide rendering across Block."
|
|
2298
|
+
"description": "Icon wrapper for consistent Lucide rendering across Block.\n\nNames resolve from a synchronous registry: refine's own component icons are\nalways registered; apps register their set with `registerIcons()` or import\n`@vielzeug/refine/icon-lucide` for the complete library."
|
|
2022
2299
|
},
|
|
2023
2300
|
{
|
|
2024
2301
|
"kind": "class",
|
|
2025
2302
|
"name": "OreIconElement",
|
|
2026
2303
|
"tagName": "ore-icon",
|
|
2027
2304
|
"customElement": true,
|
|
2028
|
-
"description": "Icon wrapper for consistent Lucide rendering across Block.",
|
|
2305
|
+
"description": "Icon wrapper for consistent Lucide rendering across Block.\nNames resolve from a synchronous registry: refine's own component icons are\nalways registered; apps register their set with `registerIcons()` or import\n`@vielzeug/refine/icon-lucide` for the complete library.",
|
|
2029
2306
|
"summary": "",
|
|
2030
2307
|
"attributes": [
|
|
2031
2308
|
{
|
|
@@ -2033,7 +2310,7 @@
|
|
|
2033
2310
|
"type": {
|
|
2034
2311
|
"text": "string"
|
|
2035
2312
|
},
|
|
2036
|
-
"description": "Lucide icon name, e.g. `search` or `chevron-right
|
|
2313
|
+
"description": "Lucide icon name, e.g. `search` or `chevron-right`, resolved from the registered set"
|
|
2037
2314
|
},
|
|
2038
2315
|
{
|
|
2039
2316
|
"name": "size",
|
|
@@ -2151,14 +2428,14 @@
|
|
|
2151
2428
|
"text": "'ore-list-item'"
|
|
2152
2429
|
},
|
|
2153
2430
|
"default": "'ore-list-item'",
|
|
2154
|
-
"description": "A single row inside `ore-list`. Renders `leading`/default (title)/`description`/`trailing`\ncontent plus two off-canvas action panels (`actions-left`, `actions-right`) that a horizontal\npointer/touch swipe reveals — useful for mobile-style row actions (archive, delete, …). An\naction panel only opens if it actually has slotted content; swiping the other direction is a\nno-op. Revealed actions stay reachable from the keyboard (Tab focus on a slotted action button\nreveals its panel via `:focus-within`, independent of any gesture).\n\nSwiping past the reveal distance snaps the panel fully open on release; swiping further still —\npast the full-swipe-through distance — auto-confirms that side's action immediately (fires\n`confirm` and clicks the slot's first element), the same \"swipe all the way\" shortcut as iOS\nMail's delete gesture.\n\nClosing a revealed panel is deliberately one-directional: tap/click the row itself, tap outside\nthe item, or open a different item's panel. Reverse-swiping an already-open item is not\nsupported — see `ore-list`'s docs for the reasoning."
|
|
2431
|
+
"description": "A single row inside `ore-list`. Renders `leading`/default (title)/`description`/`trailing`\ncontent plus two off-canvas action panels (`actions-left`, `actions-right`) that a horizontal\npointer/touch swipe reveals — useful for mobile-style row actions (archive, delete, …). An\naction panel only opens if it actually has slotted content; swiping the other direction is a\nno-op. Revealed actions stay reachable from the keyboard (Tab focus on a slotted action button\nreveals its panel via `:focus-within`, independent of any gesture).\n\nSwiping past the reveal distance snaps the panel fully open on release; swiping further still —\npast the full-swipe-through distance — auto-confirms that side's action immediately (fires\n`confirm` and clicks the slot's first element), the same \"swipe all the way\" shortcut as iOS\nMail's delete gesture.\n\nClosing a revealed panel is deliberately one-directional: tap/click the row itself, tap outside\nthe item, or open a different item's panel. Reverse-swiping an already-open item is not\nsupported — see `ore-list`'s docs for the reasoning.\n\nOn hover-capable fine pointers, a hovered row peeks a few pixels of its first action panel\n(`--list-item-peek`, a fraction of the panel width) so the swipe affordance is discoverable\nwithout a gesture; touch discovers the swipe natively."
|
|
2155
2432
|
},
|
|
2156
2433
|
{
|
|
2157
2434
|
"kind": "class",
|
|
2158
2435
|
"name": "OreListItemElement",
|
|
2159
2436
|
"tagName": "ore-list-item",
|
|
2160
2437
|
"customElement": true,
|
|
2161
|
-
"description": "A single row inside `ore-list`. Renders `leading`/default (title)/`description`/`trailing`\ncontent plus two off-canvas action panels (`actions-left`, `actions-right`) that a horizontal\npointer/touch swipe reveals — useful for mobile-style row actions (archive, delete, …). An\naction panel only opens if it actually has slotted content; swiping the other direction is a\nno-op. Revealed actions stay reachable from the keyboard (Tab focus on a slotted action button\nreveals its panel via `:focus-within`, independent of any gesture).\nSwiping past the reveal distance snaps the panel fully open on release; swiping further still —\npast the full-swipe-through distance — auto-confirms that side's action immediately (fires\n`confirm` and clicks the slot's first element), the same \"swipe all the way\" shortcut as iOS\nMail's delete gesture.\nClosing a revealed panel is deliberately one-directional: tap/click the row itself, tap outside\nthe item, or open a different item's panel. Reverse-swiping an already-open item is not\nsupported — see `ore-list`'s docs for the reasoning.",
|
|
2438
|
+
"description": "A single row inside `ore-list`. Renders `leading`/default (title)/`description`/`trailing`\ncontent plus two off-canvas action panels (`actions-left`, `actions-right`) that a horizontal\npointer/touch swipe reveals — useful for mobile-style row actions (archive, delete, …). An\naction panel only opens if it actually has slotted content; swiping the other direction is a\nno-op. Revealed actions stay reachable from the keyboard (Tab focus on a slotted action button\nreveals its panel via `:focus-within`, independent of any gesture).\nSwiping past the reveal distance snaps the panel fully open on release; swiping further still —\npast the full-swipe-through distance — auto-confirms that side's action immediately (fires\n`confirm` and clicks the slot's first element), the same \"swipe all the way\" shortcut as iOS\nMail's delete gesture.\nClosing a revealed panel is deliberately one-directional: tap/click the row itself, tap outside\nthe item, or open a different item's panel. Reverse-swiping an already-open item is not\nsupported — see `ore-list`'s docs for the reasoning.\nOn hover-capable fine pointers, a hovered row peeks a few pixels of its first action panel\n(`--list-item-peek`, a fraction of the panel width) so the swipe affordance is discoverable\nwithout a gesture; touch discovers the swipe natively.",
|
|
2162
2439
|
"summary": "",
|
|
2163
2440
|
"attributes": [
|
|
2164
2441
|
{
|
|
@@ -2306,6 +2583,10 @@
|
|
|
2306
2583
|
"name": "--list-item-actions-width",
|
|
2307
2584
|
"description": "Width of each action panel (default 6rem)"
|
|
2308
2585
|
},
|
|
2586
|
+
{
|
|
2587
|
+
"name": "--list-item-peek",
|
|
2588
|
+
"description": "Hover-peek distance as a fraction of the action panel width (default 0.08; 0 disables the peek)"
|
|
2589
|
+
},
|
|
2309
2590
|
{
|
|
2310
2591
|
"name": "--list-item-bg",
|
|
2311
2592
|
"description": "Row background color"
|
|
@@ -2775,92 +3056,263 @@
|
|
|
2775
3056
|
"name": "--qr-code-error-color",
|
|
2776
3057
|
"description": "Error-state text color"
|
|
2777
3058
|
}
|
|
2778
|
-
],
|
|
2779
|
-
"demos": [
|
|
3059
|
+
],
|
|
3060
|
+
"demos": [
|
|
3061
|
+
{
|
|
3062
|
+
"url": "",
|
|
3063
|
+
"description": "```html\n<ore-qr-code value=\"https://example.com\"></ore-qr-code>\n<ore-qr-code value=\"otpauth://…\" error-correction=\"H\" size=\"256\"></ore-qr-code>\n```"
|
|
3064
|
+
}
|
|
3065
|
+
]
|
|
3066
|
+
},
|
|
3067
|
+
{
|
|
3068
|
+
"kind": "variable",
|
|
3069
|
+
"name": "SEPARATOR_TAG",
|
|
3070
|
+
"type": {
|
|
3071
|
+
"text": "'ore-separator'"
|
|
3072
|
+
},
|
|
3073
|
+
"default": "'ore-separator'",
|
|
3074
|
+
"description": "A simple visual divider between sections of content."
|
|
3075
|
+
},
|
|
3076
|
+
{
|
|
3077
|
+
"kind": "class",
|
|
3078
|
+
"name": "OreSeparatorElement",
|
|
3079
|
+
"tagName": "ore-separator",
|
|
3080
|
+
"customElement": true,
|
|
3081
|
+
"description": "A simple visual divider between sections of content.",
|
|
3082
|
+
"summary": "",
|
|
3083
|
+
"attributes": [
|
|
3084
|
+
{
|
|
3085
|
+
"name": "orientation",
|
|
3086
|
+
"type": {
|
|
3087
|
+
"text": "string"
|
|
3088
|
+
},
|
|
3089
|
+
"description": "'horizontal' (default) | 'vertical'"
|
|
3090
|
+
},
|
|
3091
|
+
{
|
|
3092
|
+
"name": "decorative",
|
|
3093
|
+
"type": {
|
|
3094
|
+
"text": "boolean"
|
|
3095
|
+
},
|
|
3096
|
+
"description": "When true (default), aria-hidden is applied"
|
|
3097
|
+
},
|
|
3098
|
+
{
|
|
3099
|
+
"name": "label",
|
|
3100
|
+
"type": {
|
|
3101
|
+
"text": "string"
|
|
3102
|
+
},
|
|
3103
|
+
"description": "Optional centered label text"
|
|
3104
|
+
},
|
|
3105
|
+
{
|
|
3106
|
+
"name": "color",
|
|
3107
|
+
"type": {
|
|
3108
|
+
"text": "'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
3109
|
+
},
|
|
3110
|
+
"description": "Theme color: 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error'"
|
|
3111
|
+
}
|
|
3112
|
+
],
|
|
3113
|
+
"cssParts": [
|
|
3114
|
+
{
|
|
3115
|
+
"name": "wrapper",
|
|
3116
|
+
"description": "Root wrapper container."
|
|
3117
|
+
},
|
|
3118
|
+
{
|
|
3119
|
+
"name": "separator",
|
|
3120
|
+
"description": "Separator element."
|
|
3121
|
+
},
|
|
3122
|
+
{
|
|
3123
|
+
"name": "label",
|
|
3124
|
+
"description": "Label element."
|
|
3125
|
+
}
|
|
3126
|
+
],
|
|
3127
|
+
"cssProperties": [
|
|
3128
|
+
{
|
|
3129
|
+
"name": "--separator-color",
|
|
3130
|
+
"description": "Line color"
|
|
3131
|
+
},
|
|
3132
|
+
{
|
|
3133
|
+
"name": "--separator-size",
|
|
3134
|
+
"description": "Line thickness"
|
|
3135
|
+
},
|
|
3136
|
+
{
|
|
3137
|
+
"name": "--separator-spacing",
|
|
3138
|
+
"description": "Vertical margin"
|
|
3139
|
+
}
|
|
3140
|
+
],
|
|
3141
|
+
"demos": [
|
|
3142
|
+
{
|
|
3143
|
+
"url": "",
|
|
3144
|
+
"description": "```html\n<ore-separator></ore-separator>\n<ore-separator label=\"or\"></ore-separator>\n<ore-separator orientation=\"vertical\"></ore-separator>\n```"
|
|
3145
|
+
}
|
|
3146
|
+
]
|
|
3147
|
+
},
|
|
3148
|
+
{
|
|
3149
|
+
"kind": "variable",
|
|
3150
|
+
"name": "SPEECH_RATES",
|
|
3151
|
+
"type": {
|
|
3152
|
+
"text": "[1, 0.85, 1.15]"
|
|
3153
|
+
},
|
|
3154
|
+
"default": "[1, 0.85, 1.15]",
|
|
3155
|
+
"description": "The rate steps the speed control cycles through — normal, slow, fast."
|
|
3156
|
+
},
|
|
3157
|
+
{
|
|
3158
|
+
"kind": "function",
|
|
3159
|
+
"name": "speechSentences",
|
|
3160
|
+
"return": {
|
|
3161
|
+
"type": {
|
|
3162
|
+
"text": "string[]"
|
|
3163
|
+
}
|
|
3164
|
+
},
|
|
3165
|
+
"parameters": [
|
|
2780
3166
|
{
|
|
2781
|
-
"
|
|
2782
|
-
"
|
|
3167
|
+
"name": "text",
|
|
3168
|
+
"type": {
|
|
3169
|
+
"text": "string"
|
|
3170
|
+
}
|
|
2783
3171
|
}
|
|
2784
|
-
]
|
|
3172
|
+
],
|
|
3173
|
+
"description": "The entry's sentences — prose ends . ! or ?, closing quotes belong to the sentence\nthey end, and an unterminated tail is still a sentence. Consumers that highlight what\nis being read build their display from this same list, so `progress` sentence indexes\nmap onto their own."
|
|
2785
3174
|
},
|
|
2786
3175
|
{
|
|
2787
3176
|
"kind": "variable",
|
|
2788
|
-
"name": "
|
|
3177
|
+
"name": "SPEECH_PLAYER_TAG",
|
|
2789
3178
|
"type": {
|
|
2790
|
-
"text": "'ore-
|
|
3179
|
+
"text": "'ore-speech-player'"
|
|
2791
3180
|
},
|
|
2792
|
-
"default": "'ore-
|
|
2793
|
-
"description": "A
|
|
3181
|
+
"default": "'ore-speech-player'",
|
|
3182
|
+
"description": "A text-to-speech player control — reads its `text` aloud through the Web Speech API.\n\nRenders a labeled play/pause toggle (the label folds away once engaged), a stop\ncontrol beside it that appears while reading, and a speed control cycling\nnormal/slow/fast. The text is spoken sentence by sentence (long sentences split into pieces under the\nengine's truncation window), the `state` attribute reflects playback, a\n`role=\"status\"` live region announces transitions, and `progress` events name the\nsentence being read so a consumer can highlight it. Only one player speaks at a\ntime: starting one stops any other. `resume-at` names the sentence to begin from,\nso a persisted position makes resume mean it."
|
|
2794
3183
|
},
|
|
2795
3184
|
{
|
|
2796
3185
|
"kind": "class",
|
|
2797
|
-
"name": "
|
|
2798
|
-
"tagName": "ore-
|
|
3186
|
+
"name": "OreSpeechPlayerElement",
|
|
3187
|
+
"tagName": "ore-speech-player",
|
|
2799
3188
|
"customElement": true,
|
|
2800
|
-
"description": "A
|
|
3189
|
+
"description": "A text-to-speech player control — reads its `text` aloud through the Web Speech API.\nRenders a labeled play/pause toggle (the label folds away once engaged), a stop\ncontrol beside it that appears while reading, and a speed control cycling\nnormal/slow/fast. The text is spoken sentence by sentence (long sentences split into pieces under the\nengine's truncation window), the `state` attribute reflects playback, a\n`role=\"status\"` live region announces transitions, and `progress` events name the\nsentence being read so a consumer can highlight it. Only one player speaks at a\ntime: starting one stops any other. `resume-at` names the sentence to begin from,\nso a persisted position makes resume mean it.",
|
|
2801
3190
|
"summary": "",
|
|
2802
3191
|
"attributes": [
|
|
2803
3192
|
{
|
|
2804
|
-
"name": "
|
|
3193
|
+
"name": "text",
|
|
2805
3194
|
"type": {
|
|
2806
3195
|
"text": "string"
|
|
2807
3196
|
},
|
|
2808
|
-
"description": "
|
|
3197
|
+
"description": "The text to read aloud (also settable as a JavaScript property)"
|
|
2809
3198
|
},
|
|
2810
3199
|
{
|
|
2811
|
-
"name": "
|
|
3200
|
+
"name": "lang",
|
|
2812
3201
|
"type": {
|
|
2813
|
-
"text": "
|
|
3202
|
+
"text": "string"
|
|
2814
3203
|
},
|
|
2815
|
-
"description": "
|
|
3204
|
+
"description": "BCP-47 tag of `text`'s language, e.g. `en` or `de-DE`"
|
|
2816
3205
|
},
|
|
2817
3206
|
{
|
|
2818
|
-
"name": "
|
|
3207
|
+
"name": "state",
|
|
2819
3208
|
"type": {
|
|
2820
|
-
"text": "
|
|
3209
|
+
"text": "'idle' | 'playing' | 'paused' | 'unsupported'"
|
|
2821
3210
|
},
|
|
2822
|
-
"description": "
|
|
3211
|
+
"description": "Reflected playback state: 'idle' | 'playing' | 'paused' | 'unsupported'"
|
|
2823
3212
|
},
|
|
2824
3213
|
{
|
|
2825
|
-
"name": "
|
|
3214
|
+
"name": "rate",
|
|
2826
3215
|
"type": {
|
|
2827
|
-
"text": "
|
|
3216
|
+
"text": "number"
|
|
2828
3217
|
},
|
|
2829
|
-
"description": "
|
|
3218
|
+
"description": "Playback rate; the speed control cycles 1 → 0.85 → 1.15"
|
|
3219
|
+
},
|
|
3220
|
+
{
|
|
3221
|
+
"name": "resume-at",
|
|
3222
|
+
"type": {
|
|
3223
|
+
"text": "number"
|
|
3224
|
+
},
|
|
3225
|
+
"description": "The sentence index playback begins from"
|
|
3226
|
+
}
|
|
3227
|
+
],
|
|
3228
|
+
"events": [
|
|
3229
|
+
{
|
|
3230
|
+
"name": "play",
|
|
3231
|
+
"description": "Reading started. No detail.",
|
|
3232
|
+
"type": {
|
|
3233
|
+
"text": "CustomEvent"
|
|
3234
|
+
}
|
|
3235
|
+
},
|
|
3236
|
+
{
|
|
3237
|
+
"name": "progress",
|
|
3238
|
+
"description": "A sentence began. detail: { sentence, total }",
|
|
3239
|
+
"type": {
|
|
3240
|
+
"text": "CustomEvent"
|
|
3241
|
+
}
|
|
3242
|
+
},
|
|
3243
|
+
{
|
|
3244
|
+
"name": "stop",
|
|
3245
|
+
"description": "Reading stopped before finishing. No detail.",
|
|
3246
|
+
"type": {
|
|
3247
|
+
"text": "CustomEvent"
|
|
3248
|
+
}
|
|
3249
|
+
},
|
|
3250
|
+
{
|
|
3251
|
+
"name": "end",
|
|
3252
|
+
"description": "Reading finished on its own. No detail.",
|
|
3253
|
+
"type": {
|
|
3254
|
+
"text": "CustomEvent"
|
|
3255
|
+
}
|
|
3256
|
+
},
|
|
3257
|
+
{
|
|
3258
|
+
"name": "error",
|
|
3259
|
+
"description": "The engine failed mid-read. No detail.",
|
|
3260
|
+
"type": {
|
|
3261
|
+
"text": "CustomEvent"
|
|
3262
|
+
}
|
|
3263
|
+
},
|
|
3264
|
+
{
|
|
3265
|
+
"name": "rate-change",
|
|
3266
|
+
"description": "The speed control moved to a new step. detail: { rate }",
|
|
3267
|
+
"type": {
|
|
3268
|
+
"text": "CustomEvent"
|
|
3269
|
+
}
|
|
2830
3270
|
}
|
|
2831
3271
|
],
|
|
2832
3272
|
"cssParts": [
|
|
2833
3273
|
{
|
|
2834
|
-
"name": "
|
|
2835
|
-
"description": "
|
|
3274
|
+
"name": "player",
|
|
3275
|
+
"description": "Outer control group"
|
|
2836
3276
|
},
|
|
2837
3277
|
{
|
|
2838
|
-
"name": "
|
|
2839
|
-
"description": "
|
|
3278
|
+
"name": "play",
|
|
3279
|
+
"description": "The play/pause toggle button"
|
|
2840
3280
|
},
|
|
2841
3281
|
{
|
|
2842
|
-
"name": "
|
|
2843
|
-
"description": "
|
|
3282
|
+
"name": "rate",
|
|
3283
|
+
"description": "The speed control"
|
|
3284
|
+
},
|
|
3285
|
+
{
|
|
3286
|
+
"name": "stop",
|
|
3287
|
+
"description": "The stop button (hidden while idle)"
|
|
2844
3288
|
}
|
|
2845
3289
|
],
|
|
2846
3290
|
"cssProperties": [
|
|
2847
3291
|
{
|
|
2848
|
-
"name": "--
|
|
2849
|
-
"description": "
|
|
3292
|
+
"name": "--speech-player-gap",
|
|
3293
|
+
"description": "Gap between the controls"
|
|
2850
3294
|
},
|
|
2851
3295
|
{
|
|
2852
|
-
"name": "--
|
|
2853
|
-
"description": "
|
|
3296
|
+
"name": "--speech-player-control-size",
|
|
3297
|
+
"description": "Each control's hit-area size (the toggle grows with its label)"
|
|
2854
3298
|
},
|
|
2855
3299
|
{
|
|
2856
|
-
"name": "--
|
|
2857
|
-
"description": "
|
|
3300
|
+
"name": "--speech-player-icon-color",
|
|
3301
|
+
"description": "Control icon color at rest"
|
|
3302
|
+
},
|
|
3303
|
+
{
|
|
3304
|
+
"name": "--speech-player-active-color",
|
|
3305
|
+
"description": "Toggle color while reading (playing or paused)"
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"name": "--speech-player-hover-bg",
|
|
3309
|
+
"description": "Control background on hover"
|
|
2858
3310
|
}
|
|
2859
3311
|
],
|
|
2860
3312
|
"demos": [
|
|
2861
3313
|
{
|
|
2862
3314
|
"url": "",
|
|
2863
|
-
"description": "```html\n<ore-
|
|
3315
|
+
"description": "```html\n<ore-speech-player text=\"The valley sleeps under ash.\"></ore-speech-player>\n<ore-speech-player lang=\"de\" text=\"Das Tal schläft unter Asche.\"></ore-speech-player>\n```"
|
|
2864
3316
|
}
|
|
2865
3317
|
]
|
|
2866
3318
|
},
|
|
@@ -4022,6 +4474,22 @@
|
|
|
4022
4474
|
{
|
|
4023
4475
|
"name": "--accordion-item-summary-padding",
|
|
4024
4476
|
"description": "Content padding"
|
|
4477
|
+
},
|
|
4478
|
+
{
|
|
4479
|
+
"name": "--accordion-item-row-duration",
|
|
4480
|
+
"description": "Expand/collapse row transition duration (default 200ms)"
|
|
4481
|
+
},
|
|
4482
|
+
{
|
|
4483
|
+
"name": "--accordion-item-fade-duration",
|
|
4484
|
+
"description": "Content fade duration (default 200ms)"
|
|
4485
|
+
},
|
|
4486
|
+
{
|
|
4487
|
+
"name": "--accordion-item-fade-delay",
|
|
4488
|
+
"description": "Content fade delay after the row starts (default 60ms)"
|
|
4489
|
+
},
|
|
4490
|
+
{
|
|
4491
|
+
"name": "--accordion-item-collapse-delay",
|
|
4492
|
+
"description": "Delay before the row collapses after the close fade (default 120ms)"
|
|
4025
4493
|
}
|
|
4026
4494
|
],
|
|
4027
4495
|
"demos": [
|
|
@@ -5009,6 +5477,96 @@
|
|
|
5009
5477
|
}
|
|
5010
5478
|
]
|
|
5011
5479
|
},
|
|
5480
|
+
{
|
|
5481
|
+
"kind": "variable",
|
|
5482
|
+
"name": "COOKIE_BANNER_TAG",
|
|
5483
|
+
"type": {
|
|
5484
|
+
"text": "'ore-cookie-banner'"
|
|
5485
|
+
},
|
|
5486
|
+
"default": "'ore-cookie-banner'",
|
|
5487
|
+
"description": "A fixed-position consent banner for cookie/tracker opt-in: a short policy text\n(default slot, links included), optional per-category opt-in checkboxes with\ndescriptions, and accept-all / reject / save actions.\n\nThe layout is a single column — heading, policy text, a scrollable category\npanel, and actions — that scales linearly from one to many categories. Each\ncategory renders as a checkbox row; its optional `description` passes through\nthe checkbox's `helper` mechanism, so it is both visible below the label and\nlinked to the control via `aria-describedby`. The category panel scrolls\ninternally when it exceeds `--cookie-banner-categories-max-height`, so the\nbanner itself never grows past the viewport.\n\nThe banner owns presentation only. It never stores anything: listen for `decide`,\npersist the emitted record yourself (localStorage, a CMP, your own backend), and\ngate third-party embeds on it. The banner hides itself after `decide` unless\n`hide-on-decide` is set to false. Call `show()` again to let the user revise\ntheir choice.\n\nThe banner is a non-modal `role=\"dialog\"`: screen readers announce it when it\nappears, focus moves to the dialog card itself on `show()` — a neutral target,\nso no action is preselected for keyboard users — and returns to the previously\nfocused element on `hide()`. A banner that is simply present at page load (never\nshown via `show()`) does not steal focus and is not announced; consumers that\nwant a load-time announcement should call `show()` from a user gesture.\n\nThe `decide` record contains exactly the currently configured category ids\n(plus `essential`, always true). Replace — do not merge — the stored record\nwith it, so categories removed between sessions drop their stale keys."
|
|
5488
|
+
},
|
|
5489
|
+
{
|
|
5490
|
+
"kind": "class",
|
|
5491
|
+
"name": "OreCookieBannerElement",
|
|
5492
|
+
"tagName": "ore-cookie-banner",
|
|
5493
|
+
"customElement": true,
|
|
5494
|
+
"description": "A fixed-position consent banner for cookie/tracker opt-in: a short policy text\n(default slot, links included), optional per-category opt-in checkboxes with\ndescriptions, and accept-all / reject / save actions.\nThe layout is a single column — heading, policy text, a scrollable category\npanel, and actions — that scales linearly from one to many categories. Each\ncategory renders as a checkbox row; its optional `description` passes through\nthe checkbox's `helper` mechanism, so it is both visible below the label and\nlinked to the control via `aria-describedby`. The category panel scrolls\ninternally when it exceeds `--cookie-banner-categories-max-height`, so the\nbanner itself never grows past the viewport.\nThe banner owns presentation only. It never stores anything: listen for `decide`,\npersist the emitted record yourself (localStorage, a CMP, your own backend), and\ngate third-party embeds on it. The banner hides itself after `decide` unless\n`hide-on-decide` is set to false. Call `show()` again to let the user revise\ntheir choice.\nThe banner is a non-modal `role=\"dialog\"`: screen readers announce it when it\nappears, focus moves to the dialog card itself on `show()` — a neutral target,\nso no action is preselected for keyboard users — and returns to the previously\nfocused element on `hide()`. A banner that is simply present at page load (never\nshown via `show()`) does not steal focus and is not announced; consumers that\nwant a load-time announcement should call `show()` from a user gesture.\nThe `decide` record contains exactly the currently configured category ids\n(plus `essential`, always true). Replace — do not merge — the stored record\nwith it, so categories removed between sessions drop their stale keys.",
|
|
5495
|
+
"summary": "",
|
|
5496
|
+
"attributes": [
|
|
5497
|
+
{
|
|
5498
|
+
"name": "position",
|
|
5499
|
+
"type": {
|
|
5500
|
+
"text": "string"
|
|
5501
|
+
},
|
|
5502
|
+
"description": "Viewport edge: 'bottom' (default) | 'top'"
|
|
5503
|
+
},
|
|
5504
|
+
{
|
|
5505
|
+
"name": "hide-on-decide",
|
|
5506
|
+
"type": {
|
|
5507
|
+
"text": "boolean"
|
|
5508
|
+
},
|
|
5509
|
+
"description": "Hides the banner after `decide` (default true)"
|
|
5510
|
+
}
|
|
5511
|
+
],
|
|
5512
|
+
"events": [
|
|
5513
|
+
{
|
|
5514
|
+
"name": "decide",
|
|
5515
|
+
"description": "A decision was made. detail: { consent } — every category id plus `essential`, always true.",
|
|
5516
|
+
"type": {
|
|
5517
|
+
"text": "CustomEvent"
|
|
5518
|
+
}
|
|
5519
|
+
}
|
|
5520
|
+
],
|
|
5521
|
+
"slots": [
|
|
5522
|
+
{
|
|
5523
|
+
"name": "",
|
|
5524
|
+
"description": "Policy text, including links to the privacy policy and imprint"
|
|
5525
|
+
}
|
|
5526
|
+
],
|
|
5527
|
+
"cssParts": [
|
|
5528
|
+
{
|
|
5529
|
+
"name": "banner",
|
|
5530
|
+
"description": "The banner card"
|
|
5531
|
+
},
|
|
5532
|
+
{
|
|
5533
|
+
"name": "text",
|
|
5534
|
+
"description": "The slot wrapper for the policy text"
|
|
5535
|
+
},
|
|
5536
|
+
{
|
|
5537
|
+
"name": "categories",
|
|
5538
|
+
"description": "The scrollable category panel"
|
|
5539
|
+
},
|
|
5540
|
+
{
|
|
5541
|
+
"name": "actions",
|
|
5542
|
+
"description": "The action buttons"
|
|
5543
|
+
}
|
|
5544
|
+
],
|
|
5545
|
+
"cssProperties": [
|
|
5546
|
+
{
|
|
5547
|
+
"name": "--cookie-banner-width",
|
|
5548
|
+
"description": "Maximum width of the banner card (default min(560px, viewport-fit))"
|
|
5549
|
+
},
|
|
5550
|
+
{
|
|
5551
|
+
"name": "--cookie-banner-inset",
|
|
5552
|
+
"description": "Distance from the viewport edges (default --size-4)"
|
|
5553
|
+
},
|
|
5554
|
+
{
|
|
5555
|
+
"name": "--cookie-banner-z-index",
|
|
5556
|
+
"description": "Stacking order (default --z-modal)"
|
|
5557
|
+
},
|
|
5558
|
+
{
|
|
5559
|
+
"name": "--cookie-banner-categories-max-height",
|
|
5560
|
+
"description": "Category panel scroll threshold (default 16rem)"
|
|
5561
|
+
}
|
|
5562
|
+
],
|
|
5563
|
+
"demos": [
|
|
5564
|
+
{
|
|
5565
|
+
"url": "",
|
|
5566
|
+
"description": "```html\n<ore-cookie-banner>\n We use cookies to keep you logged in and, with your consent, to embed music\n from YouTube. <a href=\"/privacy\">Privacy policy</a>.\n</ore-cookie-banner>\n<script type=\"module\">\n import '@vielzeug/refine/cookie-banner';\n const banner = document.querySelector('ore-cookie-banner');\n banner.categories = [\n { id: 'music', label: 'Music embeds', description: 'Embed music from YouTube' },\n { id: 'stats', label: 'Statistics', description: 'Anonymous usage analytics' },\n ];\n banner.addEventListener('decide', (event) => {\n localStorage.setItem('consent', JSON.stringify(event.detail.consent));\n });\n</script>\n```"
|
|
5567
|
+
}
|
|
5568
|
+
]
|
|
5569
|
+
},
|
|
5012
5570
|
{
|
|
5013
5571
|
"kind": "variable",
|
|
5014
5572
|
"name": "PASSWORD_STRENGTH_TAG",
|
|
@@ -6634,6 +7192,13 @@
|
|
|
6634
7192
|
"text": "'sm' | 'md' | 'lg'"
|
|
6635
7193
|
},
|
|
6636
7194
|
"description": "'sm' | 'md' | 'lg'"
|
|
7195
|
+
},
|
|
7196
|
+
{
|
|
7197
|
+
"name": "variant",
|
|
7198
|
+
"type": {
|
|
7199
|
+
"text": "'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'frost'"
|
|
7200
|
+
},
|
|
7201
|
+
"description": "Surface variant: 'solid' | 'flat' | 'bordered' | 'outline' | 'ghost' | 'frost'"
|
|
6637
7202
|
}
|
|
6638
7203
|
],
|
|
6639
7204
|
"events": [
|
|
@@ -6730,7 +7295,7 @@
|
|
|
6730
7295
|
"demos": [
|
|
6731
7296
|
{
|
|
6732
7297
|
"url": "",
|
|
6733
|
-
"description": "```html\n<ore-counter label=\"Stamina\" value=\"3\" hint=\"Pay for actions\">\n <ore-icon slot=\"icon\" name=\"zap\"></ore-icon>\n</ore-counter>\n<ore-counter label=\"Score\" value=\"10\" min=\"0\" max=\"99\" size=\"lg\" color=\"primary\"></ore-counter>\n<ore-counter label=\"Damage\" value=\"12\" large-step=\"5\" quick-steps></ore-counter>\n```"
|
|
7298
|
+
"description": "```html\n<ore-counter label=\"Stamina\" value=\"3\" hint=\"Pay for actions\">\n <ore-icon slot=\"icon\" name=\"zap\"></ore-icon>\n</ore-counter>\n<ore-counter label=\"Score\" value=\"10\" min=\"0\" max=\"99\" size=\"lg\" color=\"primary\"></ore-counter>\n<ore-counter label=\"Damage\" value=\"12\" large-step=\"5\" quick-steps></ore-counter>\n<ore-counter label=\"Wounds\" value=\"1\" max=\"3\" variant=\"frost\" color=\"error\"></ore-counter>\n```"
|
|
6734
7299
|
}
|
|
6735
7300
|
]
|
|
6736
7301
|
},
|
|
@@ -6839,6 +7404,14 @@
|
|
|
6839
7404
|
],
|
|
6840
7405
|
"members": []
|
|
6841
7406
|
},
|
|
7407
|
+
{
|
|
7408
|
+
"kind": "variable",
|
|
7409
|
+
"name": "DEFAULT_LABELS",
|
|
7410
|
+
"type": {
|
|
7411
|
+
"text": "DataGridLabels"
|
|
7412
|
+
},
|
|
7413
|
+
"default": "{ activeFilters: (count) => `${count} active filter${count === 1 ? '' : 's'}`, addFilter: 'Add filter…', ascending: 'A → Z', clearAllFilters: 'Clear all filters', clearFiltersAndSearch: 'Clear all filters & search', clearSort: 'Clear sort', closeSearch: 'Close search', collapseRow: 'Collapse row', columnOptions: 'Column options', columnVisibility: 'Column visibility', comfortableDensity: 'Density: Comfortable', compactDensity: 'Density: Compact', contains: 'Contains', cozyDensity: 'Density: Cozy', data: 'Data', descending: 'Z → A', emptyValue: '(empty)', equals: 'Equals', expandRow: 'Expand row', filter: 'Filter', filterBy: 'Filter by', filterOperator: (field) => `${field} operator`, greaterThan: 'Greater than', hiddenColumns: (count) => `${count} hidden column${count === 1 ? '' : 's'}`, lessThan: 'Less than', nextPage: 'Next page', numericAscending: '0 → 9', numericDescending: '9 → 0', pageNavigation: 'Page navigation', pagination: 'Pagination', previousPage: 'Previous page', property: 'Property', range: (start, end, total) => `${start} to ${end} of ${total}`, removeFilter: 'Remove filter', resetColumns: 'Reset', rowDetails: 'Row details', rows: (count) => `${count} row${count === 1 ? '' : 's'}`, rowsPerPage: 'Rows per page', search: 'Search', selectAllRows: 'Select all rows on this page', selectRow: 'Select row', sort: 'Sort', sortBy: 'Sort by', views: 'Views', visibleColumns: (count, total) => `${count} of ${total} visible`, }"
|
|
7414
|
+
},
|
|
6842
7415
|
{
|
|
6843
7416
|
"kind": "function",
|
|
6844
7417
|
"name": "createDataGridModel",
|
|
@@ -7288,6 +7861,41 @@
|
|
|
7288
7861
|
"text": "string"
|
|
7289
7862
|
},
|
|
7290
7863
|
"description": "Provide helper context below the dropzone"
|
|
7864
|
+
},
|
|
7865
|
+
{
|
|
7866
|
+
"name": "browse-label",
|
|
7867
|
+
"type": {
|
|
7868
|
+
"text": "string"
|
|
7869
|
+
},
|
|
7870
|
+
"description": "Action half of the dropzone line (default 'click to browse')"
|
|
7871
|
+
},
|
|
7872
|
+
{
|
|
7873
|
+
"name": "dropzone-label",
|
|
7874
|
+
"type": {
|
|
7875
|
+
"text": "string"
|
|
7876
|
+
},
|
|
7877
|
+
"description": "Main half of the dropzone line (default 'Drop files here or')"
|
|
7878
|
+
},
|
|
7879
|
+
{
|
|
7880
|
+
"name": "dropzone-active-label",
|
|
7881
|
+
"type": {
|
|
7882
|
+
"text": "string"
|
|
7883
|
+
},
|
|
7884
|
+
"description": "Dropzone line while a drag is active (default 'Release to upload')"
|
|
7885
|
+
},
|
|
7886
|
+
{
|
|
7887
|
+
"name": "dropzone-hint",
|
|
7888
|
+
"type": {
|
|
7889
|
+
"text": "string"
|
|
7890
|
+
},
|
|
7891
|
+
"description": "Replace the auto-generated accept/max-size hint with this text"
|
|
7892
|
+
},
|
|
7893
|
+
{
|
|
7894
|
+
"name": "files-label",
|
|
7895
|
+
"type": {
|
|
7896
|
+
"text": "string"
|
|
7897
|
+
},
|
|
7898
|
+
"description": "Accessible name of the selected-files list (default 'Selected files')"
|
|
7291
7899
|
}
|
|
7292
7900
|
],
|
|
7293
7901
|
"events": [
|
|
@@ -7305,6 +7913,13 @@
|
|
|
7305
7913
|
"text": "CustomEvent"
|
|
7306
7914
|
}
|
|
7307
7915
|
},
|
|
7916
|
+
{
|
|
7917
|
+
"name": "reject",
|
|
7918
|
+
"description": "detail: { files: File[], reasons: ('size' | 'type')[] } — nothing was added",
|
|
7919
|
+
"type": {
|
|
7920
|
+
"text": "CustomEvent"
|
|
7921
|
+
}
|
|
7922
|
+
},
|
|
7308
7923
|
{
|
|
7309
7924
|
"name": "upload-progress",
|
|
7310
7925
|
"description": "detail: { file: File, loaded: number, total: number }",
|
|
@@ -9112,6 +9727,10 @@
|
|
|
9112
9727
|
"name": "--select-border-color",
|
|
9113
9728
|
"description": "Border color"
|
|
9114
9729
|
},
|
|
9730
|
+
{
|
|
9731
|
+
"name": "--select-min-width",
|
|
9732
|
+
"description": "Minimum width of the select; the trigger floors at it too, so the control never renders wider than its host"
|
|
9733
|
+
},
|
|
9115
9734
|
{
|
|
9116
9735
|
"name": "--select-radius",
|
|
9117
9736
|
"description": "Border radius"
|
|
@@ -9311,6 +9930,42 @@
|
|
|
9311
9930
|
}
|
|
9312
9931
|
]
|
|
9313
9932
|
},
|
|
9933
|
+
{
|
|
9934
|
+
"kind": "function",
|
|
9935
|
+
"name": "eventFieldValue",
|
|
9936
|
+
"return": {
|
|
9937
|
+
"type": {
|
|
9938
|
+
"text": "string | undefined"
|
|
9939
|
+
}
|
|
9940
|
+
},
|
|
9941
|
+
"parameters": [
|
|
9942
|
+
{
|
|
9943
|
+
"name": "event",
|
|
9944
|
+
"type": {
|
|
9945
|
+
"text": "Event"
|
|
9946
|
+
}
|
|
9947
|
+
}
|
|
9948
|
+
],
|
|
9949
|
+
"description": "Reads the `value` off the element an event fired from (`event.currentTarget`), guarding the\ncast: `undefined` when the target is missing or carries no string `value`. The read-side\ncompanion to setFieldValue — consumers wiring a native `change`/`input` handler to a\nfield no longer re-derive the `(currentTarget as HTMLElement & { value: string }).value` cast."
|
|
9950
|
+
},
|
|
9951
|
+
{
|
|
9952
|
+
"kind": "function",
|
|
9953
|
+
"name": "eventFieldChecked",
|
|
9954
|
+
"return": {
|
|
9955
|
+
"type": {
|
|
9956
|
+
"text": "boolean"
|
|
9957
|
+
}
|
|
9958
|
+
},
|
|
9959
|
+
"parameters": [
|
|
9960
|
+
{
|
|
9961
|
+
"name": "event",
|
|
9962
|
+
"type": {
|
|
9963
|
+
"text": "Event"
|
|
9964
|
+
}
|
|
9965
|
+
}
|
|
9966
|
+
],
|
|
9967
|
+
"description": "Reads the `checked` flag off the element an event fired from (`event.currentTarget`), guarding\nthe cast: `false` when the target is missing or carries no boolean `checked`. The read-side\ncompanion to setFieldChecked."
|
|
9968
|
+
},
|
|
9314
9969
|
{
|
|
9315
9970
|
"kind": "function",
|
|
9316
9971
|
"name": "renderHelperRegion",
|
|
@@ -10831,6 +11486,10 @@
|
|
|
10831
11486
|
"name": "end",
|
|
10832
11487
|
"description": "Content rendered in the right/end region"
|
|
10833
11488
|
},
|
|
11489
|
+
{
|
|
11490
|
+
"name": "persistent",
|
|
11491
|
+
"description": "Trailing content that stays in the bar through the mobile collapse (global actions and status icons)"
|
|
11492
|
+
},
|
|
10834
11493
|
{
|
|
10835
11494
|
"name": "mobile-menu",
|
|
10836
11495
|
"description": "Controls and links rendered inside the mobile overflow panel"
|
|
@@ -10861,6 +11520,10 @@
|
|
|
10861
11520
|
"name": "end",
|
|
10862
11521
|
"description": "Trailing action/content region"
|
|
10863
11522
|
},
|
|
11523
|
+
{
|
|
11524
|
+
"name": "persistent",
|
|
11525
|
+
"description": "Trailing region that survives the mobile collapse"
|
|
11526
|
+
},
|
|
10864
11527
|
{
|
|
10865
11528
|
"name": "mobile-toggle",
|
|
10866
11529
|
"description": "Mobile menu toggle button"
|
|
@@ -10968,6 +11631,13 @@
|
|
|
10968
11631
|
"description": "`ore-navbar-item` — Navigation item for navbar slots.\nRenders as an anchor when `href` is provided and item is not disabled.",
|
|
10969
11632
|
"summary": "",
|
|
10970
11633
|
"attributes": [
|
|
11634
|
+
{
|
|
11635
|
+
"name": "aria-label",
|
|
11636
|
+
"type": {
|
|
11637
|
+
"text": "string"
|
|
11638
|
+
},
|
|
11639
|
+
"description": "Accessible name for icon-only items, forwarded to the internal control"
|
|
11640
|
+
},
|
|
10971
11641
|
{
|
|
10972
11642
|
"name": "active",
|
|
10973
11643
|
"type": {
|
|
@@ -11089,6 +11759,13 @@
|
|
|
11089
11759
|
},
|
|
11090
11760
|
"description": "Show the collapse toggle button"
|
|
11091
11761
|
},
|
|
11762
|
+
{
|
|
11763
|
+
"name": "drawer",
|
|
11764
|
+
"type": {
|
|
11765
|
+
"text": "boolean"
|
|
11766
|
+
},
|
|
11767
|
+
"description": "Drawer-only mode: no inline panel and no bottom bar, just the navbar/API-driven drawer"
|
|
11768
|
+
},
|
|
11092
11769
|
{
|
|
11093
11770
|
"name": "variant",
|
|
11094
11771
|
"type": {
|
|
@@ -11113,8 +11790,8 @@
|
|
|
11113
11790
|
}
|
|
11114
11791
|
},
|
|
11115
11792
|
{
|
|
11116
|
-
"name": "
|
|
11117
|
-
"description": "Fired when
|
|
11793
|
+
"name": "drawer-change",
|
|
11794
|
+
"description": "Fired when the drawer open state changes. detail: { open: boolean; source: string }",
|
|
11118
11795
|
"type": {
|
|
11119
11796
|
"text": "CustomEvent"
|
|
11120
11797
|
}
|
|
@@ -11136,8 +11813,8 @@
|
|
|
11136
11813
|
],
|
|
11137
11814
|
"cssParts": [
|
|
11138
11815
|
{
|
|
11139
|
-
"name": "
|
|
11140
|
-
"description": "Backdrop shown
|
|
11816
|
+
"name": "drawer-backdrop",
|
|
11817
|
+
"description": "Backdrop shown behind the open drawer."
|
|
11141
11818
|
},
|
|
11142
11819
|
{
|
|
11143
11820
|
"name": "nav",
|
|
@@ -11209,6 +11886,10 @@
|
|
|
11209
11886
|
"name": "--sidebar-collapsed-width",
|
|
11210
11887
|
"description": "Collapsed sidebar width (default: 3.5rem)"
|
|
11211
11888
|
},
|
|
11889
|
+
{
|
|
11890
|
+
"name": "--sidebar-drawer-width",
|
|
11891
|
+
"description": "Drawer panel width (default: min(--sidebar-width, 85vw))"
|
|
11892
|
+
},
|
|
11212
11893
|
{
|
|
11213
11894
|
"name": "--sidebar-bg",
|
|
11214
11895
|
"description": "Sidebar background color"
|