@kubex/zinc 1.0.114 → 1.0.116

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",
@@ -278,6 +205,79 @@
278
205
  }
279
206
  ]
280
207
  },
208
+ {
209
+ "kind": "javascript-module",
210
+ "path": "components/action-bar/action-bar.js",
211
+ "declarations": [
212
+ {
213
+ "kind": "class",
214
+ "description": "",
215
+ "name": "ZnActionBar",
216
+ "cssProperties": [
217
+ {
218
+ "description": "An example CSS custom property.",
219
+ "name": "--example"
220
+ }
221
+ ],
222
+ "cssParts": [
223
+ {
224
+ "description": "The component's base wrapper.",
225
+ "name": "base"
226
+ }
227
+ ],
228
+ "slots": [
229
+ {
230
+ "description": "The default slot.",
231
+ "name": ""
232
+ },
233
+ {
234
+ "description": "An example slot.",
235
+ "name": "example"
236
+ }
237
+ ],
238
+ "members": [
239
+ {
240
+ "kind": "field",
241
+ "name": "localize",
242
+ "privacy": "private",
243
+ "readonly": true,
244
+ "default": "new LocalizeController(this)"
245
+ }
246
+ ],
247
+ "events": [
248
+ {
249
+ "description": "Emitted as an example.",
250
+ "name": "zn-event-name"
251
+ }
252
+ ],
253
+ "superclass": {
254
+ "name": "ZincElement",
255
+ "module": "/src/internal/zinc-element"
256
+ },
257
+ "summary": "Short summary of the component's intended use.",
258
+ "tagNameWithoutPrefix": "action-bar",
259
+ "tagName": "zn-action-bar",
260
+ "customElement": true,
261
+ "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 */",
262
+ "documentation": "https://zinc.style/components/action-bar",
263
+ "status": "experimental",
264
+ "since": "1.0",
265
+ "dependencies": [
266
+ "zn-example"
267
+ ]
268
+ }
269
+ ],
270
+ "exports": [
271
+ {
272
+ "kind": "js",
273
+ "name": "default",
274
+ "declaration": {
275
+ "name": "ZnActionBar",
276
+ "module": "components/action-bar/action-bar.js"
277
+ }
278
+ }
279
+ ]
280
+ },
281
281
  {
282
282
  "kind": "javascript-module",
283
283
  "path": "components/animated-button/animated-button.js",
@@ -11908,6 +11908,15 @@
11908
11908
  },
11909
11909
  "default": "false",
11910
11910
  "attribute": "cols"
11911
+ },
11912
+ {
11913
+ "kind": "field",
11914
+ "name": "layout",
11915
+ "type": {
11916
+ "text": "string"
11917
+ },
11918
+ "default": "\"1,2\"",
11919
+ "attribute": "layout"
11911
11920
  }
11912
11921
  ],
11913
11922
  "attributes": [
@@ -11945,6 +11954,14 @@
11945
11954
  },
11946
11955
  "default": "false",
11947
11956
  "fieldName": "forceCols"
11957
+ },
11958
+ {
11959
+ "name": "layout",
11960
+ "type": {
11961
+ "text": "string"
11962
+ },
11963
+ "default": "\"1,2\"",
11964
+ "fieldName": "layout"
11948
11965
  }
11949
11966
  ],
11950
11967
  "superclass": {
@@ -19864,6 +19881,37 @@
19864
19881
  "name": "activateInitialPageTab",
19865
19882
  "privacy": "private"
19866
19883
  },
19884
+ {
19885
+ "kind": "method",
19886
+ "name": "activateTabDefinition",
19887
+ "privacy": "private",
19888
+ "parameters": [
19889
+ {
19890
+ "name": "tab",
19891
+ "type": {
19892
+ "text": "TabDefinition"
19893
+ }
19894
+ }
19895
+ ]
19896
+ },
19897
+ {
19898
+ "kind": "method",
19899
+ "name": "findNavItemForUri",
19900
+ "privacy": "private",
19901
+ "return": {
19902
+ "type": {
19903
+ "text": "HTMLElement | null"
19904
+ }
19905
+ },
19906
+ "parameters": [
19907
+ {
19908
+ "name": "uri",
19909
+ "type": {
19910
+ "text": "string"
19911
+ }
19912
+ }
19913
+ ]
19914
+ },
19867
19915
  {
19868
19916
  "kind": "method",
19869
19917
  "name": "registerPagePanels",
@@ -31051,6 +31099,17 @@
31051
31099
  "text": "string"
31052
31100
  },
31053
31101
  "attribute": "uri"
31102
+ },
31103
+ {
31104
+ "kind": "field",
31105
+ "name": "selected",
31106
+ "type": {
31107
+ "text": "boolean"
31108
+ },
31109
+ "default": "false",
31110
+ "description": "When present, zn-page opens this tab on load instead of the first tab.",
31111
+ "attribute": "selected",
31112
+ "reflects": true
31054
31113
  }
31055
31114
  ],
31056
31115
  "attributes": [
@@ -31074,6 +31133,15 @@
31074
31133
  "text": "string"
31075
31134
  },
31076
31135
  "fieldName": "uri"
31136
+ },
31137
+ {
31138
+ "name": "selected",
31139
+ "type": {
31140
+ "text": "boolean"
31141
+ },
31142
+ "default": "false",
31143
+ "description": "When present, zn-page opens this tab on load instead of the first tab.",
31144
+ "fieldName": "selected"
31077
31145
  }
31078
31146
  ],
31079
31147
  "superclass": {
@@ -35494,7 +35562,7 @@
35494
35562
  "package": {
35495
35563
  "name": "@kubex/zinc",
35496
35564
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
35497
- "version": "1.0.114",
35565
+ "version": "1.0.116",
35498
35566
  "author": "",
35499
35567
  "license": "MIT"
35500
35568
  }
@@ -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.",
@@ -59,6 +48,17 @@
59
48
  }
60
49
  ]
61
50
  },
51
+ {
52
+ "name": "zn-action-bar",
53
+ "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.",
54
+ "attributes": [],
55
+ "references": [
56
+ {
57
+ "name": "Documentation",
58
+ "url": "https://zinc.style/components/action-bar"
59
+ }
60
+ ]
61
+ },
62
62
  {
63
63
  "name": "zn-animated-button",
64
64
  "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",
@@ -1419,7 +1419,8 @@
1419
1419
  "description": "The form groups help text. If you need to display HTML, use the `help-text` slot instead.",
1420
1420
  "values": []
1421
1421
  },
1422
- { "name": "cols", "values": [] }
1422
+ { "name": "cols", "values": [] },
1423
+ { "name": "layout", "values": [] }
1423
1424
  ],
1424
1425
  "references": [
1425
1426
  {
@@ -3346,7 +3347,12 @@
3346
3347
  "attributes": [
3347
3348
  { "name": "caption", "values": [] },
3348
3349
  { "name": "priority", "values": [] },
3349
- { "name": "uri", "values": [] }
3350
+ { "name": "uri", "values": [] },
3351
+ {
3352
+ "name": "selected",
3353
+ "description": "When present, zn-page opens this tab on load instead of the first tab.",
3354
+ "values": []
3355
+ }
3350
3356
  ],
3351
3357
  "references": [
3352
3358
  { "name": "Documentation", "url": "https://zinc.style/components/tab" }
@@ -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.0.114",
4
+ "version": "1.0.116",
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.",
@@ -92,6 +70,28 @@
92
70
  ]
93
71
  }
94
72
  },
73
+ {
74
+ "name": "zn-action-bar",
75
+ "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.",
76
+ "doc-url": "",
77
+ "attributes": [],
78
+ "slots": [
79
+ { "name": "", "description": "The default slot." },
80
+ { "name": "example", "description": "An example slot." }
81
+ ],
82
+ "events": [
83
+ { "name": "zn-event-name", "description": "Emitted as an example." }
84
+ ],
85
+ "js": {
86
+ "properties": [],
87
+ "events": [
88
+ {
89
+ "name": "zn-event-name",
90
+ "description": "Emitted as an example."
91
+ }
92
+ ]
93
+ }
94
+ },
95
95
  {
96
96
  "name": "zn-animated-button",
97
97
  "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",
@@ -3272,6 +3272,10 @@
3272
3272
  {
3273
3273
  "name": "cols",
3274
3274
  "value": { "type": "boolean", "default": "false" }
3275
+ },
3276
+ {
3277
+ "name": "layout",
3278
+ "value": { "type": "string", "default": "\"1,2\"" }
3275
3279
  }
3276
3280
  ],
3277
3281
  "slots": [{ "name": "", "description": "The default slot." }],
@@ -3293,7 +3297,8 @@
3293
3297
  "description": "The form groups help text. If you need to display HTML, use the `help-text` slot instead.",
3294
3298
  "type": "string"
3295
3299
  },
3296
- { "name": "forceCols", "type": "boolean" }
3300
+ { "name": "forceCols", "type": "boolean" },
3301
+ { "name": "layout", "type": "string" }
3297
3302
  ],
3298
3303
  "events": []
3299
3304
  }
@@ -7802,7 +7807,12 @@
7802
7807
  "attributes": [
7803
7808
  { "name": "caption", "value": { "type": "string" } },
7804
7809
  { "name": "priority", "value": { "type": "number" } },
7805
- { "name": "uri", "value": { "type": "string" } }
7810
+ { "name": "uri", "value": { "type": "string" } },
7811
+ {
7812
+ "name": "selected",
7813
+ "description": "When present, zn-page opens this tab on load instead of the first tab.",
7814
+ "value": { "type": "boolean", "default": "false" }
7815
+ }
7806
7816
  ],
7807
7817
  "slots": [{ "name": "", "description": "The tab panel content." }],
7808
7818
  "events": [],
@@ -7810,7 +7820,12 @@
7810
7820
  "properties": [
7811
7821
  { "name": "caption", "type": "string" },
7812
7822
  { "name": "priority", "type": "number" },
7813
- { "name": "uri", "type": "string" }
7823
+ { "name": "uri", "type": "string" },
7824
+ {
7825
+ "name": "selected",
7826
+ "description": "When present, zn-page opens this tab on load instead of the first tab.",
7827
+ "type": "boolean"
7828
+ }
7814
7829
  ],
7815
7830
  "events": []
7816
7831
  }
package/dist/zn.d.ts CHANGED
@@ -3821,6 +3821,8 @@ declare module "components/tab/tab.component" {
3821
3821
  caption: string;
3822
3822
  priority: number;
3823
3823
  uri: string;
3824
+ /** When present, zn-page opens this tab on load instead of the first tab. */
3825
+ selected: boolean;
3824
3826
  render(): import("lit-html").TemplateResult<1>;
3825
3827
  }
3826
3828
  }
@@ -3991,6 +3993,8 @@ declare module "components/page/page.component" {
3991
3993
  private handleNavigationSelect;
3992
3994
  private activateTab;
3993
3995
  private activateInitialPageTab;
3996
+ private activateTabDefinition;
3997
+ private findNavItemForUri;
3994
3998
  private registerPagePanels;
3995
3999
  private registerPageNavigationTabs;
3996
4000
  private syncNavigationActive;
@@ -6086,6 +6090,7 @@ declare module "components/form-group/form-group.component" {
6086
6090
  /** The form groups help text. If you need to display HTML, use the `help-text` slot instead. */
6087
6091
  helpText: string;
6088
6092
  forceCols: boolean;
6093
+ layout: string;
6089
6094
  render(): import("lit-html").TemplateResult<1>;
6090
6095
  }
6091
6096
  }