@ztwoint/z-ui 0.1.123 → 0.1.125
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 +2 -0
- package/dist/components/assets/icons/left-square-bracket.d.ts +6 -0
- package/dist/components/assets/icons/left-square-bracket.js +23 -0
- package/dist/components/assets/icons/right-square-bracket.d.ts +6 -0
- package/dist/components/assets/icons/right-square-bracket.js +23 -0
- package/dist/components/select-compact/select-compact.d.ts +13 -0
- package/dist/components/select-compact/select-compact.js +17 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +281 -275
- package/dist/types/components/assets/icons/index.d.ts +2 -0
- package/dist/types/components/assets/icons/left-square-bracket.d.ts +6 -0
- package/dist/types/components/assets/icons/right-square-bracket.d.ts +6 -0
- package/dist/types/components/select-compact/select-compact.d.ts +13 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -42,3 +42,5 @@ export { default as FilterIcon } from './filter-icon';
|
|
|
42
42
|
export { default as DescendingSortingIcon } from './descending';
|
|
43
43
|
export { default as ChainIcon } from './chain';
|
|
44
44
|
export { default as EraserIcon } from './eraser';
|
|
45
|
+
export { default as LeftSquareBracketIcon } from './left-square-bracket';
|
|
46
|
+
export { default as RightSquareBracketIcon } from './right-square-bracket';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
function a({
|
|
3
|
+
fill: r = "currentColor",
|
|
4
|
+
width: t = "1em",
|
|
5
|
+
height: n = "1em",
|
|
6
|
+
...o
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(
|
|
9
|
+
"svg",
|
|
10
|
+
{
|
|
11
|
+
height: n,
|
|
12
|
+
id: "left-square-bracket",
|
|
13
|
+
width: t,
|
|
14
|
+
viewBox: "0 0 3 12",
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
...o,
|
|
17
|
+
children: /* @__PURE__ */ e("g", { fill: "none", children: /* @__PURE__ */ e("path", { d: "M0 12V0H3V1.01448H1.2288V10.9808H3V12H0Z", fill: r }) })
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
a as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
function a({
|
|
3
|
+
fill: e = "currentColor",
|
|
4
|
+
width: t = "1em",
|
|
5
|
+
height: i = "1em",
|
|
6
|
+
...n
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ r(
|
|
9
|
+
"svg",
|
|
10
|
+
{
|
|
11
|
+
height: i,
|
|
12
|
+
id: "right-square-bracket",
|
|
13
|
+
width: t,
|
|
14
|
+
viewBox: "0 0 3 12",
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
...n,
|
|
17
|
+
children: /* @__PURE__ */ r("g", { fill: "none", children: /* @__PURE__ */ r("path", { d: "M3 0V12H0V10.9808H1.7712V1.01448H0V0H3Z", fill: e }) })
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
a as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface FieldOption {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
}
|
|
5
|
+
interface Z2SelectCompactProps {
|
|
6
|
+
value?: string;
|
|
7
|
+
onChange?: (value: string) => void;
|
|
8
|
+
options: FieldOption[];
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function Z2SelectCompact({ value, onChange, options, placeholder, className, }: Z2SelectCompactProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsxs as u, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Z2Select as i, Z2SelectTrigger as m, Z2SelectValue as S, Z2SelectContent as Z, Z2SelectItem as d } from "../select/z2-select.js";
|
|
3
|
+
function f({
|
|
4
|
+
value: t,
|
|
5
|
+
onChange: c,
|
|
6
|
+
options: r,
|
|
7
|
+
placeholder: a = "Select field",
|
|
8
|
+
className: n
|
|
9
|
+
}) {
|
|
10
|
+
return /* @__PURE__ */ u(i, { value: t || "", onValueChange: c, children: [
|
|
11
|
+
/* @__PURE__ */ e(m, { className: n, children: /* @__PURE__ */ e(S, { placeholder: a }) }),
|
|
12
|
+
/* @__PURE__ */ e(Z, { children: r.map((l) => /* @__PURE__ */ e(d, { value: l.value, children: l.label }, l.value)) })
|
|
13
|
+
] });
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
f as Z2SelectCompact
|
|
17
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './components/file-upload-area';
|
|
|
10
10
|
export * from './components/input/input';
|
|
11
11
|
export * from './components/nav-header';
|
|
12
12
|
export * from './components/select/z2-select';
|
|
13
|
+
export * from './components/select-compact/select-compact';
|
|
13
14
|
export * from './components/stepper';
|
|
14
15
|
export * from './components/stepper-item/stepper-item';
|
|
15
16
|
export * from './components/tab/tab';
|
package/dist/index.js
CHANGED
|
@@ -5,251 +5,256 @@ import { Button as x, buttonVariants as i } from "./components/button/button.js"
|
|
|
5
5
|
import { Z2SideNavBarProvider as Z } from "./components/collapsible-side-nav-bar/side-nav-bar-provider.js";
|
|
6
6
|
import { Z2SideNavBar as s, Z2SidebarVariants as C } from "./components/collapsible-side-nav-bar/side-nav-bar.js";
|
|
7
7
|
import { Z2SideNavBarHeader as S } from "./components/collapsible-side-nav-bar/side-nav-bar-header.js";
|
|
8
|
-
import { Z2SideNavBarContent as
|
|
8
|
+
import { Z2SideNavBarContent as T } from "./components/collapsible-side-nav-bar/side-nav-bar-content.js";
|
|
9
9
|
import { Z2SideNavBarFooter as g } from "./components/collapsible-side-nav-bar/side-nav-bar-footer.js";
|
|
10
|
-
import { Z2SideNavBarGroup as
|
|
10
|
+
import { Z2SideNavBarGroup as B } from "./components/collapsible-side-nav-bar/side-nav-bar-group.js";
|
|
11
11
|
import { Z2SideNavBarItem as h } from "./components/collapsible-side-nav-bar/side-nav-bar-item.js";
|
|
12
12
|
import { Z2SideNavBarSeparator as M } from "./components/collapsible-side-nav-bar/side-nav-bar-separator.js";
|
|
13
13
|
import { useZ2SideNavBar as R } from "./components/collapsible-side-nav-bar/context.js";
|
|
14
14
|
import { Z2Popover as E } from "./components/collapsible-side-nav-bar/popover/popover.js";
|
|
15
15
|
import "react/jsx-runtime";
|
|
16
|
-
import { default as
|
|
16
|
+
import { default as k, default as N } from "./components/assets/icons/sub-nav-indicator.js";
|
|
17
17
|
import { default as _ } from "./components/assets/icons/circles-icon.js";
|
|
18
18
|
import { default as O, default as G } from "./components/assets/icons/database-copy.js";
|
|
19
19
|
import { default as W, default as U } from "./components/assets/icons/window-left-copy.js";
|
|
20
|
-
import { default as
|
|
21
|
-
import { SIDEBAR_WIDTH as
|
|
20
|
+
import { default as q, default as z } from "./components/assets/icons/sidebar-left-show-copy.js";
|
|
21
|
+
import { SIDEBAR_WIDTH as Q, SIDEBAR_WIDTH_COLLAPSED as Y } from "./components/collapsible-side-nav-bar/constants.js";
|
|
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 lo, Z2DialogOverlay as fo, Z2DialogPortal as mo, Z2DialogTitle as xo, Z2DialogTrigger as io } from "./components/dialog/dialog.js";
|
|
25
|
-
import { DropdownContext as Zo, Z2Dropdown as co, Z2DropdownContent as so, Z2DropdownInput as Co, Z2DropdownItem as bo, Z2DropdownSub as So, Z2DropdownSubContent as
|
|
26
|
-
import { Z2DropdownMenu as wo, Z2DropdownMenuCheckboxItem as
|
|
25
|
+
import { DropdownContext as Zo, Z2Dropdown as co, Z2DropdownContent as so, Z2DropdownInput as Co, Z2DropdownItem as bo, Z2DropdownSub as So, Z2DropdownSubContent as Io, Z2DropdownSubItem as To, Z2DropdownSubTrigger as Do } from "./components/dropdown/z2-dropdown.js";
|
|
26
|
+
import { Z2DropdownMenu as wo, Z2DropdownMenuCheckboxItem as Bo, Z2DropdownMenuContent as vo, Z2DropdownMenuGroup as ho, Z2DropdownMenuItem as Lo, Z2DropdownMenuLabel as Mo, Z2DropdownMenuPortal as Po, Z2DropdownMenuRadioGroup as Ro, Z2DropdownMenuRadioItem as Ao, Z2DropdownMenuSeparator as Eo, Z2DropdownMenuShortcut as yo, Z2DropdownMenuSub as ko, Z2DropdownMenuSubContent as No, Z2DropdownMenuSubTrigger as Ho, Z2DropdownMenuTrigger as _o } from "./components/dropdown-menu/z2-dropdown-menu.js";
|
|
27
27
|
import { FileUploadArea as Oo } from "./components/file-upload-area/file-upload-area.js";
|
|
28
28
|
import { DEFAULT_ACCEPT as Vo } from "./components/file-upload-area/file-upload-area.const.js";
|
|
29
29
|
import { Input as Uo } from "./components/input/input.js";
|
|
30
|
-
import { NavHeader as
|
|
31
|
-
import { NavItem as
|
|
32
|
-
import { Z2Select as
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
30
|
+
import { NavHeader as qo } from "./components/nav-header/nav-header.js";
|
|
31
|
+
import { NavItem as Jo } from "./components/nav-header/nav-item/nav-item.js";
|
|
32
|
+
import { Z2Select as Yo, Z2SelectContent as jo, Z2SelectGroup as Ko, Z2SelectItem as $o, Z2SelectLabel as oe, Z2SelectScrollDownButton as ee, Z2SelectScrollUpButton as re, Z2SelectSeparator as te, Z2SelectTrigger as ae, Z2SelectValue as pe } from "./components/select/z2-select.js";
|
|
33
|
+
import { Z2SelectCompact as le } from "./components/select-compact/select-compact.js";
|
|
34
|
+
import { Z2Stepper as me } from "./components/stepper/stepper.js";
|
|
35
|
+
import { Z2StepperItem as xe } from "./components/stepper-item/stepper-item.js";
|
|
36
|
+
import { Z2Tabs as ue, Z2TabsContent as Ze, Z2TabsList as ce, Z2TabsTrigger as se } from "./components/tab/tab.js";
|
|
37
|
+
import { Table as be, TableProvider as Se } from "./components/table/table-provider.js";
|
|
38
|
+
import { TableBody as Te } from "./components/table/table.js";
|
|
39
|
+
import { extractCellValue as ge } from "./components/table/table.utils.js";
|
|
40
|
+
import { DEFAULT_EMPTY_MESSAGE as Be, TABLE_CSS_CLASSES as ve } from "./components/table/table.const.js";
|
|
41
|
+
import { TableContext as Le, useTableContext as Me } from "./components/table/table.context.js";
|
|
42
|
+
import { TableCell as Re } from "./components/table/components/table-cell.js";
|
|
43
|
+
import { NumberCell as Ee } from "./components/table/components/cell/number-cell.js";
|
|
44
|
+
import { BooleanCell as ke } from "./components/table/components/cell/boolean-cell.js";
|
|
45
|
+
import { LinkCell as He } from "./components/table/components/cell/link-cell.js";
|
|
46
|
+
import { DescriptionCell as Fe } from "./components/table/components/cell/description-cell.js";
|
|
47
|
+
import { AvatarCell as Ge } from "./components/table/components/cell/avatar-cell.js";
|
|
48
|
+
import { LabelCell as We } from "./components/table/components/cell/label-cell.js";
|
|
49
|
+
import { TableHeader as Xe } from "./components/table/components/table-header/table-header.js";
|
|
50
|
+
import { default as ze } from "./components/assets/icons/chevron-down.js";
|
|
51
|
+
import { TableRow as Qe } from "./components/table/components/table-row.js";
|
|
52
|
+
import { TableMessageState as je } from "./components/table/components/table-message-state.js";
|
|
53
|
+
import { TableLoadingState as $e } from "./components/table/components/table-loading-state.js";
|
|
54
|
+
import { Pagination as er } from "./components/table/components/pagination/pagination.js";
|
|
55
|
+
import { TableHeaderWrapper as tr } from "./components/table/components/table-header-wrapper.js";
|
|
56
|
+
import { TableHeaderContent as pr } from "./components/table/components/table-header-content.js";
|
|
57
|
+
import { TableFooter as lr } from "./components/table/components/table-footer.js";
|
|
58
|
+
import { TableFooterContent as mr } from "./components/table/components/table-footer-content.js";
|
|
59
|
+
import { MagnifierIcon as xr } from "./components/assets/icons/magnifier-icon.js";
|
|
60
|
+
import { PaginationInfo as ur } from "./components/table/components/pagination/components/pagination-info.js";
|
|
61
|
+
import { PaginationQuickJumper as cr } from "./components/table/components/pagination/components/pagination-quick-jumper.js";
|
|
61
62
|
import "react";
|
|
62
|
-
import { Z2Tooltip as
|
|
63
|
-
import { default as
|
|
64
|
-
import { Badge as
|
|
65
|
-
import { Avatar as
|
|
66
|
-
import { Z2TextPreset as
|
|
67
|
-
import { ColumnReOrder as
|
|
68
|
-
import { default as
|
|
69
|
-
import { Z2Breadcrumb as
|
|
70
|
-
import { Z2RadioGroup as
|
|
71
|
-
import { default as
|
|
72
|
-
import { Check as
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as
|
|
77
|
-
import { default as
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import { default as
|
|
82
|
-
import { InfoIcon as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as
|
|
87
|
-
import { Minus as
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import { XMark as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { default as
|
|
99
|
-
import { default as
|
|
100
|
-
import { default as
|
|
101
|
-
import { default as
|
|
102
|
-
import { default as
|
|
103
|
-
import { default as
|
|
104
|
-
import { default as
|
|
105
|
-
import { default as
|
|
106
|
-
import { default as
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
63
|
+
import { Z2Tooltip as Cr } from "./components/tooltip/tooltip.js";
|
|
64
|
+
import { default as Sr } from "./components/table-card/table-card.js";
|
|
65
|
+
import { Badge as Tr, badgeVariants as Dr } from "./components/badge/badge.js";
|
|
66
|
+
import { Avatar as wr, AvatarWithLabel as Br } from "./components/avatar/avatar.js";
|
|
67
|
+
import { Z2TextPreset as hr } from "./components/text-preset/text-preset.js";
|
|
68
|
+
import { ColumnReOrder as Mr } from "./components/column-reorder/column-reorder.js";
|
|
69
|
+
import { default as Rr } from "./components/tree-checkbox-select/TreeCheckboxSelect.js";
|
|
70
|
+
import { Z2Breadcrumb as Er, Z2BreadcrumbEllipsis as yr, Z2BreadcrumbItem as kr, Z2BreadcrumbLink as Nr, Z2BreadcrumbList as Hr, Z2BreadcrumbPage as _r, Z2BreadcrumbSeparator as Fr } from "./components/breadcrumb/z2-breadcrumb.js";
|
|
71
|
+
import { Z2RadioGroup as Gr, Z2RadioGroupIndicator as Vr, Z2RadioGroupItem as Wr } from "./components/radio/z2-radio.js";
|
|
72
|
+
import { default as Xr } from "./components/assets/icons/apartment-building.js";
|
|
73
|
+
import { Check as zr } from "./components/assets/icons/check.js";
|
|
74
|
+
import { default as Qr } from "./components/assets/icons/chevron-left.js";
|
|
75
|
+
import { default as jr } from "./components/assets/icons/chevron-right.js";
|
|
76
|
+
import { default as $r } from "./components/assets/icons/circle-check-filled.js";
|
|
77
|
+
import { default as et } from "./components/assets/icons/circle-check.js";
|
|
78
|
+
import { default as tt } from "./components/assets/icons/dots.js";
|
|
79
|
+
import { default as pt } from "./components/assets/icons/double-chevron-left.js";
|
|
80
|
+
import { default as lt } from "./components/assets/icons/double-chevron-right.js";
|
|
81
|
+
import { default as mt } from "./components/assets/icons/drag-handle.js";
|
|
82
|
+
import { default as xt } from "./components/assets/icons/home.js";
|
|
83
|
+
import { InfoIcon as ut } from "./components/assets/icons/info-icon.js";
|
|
84
|
+
import { default as ct } from "./components/assets/icons/left-arrow.js";
|
|
85
|
+
import { default as Ct } from "./components/assets/icons/link.js";
|
|
86
|
+
import { default as St } from "./components/assets/icons/list-tree.js";
|
|
87
|
+
import { default as Tt } from "./components/assets/icons/media-record.js";
|
|
88
|
+
import { Minus as gt } from "./components/assets/icons/minus.js";
|
|
89
|
+
import { default as Bt } from "./components/assets/icons/octagon-warning-Copy.js";
|
|
90
|
+
import { default as ht } from "./components/assets/icons/pin.js";
|
|
91
|
+
import { default as Mt } from "./components/assets/icons/sitemap.js";
|
|
92
|
+
import { default as Rt } from "./components/assets/icons/slider.js";
|
|
93
|
+
import { default as Et } from "./components/assets/icons/upload.js";
|
|
94
|
+
import { default as kt } from "./components/assets/icons/vector.js";
|
|
95
|
+
import { XMark as Ht } from "./components/assets/icons/x-mark.js";
|
|
96
|
+
import { default as Ft } from "./components/assets/icons/x.js";
|
|
97
|
+
import { default as Gt } from "./components/assets/icons/z2-icon.js";
|
|
98
|
+
import { default as Wt } from "./components/assets/icons/z2-slash.js";
|
|
99
|
+
import { default as Xt } from "./components/assets/icons/z2data.js";
|
|
100
|
+
import { default as zt } from "./components/assets/icons/vector_3.js";
|
|
101
|
+
import { default as Qt } from "./components/assets/icons/table-cols-2.js";
|
|
102
|
+
import { default as jt } from "./components/assets/icons/triangle-warning.js";
|
|
103
|
+
import { default as $t } from "./components/assets/icons/arrow-left.js";
|
|
104
|
+
import { default as ea } from "./components/assets/icons/filter-icon.js";
|
|
105
|
+
import { default as ta } from "./components/assets/icons/descending.js";
|
|
106
|
+
import { default as pa } from "./components/assets/icons/chain.js";
|
|
107
|
+
import { default as la } from "./components/assets/icons/eraser.js";
|
|
108
|
+
import { default as ma } from "./components/assets/icons/left-square-bracket.js";
|
|
109
|
+
import { default as xa } from "./components/assets/icons/right-square-bracket.js";
|
|
110
|
+
import { SegmentedControl as ua } from "./components/segmented-control/controller.js";
|
|
111
|
+
import { SegmentedControlItem as ca } from "./components/segmented-control/item.js";
|
|
112
|
+
import { Popover as Ca, PopoverAnchor as ba, PopoverContent as Sa, PopoverTrigger as Ia } from "./components/popover/popover.js";
|
|
113
|
+
import { Z2Table as Da, Z2TableBase as ga, Z2TableBody as wa, Z2TableBodyRow as Ba, Z2TableBodyRowCell as va, Z2TableBodyRowExpandded as ha, Z2TableBodyRowSkeleton as La, Z2TableBodyRowSkeletonCell as Ma, Z2TableEmpty as Pa, Z2TableHead as Ra, Z2TableHeadRow as Aa, Z2TableHeadRowCell as Ea, Z2TableHeadRowCellResize as ya, Z2TableLoader as ka, Z2TableRowSelect as Na, Z2TableRowSelectAll as Ha, Z2TableRowSpacer as _a } from "./components/dynamic-table/z2-table.js";
|
|
114
|
+
import { Z2TableContainer as Oa, Z2TableProvider as Ga, Z2TableRoot as Va, useZ2Table as Wa } from "./components/dynamic-table/z2-table-context.js";
|
|
115
|
+
import { Z2TablePagination as Xa } from "./components/dynamic-table/z2-table-pagination.js";
|
|
116
|
+
import { Z2TableColumnHeader as za } from "./components/dynamic-table/z2-column-header.js";
|
|
117
|
+
import { Chart as Qa } from "./components/chart/chart.js";
|
|
118
|
+
import { ChartCard as ja } from "./components/chart-card/chart-card.js";
|
|
119
|
+
import { EmptyState as $a, ErrorState as op, LoadingState as ep } from "./components/chart-card/chart-card-states.js";
|
|
120
|
+
import { COLOR_PALETTES as tp, UI_COLORS as ap, getThemePalette as pp } from "./components/chart-card/config/colors.js";
|
|
121
|
+
import { validateChartConfig as lp, validateChartData as fp } from "./components/chart-card/validators/config-validator.js";
|
|
122
|
+
import { buildBarChartOptions as dp } from "./components/chart-card/builders/bar-chart-builder.js";
|
|
123
|
+
import { buildLineChartOptions as ip } from "./components/chart-card/builders/line-chart-builder.js";
|
|
124
|
+
import { buildChartOptions as Zp, isChartTypeSupported as cp, registeredChartTypes as sp } from "./components/chart-card/builders/chart-builder-factory.js";
|
|
125
|
+
import { Z2RadioCard as bp } from "./components/radio-card/radio-card.js";
|
|
126
|
+
import { default as Ip } from "./components/z2map/map.js";
|
|
127
|
+
import { DEFAULT_MAP_CONFIG as Dp, MAP_VARIANTS as gp, PIN_SIZES as wp } from "./components/z2map/map.constants.js";
|
|
128
|
+
import { MapPinComponent as vp } from "./components/z2map/components/map-pin.js";
|
|
129
|
+
import { MapPinContent as Lp } from "./components/z2map/components/map-pin-content.js";
|
|
130
|
+
import { MapControls as Pp } from "./components/z2map/components/map-controls.js";
|
|
131
|
+
import { MapZoomControl as Ap } from "./components/z2map/components/map-zoom-control.js";
|
|
132
|
+
import { MapStyleControl as yp } from "./components/z2map/components/map-style-control.js";
|
|
133
|
+
import { useTheme as Np } from "./lib/theme.hook.js";
|
|
134
|
+
import { cn as _p } from "./lib/utils.js";
|
|
135
|
+
import { Z2PopoverTrigger as Op } from "./components/collapsible-side-nav-bar/popover/popover-trigger.js";
|
|
136
|
+
import { Z2PopoverContent as Vp } from "./components/collapsible-side-nav-bar/popover/popover-content.js";
|
|
134
137
|
export {
|
|
135
138
|
p as Alert,
|
|
136
139
|
m as AlertCirclesIcon,
|
|
137
140
|
n as AlertDescription,
|
|
138
141
|
l as AlertTitle,
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
142
|
+
Xr as ApartmentBuildingIcon,
|
|
143
|
+
$t as ArrowLeftIcon,
|
|
144
|
+
wr as Avatar,
|
|
145
|
+
Ge as AvatarCell,
|
|
146
|
+
Br as AvatarWithLabel,
|
|
147
|
+
Tr as Badge,
|
|
148
|
+
ke as BooleanCell,
|
|
146
149
|
x as Button,
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
150
|
+
tp as COLOR_PALETTES,
|
|
151
|
+
pa as ChainIcon,
|
|
152
|
+
Qa as Chart,
|
|
153
|
+
ja as ChartCard,
|
|
154
|
+
zr as CheckIcon,
|
|
155
|
+
ze as ChevronDownIcon,
|
|
156
|
+
Qr as ChevronLeftIcon,
|
|
157
|
+
jr as ChevronRightIcon,
|
|
158
|
+
$r as CircleCheckFilledIcon,
|
|
159
|
+
et as CircleCheckIcon,
|
|
157
160
|
_ as CirclesIcon,
|
|
158
|
-
|
|
161
|
+
Mr as ColumnReOrder,
|
|
159
162
|
K as CountryFlags,
|
|
160
163
|
Vo as DEFAULT_ACCEPT,
|
|
161
|
-
|
|
162
|
-
|
|
164
|
+
Be as DEFAULT_EMPTY_MESSAGE,
|
|
165
|
+
Dp as DEFAULT_MAP_CONFIG,
|
|
163
166
|
O as DatabaseCopy,
|
|
164
167
|
G as DatabaseCopyIcon,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
ta as DescendingSortingIcon,
|
|
169
|
+
Fe as DescriptionCell,
|
|
170
|
+
tt as DotsIcon,
|
|
171
|
+
pt as DoubleChevronLeftIcon,
|
|
172
|
+
lt as DoubleChevronRightIcon,
|
|
173
|
+
mt as DragHandleIcon,
|
|
171
174
|
Zo as DropdownContext,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
+
$a as EmptyState,
|
|
176
|
+
la as EraserIcon,
|
|
177
|
+
op as ErrorState,
|
|
175
178
|
Oo as FileUploadArea,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
+
ea as FilterIcon,
|
|
180
|
+
xt as HomeIcon,
|
|
181
|
+
ut as InfoIcon,
|
|
179
182
|
Uo as Input,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
Ct as
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
Lp as
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
ur as
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
$e as
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
Et as
|
|
183
|
+
We as LabelCell,
|
|
184
|
+
ct as LeftArrowIcon,
|
|
185
|
+
ma as LeftSquareBracketIcon,
|
|
186
|
+
He as LinkCell,
|
|
187
|
+
Ct as LinkIcon,
|
|
188
|
+
St as ListTreeIcon,
|
|
189
|
+
ep as LoadingState,
|
|
190
|
+
gp as MAP_VARIANTS,
|
|
191
|
+
xr as MagnifierIcon,
|
|
192
|
+
Pp as MapControls,
|
|
193
|
+
vp as MapPinComponent,
|
|
194
|
+
Lp as MapPinContent,
|
|
195
|
+
yp as MapStyleControl,
|
|
196
|
+
Ap as MapZoomControl,
|
|
197
|
+
Tt as MediaRecordIcon,
|
|
198
|
+
gt as MinusIcon,
|
|
199
|
+
qo as NavHeader,
|
|
200
|
+
Jo as NavItem,
|
|
201
|
+
Ee as NumberCell,
|
|
202
|
+
Bt as OctagonWarningIcon,
|
|
203
|
+
wp as PIN_SIZES,
|
|
204
|
+
ur as PaginationInfo,
|
|
205
|
+
cr as PaginationQuickJumper,
|
|
206
|
+
ht as PinIcon,
|
|
207
|
+
Ca as Popover,
|
|
208
|
+
ba as PopoverAnchor,
|
|
209
|
+
Sa as PopoverContent,
|
|
210
|
+
Ia as PopoverTrigger,
|
|
211
|
+
xa as RightSquareBracketIcon,
|
|
212
|
+
Q as SIDEBAR_WIDTH,
|
|
213
|
+
Y as SIDEBAR_WIDTH_COLLAPSED,
|
|
214
|
+
ua as SegmentedControl,
|
|
215
|
+
ca as SegmentedControlItem,
|
|
216
|
+
q as SidebarLeftShowCopy,
|
|
217
|
+
z as SidebarLeftShowCopyIcon,
|
|
218
|
+
Mt as SitemapIcon,
|
|
219
|
+
Rt as SliderIcon,
|
|
220
|
+
k as SubNavIndicator,
|
|
221
|
+
N as SubNavIndicatorIcon,
|
|
222
|
+
ve as TABLE_CSS_CLASSES,
|
|
223
|
+
be as Table,
|
|
224
|
+
Te as TableBody,
|
|
225
|
+
Sr as TableCard,
|
|
226
|
+
Re as TableCell,
|
|
227
|
+
Qt as TableCols2Icon,
|
|
228
|
+
Le as TableContext,
|
|
229
|
+
lr as TableFooter,
|
|
230
|
+
mr as TableFooterContent,
|
|
231
|
+
Xe as TableHeader,
|
|
232
|
+
pr as TableHeaderContent,
|
|
233
|
+
tr as TableHeaderWrapper,
|
|
234
|
+
$e as TableLoadingState,
|
|
235
|
+
je as TableMessageState,
|
|
236
|
+
er as TablePagination,
|
|
237
|
+
Se as TableProvider,
|
|
238
|
+
Qe as TableRow,
|
|
239
|
+
Rr as TreeCheckboxSelect,
|
|
240
|
+
jt as TriangleWarningIcon,
|
|
241
|
+
ap as UI_COLORS,
|
|
242
|
+
Et as UploadIcon,
|
|
243
|
+
zt as Vector3Icon,
|
|
244
|
+
kt as VectorIcon,
|
|
240
245
|
W as WindowLeftCopy,
|
|
241
246
|
U as WindowLeftCopyIcon,
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
247
|
+
Ft as XIcon,
|
|
248
|
+
Ht as XMarkIcon,
|
|
249
|
+
Er as Z2Breadcrumb,
|
|
250
|
+
yr as Z2BreadcrumbEllipsis,
|
|
251
|
+
kr as Z2BreadcrumbItem,
|
|
252
|
+
Nr as Z2BreadcrumbLink,
|
|
253
|
+
Hr as Z2BreadcrumbList,
|
|
254
|
+
_r as Z2BreadcrumbPage,
|
|
255
|
+
Fr as Z2BreadcrumbSeparator,
|
|
251
256
|
oo as Z2Checkbox,
|
|
252
|
-
|
|
257
|
+
Xt as Z2DataIcon,
|
|
253
258
|
ro as Z2Dialog,
|
|
254
259
|
to as Z2DialogClose,
|
|
255
260
|
ao as Z2DialogContent,
|
|
@@ -265,8 +270,8 @@ export {
|
|
|
265
270
|
Co as Z2DropdownInput,
|
|
266
271
|
bo as Z2DropdownItem,
|
|
267
272
|
wo as Z2DropdownMenu,
|
|
268
|
-
|
|
269
|
-
|
|
273
|
+
Bo as Z2DropdownMenuCheckboxItem,
|
|
274
|
+
vo as Z2DropdownMenuContent,
|
|
270
275
|
ho as Z2DropdownMenuGroup,
|
|
271
276
|
Lo as Z2DropdownMenuItem,
|
|
272
277
|
Mo as Z2DropdownMenuLabel,
|
|
@@ -275,25 +280,26 @@ export {
|
|
|
275
280
|
Ao as Z2DropdownMenuRadioItem,
|
|
276
281
|
Eo as Z2DropdownMenuSeparator,
|
|
277
282
|
yo as Z2DropdownMenuShortcut,
|
|
278
|
-
|
|
279
|
-
|
|
283
|
+
ko as Z2DropdownMenuSub,
|
|
284
|
+
No as Z2DropdownMenuSubContent,
|
|
280
285
|
Ho as Z2DropdownMenuSubTrigger,
|
|
281
286
|
_o as Z2DropdownMenuTrigger,
|
|
282
287
|
So as Z2DropdownSub,
|
|
283
|
-
|
|
284
|
-
|
|
288
|
+
Io as Z2DropdownSubContent,
|
|
289
|
+
To as Z2DropdownSubItem,
|
|
285
290
|
Do as Z2DropdownSubTrigger,
|
|
286
|
-
|
|
287
|
-
|
|
291
|
+
Gt as Z2Icon,
|
|
292
|
+
Ip as Z2Map,
|
|
288
293
|
E as Z2Popover,
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
294
|
+
Vp as Z2PopoverContent,
|
|
295
|
+
Op as Z2PopoverTrigger,
|
|
296
|
+
bp as Z2RadioCard,
|
|
297
|
+
Gr as Z2RadioGroup,
|
|
298
|
+
Vr as Z2RadioGroupIndicator,
|
|
299
|
+
Wr as Z2RadioGroupItem,
|
|
300
|
+
Yo as Z2Select,
|
|
301
|
+
le as Z2SelectCompact,
|
|
302
|
+
jo as Z2SelectContent,
|
|
297
303
|
Ko as Z2SelectGroup,
|
|
298
304
|
$o as Z2SelectItem,
|
|
299
305
|
oe as Z2SelectLabel,
|
|
@@ -303,59 +309,59 @@ export {
|
|
|
303
309
|
ae as Z2SelectTrigger,
|
|
304
310
|
pe as Z2SelectValue,
|
|
305
311
|
s as Z2SideNavBar,
|
|
306
|
-
|
|
312
|
+
T as Z2SideNavBarContent,
|
|
307
313
|
g as Z2SideNavBarFooter,
|
|
308
|
-
|
|
314
|
+
B as Z2SideNavBarGroup,
|
|
309
315
|
S as Z2SideNavBarHeader,
|
|
310
316
|
h as Z2SideNavBarItem,
|
|
311
317
|
Z as Z2SideNavBarProvider,
|
|
312
318
|
M as Z2SideNavBarSeparator,
|
|
313
319
|
C as Z2SidebarVariants,
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
320
|
+
Wt as Z2SlashIcon,
|
|
321
|
+
me as Z2Stepper,
|
|
322
|
+
xe as Z2StepperItem,
|
|
323
|
+
Da as Z2Table,
|
|
324
|
+
ga as Z2TableBase,
|
|
325
|
+
wa as Z2TableBody,
|
|
326
|
+
Ba as Z2TableBodyRow,
|
|
327
|
+
va as Z2TableBodyRowCell,
|
|
328
|
+
ha as Z2TableBodyRowExpandded,
|
|
329
|
+
La as Z2TableBodyRowSkeleton,
|
|
330
|
+
Ma as Z2TableBodyRowSkeletonCell,
|
|
331
|
+
za as Z2TableColumnHeader,
|
|
332
|
+
Oa as Z2TableContainer,
|
|
333
|
+
Pa as Z2TableEmpty,
|
|
334
|
+
Ra as Z2TableHead,
|
|
335
|
+
Aa as Z2TableHeadRow,
|
|
336
|
+
Ea as Z2TableHeadRowCell,
|
|
337
|
+
ya as Z2TableHeadRowCellResize,
|
|
338
|
+
ka as Z2TableLoader,
|
|
339
|
+
Xa as Z2TablePagination,
|
|
340
|
+
Ga as Z2TableProvider,
|
|
341
|
+
Va as Z2TableRoot,
|
|
342
|
+
Na as Z2TableRowSelect,
|
|
343
|
+
Ha as Z2TableRowSelectAll,
|
|
344
|
+
_a as Z2TableRowSpacer,
|
|
345
|
+
ue as Z2Tabs,
|
|
346
|
+
Ze as Z2TabsContent,
|
|
347
|
+
ce as Z2TabsList,
|
|
348
|
+
se as Z2TabsTrigger,
|
|
349
|
+
hr as Z2TextPreset,
|
|
350
|
+
Cr as Z2Tooltip,
|
|
351
|
+
Dr as badgeVariants,
|
|
352
|
+
dp as buildBarChartOptions,
|
|
353
|
+
Zp as buildChartOptions,
|
|
354
|
+
ip as buildLineChartOptions,
|
|
349
355
|
i as buttonVariants,
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
356
|
+
_p as cn,
|
|
357
|
+
ge as extractCellValue,
|
|
358
|
+
pp as getThemePalette,
|
|
359
|
+
cp as isChartTypeSupported,
|
|
360
|
+
sp as registeredChartTypes,
|
|
361
|
+
Me as useTableContext,
|
|
362
|
+
Np as useTheme,
|
|
357
363
|
R as useZ2SideNavBar,
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
364
|
+
Wa as useZ2Table,
|
|
365
|
+
lp as validateChartConfig,
|
|
366
|
+
fp as validateChartData
|
|
361
367
|
};
|
|
@@ -42,3 +42,5 @@ export { default as FilterIcon } from './filter-icon';
|
|
|
42
42
|
export { default as DescendingSortingIcon } from './descending';
|
|
43
43
|
export { default as ChainIcon } from './chain';
|
|
44
44
|
export { default as EraserIcon } from './eraser';
|
|
45
|
+
export { default as LeftSquareBracketIcon } from './left-square-bracket';
|
|
46
|
+
export { default as RightSquareBracketIcon } from './right-square-bracket';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface FieldOption {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
}
|
|
5
|
+
interface Z2SelectCompactProps {
|
|
6
|
+
value?: string;
|
|
7
|
+
onChange?: (value: string) => void;
|
|
8
|
+
options: FieldOption[];
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function Z2SelectCompact({ value, onChange, options, placeholder, className, }: Z2SelectCompactProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './components/file-upload-area';
|
|
|
11
11
|
export * from './components/input/input';
|
|
12
12
|
export * from './components/nav-header';
|
|
13
13
|
export * from './components/select/z2-select';
|
|
14
|
+
export * from './components/select-compact/select-compact';
|
|
14
15
|
export * from './components/stepper';
|
|
15
16
|
export * from './components/stepper-item/stepper-item';
|
|
16
17
|
export * from './components/tab/tab';
|
package/package.json
CHANGED