@ztwoint/z-ui 0.1.142 → 0.1.144

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.
@@ -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 ArrowsThroughLineY({ fill, secondaryfill: _secondaryfill, strokewidth: _strokewidth, title, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
8
+ export default ArrowsThroughLineY;
@@ -0,0 +1,38 @@
1
+ import { jsxs as e, jsx as t } from "react/jsx-runtime";
2
+ function n({
3
+ fill: r = "currentColor",
4
+ secondaryfill: o,
5
+ strokewidth: d = 1,
6
+ title: h = "Reorder Menu",
7
+ ...a
8
+ }) {
9
+ return /* @__PURE__ */ e("svg", { height: "14", width: "14", viewBox: "0 0 14 14", xmlns: "http://www.w3.org/2000/svg", ...a, children: [
10
+ /* @__PURE__ */ t("title", { children: h }),
11
+ /* @__PURE__ */ e("g", { fill: r, children: [
12
+ /* @__PURE__ */ t(
13
+ "path",
14
+ {
15
+ d: "M12.29 7.61h-2.93a0.58 0.58 0 0 1 0-1.17h2.93a0.58 0.58 0 0 1 0 1.17z",
16
+ fill: r
17
+ }
18
+ ),
19
+ /* @__PURE__ */ t(
20
+ "path",
21
+ {
22
+ d: "M7.02 7.61h-5.26a0.58 0.58 0 0 1 0-1.17h5.26a0.58 0.58 0 0 1 0 1.17z",
23
+ fill: r
24
+ }
25
+ ),
26
+ /* @__PURE__ */ t(
27
+ "path",
28
+ {
29
+ d: "M8.95 4.12a0.58 0.58 0 0 0 0.82 0 0.58 0.58 0 0 0 0-0.83l-2.34-2.34a0.58 0.58 0 0 0-0.82 0l-2.34 2.34a0.58 0.58 0 1 0 0.82 0.83l1.35-1.34v8.48l-1.35-1.34a0.58 0.58 0 1 0-0.82 0.83l2.34 2.34a0.58 0.58 0 0 0 0.82 0l2.34-2.34a0.58 0.58 0 1 0-0.82-0.83l-1.35 1.34v-8.48l1.35 1.34z",
30
+ fill: r
31
+ }
32
+ )
33
+ ] })
34
+ ] });
35
+ }
36
+ export {
37
+ n as default
38
+ };
@@ -15,4 +15,5 @@ export { default as CirclesIcon } from '../assets/icons/circles-icon';
15
15
  export { default as DatabaseCopy } from '../assets/icons/database-copy';
16
16
  export { default as WindowLeftCopy } from '../assets/icons/window-left-copy';
17
17
  export { default as SidebarLeftShowCopy } from '../assets/icons/sidebar-left-show-copy';
18
+ export { default as ArrowsThroughLineY } from '../assets/icons/arrows-through-line-y';
18
19
  export { SIDEBAR_WIDTH, SIDEBAR_WIDTH_COLLAPSED } from './constants';
@@ -1,84 +1,98 @@
1
1
  import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
- import * as n from "react";
3
- import { cn as h } from "../../lib/utils.js";
4
- import { useZ2SideNavBar as C } from "./context.js";
5
- import x from "../assets/icons/window-left-copy.js";
6
- import { Button as v } from "../button/button.js";
7
- const w = n.forwardRef(
2
+ import * as o from "react";
3
+ import { cn as x } from "../../lib/utils.js";
4
+ import { useZ2SideNavBar as z } from "./context.js";
5
+ import v from "../assets/icons/window-left-copy.js";
6
+ import C from "../assets/icons/arrows-through-line-y.js";
7
+ import { Button as a } from "../button/button.js";
8
+ const I = o.forwardRef(
8
9
  ({
9
- className: o,
10
- children: r,
10
+ className: d,
11
+ children: s,
11
12
  showCollapseButton: g = !0,
12
- icon: s,
13
- title: a,
14
- forceMultiLine: d = !1,
15
- ...c
16
- }, m) => {
17
- const { toggleCollapsed: f, isCollapsed: i } = C(), [y, u] = n.useState(d), p = n.useRef(null), b = y || !!r;
18
- return n.useEffect(() => {
19
- if (d) {
20
- u(!0);
13
+ icon: i,
14
+ title: r,
15
+ forceMultiLine: c = !1,
16
+ ...m
17
+ }, f) => {
18
+ const { toggleCollapsed: h, isCollapsed: n, enableEdit: u, onReorderClick: y } = z(), [N, b] = o.useState(c), p = o.useRef(null), k = N || !!s;
19
+ return o.useEffect(() => {
20
+ if (c) {
21
+ b(!0);
21
22
  return;
22
23
  }
23
- if (p.current && !i && a) {
24
+ if (p.current && !n && r) {
24
25
  const t = document.createElement("span");
25
- t.style.visibility = "hidden", t.style.position = "absolute", t.style.whiteSpace = "nowrap", t.style.fontSize = "14px", t.style.fontWeight = "450", t.textContent = a, document.body.appendChild(t);
26
- const N = t.offsetWidth;
27
- document.body.removeChild(t), u(N > 168);
26
+ t.style.visibility = "hidden", t.style.position = "absolute", t.style.whiteSpace = "nowrap", t.style.fontSize = "14px", t.style.fontWeight = "450", t.textContent = r, document.body.appendChild(t);
27
+ const w = t.offsetWidth;
28
+ document.body.removeChild(t), b(w > 168);
28
29
  }
29
- }, [a, i, d]), i ? /* @__PURE__ */ e(
30
+ }, [r, n, c]), n ? /* @__PURE__ */ e(
30
31
  "div",
31
32
  {
32
- ref: m,
33
- className: h(
33
+ ref: f,
34
+ className: x(
34
35
  "flex flex-col items-center gap-1.5 self-stretch border-b border-gray-200 p-2",
35
- o
36
+ d
36
37
  ),
37
- ...c,
38
+ ...m,
38
39
  children: /* @__PURE__ */ e(
39
- v,
40
+ a,
40
41
  {
41
- variant: "ghost",
42
+ variant: "stroke",
42
43
  shade: "neutral",
43
44
  size: "small",
44
- onClick: f,
45
+ onClick: h,
45
46
  title: "Collapse sidebar",
46
- leftIcon: /* @__PURE__ */ e(x, {})
47
+ leftIcon: /* @__PURE__ */ e(v, {})
47
48
  }
48
49
  )
49
50
  }
50
- ) : b && !i ? /* @__PURE__ */ l(
51
+ ) : k && !n ? /* @__PURE__ */ l(
51
52
  "div",
52
53
  {
53
- ref: m,
54
- className: h(
54
+ ref: f,
55
+ className: x(
55
56
  "flex flex-col items-start gap-5 self-stretch border-b border-gray-100 w-60 px-2.5 py-4 pl-4 relative",
56
- o
57
+ d
57
58
  ),
58
- ...c,
59
+ ...m,
59
60
  children: [
60
61
  /* @__PURE__ */ l("div", { className: "header-icons-container flex justify-between items-center self-stretch relative", children: [
61
- s && /* @__PURE__ */ e("div", { className: "database-icon-container flex p-1.5 justify-center items-center gap-1 rounded-lg bg-gray-50 relative", children: /* @__PURE__ */ e("div", { className: "w-3.5 h-3.5 aspect-square relative", children: s }) }),
62
- g && /* @__PURE__ */ e(
63
- v,
64
- {
65
- variant: "ghost",
66
- shade: "neutral",
67
- size: "small",
68
- onClick: f,
69
- title: "Collapse sidebar",
70
- leftIcon: /* @__PURE__ */ e(x, {})
71
- }
72
- )
62
+ i && /* @__PURE__ */ e(a, { variant: "filled", shade: "brand", size: "small", leftIcon: i }),
63
+ /* @__PURE__ */ l("div", { className: "flex items-center gap-1", children: [
64
+ u && /* @__PURE__ */ e(
65
+ a,
66
+ {
67
+ variant: "ghost",
68
+ shade: "neutral",
69
+ size: "small",
70
+ onClick: y,
71
+ title: "Reorder items",
72
+ leftIcon: /* @__PURE__ */ e(C, {})
73
+ }
74
+ ),
75
+ g && /* @__PURE__ */ e(
76
+ a,
77
+ {
78
+ variant: "stroke",
79
+ shade: "neutral",
80
+ size: "small",
81
+ onClick: h,
82
+ title: "Collapse sidebar",
83
+ leftIcon: /* @__PURE__ */ e(v, {})
84
+ }
85
+ )
86
+ ] })
73
87
  ] }),
74
88
  /* @__PURE__ */ l("div", { className: "text-preset-container flex flex-col items-start gap-2.5 self-stretch relative", children: [
75
- /* @__PURE__ */ e("div", { className: "primary-text self-stretch text-gray-950 text-sm font-medium leading-none tracking-tight relative", children: a }),
89
+ /* @__PURE__ */ e("div", { className: "primary-text self-stretch text-gray-950 text-sm font-medium leading-none tracking-tight relative", children: r }),
76
90
  /* @__PURE__ */ e(
77
91
  "div",
78
92
  {
79
93
  ref: p,
80
94
  className: "secondary-text line-clamp-1 self-stretch overflow-hidden text-gray-600 text-ellipsis text-sm font-normal leading-none tracking-tight relative",
81
- children: r
95
+ children: s
82
96
  }
83
97
  )
84
98
  ] })
@@ -87,42 +101,54 @@ const w = n.forwardRef(
87
101
  ) : /* @__PURE__ */ l(
88
102
  "div",
89
103
  {
90
- ref: m,
91
- className: h(
104
+ ref: f,
105
+ className: x(
92
106
  "flex items-center gap-2.5 border-b header-default-layout w-full pr-2.5 pl-3 py-2.5 stroke-solid-light relative",
93
- o
107
+ d
94
108
  ),
95
- ...c,
109
+ ...m,
96
110
  children: [
97
- s && /* @__PURE__ */ e("div", { className: "icon-container flex p-1.5 justify-center items-center gap-1 rounded-lg bg-gray-50 relative", children: /* @__PURE__ */ e("div", { className: "w-3.5 h-3.5 aspect-square relative", children: s }) }),
111
+ i && /* @__PURE__ */ e(a, { variant: "filled", shade: "brand", size: "small", leftIcon: i }),
98
112
  /* @__PURE__ */ l(
99
113
  "div",
100
114
  {
101
115
  ref: p,
102
116
  className: "text-content flex flex-col items-start gap-2.5 flex-1 relative",
103
117
  children: [
104
- /* @__PURE__ */ e("div", { className: "leading-none-medium-sm text-neutral-primary", children: a }),
105
- r && /* @__PURE__ */ e("div", { className: "secondary-text line-clamp-1 self-stretch overflow-hidden text-(--color-neutral-600) text-ellipsis text-xs font-normal leading-none tracking-tight relative", children: r })
118
+ /* @__PURE__ */ e("div", { className: "leading-none-medium-sm text-neutral-primary", children: r }),
119
+ s && /* @__PURE__ */ e("div", { className: "secondary-text line-clamp-1 self-stretch overflow-hidden text-(--color-neutral-600) text-ellipsis text-xs font-normal leading-none tracking-tight relative", children: s })
106
120
  ]
107
121
  }
108
122
  ),
109
- g && /* @__PURE__ */ e(
110
- v,
111
- {
112
- variant: "ghost",
113
- shade: "neutral",
114
- size: "small",
115
- onClick: f,
116
- title: "Collapse sidebar",
117
- leftIcon: /* @__PURE__ */ e(x, {})
118
- }
119
- )
123
+ /* @__PURE__ */ l("div", { className: "flex items-center gap-1", children: [
124
+ u && /* @__PURE__ */ e(
125
+ a,
126
+ {
127
+ shade: "neutral",
128
+ size: "small",
129
+ onClick: y,
130
+ title: "Reorder items",
131
+ leftIcon: /* @__PURE__ */ e(C, {})
132
+ }
133
+ ),
134
+ g && /* @__PURE__ */ e(
135
+ a,
136
+ {
137
+ variant: "stroke",
138
+ shade: "neutral",
139
+ size: "small",
140
+ onClick: h,
141
+ title: "Collapse sidebar",
142
+ leftIcon: /* @__PURE__ */ e(v, {})
143
+ }
144
+ )
145
+ ] })
120
146
  ]
121
147
  }
122
148
  );
123
149
  }
124
150
  );
125
- w.displayName = "Z2SideNavBarHeader";
151
+ I.displayName = "Z2SideNavBarHeader";
126
152
  export {
127
- w as Z2SideNavBarHeader
153
+ I as Z2SideNavBarHeader
128
154
  };
@@ -1,39 +1,41 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import * as r from "react";
3
- import { cn as l } from "../../lib/utils.js";
4
- import { Z2SideNavBarContext as S } from "./context.js";
5
- import { SIDEBAR_WIDTH_COLLAPSED as d, SIDEBAR_WIDTH as h } from "./constants.js";
6
- const C = r.forwardRef(
7
- ({ children: m, defaultCollapsed: c = !1, style: t, className: a, ...n }, p) => {
8
- const [e, u] = r.useState(c), s = r.useCallback(() => {
9
- u(!e);
10
- }, [e]), v = r.useMemo(
3
+ import { cn as m } from "../../lib/utils.js";
4
+ import { Z2SideNavBarContext as B } from "./context.js";
5
+ import { SIDEBAR_WIDTH_COLLAPSED as c, SIDEBAR_WIDTH as C } from "./constants.js";
6
+ const D = r.forwardRef(
7
+ ({ children: p, defaultCollapsed: n = !1, enableEdit: s, onReorderClick: t, style: a, className: i, ...u }, v) => {
8
+ const [e, f] = r.useState(n), l = r.useCallback(() => {
9
+ f(!e);
10
+ }, [e]), S = r.useMemo(
11
11
  () => ({
12
12
  isCollapsed: e,
13
- toggleCollapsed: s
13
+ toggleCollapsed: l,
14
+ enableEdit: s,
15
+ onReorderClick: t
14
16
  }),
15
- [e, s]
16
- ), i = r.useMemo(() => e ? d : h, [e]), f = r.useMemo(
17
+ [e, l, s, t]
18
+ ), d = r.useMemo(() => e ? c : C, [e]), h = r.useMemo(
17
19
  () => ({
18
- "--sidebar-width": i,
19
- "--sidebar-width-collapsed": d,
20
- ...t
20
+ "--sidebar-width": d,
21
+ "--sidebar-width-collapsed": c,
22
+ ...a
21
23
  }),
22
- [i, t]
24
+ [d, a]
23
25
  );
24
- return /* @__PURE__ */ o(S.Provider, { value: v, children: /* @__PURE__ */ o(
26
+ return /* @__PURE__ */ o(B.Provider, { value: S, children: /* @__PURE__ */ o(
25
27
  "div",
26
28
  {
27
- ref: p,
28
- className: l("relative h-full", a),
29
- style: f,
30
- ...n,
31
- children: /* @__PURE__ */ o("div", { className: l("h-full", a), children: m })
29
+ ref: v,
30
+ className: m("relative h-full", i),
31
+ style: h,
32
+ ...u,
33
+ children: /* @__PURE__ */ o("div", { className: m("h-full", i), children: p })
32
34
  }
33
35
  ) });
34
36
  }
35
37
  );
36
- C.displayName = "Z2SideNavBarProvider";
38
+ D.displayName = "Z2SideNavBarProvider";
37
39
  export {
38
- C as Z2SideNavBarProvider
40
+ D as Z2SideNavBarProvider
39
41
  };
@@ -2,10 +2,14 @@ import * as React from 'react';
2
2
  export interface Z2SideNavBarContextType {
3
3
  isCollapsed: boolean;
4
4
  toggleCollapsed: () => void;
5
+ enableEdit?: boolean;
6
+ onReorderClick?: () => void;
5
7
  }
6
8
  export interface Z2SideNavBarProviderProps {
7
9
  children: React.ReactNode;
8
10
  defaultCollapsed?: boolean;
11
+ enableEdit?: boolean;
12
+ onReorderClick?: () => void;
9
13
  style?: React.CSSProperties;
10
14
  className?: string;
11
15
  }
@@ -1,4 +1,4 @@
1
- const s = [".csv", ".xls", ".xlsx"];
1
+ const s = [".csv", ".xlsx"];
2
2
  export {
3
3
  s as DEFAULT_ACCEPT
4
4
  };
@@ -18,7 +18,7 @@ export type FileUploadAreaProps = {
18
18
  * Features:
19
19
  * - Drag and drop file upload
20
20
  * - Click to open file dialog
21
- * - Supports multiple file formats (default: CSV, XLS, XLSX)
21
+ * - Supports multiple file formats (default: CSV, XLSX)
22
22
  * - Supports multiple file selection
23
23
  * - Disabled state (blocks all interaction and changes style)
24
24
  * - Custom className for styling
package/dist/index.js CHANGED
@@ -5,10 +5,10 @@ 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 T } from "./components/collapsible-side-nav-bar/side-nav-bar-content.js";
9
- import { Z2SideNavBarFooter as g } from "./components/collapsible-side-nav-bar/side-nav-bar-footer.js";
10
- import { Z2SideNavBarGroup as B } from "./components/collapsible-side-nav-bar/side-nav-bar-group.js";
11
- import { Z2SideNavBarItem as h } from "./components/collapsible-side-nav-bar/side-nav-bar-item.js";
8
+ import { Z2SideNavBarContent as I } from "./components/collapsible-side-nav-bar/side-nav-bar-content.js";
9
+ import { Z2SideNavBarFooter as D } from "./components/collapsible-side-nav-bar/side-nav-bar-footer.js";
10
+ import { Z2SideNavBarGroup as h } from "./components/collapsible-side-nav-bar/side-nav-bar-group.js";
11
+ import { Z2SideNavBarItem as v } 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";
@@ -17,360 +17,362 @@ import { default as k, default as N } from "./components/assets/icons/sub-nav-in
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 q, default as z } from "./components/assets/icons/sidebar-left-show-copy.js";
21
- import { SIDEBAR_WIDTH as K, SIDEBAR_WIDTH_COLLAPSED as Q } from "./components/collapsible-side-nav-bar/constants.js";
22
- import { CountryFlags as j } from "./components/country-flags/country-flags.js";
23
- import { Z2Checkbox as oo } from "./components/checkbox/checkbox.js";
24
- import { CheckboxFilter as ro } from "./components/checkbox-filter/index.js";
25
- import { Z2Dialog as ao, Z2DialogClose as po, Z2DialogContent as no, Z2DialogDescription as fo, Z2DialogFooter as lo, Z2DialogHeader as mo, Z2DialogOverlay as xo, Z2DialogPortal as io, Z2DialogTitle as uo, Z2DialogTrigger as Zo } from "./components/dialog/dialog.js";
26
- import { DropdownContext as so, Z2Dropdown as Co, Z2DropdownContent as bo, Z2DropdownInput as So, Z2DropdownItem as Io, Z2DropdownSub as To, Z2DropdownSubContent as Do, Z2DropdownSubItem as go, Z2DropdownSubTrigger as wo } from "./components/dropdown/z2-dropdown.js";
27
- import { Z2DropdownMenu as vo, Z2DropdownMenuCheckboxItem as ho, Z2DropdownMenuContent as Lo, Z2DropdownMenuGroup as Mo, Z2DropdownMenuItem as Po, Z2DropdownMenuLabel as Ro, Z2DropdownMenuPortal as Ao, Z2DropdownMenuRadioGroup as Eo, Z2DropdownMenuRadioItem as yo, Z2DropdownMenuSeparator as ko, Z2DropdownMenuShortcut as No, Z2DropdownMenuSub as Ho, Z2DropdownMenuSubContent as _o, Z2DropdownMenuSubTrigger as Fo, Z2DropdownMenuTrigger as Oo } from "./components/dropdown-menu/z2-dropdown-menu.js";
28
- import { FileUploadArea as Vo } from "./components/file-upload-area/file-upload-area.js";
29
- import { DEFAULT_ACCEPT as Uo } from "./components/file-upload-area/file-upload-area.const.js";
30
- import { Input as qo } from "./components/input/input.js";
31
- import { NavHeader as Jo } from "./components/nav-header/nav-header.js";
32
- import { NavItem as Qo } from "./components/nav-header/nav-item/nav-item.js";
33
- import { Z2Select as jo, Z2SelectContent as $o, Z2SelectGroup as oe, Z2SelectItem as ee, Z2SelectLabel as re, Z2SelectScrollDownButton as te, Z2SelectScrollUpButton as ae, Z2SelectSeparator as pe, Z2SelectTrigger as ne, Z2SelectValue as fe } from "./components/select/z2-select.js";
34
- import { Z2SelectCompact as me } from "./components/primitives/select-compact/select-compact.js";
35
- import { PopoverCompact as xe } from "./components/primitives/popover-compact/popover-compact.js";
36
- import { Z2Stepper as ue } from "./components/stepper/stepper.js";
37
- import { Z2StepperItem as ce } from "./components/stepper-item/stepper-item.js";
38
- import { Z2Tabs as Ce, Z2TabsContent as be, Z2TabsList as Se, Z2TabsTrigger as Ie } from "./components/tab/tab.js";
39
- import { Table as De, TableProvider as ge } from "./components/table/table-provider.js";
40
- import { TableBody as Be } from "./components/table/table.js";
41
- import { extractCellValue as he } from "./components/table/table.utils.js";
42
- import { DEFAULT_EMPTY_MESSAGE as Me, TABLE_CSS_CLASSES as Pe } from "./components/table/table.const.js";
43
- import { TableContext as Ae, useTableContext as Ee } from "./components/table/table.context.js";
44
- import { TableCell as ke } from "./components/table/components/table-cell.js";
45
- import { NumberCell as He } from "./components/table/components/cell/number-cell.js";
46
- import { BooleanCell as Fe } from "./components/table/components/cell/boolean-cell.js";
47
- import { LinkCell as Ge } from "./components/table/components/cell/link-cell.js";
48
- import { DescriptionCell as We } from "./components/table/components/cell/description-cell.js";
49
- import { AvatarCell as Xe } from "./components/table/components/cell/avatar-cell.js";
50
- import { LabelCell as ze } from "./components/table/components/cell/label-cell.js";
51
- import { TableHeader as Ke } from "./components/table/components/table-header/table-header.js";
52
- import { default as Ye } from "./components/assets/icons/chevron-down.js";
53
- import { TableRow as $e } from "./components/table/components/table-row.js";
54
- import { TableMessageState as er } from "./components/table/components/table-message-state.js";
55
- import { TableLoadingState as tr } from "./components/table/components/table-loading-state.js";
56
- import { Pagination as pr } from "./components/table/components/pagination/pagination.js";
57
- import { TableHeaderWrapper as fr } from "./components/table/components/table-header-wrapper.js";
58
- import { TableHeaderContent as mr } from "./components/table/components/table-header-content.js";
59
- import { TableFooter as xr } from "./components/table/components/table-footer.js";
60
- import { TableFooterContent as ur } from "./components/table/components/table-footer-content.js";
61
- import { MagnifierIcon as cr } from "./components/assets/icons/magnifier-icon.js";
62
- import { PaginationInfo as Cr } from "./components/table/components/pagination/components/pagination-info.js";
63
- import { PaginationQuickJumper as Sr } from "./components/table/components/pagination/components/pagination-quick-jumper.js";
20
+ import { default as q, default as Y } from "./components/assets/icons/sidebar-left-show-copy.js";
21
+ import { default as J } from "./components/assets/icons/arrows-through-line-y.js";
22
+ import { SIDEBAR_WIDTH as Q, SIDEBAR_WIDTH_COLLAPSED as j } from "./components/collapsible-side-nav-bar/constants.js";
23
+ import { CountryFlags as oo } from "./components/country-flags/country-flags.js";
24
+ import { Z2Checkbox as ro } from "./components/checkbox/checkbox.js";
25
+ import { CheckboxFilter as ao } from "./components/checkbox-filter/index.js";
26
+ import { Z2Dialog as no, Z2DialogClose as fo, Z2DialogContent as lo, Z2DialogDescription as mo, Z2DialogFooter as xo, Z2DialogHeader as io, Z2DialogOverlay as uo, Z2DialogPortal as Zo, Z2DialogTitle as co, Z2DialogTrigger as so } from "./components/dialog/dialog.js";
27
+ import { DropdownContext as bo, Z2Dropdown as So, Z2DropdownContent as To, Z2DropdownInput as Io, Z2DropdownItem as go, Z2DropdownSub as Do, Z2DropdownSubContent as wo, Z2DropdownSubItem as ho, Z2DropdownSubTrigger as Bo } from "./components/dropdown/z2-dropdown.js";
28
+ import { Z2DropdownMenu as Lo, Z2DropdownMenuCheckboxItem as Mo, Z2DropdownMenuContent as Po, Z2DropdownMenuGroup as Ro, Z2DropdownMenuItem as Ao, Z2DropdownMenuLabel as Eo, Z2DropdownMenuPortal as yo, Z2DropdownMenuRadioGroup as ko, Z2DropdownMenuRadioItem as No, Z2DropdownMenuSeparator as Ho, Z2DropdownMenuShortcut as _o, Z2DropdownMenuSub as Fo, Z2DropdownMenuSubContent as Oo, Z2DropdownMenuSubTrigger as Go, Z2DropdownMenuTrigger as Vo } from "./components/dropdown-menu/z2-dropdown-menu.js";
29
+ import { FileUploadArea as Uo } from "./components/file-upload-area/file-upload-area.js";
30
+ import { DEFAULT_ACCEPT as qo } from "./components/file-upload-area/file-upload-area.const.js";
31
+ import { Input as zo } from "./components/input/input.js";
32
+ import { NavHeader as Ko } from "./components/nav-header/nav-header.js";
33
+ import { NavItem as jo } from "./components/nav-header/nav-item/nav-item.js";
34
+ import { Z2Select as oe, Z2SelectContent as ee, Z2SelectGroup as re, Z2SelectItem as te, Z2SelectLabel as ae, Z2SelectScrollDownButton as pe, Z2SelectScrollUpButton as ne, Z2SelectSeparator as fe, Z2SelectTrigger as le, Z2SelectValue as me } from "./components/select/z2-select.js";
35
+ import { Z2SelectCompact as xe } from "./components/primitives/select-compact/select-compact.js";
36
+ import { PopoverCompact as ue } from "./components/primitives/popover-compact/popover-compact.js";
37
+ import { Z2Stepper as ce } from "./components/stepper/stepper.js";
38
+ import { Z2StepperItem as Ce } from "./components/stepper-item/stepper-item.js";
39
+ import { Z2Tabs as Se, Z2TabsContent as Te, Z2TabsList as Ie, Z2TabsTrigger as ge } from "./components/tab/tab.js";
40
+ import { Table as we, TableProvider as he } from "./components/table/table-provider.js";
41
+ import { TableBody as ve } from "./components/table/table.js";
42
+ import { extractCellValue as Me } from "./components/table/table.utils.js";
43
+ import { DEFAULT_EMPTY_MESSAGE as Re, TABLE_CSS_CLASSES as Ae } from "./components/table/table.const.js";
44
+ import { TableContext as ye, useTableContext as ke } from "./components/table/table.context.js";
45
+ import { TableCell as He } from "./components/table/components/table-cell.js";
46
+ import { NumberCell as Fe } from "./components/table/components/cell/number-cell.js";
47
+ import { BooleanCell as Ge } from "./components/table/components/cell/boolean-cell.js";
48
+ import { LinkCell as We } from "./components/table/components/cell/link-cell.js";
49
+ import { DescriptionCell as Xe } from "./components/table/components/cell/description-cell.js";
50
+ import { AvatarCell as Ye } from "./components/table/components/cell/avatar-cell.js";
51
+ import { LabelCell as Je } from "./components/table/components/cell/label-cell.js";
52
+ import { TableHeader as Qe } from "./components/table/components/table-header/table-header.js";
53
+ import { default as $e } from "./components/assets/icons/chevron-down.js";
54
+ import { TableRow as er } from "./components/table/components/table-row.js";
55
+ import { TableMessageState as tr } from "./components/table/components/table-message-state.js";
56
+ import { TableLoadingState as pr } from "./components/table/components/table-loading-state.js";
57
+ import { Pagination as fr } from "./components/table/components/pagination/pagination.js";
58
+ import { TableHeaderWrapper as mr } from "./components/table/components/table-header-wrapper.js";
59
+ import { TableHeaderContent as xr } from "./components/table/components/table-header-content.js";
60
+ import { TableFooter as ur } from "./components/table/components/table-footer.js";
61
+ import { TableFooterContent as cr } from "./components/table/components/table-footer-content.js";
62
+ import { MagnifierIcon as Cr } from "./components/assets/icons/magnifier-icon.js";
63
+ import { PaginationInfo as Sr } from "./components/table/components/pagination/components/pagination-info.js";
64
+ import { PaginationQuickJumper as Ir } from "./components/table/components/pagination/components/pagination-quick-jumper.js";
64
65
  import "react";
65
- import { Z2Tooltip as Tr } from "./components/tooltip/tooltip.js";
66
- import { default as gr } from "./components/primitives/table-card/table-card.js";
67
- import { Badge as Br, badgeVariants as vr } from "./components/badge/badge.js";
68
- import { Avatar as Lr, AvatarWithLabel as Mr } from "./components/avatar/avatar.js";
69
- import { Z2TextPreset as Rr } from "./components/text-preset/text-preset.js";
70
- import { ColumnReOrder as Er } from "./components/column-reorder/column-reorder.js";
71
- import { default as kr } from "./components/tree-checkbox-select/TreeCheckboxSelect.js";
72
- import { Z2Breadcrumb as Hr, Z2BreadcrumbEllipsis as _r, Z2BreadcrumbItem as Fr, Z2BreadcrumbLink as Or, Z2BreadcrumbList as Gr, Z2BreadcrumbPage as Vr, Z2BreadcrumbSeparator as Wr } from "./components/breadcrumb/z2-breadcrumb.js";
73
- import { Z2RadioGroup as Xr, Z2RadioGroupIndicator as qr, Z2RadioGroupItem as zr } from "./components/radio/z2-radio.js";
74
- import { default as Kr } from "./components/assets/icons/apartment-building.js";
75
- import { Check as Yr } from "./components/assets/icons/check.js";
76
- import { default as $r } from "./components/assets/icons/chevron-left.js";
77
- import { default as et } from "./components/assets/icons/chevron-right.js";
78
- import { default as tt } from "./components/assets/icons/circle-check-filled.js";
79
- import { default as pt } from "./components/assets/icons/circle-check.js";
80
- import { default as ft } from "./components/assets/icons/dots.js";
81
- import { default as mt } from "./components/assets/icons/double-chevron-left.js";
82
- import { default as xt } from "./components/assets/icons/double-chevron-right.js";
83
- import { default as ut } from "./components/assets/icons/drag-handle.js";
84
- import { default as ct } from "./components/assets/icons/home.js";
85
- import { InfoIcon as Ct } from "./components/assets/icons/info-icon.js";
86
- import { default as St } from "./components/assets/icons/left-arrow.js";
87
- import { default as Tt } from "./components/assets/icons/link.js";
88
- import { default as gt } from "./components/assets/icons/list-tree.js";
89
- import { default as Bt } from "./components/assets/icons/media-record.js";
90
- import { Minus as ht } from "./components/assets/icons/minus.js";
91
- import { default as Mt } from "./components/assets/icons/octagon-warning-Copy.js";
92
- import { default as Rt } from "./components/assets/icons/pin.js";
93
- import { default as Et } from "./components/assets/icons/sitemap.js";
94
- import { default as kt } from "./components/assets/icons/slider.js";
95
- import { default as Ht } from "./components/assets/icons/upload.js";
96
- import { default as Ft } from "./components/assets/icons/vector.js";
97
- import { XMark as Gt } from "./components/assets/icons/x-mark.js";
98
- import { default as Wt } from "./components/assets/icons/x.js";
99
- import { default as Xt } from "./components/assets/icons/z2-icon.js";
100
- import { default as zt } from "./components/assets/icons/z2-slash.js";
101
- import { default as Kt } from "./components/assets/icons/z2data.js";
102
- import { default as Yt } from "./components/assets/icons/vector_3.js";
103
- import { default as $t } from "./components/assets/icons/table-cols-2.js";
104
- import { default as ea } from "./components/assets/icons/triangle-warning.js";
105
- import { default as ta } from "./components/assets/icons/arrow-left.js";
106
- import { default as pa } from "./components/assets/icons/filter-icon.js";
107
- import { default as fa } from "./components/assets/icons/descending.js";
108
- import { default as ma } from "./components/assets/icons/chain.js";
109
- import { default as xa } from "./components/assets/icons/eraser.js";
110
- import { default as ua } from "./components/assets/icons/left-square-bracket.js";
111
- import { default as ca } from "./components/assets/icons/right-square-bracket.js";
112
- import { SegmentedControl as Ca } from "./components/segmented-control/controller.js";
113
- import { SegmentedControlItem as Sa } from "./components/segmented-control/item.js";
114
- import { Popover as Ta, PopoverAnchor as Da, PopoverContent as ga, PopoverTrigger as wa } from "./components/popover/popover.js";
115
- import { Popconfirm as va } from "./components/primitives/popconfirm/popconfirm.js";
116
- import { Z2Table as La, Z2TableBase as Ma, Z2TableBody as Pa, Z2TableBodyRow as Ra, Z2TableBodyRowCell as Aa, Z2TableBodyRowExpandded as Ea, Z2TableBodyRowSkeleton as ya, Z2TableBodyRowSkeletonCell as ka, Z2TableEmpty as Na, Z2TableHead as Ha, Z2TableHeadRow as _a, Z2TableHeadRowCell as Fa, Z2TableHeadRowCellResize as Oa, Z2TableLoader as Ga, Z2TableRowSelect as Va, Z2TableRowSelectAll as Wa, Z2TableRowSpacer as Ua } from "./components/dynamic-table/z2-table.js";
117
- import { Z2TableContainer as qa, Z2TableProvider as za, Z2TableRoot as Ja, useZ2Table as Ka } from "./components/dynamic-table/z2-table-context.js";
118
- import { Z2TablePagination as Ya } from "./components/dynamic-table/z2-table-pagination.js";
119
- import { Z2TableColumnHeader as $a } from "./components/dynamic-table/z2-column-header.js";
120
- import { Chart as ep } from "./components/chart/chart.js";
121
- import { ChartCard as tp } from "./components/primitives/chart-card/chart-card.js";
122
- import { EmptyState as pp, ErrorState as np, LoadingState as fp } from "./components/primitives/chart-card/chart-card-states.js";
123
- import { COLOR_PALETTES as mp, UI_COLORS as dp, getThemePalette as xp } from "./components/primitives/chart-card/config/colors.js";
124
- import { validateChartConfig as up, validateChartData as Zp } from "./components/primitives/chart-card/validators/config-validator.js";
125
- import { buildBarChartOptions as sp } from "./components/primitives/chart-card/builders/bar-chart-builder.js";
126
- import { buildLineChartOptions as bp } from "./components/primitives/chart-card/builders/line-chart-builder.js";
127
- import { buildChartOptions as Ip, isChartTypeSupported as Tp, registeredChartTypes as Dp } from "./components/primitives/chart-card/builders/chart-builder-factory.js";
128
- import { Z2RadioCard as wp } from "./components/radio-card/radio-card.js";
129
- import { default as vp } from "./components/z2map/map.js";
130
- import { DEFAULT_MAP_CONFIG as Lp, MAP_VARIANTS as Mp, PIN_SIZES as Pp } from "./components/z2map/map.constants.js";
131
- import { MapPinComponent as Ap } from "./components/z2map/components/map-pin.js";
132
- import { MapPinContent as yp } from "./components/z2map/components/map-pin-content.js";
133
- import { MapControls as Np } from "./components/z2map/components/map-controls.js";
134
- import { MapZoomControl as _p } from "./components/z2map/components/map-zoom-control.js";
135
- import { MapStyleControl as Op } from "./components/z2map/components/map-style-control.js";
136
- import { KpiCard as Vp, kpiCardVariants as Wp } from "./components/kpi-card/kpi-card.js";
137
- import { useTheme as Xp } from "./lib/theme.hook.js";
138
- import { cn as zp } from "./lib/utils.js";
139
- import { Z2PopoverTrigger as Kp } from "./components/collapsible-side-nav-bar/popover/popover-trigger.js";
140
- import { Z2PopoverContent as Yp } from "./components/collapsible-side-nav-bar/popover/popover-content.js";
66
+ import { Z2Tooltip as Dr } from "./components/tooltip/tooltip.js";
67
+ import { default as hr } from "./components/primitives/table-card/table-card.js";
68
+ import { Badge as vr, badgeVariants as Lr } from "./components/badge/badge.js";
69
+ import { Avatar as Pr, AvatarWithLabel as Rr } from "./components/avatar/avatar.js";
70
+ import { Z2TextPreset as Er } from "./components/text-preset/text-preset.js";
71
+ import { ColumnReOrder as kr } from "./components/column-reorder/column-reorder.js";
72
+ import { default as Hr } from "./components/tree-checkbox-select/TreeCheckboxSelect.js";
73
+ import { Z2Breadcrumb as Fr, Z2BreadcrumbEllipsis as Or, Z2BreadcrumbItem as Gr, Z2BreadcrumbLink as Vr, Z2BreadcrumbList as Wr, Z2BreadcrumbPage as Ur, Z2BreadcrumbSeparator as Xr } from "./components/breadcrumb/z2-breadcrumb.js";
74
+ import { Z2RadioGroup as Yr, Z2RadioGroupIndicator as zr, Z2RadioGroupItem as Jr } from "./components/radio/z2-radio.js";
75
+ import { default as Qr } from "./components/assets/icons/apartment-building.js";
76
+ import { Check as $r } from "./components/assets/icons/check.js";
77
+ import { default as et } from "./components/assets/icons/chevron-left.js";
78
+ import { default as tt } from "./components/assets/icons/chevron-right.js";
79
+ import { default as pt } from "./components/assets/icons/circle-check-filled.js";
80
+ import { default as ft } from "./components/assets/icons/circle-check.js";
81
+ import { default as mt } from "./components/assets/icons/dots.js";
82
+ import { default as xt } from "./components/assets/icons/double-chevron-left.js";
83
+ import { default as ut } from "./components/assets/icons/double-chevron-right.js";
84
+ import { default as ct } from "./components/assets/icons/drag-handle.js";
85
+ import { default as Ct } from "./components/assets/icons/home.js";
86
+ import { InfoIcon as St } from "./components/assets/icons/info-icon.js";
87
+ import { default as It } from "./components/assets/icons/left-arrow.js";
88
+ import { default as Dt } from "./components/assets/icons/link.js";
89
+ import { default as ht } from "./components/assets/icons/list-tree.js";
90
+ import { default as vt } from "./components/assets/icons/media-record.js";
91
+ import { Minus as Mt } from "./components/assets/icons/minus.js";
92
+ import { default as Rt } from "./components/assets/icons/octagon-warning-Copy.js";
93
+ import { default as Et } from "./components/assets/icons/pin.js";
94
+ import { default as kt } from "./components/assets/icons/sitemap.js";
95
+ import { default as Ht } from "./components/assets/icons/slider.js";
96
+ import { default as Ft } from "./components/assets/icons/upload.js";
97
+ import { default as Gt } from "./components/assets/icons/vector.js";
98
+ import { XMark as Wt } from "./components/assets/icons/x-mark.js";
99
+ import { default as Xt } from "./components/assets/icons/x.js";
100
+ import { default as Yt } from "./components/assets/icons/z2-icon.js";
101
+ import { default as Jt } from "./components/assets/icons/z2-slash.js";
102
+ import { default as Qt } from "./components/assets/icons/z2data.js";
103
+ import { default as $t } from "./components/assets/icons/vector_3.js";
104
+ import { default as ea } from "./components/assets/icons/table-cols-2.js";
105
+ import { default as ta } from "./components/assets/icons/triangle-warning.js";
106
+ import { default as pa } from "./components/assets/icons/arrow-left.js";
107
+ import { default as fa } from "./components/assets/icons/filter-icon.js";
108
+ import { default as ma } from "./components/assets/icons/descending.js";
109
+ import { default as xa } from "./components/assets/icons/chain.js";
110
+ import { default as ua } from "./components/assets/icons/eraser.js";
111
+ import { default as ca } from "./components/assets/icons/left-square-bracket.js";
112
+ import { default as Ca } from "./components/assets/icons/right-square-bracket.js";
113
+ import { SegmentedControl as Sa } from "./components/segmented-control/controller.js";
114
+ import { SegmentedControlItem as Ia } from "./components/segmented-control/item.js";
115
+ import { Popover as Da, PopoverAnchor as wa, PopoverContent as ha, PopoverTrigger as Ba } from "./components/popover/popover.js";
116
+ import { Popconfirm as La } from "./components/primitives/popconfirm/popconfirm.js";
117
+ import { Z2Table as Pa, Z2TableBase as Ra, Z2TableBody as Aa, Z2TableBodyRow as Ea, Z2TableBodyRowCell as ya, Z2TableBodyRowExpandded as ka, Z2TableBodyRowSkeleton as Na, Z2TableBodyRowSkeletonCell as Ha, Z2TableEmpty as _a, Z2TableHead as Fa, Z2TableHeadRow as Oa, Z2TableHeadRowCell as Ga, Z2TableHeadRowCellResize as Va, Z2TableLoader as Wa, Z2TableRowSelect as Ua, Z2TableRowSelectAll as Xa, Z2TableRowSpacer as qa } from "./components/dynamic-table/z2-table.js";
118
+ import { Z2TableContainer as za, Z2TableProvider as Ja, Z2TableRoot as Ka, useZ2Table as Qa } from "./components/dynamic-table/z2-table-context.js";
119
+ import { Z2TablePagination as $a } from "./components/dynamic-table/z2-table-pagination.js";
120
+ import { Z2TableColumnHeader as ep } from "./components/dynamic-table/z2-column-header.js";
121
+ import { Chart as tp } from "./components/chart/chart.js";
122
+ import { ChartCard as pp } from "./components/primitives/chart-card/chart-card.js";
123
+ import { EmptyState as fp, ErrorState as lp, LoadingState as mp } from "./components/primitives/chart-card/chart-card-states.js";
124
+ import { COLOR_PALETTES as xp, UI_COLORS as ip, getThemePalette as up } from "./components/primitives/chart-card/config/colors.js";
125
+ import { validateChartConfig as cp, validateChartData as sp } from "./components/primitives/chart-card/validators/config-validator.js";
126
+ import { buildBarChartOptions as bp } from "./components/primitives/chart-card/builders/bar-chart-builder.js";
127
+ import { buildLineChartOptions as Tp } from "./components/primitives/chart-card/builders/line-chart-builder.js";
128
+ import { buildChartOptions as gp, isChartTypeSupported as Dp, registeredChartTypes as wp } from "./components/primitives/chart-card/builders/chart-builder-factory.js";
129
+ import { Z2RadioCard as Bp } from "./components/radio-card/radio-card.js";
130
+ import { default as Lp } from "./components/z2map/map.js";
131
+ import { DEFAULT_MAP_CONFIG as Pp, MAP_VARIANTS as Rp, PIN_SIZES as Ap } from "./components/z2map/map.constants.js";
132
+ import { MapPinComponent as yp } from "./components/z2map/components/map-pin.js";
133
+ import { MapPinContent as Np } from "./components/z2map/components/map-pin-content.js";
134
+ import { MapControls as _p } from "./components/z2map/components/map-controls.js";
135
+ import { MapZoomControl as Op } from "./components/z2map/components/map-zoom-control.js";
136
+ import { MapStyleControl as Vp } from "./components/z2map/components/map-style-control.js";
137
+ import { KpiCard as Up, kpiCardVariants as Xp } from "./components/kpi-card/kpi-card.js";
138
+ import { useTheme as Yp } from "./lib/theme.hook.js";
139
+ import { cn as Jp } from "./lib/utils.js";
140
+ import { Z2PopoverTrigger as Qp } from "./components/collapsible-side-nav-bar/popover/popover-trigger.js";
141
+ import { Z2PopoverContent as $p } from "./components/collapsible-side-nav-bar/popover/popover-content.js";
141
142
  export {
142
143
  p as Alert,
143
144
  m as AlertCirclesIcon,
144
145
  n as AlertDescription,
145
146
  f as AlertTitle,
146
- Kr as ApartmentBuildingIcon,
147
- ta as ArrowLeftIcon,
148
- Lr as Avatar,
149
- Xe as AvatarCell,
150
- Mr as AvatarWithLabel,
151
- Br as Badge,
152
- Fe as BooleanCell,
147
+ Qr as ApartmentBuildingIcon,
148
+ pa as ArrowLeftIcon,
149
+ J as ArrowsThroughLineY,
150
+ Pr as Avatar,
151
+ Ye as AvatarCell,
152
+ Rr as AvatarWithLabel,
153
+ vr as Badge,
154
+ Ge as BooleanCell,
153
155
  x as Button,
154
- mp as COLOR_PALETTES,
155
- ma as ChainIcon,
156
- ep as Chart,
157
- tp as ChartCard,
158
- Yr as CheckIcon,
159
- ro as CheckboxFilter,
160
- Ye as ChevronDownIcon,
161
- $r as ChevronLeftIcon,
162
- et as ChevronRightIcon,
163
- tt as CircleCheckFilledIcon,
164
- pt as CircleCheckIcon,
156
+ xp as COLOR_PALETTES,
157
+ xa as ChainIcon,
158
+ tp as Chart,
159
+ pp as ChartCard,
160
+ $r as CheckIcon,
161
+ ao as CheckboxFilter,
162
+ $e as ChevronDownIcon,
163
+ et as ChevronLeftIcon,
164
+ tt as ChevronRightIcon,
165
+ pt as CircleCheckFilledIcon,
166
+ ft as CircleCheckIcon,
165
167
  _ as CirclesIcon,
166
- Er as ColumnReOrder,
167
- j as CountryFlags,
168
- Uo as DEFAULT_ACCEPT,
169
- Me as DEFAULT_EMPTY_MESSAGE,
170
- Lp as DEFAULT_MAP_CONFIG,
168
+ kr as ColumnReOrder,
169
+ oo as CountryFlags,
170
+ qo as DEFAULT_ACCEPT,
171
+ Re as DEFAULT_EMPTY_MESSAGE,
172
+ Pp as DEFAULT_MAP_CONFIG,
171
173
  O as DatabaseCopy,
172
174
  G as DatabaseCopyIcon,
173
- fa as DescendingSortingIcon,
174
- We as DescriptionCell,
175
- ft as DotsIcon,
176
- mt as DoubleChevronLeftIcon,
177
- xt as DoubleChevronRightIcon,
178
- ut as DragHandleIcon,
179
- so as DropdownContext,
180
- pp as EmptyState,
181
- xa as EraserIcon,
182
- np as ErrorState,
183
- Vo as FileUploadArea,
184
- pa as FilterIcon,
185
- ct as HomeIcon,
186
- Ct as InfoIcon,
187
- qo as Input,
188
- Vp as KpiCard,
189
- ze as LabelCell,
190
- St as LeftArrowIcon,
191
- ua as LeftSquareBracketIcon,
192
- Ge as LinkCell,
193
- Tt as LinkIcon,
194
- gt as ListTreeIcon,
195
- fp as LoadingState,
196
- Mp as MAP_VARIANTS,
197
- cr as MagnifierIcon,
198
- Np as MapControls,
199
- Ap as MapPinComponent,
200
- yp as MapPinContent,
201
- Op as MapStyleControl,
202
- _p as MapZoomControl,
203
- Bt as MediaRecordIcon,
204
- ht as MinusIcon,
205
- Jo as NavHeader,
206
- Qo as NavItem,
207
- He as NumberCell,
208
- Mt as OctagonWarningIcon,
209
- Pp as PIN_SIZES,
210
- Cr as PaginationInfo,
211
- Sr as PaginationQuickJumper,
212
- Rt as PinIcon,
213
- va as Popconfirm,
214
- Ta as Popover,
215
- Da as PopoverAnchor,
216
- xe as PopoverCompact,
217
- ga as PopoverContent,
218
- wa as PopoverTrigger,
219
- ca as RightSquareBracketIcon,
220
- K as SIDEBAR_WIDTH,
221
- Q as SIDEBAR_WIDTH_COLLAPSED,
222
- Ca as SegmentedControl,
223
- Sa as SegmentedControlItem,
175
+ ma as DescendingSortingIcon,
176
+ Xe as DescriptionCell,
177
+ mt as DotsIcon,
178
+ xt as DoubleChevronLeftIcon,
179
+ ut as DoubleChevronRightIcon,
180
+ ct as DragHandleIcon,
181
+ bo as DropdownContext,
182
+ fp as EmptyState,
183
+ ua as EraserIcon,
184
+ lp as ErrorState,
185
+ Uo as FileUploadArea,
186
+ fa as FilterIcon,
187
+ Ct as HomeIcon,
188
+ St as InfoIcon,
189
+ zo as Input,
190
+ Up as KpiCard,
191
+ Je as LabelCell,
192
+ It as LeftArrowIcon,
193
+ ca as LeftSquareBracketIcon,
194
+ We as LinkCell,
195
+ Dt as LinkIcon,
196
+ ht as ListTreeIcon,
197
+ mp as LoadingState,
198
+ Rp as MAP_VARIANTS,
199
+ Cr as MagnifierIcon,
200
+ _p as MapControls,
201
+ yp as MapPinComponent,
202
+ Np as MapPinContent,
203
+ Vp as MapStyleControl,
204
+ Op as MapZoomControl,
205
+ vt as MediaRecordIcon,
206
+ Mt as MinusIcon,
207
+ Ko as NavHeader,
208
+ jo as NavItem,
209
+ Fe as NumberCell,
210
+ Rt as OctagonWarningIcon,
211
+ Ap as PIN_SIZES,
212
+ Sr as PaginationInfo,
213
+ Ir as PaginationQuickJumper,
214
+ Et as PinIcon,
215
+ La as Popconfirm,
216
+ Da as Popover,
217
+ wa as PopoverAnchor,
218
+ ue as PopoverCompact,
219
+ ha as PopoverContent,
220
+ Ba as PopoverTrigger,
221
+ Ca as RightSquareBracketIcon,
222
+ Q as SIDEBAR_WIDTH,
223
+ j as SIDEBAR_WIDTH_COLLAPSED,
224
+ Sa as SegmentedControl,
225
+ Ia as SegmentedControlItem,
224
226
  q as SidebarLeftShowCopy,
225
- z as SidebarLeftShowCopyIcon,
226
- Et as SitemapIcon,
227
- kt as SliderIcon,
227
+ Y as SidebarLeftShowCopyIcon,
228
+ kt as SitemapIcon,
229
+ Ht as SliderIcon,
228
230
  k as SubNavIndicator,
229
231
  N as SubNavIndicatorIcon,
230
- Pe as TABLE_CSS_CLASSES,
231
- De as Table,
232
- Be as TableBody,
233
- gr as TableCard,
234
- ke as TableCell,
235
- $t as TableCols2Icon,
236
- Ae as TableContext,
237
- xr as TableFooter,
238
- ur as TableFooterContent,
239
- Ke as TableHeader,
240
- mr as TableHeaderContent,
241
- fr as TableHeaderWrapper,
242
- tr as TableLoadingState,
243
- er as TableMessageState,
244
- pr as TablePagination,
245
- ge as TableProvider,
246
- $e as TableRow,
247
- kr as TreeCheckboxSelect,
248
- ea as TriangleWarningIcon,
249
- dp as UI_COLORS,
250
- Ht as UploadIcon,
251
- Yt as Vector3Icon,
252
- Ft as VectorIcon,
232
+ Ae as TABLE_CSS_CLASSES,
233
+ we as Table,
234
+ ve as TableBody,
235
+ hr as TableCard,
236
+ He as TableCell,
237
+ ea as TableCols2Icon,
238
+ ye as TableContext,
239
+ ur as TableFooter,
240
+ cr as TableFooterContent,
241
+ Qe as TableHeader,
242
+ xr as TableHeaderContent,
243
+ mr as TableHeaderWrapper,
244
+ pr as TableLoadingState,
245
+ tr as TableMessageState,
246
+ fr as TablePagination,
247
+ he as TableProvider,
248
+ er as TableRow,
249
+ Hr as TreeCheckboxSelect,
250
+ ta as TriangleWarningIcon,
251
+ ip as UI_COLORS,
252
+ Ft as UploadIcon,
253
+ $t as Vector3Icon,
254
+ Gt as VectorIcon,
253
255
  W as WindowLeftCopy,
254
256
  U as WindowLeftCopyIcon,
255
- Wt as XIcon,
256
- Gt as XMarkIcon,
257
- Hr as Z2Breadcrumb,
258
- _r as Z2BreadcrumbEllipsis,
259
- Fr as Z2BreadcrumbItem,
260
- Or as Z2BreadcrumbLink,
261
- Gr as Z2BreadcrumbList,
262
- Vr as Z2BreadcrumbPage,
263
- Wr as Z2BreadcrumbSeparator,
264
- oo as Z2Checkbox,
265
- Kt as Z2DataIcon,
266
- ao as Z2Dialog,
267
- po as Z2DialogClose,
268
- no as Z2DialogContent,
269
- fo as Z2DialogDescription,
270
- lo as Z2DialogFooter,
271
- mo as Z2DialogHeader,
272
- xo as Z2DialogOverlay,
273
- io as Z2DialogPortal,
274
- uo as Z2DialogTitle,
275
- Zo as Z2DialogTrigger,
276
- Co as Z2Dropdown,
277
- bo as Z2DropdownContent,
278
- So as Z2DropdownInput,
279
- Io as Z2DropdownItem,
280
- vo as Z2DropdownMenu,
281
- ho as Z2DropdownMenuCheckboxItem,
282
- Lo as Z2DropdownMenuContent,
283
- Mo as Z2DropdownMenuGroup,
284
- Po as Z2DropdownMenuItem,
285
- Ro as Z2DropdownMenuLabel,
286
- Ao as Z2DropdownMenuPortal,
287
- Eo as Z2DropdownMenuRadioGroup,
288
- yo as Z2DropdownMenuRadioItem,
289
- ko as Z2DropdownMenuSeparator,
290
- No as Z2DropdownMenuShortcut,
291
- Ho as Z2DropdownMenuSub,
292
- _o as Z2DropdownMenuSubContent,
293
- Fo as Z2DropdownMenuSubTrigger,
294
- Oo as Z2DropdownMenuTrigger,
295
- To as Z2DropdownSub,
296
- Do as Z2DropdownSubContent,
297
- go as Z2DropdownSubItem,
298
- wo as Z2DropdownSubTrigger,
299
- Xt as Z2Icon,
300
- vp as Z2Map,
257
+ Xt as XIcon,
258
+ Wt as XMarkIcon,
259
+ Fr as Z2Breadcrumb,
260
+ Or as Z2BreadcrumbEllipsis,
261
+ Gr as Z2BreadcrumbItem,
262
+ Vr as Z2BreadcrumbLink,
263
+ Wr as Z2BreadcrumbList,
264
+ Ur as Z2BreadcrumbPage,
265
+ Xr as Z2BreadcrumbSeparator,
266
+ ro as Z2Checkbox,
267
+ Qt as Z2DataIcon,
268
+ no as Z2Dialog,
269
+ fo as Z2DialogClose,
270
+ lo as Z2DialogContent,
271
+ mo as Z2DialogDescription,
272
+ xo as Z2DialogFooter,
273
+ io as Z2DialogHeader,
274
+ uo as Z2DialogOverlay,
275
+ Zo as Z2DialogPortal,
276
+ co as Z2DialogTitle,
277
+ so as Z2DialogTrigger,
278
+ So as Z2Dropdown,
279
+ To as Z2DropdownContent,
280
+ Io as Z2DropdownInput,
281
+ go as Z2DropdownItem,
282
+ Lo as Z2DropdownMenu,
283
+ Mo as Z2DropdownMenuCheckboxItem,
284
+ Po as Z2DropdownMenuContent,
285
+ Ro as Z2DropdownMenuGroup,
286
+ Ao as Z2DropdownMenuItem,
287
+ Eo as Z2DropdownMenuLabel,
288
+ yo as Z2DropdownMenuPortal,
289
+ ko as Z2DropdownMenuRadioGroup,
290
+ No as Z2DropdownMenuRadioItem,
291
+ Ho as Z2DropdownMenuSeparator,
292
+ _o as Z2DropdownMenuShortcut,
293
+ Fo as Z2DropdownMenuSub,
294
+ Oo as Z2DropdownMenuSubContent,
295
+ Go as Z2DropdownMenuSubTrigger,
296
+ Vo as Z2DropdownMenuTrigger,
297
+ Do as Z2DropdownSub,
298
+ wo as Z2DropdownSubContent,
299
+ ho as Z2DropdownSubItem,
300
+ Bo as Z2DropdownSubTrigger,
301
+ Yt as Z2Icon,
302
+ Lp as Z2Map,
301
303
  E as Z2Popover,
302
- Yp as Z2PopoverContent,
303
- Kp as Z2PopoverTrigger,
304
- wp as Z2RadioCard,
305
- Xr as Z2RadioGroup,
306
- qr as Z2RadioGroupIndicator,
307
- zr as Z2RadioGroupItem,
308
- jo as Z2Select,
309
- me as Z2SelectCompact,
310
- $o as Z2SelectContent,
311
- oe as Z2SelectGroup,
312
- ee as Z2SelectItem,
313
- re as Z2SelectLabel,
314
- te as Z2SelectScrollDownButton,
315
- ae as Z2SelectScrollUpButton,
316
- pe as Z2SelectSeparator,
317
- ne as Z2SelectTrigger,
318
- fe as Z2SelectValue,
304
+ $p as Z2PopoverContent,
305
+ Qp as Z2PopoverTrigger,
306
+ Bp as Z2RadioCard,
307
+ Yr as Z2RadioGroup,
308
+ zr as Z2RadioGroupIndicator,
309
+ Jr as Z2RadioGroupItem,
310
+ oe as Z2Select,
311
+ xe as Z2SelectCompact,
312
+ ee as Z2SelectContent,
313
+ re as Z2SelectGroup,
314
+ te as Z2SelectItem,
315
+ ae as Z2SelectLabel,
316
+ pe as Z2SelectScrollDownButton,
317
+ ne as Z2SelectScrollUpButton,
318
+ fe as Z2SelectSeparator,
319
+ le as Z2SelectTrigger,
320
+ me as Z2SelectValue,
319
321
  s as Z2SideNavBar,
320
- T as Z2SideNavBarContent,
321
- g as Z2SideNavBarFooter,
322
- B as Z2SideNavBarGroup,
322
+ I as Z2SideNavBarContent,
323
+ D as Z2SideNavBarFooter,
324
+ h as Z2SideNavBarGroup,
323
325
  S as Z2SideNavBarHeader,
324
- h as Z2SideNavBarItem,
326
+ v as Z2SideNavBarItem,
325
327
  Z as Z2SideNavBarProvider,
326
328
  M as Z2SideNavBarSeparator,
327
329
  C as Z2SidebarVariants,
328
- zt as Z2SlashIcon,
329
- ue as Z2Stepper,
330
- ce as Z2StepperItem,
331
- La as Z2Table,
332
- Ma as Z2TableBase,
333
- Pa as Z2TableBody,
334
- Ra as Z2TableBodyRow,
335
- Aa as Z2TableBodyRowCell,
336
- Ea as Z2TableBodyRowExpandded,
337
- ya as Z2TableBodyRowSkeleton,
338
- ka as Z2TableBodyRowSkeletonCell,
339
- $a as Z2TableColumnHeader,
340
- qa as Z2TableContainer,
341
- Na as Z2TableEmpty,
342
- Ha as Z2TableHead,
343
- _a as Z2TableHeadRow,
344
- Fa as Z2TableHeadRowCell,
345
- Oa as Z2TableHeadRowCellResize,
346
- Ga as Z2TableLoader,
347
- Ya as Z2TablePagination,
348
- za as Z2TableProvider,
349
- Ja as Z2TableRoot,
350
- Va as Z2TableRowSelect,
351
- Wa as Z2TableRowSelectAll,
352
- Ua as Z2TableRowSpacer,
353
- Ce as Z2Tabs,
354
- be as Z2TabsContent,
355
- Se as Z2TabsList,
356
- Ie as Z2TabsTrigger,
357
- Rr as Z2TextPreset,
358
- Tr as Z2Tooltip,
359
- vr as badgeVariants,
360
- sp as buildBarChartOptions,
361
- Ip as buildChartOptions,
362
- bp as buildLineChartOptions,
330
+ Jt as Z2SlashIcon,
331
+ ce as Z2Stepper,
332
+ Ce as Z2StepperItem,
333
+ Pa as Z2Table,
334
+ Ra as Z2TableBase,
335
+ Aa as Z2TableBody,
336
+ Ea as Z2TableBodyRow,
337
+ ya as Z2TableBodyRowCell,
338
+ ka as Z2TableBodyRowExpandded,
339
+ Na as Z2TableBodyRowSkeleton,
340
+ Ha as Z2TableBodyRowSkeletonCell,
341
+ ep as Z2TableColumnHeader,
342
+ za as Z2TableContainer,
343
+ _a as Z2TableEmpty,
344
+ Fa as Z2TableHead,
345
+ Oa as Z2TableHeadRow,
346
+ Ga as Z2TableHeadRowCell,
347
+ Va as Z2TableHeadRowCellResize,
348
+ Wa as Z2TableLoader,
349
+ $a as Z2TablePagination,
350
+ Ja as Z2TableProvider,
351
+ Ka as Z2TableRoot,
352
+ Ua as Z2TableRowSelect,
353
+ Xa as Z2TableRowSelectAll,
354
+ qa as Z2TableRowSpacer,
355
+ Se as Z2Tabs,
356
+ Te as Z2TabsContent,
357
+ Ie as Z2TabsList,
358
+ ge as Z2TabsTrigger,
359
+ Er as Z2TextPreset,
360
+ Dr as Z2Tooltip,
361
+ Lr as badgeVariants,
362
+ bp as buildBarChartOptions,
363
+ gp as buildChartOptions,
364
+ Tp as buildLineChartOptions,
363
365
  i as buttonVariants,
364
- zp as cn,
365
- he as extractCellValue,
366
- xp as getThemePalette,
367
- Tp as isChartTypeSupported,
368
- Wp as kpiCardVariants,
369
- Dp as registeredChartTypes,
370
- Ee as useTableContext,
371
- Xp as useTheme,
366
+ Jp as cn,
367
+ Me as extractCellValue,
368
+ up as getThemePalette,
369
+ Dp as isChartTypeSupported,
370
+ Xp as kpiCardVariants,
371
+ wp as registeredChartTypes,
372
+ ke as useTableContext,
373
+ Yp as useTheme,
372
374
  R as useZ2SideNavBar,
373
- Ka as useZ2Table,
374
- up as validateChartConfig,
375
- Zp as validateChartData
375
+ Qa as useZ2Table,
376
+ cp as validateChartConfig,
377
+ sp as validateChartData
376
378
  };
@@ -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 ArrowsThroughLineY({ fill, secondaryfill: _secondaryfill, strokewidth: _strokewidth, title, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
8
+ export default ArrowsThroughLineY;
@@ -15,4 +15,5 @@ export { default as CirclesIcon } from '../assets/icons/circles-icon';
15
15
  export { default as DatabaseCopy } from '../assets/icons/database-copy';
16
16
  export { default as WindowLeftCopy } from '../assets/icons/window-left-copy';
17
17
  export { default as SidebarLeftShowCopy } from '../assets/icons/sidebar-left-show-copy';
18
+ export { default as ArrowsThroughLineY } from '../assets/icons/arrows-through-line-y';
18
19
  export { SIDEBAR_WIDTH, SIDEBAR_WIDTH_COLLAPSED } from './constants';
@@ -2,10 +2,14 @@ import * as React from 'react';
2
2
  export interface Z2SideNavBarContextType {
3
3
  isCollapsed: boolean;
4
4
  toggleCollapsed: () => void;
5
+ enableEdit?: boolean;
6
+ onReorderClick?: () => void;
5
7
  }
6
8
  export interface Z2SideNavBarProviderProps {
7
9
  children: React.ReactNode;
8
10
  defaultCollapsed?: boolean;
11
+ enableEdit?: boolean;
12
+ onReorderClick?: () => void;
9
13
  style?: React.CSSProperties;
10
14
  className?: string;
11
15
  }
@@ -18,7 +18,7 @@ export type FileUploadAreaProps = {
18
18
  * Features:
19
19
  * - Drag and drop file upload
20
20
  * - Click to open file dialog
21
- * - Supports multiple file formats (default: CSV, XLS, XLSX)
21
+ * - Supports multiple file formats (default: CSV, XLSX)
22
22
  * - Supports multiple file selection
23
23
  * - Disabled state (blocks all interaction and changes style)
24
24
  * - Custom className for styling
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ztwoint/z-ui",
3
- "version": "0.1.142",
3
+ "version": "0.1.144",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",