@kubex/zinc 1.1.29 → 1.1.32
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 +161 -79
- package/dist/vscode.html-custom-data.json +15 -13
- package/dist/web-types.json +62 -30
- package/dist/zn.d.ts +14 -2
- package/dist/zn.min.js +1182 -1185
- package/docs/pages/components/settings-container.md +37 -2
- package/package.json +1 -1
- package/src/components/editor/editor.component.ts +1 -2
- package/src/components/header/header.scss +3 -1
- package/src/components/icon-picker/material-icons.ts +530 -10442
- package/src/components/panel/panel.scss +1 -0
- package/src/components/rating/rating.component.ts +1 -2
- package/src/components/settings-container/settings-container.component.ts +74 -9
- package/src/components/settings-container/settings-container.scss +75 -0
- package/src/components/settings-container/settings-container.test.ts +35 -0
|
@@ -47,79 +47,6 @@
|
|
|
47
47
|
}
|
|
48
48
|
]
|
|
49
49
|
},
|
|
50
|
-
{
|
|
51
|
-
"kind": "javascript-module",
|
|
52
|
-
"path": "components/action-bar/action-bar.js",
|
|
53
|
-
"declarations": [
|
|
54
|
-
{
|
|
55
|
-
"kind": "class",
|
|
56
|
-
"description": "",
|
|
57
|
-
"name": "ZnActionBar",
|
|
58
|
-
"cssProperties": [
|
|
59
|
-
{
|
|
60
|
-
"description": "An example CSS custom property.",
|
|
61
|
-
"name": "--example"
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
|
-
"cssParts": [
|
|
65
|
-
{
|
|
66
|
-
"description": "The component's base wrapper.",
|
|
67
|
-
"name": "base"
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
"slots": [
|
|
71
|
-
{
|
|
72
|
-
"description": "The default slot.",
|
|
73
|
-
"name": ""
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"description": "An example slot.",
|
|
77
|
-
"name": "example"
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"members": [
|
|
81
|
-
{
|
|
82
|
-
"kind": "field",
|
|
83
|
-
"name": "localize",
|
|
84
|
-
"privacy": "private",
|
|
85
|
-
"readonly": true,
|
|
86
|
-
"default": "new LocalizeController(this)"
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
"events": [
|
|
90
|
-
{
|
|
91
|
-
"description": "Emitted as an example.",
|
|
92
|
-
"name": "zn-event-name"
|
|
93
|
-
}
|
|
94
|
-
],
|
|
95
|
-
"superclass": {
|
|
96
|
-
"name": "ZincElement",
|
|
97
|
-
"module": "/src/internal/zinc-element"
|
|
98
|
-
},
|
|
99
|
-
"summary": "Short summary of the component's intended use.",
|
|
100
|
-
"tagNameWithoutPrefix": "action-bar",
|
|
101
|
-
"tagName": "zn-action-bar",
|
|
102
|
-
"customElement": true,
|
|
103
|
-
"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 */",
|
|
104
|
-
"documentation": "https://zinc.style/components/action-bar",
|
|
105
|
-
"status": "experimental",
|
|
106
|
-
"since": "1.0",
|
|
107
|
-
"dependencies": [
|
|
108
|
-
"zn-example"
|
|
109
|
-
]
|
|
110
|
-
}
|
|
111
|
-
],
|
|
112
|
-
"exports": [
|
|
113
|
-
{
|
|
114
|
-
"kind": "js",
|
|
115
|
-
"name": "default",
|
|
116
|
-
"declaration": {
|
|
117
|
-
"name": "ZnActionBar",
|
|
118
|
-
"module": "components/action-bar/action-bar.js"
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
]
|
|
122
|
-
},
|
|
123
50
|
{
|
|
124
51
|
"kind": "javascript-module",
|
|
125
52
|
"path": "components/alert/alert.js",
|
|
@@ -296,6 +223,79 @@
|
|
|
296
223
|
}
|
|
297
224
|
]
|
|
298
225
|
},
|
|
226
|
+
{
|
|
227
|
+
"kind": "javascript-module",
|
|
228
|
+
"path": "components/action-bar/action-bar.js",
|
|
229
|
+
"declarations": [
|
|
230
|
+
{
|
|
231
|
+
"kind": "class",
|
|
232
|
+
"description": "",
|
|
233
|
+
"name": "ZnActionBar",
|
|
234
|
+
"cssProperties": [
|
|
235
|
+
{
|
|
236
|
+
"description": "An example CSS custom property.",
|
|
237
|
+
"name": "--example"
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
"cssParts": [
|
|
241
|
+
{
|
|
242
|
+
"description": "The component's base wrapper.",
|
|
243
|
+
"name": "base"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"slots": [
|
|
247
|
+
{
|
|
248
|
+
"description": "The default slot.",
|
|
249
|
+
"name": ""
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"description": "An example slot.",
|
|
253
|
+
"name": "example"
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"members": [
|
|
257
|
+
{
|
|
258
|
+
"kind": "field",
|
|
259
|
+
"name": "localize",
|
|
260
|
+
"privacy": "private",
|
|
261
|
+
"readonly": true,
|
|
262
|
+
"default": "new LocalizeController(this)"
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"events": [
|
|
266
|
+
{
|
|
267
|
+
"description": "Emitted as an example.",
|
|
268
|
+
"name": "zn-event-name"
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"superclass": {
|
|
272
|
+
"name": "ZincElement",
|
|
273
|
+
"module": "/src/internal/zinc-element"
|
|
274
|
+
},
|
|
275
|
+
"summary": "Short summary of the component's intended use.",
|
|
276
|
+
"tagNameWithoutPrefix": "action-bar",
|
|
277
|
+
"tagName": "zn-action-bar",
|
|
278
|
+
"customElement": true,
|
|
279
|
+
"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 */",
|
|
280
|
+
"documentation": "https://zinc.style/components/action-bar",
|
|
281
|
+
"status": "experimental",
|
|
282
|
+
"since": "1.0",
|
|
283
|
+
"dependencies": [
|
|
284
|
+
"zn-example"
|
|
285
|
+
]
|
|
286
|
+
}
|
|
287
|
+
],
|
|
288
|
+
"exports": [
|
|
289
|
+
{
|
|
290
|
+
"kind": "js",
|
|
291
|
+
"name": "default",
|
|
292
|
+
"declaration": {
|
|
293
|
+
"name": "ZnActionBar",
|
|
294
|
+
"module": "components/action-bar/action-bar.js"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
},
|
|
299
299
|
{
|
|
300
300
|
"kind": "javascript-module",
|
|
301
301
|
"path": "components/animated-button/animated-button.js",
|
|
@@ -32216,8 +32216,16 @@
|
|
|
32216
32216
|
"name": ""
|
|
32217
32217
|
},
|
|
32218
32218
|
{
|
|
32219
|
-
"description": "
|
|
32220
|
-
"name": "
|
|
32219
|
+
"description": "Filter definitions used to toggle visibility of content.",
|
|
32220
|
+
"name": "filter"
|
|
32221
|
+
},
|
|
32222
|
+
{
|
|
32223
|
+
"description": "Custom content for the settings panel.",
|
|
32224
|
+
"name": "dropdown-content"
|
|
32225
|
+
},
|
|
32226
|
+
{
|
|
32227
|
+
"description": "Extra content rendered inside the pull tab next to the chevron.",
|
|
32228
|
+
"name": "tab"
|
|
32221
32229
|
}
|
|
32222
32230
|
],
|
|
32223
32231
|
"members": [
|
|
@@ -32254,6 +32262,35 @@
|
|
|
32254
32262
|
},
|
|
32255
32263
|
"attribute": "no-scroll"
|
|
32256
32264
|
},
|
|
32265
|
+
{
|
|
32266
|
+
"kind": "field",
|
|
32267
|
+
"name": "pullTab",
|
|
32268
|
+
"type": {
|
|
32269
|
+
"text": "boolean"
|
|
32270
|
+
},
|
|
32271
|
+
"default": "false",
|
|
32272
|
+
"attribute": "pull-tab",
|
|
32273
|
+
"reflects": true
|
|
32274
|
+
},
|
|
32275
|
+
{
|
|
32276
|
+
"kind": "field",
|
|
32277
|
+
"name": "open",
|
|
32278
|
+
"type": {
|
|
32279
|
+
"text": "boolean"
|
|
32280
|
+
},
|
|
32281
|
+
"default": "false",
|
|
32282
|
+
"attribute": "open",
|
|
32283
|
+
"reflects": true
|
|
32284
|
+
},
|
|
32285
|
+
{
|
|
32286
|
+
"kind": "field",
|
|
32287
|
+
"name": "panelExpanded",
|
|
32288
|
+
"type": {
|
|
32289
|
+
"text": "boolean"
|
|
32290
|
+
},
|
|
32291
|
+
"privacy": "private",
|
|
32292
|
+
"default": "false"
|
|
32293
|
+
},
|
|
32257
32294
|
{
|
|
32258
32295
|
"kind": "field",
|
|
32259
32296
|
"name": "_mutationObserver",
|
|
@@ -32287,6 +32324,26 @@
|
|
|
32287
32324
|
"privacy": "private",
|
|
32288
32325
|
"default": "new Set()"
|
|
32289
32326
|
},
|
|
32327
|
+
{
|
|
32328
|
+
"kind": "field",
|
|
32329
|
+
"name": "handleDocumentMouseDown",
|
|
32330
|
+
"privacy": "private"
|
|
32331
|
+
},
|
|
32332
|
+
{
|
|
32333
|
+
"kind": "field",
|
|
32334
|
+
"name": "togglePullTab",
|
|
32335
|
+
"privacy": "private"
|
|
32336
|
+
},
|
|
32337
|
+
{
|
|
32338
|
+
"kind": "method",
|
|
32339
|
+
"name": "hidePullTab",
|
|
32340
|
+
"privacy": "private"
|
|
32341
|
+
},
|
|
32342
|
+
{
|
|
32343
|
+
"kind": "field",
|
|
32344
|
+
"name": "handlePanelTransitionEnd",
|
|
32345
|
+
"privacy": "private"
|
|
32346
|
+
},
|
|
32290
32347
|
{
|
|
32291
32348
|
"kind": "method",
|
|
32292
32349
|
"name": "scheduleUpdateFilters",
|
|
@@ -32342,6 +32399,11 @@
|
|
|
32342
32399
|
}
|
|
32343
32400
|
]
|
|
32344
32401
|
},
|
|
32402
|
+
{
|
|
32403
|
+
"kind": "method",
|
|
32404
|
+
"name": "renderPullTab",
|
|
32405
|
+
"privacy": "private"
|
|
32406
|
+
},
|
|
32345
32407
|
{
|
|
32346
32408
|
"kind": "method",
|
|
32347
32409
|
"name": "getDropdownContent",
|
|
@@ -32350,8 +32412,12 @@
|
|
|
32350
32412
|
],
|
|
32351
32413
|
"events": [
|
|
32352
32414
|
{
|
|
32353
|
-
"description": "Emitted
|
|
32354
|
-
"name": "zn-
|
|
32415
|
+
"description": "Emitted when the pull tab panel opens.",
|
|
32416
|
+
"name": "zn-show"
|
|
32417
|
+
},
|
|
32418
|
+
{
|
|
32419
|
+
"description": "Emitted when the pull tab panel closes.",
|
|
32420
|
+
"name": "zn-hide"
|
|
32355
32421
|
}
|
|
32356
32422
|
],
|
|
32357
32423
|
"attributes": [
|
|
@@ -32376,6 +32442,22 @@
|
|
|
32376
32442
|
"text": "boolean"
|
|
32377
32443
|
},
|
|
32378
32444
|
"fieldName": "noScroll"
|
|
32445
|
+
},
|
|
32446
|
+
{
|
|
32447
|
+
"name": "pull-tab",
|
|
32448
|
+
"type": {
|
|
32449
|
+
"text": "boolean"
|
|
32450
|
+
},
|
|
32451
|
+
"default": "false",
|
|
32452
|
+
"fieldName": "pullTab"
|
|
32453
|
+
},
|
|
32454
|
+
{
|
|
32455
|
+
"name": "open",
|
|
32456
|
+
"type": {
|
|
32457
|
+
"text": "boolean"
|
|
32458
|
+
},
|
|
32459
|
+
"default": "false",
|
|
32460
|
+
"fieldName": "open"
|
|
32379
32461
|
}
|
|
32380
32462
|
],
|
|
32381
32463
|
"superclass": {
|
|
@@ -32386,7 +32468,7 @@
|
|
|
32386
32468
|
"tagNameWithoutPrefix": "settings-container",
|
|
32387
32469
|
"tagName": "zn-settings-container",
|
|
32388
32470
|
"customElement": true,
|
|
32389
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/settings-container\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-
|
|
32471
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/settings-container\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-show - Emitted when the pull tab panel opens.\n * @event zn-hide - Emitted when the pull tab panel closes.\n *\n * @slot - The default slot.\n * @slot filter - Filter definitions used to toggle visibility of content.\n * @slot dropdown-content - Custom content for the settings panel.\n * @slot tab - Extra content rendered inside the pull tab next to the chevron.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
32390
32472
|
"documentation": "https://zinc.style/components/settings-container",
|
|
32391
32473
|
"status": "experimental",
|
|
32392
32474
|
"since": "1.0",
|
|
@@ -39737,7 +39819,7 @@
|
|
|
39737
39819
|
"package": {
|
|
39738
39820
|
"name": "@kubex/zinc",
|
|
39739
39821
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
39740
|
-
"version": "1.1.
|
|
39822
|
+
"version": "1.1.32",
|
|
39741
39823
|
"author": "",
|
|
39742
39824
|
"license": "MIT"
|
|
39743
39825
|
}
|
|
@@ -13,17 +13,6 @@
|
|
|
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
|
-
},
|
|
27
16
|
{
|
|
28
17
|
"name": "zn-alert",
|
|
29
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.",
|
|
@@ -63,6 +52,17 @@
|
|
|
63
52
|
}
|
|
64
53
|
]
|
|
65
54
|
},
|
|
55
|
+
{
|
|
56
|
+
"name": "zn-action-bar",
|
|
57
|
+
"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.",
|
|
58
|
+
"attributes": [],
|
|
59
|
+
"references": [
|
|
60
|
+
{
|
|
61
|
+
"name": "Documentation",
|
|
62
|
+
"url": "https://zinc.style/components/action-bar"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
66
|
{
|
|
67
67
|
"name": "zn-animated-button",
|
|
68
68
|
"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",
|
|
@@ -3293,7 +3293,7 @@
|
|
|
3293
3293
|
},
|
|
3294
3294
|
{
|
|
3295
3295
|
"name": "zn-settings-container",
|
|
3296
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-
|
|
3296
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-show** - Emitted when the pull tab panel opens.\n- **zn-hide** - Emitted when the pull tab panel closes.\n\n### **Slots:**\n - _default_ - The default slot.\n- **filter** - Filter definitions used to toggle visibility of content.\n- **dropdown-content** - Custom content for the settings panel.\n- **tab** - Extra content rendered inside the pull tab next to the chevron.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
3297
3297
|
"attributes": [
|
|
3298
3298
|
{
|
|
3299
3299
|
"name": "position",
|
|
@@ -3305,7 +3305,9 @@
|
|
|
3305
3305
|
]
|
|
3306
3306
|
},
|
|
3307
3307
|
{ "name": "store-key", "values": [] },
|
|
3308
|
-
{ "name": "no-scroll", "values": [] }
|
|
3308
|
+
{ "name": "no-scroll", "values": [] },
|
|
3309
|
+
{ "name": "pull-tab", "values": [] },
|
|
3310
|
+
{ "name": "open", "values": [] }
|
|
3309
3311
|
],
|
|
3310
3312
|
"references": [
|
|
3311
3313
|
{
|
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.32",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -15,28 +15,6 @@
|
|
|
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### **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
|
-
},
|
|
40
18
|
{
|
|
41
19
|
"name": "zn-alert",
|
|
42
20
|
"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.",
|
|
@@ -100,6 +78,28 @@
|
|
|
100
78
|
]
|
|
101
79
|
}
|
|
102
80
|
},
|
|
81
|
+
{
|
|
82
|
+
"name": "zn-action-bar",
|
|
83
|
+
"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.",
|
|
84
|
+
"doc-url": "",
|
|
85
|
+
"attributes": [],
|
|
86
|
+
"slots": [
|
|
87
|
+
{ "name": "", "description": "The default slot." },
|
|
88
|
+
{ "name": "example", "description": "An example slot." }
|
|
89
|
+
],
|
|
90
|
+
"events": [
|
|
91
|
+
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
92
|
+
],
|
|
93
|
+
"js": {
|
|
94
|
+
"properties": [],
|
|
95
|
+
"events": [
|
|
96
|
+
{
|
|
97
|
+
"name": "zn-event-name",
|
|
98
|
+
"description": "Emitted as an example."
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
103
|
{
|
|
104
104
|
"name": "zn-animated-button",
|
|
105
105
|
"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",
|
|
@@ -7779,7 +7779,7 @@
|
|
|
7779
7779
|
},
|
|
7780
7780
|
{
|
|
7781
7781
|
"name": "zn-settings-container",
|
|
7782
|
-
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-
|
|
7782
|
+
"description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-show** - Emitted when the pull tab panel opens.\n- **zn-hide** - Emitted when the pull tab panel closes.\n\n### **Slots:**\n - _default_ - The default slot.\n- **filter** - Filter definitions used to toggle visibility of content.\n- **dropdown-content** - Custom content for the settings panel.\n- **tab** - Extra content rendered inside the pull tab next to the chevron.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
7783
7783
|
"doc-url": "",
|
|
7784
7784
|
"attributes": [
|
|
7785
7785
|
{
|
|
@@ -7790,14 +7790,40 @@
|
|
|
7790
7790
|
}
|
|
7791
7791
|
},
|
|
7792
7792
|
{ "name": "store-key", "value": { "type": "string" } },
|
|
7793
|
-
{ "name": "no-scroll", "value": { "type": "boolean" } }
|
|
7793
|
+
{ "name": "no-scroll", "value": { "type": "boolean" } },
|
|
7794
|
+
{
|
|
7795
|
+
"name": "pull-tab",
|
|
7796
|
+
"value": { "type": "boolean", "default": "false" }
|
|
7797
|
+
},
|
|
7798
|
+
{
|
|
7799
|
+
"name": "open",
|
|
7800
|
+
"value": { "type": "boolean", "default": "false" }
|
|
7801
|
+
}
|
|
7794
7802
|
],
|
|
7795
7803
|
"slots": [
|
|
7796
7804
|
{ "name": "", "description": "The default slot." },
|
|
7797
|
-
{
|
|
7805
|
+
{
|
|
7806
|
+
"name": "filter",
|
|
7807
|
+
"description": "Filter definitions used to toggle visibility of content."
|
|
7808
|
+
},
|
|
7809
|
+
{
|
|
7810
|
+
"name": "dropdown-content",
|
|
7811
|
+
"description": "Custom content for the settings panel."
|
|
7812
|
+
},
|
|
7813
|
+
{
|
|
7814
|
+
"name": "tab",
|
|
7815
|
+
"description": "Extra content rendered inside the pull tab next to the chevron."
|
|
7816
|
+
}
|
|
7798
7817
|
],
|
|
7799
7818
|
"events": [
|
|
7800
|
-
{
|
|
7819
|
+
{
|
|
7820
|
+
"name": "zn-show",
|
|
7821
|
+
"description": "Emitted when the pull tab panel opens."
|
|
7822
|
+
},
|
|
7823
|
+
{
|
|
7824
|
+
"name": "zn-hide",
|
|
7825
|
+
"description": "Emitted when the pull tab panel closes."
|
|
7826
|
+
}
|
|
7801
7827
|
],
|
|
7802
7828
|
"js": {
|
|
7803
7829
|
"properties": [
|
|
@@ -7807,12 +7833,18 @@
|
|
|
7807
7833
|
"type": "'top-end' | 'top-start' | 'bottom-end' | 'bottom-start'"
|
|
7808
7834
|
},
|
|
7809
7835
|
{ "name": "storeKey", "type": "string" },
|
|
7810
|
-
{ "name": "noScroll", "type": "boolean" }
|
|
7836
|
+
{ "name": "noScroll", "type": "boolean" },
|
|
7837
|
+
{ "name": "pullTab", "type": "boolean" },
|
|
7838
|
+
{ "name": "open", "type": "boolean" }
|
|
7811
7839
|
],
|
|
7812
7840
|
"events": [
|
|
7813
7841
|
{
|
|
7814
|
-
"name": "zn-
|
|
7815
|
-
"description": "Emitted
|
|
7842
|
+
"name": "zn-show",
|
|
7843
|
+
"description": "Emitted when the pull tab panel opens."
|
|
7844
|
+
},
|
|
7845
|
+
{
|
|
7846
|
+
"name": "zn-hide",
|
|
7847
|
+
"description": "Emitted when the pull tab panel closes."
|
|
7816
7848
|
}
|
|
7817
7849
|
]
|
|
7818
7850
|
}
|
package/dist/zn.d.ts
CHANGED
|
@@ -7699,10 +7699,13 @@ declare module "components/settings-container/settings-container.component" {
|
|
|
7699
7699
|
*
|
|
7700
7700
|
* @dependency zn-example
|
|
7701
7701
|
*
|
|
7702
|
-
* @event zn-
|
|
7702
|
+
* @event zn-show - Emitted when the pull tab panel opens.
|
|
7703
|
+
* @event zn-hide - Emitted when the pull tab panel closes.
|
|
7703
7704
|
*
|
|
7704
7705
|
* @slot - The default slot.
|
|
7705
|
-
* @slot
|
|
7706
|
+
* @slot filter - Filter definitions used to toggle visibility of content.
|
|
7707
|
+
* @slot dropdown-content - Custom content for the settings panel.
|
|
7708
|
+
* @slot tab - Extra content rendered inside the pull tab next to the chevron.
|
|
7706
7709
|
*
|
|
7707
7710
|
* @csspart base - The component's base wrapper.
|
|
7708
7711
|
*
|
|
@@ -7714,11 +7717,19 @@ declare module "components/settings-container/settings-container.component" {
|
|
|
7714
7717
|
position: 'top-end' | 'top-start' | 'bottom-end' | 'bottom-start';
|
|
7715
7718
|
storeKey: string;
|
|
7716
7719
|
noScroll: boolean;
|
|
7720
|
+
pullTab: boolean;
|
|
7721
|
+
open: boolean;
|
|
7722
|
+
private panelExpanded;
|
|
7717
7723
|
private readonly _mutationObserver;
|
|
7718
7724
|
private _updateFiltersScheduled;
|
|
7719
7725
|
private _store;
|
|
7720
7726
|
private _hiddenElements;
|
|
7721
7727
|
connectedCallback(): void;
|
|
7728
|
+
disconnectedCallback(): void;
|
|
7729
|
+
private handleDocumentMouseDown;
|
|
7730
|
+
private togglePullTab;
|
|
7731
|
+
private hidePullTab;
|
|
7732
|
+
private handlePanelTransitionEnd;
|
|
7722
7733
|
private scheduleUpdateFilters;
|
|
7723
7734
|
private handleContentSlotChange;
|
|
7724
7735
|
private handleFiltersSlotChange;
|
|
@@ -7727,6 +7738,7 @@ declare module "components/settings-container/settings-container.component" {
|
|
|
7727
7738
|
updateFilters(): void;
|
|
7728
7739
|
updateFilter(e: ZnChangeEvent): void;
|
|
7729
7740
|
render(): import("lit-html").TemplateResult<1>;
|
|
7741
|
+
private renderPullTab;
|
|
7730
7742
|
private getDropdownContent;
|
|
7731
7743
|
}
|
|
7732
7744
|
}
|