@kubex/zinc 1.0.17 → 1.0.19

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.
@@ -290,6 +290,174 @@
290
290
  }
291
291
  ]
292
292
  },
293
+ {
294
+ "kind": "javascript-module",
295
+ "path": "components/audio-select/audio-select.js",
296
+ "declarations": [
297
+ {
298
+ "kind": "class",
299
+ "description": "",
300
+ "name": "ZnAudioSelect",
301
+ "cssProperties": [
302
+ {
303
+ "description": "An example CSS custom property.",
304
+ "name": "--example"
305
+ }
306
+ ],
307
+ "cssParts": [
308
+ {
309
+ "description": "The component's base wrapper.",
310
+ "name": "base"
311
+ }
312
+ ],
313
+ "slots": [
314
+ {
315
+ "description": "The default slot.",
316
+ "name": ""
317
+ },
318
+ {
319
+ "description": "The actions slot.",
320
+ "name": "actions"
321
+ },
322
+ {
323
+ "description": "The footer slot.",
324
+ "name": "footer"
325
+ }
326
+ ],
327
+ "members": [
328
+ {
329
+ "kind": "field",
330
+ "name": "_selectedUrl",
331
+ "type": {
332
+ "text": "string"
333
+ },
334
+ "privacy": "private",
335
+ "default": "''"
336
+ },
337
+ {
338
+ "kind": "field",
339
+ "name": "_isPlaying",
340
+ "type": {
341
+ "text": "boolean"
342
+ },
343
+ "privacy": "private",
344
+ "default": "false"
345
+ },
346
+ {
347
+ "kind": "field",
348
+ "name": "_audio",
349
+ "type": {
350
+ "text": "HTMLAudioElement"
351
+ },
352
+ "privacy": "private",
353
+ "readonly": true,
354
+ "default": "new Audio()"
355
+ },
356
+ {
357
+ "kind": "field",
358
+ "name": "label",
359
+ "type": {
360
+ "text": "string"
361
+ },
362
+ "default": "''",
363
+ "attribute": "label"
364
+ },
365
+ {
366
+ "kind": "field",
367
+ "name": "placeholder",
368
+ "type": {
369
+ "text": "string"
370
+ },
371
+ "default": "''",
372
+ "attribute": "placeholder"
373
+ },
374
+ {
375
+ "kind": "field",
376
+ "name": "files",
377
+ "type": {
378
+ "text": "AudioFile[]"
379
+ },
380
+ "attribute": "files"
381
+ },
382
+ {
383
+ "kind": "method",
384
+ "name": "_stopAudio"
385
+ },
386
+ {
387
+ "kind": "method",
388
+ "name": "handleSelectChange",
389
+ "parameters": [
390
+ {
391
+ "name": "e",
392
+ "type": {
393
+ "text": "ZnChangeEvent"
394
+ }
395
+ }
396
+ ]
397
+ },
398
+ {
399
+ "kind": "method",
400
+ "name": "togglePreview",
401
+ "parameters": [
402
+ {
403
+ "name": "e",
404
+ "type": {
405
+ "text": "CustomEvent"
406
+ }
407
+ }
408
+ ]
409
+ }
410
+ ],
411
+ "attributes": [
412
+ {
413
+ "name": "label",
414
+ "type": {
415
+ "text": "string"
416
+ },
417
+ "default": "''",
418
+ "fieldName": "label"
419
+ },
420
+ {
421
+ "name": "placeholder",
422
+ "type": {
423
+ "text": "string"
424
+ },
425
+ "default": "''",
426
+ "fieldName": "placeholder"
427
+ },
428
+ {
429
+ "name": "files",
430
+ "type": {
431
+ "text": "AudioFile[]"
432
+ },
433
+ "fieldName": "files"
434
+ }
435
+ ],
436
+ "superclass": {
437
+ "name": "ZincElement",
438
+ "module": "/src/internal/zinc-element"
439
+ },
440
+ "summary": "Short summary of the component's intended use.",
441
+ "tagNameWithoutPrefix": "audio-select",
442
+ "tagName": "zn-audio-select",
443
+ "customElement": true,
444
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/audio-select\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot.\n * @slot actions - The actions slot.\n * @slot footer - The footer slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
445
+ "documentation": "https://zinc.style/components/audio-select",
446
+ "status": "experimental",
447
+ "since": "1.0"
448
+ }
449
+ ],
450
+ "exports": [
451
+ {
452
+ "kind": "js",
453
+ "name": "default",
454
+ "declaration": {
455
+ "name": "ZnAudioSelect",
456
+ "module": "components/audio-select/audio-select.js"
457
+ }
458
+ }
459
+ ]
460
+ },
293
461
  {
294
462
  "kind": "javascript-module",
295
463
  "path": "components/bulk-actions/bulk-actions.js",
@@ -2222,6 +2390,10 @@
2222
2390
  "description": "The checked icon, an `<zn-icon>` element.",
2223
2391
  "name": "checked-icon"
2224
2392
  },
2393
+ {
2394
+ "description": "The unchecked icon, an `<zn-icon>` element.",
2395
+ "name": "unchecked-icon"
2396
+ },
2225
2397
  {
2226
2398
  "description": "The indeterminate icon, an `<zn-icon>` element.",
2227
2399
  "name": "indeterminate-icon"
@@ -2444,6 +2616,55 @@
2444
2616
  },
2445
2617
  "attribute": "label-tooltip"
2446
2618
  },
2619
+ {
2620
+ "kind": "field",
2621
+ "name": "checkedIcon",
2622
+ "type": {
2623
+ "text": "string"
2624
+ },
2625
+ "default": "''",
2626
+ "description": "The icon to show when the checkbox is checked.",
2627
+ "attribute": "checked-icon"
2628
+ },
2629
+ {
2630
+ "kind": "field",
2631
+ "name": "uncheckedIcon",
2632
+ "type": {
2633
+ "text": "string"
2634
+ },
2635
+ "default": "''",
2636
+ "description": "The icon to show when the checkbox is unchecked.",
2637
+ "attribute": "unchecked-icon"
2638
+ },
2639
+ {
2640
+ "kind": "field",
2641
+ "name": "color",
2642
+ "type": {
2643
+ "text": "ColorOption"
2644
+ },
2645
+ "default": "'default'",
2646
+ "description": "The color of the checkbox.",
2647
+ "attribute": "color",
2648
+ "reflects": true
2649
+ },
2650
+ {
2651
+ "kind": "field",
2652
+ "name": "checkedColor",
2653
+ "type": {
2654
+ "text": "ColorOption"
2655
+ },
2656
+ "description": "The color of the checkbox when checked. Overrides `color`.",
2657
+ "attribute": "checked-color"
2658
+ },
2659
+ {
2660
+ "kind": "field",
2661
+ "name": "uncheckedColor",
2662
+ "type": {
2663
+ "text": "ColorOption"
2664
+ },
2665
+ "description": "The color of the checkbox when unchecked. Overrides `color`.",
2666
+ "attribute": "unchecked-color"
2667
+ },
2447
2668
  {
2448
2669
  "kind": "field",
2449
2670
  "name": "validity",
@@ -2715,6 +2936,49 @@
2715
2936
  "text": "string"
2716
2937
  },
2717
2938
  "fieldName": "labelTooltip"
2939
+ },
2940
+ {
2941
+ "name": "checked-icon",
2942
+ "type": {
2943
+ "text": "string"
2944
+ },
2945
+ "default": "''",
2946
+ "description": "The icon to show when the checkbox is checked.",
2947
+ "fieldName": "checkedIcon"
2948
+ },
2949
+ {
2950
+ "name": "unchecked-icon",
2951
+ "type": {
2952
+ "text": "string"
2953
+ },
2954
+ "default": "''",
2955
+ "description": "The icon to show when the checkbox is unchecked.",
2956
+ "fieldName": "uncheckedIcon"
2957
+ },
2958
+ {
2959
+ "name": "color",
2960
+ "type": {
2961
+ "text": "ColorOption"
2962
+ },
2963
+ "default": "'default'",
2964
+ "description": "The color of the checkbox.",
2965
+ "fieldName": "color"
2966
+ },
2967
+ {
2968
+ "name": "checked-color",
2969
+ "type": {
2970
+ "text": "ColorOption"
2971
+ },
2972
+ "description": "The color of the checkbox when checked. Overrides `color`.",
2973
+ "fieldName": "checkedColor"
2974
+ },
2975
+ {
2976
+ "name": "unchecked-color",
2977
+ "type": {
2978
+ "text": "ColorOption"
2979
+ },
2980
+ "description": "The color of the checkbox when unchecked. Overrides `color`.",
2981
+ "fieldName": "uncheckedColor"
2718
2982
  }
2719
2983
  ],
2720
2984
  "superclass": {
@@ -2725,7 +2989,7 @@
2725
2989
  "tagNameWithoutPrefix": "checkbox",
2726
2990
  "tagName": "zn-checkbox",
2727
2991
  "customElement": true,
2728
- "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/checkbox\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n *\n * @slot - The checkbox's label.\n * @slot description - A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.\n * @slot selected-content - Use to nest rich content (like an input) inside a selected checkbox item. Use only with the contained style.\n *\n * @event zn-blur - Emitted when the checkbox loses focus.\n * @event zn-change - Emitted when the checked state changes.\n * @event zn-focus - Emitted when the checkbox gains focus.\n * @event zn-input - Emitted when the checkbox receives input.\n * @event zn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart base - The component's base wrapper.\n * @csspart control - The square container that wraps the checkbox's checked state.\n * @csspart control--checked - Matches the control part when the checkbox is checked.\n * @csspart control--indeterminate - Matches the control part when the checkbox is indeterminate.\n * @csspart checked-icon - The checked icon, an `<zn-icon>` element.\n * @csspart indeterminate-icon - The indeterminate icon, an `<zn-icon>` element.\n * @csspart label - The container that wraps the checkbox's label.\n * @csspart description - The container that wraps the checkbox's description.\n * @csspart selected-content - The container that wraps optional content that appears when a checkbox is checked.\n */",
2992
+ "jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/checkbox\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-icon\n *\n * @slot - The checkbox's label.\n * @slot description - A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.\n * @slot selected-content - Use to nest rich content (like an input) inside a selected checkbox item. Use only with the contained style.\n *\n * @event zn-blur - Emitted when the checkbox loses focus.\n * @event zn-change - Emitted when the checked state changes.\n * @event zn-focus - Emitted when the checkbox gains focus.\n * @event zn-input - Emitted when the checkbox receives input.\n * @event zn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart base - The component's base wrapper.\n * @csspart control - The square container that wraps the checkbox's checked state.\n * @csspart control--checked - Matches the control part when the checkbox is checked.\n * @csspart control--indeterminate - Matches the control part when the checkbox is indeterminate.\n * @csspart checked-icon - The checked icon, an `<zn-icon>` element.\n * @csspart unchecked-icon - The unchecked icon, an `<zn-icon>` element.\n * @csspart indeterminate-icon - The indeterminate icon, an `<zn-icon>` element.\n * @csspart label - The container that wraps the checkbox's label.\n * @csspart description - The container that wraps the checkbox's description.\n * @csspart selected-content - The container that wraps optional content that appears when a checkbox is checked.\n */",
2729
2993
  "documentation": "https://zinc.style/components/checkbox",
2730
2994
  "status": "experimental",
2731
2995
  "since": "1.0",
@@ -19725,6 +19989,13 @@
19725
19989
  "text": "HTMLSlotElement"
19726
19990
  }
19727
19991
  },
19992
+ {
19993
+ "kind": "field",
19994
+ "name": "prefixSlot",
19995
+ "type": {
19996
+ "text": "HTMLSlotElement"
19997
+ }
19998
+ },
19728
19999
  {
19729
20000
  "kind": "field",
19730
20001
  "name": "hasFocus",
@@ -19766,6 +20037,15 @@
19766
20037
  "privacy": "private",
19767
20038
  "default": "false"
19768
20039
  },
20040
+ {
20041
+ "kind": "field",
20042
+ "name": "inputPrefix",
20043
+ "type": {
20044
+ "text": "boolean"
20045
+ },
20046
+ "privacy": "private",
20047
+ "default": "false"
20048
+ },
19769
20049
  {
19770
20050
  "kind": "field",
19771
20051
  "name": "name",
@@ -19986,6 +20266,15 @@
19986
20266
  "default": "\"\"",
19987
20267
  "attribute": "cache-key"
19988
20268
  },
20269
+ {
20270
+ "kind": "field",
20271
+ "name": "triggerSubmit",
20272
+ "type": {
20273
+ "text": "boolean"
20274
+ },
20275
+ "default": "false",
20276
+ "attribute": "trigger-submit"
20277
+ },
19989
20278
  {
19990
20279
  "kind": "field",
19991
20280
  "name": "getTag",
@@ -20025,6 +20314,11 @@
20025
20314
  "description": "Gets the validation message",
20026
20315
  "readonly": true
20027
20316
  },
20317
+ {
20318
+ "kind": "method",
20319
+ "name": "updateHasInputPrefix",
20320
+ "privacy": "private"
20321
+ },
20028
20322
  {
20029
20323
  "kind": "method",
20030
20324
  "name": "addOpenListeners",
@@ -20530,6 +20824,14 @@
20530
20824
  "default": "\"\"",
20531
20825
  "fieldName": "cacheKey"
20532
20826
  },
20827
+ {
20828
+ "name": "trigger-submit",
20829
+ "type": {
20830
+ "text": "boolean"
20831
+ },
20832
+ "default": "false",
20833
+ "fieldName": "triggerSubmit"
20834
+ },
20533
20835
  {
20534
20836
  "name": "getTag",
20535
20837
  "type": {
@@ -23004,9 +23306,9 @@
23004
23306
  "kind": "field",
23005
23307
  "name": "display",
23006
23308
  "type": {
23007
- "text": "string"
23309
+ "text": "null"
23008
23310
  },
23009
- "default": "'contents'",
23311
+ "default": "null",
23010
23312
  "attribute": "display"
23011
23313
  },
23012
23314
  {
@@ -23140,9 +23442,9 @@
23140
23442
  {
23141
23443
  "name": "display",
23142
23444
  "type": {
23143
- "text": "string"
23445
+ "text": "null"
23144
23446
  },
23145
- "default": "'contents'",
23447
+ "default": "null",
23146
23448
  "fieldName": "display"
23147
23449
  },
23148
23450
  {
@@ -26498,7 +26800,7 @@
26498
26800
  "package": {
26499
26801
  "name": "@kubex/zinc",
26500
26802
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
26501
- "version": "1.0.17",
26803
+ "version": "1.0.19",
26502
26804
  "author": "",
26503
26805
  "license": "MIT"
26504
26806
  }
@@ -59,6 +59,21 @@
59
59
  }
60
60
  ]
61
61
  },
62
+ {
63
+ "name": "zn-audio-select",
64
+ "description": "Short summary of the component's intended use.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n- **actions** - The actions slot.\n- **footer** - The footer 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.",
65
+ "attributes": [
66
+ { "name": "label", "values": [] },
67
+ { "name": "placeholder", "values": [] },
68
+ { "name": "files", "values": [{ "name": "AudioFile[]" }] }
69
+ ],
70
+ "references": [
71
+ {
72
+ "name": "Documentation",
73
+ "url": "https://zinc.style/components/audio-select"
74
+ }
75
+ ]
76
+ },
62
77
  {
63
78
  "name": "zn-bulk-actions",
64
79
  "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.",
@@ -274,7 +289,7 @@
274
289
  },
275
290
  {
276
291
  "name": "zn-checkbox",
277
- "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the checkbox loses focus.\n- **zn-change** - Emitted when the checked state changes.\n- **zn-focus** - Emitted when the checkbox gains focus.\n- **zn-input** - Emitted when the checkbox 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 - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\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. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n- **description** - A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.\n- **selected-content** - Use to nest rich content (like an input) inside a selected checkbox item. Use only with the contained style.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<zn-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<zn-icon>` element.\n- **label** - The container that wraps the checkbox's label.\n- **description** - The container that wraps the checkbox's description.\n- **selected-content** - The container that wraps optional content that appears when a checkbox is checked.",
292
+ "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the checkbox loses focus.\n- **zn-change** - Emitted when the checked state changes.\n- **zn-focus** - Emitted when the checkbox gains focus.\n- **zn-input** - Emitted when the checkbox 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 - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\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. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n- **description** - A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.\n- **selected-content** - Use to nest rich content (like an input) inside a selected checkbox item. Use only with the contained style.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<zn-icon>` element.\n- **unchecked-icon** - The unchecked icon, an `<zn-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<zn-icon>` element.\n- **label** - The container that wraps the checkbox's label.\n- **description** - The container that wraps the checkbox's description.\n- **selected-content** - The container that wraps optional content that appears when a checkbox is checked.",
278
293
  "attributes": [
279
294
  { "name": "title", "values": [] },
280
295
  {
@@ -337,7 +352,32 @@
337
352
  "values": []
338
353
  },
339
354
  { "name": "label", "values": [] },
340
- { "name": "label-tooltip", "values": [] }
355
+ { "name": "label-tooltip", "values": [] },
356
+ {
357
+ "name": "checked-icon",
358
+ "description": "The icon to show when the checkbox is checked.",
359
+ "values": []
360
+ },
361
+ {
362
+ "name": "unchecked-icon",
363
+ "description": "The icon to show when the checkbox is unchecked.",
364
+ "values": []
365
+ },
366
+ {
367
+ "name": "color",
368
+ "description": "The color of the checkbox.",
369
+ "values": [{ "name": "ColorOption" }]
370
+ },
371
+ {
372
+ "name": "checked-color",
373
+ "description": "The color of the checkbox when checked. Overrides `color`.",
374
+ "values": [{ "name": "ColorOption" }]
375
+ },
376
+ {
377
+ "name": "unchecked-color",
378
+ "description": "The color of the checkbox when unchecked. Overrides `color`.",
379
+ "values": [{ "name": "ColorOption" }]
380
+ }
341
381
  ],
342
382
  "references": [
343
383
  {
@@ -2332,6 +2372,7 @@
2332
2372
  "values": []
2333
2373
  },
2334
2374
  { "name": "cache-key", "values": [] },
2375
+ { "name": "trigger-submit", "values": [] },
2335
2376
  {
2336
2377
  "name": "getTag",
2337
2378
  "description": "A function that customizes the tags to be rendered when multiple=true. The first argument is the option, the second\nis the current tag's index. The function should return either a Lit TemplateResult or a string containing trusted HTML of the symbol to render at\nthe specified value.",
@@ -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.17",
4
+ "version": "1.0.19",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -92,6 +92,33 @@
92
92
  ]
93
93
  }
94
94
  },
95
+ {
96
+ "name": "zn-audio-select",
97
+ "description": "Short summary of the component's intended use.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n- **actions** - The actions slot.\n- **footer** - The footer 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.",
98
+ "doc-url": "",
99
+ "attributes": [
100
+ { "name": "label", "value": { "type": "string", "default": "''" } },
101
+ {
102
+ "name": "placeholder",
103
+ "value": { "type": "string", "default": "''" }
104
+ },
105
+ { "name": "files", "value": { "type": "AudioFile[]" } }
106
+ ],
107
+ "slots": [
108
+ { "name": "", "description": "The default slot." },
109
+ { "name": "actions", "description": "The actions slot." },
110
+ { "name": "footer", "description": "The footer slot." }
111
+ ],
112
+ "events": [],
113
+ "js": {
114
+ "properties": [
115
+ { "name": "label", "type": "string" },
116
+ { "name": "placeholder", "type": "string" },
117
+ { "name": "files", "type": "AudioFile[]" }
118
+ ],
119
+ "events": []
120
+ }
121
+ },
95
122
  {
96
123
  "name": "zn-bulk-actions",
97
124
  "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.",
@@ -533,7 +560,7 @@
533
560
  },
534
561
  {
535
562
  "name": "zn-checkbox",
536
- "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the checkbox loses focus.\n- **zn-change** - Emitted when the checked state changes.\n- **zn-focus** - Emitted when the checkbox gains focus.\n- **zn-input** - Emitted when the checkbox 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 - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\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. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n- **description** - A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.\n- **selected-content** - Use to nest rich content (like an input) inside a selected checkbox item. Use only with the contained style.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<zn-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<zn-icon>` element.\n- **label** - The container that wraps the checkbox's label.\n- **description** - The container that wraps the checkbox's description.\n- **selected-content** - The container that wraps optional content that appears when a checkbox is checked.",
563
+ "description": "Short summary of the component's intended use.\n---\n\n\n### **Events:**\n - **zn-blur** - Emitted when the checkbox loses focus.\n- **zn-change** - Emitted when the checked state changes.\n- **zn-focus** - Emitted when the checkbox gains focus.\n- **zn-input** - Emitted when the checkbox 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 - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\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. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n- **description** - A description of the checkbox's label. Serves as help text for a checkbox item. Alternatively, you can use the `description` attribute.\n- **selected-content** - Use to nest rich content (like an input) inside a selected checkbox item. Use only with the contained style.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<zn-icon>` element.\n- **unchecked-icon** - The unchecked icon, an `<zn-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<zn-icon>` element.\n- **label** - The container that wraps the checkbox's label.\n- **description** - The container that wraps the checkbox's description.\n- **selected-content** - The container that wraps optional content that appears when a checkbox is checked.",
537
564
  "doc-url": "",
538
565
  "attributes": [
539
566
  { "name": "title", "value": { "type": "string", "default": "''" } },
@@ -596,7 +623,32 @@
596
623
  "value": { "type": "string", "default": "''" }
597
624
  },
598
625
  { "name": "label", "value": { "type": "string" } },
599
- { "name": "label-tooltip", "value": { "type": "string" } }
626
+ { "name": "label-tooltip", "value": { "type": "string" } },
627
+ {
628
+ "name": "checked-icon",
629
+ "description": "The icon to show when the checkbox is checked.",
630
+ "value": { "type": "string", "default": "''" }
631
+ },
632
+ {
633
+ "name": "unchecked-icon",
634
+ "description": "The icon to show when the checkbox is unchecked.",
635
+ "value": { "type": "string", "default": "''" }
636
+ },
637
+ {
638
+ "name": "color",
639
+ "description": "The color of the checkbox.",
640
+ "value": { "type": "ColorOption", "default": "'default'" }
641
+ },
642
+ {
643
+ "name": "checked-color",
644
+ "description": "The color of the checkbox when checked. Overrides `color`.",
645
+ "value": { "type": "ColorOption" }
646
+ },
647
+ {
648
+ "name": "unchecked-color",
649
+ "description": "The color of the checkbox when unchecked. Overrides `color`.",
650
+ "value": { "type": "ColorOption" }
651
+ }
600
652
  ],
601
653
  "slots": [
602
654
  { "name": "", "description": "The checkbox's label." },
@@ -697,6 +749,31 @@
697
749
  },
698
750
  { "name": "label", "type": "string" },
699
751
  { "name": "labelTooltip", "type": "string" },
752
+ {
753
+ "name": "checkedIcon",
754
+ "description": "The icon to show when the checkbox is checked.",
755
+ "type": "string"
756
+ },
757
+ {
758
+ "name": "uncheckedIcon",
759
+ "description": "The icon to show when the checkbox is unchecked.",
760
+ "type": "string"
761
+ },
762
+ {
763
+ "name": "color",
764
+ "description": "The color of the checkbox.",
765
+ "type": "ColorOption"
766
+ },
767
+ {
768
+ "name": "checkedColor",
769
+ "description": "The color of the checkbox when checked. Overrides `color`.",
770
+ "type": "ColorOption"
771
+ },
772
+ {
773
+ "name": "uncheckedColor",
774
+ "description": "The color of the checkbox when unchecked. Overrides `color`.",
775
+ "type": "ColorOption"
776
+ },
700
777
  {
701
778
  "name": "validity",
702
779
  "description": "Gets the validity state object"
@@ -5093,6 +5170,10 @@
5093
5170
  "name": "cache-key",
5094
5171
  "value": { "type": "string", "default": "\"\"" }
5095
5172
  },
5173
+ {
5174
+ "name": "trigger-submit",
5175
+ "value": { "type": "boolean", "default": "false" }
5176
+ },
5096
5177
  {
5097
5178
  "name": "getTag",
5098
5179
  "description": "A function that customizes the tags to be rendered when multiple=true. The first argument is the option, the second\nis the current tag's index. The function should return either a Lit TemplateResult or a string containing trusted HTML of the symbol to render at\nthe specified value.",
@@ -5192,6 +5273,7 @@
5192
5273
  { "name": "displayInput", "type": "HTMLInputElement" },
5193
5274
  { "name": "valueInput", "type": "HTMLInputElement" },
5194
5275
  { "name": "listbox", "type": "HTMLSlotElement" },
5276
+ { "name": "prefixSlot", "type": "HTMLSlotElement" },
5195
5277
  { "name": "displayLabel", "type": "string" },
5196
5278
  { "name": "currentOption", "type": "ZnOption" },
5197
5279
  { "name": "selectedOptions", "type": "ZnOption[]" },
@@ -5295,6 +5377,7 @@
5295
5377
  "type": "boolean"
5296
5378
  },
5297
5379
  { "name": "cacheKey", "type": "string" },
5380
+ { "name": "triggerSubmit", "type": "boolean" },
5298
5381
  {
5299
5382
  "name": "getTag",
5300
5383
  "description": "A function that customizes the tags to be rendered when multiple=true. The first argument is the option, the second\nis the current tag's index. The function should return either a Lit TemplateResult or a string containing trusted HTML of the symbol to render at\nthe specified value.",
@@ -5988,7 +6071,7 @@
5988
6071
  },
5989
6072
  {
5990
6073
  "name": "display",
5991
- "value": { "type": "string", "default": "'contents'" }
6074
+ "value": { "type": "null", "default": "null" }
5992
6075
  },
5993
6076
  { "name": "font", "value": { "type": "string", "default": "''" } },
5994
6077
  { "name": "width", "value": { "type": "string", "default": "''" } },
@@ -6018,7 +6101,7 @@
6018
6101
  { "name": "primary", "type": "boolean" },
6019
6102
  { "name": "accent", "type": "boolean" },
6020
6103
  { "name": "center", "type": "boolean" },
6021
- { "name": "display", "type": "string" },
6104
+ { "name": "display", "type": "null" },
6022
6105
  { "name": "font", "type": "string" },
6023
6106
  { "name": "width", "type": "string" },
6024
6107
  { "name": "height", "type": "string" },