@kubex/zinc 1.1.158 → 1.1.160
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 +896 -849
- package/dist/vscode.html-custom-data.json +85 -85
- package/dist/web-types.json +176 -176
- package/dist/zn.d.ts +115 -109
- package/dist/zn.min.js +276 -276
- package/docs/pages/components/page.md +15 -0
- package/package.json +1 -1
- package/src/components/filter-container/filter-container.component.ts +32 -48
- package/src/components/filter-container/filter-container.test.ts +25 -0
- package/src/components/page/page.component.ts +24 -3
- package/src/components/page/page.test.ts +52 -0
- package/src/components/tabs/tabs.component.ts +1 -1
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@kubex/zinc",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.160",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -6869,7 +6869,7 @@
|
|
|
6869
6869
|
},
|
|
6870
6870
|
{
|
|
6871
6871
|
"name": "zn-page",
|
|
6872
|
-
"description": "Combines a page header with tab navigation and tab panels.\n\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Methods:**\n \n\n\n### **Slots:**\n - _default_ - Page content. Use zn-tab for named tabs and header-action/header-actions for header actions.\n- **description** - Rich subtitle/description content. Falls back to the `summary` attribute when empty.\n- **bottom** - Content rendered below the navbar row (e.g. chips, filters). Forwarded to the navbar's bottom 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.",
|
|
6872
|
+
"description": "Combines a page header with tab navigation and tab panels.\n\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Methods:**\n \n\n\n### **Slots:**\n - _default_ - Page content. Use zn-tab for named tabs and header-action/header-actions for header actions. Clicking an element in the content with `tab=\"<tab id>\"` opens that tab.\n- **description** - Rich subtitle/description content. Falls back to the `summary` attribute when empty.\n- **bottom** - Content rendered below the navbar row (e.g. chips, filters). Forwarded to the navbar's bottom 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.",
|
|
6873
6873
|
"doc-url": "",
|
|
6874
6874
|
"attributes": [
|
|
6875
6875
|
{ "name": "caption", "value": { "type": "string" } },
|
|
@@ -6951,7 +6951,7 @@
|
|
|
6951
6951
|
"slots": [
|
|
6952
6952
|
{
|
|
6953
6953
|
"name": "",
|
|
6954
|
-
"description": "Page content. Use zn-tab for named tabs and header-action/header-actions for header actions."
|
|
6954
|
+
"description": "Page content. Use zn-tab for named tabs and header-action/header-actions for header actions. Clicking an element in the content with `tab=\"<tab id>\"` opens that tab."
|
|
6955
6955
|
},
|
|
6956
6956
|
{
|
|
6957
6957
|
"name": "description",
|
|
@@ -8487,94 +8487,49 @@
|
|
|
8487
8487
|
}
|
|
8488
8488
|
},
|
|
8489
8489
|
{
|
|
8490
|
-
"name": "zn-
|
|
8491
|
-
"description": "Short summary of the component's intended use.\n\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **
|
|
8490
|
+
"name": "zn-reveal",
|
|
8491
|
+
"description": "Short summary of the component's intended use.\n\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.",
|
|
8492
8492
|
"doc-url": "",
|
|
8493
8493
|
"attributes": [
|
|
8494
|
-
{ "name": "label", "value": { "type": "string" } },
|
|
8495
8494
|
{
|
|
8496
|
-
"name": "
|
|
8497
|
-
"
|
|
8498
|
-
"value": { "type": "string", "default": "''" }
|
|
8495
|
+
"name": "duration",
|
|
8496
|
+
"value": { "type": "number", "default": "2000" }
|
|
8499
8497
|
},
|
|
8500
|
-
{ "name": "name", "value": { "type": "string" } },
|
|
8501
|
-
{ "name": "value", "value": { "type": "number", "default": "0" } },
|
|
8502
|
-
{ "name": "max", "value": { "type": "number", "default": "5" } },
|
|
8503
8498
|
{
|
|
8504
|
-
"name": "
|
|
8505
|
-
"value": { "type": "
|
|
8499
|
+
"name": "initial",
|
|
8500
|
+
"value": { "type": "string", "default": "''" }
|
|
8506
8501
|
},
|
|
8507
8502
|
{
|
|
8508
|
-
"name": "
|
|
8509
|
-
"value": { "type": "
|
|
8503
|
+
"name": "revealed",
|
|
8504
|
+
"value": { "type": "string", "default": "''" }
|
|
8510
8505
|
},
|
|
8511
8506
|
{
|
|
8512
|
-
"name": "
|
|
8513
|
-
"value": { "type": "
|
|
8507
|
+
"name": "hide-delay",
|
|
8508
|
+
"value": { "type": "number", "default": "150" }
|
|
8514
8509
|
},
|
|
8515
8510
|
{
|
|
8516
|
-
"name": "
|
|
8517
|
-
"description": "
|
|
8511
|
+
"name": "no-toggle",
|
|
8512
|
+
"description": "Disables click-to-toggle so the value is only revealed on hover. Clicks still bubble to the parent.",
|
|
8518
8513
|
"value": { "type": "boolean", "default": "false" }
|
|
8519
|
-
},
|
|
8520
|
-
{
|
|
8521
|
-
"name": "size",
|
|
8522
|
-
"value": {
|
|
8523
|
-
"type": "'small' | 'medium' | 'large'",
|
|
8524
|
-
"default": "'medium'"
|
|
8525
|
-
}
|
|
8526
|
-
},
|
|
8527
|
-
{
|
|
8528
|
-
"name": "getSymbol",
|
|
8529
|
-
"value": { "type": "(value: number) => string" }
|
|
8530
8514
|
}
|
|
8531
8515
|
],
|
|
8532
8516
|
"slots": [
|
|
8533
8517
|
{ "name": "", "description": "The default slot." },
|
|
8534
|
-
{ "name": "example", "description": "An example slot." }
|
|
8535
|
-
{
|
|
8536
|
-
"name": "help-text",
|
|
8537
|
-
"description": "Text that describes how to use the rating. Alternatively, you can use the `help-text` attribute."
|
|
8538
|
-
}
|
|
8518
|
+
{ "name": "example", "description": "An example slot." }
|
|
8539
8519
|
],
|
|
8540
8520
|
"events": [
|
|
8541
8521
|
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
8542
8522
|
],
|
|
8543
8523
|
"js": {
|
|
8544
8524
|
"properties": [
|
|
8545
|
-
{ "name": "
|
|
8546
|
-
{ "name": "
|
|
8547
|
-
{ "name": "
|
|
8548
|
-
{
|
|
8549
|
-
"name": "helpText",
|
|
8550
|
-
"description": "The rating's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
8551
|
-
"type": "string"
|
|
8552
|
-
},
|
|
8553
|
-
{ "name": "name", "type": "string" },
|
|
8554
|
-
{ "name": "value", "type": "number" },
|
|
8555
|
-
{
|
|
8556
|
-
"name": "defaultValue",
|
|
8557
|
-
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
8558
|
-
"type": "number"
|
|
8559
|
-
},
|
|
8560
|
-
{ "name": "max", "type": "number" },
|
|
8561
|
-
{ "name": "precision", "type": "number" },
|
|
8562
|
-
{ "name": "readonly", "type": "boolean" },
|
|
8563
|
-
{ "name": "disabled", "type": "boolean" },
|
|
8525
|
+
{ "name": "duration", "type": "number" },
|
|
8526
|
+
{ "name": "initial", "type": "string" },
|
|
8527
|
+
{ "name": "revealed", "type": "string" },
|
|
8528
|
+
{ "name": "hideDelay", "type": "number" },
|
|
8564
8529
|
{
|
|
8565
|
-
"name": "
|
|
8566
|
-
"description": "
|
|
8530
|
+
"name": "noToggle",
|
|
8531
|
+
"description": "Disables click-to-toggle so the value is only revealed on hover. Clicks still bubble to the parent.",
|
|
8567
8532
|
"type": "boolean"
|
|
8568
|
-
},
|
|
8569
|
-
{ "name": "size", "type": "'small' | 'medium' | 'large'" },
|
|
8570
|
-
{ "name": "getSymbol", "type": "(value: number) => string" },
|
|
8571
|
-
{
|
|
8572
|
-
"name": "validity",
|
|
8573
|
-
"description": "Gets the validity state object"
|
|
8574
|
-
},
|
|
8575
|
-
{
|
|
8576
|
-
"name": "validationMessage",
|
|
8577
|
-
"description": "Gets the validation message"
|
|
8578
8533
|
}
|
|
8579
8534
|
],
|
|
8580
8535
|
"events": [
|
|
@@ -8734,49 +8689,94 @@
|
|
|
8734
8689
|
}
|
|
8735
8690
|
},
|
|
8736
8691
|
{
|
|
8737
|
-
"name": "zn-
|
|
8738
|
-
"description": "Short summary of the component's intended use.\n\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.",
|
|
8692
|
+
"name": "zn-rating",
|
|
8693
|
+
"description": "Short summary of the component's intended use.\n\n---\n\n\n### **Events:**\n - **zn-event-name** - Emitted as an example.\n\n### **Methods:**\n - **checkValidity(): _boolean_** - Checks the 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()** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot.\n- **example** - An example slot.\n- **help-text** - Text that describes how to use the rating. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Properties:**\n - **--example** - An example CSS custom property. _(default: undefined)_\n- **--preview-color** - The color of the preview value. _(default: undefined)_\n- **--preview-size** - The font size of the preview value. _(default: undefined)_\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the symbols and help text.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **preview** - The value shown next to the symbols when `preview` is enabled.",
|
|
8739
8694
|
"doc-url": "",
|
|
8740
8695
|
"attributes": [
|
|
8696
|
+
{ "name": "label", "value": { "type": "string" } },
|
|
8741
8697
|
{
|
|
8742
|
-
"name": "
|
|
8743
|
-
"
|
|
8698
|
+
"name": "help-text",
|
|
8699
|
+
"description": "The rating's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
8700
|
+
"value": { "type": "string", "default": "''" }
|
|
8744
8701
|
},
|
|
8702
|
+
{ "name": "name", "value": { "type": "string" } },
|
|
8703
|
+
{ "name": "value", "value": { "type": "number", "default": "0" } },
|
|
8704
|
+
{ "name": "max", "value": { "type": "number", "default": "5" } },
|
|
8745
8705
|
{
|
|
8746
|
-
"name": "
|
|
8747
|
-
"value": { "type": "
|
|
8706
|
+
"name": "precision",
|
|
8707
|
+
"value": { "type": "number", "default": "1" }
|
|
8748
8708
|
},
|
|
8749
8709
|
{
|
|
8750
|
-
"name": "
|
|
8751
|
-
"value": { "type": "
|
|
8710
|
+
"name": "readonly",
|
|
8711
|
+
"value": { "type": "boolean", "default": "false" }
|
|
8752
8712
|
},
|
|
8753
8713
|
{
|
|
8754
|
-
"name": "
|
|
8755
|
-
"value": { "type": "
|
|
8714
|
+
"name": "disabled",
|
|
8715
|
+
"value": { "type": "boolean", "default": "false" }
|
|
8756
8716
|
},
|
|
8757
8717
|
{
|
|
8758
|
-
"name": "
|
|
8759
|
-
"description": "
|
|
8718
|
+
"name": "preview",
|
|
8719
|
+
"description": "Displays the value alongside the symbols, updating live as the pointer moves across them.",
|
|
8760
8720
|
"value": { "type": "boolean", "default": "false" }
|
|
8721
|
+
},
|
|
8722
|
+
{
|
|
8723
|
+
"name": "size",
|
|
8724
|
+
"value": {
|
|
8725
|
+
"type": "'small' | 'medium' | 'large'",
|
|
8726
|
+
"default": "'medium'"
|
|
8727
|
+
}
|
|
8728
|
+
},
|
|
8729
|
+
{
|
|
8730
|
+
"name": "getSymbol",
|
|
8731
|
+
"value": { "type": "(value: number) => string" }
|
|
8761
8732
|
}
|
|
8762
8733
|
],
|
|
8763
8734
|
"slots": [
|
|
8764
8735
|
{ "name": "", "description": "The default slot." },
|
|
8765
|
-
{ "name": "example", "description": "An example slot." }
|
|
8736
|
+
{ "name": "example", "description": "An example slot." },
|
|
8737
|
+
{
|
|
8738
|
+
"name": "help-text",
|
|
8739
|
+
"description": "Text that describes how to use the rating. Alternatively, you can use the `help-text` attribute."
|
|
8740
|
+
}
|
|
8766
8741
|
],
|
|
8767
8742
|
"events": [
|
|
8768
8743
|
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
8769
8744
|
],
|
|
8770
8745
|
"js": {
|
|
8771
8746
|
"properties": [
|
|
8772
|
-
{ "name": "
|
|
8773
|
-
{ "name": "
|
|
8774
|
-
{ "name": "
|
|
8775
|
-
{ "name": "hideDelay", "type": "number" },
|
|
8747
|
+
{ "name": "rating", "type": "HTMLElement" },
|
|
8748
|
+
{ "name": "symbols", "type": "HTMLElement" },
|
|
8749
|
+
{ "name": "label", "type": "string" },
|
|
8776
8750
|
{
|
|
8777
|
-
"name": "
|
|
8778
|
-
"description": "
|
|
8751
|
+
"name": "helpText",
|
|
8752
|
+
"description": "The rating's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
8753
|
+
"type": "string"
|
|
8754
|
+
},
|
|
8755
|
+
{ "name": "name", "type": "string" },
|
|
8756
|
+
{ "name": "value", "type": "number" },
|
|
8757
|
+
{
|
|
8758
|
+
"name": "defaultValue",
|
|
8759
|
+
"description": "The default value of the form control. Primarily used for resetting the form control.",
|
|
8760
|
+
"type": "number"
|
|
8761
|
+
},
|
|
8762
|
+
{ "name": "max", "type": "number" },
|
|
8763
|
+
{ "name": "precision", "type": "number" },
|
|
8764
|
+
{ "name": "readonly", "type": "boolean" },
|
|
8765
|
+
{ "name": "disabled", "type": "boolean" },
|
|
8766
|
+
{
|
|
8767
|
+
"name": "preview",
|
|
8768
|
+
"description": "Displays the value alongside the symbols, updating live as the pointer moves across them.",
|
|
8779
8769
|
"type": "boolean"
|
|
8770
|
+
},
|
|
8771
|
+
{ "name": "size", "type": "'small' | 'medium' | 'large'" },
|
|
8772
|
+
{ "name": "getSymbol", "type": "(value: number) => string" },
|
|
8773
|
+
{
|
|
8774
|
+
"name": "validity",
|
|
8775
|
+
"description": "Gets the validity state object"
|
|
8776
|
+
},
|
|
8777
|
+
{
|
|
8778
|
+
"name": "validationMessage",
|
|
8779
|
+
"description": "Gets the validation message"
|
|
8780
8780
|
}
|
|
8781
8781
|
],
|
|
8782
8782
|
"events": [
|
|
@@ -11600,6 +11600,96 @@
|
|
|
11600
11600
|
]
|
|
11601
11601
|
}
|
|
11602
11602
|
},
|
|
11603
|
+
{
|
|
11604
|
+
"name": "zn-tile",
|
|
11605
|
+
"description": "Short summary of the component's intended use.\n\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.",
|
|
11606
|
+
"doc-url": "",
|
|
11607
|
+
"attributes": [
|
|
11608
|
+
{ "name": "caption", "value": { "type": "string" } },
|
|
11609
|
+
{ "name": "description", "value": { "type": "string" } },
|
|
11610
|
+
{ "name": "href", "value": { "type": "string" } },
|
|
11611
|
+
{ "name": "data-target", "value": { "type": "string" } },
|
|
11612
|
+
{ "name": "gaid", "value": { "type": "string" } },
|
|
11613
|
+
{ "name": "data-uri", "value": { "type": "string" } },
|
|
11614
|
+
{ "name": "flush", "value": { "type": "boolean" } },
|
|
11615
|
+
{ "name": "flush-x", "value": { "type": "boolean" } },
|
|
11616
|
+
{ "name": "flush-y", "value": { "type": "boolean" } },
|
|
11617
|
+
{ "name": "inline", "value": { "type": "boolean" } },
|
|
11618
|
+
{
|
|
11619
|
+
"name": "plain",
|
|
11620
|
+
"description": "Renders the caption in the normal table-content weight instead of bold.",
|
|
11621
|
+
"value": { "type": "boolean" }
|
|
11622
|
+
},
|
|
11623
|
+
{
|
|
11624
|
+
"name": "grouped",
|
|
11625
|
+
"description": "Set by `zn-tile-group` to lay the tile out as a shared-column subgrid row.",
|
|
11626
|
+
"value": { "type": "boolean" }
|
|
11627
|
+
}
|
|
11628
|
+
],
|
|
11629
|
+
"slots": [
|
|
11630
|
+
{ "name": "", "description": "The default slot." },
|
|
11631
|
+
{ "name": "example", "description": "An example slot." }
|
|
11632
|
+
],
|
|
11633
|
+
"events": [
|
|
11634
|
+
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
11635
|
+
],
|
|
11636
|
+
"js": {
|
|
11637
|
+
"properties": [
|
|
11638
|
+
{ "name": "caption", "type": "string" },
|
|
11639
|
+
{ "name": "description", "type": "string" },
|
|
11640
|
+
{ "name": "href", "type": "string" },
|
|
11641
|
+
{ "name": "dataTarget", "type": "string" },
|
|
11642
|
+
{ "name": "gaid", "type": "string" },
|
|
11643
|
+
{ "name": "dataUri", "type": "string" },
|
|
11644
|
+
{ "name": "flush", "type": "boolean" },
|
|
11645
|
+
{ "name": "flushX", "type": "boolean" },
|
|
11646
|
+
{ "name": "flushY", "type": "boolean" },
|
|
11647
|
+
{ "name": "inline", "type": "boolean" },
|
|
11648
|
+
{
|
|
11649
|
+
"name": "plain",
|
|
11650
|
+
"description": "Renders the caption in the normal table-content weight instead of bold.",
|
|
11651
|
+
"type": "boolean"
|
|
11652
|
+
},
|
|
11653
|
+
{
|
|
11654
|
+
"name": "grouped",
|
|
11655
|
+
"description": "Set by `zn-tile-group` to lay the tile out as a shared-column subgrid row.",
|
|
11656
|
+
"type": "boolean"
|
|
11657
|
+
}
|
|
11658
|
+
],
|
|
11659
|
+
"events": [
|
|
11660
|
+
{
|
|
11661
|
+
"name": "zn-event-name",
|
|
11662
|
+
"description": "Emitted as an example."
|
|
11663
|
+
}
|
|
11664
|
+
]
|
|
11665
|
+
}
|
|
11666
|
+
},
|
|
11667
|
+
{
|
|
11668
|
+
"name": "zn-tile-group",
|
|
11669
|
+
"description": "Aligns a list of `zn-tile` rows into shared, content-driven columns so values\nand actions line up across every row, with optional dividing borders.\n\n---\n\n\n### **Slots:**\n - _default_ - One or more `zn-tile` elements.\n\n### **CSS Properties:**\n - **--zn-tile-cols** - The number of value/action columns (set automatically). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper (the grid container).",
|
|
11670
|
+
"doc-url": "",
|
|
11671
|
+
"attributes": [
|
|
11672
|
+
{
|
|
11673
|
+
"name": "divide",
|
|
11674
|
+
"description": "Draws a dividing border between rows.",
|
|
11675
|
+
"value": { "type": "boolean", "default": "false" }
|
|
11676
|
+
}
|
|
11677
|
+
],
|
|
11678
|
+
"slots": [
|
|
11679
|
+
{ "name": "", "description": "One or more `zn-tile` elements." }
|
|
11680
|
+
],
|
|
11681
|
+
"events": [],
|
|
11682
|
+
"js": {
|
|
11683
|
+
"properties": [
|
|
11684
|
+
{
|
|
11685
|
+
"name": "divide",
|
|
11686
|
+
"description": "Draws a dividing border between rows.",
|
|
11687
|
+
"type": "boolean"
|
|
11688
|
+
}
|
|
11689
|
+
],
|
|
11690
|
+
"events": []
|
|
11691
|
+
}
|
|
11692
|
+
},
|
|
11603
11693
|
{
|
|
11604
11694
|
"name": "zn-thumbnail",
|
|
11605
11695
|
"description": "A captioned image tile — a fixed aspect-ratio preview with a title beneath it, optional\ncorner badges and actions, and an optional full-screen preview that grows out of the thumbnail.\n\n---\n\n\n### **Events:**\n - **zn-select** - Emitted when an enabled thumbnail is activated by click or keyboard. Cancelable — call `preventDefault()` to stop the preview from opening and to stop a parent `zn-thumbnail-group` from changing its selection.\n- **zn-show** - Emitted when the preview overlay starts opening.\n- **zn-close** - Emitted once the preview overlay has finished closing.\n\n### **Methods:**\n - **showPreview()** - Opens the preview overlay.\n- **hidePreview()** - Closes the preview overlay.\n\n### **Slots:**\n - _default_ - Fallback content rendered in place of the media when no `src` is set.\n- **image** - Replaces the built-in `<img>` (e.g. a video, canvas or `zn-icon`).\n- **caption** - Replaces the caption text.\n- **badge** - Content pinned to the bottom-left of the media (e.g. a play indicator). Badges take no pointer events and are held back on opacity, so they read as information about the asset rather than as something to click.\n- **actions** - Controls pinned to the bottom-right of the media (e.g. a download button). Each slotted element becomes its own chip, so several actions read as separate icons on the thumbnail rather than one grouped pill. This sits outside the thumbnail's link, so buttons and links here behave normally and never select the thumbnail or follow its `href`.\n- **preview** - Replaces the preview media (e.g. a `<video>` for the full-size asset).\n\n### **CSS Properties:**\n - **--zn-thumbnail-aspect-ratio** - Aspect ratio of the media frame. Defaults to 16 / 9. The `aspect-ratio` attribute sets this on the thumbnail itself; set the property on any ancestor (including a `zn-thumbnail-group`) to apply it to every thumbnail beneath it. _(default: undefined)_\n- **--zn-thumbnail-radius** - Corner radius of the media frame. _(default: undefined)_\n- **--zn-thumbnail-preview-aspect-ratio** - Overrides the measured aspect ratio of the preview panel. By default the panel takes the asset's own ratio so it wraps the image exactly. _(default: undefined)_\n- **--zn-thumbnail-preview-max-width** - Largest width the preview may take. Defaults to 70vw. _(default: undefined)_\n- **--zn-thumbnail-preview-max-height** - Largest height the preview may take. Defaults to 70vh. _(default: undefined)_\n- **--zn-thumbnail-preview-radius** - Corner radius of the preview panel. _(default: undefined)_\n- **--zn-thumbnail-chip-radius** - Corner radius of a badge, action or preview chip. _(default: undefined)_\n- **--zn-thumbnail-chip-background** - Background of a badge, action or preview chip. _(default: undefined)_\n- **--zn-thumbnail-chip-background-hover** - Hover background of an action or preview chip. _(default: undefined)_\n- **--zn-thumbnail-chip-color** - Foreground colour of a badge, action or preview chip. _(default: undefined)_\n- **--zn-thumbnail-chip-gap** - Gap between adjacent chips. _(default: undefined)_\n- **--zn-thumbnail-badge-opacity** - Opacity of a badge, holding it back from the action chips beside it. Defaults to 0.65. _(default: undefined)_\n- **--zn-thumbnail-selected-color** - Ring colour for the selected state. _(default: undefined)_\n- **--zn-thumbnail-active-color** - Ring colour for the active state. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **link** - The anchor (or div) covering the media and caption.\n- **media** - The fixed aspect-ratio media frame.\n- **image** - The built-in image element.\n- **overlay** - The layer holding the badge, actions and preview button.\n- **badge** - The bottom-left badge container.\n- **actions** - The bottom-right actions container.\n- **preview-button** - The built-in preview trigger, when `preview-trigger=\"button\"`.\n- **caption** - The caption beneath the media.\n- **preview** - The preview `<dialog>`.\n- **preview-backdrop** - The full-screen backdrop behind the preview.\n- **preview-frame** - The rounded panel the preview media sits in.\n- **preview-image** - The full-size image inside the preview.\n- **preview-close** - The preview's close button.",
|
|
@@ -11992,96 +12082,6 @@
|
|
|
11992
12082
|
]
|
|
11993
12083
|
}
|
|
11994
12084
|
},
|
|
11995
|
-
{
|
|
11996
|
-
"name": "zn-tile",
|
|
11997
|
-
"description": "Short summary of the component's intended use.\n\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.",
|
|
11998
|
-
"doc-url": "",
|
|
11999
|
-
"attributes": [
|
|
12000
|
-
{ "name": "caption", "value": { "type": "string" } },
|
|
12001
|
-
{ "name": "description", "value": { "type": "string" } },
|
|
12002
|
-
{ "name": "href", "value": { "type": "string" } },
|
|
12003
|
-
{ "name": "data-target", "value": { "type": "string" } },
|
|
12004
|
-
{ "name": "gaid", "value": { "type": "string" } },
|
|
12005
|
-
{ "name": "data-uri", "value": { "type": "string" } },
|
|
12006
|
-
{ "name": "flush", "value": { "type": "boolean" } },
|
|
12007
|
-
{ "name": "flush-x", "value": { "type": "boolean" } },
|
|
12008
|
-
{ "name": "flush-y", "value": { "type": "boolean" } },
|
|
12009
|
-
{ "name": "inline", "value": { "type": "boolean" } },
|
|
12010
|
-
{
|
|
12011
|
-
"name": "plain",
|
|
12012
|
-
"description": "Renders the caption in the normal table-content weight instead of bold.",
|
|
12013
|
-
"value": { "type": "boolean" }
|
|
12014
|
-
},
|
|
12015
|
-
{
|
|
12016
|
-
"name": "grouped",
|
|
12017
|
-
"description": "Set by `zn-tile-group` to lay the tile out as a shared-column subgrid row.",
|
|
12018
|
-
"value": { "type": "boolean" }
|
|
12019
|
-
}
|
|
12020
|
-
],
|
|
12021
|
-
"slots": [
|
|
12022
|
-
{ "name": "", "description": "The default slot." },
|
|
12023
|
-
{ "name": "example", "description": "An example slot." }
|
|
12024
|
-
],
|
|
12025
|
-
"events": [
|
|
12026
|
-
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
12027
|
-
],
|
|
12028
|
-
"js": {
|
|
12029
|
-
"properties": [
|
|
12030
|
-
{ "name": "caption", "type": "string" },
|
|
12031
|
-
{ "name": "description", "type": "string" },
|
|
12032
|
-
{ "name": "href", "type": "string" },
|
|
12033
|
-
{ "name": "dataTarget", "type": "string" },
|
|
12034
|
-
{ "name": "gaid", "type": "string" },
|
|
12035
|
-
{ "name": "dataUri", "type": "string" },
|
|
12036
|
-
{ "name": "flush", "type": "boolean" },
|
|
12037
|
-
{ "name": "flushX", "type": "boolean" },
|
|
12038
|
-
{ "name": "flushY", "type": "boolean" },
|
|
12039
|
-
{ "name": "inline", "type": "boolean" },
|
|
12040
|
-
{
|
|
12041
|
-
"name": "plain",
|
|
12042
|
-
"description": "Renders the caption in the normal table-content weight instead of bold.",
|
|
12043
|
-
"type": "boolean"
|
|
12044
|
-
},
|
|
12045
|
-
{
|
|
12046
|
-
"name": "grouped",
|
|
12047
|
-
"description": "Set by `zn-tile-group` to lay the tile out as a shared-column subgrid row.",
|
|
12048
|
-
"type": "boolean"
|
|
12049
|
-
}
|
|
12050
|
-
],
|
|
12051
|
-
"events": [
|
|
12052
|
-
{
|
|
12053
|
-
"name": "zn-event-name",
|
|
12054
|
-
"description": "Emitted as an example."
|
|
12055
|
-
}
|
|
12056
|
-
]
|
|
12057
|
-
}
|
|
12058
|
-
},
|
|
12059
|
-
{
|
|
12060
|
-
"name": "zn-tile-group",
|
|
12061
|
-
"description": "Aligns a list of `zn-tile` rows into shared, content-driven columns so values\nand actions line up across every row, with optional dividing borders.\n\n---\n\n\n### **Slots:**\n - _default_ - One or more `zn-tile` elements.\n\n### **CSS Properties:**\n - **--zn-tile-cols** - The number of value/action columns (set automatically). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper (the grid container).",
|
|
12062
|
-
"doc-url": "",
|
|
12063
|
-
"attributes": [
|
|
12064
|
-
{
|
|
12065
|
-
"name": "divide",
|
|
12066
|
-
"description": "Draws a dividing border between rows.",
|
|
12067
|
-
"value": { "type": "boolean", "default": "false" }
|
|
12068
|
-
}
|
|
12069
|
-
],
|
|
12070
|
-
"slots": [
|
|
12071
|
-
{ "name": "", "description": "One or more `zn-tile` elements." }
|
|
12072
|
-
],
|
|
12073
|
-
"events": [],
|
|
12074
|
-
"js": {
|
|
12075
|
-
"properties": [
|
|
12076
|
-
{
|
|
12077
|
-
"name": "divide",
|
|
12078
|
-
"description": "Draws a dividing border between rows.",
|
|
12079
|
-
"type": "boolean"
|
|
12080
|
-
}
|
|
12081
|
-
],
|
|
12082
|
-
"events": []
|
|
12083
|
-
}
|
|
12084
|
-
},
|
|
12085
12085
|
{
|
|
12086
12086
|
"name": "zn-tile-property",
|
|
12087
12087
|
"description": "Short summary of the component's intended use.\n\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.",
|