@kubex/zinc 1.1.6 → 1.1.8

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.
@@ -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",
@@ -20217,6 +20217,10 @@
20217
20217
  "module": "src/components/tabs/tabs.component.ts"
20218
20218
  }
20219
20219
  },
20220
+ {
20221
+ "description": "Rich subtitle/description content. Falls back to the `summary` attribute when empty.",
20222
+ "name": "description"
20223
+ },
20220
20224
  {
20221
20225
  "description": "Content rendered below the navbar row (e.g. chips, filters). Forwarded to the navbar's bottom slot.",
20222
20226
  "name": "bottom"
@@ -21691,7 +21695,7 @@
21691
21695
  "tagNameWithoutPrefix": "page",
21692
21696
  "tagName": "zn-page",
21693
21697
  "customElement": true,
21694
- "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 bottom - Content rendered below the navbar row (e.g. chips, filters). Forwarded to the navbar's bottom slot.\n */",
21698
+ "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 */",
21695
21699
  "documentation": "https://zinc.style/components/page",
21696
21700
  "status": "experimental",
21697
21701
  "since": "1.0",
@@ -27033,6 +27037,15 @@
27033
27037
  "default": "''",
27034
27038
  "attribute": "revealed"
27035
27039
  },
27040
+ {
27041
+ "kind": "field",
27042
+ "name": "hideDelay",
27043
+ "type": {
27044
+ "text": "number"
27045
+ },
27046
+ "default": "150",
27047
+ "attribute": "hide-delay"
27048
+ },
27036
27049
  {
27037
27050
  "kind": "field",
27038
27051
  "name": "_isRevealed",
@@ -27051,6 +27064,19 @@
27051
27064
  "privacy": "private",
27052
27065
  "default": "false"
27053
27066
  },
27067
+ {
27068
+ "kind": "field",
27069
+ "name": "_hideTimer",
27070
+ "type": {
27071
+ "text": "ReturnType<typeof setTimeout> | undefined"
27072
+ },
27073
+ "privacy": "private"
27074
+ },
27075
+ {
27076
+ "kind": "method",
27077
+ "name": "_clearHideTimer",
27078
+ "privacy": "private"
27079
+ },
27054
27080
  {
27055
27081
  "kind": "method",
27056
27082
  "name": "handleToggleReveal",
@@ -27097,6 +27123,14 @@
27097
27123
  },
27098
27124
  "default": "''",
27099
27125
  "fieldName": "revealed"
27126
+ },
27127
+ {
27128
+ "name": "hide-delay",
27129
+ "type": {
27130
+ "text": "number"
27131
+ },
27132
+ "default": "150",
27133
+ "fieldName": "hideDelay"
27100
27134
  }
27101
27135
  ],
27102
27136
  "superclass": {
@@ -36334,7 +36368,7 @@
36334
36368
  "package": {
36335
36369
  "name": "@kubex/zinc",
36336
36370
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
36337
- "version": "1.1.6",
36371
+ "version": "1.1.8",
36338
36372
  "author": "",
36339
36373
  "license": "MIT"
36340
36374
  }
@@ -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",
@@ -2329,7 +2329,7 @@
2329
2329
  },
2330
2330
  {
2331
2331
  "name": "zn-page",
2332
- "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### **Slots:**\n - _default_ - Page content. Use zn-tab for named tabs and header-action/header-actions for header actions.\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.",
2332
+ "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### **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.",
2333
2333
  "attributes": [
2334
2334
  { "name": "caption", "values": [] },
2335
2335
  { "name": "entity-id", "values": [] },
@@ -2900,7 +2900,8 @@
2900
2900
  "attributes": [
2901
2901
  { "name": "duration", "values": [] },
2902
2902
  { "name": "initial", "values": [] },
2903
- { "name": "revealed", "values": [] }
2903
+ { "name": "revealed", "values": [] },
2904
+ { "name": "hide-delay", "values": [] }
2904
2905
  ],
2905
2906
  "references": [
2906
2907
  {
@@ -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.6",
4
+ "version": "1.1.8",
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",
@@ -5382,7 +5382,7 @@
5382
5382
  },
5383
5383
  {
5384
5384
  "name": "zn-page",
5385
- "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### **Slots:**\n - _default_ - Page content. Use zn-tab for named tabs and header-action/header-actions for header actions.\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.",
5385
+ "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### **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.",
5386
5386
  "doc-url": "",
5387
5387
  "attributes": [
5388
5388
  { "name": "caption", "value": { "type": "string" } },
@@ -5466,6 +5466,10 @@
5466
5466
  "name": "",
5467
5467
  "description": "Page content. Use zn-tab for named tabs and header-action/header-actions for header actions."
5468
5468
  },
5469
+ {
5470
+ "name": "description",
5471
+ "description": "Rich subtitle/description content. Falls back to the `summary` attribute when empty."
5472
+ },
5469
5473
  {
5470
5474
  "name": "bottom",
5471
5475
  "description": "Content rendered below the navbar row (e.g. chips, filters). Forwarded to the navbar's bottom slot."
@@ -6686,6 +6690,10 @@
6686
6690
  {
6687
6691
  "name": "revealed",
6688
6692
  "value": { "type": "string", "default": "''" }
6693
+ },
6694
+ {
6695
+ "name": "hide-delay",
6696
+ "value": { "type": "number", "default": "150" }
6689
6697
  }
6690
6698
  ],
6691
6699
  "slots": [
@@ -6699,7 +6707,8 @@
6699
6707
  "properties": [
6700
6708
  { "name": "duration", "type": "number" },
6701
6709
  { "name": "initial", "type": "string" },
6702
- { "name": "revealed", "type": "string" }
6710
+ { "name": "revealed", "type": "string" },
6711
+ { "name": "hideDelay", "type": "number" }
6703
6712
  ],
6704
6713
  "events": [
6705
6714
  {
package/dist/zn.d.ts CHANGED
@@ -4115,6 +4115,7 @@ declare module "components/page/page.component" {
4115
4115
  * @since 1.0
4116
4116
  *
4117
4117
  * @slot - Page content. Use zn-tab for named tabs and header-action/header-actions for header actions.
4118
+ * @slot description - Rich subtitle/description content. Falls back to the `summary` attribute when empty.
4118
4119
  * @slot bottom - Content rendered below the navbar row (e.g. chips, filters). Forwarded to the navbar's bottom slot.
4119
4120
  */
4120
4121
  export default class ZnPage extends ZnTabs {
@@ -7635,8 +7636,12 @@ declare module "components/reveal/reveal.component" {
7635
7636
  duration: number;
7636
7637
  initial: string;
7637
7638
  revealed: string;
7639
+ hideDelay: number;
7638
7640
  private _isRevealed;
7639
7641
  private _isToggled;
7642
+ private _hideTimer?;
7643
+ disconnectedCallback(): void;
7644
+ private _clearHideTimer;
7640
7645
  protected handleToggleReveal(): void;
7641
7646
  protected handleMouseEnter(): void;
7642
7647
  protected handleMouseLeave(): void;