@kubex/zinc 1.1.159 → 1.1.161
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +148 -77
- package/dist/vscode.html-custom-data.json +21 -12
- package/dist/web-types.json +35 -25
- package/dist/zn.d.ts +122 -110
- package/dist/zn.min.js +186 -183
- package/docs/pages/components/page.md +15 -0
- package/package.json +1 -1
- package/src/components/button/button.component.ts +4 -0
- package/src/components/button/button.test.ts +10 -0
- package/src/components/content-block/content-block.component.ts +2 -3
- package/src/components/flow-builder/modules/flow-node/flow-node.test.ts +2 -3
- package/src/components/flow-builder/modules/flow-step-group/flow-step-group.test.ts +14 -8
- package/src/components/form-actions/form-actions.test.ts +4 -1
- package/src/components/form-group/form-group.component.ts +45 -15
- package/src/components/navbar/navbar.test.ts +3 -2
- package/src/components/page/page.component.ts +25 -4
- package/src/components/page/page.test.ts +68 -16
- package/src/components/sp/sp.test.ts +2 -2
- package/src/components/tabs/tabs.component.ts +1 -1
- package/src/components/theme-editor/theme-editor.component.ts +3 -2
- package/src/components/theme-editor/theme-editor.test.ts +30 -28
- package/src/components/translation-group/translation-group.test.ts +0 -2
|
@@ -56,6 +56,79 @@
|
|
|
56
56
|
}
|
|
57
57
|
]
|
|
58
58
|
},
|
|
59
|
+
{
|
|
60
|
+
"kind": "javascript-module",
|
|
61
|
+
"path": "components/action-bar/action-bar.js",
|
|
62
|
+
"declarations": [
|
|
63
|
+
{
|
|
64
|
+
"kind": "class",
|
|
65
|
+
"description": "",
|
|
66
|
+
"name": "ZnActionBar",
|
|
67
|
+
"cssProperties": [
|
|
68
|
+
{
|
|
69
|
+
"description": "An example CSS custom property.",
|
|
70
|
+
"name": "--example"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"cssParts": [
|
|
74
|
+
{
|
|
75
|
+
"description": "The component's base wrapper.",
|
|
76
|
+
"name": "base"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"slots": [
|
|
80
|
+
{
|
|
81
|
+
"description": "The default slot.",
|
|
82
|
+
"name": ""
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"description": "An example slot.",
|
|
86
|
+
"name": "example"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"members": [
|
|
90
|
+
{
|
|
91
|
+
"kind": "field",
|
|
92
|
+
"name": "localize",
|
|
93
|
+
"privacy": "private",
|
|
94
|
+
"readonly": true,
|
|
95
|
+
"default": "new LocalizeController(this)"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"events": [
|
|
99
|
+
{
|
|
100
|
+
"description": "Emitted as an example.",
|
|
101
|
+
"name": "zn-event-name"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"superclass": {
|
|
105
|
+
"name": "ZincElement",
|
|
106
|
+
"module": "/src/internal/zinc-element"
|
|
107
|
+
},
|
|
108
|
+
"summary": "Short summary of the component's intended use.",
|
|
109
|
+
"tagNameWithoutPrefix": "action-bar",
|
|
110
|
+
"tagName": "zn-action-bar",
|
|
111
|
+
"customElement": true,
|
|
112
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/action-bar\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
113
|
+
"documentation": "https://zinc.style/components/action-bar",
|
|
114
|
+
"status": "experimental",
|
|
115
|
+
"since": "1.0",
|
|
116
|
+
"dependencies": [
|
|
117
|
+
"zn-example"
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"exports": [
|
|
122
|
+
{
|
|
123
|
+
"kind": "js",
|
|
124
|
+
"name": "default",
|
|
125
|
+
"declaration": {
|
|
126
|
+
"name": "ZnActionBar",
|
|
127
|
+
"module": "components/action-bar/action-bar.js"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
59
132
|
{
|
|
60
133
|
"kind": "javascript-module",
|
|
61
134
|
"path": "components/alert/alert.js",
|
|
@@ -250,79 +323,6 @@
|
|
|
250
323
|
}
|
|
251
324
|
]
|
|
252
325
|
},
|
|
253
|
-
{
|
|
254
|
-
"kind": "javascript-module",
|
|
255
|
-
"path": "components/action-bar/action-bar.js",
|
|
256
|
-
"declarations": [
|
|
257
|
-
{
|
|
258
|
-
"kind": "class",
|
|
259
|
-
"description": "",
|
|
260
|
-
"name": "ZnActionBar",
|
|
261
|
-
"cssProperties": [
|
|
262
|
-
{
|
|
263
|
-
"description": "An example CSS custom property.",
|
|
264
|
-
"name": "--example"
|
|
265
|
-
}
|
|
266
|
-
],
|
|
267
|
-
"cssParts": [
|
|
268
|
-
{
|
|
269
|
-
"description": "The component's base wrapper.",
|
|
270
|
-
"name": "base"
|
|
271
|
-
}
|
|
272
|
-
],
|
|
273
|
-
"slots": [
|
|
274
|
-
{
|
|
275
|
-
"description": "The default slot.",
|
|
276
|
-
"name": ""
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"description": "An example slot.",
|
|
280
|
-
"name": "example"
|
|
281
|
-
}
|
|
282
|
-
],
|
|
283
|
-
"members": [
|
|
284
|
-
{
|
|
285
|
-
"kind": "field",
|
|
286
|
-
"name": "localize",
|
|
287
|
-
"privacy": "private",
|
|
288
|
-
"readonly": true,
|
|
289
|
-
"default": "new LocalizeController(this)"
|
|
290
|
-
}
|
|
291
|
-
],
|
|
292
|
-
"events": [
|
|
293
|
-
{
|
|
294
|
-
"description": "Emitted as an example.",
|
|
295
|
-
"name": "zn-event-name"
|
|
296
|
-
}
|
|
297
|
-
],
|
|
298
|
-
"superclass": {
|
|
299
|
-
"name": "ZincElement",
|
|
300
|
-
"module": "/src/internal/zinc-element"
|
|
301
|
-
},
|
|
302
|
-
"summary": "Short summary of the component's intended use.",
|
|
303
|
-
"tagNameWithoutPrefix": "action-bar",
|
|
304
|
-
"tagName": "zn-action-bar",
|
|
305
|
-
"customElement": true,
|
|
306
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/action-bar\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
307
|
-
"documentation": "https://zinc.style/components/action-bar",
|
|
308
|
-
"status": "experimental",
|
|
309
|
-
"since": "1.0",
|
|
310
|
-
"dependencies": [
|
|
311
|
-
"zn-example"
|
|
312
|
-
]
|
|
313
|
-
}
|
|
314
|
-
],
|
|
315
|
-
"exports": [
|
|
316
|
-
{
|
|
317
|
-
"kind": "js",
|
|
318
|
-
"name": "default",
|
|
319
|
-
"declaration": {
|
|
320
|
-
"name": "ZnActionBar",
|
|
321
|
-
"module": "components/action-bar/action-bar.js"
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
]
|
|
325
|
-
},
|
|
326
326
|
{
|
|
327
327
|
"kind": "javascript-module",
|
|
328
328
|
"path": "components/animated-button/animated-button.js",
|
|
@@ -1905,6 +1905,15 @@
|
|
|
1905
1905
|
"description": "Accessible name for the button. Icon-only buttons fall back to `tooltip`.",
|
|
1906
1906
|
"attribute": "label"
|
|
1907
1907
|
},
|
|
1908
|
+
{
|
|
1909
|
+
"kind": "field",
|
|
1910
|
+
"name": "pressed",
|
|
1911
|
+
"type": {
|
|
1912
|
+
"text": "'true' | 'false' | 'mixed'"
|
|
1913
|
+
},
|
|
1914
|
+
"description": "Toggle state, forwarded to the inner button's `aria-pressed`.",
|
|
1915
|
+
"attribute": "aria-pressed"
|
|
1916
|
+
},
|
|
1908
1917
|
{
|
|
1909
1918
|
"kind": "field",
|
|
1910
1919
|
"name": "autoClick",
|
|
@@ -2367,6 +2376,14 @@
|
|
|
2367
2376
|
"description": "Accessible name for the button. Icon-only buttons fall back to `tooltip`.",
|
|
2368
2377
|
"fieldName": "label"
|
|
2369
2378
|
},
|
|
2379
|
+
{
|
|
2380
|
+
"name": "aria-pressed",
|
|
2381
|
+
"type": {
|
|
2382
|
+
"text": "'true' | 'false' | 'mixed'"
|
|
2383
|
+
},
|
|
2384
|
+
"description": "Toggle state, forwarded to the inner button's `aria-pressed`.",
|
|
2385
|
+
"fieldName": "pressed"
|
|
2386
|
+
},
|
|
2370
2387
|
{
|
|
2371
2388
|
"name": "auto-click",
|
|
2372
2389
|
"type": {
|
|
@@ -17790,6 +17807,15 @@
|
|
|
17790
17807
|
"privacy": "private",
|
|
17791
17808
|
"default": "null"
|
|
17792
17809
|
},
|
|
17810
|
+
{
|
|
17811
|
+
"kind": "field",
|
|
17812
|
+
"name": "observedAncestors",
|
|
17813
|
+
"type": {
|
|
17814
|
+
"text": "Set<HTMLElement>"
|
|
17815
|
+
},
|
|
17816
|
+
"privacy": "private",
|
|
17817
|
+
"default": "new Set()"
|
|
17818
|
+
},
|
|
17793
17819
|
{
|
|
17794
17820
|
"kind": "field",
|
|
17795
17821
|
"name": "labelColumn",
|
|
@@ -17812,7 +17838,7 @@
|
|
|
17812
17838
|
}
|
|
17813
17839
|
}
|
|
17814
17840
|
],
|
|
17815
|
-
"description": "Coalesces scroll and resize work into one frame
|
|
17841
|
+
"description": "Coalesces scroll and resize work into one frame."
|
|
17816
17842
|
},
|
|
17817
17843
|
{
|
|
17818
17844
|
"kind": "method",
|
|
@@ -17845,6 +17871,26 @@
|
|
|
17845
17871
|
"privacy": "private",
|
|
17846
17872
|
"description": "Drops everything this component has put on the label or on the scroller."
|
|
17847
17873
|
},
|
|
17874
|
+
{
|
|
17875
|
+
"kind": "method",
|
|
17876
|
+
"name": "observeAncestors",
|
|
17877
|
+
"privacy": "private",
|
|
17878
|
+
"parameters": [
|
|
17879
|
+
{
|
|
17880
|
+
"name": "from",
|
|
17881
|
+
"type": {
|
|
17882
|
+
"text": "HTMLElement"
|
|
17883
|
+
}
|
|
17884
|
+
},
|
|
17885
|
+
{
|
|
17886
|
+
"name": "scroller",
|
|
17887
|
+
"type": {
|
|
17888
|
+
"text": "HTMLElement | null"
|
|
17889
|
+
}
|
|
17890
|
+
}
|
|
17891
|
+
],
|
|
17892
|
+
"description": "The label's travel is measured against the scroller, so content growing elsewhere in it — a sibling group revealing\nmore fields — leaves the label at a stale position until something re-measures. Any such growth resizes a box\nbetween this group and the scroller."
|
|
17893
|
+
},
|
|
17848
17894
|
{
|
|
17849
17895
|
"kind": "method",
|
|
17850
17896
|
"name": "scrollTarget",
|
|
@@ -26697,7 +26743,7 @@
|
|
|
26697
26743
|
"name": "ZnPage",
|
|
26698
26744
|
"slots": [
|
|
26699
26745
|
{
|
|
26700
|
-
"description": "Page content. Use zn-tab for named tabs and header-action/header-actions for header actions.",
|
|
26746
|
+
"description": "Page content. Use zn-tab for named tabs and header-action/header-actions for header actions. Clicking an element in the content with `tab=\"<tab id>\"` opens that tab.",
|
|
26701
26747
|
"name": "",
|
|
26702
26748
|
"inheritedFrom": {
|
|
26703
26749
|
"name": "ZnTabs",
|
|
@@ -27027,6 +27073,11 @@
|
|
|
27027
27073
|
}
|
|
27028
27074
|
]
|
|
27029
27075
|
},
|
|
27076
|
+
{
|
|
27077
|
+
"kind": "field",
|
|
27078
|
+
"name": "handleContentTabClick",
|
|
27079
|
+
"privacy": "private"
|
|
27080
|
+
},
|
|
27030
27081
|
{
|
|
27031
27082
|
"kind": "method",
|
|
27032
27083
|
"name": "handleNavigationSelect",
|
|
@@ -27135,6 +27186,10 @@
|
|
|
27135
27186
|
{
|
|
27136
27187
|
"name": "store",
|
|
27137
27188
|
"default": "false"
|
|
27189
|
+
},
|
|
27190
|
+
{
|
|
27191
|
+
"name": "pushHistory",
|
|
27192
|
+
"default": "false"
|
|
27138
27193
|
}
|
|
27139
27194
|
]
|
|
27140
27195
|
},
|
|
@@ -28375,7 +28430,7 @@
|
|
|
28375
28430
|
"tagNameWithoutPrefix": "page",
|
|
28376
28431
|
"tagName": "zn-page",
|
|
28377
28432
|
"customElement": true,
|
|
28378
|
-
"jsDoc": "/**\n * @summary Combines a page header with tab navigation and tab panels.\n * @documentation https://zinc.style/components/page\n * @status experimental\n * @since 1.0\n *\n * @slot - Page content. Use zn-tab for named tabs and header-action/header-actions for header actions.\n * @slot description - Rich subtitle/description content. Falls back to the `summary` attribute when empty.\n * @slot bottom - Content rendered below the navbar row (e.g. chips, filters). Forwarded to the navbar's bottom slot.\n */",
|
|
28433
|
+
"jsDoc": "/**\n * @summary Combines a page header with tab navigation and tab panels.\n * @documentation https://zinc.style/components/page\n * @status experimental\n * @since 1.0\n *\n * @slot - Page content. Use zn-tab for named tabs and header-action/header-actions for header actions.\n * Clicking an element in the content with `tab=\"<tab id>\"` opens that tab.\n * @slot description - Rich subtitle/description content. Falls back to the `summary` attribute when empty.\n * @slot bottom - Content rendered below the navbar row (e.g. chips, filters). Forwarded to the navbar's bottom slot.\n */",
|
|
28379
28434
|
"documentation": "https://zinc.style/components/page",
|
|
28380
28435
|
"status": "experimental",
|
|
28381
28436
|
"since": "1.0",
|
|
@@ -46105,6 +46160,14 @@
|
|
|
46105
46160
|
"kind": "javascript-module",
|
|
46106
46161
|
"path": "components/tabs/tabs.js",
|
|
46107
46162
|
"declarations": [
|
|
46163
|
+
{
|
|
46164
|
+
"kind": "variable",
|
|
46165
|
+
"name": "tabContainerSelector",
|
|
46166
|
+
"type": {
|
|
46167
|
+
"text": "string"
|
|
46168
|
+
},
|
|
46169
|
+
"default": "'zn-tabs, zn-page, zn-page-nav'"
|
|
46170
|
+
},
|
|
46108
46171
|
{
|
|
46109
46172
|
"kind": "class",
|
|
46110
46173
|
"description": "",
|
|
@@ -46987,6 +47050,14 @@
|
|
|
46987
47050
|
}
|
|
46988
47051
|
],
|
|
46989
47052
|
"exports": [
|
|
47053
|
+
{
|
|
47054
|
+
"kind": "js",
|
|
47055
|
+
"name": "tabContainerSelector",
|
|
47056
|
+
"declaration": {
|
|
47057
|
+
"name": "tabContainerSelector",
|
|
47058
|
+
"module": "components/tabs/tabs.js"
|
|
47059
|
+
}
|
|
47060
|
+
},
|
|
46990
47061
|
{
|
|
46991
47062
|
"kind": "js",
|
|
46992
47063
|
"name": "default",
|
|
@@ -53607,7 +53678,7 @@
|
|
|
53607
53678
|
"package": {
|
|
53608
53679
|
"name": "@kubex/zinc",
|
|
53609
53680
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
53610
|
-
"version": "1.1.
|
|
53681
|
+
"version": "1.1.161",
|
|
53611
53682
|
"author": "",
|
|
53612
53683
|
"license": "MIT"
|
|
53613
53684
|
}
|
|
@@ -13,6 +13,17 @@
|
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
+
{
|
|
17
|
+
"name": "zn-action-bar",
|
|
18
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
19
|
+
"attributes": [],
|
|
20
|
+
"references": [
|
|
21
|
+
{
|
|
22
|
+
"name": "Documentation",
|
|
23
|
+
"url": "https://zinc.style/components/action-bar"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
16
27
|
{
|
|
17
28
|
"name": "zn-alert",
|
|
18
29
|
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -53,17 +64,6 @@
|
|
|
53
64
|
}
|
|
54
65
|
]
|
|
55
66
|
},
|
|
56
|
-
{
|
|
57
|
-
"name": "zn-action-bar",
|
|
58
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
59
|
-
"attributes": [],
|
|
60
|
-
"references": [
|
|
61
|
-
{
|
|
62
|
-
"name": "Documentation",
|
|
63
|
-
"url": "https://zinc.style/components/action-bar"
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
67
|
{
|
|
68
68
|
"name": "zn-animated-button",
|
|
69
69
|
"description": "\n---\n\n\n### **Methods:**\n - **purchase(): _void_** - Programmatically trigger the purchase flow\n- **setSuccess(): _void_** - Set the button to success state manually\n- **setFailure(message): _void_** - Set the button to failure state manually with optional error message\n- **reset(): _void_** - Reset the button to idle state",
|
|
@@ -328,6 +328,15 @@
|
|
|
328
328
|
"description": "Accessible name for the button. Icon-only buttons fall back to `tooltip`.",
|
|
329
329
|
"values": []
|
|
330
330
|
},
|
|
331
|
+
{
|
|
332
|
+
"name": "aria-pressed",
|
|
333
|
+
"description": "Toggle state, forwarded to the inner button's `aria-pressed`.",
|
|
334
|
+
"values": [
|
|
335
|
+
{ "name": "true" },
|
|
336
|
+
{ "name": "false" },
|
|
337
|
+
{ "name": "mixed" }
|
|
338
|
+
]
|
|
339
|
+
},
|
|
331
340
|
{ "name": "auto-click", "values": [] },
|
|
332
341
|
{ "name": "auto-click-delay", "values": [] },
|
|
333
342
|
{ "name": "loading-text", "values": [] },
|
|
@@ -2933,7 +2942,7 @@
|
|
|
2933
2942
|
},
|
|
2934
2943
|
{
|
|
2935
2944
|
"name": "zn-page",
|
|
2936
|
-
"description": "Combines a page header with tab navigation and tab panels.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Methods:**\n \n\n\n### **Slots:**\n - _default_ - Page content. Use zn-tab for named tabs and header-action/header-actions for header actions.\n- **description** - Rich subtitle/description content. Falls back to the `summary` attribute when empty.\n- **bottom** - Content rendered below the navbar row (e.g. chips, filters). Forwarded to the navbar's bottom slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
2945
|
+
"description": "Combines a page header with tab navigation and tab panels.\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Methods:**\n \n\n\n### **Slots:**\n - _default_ - Page content. Use zn-tab for named tabs and header-action/header-actions for header actions. Clicking an element in the content with `tab=\"<tab id>\"` opens that tab.\n- **description** - Rich subtitle/description content. Falls back to the `summary` attribute when empty.\n- **bottom** - Content rendered below the navbar row (e.g. chips, filters). Forwarded to the navbar's bottom slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
2937
2946
|
"attributes": [
|
|
2938
2947
|
{ "name": "caption", "values": [] },
|
|
2939
2948
|
{ "name": "entity-id", "values": [] },
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@kubex/zinc",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.161",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -15,6 +15,28 @@
|
|
|
15
15
|
"events": [],
|
|
16
16
|
"js": { "properties": [], "events": [] }
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
"name": "zn-action-bar",
|
|
20
|
+
"description": "Short summary of the component's intended use.\n\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
21
|
+
"doc-url": "",
|
|
22
|
+
"attributes": [],
|
|
23
|
+
"slots": [
|
|
24
|
+
{ "name": "", "description": "The default slot." },
|
|
25
|
+
{ "name": "example", "description": "An example slot." }
|
|
26
|
+
],
|
|
27
|
+
"events": [
|
|
28
|
+
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
29
|
+
],
|
|
30
|
+
"js": {
|
|
31
|
+
"properties": [],
|
|
32
|
+
"events": [
|
|
33
|
+
{
|
|
34
|
+
"name": "zn-event-name",
|
|
35
|
+
"description": "Emitted as an example."
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
18
40
|
{
|
|
19
41
|
"name": "zn-alert",
|
|
20
42
|
"description": "Short summary of the component's intended use.\n\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
@@ -83,28 +105,6 @@
|
|
|
83
105
|
]
|
|
84
106
|
}
|
|
85
107
|
},
|
|
86
|
-
{
|
|
87
|
-
"name": "zn-action-bar",
|
|
88
|
-
"description": "Short summary of the component's intended use.\n\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
89
|
-
"doc-url": "",
|
|
90
|
-
"attributes": [],
|
|
91
|
-
"slots": [
|
|
92
|
-
{ "name": "", "description": "The default slot." },
|
|
93
|
-
{ "name": "example", "description": "An example slot." }
|
|
94
|
-
],
|
|
95
|
-
"events": [
|
|
96
|
-
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
97
|
-
],
|
|
98
|
-
"js": {
|
|
99
|
-
"properties": [],
|
|
100
|
-
"events": [
|
|
101
|
-
{
|
|
102
|
-
"name": "zn-event-name",
|
|
103
|
-
"description": "Emitted as an example."
|
|
104
|
-
}
|
|
105
|
-
]
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
108
|
{
|
|
109
109
|
"name": "zn-animated-button",
|
|
110
110
|
"description": "\n\n---\n\n\n### **Methods:**\n - **purchase(): _void_** - Programmatically trigger the purchase flow\n- **setSuccess(): _void_** - Set the button to success state manually\n- **setFailure(message): _void_** - Set the button to failure state manually with optional error message\n- **reset(): _void_** - Reset the button to idle state",
|
|
@@ -520,6 +520,11 @@
|
|
|
520
520
|
"description": "Accessible name for the button. Icon-only buttons fall back to `tooltip`.",
|
|
521
521
|
"value": { "type": "string" }
|
|
522
522
|
},
|
|
523
|
+
{
|
|
524
|
+
"name": "aria-pressed",
|
|
525
|
+
"description": "Toggle state, forwarded to the inner button's `aria-pressed`.",
|
|
526
|
+
"value": { "type": "'true' | 'false' | 'mixed'" }
|
|
527
|
+
},
|
|
523
528
|
{
|
|
524
529
|
"name": "auto-click",
|
|
525
530
|
"value": { "type": "boolean", "default": "false" }
|
|
@@ -648,6 +653,11 @@
|
|
|
648
653
|
"description": "Accessible name for the button. Icon-only buttons fall back to `tooltip`.",
|
|
649
654
|
"type": "string"
|
|
650
655
|
},
|
|
656
|
+
{
|
|
657
|
+
"name": "pressed",
|
|
658
|
+
"description": "Toggle state, forwarded to the inner button's `aria-pressed`.",
|
|
659
|
+
"type": "'true' | 'false' | 'mixed'"
|
|
660
|
+
},
|
|
651
661
|
{ "name": "autoClick", "type": "boolean" },
|
|
652
662
|
{ "name": "autoClickDelay", "type": "number" },
|
|
653
663
|
{ "name": "loadingText", "type": "string" },
|
|
@@ -6869,7 +6879,7 @@
|
|
|
6869
6879
|
},
|
|
6870
6880
|
{
|
|
6871
6881
|
"name": "zn-page",
|
|
6872
|
-
"description": "Combines a page header with tab navigation and tab panels.\n\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Methods:**\n \n\n\n### **Slots:**\n - _default_ - Page content. Use zn-tab for named tabs and header-action/header-actions for header actions.\n- **description** - Rich subtitle/description content. Falls back to the `summary` attribute when empty.\n- **bottom** - Content rendered below the navbar row (e.g. chips, filters). Forwarded to the navbar's bottom slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
6882
|
+
"description": "Combines a page header with tab navigation and tab panels.\n\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Methods:**\n \n\n\n### **Slots:**\n - _default_ - Page content. Use zn-tab for named tabs and header-action/header-actions for header actions. Clicking an element in the content with `tab=\"<tab id>\"` opens that tab.\n- **description** - Rich subtitle/description content. Falls back to the `summary` attribute when empty.\n- **bottom** - Content rendered below the navbar row (e.g. chips, filters). Forwarded to the navbar's bottom slot.\n- **example** - An example slot.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
6873
6883
|
"doc-url": "",
|
|
6874
6884
|
"attributes": [
|
|
6875
6885
|
{ "name": "caption", "value": { "type": "string" } },
|
|
@@ -6951,7 +6961,7 @@
|
|
|
6951
6961
|
"slots": [
|
|
6952
6962
|
{
|
|
6953
6963
|
"name": "",
|
|
6954
|
-
"description": "Page content. Use zn-tab for named tabs and header-action/header-actions for header actions."
|
|
6964
|
+
"description": "Page content. Use zn-tab for named tabs and header-action/header-actions for header actions. Clicking an element in the content with `tab=\"<tab id>\"` opens that tab."
|
|
6955
6965
|
},
|
|
6956
6966
|
{
|
|
6957
6967
|
"name": "description",
|