@kubex/zinc 2.0.0 → 2.0.2
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 +202 -197
- package/dist/vscode.html-custom-data.json +32 -32
- package/dist/web-types.json +67 -67
- package/dist/zn.d.ts +8 -6
- package/dist/zn.min.js +291 -290
- package/package.json +1 -1
- package/src/components/data-table/data-table.component.ts +48 -21
- package/src/components/data-table/data-table.scss +29 -8
- package/src/components/data-table/data-table.test.ts +54 -1
- package/src/internal/reorder.ts +10 -3
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": "2.0.
|
|
4
|
+
"version": "2.0.2",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -15,6 +15,28 @@
|
|
|
15
15
|
"events": [],
|
|
16
16
|
"js": { "properties": [], "events": [] }
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
"name": "zn-action-bar",
|
|
20
|
+
"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.",
|
|
21
|
+
"doc-url": "",
|
|
22
|
+
"attributes": [],
|
|
23
|
+
"slots": [
|
|
24
|
+
{ "name": "", "description": "The default slot." },
|
|
25
|
+
{ "name": "example", "description": "An example slot." }
|
|
26
|
+
],
|
|
27
|
+
"events": [
|
|
28
|
+
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
29
|
+
],
|
|
30
|
+
"js": {
|
|
31
|
+
"properties": [],
|
|
32
|
+
"events": [
|
|
33
|
+
{
|
|
34
|
+
"name": "zn-event-name",
|
|
35
|
+
"description": "Emitted as an example."
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
18
40
|
{
|
|
19
41
|
"name": "zn-alert",
|
|
20
42
|
"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.",
|
|
@@ -95,28 +117,6 @@
|
|
|
95
117
|
]
|
|
96
118
|
}
|
|
97
119
|
},
|
|
98
|
-
{
|
|
99
|
-
"name": "zn-action-bar",
|
|
100
|
-
"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.",
|
|
101
|
-
"doc-url": "",
|
|
102
|
-
"attributes": [],
|
|
103
|
-
"slots": [
|
|
104
|
-
{ "name": "", "description": "The default slot." },
|
|
105
|
-
{ "name": "example", "description": "An example slot." }
|
|
106
|
-
],
|
|
107
|
-
"events": [
|
|
108
|
-
{ "name": "zn-event-name", "description": "Emitted as an example." }
|
|
109
|
-
],
|
|
110
|
-
"js": {
|
|
111
|
-
"properties": [],
|
|
112
|
-
"events": [
|
|
113
|
-
{
|
|
114
|
-
"name": "zn-event-name",
|
|
115
|
-
"description": "Emitted as an example."
|
|
116
|
-
}
|
|
117
|
-
]
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
120
|
{
|
|
121
121
|
"name": "zn-animated-button",
|
|
122
122
|
"description": "\n\n---\n\n\n### **Methods:**\n - **purchase(): _void_** - Programmatically trigger the purchase flow\n- **setSuccess(): _void_** - Set the button to success state manually\n- **setFailure(message): _void_** - Set the button to failure state manually with optional error message\n- **reset(): _void_** - Reset the button to idle state",
|
|
@@ -14801,50 +14801,6 @@
|
|
|
14801
14801
|
]
|
|
14802
14802
|
}
|
|
14803
14803
|
},
|
|
14804
|
-
{
|
|
14805
|
-
"name": "zn-well",
|
|
14806
|
-
"description": "Short summary of the component's intended use.\n\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n- **action** - Content displayed on the right hand side of the well.",
|
|
14807
|
-
"doc-url": "",
|
|
14808
|
-
"attributes": [
|
|
14809
|
-
{ "name": "icon", "value": { "type": "string", "default": "''" } },
|
|
14810
|
-
{ "name": "inline", "value": { "type": "boolean" } },
|
|
14811
|
-
{
|
|
14812
|
-
"name": "pre",
|
|
14813
|
-
"description": "Renders the default slot inside a `pre` element, preserving whitespace using a monospace font.",
|
|
14814
|
-
"value": { "type": "boolean" }
|
|
14815
|
-
},
|
|
14816
|
-
{
|
|
14817
|
-
"name": "break-long",
|
|
14818
|
-
"description": "Breaks long unbroken words, so they wrap instead of forcing the well wider.",
|
|
14819
|
-
"value": { "type": "boolean" }
|
|
14820
|
-
}
|
|
14821
|
-
],
|
|
14822
|
-
"slots": [
|
|
14823
|
-
{ "name": "", "description": "The default slot." },
|
|
14824
|
-
{
|
|
14825
|
-
"name": "action",
|
|
14826
|
-
"description": "Content displayed on the right hand side of the well."
|
|
14827
|
-
}
|
|
14828
|
-
],
|
|
14829
|
-
"events": [],
|
|
14830
|
-
"js": {
|
|
14831
|
-
"properties": [
|
|
14832
|
-
{ "name": "icon", "type": "string" },
|
|
14833
|
-
{ "name": "inline", "type": "boolean" },
|
|
14834
|
-
{
|
|
14835
|
-
"name": "pre",
|
|
14836
|
-
"description": "Renders the default slot inside a `pre` element, preserving whitespace using a monospace font.",
|
|
14837
|
-
"type": "boolean"
|
|
14838
|
-
},
|
|
14839
|
-
{
|
|
14840
|
-
"name": "breakLong",
|
|
14841
|
-
"description": "Breaks long unbroken words, so they wrap instead of forcing the well wider.",
|
|
14842
|
-
"type": "boolean"
|
|
14843
|
-
}
|
|
14844
|
-
],
|
|
14845
|
-
"events": []
|
|
14846
|
-
}
|
|
14847
|
-
},
|
|
14848
14804
|
{
|
|
14849
14805
|
"name": "zn-vertical-stepper",
|
|
14850
14806
|
"description": "Vertical steppers display a sequence of steps in a vertical layout with descriptions and optional icons.\n\n---\n\n\n### **Slots:**\n - _default_ - Content below the caption and description, such as metadata or chips.\n- **icon** - Optional slot for adding an icon or indicator before the step content.\n- **suffix** - Inline content after the caption and description, such as status chips.\n- **actions** - Controls aligned to the end of the step.\n\n### **CSS Parts:**\n - **vs** - The main container for the vertical stepper.\n- **vs__left** - The left section containing the icon and connecting line.\n- **vs__icon** - The icon container.\n- **vs__line** - The vertical connecting line between steps.\n- **vs__right** - The right section containing caption and description text.\n- **vs__caption** - The caption/title text element.\n- **vs__description** - The description text element.\n- **vs__content** - The container for the default slot.\n- **vs__actions** - The container for the actions slot.",
|
|
@@ -14965,6 +14921,50 @@
|
|
|
14965
14921
|
],
|
|
14966
14922
|
"events": []
|
|
14967
14923
|
}
|
|
14924
|
+
},
|
|
14925
|
+
{
|
|
14926
|
+
"name": "zn-well",
|
|
14927
|
+
"description": "Short summary of the component's intended use.\n\n---\n\n\n### **Slots:**\n - _default_ - The default slot.\n- **action** - Content displayed on the right hand side of the well.",
|
|
14928
|
+
"doc-url": "",
|
|
14929
|
+
"attributes": [
|
|
14930
|
+
{ "name": "icon", "value": { "type": "string", "default": "''" } },
|
|
14931
|
+
{ "name": "inline", "value": { "type": "boolean" } },
|
|
14932
|
+
{
|
|
14933
|
+
"name": "pre",
|
|
14934
|
+
"description": "Renders the default slot inside a `pre` element, preserving whitespace using a monospace font.",
|
|
14935
|
+
"value": { "type": "boolean" }
|
|
14936
|
+
},
|
|
14937
|
+
{
|
|
14938
|
+
"name": "break-long",
|
|
14939
|
+
"description": "Breaks long unbroken words, so they wrap instead of forcing the well wider.",
|
|
14940
|
+
"value": { "type": "boolean" }
|
|
14941
|
+
}
|
|
14942
|
+
],
|
|
14943
|
+
"slots": [
|
|
14944
|
+
{ "name": "", "description": "The default slot." },
|
|
14945
|
+
{
|
|
14946
|
+
"name": "action",
|
|
14947
|
+
"description": "Content displayed on the right hand side of the well."
|
|
14948
|
+
}
|
|
14949
|
+
],
|
|
14950
|
+
"events": [],
|
|
14951
|
+
"js": {
|
|
14952
|
+
"properties": [
|
|
14953
|
+
{ "name": "icon", "type": "string" },
|
|
14954
|
+
{ "name": "inline", "type": "boolean" },
|
|
14955
|
+
{
|
|
14956
|
+
"name": "pre",
|
|
14957
|
+
"description": "Renders the default slot inside a `pre` element, preserving whitespace using a monospace font.",
|
|
14958
|
+
"type": "boolean"
|
|
14959
|
+
},
|
|
14960
|
+
{
|
|
14961
|
+
"name": "breakLong",
|
|
14962
|
+
"description": "Breaks long unbroken words, so they wrap instead of forcing the well wider.",
|
|
14963
|
+
"type": "boolean"
|
|
14964
|
+
}
|
|
14965
|
+
],
|
|
14966
|
+
"events": []
|
|
14967
|
+
}
|
|
14968
14968
|
}
|
|
14969
14969
|
]
|
|
14970
14970
|
}
|
package/dist/zn.d.ts
CHANGED
|
@@ -2093,6 +2093,7 @@ declare module "internal/reorder" {
|
|
|
2093
2093
|
private shield;
|
|
2094
2094
|
private scroller;
|
|
2095
2095
|
private scrollFrame;
|
|
2096
|
+
private pressRoot;
|
|
2096
2097
|
constructor(host: ReorderHost, options?: ReorderOptions);
|
|
2097
2098
|
hostConnected(): void;
|
|
2098
2099
|
hostDisconnected(): void;
|
|
@@ -2115,7 +2116,7 @@ declare module "internal/reorder" {
|
|
|
2115
2116
|
private onPointerUp;
|
|
2116
2117
|
private onPointerCancel;
|
|
2117
2118
|
private onTouchMove;
|
|
2118
|
-
private
|
|
2119
|
+
private cancel;
|
|
2119
2120
|
private onKeyDown;
|
|
2120
2121
|
private beginDrag;
|
|
2121
2122
|
private placeGhost;
|
|
@@ -4587,16 +4588,16 @@ declare module "components/data-table/data-table.component" {
|
|
|
4587
4588
|
import ZnDropdown from "components/dropdown/index";
|
|
4588
4589
|
import ZnEmptyState from "components/empty-state/index";
|
|
4589
4590
|
import ZnHoverContainer from "components/hover-container/index";
|
|
4590
|
-
import ZnMenu from "components/menu/index";
|
|
4591
|
-
import ZnMenuItem from "components/menu-item/index";
|
|
4592
|
-
import ZnPanel from "components/panel/index";
|
|
4593
|
-
import ZnSkeleton from "components/skeleton/index";
|
|
4594
|
-
import ZnStyle from "components/style/index";
|
|
4595
4591
|
import ZnIcon from "components/icon/index";
|
|
4596
4592
|
import ZnInput from "components/input/index";
|
|
4593
|
+
import ZnMenu from "components/menu/index";
|
|
4594
|
+
import ZnMenuItem from "components/menu-item/index";
|
|
4597
4595
|
import ZnOptGroup from "components/opt-group/index";
|
|
4598
4596
|
import ZnOption from "components/option/index";
|
|
4597
|
+
import ZnPanel from "components/panel/index";
|
|
4599
4598
|
import ZnSelect from "components/select/index";
|
|
4599
|
+
import ZnSkeleton from "components/skeleton/index";
|
|
4600
|
+
import ZnStyle from "components/style/index";
|
|
4600
4601
|
interface Cell {
|
|
4601
4602
|
text: string;
|
|
4602
4603
|
subText?: string;
|
|
@@ -4883,6 +4884,7 @@ declare module "components/data-table/data-table.component" {
|
|
|
4883
4884
|
connectedCallback(): void;
|
|
4884
4885
|
protected firstUpdated(): void;
|
|
4885
4886
|
protected updated(changed: PropertyValues): void;
|
|
4887
|
+
private syncPageIndicator;
|
|
4886
4888
|
private publishFilterSuggestions;
|
|
4887
4889
|
private getTemplate;
|
|
4888
4890
|
disconnectedCallback(): void;
|