@kubex/zinc 1.1.67 → 1.1.68
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.
- package/dist/custom-elements.json +404 -278
- package/dist/vscode.html-custom-data.json +64 -30
- package/dist/web-types.json +124 -68
- package/dist/zn.d.ts +43 -6
- package/dist/zn.min.js +429 -431
- package/package.json +1 -1
- package/src/components/data-table/data-table.component.ts +49 -44
- package/src/components/data-table/data-table.scss +4 -0
- package/src/components/data-table/data-table.test.ts +42 -0
- package/src/components/defined-label/defined-label.component.ts +118 -95
- package/src/components/defined-label/defined-label.scss +40 -28
- package/src/components/file/file.component.ts +70 -0
- package/src/components/page-builder/page-builder.scss +1 -1
|
@@ -8267,7 +8267,7 @@
|
|
|
8267
8267
|
"text": "Record<string, DisplayTemplate>"
|
|
8268
8268
|
},
|
|
8269
8269
|
"privacy": "private",
|
|
8270
|
-
"default": "{ dateTime: ((cell) => { const t = cell.text || ''; return html` <div class=\"table__collum--datetime\"> <span><strong>${t.slice(0, 10)}</strong></span> <zn-style size=\"s\" muted>${t.slice(11)}</zn-style> </div>` }) satisfies DisplayTemplate }"
|
|
8270
|
+
"default": "{ dateTime: ((cell) => { const t = cell.text || ''; return html` <div class=\"table__collum--datetime\" title=\"${ifDefined(cell.title)}\"> <span><strong>${t.slice(0, 10)}</strong></span> <zn-style size=\"s\" muted>${t.slice(11)}</zn-style> </div>` }) satisfies DisplayTemplate }"
|
|
8271
8271
|
},
|
|
8272
8272
|
{
|
|
8273
8273
|
"kind": "field",
|
|
@@ -10529,6 +10529,15 @@
|
|
|
10529
10529
|
}
|
|
10530
10530
|
],
|
|
10531
10531
|
"members": [
|
|
10532
|
+
{
|
|
10533
|
+
"kind": "field",
|
|
10534
|
+
"name": "dependencies",
|
|
10535
|
+
"type": {
|
|
10536
|
+
"text": "object"
|
|
10537
|
+
},
|
|
10538
|
+
"static": true,
|
|
10539
|
+
"default": "{ 'zn-button': ZnButton, 'zn-dropdown': ZnDropdown, 'zn-input': ZnInput, 'zn-option': ZnOption, 'zn-select': ZnSelect }"
|
|
10540
|
+
},
|
|
10532
10541
|
{
|
|
10533
10542
|
"kind": "field",
|
|
10534
10543
|
"name": "formControlController",
|
|
@@ -10557,6 +10566,7 @@
|
|
|
10557
10566
|
"text": "string"
|
|
10558
10567
|
},
|
|
10559
10568
|
"default": "''",
|
|
10569
|
+
"description": "The selected label key. Also acts as the filter while typing.",
|
|
10560
10570
|
"attribute": "value"
|
|
10561
10571
|
},
|
|
10562
10572
|
{
|
|
@@ -10566,6 +10576,7 @@
|
|
|
10566
10576
|
"text": "string"
|
|
10567
10577
|
},
|
|
10568
10578
|
"default": "''",
|
|
10579
|
+
"description": "The value entered for the selected label. Submitted as `label:value` when present.",
|
|
10569
10580
|
"attribute": "inputValue"
|
|
10570
10581
|
},
|
|
10571
10582
|
{
|
|
@@ -10575,6 +10586,7 @@
|
|
|
10575
10586
|
"text": "'x-small' | 'small' | 'medium' | 'large'"
|
|
10576
10587
|
},
|
|
10577
10588
|
"default": "'medium'",
|
|
10589
|
+
"description": "The size of the main input.",
|
|
10578
10590
|
"attribute": "input-size",
|
|
10579
10591
|
"reflects": true
|
|
10580
10592
|
},
|
|
@@ -10585,6 +10597,7 @@
|
|
|
10585
10597
|
"text": "string"
|
|
10586
10598
|
},
|
|
10587
10599
|
"default": "'label'",
|
|
10600
|
+
"description": "The name of the control. Used for form submission.",
|
|
10588
10601
|
"attribute": "name"
|
|
10589
10602
|
},
|
|
10590
10603
|
{
|
|
@@ -10593,6 +10606,7 @@
|
|
|
10593
10606
|
"type": {
|
|
10594
10607
|
"text": "string"
|
|
10595
10608
|
},
|
|
10609
|
+
"description": "The title of the main input.",
|
|
10596
10610
|
"attribute": "title"
|
|
10597
10611
|
},
|
|
10598
10612
|
{
|
|
@@ -10602,6 +10616,7 @@
|
|
|
10602
10616
|
"text": "boolean"
|
|
10603
10617
|
},
|
|
10604
10618
|
"default": "false",
|
|
10619
|
+
"description": "Disables the control.",
|
|
10605
10620
|
"attribute": "disabled"
|
|
10606
10621
|
},
|
|
10607
10622
|
{
|
|
@@ -10611,15 +10626,17 @@
|
|
|
10611
10626
|
"text": "boolean"
|
|
10612
10627
|
},
|
|
10613
10628
|
"default": "false",
|
|
10629
|
+
"description": "Allows labels that aren't in the predefined list.",
|
|
10614
10630
|
"attribute": "allow-custom"
|
|
10615
10631
|
},
|
|
10616
10632
|
{
|
|
10617
10633
|
"kind": "field",
|
|
10618
10634
|
"name": "predefinedLabels",
|
|
10619
10635
|
"type": {
|
|
10620
|
-
"text": "
|
|
10636
|
+
"text": "(PredefinedLabel | string)[]"
|
|
10621
10637
|
},
|
|
10622
10638
|
"default": "[]",
|
|
10639
|
+
"description": "The predefined labels. Entries are either a string or `{name, options}`.",
|
|
10623
10640
|
"attribute": "predefined-labels"
|
|
10624
10641
|
},
|
|
10625
10642
|
{
|
|
@@ -10680,6 +10697,16 @@
|
|
|
10680
10697
|
"kind": "method",
|
|
10681
10698
|
"name": "handleValueChange"
|
|
10682
10699
|
},
|
|
10700
|
+
{
|
|
10701
|
+
"kind": "method",
|
|
10702
|
+
"name": "getFilteredLabels",
|
|
10703
|
+
"privacy": "private",
|
|
10704
|
+
"return": {
|
|
10705
|
+
"type": {
|
|
10706
|
+
"text": "PredefinedLabel[]"
|
|
10707
|
+
}
|
|
10708
|
+
}
|
|
10709
|
+
},
|
|
10683
10710
|
{
|
|
10684
10711
|
"kind": "method",
|
|
10685
10712
|
"name": "handleChange",
|
|
@@ -10718,7 +10745,7 @@
|
|
|
10718
10745
|
},
|
|
10719
10746
|
{
|
|
10720
10747
|
"kind": "method",
|
|
10721
|
-
"name": "
|
|
10748
|
+
"name": "handleFormSubmit",
|
|
10722
10749
|
"privacy": "private",
|
|
10723
10750
|
"parameters": [
|
|
10724
10751
|
{
|
|
@@ -10726,13 +10753,64 @@
|
|
|
10726
10753
|
"type": {
|
|
10727
10754
|
"text": "Event"
|
|
10728
10755
|
}
|
|
10756
|
+
},
|
|
10757
|
+
{
|
|
10758
|
+
"name": "label",
|
|
10759
|
+
"optional": true,
|
|
10760
|
+
"type": {
|
|
10761
|
+
"text": "string"
|
|
10762
|
+
}
|
|
10729
10763
|
}
|
|
10730
10764
|
]
|
|
10731
10765
|
},
|
|
10732
10766
|
{
|
|
10733
10767
|
"kind": "method",
|
|
10734
|
-
"name": "
|
|
10735
|
-
"privacy": "private"
|
|
10768
|
+
"name": "renderValueControl",
|
|
10769
|
+
"privacy": "private",
|
|
10770
|
+
"return": {
|
|
10771
|
+
"type": {
|
|
10772
|
+
"text": "TemplateResult"
|
|
10773
|
+
}
|
|
10774
|
+
},
|
|
10775
|
+
"parameters": [
|
|
10776
|
+
{
|
|
10777
|
+
"name": "label",
|
|
10778
|
+
"type": {
|
|
10779
|
+
"text": "PredefinedLabel"
|
|
10780
|
+
}
|
|
10781
|
+
}
|
|
10782
|
+
]
|
|
10783
|
+
},
|
|
10784
|
+
{
|
|
10785
|
+
"kind": "method",
|
|
10786
|
+
"name": "renderRow",
|
|
10787
|
+
"privacy": "private",
|
|
10788
|
+
"return": {
|
|
10789
|
+
"type": {
|
|
10790
|
+
"text": "TemplateResult"
|
|
10791
|
+
}
|
|
10792
|
+
},
|
|
10793
|
+
"parameters": [
|
|
10794
|
+
{
|
|
10795
|
+
"name": "name",
|
|
10796
|
+
"type": {
|
|
10797
|
+
"text": "string"
|
|
10798
|
+
}
|
|
10799
|
+
},
|
|
10800
|
+
{
|
|
10801
|
+
"name": "control",
|
|
10802
|
+
"type": {
|
|
10803
|
+
"text": "TemplateResult"
|
|
10804
|
+
}
|
|
10805
|
+
},
|
|
10806
|
+
{
|
|
10807
|
+
"name": "label",
|
|
10808
|
+
"optional": true,
|
|
10809
|
+
"type": {
|
|
10810
|
+
"text": "string"
|
|
10811
|
+
}
|
|
10812
|
+
}
|
|
10813
|
+
]
|
|
10736
10814
|
}
|
|
10737
10815
|
],
|
|
10738
10816
|
"attributes": [
|
|
@@ -10742,6 +10820,7 @@
|
|
|
10742
10820
|
"text": "string"
|
|
10743
10821
|
},
|
|
10744
10822
|
"default": "''",
|
|
10823
|
+
"description": "The selected label key. Also acts as the filter while typing.",
|
|
10745
10824
|
"fieldName": "value"
|
|
10746
10825
|
},
|
|
10747
10826
|
{
|
|
@@ -10750,6 +10829,7 @@
|
|
|
10750
10829
|
"text": "string"
|
|
10751
10830
|
},
|
|
10752
10831
|
"default": "''",
|
|
10832
|
+
"description": "The value entered for the selected label. Submitted as `label:value` when present.",
|
|
10753
10833
|
"fieldName": "inputValue"
|
|
10754
10834
|
},
|
|
10755
10835
|
{
|
|
@@ -10758,6 +10838,7 @@
|
|
|
10758
10838
|
"text": "'x-small' | 'small' | 'medium' | 'large'"
|
|
10759
10839
|
},
|
|
10760
10840
|
"default": "'medium'",
|
|
10841
|
+
"description": "The size of the main input.",
|
|
10761
10842
|
"fieldName": "inputSize"
|
|
10762
10843
|
},
|
|
10763
10844
|
{
|
|
@@ -10766,6 +10847,7 @@
|
|
|
10766
10847
|
"text": "string"
|
|
10767
10848
|
},
|
|
10768
10849
|
"default": "'label'",
|
|
10850
|
+
"description": "The name of the control. Used for form submission.",
|
|
10769
10851
|
"fieldName": "name"
|
|
10770
10852
|
},
|
|
10771
10853
|
{
|
|
@@ -10773,6 +10855,7 @@
|
|
|
10773
10855
|
"type": {
|
|
10774
10856
|
"text": "string"
|
|
10775
10857
|
},
|
|
10858
|
+
"description": "The title of the main input.",
|
|
10776
10859
|
"fieldName": "title"
|
|
10777
10860
|
},
|
|
10778
10861
|
{
|
|
@@ -10781,6 +10864,7 @@
|
|
|
10781
10864
|
"text": "boolean"
|
|
10782
10865
|
},
|
|
10783
10866
|
"default": "false",
|
|
10867
|
+
"description": "Disables the control.",
|
|
10784
10868
|
"fieldName": "disabled"
|
|
10785
10869
|
},
|
|
10786
10870
|
{
|
|
@@ -10789,14 +10873,16 @@
|
|
|
10789
10873
|
"text": "boolean"
|
|
10790
10874
|
},
|
|
10791
10875
|
"default": "false",
|
|
10876
|
+
"description": "Allows labels that aren't in the predefined list.",
|
|
10792
10877
|
"fieldName": "allowCustom"
|
|
10793
10878
|
},
|
|
10794
10879
|
{
|
|
10795
10880
|
"name": "predefined-labels",
|
|
10796
10881
|
"type": {
|
|
10797
|
-
"text": "
|
|
10882
|
+
"text": "(PredefinedLabel | string)[]"
|
|
10798
10883
|
},
|
|
10799
10884
|
"default": "[]",
|
|
10885
|
+
"description": "The predefined labels. Entries are either a string or `{name, options}`.",
|
|
10800
10886
|
"fieldName": "predefinedLabels"
|
|
10801
10887
|
}
|
|
10802
10888
|
],
|
|
@@ -10808,7 +10894,7 @@
|
|
|
10808
10894
|
"tagNameWithoutPrefix": "defined-label",
|
|
10809
10895
|
"tagName": "zn-defined-label",
|
|
10810
10896
|
"customElement": true,
|
|
10811
|
-
"jsDoc": "/**\n * @summary This component provides a labeled input with support for predefined and custom labels,\n * allowing users to select or enter label-value pairs within a dropdown interface.\n * @documentation https://zinc.style/components/defined-label\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n * @dependency zn-dropdown\n * @dependency zn-input\n * @dependency zn-option\n * @dependency zn-
|
|
10897
|
+
"jsDoc": "/**\n * @summary This component provides a labeled input with support for predefined and custom labels,\n * allowing users to select or enter label-value pairs within a dropdown interface.\n * @documentation https://zinc.style/components/defined-label\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-button\n * @dependency zn-dropdown\n * @dependency zn-input\n * @dependency zn-option\n * @dependency zn-select\n *\n * @csspart input - The component's main input.\n * @csspart input-value - The label's value inputs.\n */",
|
|
10812
10898
|
"documentation": "https://zinc.style/components/defined-label",
|
|
10813
10899
|
"status": "experimental",
|
|
10814
10900
|
"since": "1.0",
|
|
@@ -10817,9 +10903,7 @@
|
|
|
10817
10903
|
"zn-dropdown",
|
|
10818
10904
|
"zn-input",
|
|
10819
10905
|
"zn-option",
|
|
10820
|
-
"zn-
|
|
10821
|
-
"zn-select",
|
|
10822
|
-
"zn-sp"
|
|
10906
|
+
"zn-select"
|
|
10823
10907
|
]
|
|
10824
10908
|
}
|
|
10825
10909
|
],
|
|
@@ -12962,7 +13046,7 @@
|
|
|
12962
13046
|
"name": "formControlController",
|
|
12963
13047
|
"privacy": "private",
|
|
12964
13048
|
"readonly": true,
|
|
12965
|
-
"default": "new FormControlController(this, { assumeInteractionOn: ['zn-change'], // An explicitly cleared control submits an empty value so the server can // remove the stored upload; an untouched empty control submits nothing. value: (el: ZnFile) => { if (el.files?.length) return el.files; return el.clearedByUser ? '' : undefined; } })"
|
|
13049
|
+
"default": "new FormControlController(this, { assumeInteractionOn: ['zn-change'], // An explicitly cleared control submits an empty value so the server can // remove the stored upload; an untouched empty control submits nothing. // In upload-url mode the control submits the uploaded file's URL string // instead of the file bytes. value: (el: ZnFile) => { if (el.uploadUrl) { if (el.src) return el.src; return el.clearedByUser ? '' : undefined; } if (el.files?.length) return el.files; return el.clearedByUser ? '' : undefined; } })"
|
|
12966
13050
|
},
|
|
12967
13051
|
{
|
|
12968
13052
|
"kind": "field",
|
|
@@ -13244,6 +13328,25 @@
|
|
|
13244
13328
|
"description": "When enabled, render the current link (`previewSrc`) as a clickable URL below the control.\nUseful for showing the existing CDN link alongside the preview.",
|
|
13245
13329
|
"attribute": "show-link"
|
|
13246
13330
|
},
|
|
13331
|
+
{
|
|
13332
|
+
"kind": "field",
|
|
13333
|
+
"name": "uploadUrl",
|
|
13334
|
+
"type": {
|
|
13335
|
+
"text": "string"
|
|
13336
|
+
},
|
|
13337
|
+
"default": "''",
|
|
13338
|
+
"description": "When set, a chosen file is immediately POSTed (multipart, field `file`) to this URL.\nThe endpoint must respond with JSON `{\"url\": \"...\"}`; that URL becomes the control's\nvalue (and `src` preview) in place of the file bytes, so the control works inside\nJSON-serialising hosts such as `zn-page-builder`. Emits `zn-error` when the upload fails.",
|
|
13339
|
+
"attribute": "upload-url"
|
|
13340
|
+
},
|
|
13341
|
+
{
|
|
13342
|
+
"kind": "field",
|
|
13343
|
+
"name": "uploading",
|
|
13344
|
+
"type": {
|
|
13345
|
+
"text": "boolean"
|
|
13346
|
+
},
|
|
13347
|
+
"privacy": "private",
|
|
13348
|
+
"default": "false"
|
|
13349
|
+
},
|
|
13247
13350
|
{
|
|
13248
13351
|
"kind": "field",
|
|
13249
13352
|
"name": "validity",
|
|
@@ -13397,6 +13500,20 @@
|
|
|
13397
13500
|
],
|
|
13398
13501
|
"description": "Handles the change event of the native input"
|
|
13399
13502
|
},
|
|
13503
|
+
{
|
|
13504
|
+
"kind": "method",
|
|
13505
|
+
"name": "uploadFile",
|
|
13506
|
+
"privacy": "private",
|
|
13507
|
+
"parameters": [
|
|
13508
|
+
{
|
|
13509
|
+
"name": "file",
|
|
13510
|
+
"type": {
|
|
13511
|
+
"text": "File"
|
|
13512
|
+
}
|
|
13513
|
+
}
|
|
13514
|
+
],
|
|
13515
|
+
"description": "Uploads the chosen file to `uploadUrl` and adopts the returned URL as the\ncontrol's value. The local file preview stays visible while the upload runs."
|
|
13516
|
+
},
|
|
13400
13517
|
{
|
|
13401
13518
|
"kind": "field",
|
|
13402
13519
|
"name": "handleDragOver",
|
|
@@ -13675,6 +13792,15 @@
|
|
|
13675
13792
|
"default": "false",
|
|
13676
13793
|
"description": "When enabled, render the current link (`previewSrc`) as a clickable URL below the control.\nUseful for showing the existing CDN link alongside the preview.",
|
|
13677
13794
|
"fieldName": "showLink"
|
|
13795
|
+
},
|
|
13796
|
+
{
|
|
13797
|
+
"name": "upload-url",
|
|
13798
|
+
"type": {
|
|
13799
|
+
"text": "string"
|
|
13800
|
+
},
|
|
13801
|
+
"default": "''",
|
|
13802
|
+
"description": "When set, a chosen file is immediately POSTed (multipart, field `file`) to this URL.\nThe endpoint must respond with JSON `{\"url\": \"...\"}`; that URL becomes the control's\nvalue (and `src` preview) in place of the file bytes, so the control works inside\nJSON-serialising hosts such as `zn-page-builder`. Emits `zn-error` when the upload fails.",
|
|
13803
|
+
"fieldName": "uploadUrl"
|
|
13678
13804
|
}
|
|
13679
13805
|
],
|
|
13680
13806
|
"superclass": {
|
|
@@ -15464,272 +15590,6 @@
|
|
|
15464
15590
|
}
|
|
15465
15591
|
]
|
|
15466
15592
|
},
|
|
15467
|
-
{
|
|
15468
|
-
"kind": "javascript-module",
|
|
15469
|
-
"path": "components/header/header.js",
|
|
15470
|
-
"declarations": [
|
|
15471
|
-
{
|
|
15472
|
-
"kind": "class",
|
|
15473
|
-
"description": "",
|
|
15474
|
-
"name": "ZnHeader",
|
|
15475
|
-
"cssProperties": [
|
|
15476
|
-
{
|
|
15477
|
-
"description": "An example CSS custom property.",
|
|
15478
|
-
"name": "--example"
|
|
15479
|
-
}
|
|
15480
|
-
],
|
|
15481
|
-
"cssParts": [
|
|
15482
|
-
{
|
|
15483
|
-
"description": "The component's base wrapper.",
|
|
15484
|
-
"name": "base"
|
|
15485
|
-
}
|
|
15486
|
-
],
|
|
15487
|
-
"slots": [
|
|
15488
|
-
{
|
|
15489
|
-
"description": "The default slot.",
|
|
15490
|
-
"name": ""
|
|
15491
|
-
},
|
|
15492
|
-
{
|
|
15493
|
-
"description": "An example slot.",
|
|
15494
|
-
"name": "example"
|
|
15495
|
-
}
|
|
15496
|
-
],
|
|
15497
|
-
"members": [
|
|
15498
|
-
{
|
|
15499
|
-
"kind": "field",
|
|
15500
|
-
"name": "hasSlotController",
|
|
15501
|
-
"privacy": "private",
|
|
15502
|
-
"readonly": true,
|
|
15503
|
-
"default": "new HasSlotController(this, '[default]', 'nav', 'breadcrumb')"
|
|
15504
|
-
},
|
|
15505
|
-
{
|
|
15506
|
-
"kind": "field",
|
|
15507
|
-
"name": "fullLocation",
|
|
15508
|
-
"type": {
|
|
15509
|
-
"text": "string"
|
|
15510
|
-
},
|
|
15511
|
-
"attribute": "full-location"
|
|
15512
|
-
},
|
|
15513
|
-
{
|
|
15514
|
-
"kind": "field",
|
|
15515
|
-
"name": "entityId",
|
|
15516
|
-
"type": {
|
|
15517
|
-
"text": "string"
|
|
15518
|
-
},
|
|
15519
|
-
"attribute": "entity-id"
|
|
15520
|
-
},
|
|
15521
|
-
{
|
|
15522
|
-
"kind": "field",
|
|
15523
|
-
"name": "entityIdShow",
|
|
15524
|
-
"type": {
|
|
15525
|
-
"text": "boolean"
|
|
15526
|
-
},
|
|
15527
|
-
"attribute": "entity-id-show"
|
|
15528
|
-
},
|
|
15529
|
-
{
|
|
15530
|
-
"kind": "field",
|
|
15531
|
-
"name": "transparent",
|
|
15532
|
-
"type": {
|
|
15533
|
-
"text": "boolean"
|
|
15534
|
-
},
|
|
15535
|
-
"default": "false",
|
|
15536
|
-
"attribute": "transparent"
|
|
15537
|
-
},
|
|
15538
|
-
{
|
|
15539
|
-
"kind": "field",
|
|
15540
|
-
"name": "caption",
|
|
15541
|
-
"type": {
|
|
15542
|
-
"text": "string"
|
|
15543
|
-
},
|
|
15544
|
-
"attribute": "caption"
|
|
15545
|
-
},
|
|
15546
|
-
{
|
|
15547
|
-
"kind": "field",
|
|
15548
|
-
"name": "icon",
|
|
15549
|
-
"type": {
|
|
15550
|
-
"text": "string"
|
|
15551
|
-
},
|
|
15552
|
-
"attribute": "icon"
|
|
15553
|
-
},
|
|
15554
|
-
{
|
|
15555
|
-
"kind": "field",
|
|
15556
|
-
"name": "navigation",
|
|
15557
|
-
"type": {
|
|
15558
|
-
"text": "array"
|
|
15559
|
-
},
|
|
15560
|
-
"default": "[]",
|
|
15561
|
-
"attribute": "navigation"
|
|
15562
|
-
},
|
|
15563
|
-
{
|
|
15564
|
-
"kind": "field",
|
|
15565
|
-
"name": "fullWidth",
|
|
15566
|
-
"type": {
|
|
15567
|
-
"text": "boolean"
|
|
15568
|
-
},
|
|
15569
|
-
"attribute": "full-width"
|
|
15570
|
-
},
|
|
15571
|
-
{
|
|
15572
|
-
"kind": "field",
|
|
15573
|
-
"name": "previousPath",
|
|
15574
|
-
"type": {
|
|
15575
|
-
"text": "string"
|
|
15576
|
-
},
|
|
15577
|
-
"attribute": "previous-path"
|
|
15578
|
-
},
|
|
15579
|
-
{
|
|
15580
|
-
"kind": "field",
|
|
15581
|
-
"name": "previousTarget",
|
|
15582
|
-
"type": {
|
|
15583
|
-
"text": "string"
|
|
15584
|
-
},
|
|
15585
|
-
"attribute": "previous-target"
|
|
15586
|
-
},
|
|
15587
|
-
{
|
|
15588
|
-
"kind": "field",
|
|
15589
|
-
"name": "hideBreadcrumb",
|
|
15590
|
-
"type": {
|
|
15591
|
-
"text": "boolean"
|
|
15592
|
-
},
|
|
15593
|
-
"default": "false",
|
|
15594
|
-
"attribute": "hide-breadcrumb"
|
|
15595
|
-
},
|
|
15596
|
-
{
|
|
15597
|
-
"kind": "field",
|
|
15598
|
-
"name": "navbar",
|
|
15599
|
-
"type": {
|
|
15600
|
-
"text": "ZnNavbar"
|
|
15601
|
-
},
|
|
15602
|
-
"privacy": "private"
|
|
15603
|
-
},
|
|
15604
|
-
{
|
|
15605
|
-
"kind": "field",
|
|
15606
|
-
"name": "handleAltPress"
|
|
15607
|
-
},
|
|
15608
|
-
{
|
|
15609
|
-
"kind": "field",
|
|
15610
|
-
"name": "handleAltUp"
|
|
15611
|
-
},
|
|
15612
|
-
{
|
|
15613
|
-
"kind": "method",
|
|
15614
|
-
"name": "updateNav"
|
|
15615
|
-
}
|
|
15616
|
-
],
|
|
15617
|
-
"events": [
|
|
15618
|
-
{
|
|
15619
|
-
"description": "Emitted as an example.",
|
|
15620
|
-
"name": "zn-event-name"
|
|
15621
|
-
}
|
|
15622
|
-
],
|
|
15623
|
-
"attributes": [
|
|
15624
|
-
{
|
|
15625
|
-
"name": "full-location",
|
|
15626
|
-
"type": {
|
|
15627
|
-
"text": "string"
|
|
15628
|
-
},
|
|
15629
|
-
"fieldName": "fullLocation"
|
|
15630
|
-
},
|
|
15631
|
-
{
|
|
15632
|
-
"name": "entity-id",
|
|
15633
|
-
"type": {
|
|
15634
|
-
"text": "string"
|
|
15635
|
-
},
|
|
15636
|
-
"fieldName": "entityId"
|
|
15637
|
-
},
|
|
15638
|
-
{
|
|
15639
|
-
"name": "entity-id-show",
|
|
15640
|
-
"type": {
|
|
15641
|
-
"text": "boolean"
|
|
15642
|
-
},
|
|
15643
|
-
"fieldName": "entityIdShow"
|
|
15644
|
-
},
|
|
15645
|
-
{
|
|
15646
|
-
"name": "transparent",
|
|
15647
|
-
"type": {
|
|
15648
|
-
"text": "boolean"
|
|
15649
|
-
},
|
|
15650
|
-
"default": "false",
|
|
15651
|
-
"fieldName": "transparent"
|
|
15652
|
-
},
|
|
15653
|
-
{
|
|
15654
|
-
"name": "caption",
|
|
15655
|
-
"type": {
|
|
15656
|
-
"text": "string"
|
|
15657
|
-
},
|
|
15658
|
-
"fieldName": "caption"
|
|
15659
|
-
},
|
|
15660
|
-
{
|
|
15661
|
-
"name": "icon",
|
|
15662
|
-
"type": {
|
|
15663
|
-
"text": "string"
|
|
15664
|
-
},
|
|
15665
|
-
"fieldName": "icon"
|
|
15666
|
-
},
|
|
15667
|
-
{
|
|
15668
|
-
"name": "navigation",
|
|
15669
|
-
"type": {
|
|
15670
|
-
"text": "array"
|
|
15671
|
-
},
|
|
15672
|
-
"default": "[]",
|
|
15673
|
-
"fieldName": "navigation"
|
|
15674
|
-
},
|
|
15675
|
-
{
|
|
15676
|
-
"name": "full-width",
|
|
15677
|
-
"type": {
|
|
15678
|
-
"text": "boolean"
|
|
15679
|
-
},
|
|
15680
|
-
"fieldName": "fullWidth"
|
|
15681
|
-
},
|
|
15682
|
-
{
|
|
15683
|
-
"name": "previous-path",
|
|
15684
|
-
"type": {
|
|
15685
|
-
"text": "string"
|
|
15686
|
-
},
|
|
15687
|
-
"fieldName": "previousPath"
|
|
15688
|
-
},
|
|
15689
|
-
{
|
|
15690
|
-
"name": "previous-target",
|
|
15691
|
-
"type": {
|
|
15692
|
-
"text": "string"
|
|
15693
|
-
},
|
|
15694
|
-
"fieldName": "previousTarget"
|
|
15695
|
-
},
|
|
15696
|
-
{
|
|
15697
|
-
"name": "hide-breadcrumb",
|
|
15698
|
-
"type": {
|
|
15699
|
-
"text": "boolean"
|
|
15700
|
-
},
|
|
15701
|
-
"default": "false",
|
|
15702
|
-
"fieldName": "hideBreadcrumb"
|
|
15703
|
-
}
|
|
15704
|
-
],
|
|
15705
|
-
"superclass": {
|
|
15706
|
-
"name": "ZincElement",
|
|
15707
|
-
"module": "/src/internal/zinc-element"
|
|
15708
|
-
},
|
|
15709
|
-
"summary": "Short summary of the component's intended use.",
|
|
15710
|
-
"tagNameWithoutPrefix": "header",
|
|
15711
|
-
"tagName": "zn-header",
|
|
15712
|
-
"customElement": true,
|
|
15713
|
-
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/header\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
15714
|
-
"documentation": "https://zinc.style/components/header",
|
|
15715
|
-
"status": "experimental",
|
|
15716
|
-
"since": "1.0",
|
|
15717
|
-
"dependencies": [
|
|
15718
|
-
"zn-example"
|
|
15719
|
-
]
|
|
15720
|
-
}
|
|
15721
|
-
],
|
|
15722
|
-
"exports": [
|
|
15723
|
-
{
|
|
15724
|
-
"kind": "js",
|
|
15725
|
-
"name": "default",
|
|
15726
|
-
"declaration": {
|
|
15727
|
-
"name": "ZnHeader",
|
|
15728
|
-
"module": "components/header/header.js"
|
|
15729
|
-
}
|
|
15730
|
-
}
|
|
15731
|
-
]
|
|
15732
|
-
},
|
|
15733
15593
|
{
|
|
15734
15594
|
"kind": "javascript-module",
|
|
15735
15595
|
"path": "components/hover-container/hover-container.js",
|
|
@@ -16033,6 +15893,272 @@
|
|
|
16033
15893
|
}
|
|
16034
15894
|
]
|
|
16035
15895
|
},
|
|
15896
|
+
{
|
|
15897
|
+
"kind": "javascript-module",
|
|
15898
|
+
"path": "components/header/header.js",
|
|
15899
|
+
"declarations": [
|
|
15900
|
+
{
|
|
15901
|
+
"kind": "class",
|
|
15902
|
+
"description": "",
|
|
15903
|
+
"name": "ZnHeader",
|
|
15904
|
+
"cssProperties": [
|
|
15905
|
+
{
|
|
15906
|
+
"description": "An example CSS custom property.",
|
|
15907
|
+
"name": "--example"
|
|
15908
|
+
}
|
|
15909
|
+
],
|
|
15910
|
+
"cssParts": [
|
|
15911
|
+
{
|
|
15912
|
+
"description": "The component's base wrapper.",
|
|
15913
|
+
"name": "base"
|
|
15914
|
+
}
|
|
15915
|
+
],
|
|
15916
|
+
"slots": [
|
|
15917
|
+
{
|
|
15918
|
+
"description": "The default slot.",
|
|
15919
|
+
"name": ""
|
|
15920
|
+
},
|
|
15921
|
+
{
|
|
15922
|
+
"description": "An example slot.",
|
|
15923
|
+
"name": "example"
|
|
15924
|
+
}
|
|
15925
|
+
],
|
|
15926
|
+
"members": [
|
|
15927
|
+
{
|
|
15928
|
+
"kind": "field",
|
|
15929
|
+
"name": "hasSlotController",
|
|
15930
|
+
"privacy": "private",
|
|
15931
|
+
"readonly": true,
|
|
15932
|
+
"default": "new HasSlotController(this, '[default]', 'nav', 'breadcrumb')"
|
|
15933
|
+
},
|
|
15934
|
+
{
|
|
15935
|
+
"kind": "field",
|
|
15936
|
+
"name": "fullLocation",
|
|
15937
|
+
"type": {
|
|
15938
|
+
"text": "string"
|
|
15939
|
+
},
|
|
15940
|
+
"attribute": "full-location"
|
|
15941
|
+
},
|
|
15942
|
+
{
|
|
15943
|
+
"kind": "field",
|
|
15944
|
+
"name": "entityId",
|
|
15945
|
+
"type": {
|
|
15946
|
+
"text": "string"
|
|
15947
|
+
},
|
|
15948
|
+
"attribute": "entity-id"
|
|
15949
|
+
},
|
|
15950
|
+
{
|
|
15951
|
+
"kind": "field",
|
|
15952
|
+
"name": "entityIdShow",
|
|
15953
|
+
"type": {
|
|
15954
|
+
"text": "boolean"
|
|
15955
|
+
},
|
|
15956
|
+
"attribute": "entity-id-show"
|
|
15957
|
+
},
|
|
15958
|
+
{
|
|
15959
|
+
"kind": "field",
|
|
15960
|
+
"name": "transparent",
|
|
15961
|
+
"type": {
|
|
15962
|
+
"text": "boolean"
|
|
15963
|
+
},
|
|
15964
|
+
"default": "false",
|
|
15965
|
+
"attribute": "transparent"
|
|
15966
|
+
},
|
|
15967
|
+
{
|
|
15968
|
+
"kind": "field",
|
|
15969
|
+
"name": "caption",
|
|
15970
|
+
"type": {
|
|
15971
|
+
"text": "string"
|
|
15972
|
+
},
|
|
15973
|
+
"attribute": "caption"
|
|
15974
|
+
},
|
|
15975
|
+
{
|
|
15976
|
+
"kind": "field",
|
|
15977
|
+
"name": "icon",
|
|
15978
|
+
"type": {
|
|
15979
|
+
"text": "string"
|
|
15980
|
+
},
|
|
15981
|
+
"attribute": "icon"
|
|
15982
|
+
},
|
|
15983
|
+
{
|
|
15984
|
+
"kind": "field",
|
|
15985
|
+
"name": "navigation",
|
|
15986
|
+
"type": {
|
|
15987
|
+
"text": "array"
|
|
15988
|
+
},
|
|
15989
|
+
"default": "[]",
|
|
15990
|
+
"attribute": "navigation"
|
|
15991
|
+
},
|
|
15992
|
+
{
|
|
15993
|
+
"kind": "field",
|
|
15994
|
+
"name": "fullWidth",
|
|
15995
|
+
"type": {
|
|
15996
|
+
"text": "boolean"
|
|
15997
|
+
},
|
|
15998
|
+
"attribute": "full-width"
|
|
15999
|
+
},
|
|
16000
|
+
{
|
|
16001
|
+
"kind": "field",
|
|
16002
|
+
"name": "previousPath",
|
|
16003
|
+
"type": {
|
|
16004
|
+
"text": "string"
|
|
16005
|
+
},
|
|
16006
|
+
"attribute": "previous-path"
|
|
16007
|
+
},
|
|
16008
|
+
{
|
|
16009
|
+
"kind": "field",
|
|
16010
|
+
"name": "previousTarget",
|
|
16011
|
+
"type": {
|
|
16012
|
+
"text": "string"
|
|
16013
|
+
},
|
|
16014
|
+
"attribute": "previous-target"
|
|
16015
|
+
},
|
|
16016
|
+
{
|
|
16017
|
+
"kind": "field",
|
|
16018
|
+
"name": "hideBreadcrumb",
|
|
16019
|
+
"type": {
|
|
16020
|
+
"text": "boolean"
|
|
16021
|
+
},
|
|
16022
|
+
"default": "false",
|
|
16023
|
+
"attribute": "hide-breadcrumb"
|
|
16024
|
+
},
|
|
16025
|
+
{
|
|
16026
|
+
"kind": "field",
|
|
16027
|
+
"name": "navbar",
|
|
16028
|
+
"type": {
|
|
16029
|
+
"text": "ZnNavbar"
|
|
16030
|
+
},
|
|
16031
|
+
"privacy": "private"
|
|
16032
|
+
},
|
|
16033
|
+
{
|
|
16034
|
+
"kind": "field",
|
|
16035
|
+
"name": "handleAltPress"
|
|
16036
|
+
},
|
|
16037
|
+
{
|
|
16038
|
+
"kind": "field",
|
|
16039
|
+
"name": "handleAltUp"
|
|
16040
|
+
},
|
|
16041
|
+
{
|
|
16042
|
+
"kind": "method",
|
|
16043
|
+
"name": "updateNav"
|
|
16044
|
+
}
|
|
16045
|
+
],
|
|
16046
|
+
"events": [
|
|
16047
|
+
{
|
|
16048
|
+
"description": "Emitted as an example.",
|
|
16049
|
+
"name": "zn-event-name"
|
|
16050
|
+
}
|
|
16051
|
+
],
|
|
16052
|
+
"attributes": [
|
|
16053
|
+
{
|
|
16054
|
+
"name": "full-location",
|
|
16055
|
+
"type": {
|
|
16056
|
+
"text": "string"
|
|
16057
|
+
},
|
|
16058
|
+
"fieldName": "fullLocation"
|
|
16059
|
+
},
|
|
16060
|
+
{
|
|
16061
|
+
"name": "entity-id",
|
|
16062
|
+
"type": {
|
|
16063
|
+
"text": "string"
|
|
16064
|
+
},
|
|
16065
|
+
"fieldName": "entityId"
|
|
16066
|
+
},
|
|
16067
|
+
{
|
|
16068
|
+
"name": "entity-id-show",
|
|
16069
|
+
"type": {
|
|
16070
|
+
"text": "boolean"
|
|
16071
|
+
},
|
|
16072
|
+
"fieldName": "entityIdShow"
|
|
16073
|
+
},
|
|
16074
|
+
{
|
|
16075
|
+
"name": "transparent",
|
|
16076
|
+
"type": {
|
|
16077
|
+
"text": "boolean"
|
|
16078
|
+
},
|
|
16079
|
+
"default": "false",
|
|
16080
|
+
"fieldName": "transparent"
|
|
16081
|
+
},
|
|
16082
|
+
{
|
|
16083
|
+
"name": "caption",
|
|
16084
|
+
"type": {
|
|
16085
|
+
"text": "string"
|
|
16086
|
+
},
|
|
16087
|
+
"fieldName": "caption"
|
|
16088
|
+
},
|
|
16089
|
+
{
|
|
16090
|
+
"name": "icon",
|
|
16091
|
+
"type": {
|
|
16092
|
+
"text": "string"
|
|
16093
|
+
},
|
|
16094
|
+
"fieldName": "icon"
|
|
16095
|
+
},
|
|
16096
|
+
{
|
|
16097
|
+
"name": "navigation",
|
|
16098
|
+
"type": {
|
|
16099
|
+
"text": "array"
|
|
16100
|
+
},
|
|
16101
|
+
"default": "[]",
|
|
16102
|
+
"fieldName": "navigation"
|
|
16103
|
+
},
|
|
16104
|
+
{
|
|
16105
|
+
"name": "full-width",
|
|
16106
|
+
"type": {
|
|
16107
|
+
"text": "boolean"
|
|
16108
|
+
},
|
|
16109
|
+
"fieldName": "fullWidth"
|
|
16110
|
+
},
|
|
16111
|
+
{
|
|
16112
|
+
"name": "previous-path",
|
|
16113
|
+
"type": {
|
|
16114
|
+
"text": "string"
|
|
16115
|
+
},
|
|
16116
|
+
"fieldName": "previousPath"
|
|
16117
|
+
},
|
|
16118
|
+
{
|
|
16119
|
+
"name": "previous-target",
|
|
16120
|
+
"type": {
|
|
16121
|
+
"text": "string"
|
|
16122
|
+
},
|
|
16123
|
+
"fieldName": "previousTarget"
|
|
16124
|
+
},
|
|
16125
|
+
{
|
|
16126
|
+
"name": "hide-breadcrumb",
|
|
16127
|
+
"type": {
|
|
16128
|
+
"text": "boolean"
|
|
16129
|
+
},
|
|
16130
|
+
"default": "false",
|
|
16131
|
+
"fieldName": "hideBreadcrumb"
|
|
16132
|
+
}
|
|
16133
|
+
],
|
|
16134
|
+
"superclass": {
|
|
16135
|
+
"name": "ZincElement",
|
|
16136
|
+
"module": "/src/internal/zinc-element"
|
|
16137
|
+
},
|
|
16138
|
+
"summary": "Short summary of the component's intended use.",
|
|
16139
|
+
"tagNameWithoutPrefix": "header",
|
|
16140
|
+
"tagName": "zn-header",
|
|
16141
|
+
"customElement": true,
|
|
16142
|
+
"jsDoc": "/**\n * @summary Short summary of the component's intended use.\n * @documentation https://zinc.style/components/header\n * @status experimental\n * @since 1.0\n *\n * @dependency zn-example\n *\n * @event zn-event-name - Emitted as an example.\n *\n * @slot - The default slot.\n * @slot example - An example slot.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --example - An example CSS custom property.\n */",
|
|
16143
|
+
"documentation": "https://zinc.style/components/header",
|
|
16144
|
+
"status": "experimental",
|
|
16145
|
+
"since": "1.0",
|
|
16146
|
+
"dependencies": [
|
|
16147
|
+
"zn-example"
|
|
16148
|
+
]
|
|
16149
|
+
}
|
|
16150
|
+
],
|
|
16151
|
+
"exports": [
|
|
16152
|
+
{
|
|
16153
|
+
"kind": "js",
|
|
16154
|
+
"name": "default",
|
|
16155
|
+
"declaration": {
|
|
16156
|
+
"name": "ZnHeader",
|
|
16157
|
+
"module": "components/header/header.js"
|
|
16158
|
+
}
|
|
16159
|
+
}
|
|
16160
|
+
]
|
|
16161
|
+
},
|
|
16036
16162
|
{
|
|
16037
16163
|
"kind": "javascript-module",
|
|
16038
16164
|
"path": "components/icon/icon.js",
|
|
@@ -42314,7 +42440,7 @@
|
|
|
42314
42440
|
"package": {
|
|
42315
42441
|
"name": "@kubex/zinc",
|
|
42316
42442
|
"description": "A collection of web components for building web applications based off of @shoelace-style/Shoelace",
|
|
42317
|
-
"version": "1.1.
|
|
42443
|
+
"version": "1.1.68",
|
|
42318
42444
|
"author": "",
|
|
42319
42445
|
"license": "MIT"
|
|
42320
42446
|
}
|