@kubex/zinc 1.1.59 → 1.1.60

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",
@@ -314,6 +241,79 @@
314
241
  }
315
242
  ]
316
243
  },
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",
@@ -18327,6 +18327,16 @@
18327
18327
  "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
18328
18328
  "attribute": "inputmode"
18329
18329
  },
18330
+ {
18331
+ "kind": "field",
18332
+ "name": "triggerSubmit",
18333
+ "type": {
18334
+ "text": "boolean"
18335
+ },
18336
+ "default": "false",
18337
+ "description": "When enabled, pressing enter will always submit the surrounding form, even when the form uses\nenter-navigation to move between fields.",
18338
+ "attribute": "trigger-submit"
18339
+ },
18330
18340
  {
18331
18341
  "kind": "field",
18332
18342
  "name": "valueAsDate",
@@ -19071,6 +19081,15 @@
19071
19081
  },
19072
19082
  "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
19073
19083
  "fieldName": "inputmode"
19084
+ },
19085
+ {
19086
+ "name": "trigger-submit",
19087
+ "type": {
19088
+ "text": "boolean"
19089
+ },
19090
+ "default": "false",
19091
+ "description": "When enabled, pressing enter will always submit the surrounding form, even when the form uses\nenter-navigation to move between fields.",
19092
+ "fieldName": "triggerSubmit"
19074
19093
  }
19075
19094
  ],
19076
19095
  "superclass": {
@@ -38787,6 +38806,10 @@
38787
38806
  {
38788
38807
  "description": "The toggle switch control (the circular button that slides).",
38789
38808
  "name": "control"
38809
+ },
38810
+ {
38811
+ "description": "The container that wraps the toggle's description.",
38812
+ "name": "description"
38790
38813
  }
38791
38814
  ],
38792
38815
  "slots": [
@@ -38794,6 +38817,10 @@
38794
38817
  "description": "The toggle's label.",
38795
38818
  "name": ""
38796
38819
  },
38820
+ {
38821
+ "description": "A description of the toggle's label. Alternatively, you can use the `description` attribute.",
38822
+ "name": "description"
38823
+ },
38797
38824
  {
38798
38825
  "description": "Text that describes how to use the toggle. Alternatively, you can use the `help-text` attribute.",
38799
38826
  "name": "help-text"
@@ -38805,7 +38832,7 @@
38805
38832
  "name": "hasSlotController",
38806
38833
  "privacy": "private",
38807
38834
  "readonly": true,
38808
- "default": "new HasSlotController(this, 'help-text')"
38835
+ "default": "new HasSlotController(this, 'help-text', 'description')"
38809
38836
  },
38810
38837
  {
38811
38838
  "kind": "field",
@@ -38967,6 +38994,16 @@
38967
38994
  "default": "''",
38968
38995
  "attribute": "label"
38969
38996
  },
38997
+ {
38998
+ "kind": "field",
38999
+ "name": "description",
39000
+ "type": {
39001
+ "text": "string"
39002
+ },
39003
+ "default": "''",
39004
+ "description": "The toggle's description, displayed under the label. If you need to display HTML, use the `description` slot instead.",
39005
+ "attribute": "description"
39006
+ },
38970
39007
  {
38971
39008
  "kind": "field",
38972
39009
  "name": "labelPosition",
@@ -39211,6 +39248,15 @@
39211
39248
  "default": "''",
39212
39249
  "fieldName": "label"
39213
39250
  },
39251
+ {
39252
+ "name": "description",
39253
+ "type": {
39254
+ "text": "string"
39255
+ },
39256
+ "default": "''",
39257
+ "description": "The toggle's description, displayed under the label. If you need to display HTML, use the `description` slot instead.",
39258
+ "fieldName": "description"
39259
+ },
39214
39260
  {
39215
39261
  "name": "label-position",
39216
39262
  "type": {
@@ -39236,7 +39282,7 @@
39236
39282
  "tagNameWithoutPrefix": "toggle",
39237
39283
  "tagName": "zn-toggle",
39238
39284
  "customElement": true,
39239
- "jsDoc": "/**\n * @summary Toggles allow the user to switch an option on or off.\n * @documentation https://zinc.style/components/toggle\n * @status stable\n * @since 1.0\n *\n * @dependency zn-tooltip\n *\n * @event zn-input - Emitted when the toggle receives input.\n *\n * @slot - The toggle's label.\n * @slot help-text - Text that describes how to use the toggle. Alternatively, you can use the `help-text` attribute.\n *\n * @csspart base - The component's base wrapper containing the toggle switch.\n * @csspart control - The toggle switch control (the circular button that slides).\n *\n * @cssproperty --zn-toggle-margin - The margin around the toggle switch. Defaults to `8px 0`.\n */",
39285
+ "jsDoc": "/**\n * @summary Toggles allow the user to switch an option on or off.\n * @documentation https://zinc.style/components/toggle\n * @status stable\n * @since 1.0\n *\n * @dependency zn-tooltip\n *\n * @event zn-input - Emitted when the toggle receives input.\n *\n * @slot - The toggle's label.\n * @slot description - A description of the toggle's label. Alternatively, you can use the `description` attribute.\n * @slot help-text - Text that describes how to use the toggle. Alternatively, you can use the `help-text` attribute.\n *\n * @csspart base - The component's base wrapper containing the toggle switch.\n * @csspart control - The toggle switch control (the circular button that slides).\n * @csspart description - The container that wraps the toggle's description.\n *\n * @cssproperty --zn-toggle-margin - The margin around the toggle switch. Defaults to `8px 0`.\n */",
39240
39286
  "documentation": "https://zinc.style/components/toggle",
39241
39287
  "status": "stable",
39242
39288
  "since": "1.0",
@@ -40780,7 +40826,7 @@
40780
40826
  "package": {
40781
40827
  "name": "@kubex/zinc",
40782
40828
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
40783
- "version": "1.1.59",
40829
+ "version": "1.1.60",
40784
40830
  "author": "",
40785
40831
  "license": "MIT"
40786
40832
  }
@@ -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.",
@@ -64,6 +53,17 @@
64
53
  }
65
54
  ]
66
55
  },
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",
@@ -2174,6 +2174,11 @@
2174
2174
  { "name": "email" },
2175
2175
  { "name": "url" }
2176
2176
  ]
2177
+ },
2178
+ {
2179
+ "name": "trigger-submit",
2180
+ "description": "When enabled, pressing enter will always submit the surrounding form, even when the form uses\nenter-navigation to move between fields.",
2181
+ "values": []
2177
2182
  }
2178
2183
  ],
2179
2184
  "references": [
@@ -4049,7 +4054,7 @@
4049
4054
  },
4050
4055
  {
4051
4056
  "name": "zn-toggle",
4052
- "description": "Toggles allow the user to switch an option on or off.\n---\n\n\n### **Events:**\n - **zn-input** - Emitted when the toggle receives input.\n\n### **Slots:**\n - _default_ - The toggle's label.\n- **help-text** - Text that describes how to use the toggle. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Properties:**\n - **--zn-toggle-margin** - The margin around the toggle switch. Defaults to `8px 0`. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper containing the toggle switch.\n- **control** - The toggle switch control (the circular button that slides).",
4057
+ "description": "Toggles allow the user to switch an option on or off.\n---\n\n\n### **Events:**\n - **zn-input** - Emitted when the toggle receives input.\n\n### **Slots:**\n - _default_ - The toggle's label.\n- **description** - A description of the toggle's label. Alternatively, you can use the `description` attribute.\n- **help-text** - Text that describes how to use the toggle. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Properties:**\n - **--zn-toggle-margin** - The margin around the toggle switch. Defaults to `8px 0`. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper containing the toggle switch.\n- **control** - The toggle switch control (the circular button that slides).\n- **description** - The container that wraps the toggle's description.",
4053
4058
  "attributes": [
4054
4059
  { "name": "title", "values": [] },
4055
4060
  { "name": "name", "values": [] },
@@ -4072,6 +4077,11 @@
4072
4077
  { "name": "on-text", "values": [] },
4073
4078
  { "name": "off-text", "values": [] },
4074
4079
  { "name": "label", "values": [] },
4080
+ {
4081
+ "name": "description",
4082
+ "description": "The toggle's description, displayed under the label. If you need to display HTML, use the `description` slot instead.",
4083
+ "values": []
4084
+ },
4075
4085
  {
4076
4086
  "name": "label-position",
4077
4087
  "values": [{ "name": "top" }, { "name": "left" }, { "name": "right" }]
@@ -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.59",
4
+ "version": "1.1.60",
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.",
@@ -105,6 +83,28 @@
105
83
  ]
106
84
  }
107
85
  },
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",
@@ -4822,6 +4822,11 @@
4822
4822
  "value": {
4823
4823
  "type": "'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'"
4824
4824
  }
4825
+ },
4826
+ {
4827
+ "name": "trigger-submit",
4828
+ "description": "When enabled, pressing enter will always submit the surrounding form, even when the form uses\nenter-navigation to move between fields.",
4829
+ "value": { "type": "boolean", "default": "false" }
4825
4830
  }
4826
4831
  ],
4827
4832
  "slots": [
@@ -5068,6 +5073,11 @@
5068
5073
  "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
5069
5074
  "type": "'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'"
5070
5075
  },
5076
+ {
5077
+ "name": "triggerSubmit",
5078
+ "description": "When enabled, pressing enter will always submit the surrounding form, even when the form uses\nenter-navigation to move between fields.",
5079
+ "type": "boolean"
5080
+ },
5071
5081
  {
5072
5082
  "name": "valueAsDate",
5073
5083
  "description": "Gets or sets the current value as `date` object. Returns `null` if the value can't be converted. This will use\nthe native `<input type=\"{{type}}\">` implementation and may result in an error."
@@ -9550,7 +9560,7 @@
9550
9560
  },
9551
9561
  {
9552
9562
  "name": "zn-toggle",
9553
- "description": "Toggles allow the user to switch an option on or off.\n---\n\n\n### **Events:**\n - **zn-input** - Emitted when the toggle receives input.\n\n### **Slots:**\n - _default_ - The toggle's label.\n- **help-text** - Text that describes how to use the toggle. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Properties:**\n - **--zn-toggle-margin** - The margin around the toggle switch. Defaults to `8px 0`. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper containing the toggle switch.\n- **control** - The toggle switch control (the circular button that slides).",
9563
+ "description": "Toggles allow the user to switch an option on or off.\n---\n\n\n### **Events:**\n - **zn-input** - Emitted when the toggle receives input.\n\n### **Slots:**\n - _default_ - The toggle's label.\n- **description** - A description of the toggle's label. Alternatively, you can use the `description` attribute.\n- **help-text** - Text that describes how to use the toggle. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Properties:**\n - **--zn-toggle-margin** - The margin around the toggle switch. Defaults to `8px 0`. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper containing the toggle switch.\n- **control** - The toggle switch control (the circular button that slides).\n- **description** - The container that wraps the toggle's description.",
9554
9564
  "doc-url": "",
9555
9565
  "attributes": [
9556
9566
  {
@@ -9603,6 +9613,11 @@
9603
9613
  "value": { "type": "string", "default": "''" }
9604
9614
  },
9605
9615
  { "name": "label", "value": { "type": "string", "default": "''" } },
9616
+ {
9617
+ "name": "description",
9618
+ "description": "The toggle's description, displayed under the label. If you need to display HTML, use the `description` slot instead.",
9619
+ "value": { "type": "string", "default": "''" }
9620
+ },
9606
9621
  {
9607
9622
  "name": "label-position",
9608
9623
  "value": {
@@ -9617,6 +9632,10 @@
9617
9632
  ],
9618
9633
  "slots": [
9619
9634
  { "name": "", "description": "The toggle's label." },
9635
+ {
9636
+ "name": "description",
9637
+ "description": "A description of the toggle's label. Alternatively, you can use the `description` attribute."
9638
+ },
9620
9639
  {
9621
9640
  "name": "help-text",
9622
9641
  "description": "Text that describes how to use the toggle. Alternatively, you can use the `help-text` attribute."
@@ -9647,6 +9666,11 @@
9647
9666
  { "name": "onText", "type": "string" },
9648
9667
  { "name": "offText", "type": "string" },
9649
9668
  { "name": "label", "type": "string" },
9669
+ {
9670
+ "name": "description",
9671
+ "description": "The toggle's description, displayed under the label. If you need to display HTML, use the `description` slot instead.",
9672
+ "type": "string"
9673
+ },
9650
9674
  { "name": "labelPosition", "type": "'top' | 'left' | 'right'" },
9651
9675
  { "name": "inline", "type": "boolean" },
9652
9676
  { "name": "validity" },
package/dist/zn.d.ts CHANGED
@@ -1309,10 +1309,12 @@ declare module "components/toggle/toggle.component" {
1309
1309
  * @event zn-input - Emitted when the toggle receives input.
1310
1310
  *
1311
1311
  * @slot - The toggle's label.
1312
+ * @slot description - A description of the toggle's label. Alternatively, you can use the `description` attribute.
1312
1313
  * @slot help-text - Text that describes how to use the toggle. Alternatively, you can use the `help-text` attribute.
1313
1314
  *
1314
1315
  * @csspart base - The component's base wrapper containing the toggle switch.
1315
1316
  * @csspart control - The toggle switch control (the circular button that slides).
1317
+ * @csspart description - The container that wraps the toggle's description.
1316
1318
  *
1317
1319
  * @cssproperty --zn-toggle-margin - The margin around the toggle switch. Defaults to `8px 0`.
1318
1320
  */
@@ -1337,6 +1339,8 @@ declare module "components/toggle/toggle.component" {
1337
1339
  onText: string;
1338
1340
  offText: string;
1339
1341
  label: string;
1342
+ /** The toggle's description, displayed under the label. If you need to display HTML, use the `description` slot instead. */
1343
+ description: string;
1340
1344
  labelPosition: 'top' | 'left' | 'right';
1341
1345
  inline: boolean;
1342
1346
  get validity(): ValidityState;
@@ -2002,6 +2006,11 @@ declare module "components/input/input.component" {
2002
2006
  * keyboard on supportive devices.
2003
2007
  */
2004
2008
  inputmode: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
2009
+ /**
2010
+ * When enabled, pressing enter will always submit the surrounding form, even when the form uses
2011
+ * enter-navigation to move between fields.
2012
+ */
2013
+ triggerSubmit: boolean;
2005
2014
  /**
2006
2015
  * Gets or sets the current value as `date` object. Returns `null` if the value can't be converted. This will use
2007
2016
  * the native `<input type="{{type}}">` implementation and may result in an error.