@kubex/zinc 1.0.18 → 1.0.20

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.
Files changed (32) hide show
  1. package/dist/custom-elements.json +721 -8
  2. package/dist/vscode.html-custom-data.json +98 -3
  3. package/dist/web-types.json +195 -5
  4. package/dist/zn.d.ts +156 -4
  5. package/dist/zn.min.js +744 -668
  6. package/docs/pages/components/input-group.md +61 -0
  7. package/docs/pages/components/translations.md +53 -0
  8. package/package.json +1 -1
  9. package/src/components/audio-select/audio-select.component.ts +131 -0
  10. package/src/components/audio-select/audio-select.scss +4 -0
  11. package/src/components/audio-select/audio-select.test.ts +10 -0
  12. package/src/components/audio-select/index.ts +12 -0
  13. package/src/components/checkbox/checkbox.component.ts +66 -11
  14. package/src/components/checkbox/checkbox.scss +102 -15
  15. package/src/components/data-table/data-table.component.ts +7 -0
  16. package/src/components/inline-edit/inline-edit.component.ts +2 -1
  17. package/src/components/input-group/index.ts +12 -0
  18. package/src/components/input-group/input-group.component.ts +73 -0
  19. package/src/components/input-group/input-group.scss +65 -0
  20. package/src/components/input-group/input-group.test.ts +98 -0
  21. package/src/components/item/item.component.ts +5 -1
  22. package/src/components/item/item.scss +4 -0
  23. package/src/components/navbar/navbar.component.ts +21 -6
  24. package/src/components/navbar/navbar.scss +17 -1
  25. package/src/components/select/select.component.ts +7 -11
  26. package/src/components/select/select.scss +3 -3
  27. package/src/components/tabs/tabs.component.ts +33 -24
  28. package/src/components/translations/index.ts +6 -0
  29. package/src/components/translations/translations.component.ts +214 -0
  30. package/src/components/translations/translations.scss +15 -0
  31. package/src/components/translations/translations.test.ts +39 -0
  32. package/src/zinc.ts +3 -0
@@ -290,6 +290,184 @@
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": "_isPlaying",
331
+ "type": {
332
+ "text": "boolean"
333
+ },
334
+ "privacy": "private",
335
+ "default": "false"
336
+ },
337
+ {
338
+ "kind": "field",
339
+ "name": "_audio",
340
+ "type": {
341
+ "text": "HTMLAudioElement"
342
+ },
343
+ "privacy": "private",
344
+ "readonly": true,
345
+ "default": "new Audio()"
346
+ },
347
+ {
348
+ "kind": "field",
349
+ "name": "value",
350
+ "type": {
351
+ "text": "string"
352
+ },
353
+ "default": "''",
354
+ "attribute": "value"
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
+ "default": "[]",
381
+ "attribute": "files"
382
+ },
383
+ {
384
+ "kind": "method",
385
+ "name": "stopAudio"
386
+ },
387
+ {
388
+ "kind": "method",
389
+ "name": "handleSelectChange",
390
+ "parameters": [
391
+ {
392
+ "name": "e",
393
+ "type": {
394
+ "text": "ZnChangeEvent"
395
+ }
396
+ }
397
+ ]
398
+ },
399
+ {
400
+ "kind": "method",
401
+ "name": "togglePreview",
402
+ "parameters": [
403
+ {
404
+ "name": "e",
405
+ "type": {
406
+ "text": "CustomEvent"
407
+ }
408
+ }
409
+ ]
410
+ }
411
+ ],
412
+ "attributes": [
413
+ {
414
+ "name": "value",
415
+ "type": {
416
+ "text": "string"
417
+ },
418
+ "default": "''",
419
+ "fieldName": "value"
420
+ },
421
+ {
422
+ "name": "label",
423
+ "type": {
424
+ "text": "string"
425
+ },
426
+ "default": "''",
427
+ "fieldName": "label"
428
+ },
429
+ {
430
+ "name": "placeholder",
431
+ "type": {
432
+ "text": "string"
433
+ },
434
+ "default": "''",
435
+ "fieldName": "placeholder"
436
+ },
437
+ {
438
+ "name": "files",
439
+ "type": {
440
+ "text": "AudioFile[]"
441
+ },
442
+ "default": "[]",
443
+ "fieldName": "files"
444
+ }
445
+ ],
446
+ "superclass": {
447
+ "name": "ZincElement",
448
+ "module": "/src/internal/zinc-element"
449
+ },
450
+ "summary": "Short summary of the component's intended use.",
451
+ "tagNameWithoutPrefix": "audio-select",
452
+ "tagName": "zn-audio-select",
453
+ "customElement": true,
454
+ "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 */",
455
+ "documentation": "https://zinc.style/components/audio-select",
456
+ "status": "experimental",
457
+ "since": "1.0"
458
+ }
459
+ ],
460
+ "exports": [
461
+ {
462
+ "kind": "js",
463
+ "name": "default",
464
+ "declaration": {
465
+ "name": "ZnAudioSelect",
466
+ "module": "components/audio-select/audio-select.js"
467
+ }
468
+ }
469
+ ]
470
+ },
293
471
  {
294
472
  "kind": "javascript-module",
295
473
  "path": "components/bulk-actions/bulk-actions.js",
@@ -2222,6 +2400,10 @@
2222
2400
  "description": "The checked icon, an `<zn-icon>` element.",
2223
2401
  "name": "checked-icon"
2224
2402
  },
2403
+ {
2404
+ "description": "The unchecked icon, an `<zn-icon>` element.",
2405
+ "name": "unchecked-icon"
2406
+ },
2225
2407
  {
2226
2408
  "description": "The indeterminate icon, an `<zn-icon>` element.",
2227
2409
  "name": "indeterminate-icon"
@@ -2268,7 +2450,7 @@
2268
2450
  "name": "formControlController",
2269
2451
  "privacy": "private",
2270
2452
  "readonly": true,
2271
- "default": "new FormControlController(this, { value: (control: ZnCheckbox) => (control.checked ? control.value || 'on' : undefined), defaultValue: (control: ZnCheckbox) => control.defaultChecked, setValue: (control: ZnCheckbox, checked: boolean) => (control.checked = checked) })"
2453
+ "default": "new FormControlController(this, { value: (control: ZnCheckbox) => (control.checked ? control.value || 'on' : control.uncheckedValue || undefined), defaultValue: (control: ZnCheckbox) => control.defaultChecked, setValue: (control: ZnCheckbox, checked: boolean) => (control.checked = checked) })"
2272
2454
  },
2273
2455
  {
2274
2456
  "kind": "field",
@@ -2321,6 +2503,16 @@
2321
2503
  "description": "The current value of the checkbox, submitted as a name/value pair with form data.",
2322
2504
  "attribute": "value"
2323
2505
  },
2506
+ {
2507
+ "kind": "field",
2508
+ "name": "uncheckedValue",
2509
+ "type": {
2510
+ "text": "string"
2511
+ },
2512
+ "description": "The unchecked value of the checkbox, submitted as a name/value pair with form data.",
2513
+ "attribute": "unchecked-value",
2514
+ "reflects": true
2515
+ },
2324
2516
  {
2325
2517
  "kind": "field",
2326
2518
  "name": "size",
@@ -2418,6 +2610,17 @@
2418
2610
  "attribute": "required",
2419
2611
  "reflects": true
2420
2612
  },
2613
+ {
2614
+ "kind": "field",
2615
+ "name": "submitOnClick",
2616
+ "type": {
2617
+ "text": "boolean"
2618
+ },
2619
+ "default": "false",
2620
+ "description": "Submits the form when checkbox is clicked.",
2621
+ "attribute": "submit-on-click",
2622
+ "reflects": true
2623
+ },
2421
2624
  {
2422
2625
  "kind": "field",
2423
2626
  "name": "description",
@@ -2444,6 +2647,55 @@
2444
2647
  },
2445
2648
  "attribute": "label-tooltip"
2446
2649
  },
2650
+ {
2651
+ "kind": "field",
2652
+ "name": "checkedIcon",
2653
+ "type": {
2654
+ "text": "string"
2655
+ },
2656
+ "default": "''",
2657
+ "description": "The icon to show when the checkbox is checked.",
2658
+ "attribute": "checked-icon"
2659
+ },
2660
+ {
2661
+ "kind": "field",
2662
+ "name": "uncheckedIcon",
2663
+ "type": {
2664
+ "text": "string"
2665
+ },
2666
+ "default": "''",
2667
+ "description": "The icon to show when the checkbox is unchecked.",
2668
+ "attribute": "unchecked-icon"
2669
+ },
2670
+ {
2671
+ "kind": "field",
2672
+ "name": "color",
2673
+ "type": {
2674
+ "text": "ColorOption"
2675
+ },
2676
+ "default": "'default'",
2677
+ "description": "The color of the checkbox.",
2678
+ "attribute": "color",
2679
+ "reflects": true
2680
+ },
2681
+ {
2682
+ "kind": "field",
2683
+ "name": "checkedColor",
2684
+ "type": {
2685
+ "text": "ColorOption"
2686
+ },
2687
+ "description": "The color of the checkbox when checked. Overrides `color`.",
2688
+ "attribute": "checked-color"
2689
+ },
2690
+ {
2691
+ "kind": "field",
2692
+ "name": "uncheckedColor",
2693
+ "type": {
2694
+ "text": "ColorOption"
2695
+ },
2696
+ "description": "The color of the checkbox when unchecked. Overrides `color`.",
2697
+ "attribute": "unchecked-color"
2698
+ },
2447
2699
  {
2448
2700
  "kind": "field",
2449
2701
  "name": "validity",
@@ -2621,6 +2873,14 @@
2621
2873
  "description": "The current value of the checkbox, submitted as a name/value pair with form data.",
2622
2874
  "fieldName": "value"
2623
2875
  },
2876
+ {
2877
+ "name": "unchecked-value",
2878
+ "type": {
2879
+ "text": "string"
2880
+ },
2881
+ "description": "The unchecked value of the checkbox, submitted as a name/value pair with form data.",
2882
+ "fieldName": "uncheckedValue"
2883
+ },
2624
2884
  {
2625
2885
  "name": "size",
2626
2886
  "type": {
@@ -2693,6 +2953,15 @@
2693
2953
  "description": "Makes the checkbox a required field.",
2694
2954
  "fieldName": "required"
2695
2955
  },
2956
+ {
2957
+ "name": "submit-on-click",
2958
+ "type": {
2959
+ "text": "boolean"
2960
+ },
2961
+ "default": "false",
2962
+ "description": "Submits the form when checkbox is clicked.",
2963
+ "fieldName": "submitOnClick"
2964
+ },
2696
2965
  {
2697
2966
  "name": "description",
2698
2967
  "type": {
@@ -2715,6 +2984,49 @@
2715
2984
  "text": "string"
2716
2985
  },
2717
2986
  "fieldName": "labelTooltip"
2987
+ },
2988
+ {
2989
+ "name": "checked-icon",
2990
+ "type": {
2991
+ "text": "string"
2992
+ },
2993
+ "default": "''",
2994
+ "description": "The icon to show when the checkbox is checked.",
2995
+ "fieldName": "checkedIcon"
2996
+ },
2997
+ {
2998
+ "name": "unchecked-icon",
2999
+ "type": {
3000
+ "text": "string"
3001
+ },
3002
+ "default": "''",
3003
+ "description": "The icon to show when the checkbox is unchecked.",
3004
+ "fieldName": "uncheckedIcon"
3005
+ },
3006
+ {
3007
+ "name": "color",
3008
+ "type": {
3009
+ "text": "ColorOption"
3010
+ },
3011
+ "default": "'default'",
3012
+ "description": "The color of the checkbox.",
3013
+ "fieldName": "color"
3014
+ },
3015
+ {
3016
+ "name": "checked-color",
3017
+ "type": {
3018
+ "text": "ColorOption"
3019
+ },
3020
+ "description": "The color of the checkbox when checked. Overrides `color`.",
3021
+ "fieldName": "checkedColor"
3022
+ },
3023
+ {
3024
+ "name": "unchecked-color",
3025
+ "type": {
3026
+ "text": "ColorOption"
3027
+ },
3028
+ "description": "The color of the checkbox when unchecked. Overrides `color`.",
3029
+ "fieldName": "uncheckedColor"
2718
3030
  }
2719
3031
  ],
2720
3032
  "superclass": {
@@ -2725,7 +3037,7 @@
2725
3037
  "tagNameWithoutPrefix": "checkbox",
2726
3038
  "tagName": "zn-checkbox",
2727
3039
  "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 */",
3040
+ "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
3041
  "documentation": "https://zinc.style/components/checkbox",
2730
3042
  "status": "experimental",
2731
3043
  "since": "1.0",
@@ -12723,6 +13035,109 @@
12723
13035
  }
12724
13036
  ]
12725
13037
  },
13038
+ {
13039
+ "kind": "javascript-module",
13040
+ "path": "components/input-group/input-group.js",
13041
+ "declarations": [
13042
+ {
13043
+ "kind": "class",
13044
+ "description": "",
13045
+ "name": "ZnInputGroup",
13046
+ "cssParts": [
13047
+ {
13048
+ "description": "The component's base wrapper.",
13049
+ "name": "base"
13050
+ },
13051
+ {
13052
+ "description": "The form control wrapper.",
13053
+ "name": "form-control"
13054
+ },
13055
+ {
13056
+ "description": "The label's wrapper.",
13057
+ "name": "form-control-label"
13058
+ },
13059
+ {
13060
+ "description": "The input group container.",
13061
+ "name": "form-control-input"
13062
+ }
13063
+ ],
13064
+ "slots": [
13065
+ {
13066
+ "description": "The default slot for inputs and selects.",
13067
+ "name": ""
13068
+ },
13069
+ {
13070
+ "description": "The input group's label. Alternatively, you can use the `label` attribute.",
13071
+ "name": "label"
13072
+ }
13073
+ ],
13074
+ "members": [
13075
+ {
13076
+ "kind": "field",
13077
+ "name": "hasSlotController",
13078
+ "privacy": "private",
13079
+ "readonly": true,
13080
+ "default": "new HasSlotController(this, 'label')"
13081
+ },
13082
+ {
13083
+ "kind": "field",
13084
+ "name": "defaultSlot",
13085
+ "type": {
13086
+ "text": "HTMLSlotElement"
13087
+ }
13088
+ },
13089
+ {
13090
+ "kind": "field",
13091
+ "name": "label",
13092
+ "type": {
13093
+ "text": "string"
13094
+ },
13095
+ "default": "''",
13096
+ "description": "The input group's label. If you need to display HTML, use the `label` slot.",
13097
+ "attribute": "label"
13098
+ },
13099
+ {
13100
+ "kind": "method",
13101
+ "name": "handleSlotChange",
13102
+ "privacy": "private"
13103
+ }
13104
+ ],
13105
+ "attributes": [
13106
+ {
13107
+ "name": "label",
13108
+ "type": {
13109
+ "text": "string"
13110
+ },
13111
+ "default": "''",
13112
+ "description": "The input group's label. If you need to display HTML, use the `label` slot.",
13113
+ "fieldName": "label"
13114
+ }
13115
+ ],
13116
+ "superclass": {
13117
+ "name": "ZincElement",
13118
+ "module": "/src/internal/zinc-element"
13119
+ },
13120
+ "summary": "A wrapper component that groups inputs and selects visually.",
13121
+ "tagNameWithoutPrefix": "input-group",
13122
+ "tagName": "zn-input-group",
13123
+ "customElement": true,
13124
+ "jsDoc": "/**\n * @summary A wrapper component that groups inputs and selects visually.\n * @documentation https://zinc.style/components/input-group\n * @status experimental\n * @since 1.0\n *\n * @slot - The default slot for inputs and selects.\n * @slot label - The input group's label. Alternatively, you can use the `label` attribute.\n *\n * @csspart base - The component's base wrapper.\n * @csspart form-control - The form control wrapper.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input group container.\n */",
13125
+ "documentation": "https://zinc.style/components/input-group",
13126
+ "status": "experimental",
13127
+ "since": "1.0"
13128
+ }
13129
+ ],
13130
+ "exports": [
13131
+ {
13132
+ "kind": "js",
13133
+ "name": "default",
13134
+ "declaration": {
13135
+ "name": "ZnInputGroup",
13136
+ "module": "components/input-group/input-group.js"
13137
+ }
13138
+ }
13139
+ ]
13140
+ },
12726
13141
  {
12727
13142
  "kind": "javascript-module",
12728
13143
  "path": "components/item/item.js",
@@ -12849,11 +13264,19 @@
12849
13264
  },
12850
13265
  {
12851
13266
  "kind": "field",
12852
- "name": "alignEnd",
13267
+ "name": "alignEnd",
13268
+ "type": {
13269
+ "text": "boolean"
13270
+ },
13271
+ "attribute": "align-end"
13272
+ },
13273
+ {
13274
+ "kind": "field",
13275
+ "name": "alignCenter",
12853
13276
  "type": {
12854
13277
  "text": "boolean"
12855
13278
  },
12856
- "attribute": "align-end"
13279
+ "attribute": "align-center"
12857
13280
  },
12858
13281
  {
12859
13282
  "kind": "method",
@@ -12944,6 +13367,13 @@
12944
13367
  "text": "boolean"
12945
13368
  },
12946
13369
  "fieldName": "alignEnd"
13370
+ },
13371
+ {
13372
+ "name": "align-center",
13373
+ "type": {
13374
+ "text": "boolean"
13375
+ },
13376
+ "fieldName": "alignCenter"
12947
13377
  }
12948
13378
  ],
12949
13379
  "superclass": {
@@ -13952,6 +14382,15 @@
13952
14382
  },
13953
14383
  "attribute": "no-pad"
13954
14384
  },
14385
+ {
14386
+ "kind": "field",
14387
+ "name": "manualAddItems",
14388
+ "type": {
14389
+ "text": "boolean"
14390
+ },
14391
+ "default": "false",
14392
+ "attribute": "manual-add-items"
14393
+ },
13955
14394
  {
13956
14395
  "kind": "field",
13957
14396
  "name": "_preItems",
@@ -14077,11 +14516,16 @@
14077
14516
  "kind": "method",
14078
14517
  "name": "addItem",
14079
14518
  "privacy": "public",
14519
+ "return": {
14520
+ "type": {
14521
+ "text": "void"
14522
+ }
14523
+ },
14080
14524
  "parameters": [
14081
14525
  {
14082
14526
  "name": "item",
14083
14527
  "type": {
14084
- "text": "any"
14528
+ "text": "Element"
14085
14529
  }
14086
14530
  }
14087
14531
  ]
@@ -14171,6 +14615,14 @@
14171
14615
  },
14172
14616
  "fieldName": "noPad"
14173
14617
  },
14618
+ {
14619
+ "name": "manual-add-items",
14620
+ "type": {
14621
+ "text": "boolean"
14622
+ },
14623
+ "default": "false",
14624
+ "fieldName": "manualAddItems"
14625
+ },
14174
14626
  {
14175
14627
  "name": "_appended",
14176
14628
  "type": {
@@ -19775,7 +20227,7 @@
19775
20227
  },
19776
20228
  {
19777
20229
  "kind": "field",
19778
- "name": "hasCheckboxPrefix",
20230
+ "name": "inputPrefix",
19779
20231
  "type": {
19780
20232
  "text": "boolean"
19781
20233
  },
@@ -20052,7 +20504,7 @@
20052
20504
  },
20053
20505
  {
20054
20506
  "kind": "method",
20055
- "name": "updateHasCheckboxPrefix",
20507
+ "name": "updateHasInputPrefix",
20056
20508
  "privacy": "private"
20057
20509
  },
20058
20510
  {
@@ -26295,6 +26747,267 @@
26295
26747
  }
26296
26748
  ]
26297
26749
  },
26750
+ {
26751
+ "kind": "javascript-module",
26752
+ "path": "components/translations/translations.js",
26753
+ "declarations": [
26754
+ {
26755
+ "kind": "class",
26756
+ "description": "",
26757
+ "name": "ZnTranslations",
26758
+ "members": [
26759
+ {
26760
+ "kind": "field",
26761
+ "name": "dependencies",
26762
+ "type": {
26763
+ "text": "object"
26764
+ },
26765
+ "static": true,
26766
+ "default": "{ 'zn-navbar': ZnNavbar, 'zn-input': ZnInput, 'zn-inline-edit': ZnInlineEdit }"
26767
+ },
26768
+ {
26769
+ "kind": "field",
26770
+ "name": "formControlController",
26771
+ "type": {
26772
+ "text": "FormControlController"
26773
+ },
26774
+ "privacy": "private",
26775
+ "readonly": true,
26776
+ "default": "new FormControlController(this)"
26777
+ },
26778
+ {
26779
+ "kind": "field",
26780
+ "name": "hasSlotController",
26781
+ "privacy": "private",
26782
+ "readonly": true,
26783
+ "default": "new HasSlotController(this, 'label')"
26784
+ },
26785
+ {
26786
+ "kind": "field",
26787
+ "name": "name",
26788
+ "type": {
26789
+ "text": "string"
26790
+ },
26791
+ "default": "''",
26792
+ "attribute": "name"
26793
+ },
26794
+ {
26795
+ "kind": "field",
26796
+ "name": "value",
26797
+ "type": {
26798
+ "text": "string"
26799
+ },
26800
+ "default": "'{\"en\":\"\"}'",
26801
+ "attribute": "value"
26802
+ },
26803
+ {
26804
+ "kind": "field",
26805
+ "name": "label",
26806
+ "type": {
26807
+ "text": "string"
26808
+ },
26809
+ "default": "''",
26810
+ "attribute": "label"
26811
+ },
26812
+ {
26813
+ "kind": "field",
26814
+ "name": "disabled",
26815
+ "type": {
26816
+ "text": "boolean"
26817
+ },
26818
+ "default": "false",
26819
+ "attribute": "disabled",
26820
+ "reflects": true
26821
+ },
26822
+ {
26823
+ "kind": "field",
26824
+ "name": "required",
26825
+ "type": {
26826
+ "text": "boolean"
26827
+ },
26828
+ "default": "false",
26829
+ "attribute": "required",
26830
+ "reflects": true
26831
+ },
26832
+ {
26833
+ "kind": "field",
26834
+ "name": "languages",
26835
+ "type": {
26836
+ "text": "Record<string, string>"
26837
+ },
26838
+ "default": "{ 'en': 'English' }",
26839
+ "attribute": "languages"
26840
+ },
26841
+ {
26842
+ "kind": "field",
26843
+ "name": "values",
26844
+ "type": {
26845
+ "text": "Record<string, string>"
26846
+ },
26847
+ "default": "{}",
26848
+ "attribute": "values"
26849
+ },
26850
+ {
26851
+ "kind": "field",
26852
+ "name": "_activeLanguage",
26853
+ "type": {
26854
+ "text": "string"
26855
+ },
26856
+ "privacy": "private",
26857
+ "default": "''"
26858
+ },
26859
+ {
26860
+ "kind": "field",
26861
+ "name": "validity",
26862
+ "type": {
26863
+ "text": "ValidityState"
26864
+ },
26865
+ "readonly": true
26866
+ },
26867
+ {
26868
+ "kind": "field",
26869
+ "name": "validationMessage",
26870
+ "readonly": true
26871
+ },
26872
+ {
26873
+ "kind": "method",
26874
+ "name": "checkValidity"
26875
+ },
26876
+ {
26877
+ "kind": "method",
26878
+ "name": "getForm"
26879
+ },
26880
+ {
26881
+ "kind": "method",
26882
+ "name": "reportValidity"
26883
+ },
26884
+ {
26885
+ "kind": "method",
26886
+ "name": "setCustomValidity"
26887
+ },
26888
+ {
26889
+ "kind": "method",
26890
+ "name": "handleLanguageAdd",
26891
+ "privacy": "private",
26892
+ "parameters": [
26893
+ {
26894
+ "name": "e",
26895
+ "type": {
26896
+ "text": "ZnMenuSelectEvent"
26897
+ }
26898
+ }
26899
+ ]
26900
+ },
26901
+ {
26902
+ "kind": "method",
26903
+ "name": "handleNavbarClick",
26904
+ "privacy": "private",
26905
+ "parameters": [
26906
+ {
26907
+ "name": "e",
26908
+ "type": {
26909
+ "text": "MouseEvent"
26910
+ }
26911
+ }
26912
+ ]
26913
+ },
26914
+ {
26915
+ "kind": "method",
26916
+ "name": "handleValueUpdate",
26917
+ "privacy": "private",
26918
+ "parameters": [
26919
+ {
26920
+ "name": "e",
26921
+ "type": {
26922
+ "text": "CustomEvent"
26923
+ }
26924
+ }
26925
+ ]
26926
+ },
26927
+ {
26928
+ "kind": "method",
26929
+ "name": "updateValue",
26930
+ "privacy": "private"
26931
+ }
26932
+ ],
26933
+ "attributes": [
26934
+ {
26935
+ "name": "name",
26936
+ "type": {
26937
+ "text": "string"
26938
+ },
26939
+ "default": "''",
26940
+ "fieldName": "name"
26941
+ },
26942
+ {
26943
+ "name": "value",
26944
+ "type": {
26945
+ "text": "string"
26946
+ },
26947
+ "default": "'{\"en\":\"\"}'",
26948
+ "fieldName": "value"
26949
+ },
26950
+ {
26951
+ "name": "label",
26952
+ "type": {
26953
+ "text": "string"
26954
+ },
26955
+ "default": "''",
26956
+ "fieldName": "label"
26957
+ },
26958
+ {
26959
+ "name": "disabled",
26960
+ "type": {
26961
+ "text": "boolean"
26962
+ },
26963
+ "default": "false",
26964
+ "fieldName": "disabled"
26965
+ },
26966
+ {
26967
+ "name": "required",
26968
+ "type": {
26969
+ "text": "boolean"
26970
+ },
26971
+ "default": "false",
26972
+ "fieldName": "required"
26973
+ },
26974
+ {
26975
+ "name": "languages",
26976
+ "type": {
26977
+ "text": "Record<string, string>"
26978
+ },
26979
+ "default": "{ 'en': 'English' }",
26980
+ "fieldName": "languages"
26981
+ },
26982
+ {
26983
+ "name": "values",
26984
+ "type": {
26985
+ "text": "Record<string, string>"
26986
+ },
26987
+ "default": "{}",
26988
+ "fieldName": "values"
26989
+ }
26990
+ ],
26991
+ "superclass": {
26992
+ "name": "ZincElement",
26993
+ "module": "/src/internal/zinc-element"
26994
+ },
26995
+ "tagNameWithoutPrefix": "translations",
26996
+ "tagName": "zn-translations",
26997
+ "customElement": true
26998
+ }
26999
+ ],
27000
+ "exports": [
27001
+ {
27002
+ "kind": "js",
27003
+ "name": "default",
27004
+ "declaration": {
27005
+ "name": "ZnTranslations",
27006
+ "module": "components/translations/translations.js"
27007
+ }
27008
+ }
27009
+ ]
27010
+ },
26298
27011
  {
26299
27012
  "kind": "javascript-module",
26300
27013
  "path": "components/vertical-stepper/vertical-stepper.js",
@@ -26536,7 +27249,7 @@
26536
27249
  "package": {
26537
27250
  "name": "@kubex/zinc",
26538
27251
  "description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
26539
- "version": "1.0.18",
27252
+ "version": "1.0.20",
26540
27253
  "author": "",
26541
27254
  "license": "MIT"
26542
27255
  }