@kubex/zinc 1.0.117 → 1.0.118

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",
@@ -31486,6 +31486,114 @@
31486
31486
  }
31487
31487
  ]
31488
31488
  },
31489
+ {
31490
+ "kind": "javascript-module",
31491
+ "path": "components/tab/tab.js",
31492
+ "declarations": [
31493
+ {
31494
+ "kind": "class",
31495
+ "description": "",
31496
+ "name": "ZnTab",
31497
+ "slots": [
31498
+ {
31499
+ "description": "The tab panel content.",
31500
+ "name": ""
31501
+ }
31502
+ ],
31503
+ "members": [
31504
+ {
31505
+ "kind": "field",
31506
+ "name": "caption",
31507
+ "type": {
31508
+ "text": "string"
31509
+ },
31510
+ "attribute": "caption"
31511
+ },
31512
+ {
31513
+ "kind": "field",
31514
+ "name": "priority",
31515
+ "type": {
31516
+ "text": "number"
31517
+ },
31518
+ "attribute": "priority"
31519
+ },
31520
+ {
31521
+ "kind": "field",
31522
+ "name": "uri",
31523
+ "type": {
31524
+ "text": "string"
31525
+ },
31526
+ "attribute": "uri"
31527
+ },
31528
+ {
31529
+ "kind": "field",
31530
+ "name": "selected",
31531
+ "type": {
31532
+ "text": "boolean"
31533
+ },
31534
+ "default": "false",
31535
+ "description": "When present, zn-page opens this tab on load instead of the first tab.",
31536
+ "attribute": "selected",
31537
+ "reflects": true
31538
+ }
31539
+ ],
31540
+ "attributes": [
31541
+ {
31542
+ "name": "caption",
31543
+ "type": {
31544
+ "text": "string"
31545
+ },
31546
+ "fieldName": "caption"
31547
+ },
31548
+ {
31549
+ "name": "priority",
31550
+ "type": {
31551
+ "text": "number"
31552
+ },
31553
+ "fieldName": "priority"
31554
+ },
31555
+ {
31556
+ "name": "uri",
31557
+ "type": {
31558
+ "text": "string"
31559
+ },
31560
+ "fieldName": "uri"
31561
+ },
31562
+ {
31563
+ "name": "selected",
31564
+ "type": {
31565
+ "text": "boolean"
31566
+ },
31567
+ "default": "false",
31568
+ "description": "When present, zn-page opens this tab on load instead of the first tab.",
31569
+ "fieldName": "selected"
31570
+ }
31571
+ ],
31572
+ "superclass": {
31573
+ "name": "ZincElement",
31574
+ "module": "/src/internal/zinc-element"
31575
+ },
31576
+ "summary": "Defines a tab panel for use inside zn-page.",
31577
+ "tagNameWithoutPrefix": "tab",
31578
+ "tagName": "zn-tab",
31579
+ "customElement": true,
31580
+ "jsDoc": "/**\n * @summary Defines a tab panel for use inside zn-page.\n * @documentation https://zinc.style/components/tab\n * @status experimental\n * @since 1.0\n *\n * @slot - The tab panel content.\n */",
31581
+ "documentation": "https://zinc.style/components/tab",
31582
+ "status": "experimental",
31583
+ "since": "1.0"
31584
+ }
31585
+ ],
31586
+ "exports": [
31587
+ {
31588
+ "kind": "js",
31589
+ "name": "default",
31590
+ "declaration": {
31591
+ "name": "ZnTab",
31592
+ "module": "components/tab/tab.js"
31593
+ }
31594
+ }
31595
+ ]
31596
+ },
31489
31597
  {
31490
31598
  "kind": "javascript-module",
31491
31599
  "path": "components/tabs/tabs.js",
@@ -32275,114 +32383,6 @@
32275
32383
  }
32276
32384
  ]
32277
32385
  },
32278
- {
32279
- "kind": "javascript-module",
32280
- "path": "components/tab/tab.js",
32281
- "declarations": [
32282
- {
32283
- "kind": "class",
32284
- "description": "",
32285
- "name": "ZnTab",
32286
- "slots": [
32287
- {
32288
- "description": "The tab panel content.",
32289
- "name": ""
32290
- }
32291
- ],
32292
- "members": [
32293
- {
32294
- "kind": "field",
32295
- "name": "caption",
32296
- "type": {
32297
- "text": "string"
32298
- },
32299
- "attribute": "caption"
32300
- },
32301
- {
32302
- "kind": "field",
32303
- "name": "priority",
32304
- "type": {
32305
- "text": "number"
32306
- },
32307
- "attribute": "priority"
32308
- },
32309
- {
32310
- "kind": "field",
32311
- "name": "uri",
32312
- "type": {
32313
- "text": "string"
32314
- },
32315
- "attribute": "uri"
32316
- },
32317
- {
32318
- "kind": "field",
32319
- "name": "selected",
32320
- "type": {
32321
- "text": "boolean"
32322
- },
32323
- "default": "false",
32324
- "description": "When present, zn-page opens this tab on load instead of the first tab.",
32325
- "attribute": "selected",
32326
- "reflects": true
32327
- }
32328
- ],
32329
- "attributes": [
32330
- {
32331
- "name": "caption",
32332
- "type": {
32333
- "text": "string"
32334
- },
32335
- "fieldName": "caption"
32336
- },
32337
- {
32338
- "name": "priority",
32339
- "type": {
32340
- "text": "number"
32341
- },
32342
- "fieldName": "priority"
32343
- },
32344
- {
32345
- "name": "uri",
32346
- "type": {
32347
- "text": "string"
32348
- },
32349
- "fieldName": "uri"
32350
- },
32351
- {
32352
- "name": "selected",
32353
- "type": {
32354
- "text": "boolean"
32355
- },
32356
- "default": "false",
32357
- "description": "When present, zn-page opens this tab on load instead of the first tab.",
32358
- "fieldName": "selected"
32359
- }
32360
- ],
32361
- "superclass": {
32362
- "name": "ZincElement",
32363
- "module": "/src/internal/zinc-element"
32364
- },
32365
- "summary": "Defines a tab panel for use inside zn-page.",
32366
- "tagNameWithoutPrefix": "tab",
32367
- "tagName": "zn-tab",
32368
- "customElement": true,
32369
- "jsDoc": "/**\n * @summary Defines a tab panel for use inside zn-page.\n * @documentation https://zinc.style/components/tab\n * @status experimental\n * @since 1.0\n *\n * @slot - The tab panel content.\n */",
32370
- "documentation": "https://zinc.style/components/tab",
32371
- "status": "experimental",
32372
- "since": "1.0"
32373
- }
32374
- ],
32375
- "exports": [
32376
- {
32377
- "kind": "js",
32378
- "name": "default",
32379
- "declaration": {
32380
- "name": "ZnTab",
32381
- "module": "components/tab/tab.js"
32382
- }
32383
- }
32384
- ]
32385
- },
32386
32386
  {
32387
32387
  "kind": "javascript-module",
32388
32388
  "path": "components/textarea/textarea.js",
@@ -35700,7 +35700,7 @@
35700
35700
  "package": {
35701
35701
  "name": "@kubex/zinc",
35702
35702
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
35703
- "version": "1.0.117",
35703
+ "version": "1.0.118",
35704
35704
  "author": "",
35705
35705
  "license": "MIT"
35706
35706
  }
@@ -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",
@@ -3355,6 +3355,23 @@
3355
3355
  }
3356
3356
  ]
3357
3357
  },
3358
+ {
3359
+ "name": "zn-tab",
3360
+ "description": "Defines a tab panel for use inside zn-page.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel content.",
3361
+ "attributes": [
3362
+ { "name": "caption", "values": [] },
3363
+ { "name": "priority", "values": [] },
3364
+ { "name": "uri", "values": [] },
3365
+ {
3366
+ "name": "selected",
3367
+ "description": "When present, zn-page opens this tab on load instead of the first tab.",
3368
+ "values": []
3369
+ }
3370
+ ],
3371
+ "references": [
3372
+ { "name": "Documentation", "url": "https://zinc.style/components/tab" }
3373
+ ]
3374
+ },
3358
3375
  {
3359
3376
  "name": "zn-tabs",
3360
3377
  "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.",
@@ -3385,23 +3402,6 @@
3385
3402
  { "name": "Documentation", "url": "https://zinc.style/components/tabs" }
3386
3403
  ]
3387
3404
  },
3388
- {
3389
- "name": "zn-tab",
3390
- "description": "Defines a tab panel for use inside zn-page.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel content.",
3391
- "attributes": [
3392
- { "name": "caption", "values": [] },
3393
- { "name": "priority", "values": [] },
3394
- { "name": "uri", "values": [] },
3395
- {
3396
- "name": "selected",
3397
- "description": "When present, zn-page opens this tab on load instead of the first tab.",
3398
- "values": []
3399
- }
3400
- ],
3401
- "references": [
3402
- { "name": "Documentation", "url": "https://zinc.style/components/tab" }
3403
- ]
3404
- },
3405
3405
  {
3406
3406
  "name": "zn-textarea",
3407
3407
  "description": "Textareas collect data from the user and allow multiple lines of text.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the control loses focus.\n- **zn-change** - Emitted when an alteration to the control's value is committed by the user.\n- **zn-focus** - Emitted when the control gains focus.\n- **zn-input** - Emitted when the control receives input.\n- **zn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the textarea.\n- **blur()** - Removes focus from the textarea.\n- **select()** - Selects all the text in the textarea.\n- **scrollPosition(position: _{ top?: number; left?: number }_): _{ top: number; left: number } | undefined_** - Gets or sets the textarea scroll position.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The textareas label. Alternatively, you can use the `label` attribute.\n- **label-tooltip** - Used to add text that is displayed in a tooltip next to the label. Alternatively, you can use the `label-tooltip` attribute.\n- **context-note** - Used to add contextual text that is displayed above the textarea, on the right. Alternatively, you can use the `context-note` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **textarea** - The internal `<textarea>` control.",
@@ -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.117",
4
+ "version": "1.0.118",
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",
@@ -7873,6 +7873,36 @@
7873
7873
  ]
7874
7874
  }
7875
7875
  },
7876
+ {
7877
+ "name": "zn-tab",
7878
+ "description": "Defines a tab panel for use inside zn-page.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel content.",
7879
+ "doc-url": "",
7880
+ "attributes": [
7881
+ { "name": "caption", "value": { "type": "string" } },
7882
+ { "name": "priority", "value": { "type": "number" } },
7883
+ { "name": "uri", "value": { "type": "string" } },
7884
+ {
7885
+ "name": "selected",
7886
+ "description": "When present, zn-page opens this tab on load instead of the first tab.",
7887
+ "value": { "type": "boolean", "default": "false" }
7888
+ }
7889
+ ],
7890
+ "slots": [{ "name": "", "description": "The tab panel content." }],
7891
+ "events": [],
7892
+ "js": {
7893
+ "properties": [
7894
+ { "name": "caption", "type": "string" },
7895
+ { "name": "priority", "type": "number" },
7896
+ { "name": "uri", "type": "string" },
7897
+ {
7898
+ "name": "selected",
7899
+ "description": "When present, zn-page opens this tab on load instead of the first tab.",
7900
+ "type": "boolean"
7901
+ }
7902
+ ],
7903
+ "events": []
7904
+ }
7905
+ },
7876
7906
  {
7877
7907
  "name": "zn-tabs",
7878
7908
  "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.",
@@ -7977,36 +8007,6 @@
7977
8007
  ]
7978
8008
  }
7979
8009
  },
7980
- {
7981
- "name": "zn-tab",
7982
- "description": "Defines a tab panel for use inside zn-page.\n---\n\n\n### **Slots:**\n - _default_ - The tab panel content.",
7983
- "doc-url": "",
7984
- "attributes": [
7985
- { "name": "caption", "value": { "type": "string" } },
7986
- { "name": "priority", "value": { "type": "number" } },
7987
- { "name": "uri", "value": { "type": "string" } },
7988
- {
7989
- "name": "selected",
7990
- "description": "When present, zn-page opens this tab on load instead of the first tab.",
7991
- "value": { "type": "boolean", "default": "false" }
7992
- }
7993
- ],
7994
- "slots": [{ "name": "", "description": "The tab panel content." }],
7995
- "events": [],
7996
- "js": {
7997
- "properties": [
7998
- { "name": "caption", "type": "string" },
7999
- { "name": "priority", "type": "number" },
8000
- { "name": "uri", "type": "string" },
8001
- {
8002
- "name": "selected",
8003
- "description": "When present, zn-page opens this tab on load instead of the first tab.",
8004
- "type": "boolean"
8005
- }
8006
- ],
8007
- "events": []
8008
- }
8009
- },
8010
8010
  {
8011
8011
  "name": "zn-textarea",
8012
8012
  "description": "Textareas collect data from the user and allow multiple lines of text.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the control loses focus.\n- **zn-change** - Emitted when an alteration to the control's value is committed by the user.\n- **zn-focus** - Emitted when the control gains focus.\n- **zn-input** - Emitted when the control receives input.\n- **zn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the textarea.\n- **blur()** - Removes focus from the textarea.\n- **select()** - Selects all the text in the textarea.\n- **scrollPosition(position: _{ top?: number; left?: number }_): _{ top: number; left: number } | undefined_** - Gets or sets the textarea scroll position.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The textareas label. Alternatively, you can use the `label` attribute.\n- **label-tooltip** - Used to add text that is displayed in a tooltip next to the label. Alternatively, you can use the `label-tooltip` attribute.\n- **context-note** - Used to add contextual text that is displayed above the textarea, on the right. Alternatively, you can use the `context-note` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **textarea** - The internal `<textarea>` control.",