@kubex/zinc 1.1.81 → 1.1.82

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,6 +47,79 @@
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
+ },
50
123
  {
51
124
  "kind": "javascript-module",
52
125
  "path": "components/alert/alert.js",
@@ -241,79 +314,6 @@
241
314
  }
242
315
  ]
243
316
  },
244
- {
245
- "kind": "javascript-module",
246
- "path": "components/action-bar/action-bar.js",
247
- "declarations": [
248
- {
249
- "kind": "class",
250
- "description": "",
251
- "name": "ZnActionBar",
252
- "cssProperties": [
253
- {
254
- "description": "An example CSS custom property.",
255
- "name": "--example"
256
- }
257
- ],
258
- "cssParts": [
259
- {
260
- "description": "The component's base wrapper.",
261
- "name": "base"
262
- }
263
- ],
264
- "slots": [
265
- {
266
- "description": "The default slot.",
267
- "name": ""
268
- },
269
- {
270
- "description": "An example slot.",
271
- "name": "example"
272
- }
273
- ],
274
- "members": [
275
- {
276
- "kind": "field",
277
- "name": "localize",
278
- "privacy": "private",
279
- "readonly": true,
280
- "default": "new LocalizeController(this)"
281
- }
282
- ],
283
- "events": [
284
- {
285
- "description": "Emitted as an example.",
286
- "name": "zn-event-name"
287
- }
288
- ],
289
- "superclass": {
290
- "name": "ZincElement",
291
- "module": "/src/internal/zinc-element"
292
- },
293
- "summary": "Short summary of the component's intended use.",
294
- "tagNameWithoutPrefix": "action-bar",
295
- "tagName": "zn-action-bar",
296
- "customElement": true,
297
- "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 */",
298
- "documentation": "https://zinc.style/components/action-bar",
299
- "status": "experimental",
300
- "since": "1.0",
301
- "dependencies": [
302
- "zn-example"
303
- ]
304
- }
305
- ],
306
- "exports": [
307
- {
308
- "kind": "js",
309
- "name": "default",
310
- "declaration": {
311
- "name": "ZnActionBar",
312
- "module": "components/action-bar/action-bar.js"
313
- }
314
- }
315
- ]
316
- },
317
317
  {
318
318
  "kind": "javascript-module",
319
319
  "path": "components/animated-button/animated-button.js",
@@ -45023,7 +45023,7 @@
45023
45023
  "name": "hasSlotController",
45024
45024
  "privacy": "private",
45025
45025
  "readonly": true,
45026
- "default": "new HasSlotController(this, 'label', 'expand')"
45026
+ "default": "new HasSlotController(this, 'label', 'expand', 'help-text')"
45027
45027
  },
45028
45028
  {
45029
45029
  "kind": "field",
@@ -45052,6 +45052,16 @@
45052
45052
  "default": "''",
45053
45053
  "attribute": "label"
45054
45054
  },
45055
+ {
45056
+ "kind": "field",
45057
+ "name": "helpText",
45058
+ "type": {
45059
+ "text": "string"
45060
+ },
45061
+ "default": "''",
45062
+ "description": "Text shown below the field, describing how to fill it in. Applies to every language. If you need HTML, use the\n`help-text` slot instead.",
45063
+ "attribute": "help-text"
45064
+ },
45055
45065
  {
45056
45066
  "kind": "field",
45057
45067
  "name": "disabled",
@@ -45380,6 +45390,15 @@
45380
45390
  "default": "''",
45381
45391
  "fieldName": "label"
45382
45392
  },
45393
+ {
45394
+ "name": "help-text",
45395
+ "type": {
45396
+ "text": "string"
45397
+ },
45398
+ "default": "''",
45399
+ "description": "Text shown below the field, describing how to fill it in. Applies to every language. If you need HTML, use the\n`help-text` slot instead.",
45400
+ "fieldName": "helpText"
45401
+ },
45383
45402
  {
45384
45403
  "name": "disabled",
45385
45404
  "type": {
@@ -45757,7 +45776,7 @@
45757
45776
  "package": {
45758
45777
  "name": "@kubex/zinc",
45759
45778
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
45760
- "version": "1.1.81",
45779
+ "version": "1.1.82",
45761
45780
  "author": "",
45762
45781
  "license": "MIT"
45763
45782
  }
@@ -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",
@@ -4641,6 +4641,11 @@
4641
4641
  { "name": "name", "values": [] },
4642
4642
  { "name": "value", "values": [] },
4643
4643
  { "name": "label", "values": [] },
4644
+ {
4645
+ "name": "help-text",
4646
+ "description": "Text shown below the field, describing how to fill it in. Applies to every language. If you need HTML, use the\n`help-text` slot instead.",
4647
+ "values": []
4648
+ },
4644
4649
  { "name": "disabled", "values": [] },
4645
4650
  { "name": "required", "values": [] },
4646
4651
  { "name": "flush", "values": [] },
@@ -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.81",
4
+ "version": "1.1.82",
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### **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### **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### **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### **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",
@@ -10988,6 +10988,11 @@
10988
10988
  "value": { "type": "string", "default": "'{\"en\":\"\"}'" }
10989
10989
  },
10990
10990
  { "name": "label", "value": { "type": "string", "default": "''" } },
10991
+ {
10992
+ "name": "help-text",
10993
+ "description": "Text shown below the field, describing how to fill it in. Applies to every language. If you need HTML, use the\n`help-text` slot instead.",
10994
+ "value": { "type": "string", "default": "''" }
10995
+ },
10991
10996
  {
10992
10997
  "name": "disabled",
10993
10998
  "value": { "type": "boolean", "default": "false" }
@@ -11054,6 +11059,11 @@
11054
11059
  { "name": "name", "type": "string" },
11055
11060
  { "name": "value", "type": "string" },
11056
11061
  { "name": "label", "type": "string" },
11062
+ {
11063
+ "name": "helpText",
11064
+ "description": "Text shown below the field, describing how to fill it in. Applies to every language. If you need HTML, use the\n`help-text` slot instead.",
11065
+ "type": "string"
11066
+ },
11057
11067
  { "name": "disabled", "type": "boolean" },
11058
11068
  { "name": "required", "type": "boolean" },
11059
11069
  { "name": "flush", "type": "boolean" },
package/dist/zn.d.ts CHANGED
@@ -8692,6 +8692,11 @@ declare module "components/translations/translations.component" {
8692
8692
  name: string;
8693
8693
  value: string;
8694
8694
  label: string;
8695
+ /**
8696
+ * Text shown below the field, describing how to fill it in. Applies to every language. If you need HTML, use the
8697
+ * `help-text` slot instead.
8698
+ */
8699
+ helpText: string;
8695
8700
  disabled: boolean;
8696
8701
  required: boolean;
8697
8702
  flush: boolean;