@ztwoint/z-ui 0.1.86 → 0.1.87
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/components/assets/icons/index.d.ts +1 -0
- package/dist/components/assets/icons/table-cols-2.d.ts +8 -0
- package/dist/components/assets/icons/table-cols-2.js +60 -0
- package/dist/index.js +21 -19
- package/dist/types/components/assets/icons/index.d.ts +1 -0
- package/dist/types/components/assets/icons/table-cols-2.d.ts +8 -0
- package/package.json +1 -1
|
@@ -35,3 +35,4 @@ export { default as Z2Icon } from './z2-icon';
|
|
|
35
35
|
export { default as Z2SlashIcon } from './z2-slash';
|
|
36
36
|
export { default as Z2DataIcon } from './z2data';
|
|
37
37
|
export { default as Vector3Icon } from './vector_3';
|
|
38
|
+
export { default as TableCols2Icon } from './table-cols-2';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
type IconProps = SVGProps<SVGSVGElement> & {
|
|
3
|
+
secondaryfill?: string;
|
|
4
|
+
strokewidth?: number;
|
|
5
|
+
title?: string;
|
|
6
|
+
};
|
|
7
|
+
declare function TableCols2({ fill, secondaryfill, strokewidth, width, height, title, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default TableCols2;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
function a({
|
|
3
|
+
fill: e = "currentColor",
|
|
4
|
+
secondaryfill: r,
|
|
5
|
+
strokewidth: n = 1,
|
|
6
|
+
width: i = "1em",
|
|
7
|
+
height: s = "1em",
|
|
8
|
+
title: d = "badge 13",
|
|
9
|
+
...h
|
|
10
|
+
}) {
|
|
11
|
+
return r = r || e, /* @__PURE__ */ o(
|
|
12
|
+
"svg",
|
|
13
|
+
{
|
|
14
|
+
height: s,
|
|
15
|
+
width: i,
|
|
16
|
+
viewBox: "0 0 20 20",
|
|
17
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18
|
+
...h,
|
|
19
|
+
children: [
|
|
20
|
+
/* @__PURE__ */ t("title", { children: d }),
|
|
21
|
+
/* @__PURE__ */ o("g", { fill: e, children: [
|
|
22
|
+
/* @__PURE__ */ t(
|
|
23
|
+
"line",
|
|
24
|
+
{
|
|
25
|
+
fill: "none",
|
|
26
|
+
stroke: r,
|
|
27
|
+
strokeLinecap: "round",
|
|
28
|
+
strokeLinejoin: "round",
|
|
29
|
+
strokeWidth: n,
|
|
30
|
+
x1: "10",
|
|
31
|
+
x2: "10",
|
|
32
|
+
y1: "17",
|
|
33
|
+
y2: "3"
|
|
34
|
+
}
|
|
35
|
+
),
|
|
36
|
+
/* @__PURE__ */ t(
|
|
37
|
+
"rect",
|
|
38
|
+
{
|
|
39
|
+
height: "14",
|
|
40
|
+
width: "14",
|
|
41
|
+
fill: "none",
|
|
42
|
+
rx: "3",
|
|
43
|
+
ry: "3",
|
|
44
|
+
stroke: e,
|
|
45
|
+
strokeLinecap: "round",
|
|
46
|
+
strokeLinejoin: "round",
|
|
47
|
+
strokeWidth: "2",
|
|
48
|
+
transform: "translate(0 20) rotate(-90)",
|
|
49
|
+
x: "3",
|
|
50
|
+
y: "3"
|
|
51
|
+
}
|
|
52
|
+
)
|
|
53
|
+
] })
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
export {
|
|
59
|
+
a as default
|
|
60
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Z2SideNavBarProvider as c } from "./components/collapsible-side-nav-bar
|
|
|
6
6
|
import { Z2SideNavBar as s, Z2SidebarVariants as I } from "./components/collapsible-side-nav-bar/side-nav-bar.js";
|
|
7
7
|
import { Z2SideNavBarHeader as b } from "./components/collapsible-side-nav-bar/side-nav-bar-header.js";
|
|
8
8
|
import { Z2SideNavBarContent as D } from "./components/collapsible-side-nav-bar/side-nav-bar-content.js";
|
|
9
|
-
import { Z2SideNavBarFooter as
|
|
9
|
+
import { Z2SideNavBarFooter as g } from "./components/collapsible-side-nav-bar/side-nav-bar-footer.js";
|
|
10
10
|
import { Z2SideNavBarGroup as v } from "./components/collapsible-side-nav-bar/side-nav-bar-group.js";
|
|
11
11
|
import { Z2SideNavBarItem as L } from "./components/collapsible-side-nav-bar/side-nav-bar-item.js";
|
|
12
12
|
import { Z2SideNavBarSeparator as h } from "./components/collapsible-side-nav-bar/side-nav-bar-separator.js";
|
|
@@ -22,7 +22,7 @@ import { SIDEBAR_WIDTH as j, SIDEBAR_WIDTH_COLLAPSED as q } from "./components/c
|
|
|
22
22
|
import { CountryFlags as K } from "./components/country-flags/country-flags.js";
|
|
23
23
|
import { Z2Checkbox as oo } from "./components/checkbox/checkbox.js";
|
|
24
24
|
import { Z2Dialog as ro, Z2DialogClose as to, Z2DialogContent as ao, Z2DialogDescription as po, Z2DialogFooter as no, Z2DialogHeader as fo, Z2DialogOverlay as lo, Z2DialogPortal as mo, Z2DialogTitle as xo, Z2DialogTrigger as uo } from "./components/dialog/dialog.js";
|
|
25
|
-
import { DropdownContext as co, Z2Dropdown as Zo, Z2DropdownContent as so, Z2DropdownInput as Io, Z2DropdownItem as So, Z2DropdownSub as bo, Z2DropdownSubContent as Co, Z2DropdownSubItem as Do, Z2DropdownSubTrigger as
|
|
25
|
+
import { DropdownContext as co, Z2Dropdown as Zo, Z2DropdownContent as so, Z2DropdownInput as Io, Z2DropdownItem as So, Z2DropdownSub as bo, Z2DropdownSubContent as Co, Z2DropdownSubItem as Do, Z2DropdownSubTrigger as To } from "./components/dropdown/z2-dropdown.js";
|
|
26
26
|
import { Z2DropdownMenu as wo, Z2DropdownMenuCheckboxItem as vo, Z2DropdownMenuContent as Bo, Z2DropdownMenuGroup as Lo, Z2DropdownMenuItem as Mo, Z2DropdownMenuLabel as ho, Z2DropdownMenuPortal as Ao, Z2DropdownMenuRadioGroup as Po, Z2DropdownMenuRadioItem as No, Z2DropdownMenuSeparator as ko, Z2DropdownMenuShortcut as Eo, Z2DropdownMenuSub as Ro, Z2DropdownMenuSubContent as Ho, Z2DropdownMenuSubTrigger as yo, Z2DropdownMenuTrigger as Fo } from "./components/dropdown-menu/z2-dropdown-menu.js";
|
|
27
27
|
import { FileUploadArea as _o } from "./components/file-upload-area/file-upload-area.js";
|
|
28
28
|
import { DEFAULT_ACCEPT as Wo } from "./components/file-upload-area/file-upload-area.const.js";
|
|
@@ -36,7 +36,7 @@ import { Z2Tabs as xe, Z2TabsContent as ue, Z2TabsList as ie, Z2TabsTrigger as c
|
|
|
36
36
|
import { Table as se, TableProvider as Ie } from "./components/table/table-provider.js";
|
|
37
37
|
import { TableBody as be } from "./components/table/table.js";
|
|
38
38
|
import { extractCellValue as De } from "./components/table/table.utils.js";
|
|
39
|
-
import { DEFAULT_EMPTY_MESSAGE as
|
|
39
|
+
import { DEFAULT_EMPTY_MESSAGE as ge, TABLE_CSS_CLASSES as we } from "./components/table/table.const.js";
|
|
40
40
|
import { TableContext as Be, useTableContext as Le } from "./components/table/table.context.js";
|
|
41
41
|
import { TableCell as he } from "./components/table/components/table-cell.js";
|
|
42
42
|
import { NumberCell as Pe } from "./components/table/components/cell/number-cell.js";
|
|
@@ -62,7 +62,7 @@ import "react";
|
|
|
62
62
|
import { Z2Tooltip as Zr } from "./components/tooltip/tooltip.js";
|
|
63
63
|
import { default as Ir } from "./components/table-card/table-card.js";
|
|
64
64
|
import { Badge as br, badgeVariants as Cr } from "./components/badge/badge.js";
|
|
65
|
-
import { Avatar as
|
|
65
|
+
import { Avatar as Tr, AvatarWithLabel as gr } from "./components/avatar/avatar.js";
|
|
66
66
|
import { Z2TextPreset as vr } from "./components/text-preset/text-preset.js";
|
|
67
67
|
import { ColumnReOrder as Lr } from "./components/column-reorder/column-reorder.js";
|
|
68
68
|
import { default as hr } from "./components/tree-checkbox-select/TreeCheckboxSelect.js";
|
|
@@ -85,7 +85,7 @@ import { default as Zt } from "./components/assets/icons/link.js";
|
|
|
85
85
|
import { default as It } from "./components/assets/icons/list-tree.js";
|
|
86
86
|
import { default as bt } from "./components/assets/icons/media-record.js";
|
|
87
87
|
import { Minus as Dt } from "./components/assets/icons/minus.js";
|
|
88
|
-
import { default as
|
|
88
|
+
import { default as gt } from "./components/assets/icons/octagon-warning-Copy.js";
|
|
89
89
|
import { default as vt } from "./components/assets/icons/pin.js";
|
|
90
90
|
import { default as Lt } from "./components/assets/icons/sitemap.js";
|
|
91
91
|
import { default as ht } from "./components/assets/icons/slider.js";
|
|
@@ -97,19 +97,20 @@ import { default as Gt } from "./components/assets/icons/z2-icon.js";
|
|
|
97
97
|
import { default as Vt } from "./components/assets/icons/z2-slash.js";
|
|
98
98
|
import { default as Ut } from "./components/assets/icons/z2data.js";
|
|
99
99
|
import { default as Xt } from "./components/assets/icons/vector_3.js";
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
100
|
+
import { default as Qt } from "./components/assets/icons/table-cols-2.js";
|
|
101
|
+
import { useTheme as jt } from "./lib/theme.hook.js";
|
|
102
|
+
import { cn as zt } from "./lib/utils.js";
|
|
103
|
+
import { Z2PopoverTrigger as $t } from "./components/collapsible-side-nav-bar/popover/popover-trigger.js";
|
|
104
|
+
import { Z2PopoverContent as ea } from "./components/collapsible-side-nav-bar/popover/popover-content.js";
|
|
104
105
|
export {
|
|
105
106
|
p as Alert,
|
|
106
107
|
m as AlertCirclesIcon,
|
|
107
108
|
n as AlertDescription,
|
|
108
109
|
f as AlertTitle,
|
|
109
110
|
Ur as ApartmentBuildingIcon,
|
|
110
|
-
|
|
111
|
+
Tr as Avatar,
|
|
111
112
|
Ge as AvatarCell,
|
|
112
|
-
|
|
113
|
+
gr as AvatarWithLabel,
|
|
113
114
|
br as Badge,
|
|
114
115
|
ke as BooleanCell,
|
|
115
116
|
x as Button,
|
|
@@ -123,7 +124,7 @@ export {
|
|
|
123
124
|
Lr as ColumnReOrder,
|
|
124
125
|
K as CountryFlags,
|
|
125
126
|
Wo as DEFAULT_ACCEPT,
|
|
126
|
-
|
|
127
|
+
ge as DEFAULT_EMPTY_MESSAGE,
|
|
127
128
|
_ as DatabaseCopy,
|
|
128
129
|
V as DatabaseCopyIcon,
|
|
129
130
|
ye as DescriptionCell,
|
|
@@ -147,7 +148,7 @@ export {
|
|
|
147
148
|
Jo as NavHeader,
|
|
148
149
|
Yo as NavItem,
|
|
149
150
|
Pe as NumberCell,
|
|
150
|
-
|
|
151
|
+
gt as OctagonWarningIcon,
|
|
151
152
|
xr as PaginationInfo,
|
|
152
153
|
ir as PaginationQuickJumper,
|
|
153
154
|
vt as PinIcon,
|
|
@@ -164,6 +165,7 @@ export {
|
|
|
164
165
|
be as TableBody,
|
|
165
166
|
Ir as TableCard,
|
|
166
167
|
he as TableCell,
|
|
168
|
+
Qt as TableCols2Icon,
|
|
167
169
|
Be as TableContext,
|
|
168
170
|
pr as TableFooter,
|
|
169
171
|
fr as TableFooterContent,
|
|
@@ -224,11 +226,11 @@ export {
|
|
|
224
226
|
bo as Z2DropdownSub,
|
|
225
227
|
Co as Z2DropdownSubContent,
|
|
226
228
|
Do as Z2DropdownSubItem,
|
|
227
|
-
|
|
229
|
+
To as Z2DropdownSubTrigger,
|
|
228
230
|
Gt as Z2Icon,
|
|
229
231
|
k as Z2Popover,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
+
ea as Z2PopoverContent,
|
|
233
|
+
$t as Z2PopoverTrigger,
|
|
232
234
|
Gr as Z2RadioGroup,
|
|
233
235
|
_r as Z2RadioGroupIndicator,
|
|
234
236
|
Vr as Z2RadioGroupItem,
|
|
@@ -244,7 +246,7 @@ export {
|
|
|
244
246
|
pe as Z2SelectValue,
|
|
245
247
|
s as Z2SideNavBar,
|
|
246
248
|
D as Z2SideNavBarContent,
|
|
247
|
-
|
|
249
|
+
g as Z2SideNavBarFooter,
|
|
248
250
|
v as Z2SideNavBarGroup,
|
|
249
251
|
b as Z2SideNavBarHeader,
|
|
250
252
|
L as Z2SideNavBarItem,
|
|
@@ -262,9 +264,9 @@ export {
|
|
|
262
264
|
Zr as Z2Tooltip,
|
|
263
265
|
Cr as badgeVariants,
|
|
264
266
|
u as buttonVariants,
|
|
265
|
-
|
|
267
|
+
zt as cn,
|
|
266
268
|
De as extractCellValue,
|
|
267
269
|
Le as useTableContext,
|
|
268
|
-
|
|
270
|
+
jt as useTheme,
|
|
269
271
|
P as useZ2SideNavBar
|
|
270
272
|
};
|
|
@@ -35,3 +35,4 @@ export { default as Z2Icon } from './z2-icon';
|
|
|
35
35
|
export { default as Z2SlashIcon } from './z2-slash';
|
|
36
36
|
export { default as Z2DataIcon } from './z2data';
|
|
37
37
|
export { default as Vector3Icon } from './vector_3';
|
|
38
|
+
export { default as TableCols2Icon } from './table-cols-2';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
type IconProps = SVGProps<SVGSVGElement> & {
|
|
3
|
+
secondaryfill?: string;
|
|
4
|
+
strokewidth?: number;
|
|
5
|
+
title?: string;
|
|
6
|
+
};
|
|
7
|
+
declare function TableCols2({ fill, secondaryfill, strokewidth, width, height, title, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default TableCols2;
|