@kubex/zinc 1.1.108 → 1.1.109
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 +285 -285
- package/dist/vscode.html-custom-data.json +19 -19
- package/dist/web-types.json +35 -35
- package/dist/zn.min.js +278 -280
- package/docs/pages/components/opt-group.md +3 -1
- package/docs/pages/components/select.md +4 -2
- package/package.json +1 -1
- package/src/components/opt-group/opt-group.component.ts +4 -4
- package/src/components/opt-group/opt-group.scss +10 -11
- package/src/components/select/select.component.ts +11 -0
- package/src/components/select/select.scss +5 -3
- package/src/components/select/select.test.ts +59 -0
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.109",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -716,40 +716,6 @@
|
|
|
716
716
|
]
|
|
717
717
|
}
|
|
718
718
|
},
|
|
719
|
-
{
|
|
720
|
-
"name": "zn-button-menu",
|
|
721
|
-
"description": "Automatically hides buttons in a menu when the screen is too small.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.",
|
|
722
|
-
"doc-url": "",
|
|
723
|
-
"attributes": [
|
|
724
|
-
{ "name": "max-width", "value": { "type": "number" } },
|
|
725
|
-
{ "name": "containerWidth", "value": { "type": "number" } },
|
|
726
|
-
{ "name": "limit", "value": { "type": "number", "default": "-1" } },
|
|
727
|
-
{
|
|
728
|
-
"name": "max-level",
|
|
729
|
-
"value": { "type": "number", "default": "2" }
|
|
730
|
-
},
|
|
731
|
-
{
|
|
732
|
-
"name": "icon-size",
|
|
733
|
-
"value": { "type": "number", "default": "20" }
|
|
734
|
-
},
|
|
735
|
-
{ "name": "no-gap", "value": { "type": "boolean" } },
|
|
736
|
-
{ "name": "no-padding", "value": { "type": "boolean" } }
|
|
737
|
-
],
|
|
738
|
-
"slots": [{ "name": "", "description": "The default slot." }],
|
|
739
|
-
"events": [],
|
|
740
|
-
"js": {
|
|
741
|
-
"properties": [
|
|
742
|
-
{ "name": "maxWidth", "type": "number" },
|
|
743
|
-
{ "name": "containerWidth", "type": "number" },
|
|
744
|
-
{ "name": "limit", "type": "number" },
|
|
745
|
-
{ "name": "maxLevel", "type": "number" },
|
|
746
|
-
{ "name": "iconSize", "type": "number" },
|
|
747
|
-
{ "name": "noGap", "type": "boolean" },
|
|
748
|
-
{ "name": "noPadding", "type": "boolean" }
|
|
749
|
-
],
|
|
750
|
-
"events": []
|
|
751
|
-
}
|
|
752
|
-
},
|
|
753
719
|
{
|
|
754
720
|
"name": "zn-channel-tile",
|
|
755
721
|
"description": "A channel/queue slot tile with two faces: an active (occupied) state\nshowing an in-progress item, and an available (empty) state advertising\ncapacity — optionally reserving an incoming item with an auto-accept countdown.\n---\n\n\n### **Events:**\n - **zn-accept** - Emitted when an available tile is accepted (click or auto-accept). Cancelable — call `preventDefault()` to suppress the built-in `accept-uri` fetch.\n- **zn-reject** - Emitted when the reject control is pressed.\n\n### **Slots:**\n - **title** - Replaces the primary line. Falls back to the `title` attribute (or \"Available\" when unset in the available state).\n- **subtitle** - Replaces the secondary line. Falls back to the `subtitle` attribute.\n- **leading** - Replaces the leading icon in the active state.\n- **action** - Action content for the available state (e.g. a form). Falls back to a default accept button.\n- **footer** - Trailing content (e.g. status badges) in the active state.\n\n### **CSS Properties:**\n - **--channel-tile-color** - Resolved accent color (set from the `color` property). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **progress** - The progress indicator (incoming countdown overlay or active progress bar).",
|
|
@@ -1106,6 +1072,40 @@
|
|
|
1106
1072
|
"events": []
|
|
1107
1073
|
}
|
|
1108
1074
|
},
|
|
1075
|
+
{
|
|
1076
|
+
"name": "zn-button-menu",
|
|
1077
|
+
"description": "Automatically hides buttons in a menu when the screen is too small.\n---\n\n\n### **Slots:**\n - _default_ - The default slot.",
|
|
1078
|
+
"doc-url": "",
|
|
1079
|
+
"attributes": [
|
|
1080
|
+
{ "name": "max-width", "value": { "type": "number" } },
|
|
1081
|
+
{ "name": "containerWidth", "value": { "type": "number" } },
|
|
1082
|
+
{ "name": "limit", "value": { "type": "number", "default": "-1" } },
|
|
1083
|
+
{
|
|
1084
|
+
"name": "max-level",
|
|
1085
|
+
"value": { "type": "number", "default": "2" }
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"name": "icon-size",
|
|
1089
|
+
"value": { "type": "number", "default": "20" }
|
|
1090
|
+
},
|
|
1091
|
+
{ "name": "no-gap", "value": { "type": "boolean" } },
|
|
1092
|
+
{ "name": "no-padding", "value": { "type": "boolean" } }
|
|
1093
|
+
],
|
|
1094
|
+
"slots": [{ "name": "", "description": "The default slot." }],
|
|
1095
|
+
"events": [],
|
|
1096
|
+
"js": {
|
|
1097
|
+
"properties": [
|
|
1098
|
+
{ "name": "maxWidth", "type": "number" },
|
|
1099
|
+
{ "name": "containerWidth", "type": "number" },
|
|
1100
|
+
{ "name": "limit", "type": "number" },
|
|
1101
|
+
{ "name": "maxLevel", "type": "number" },
|
|
1102
|
+
{ "name": "iconSize", "type": "number" },
|
|
1103
|
+
{ "name": "noGap", "type": "boolean" },
|
|
1104
|
+
{ "name": "noPadding", "type": "boolean" }
|
|
1105
|
+
],
|
|
1106
|
+
"events": []
|
|
1107
|
+
}
|
|
1108
|
+
},
|
|
1109
1109
|
{
|
|
1110
1110
|
"name": "zn-chat-message",
|
|
1111
1111
|
"description": "A single message in a chat-style conversation: avatar, sender,\ntime, optional badge, and a message bubble with optional actions. Also renders\nsystem events (connections, transfers, etc.) as a centred card.\n---\n\n\n### **Slots:**\n - _default_ - The message content. Ignored when the `message` attribute is set.\n- **badge** - Rendered in the header after the sender and time (e.g. an INTERNAL NOTE chip).\n- **attachments** - Attachments displayed beneath the message content. Use `zn-chat-message-attachment`, which auto-assigns itself to this slot.\n- **edit-dialog-trigger** - Action rendered at the end of the bubble (e.g. a remove icon button).\n- **edit-dialog** - Pass-through for an associated dialog element.\n\n### **CSS Properties:**\n - **--message-background** - The bubble's background color. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **avatar** - The avatar column.\n- **body** - The header and bubble column.\n- **header** - The sender/time/badge row.\n- **bubble** - The message bubble.\n- **content** - The message content within the bubble.\n- **attachments** - The attachments row beneath the message content.\n- **system-card** - The card rendered for system action types.",
|