@kubex/zinc 1.1.7 → 1.1.9

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.
@@ -137,6 +137,21 @@
137
137
  }
138
138
  ]
139
139
  },
140
+ {
141
+ "name": "zn-bulk-actions",
142
+ "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.",
143
+ "attributes": [
144
+ { "name": "name", "values": [] },
145
+ { "name": "value", "values": [{ "name": "PropertyKey" }] },
146
+ { "name": "actions", "values": [{ "name": "BulkActionData" }] }
147
+ ],
148
+ "references": [
149
+ {
150
+ "name": "Documentation",
151
+ "url": "https://zinc.style/components/bulk-actions"
152
+ }
153
+ ]
154
+ },
140
155
  {
141
156
  "name": "zn-button",
142
157
  "description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the button loses focus.\n- **zn-focus** - Emitted when the button gains focus.\n- **zn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Slots:**\n - _default_ - The button's label.\n- **prefix** - A presentational prefix icon or similar element.\n- **suffix** - A presentational suffix icon or similar element.\n- **cancel** - Slot for custom cancel button/content when autoClick is active.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **prefix** - The container that wraps the prefix.\n- **label** - The button's label.\n- **suffix** - The container that wraps the suffix.\n- **caret** - The button's caret icon, an `<zn-icon>` element.\n- **spinner** - The spinner that shows when the button is in the loading state.",
@@ -290,21 +305,6 @@
290
305
  }
291
306
  ]
292
307
  },
293
- {
294
- "name": "zn-bulk-actions",
295
- "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.",
296
- "attributes": [
297
- { "name": "name", "values": [] },
298
- { "name": "value", "values": [{ "name": "PropertyKey" }] },
299
- { "name": "actions", "values": [{ "name": "BulkActionData" }] }
300
- ],
301
- "references": [
302
- {
303
- "name": "Documentation",
304
- "url": "https://zinc.style/components/bulk-actions"
305
- }
306
- ]
307
- },
308
308
  {
309
309
  "name": "zn-button-menu",
310
310
  "description": "Automatically hides buttons in a menu when the screen is too small.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.",
@@ -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
  {
@@ -3175,6 +3176,33 @@
3175
3176
  }
3176
3177
  ]
3177
3178
  },
3179
+ {
3180
+ "name": "zn-slideout",
3181
+ "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-show** - Emitted when the slideout is opens.\n- **zn-close** - Emitted when the slideout is closed.\n- **zn-request-close** - Emitted when the user attempts to close the slideout by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the slideout open. Avoid using this unless closing the slideout will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the slideout.\n- **hide()** - Hides the slideout.\n\n### **Slots:**\n - _default_ - The default slot.\n- **label** - The slideout's label. Alternatively you can use the `label` attribute.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the slideout. Note the slideout will shrink to accommodate smaller screens. _(default: undefined)_\n- **--header-spacing** - The amount of padding to use for the header. _(default: undefined)_\n- **--body-spacing** - The amount of padding to use for the body. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The slideout's header. This element wraps the title and header actions.\n- **close-button** - The slideout's close button.\n- **close-button__base** - The close buttons exported `base` part.\n- **body** - The slideout's body.",
3182
+ "attributes": [
3183
+ {
3184
+ "name": "open",
3185
+ "description": "Indicated whether of not the slideout is open. You can toggle this attribute to show and hide the slideout, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the slideout's state.",
3186
+ "values": []
3187
+ },
3188
+ {
3189
+ "name": "label",
3190
+ "description": "The slideout's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
3191
+ "values": []
3192
+ },
3193
+ {
3194
+ "name": "trigger",
3195
+ "description": "The slideout's trigger element. This is used to open the slideout when clicked. If you do not provide a trigger, you\nwill need to manually open the slideout using the `show()` method.",
3196
+ "values": []
3197
+ }
3198
+ ],
3199
+ "references": [
3200
+ {
3201
+ "name": "Documentation",
3202
+ "url": "https://zinc.style/components/slideout"
3203
+ }
3204
+ ]
3205
+ },
3178
3206
  {
3179
3207
  "name": "zn-sp",
3180
3208
  "description": "A flexible layout container for spacing and arranging child elements in rows or columns with configurable gap, padding, and dividers.\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.",
@@ -3223,6 +3251,23 @@
3223
3251
  { "name": "Documentation", "url": "https://zinc.style/components/sp" }
3224
3252
  ]
3225
3253
  },
3254
+ {
3255
+ "name": "zn-split-button",
3256
+ "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.",
3257
+ "attributes": [
3258
+ { "name": "caption", "values": [] },
3259
+ { "name": "href", "values": [] },
3260
+ { "name": "name", "values": [] },
3261
+ { "name": "value", "values": [] },
3262
+ { "name": "type", "values": [] }
3263
+ ],
3264
+ "references": [
3265
+ {
3266
+ "name": "Documentation",
3267
+ "url": "https://zinc.style/components/split-button"
3268
+ }
3269
+ ]
3270
+ },
3226
3271
  {
3227
3272
  "name": "zn-split-pane",
3228
3273
  "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-split-pane-focus-change**\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.",
@@ -3261,50 +3306,6 @@
3261
3306
  }
3262
3307
  ]
3263
3308
  },
3264
- {
3265
- "name": "zn-slideout",
3266
- "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-show** - Emitted when the slideout is opens.\n- **zn-close** - Emitted when the slideout is closed.\n- **zn-request-close** - Emitted when the user attempts to close the slideout by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the slideout open. Avoid using this unless closing the slideout will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the slideout.\n- **hide()** - Hides the slideout.\n\n### **Slots:**\n - _default_ - The default slot.\n- **label** - The slideout's label. Alternatively you can use the `label` attribute.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the slideout. Note the slideout will shrink to accommodate smaller screens. _(default: undefined)_\n- **--header-spacing** - The amount of padding to use for the header. _(default: undefined)_\n- **--body-spacing** - The amount of padding to use for the body. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The slideout's header. This element wraps the title and header actions.\n- **close-button** - The slideout's close button.\n- **close-button__base** - The close buttons exported `base` part.\n- **body** - The slideout's body.",
3267
- "attributes": [
3268
- {
3269
- "name": "open",
3270
- "description": "Indicated whether of not the slideout is open. You can toggle this attribute to show and hide the slideout, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the slideout's state.",
3271
- "values": []
3272
- },
3273
- {
3274
- "name": "label",
3275
- "description": "The slideout's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
3276
- "values": []
3277
- },
3278
- {
3279
- "name": "trigger",
3280
- "description": "The slideout's trigger element. This is used to open the slideout when clicked. If you do not provide a trigger, you\nwill need to manually open the slideout using the `show()` method.",
3281
- "values": []
3282
- }
3283
- ],
3284
- "references": [
3285
- {
3286
- "name": "Documentation",
3287
- "url": "https://zinc.style/components/slideout"
3288
- }
3289
- ]
3290
- },
3291
- {
3292
- "name": "zn-split-button",
3293
- "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.",
3294
- "attributes": [
3295
- { "name": "caption", "values": [] },
3296
- { "name": "href", "values": [] },
3297
- { "name": "name", "values": [] },
3298
- { "name": "value", "values": [] },
3299
- { "name": "type", "values": [] }
3300
- ],
3301
- "references": [
3302
- {
3303
- "name": "Documentation",
3304
- "url": "https://zinc.style/components/split-button"
3305
- }
3306
- ]
3307
- },
3308
3309
  {
3309
3310
  "name": "zn-stat",
3310
3311
  "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.",
@@ -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.7",
4
+ "version": "1.1.9",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -245,6 +245,44 @@
245
245
  "events": []
246
246
  }
247
247
  },
248
+ {
249
+ "name": "zn-bulk-actions",
250
+ "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.",
251
+ "doc-url": "",
252
+ "attributes": [
253
+ { "name": "name", "value": { "type": "string" } },
254
+ { "name": "value", "value": { "type": "PropertyKey" } },
255
+ {
256
+ "name": "actions",
257
+ "value": { "type": "BulkActionData", "default": "[]" }
258
+ }
259
+ ],
260
+ "slots": [
261
+ { "name": "", "description": "The default slot." },
262
+ { "name": "example", "description": "An example slot." }
263
+ ],
264
+ "events": [
265
+ { "name": "zn-event-name", "description": "Emitted as an example." }
266
+ ],
267
+ "js": {
268
+ "properties": [
269
+ { "name": "container", "type": "HTMLDivElement" },
270
+ { "name": "addRule", "type": "ZnSelect" },
271
+ { "name": "input", "type": "HTMLInputElement" },
272
+ { "name": "name", "type": "string" },
273
+ { "name": "value", "type": "PropertyKey" },
274
+ { "name": "actions", "type": "BulkActionData" },
275
+ { "name": "validationMessage", "type": "string" },
276
+ { "name": "validity", "type": "ValidityState" }
277
+ ],
278
+ "events": [
279
+ {
280
+ "name": "zn-event-name",
281
+ "description": "Emitted as an example."
282
+ }
283
+ ]
284
+ }
285
+ },
248
286
  {
249
287
  "name": "zn-button",
250
288
  "description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the button loses focus.\n- **zn-focus** - Emitted when the button gains focus.\n- **zn-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Slots:**\n - _default_ - The button's label.\n- **prefix** - A presentational prefix icon or similar element.\n- **suffix** - A presentational suffix icon or similar element.\n- **cancel** - Slot for custom cancel button/content when autoClick is active.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **prefix** - The container that wraps the prefix.\n- **label** - The button's label.\n- **suffix** - The container that wraps the suffix.\n- **caret** - The button's caret icon, an `<zn-icon>` element.\n- **spinner** - The spinner that shows when the button is in the loading state.",
@@ -561,44 +599,6 @@
561
599
  ]
562
600
  }
563
601
  },
564
- {
565
- "name": "zn-bulk-actions",
566
- "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.",
567
- "doc-url": "",
568
- "attributes": [
569
- { "name": "name", "value": { "type": "string" } },
570
- { "name": "value", "value": { "type": "PropertyKey" } },
571
- {
572
- "name": "actions",
573
- "value": { "type": "BulkActionData", "default": "[]" }
574
- }
575
- ],
576
- "slots": [
577
- { "name": "", "description": "The default slot." },
578
- { "name": "example", "description": "An example slot." }
579
- ],
580
- "events": [
581
- { "name": "zn-event-name", "description": "Emitted as an example." }
582
- ],
583
- "js": {
584
- "properties": [
585
- { "name": "container", "type": "HTMLDivElement" },
586
- { "name": "addRule", "type": "ZnSelect" },
587
- { "name": "input", "type": "HTMLInputElement" },
588
- { "name": "name", "type": "string" },
589
- { "name": "value", "type": "PropertyKey" },
590
- { "name": "actions", "type": "BulkActionData" },
591
- { "name": "validationMessage", "type": "string" },
592
- { "name": "validity", "type": "ValidityState" }
593
- ],
594
- "events": [
595
- {
596
- "name": "zn-event-name",
597
- "description": "Emitted as an example."
598
- }
599
- ]
600
- }
601
- },
602
602
  {
603
603
  "name": "zn-button-menu",
604
604
  "description": "Automatically hides buttons in a menu when the screen is too small.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.",
@@ -6690,6 +6690,10 @@
6690
6690
  {
6691
6691
  "name": "revealed",
6692
6692
  "value": { "type": "string", "default": "''" }
6693
+ },
6694
+ {
6695
+ "name": "hide-delay",
6696
+ "value": { "type": "number", "default": "150" }
6693
6697
  }
6694
6698
  ],
6695
6699
  "slots": [
@@ -6703,7 +6707,8 @@
6703
6707
  "properties": [
6704
6708
  { "name": "duration", "type": "number" },
6705
6709
  { "name": "initial", "type": "string" },
6706
- { "name": "revealed", "type": "string" }
6710
+ { "name": "revealed", "type": "string" },
6711
+ { "name": "hideDelay", "type": "number" }
6707
6712
  ],
6708
6713
  "events": [
6709
6714
  {
@@ -7388,6 +7393,87 @@
7388
7393
  "events": []
7389
7394
  }
7390
7395
  },
7396
+ {
7397
+ "name": "zn-slideout",
7398
+ "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-show** - Emitted when the slideout is opens.\n- **zn-close** - Emitted when the slideout is closed.\n- **zn-request-close** - Emitted when the user attempts to close the slideout by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the slideout open. Avoid using this unless closing the slideout will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the slideout.\n- **hide()** - Hides the slideout.\n\n### **Slots:**\n - _default_ - The default slot.\n- **label** - The slideout's label. Alternatively you can use the `label` attribute.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the slideout. Note the slideout will shrink to accommodate smaller screens. _(default: undefined)_\n- **--header-spacing** - The amount of padding to use for the header. _(default: undefined)_\n- **--body-spacing** - The amount of padding to use for the body. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The slideout's header. This element wraps the title and header actions.\n- **close-button** - The slideout's close button.\n- **close-button__base** - The close buttons exported `base` part.\n- **body** - The slideout's body.",
7399
+ "doc-url": "",
7400
+ "attributes": [
7401
+ {
7402
+ "name": "open",
7403
+ "description": "Indicated whether of not the slideout is open. You can toggle this attribute to show and hide the slideout, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the slideout's state.",
7404
+ "value": { "type": "boolean", "default": "false" }
7405
+ },
7406
+ {
7407
+ "name": "label",
7408
+ "description": "The slideout's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
7409
+ "value": { "type": "string" }
7410
+ },
7411
+ {
7412
+ "name": "trigger",
7413
+ "description": "The slideout's trigger element. This is used to open the slideout when clicked. If you do not provide a trigger, you\nwill need to manually open the slideout using the `show()` method.",
7414
+ "value": { "type": "string" }
7415
+ }
7416
+ ],
7417
+ "slots": [
7418
+ { "name": "", "description": "The default slot." },
7419
+ {
7420
+ "name": "label",
7421
+ "description": "The slideout's label. Alternatively you can use the `label` attribute."
7422
+ }
7423
+ ],
7424
+ "events": [
7425
+ {
7426
+ "name": "zn-show",
7427
+ "description": "Emitted when the slideout is opens."
7428
+ },
7429
+ {
7430
+ "name": "zn-close",
7431
+ "description": "Emitted when the slideout is closed."
7432
+ },
7433
+ {
7434
+ "name": "zn-request-close",
7435
+ "type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
7436
+ "description": "Emitted when the user attempts to close the slideout by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the slideout open. Avoid using this unless closing the slideout will result in destructive behavior such as data loss."
7437
+ }
7438
+ ],
7439
+ "js": {
7440
+ "properties": [
7441
+ { "name": "slideout", "type": "HTMLDialogElement" },
7442
+ { "name": "panel", "type": "HTMLElement" },
7443
+ { "name": "overlay", "type": "HTMLElement" },
7444
+ {
7445
+ "name": "open",
7446
+ "description": "Indicated whether of not the slideout is open. You can toggle this attribute to show and hide the slideout, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the slideout's state.",
7447
+ "type": "boolean"
7448
+ },
7449
+ {
7450
+ "name": "label",
7451
+ "description": "The slideout's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
7452
+ "type": "string"
7453
+ },
7454
+ {
7455
+ "name": "trigger",
7456
+ "description": "The slideout's trigger element. This is used to open the slideout when clicked. If you do not provide a trigger, you\nwill need to manually open the slideout using the `show()` method.",
7457
+ "type": "string"
7458
+ }
7459
+ ],
7460
+ "events": [
7461
+ {
7462
+ "name": "zn-show",
7463
+ "description": "Emitted when the slideout is opens."
7464
+ },
7465
+ {
7466
+ "name": "zn-close",
7467
+ "description": "Emitted when the slideout is closed."
7468
+ },
7469
+ {
7470
+ "name": "zn-request-close",
7471
+ "type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
7472
+ "description": "Emitted when the user attempts to close the slideout by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the slideout open. Avoid using this unless closing the slideout will result in destructive behavior such as data loss."
7473
+ }
7474
+ ]
7475
+ }
7476
+ },
7391
7477
  {
7392
7478
  "name": "zn-sp",
7393
7479
  "description": "A flexible layout container for spacing and arranging child elements in rows or columns with configurable gap, padding, and dividers.\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.",
@@ -7519,6 +7605,45 @@
7519
7605
  ]
7520
7606
  }
7521
7607
  },
7608
+ {
7609
+ "name": "zn-split-button",
7610
+ "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.",
7611
+ "doc-url": "",
7612
+ "attributes": [
7613
+ { "name": "caption", "value": { "type": "string" } },
7614
+ { "name": "href", "value": { "type": "string" } },
7615
+ { "name": "name", "value": { "type": "string" } },
7616
+ { "name": "value", "value": { "type": "string" } },
7617
+ { "name": "type", "value": { "type": "string" } }
7618
+ ],
7619
+ "slots": [
7620
+ { "name": "", "description": "The default slot." },
7621
+ { "name": "example", "description": "An example slot." }
7622
+ ],
7623
+ "events": [
7624
+ { "name": "zn-event-name", "description": "Emitted as an example." }
7625
+ ],
7626
+ "js": {
7627
+ "properties": [
7628
+ { "name": "caption", "type": "string" },
7629
+ { "name": "href", "type": "string" },
7630
+ { "name": "name", "type": "string" },
7631
+ { "name": "value", "type": "string" },
7632
+ { "name": "defaultValue", "type": "string" },
7633
+ { "name": "type", "type": "string" },
7634
+ { "name": "dropdown", "type": "ZnDropdown" },
7635
+ { "name": "button", "type": "ZnButton" },
7636
+ { "name": "validity" },
7637
+ { "name": "validationMessage" }
7638
+ ],
7639
+ "events": [
7640
+ {
7641
+ "name": "zn-event-name",
7642
+ "description": "Emitted as an example."
7643
+ }
7644
+ ]
7645
+ }
7646
+ },
7522
7647
  {
7523
7648
  "name": "zn-split-pane",
7524
7649
  "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-split-pane-focus-change**\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.",
@@ -7637,126 +7762,6 @@
7637
7762
  ]
7638
7763
  }
7639
7764
  },
7640
- {
7641
- "name": "zn-slideout",
7642
- "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-show** - Emitted when the slideout is opens.\n- **zn-close** - Emitted when the slideout is closed.\n- **zn-request-close** - Emitted when the user attempts to close the slideout by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the slideout open. Avoid using this unless closing the slideout will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the slideout.\n- **hide()** - Hides the slideout.\n\n### **Slots:**\n - _default_ - The default slot.\n- **label** - The slideout's label. Alternatively you can use the `label` attribute.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the slideout. Note the slideout will shrink to accommodate smaller screens. _(default: undefined)_\n- **--header-spacing** - The amount of padding to use for the header. _(default: undefined)_\n- **--body-spacing** - The amount of padding to use for the body. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The slideout's header. This element wraps the title and header actions.\n- **close-button** - The slideout's close button.\n- **close-button__base** - The close buttons exported `base` part.\n- **body** - The slideout's body.",
7643
- "doc-url": "",
7644
- "attributes": [
7645
- {
7646
- "name": "open",
7647
- "description": "Indicated whether of not the slideout is open. You can toggle this attribute to show and hide the slideout, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the slideout's state.",
7648
- "value": { "type": "boolean", "default": "false" }
7649
- },
7650
- {
7651
- "name": "label",
7652
- "description": "The slideout's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
7653
- "value": { "type": "string" }
7654
- },
7655
- {
7656
- "name": "trigger",
7657
- "description": "The slideout's trigger element. This is used to open the slideout when clicked. If you do not provide a trigger, you\nwill need to manually open the slideout using the `show()` method.",
7658
- "value": { "type": "string" }
7659
- }
7660
- ],
7661
- "slots": [
7662
- { "name": "", "description": "The default slot." },
7663
- {
7664
- "name": "label",
7665
- "description": "The slideout's label. Alternatively you can use the `label` attribute."
7666
- }
7667
- ],
7668
- "events": [
7669
- {
7670
- "name": "zn-show",
7671
- "description": "Emitted when the slideout is opens."
7672
- },
7673
- {
7674
- "name": "zn-close",
7675
- "description": "Emitted when the slideout is closed."
7676
- },
7677
- {
7678
- "name": "zn-request-close",
7679
- "type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
7680
- "description": "Emitted when the user attempts to close the slideout by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the slideout open. Avoid using this unless closing the slideout will result in destructive behavior such as data loss."
7681
- }
7682
- ],
7683
- "js": {
7684
- "properties": [
7685
- { "name": "slideout", "type": "HTMLDialogElement" },
7686
- { "name": "panel", "type": "HTMLElement" },
7687
- { "name": "overlay", "type": "HTMLElement" },
7688
- {
7689
- "name": "open",
7690
- "description": "Indicated whether of not the slideout is open. You can toggle this attribute to show and hide the slideout, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the slideout's state.",
7691
- "type": "boolean"
7692
- },
7693
- {
7694
- "name": "label",
7695
- "description": "The slideout's label as displayed in the header. You should always include a relevant label even when using\n`no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.",
7696
- "type": "string"
7697
- },
7698
- {
7699
- "name": "trigger",
7700
- "description": "The slideout's trigger element. This is used to open the slideout when clicked. If you do not provide a trigger, you\nwill need to manually open the slideout using the `show()` method.",
7701
- "type": "string"
7702
- }
7703
- ],
7704
- "events": [
7705
- {
7706
- "name": "zn-show",
7707
- "description": "Emitted when the slideout is opens."
7708
- },
7709
- {
7710
- "name": "zn-close",
7711
- "description": "Emitted when the slideout is closed."
7712
- },
7713
- {
7714
- "name": "zn-request-close",
7715
- "type": "{ source: 'close-button' | 'keyboard' | 'overlay' }",
7716
- "description": "Emitted when the user attempts to close the slideout by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the slideout open. Avoid using this unless closing the slideout will result in destructive behavior such as data loss."
7717
- }
7718
- ]
7719
- }
7720
- },
7721
- {
7722
- "name": "zn-split-button",
7723
- "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.",
7724
- "doc-url": "",
7725
- "attributes": [
7726
- { "name": "caption", "value": { "type": "string" } },
7727
- { "name": "href", "value": { "type": "string" } },
7728
- { "name": "name", "value": { "type": "string" } },
7729
- { "name": "value", "value": { "type": "string" } },
7730
- { "name": "type", "value": { "type": "string" } }
7731
- ],
7732
- "slots": [
7733
- { "name": "", "description": "The default slot." },
7734
- { "name": "example", "description": "An example slot." }
7735
- ],
7736
- "events": [
7737
- { "name": "zn-event-name", "description": "Emitted as an example." }
7738
- ],
7739
- "js": {
7740
- "properties": [
7741
- { "name": "caption", "type": "string" },
7742
- { "name": "href", "type": "string" },
7743
- { "name": "name", "type": "string" },
7744
- { "name": "value", "type": "string" },
7745
- { "name": "defaultValue", "type": "string" },
7746
- { "name": "type", "type": "string" },
7747
- { "name": "dropdown", "type": "ZnDropdown" },
7748
- { "name": "button", "type": "ZnButton" },
7749
- { "name": "validity" },
7750
- { "name": "validationMessage" }
7751
- ],
7752
- "events": [
7753
- {
7754
- "name": "zn-event-name",
7755
- "description": "Emitted as an example."
7756
- }
7757
- ]
7758
- }
7759
- },
7760
7765
  {
7761
7766
  "name": "zn-stat",
7762
7767
  "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.",
package/dist/zn.d.ts CHANGED
@@ -7636,8 +7636,12 @@ declare module "components/reveal/reveal.component" {
7636
7636
  duration: number;
7637
7637
  initial: string;
7638
7638
  revealed: string;
7639
+ hideDelay: number;
7639
7640
  private _isRevealed;
7640
7641
  private _isToggled;
7642
+ private _hideTimer?;
7643
+ disconnectedCallback(): void;
7644
+ private _clearHideTimer;
7641
7645
  protected handleToggleReveal(): void;
7642
7646
  protected handleMouseEnter(): void;
7643
7647
  protected handleMouseLeave(): void;