@ztwoint/z-ui 0.1.107 → 0.1.109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/column-reorder/column-reorder.hook.js +9 -10
- package/dist/components/column-reorder/components/column-item/column-item.js +40 -81
- package/dist/components/dynamic-table/index.d.ts +4 -0
- package/dist/components/dynamic-table/z2-column-header.js +186 -0
- package/dist/components/dynamic-table/z2-table-context.js +98 -0
- package/dist/components/dynamic-table/z2-table-pagination.js +124 -0
- package/dist/components/dynamic-table/z2-table.d.ts +1 -1
- package/dist/components/dynamic-table/z2-table.js +408 -0
- package/dist/components/skeleton/skeleton.js +16 -0
- package/dist/components/table/components/cell/avatar-cell.js +4 -2
- package/dist/components/table/table-provider.js +2 -0
- package/dist/components/table-card/table-card.js +11 -9
- package/dist/css/styles/tailwind.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +207 -180
- package/dist/types/components/dynamic-table/index.d.ts +4 -0
- package/dist/types/components/dynamic-table/z2-table.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -26,5 +26,6 @@ export * from './components/radio/z2-radio';
|
|
|
26
26
|
export * from './components/assets/icons';
|
|
27
27
|
export * from './components/segmented-control';
|
|
28
28
|
export * from './components/popover/popover';
|
|
29
|
+
export * from './components/dynamic-table';
|
|
29
30
|
export * from './lib/theme.hook';
|
|
30
31
|
export * from './lib/utils';
|
package/dist/index.js
CHANGED
|
@@ -1,260 +1,264 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
import { Alert as p, AlertDescription as
|
|
2
|
+
import { Alert as p, AlertDescription as l, AlertTitle as n } from "./components/alert/alert.js";
|
|
3
3
|
import { AlertCirclesIcon as m } from "./components/alert/icons/circles-icon.js";
|
|
4
|
-
import { Button as x, buttonVariants as
|
|
5
|
-
import { Z2SideNavBarProvider as
|
|
6
|
-
import { Z2SideNavBar as
|
|
7
|
-
import { Z2SideNavBarHeader as
|
|
8
|
-
import { Z2SideNavBarContent as
|
|
9
|
-
import { Z2SideNavBarFooter as
|
|
10
|
-
import { Z2SideNavBarGroup as
|
|
4
|
+
import { Button as x, buttonVariants as i } from "./components/button/button.js";
|
|
5
|
+
import { Z2SideNavBarProvider as Z } from "./components/collapsible-side-nav-bar/side-nav-bar-provider.js";
|
|
6
|
+
import { Z2SideNavBar as s, Z2SidebarVariants as b } from "./components/collapsible-side-nav-bar/side-nav-bar.js";
|
|
7
|
+
import { Z2SideNavBarHeader as I } from "./components/collapsible-side-nav-bar/side-nav-bar-header.js";
|
|
8
|
+
import { Z2SideNavBarContent as C } 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
11
|
import { Z2SideNavBarItem as L } from "./components/collapsible-side-nav-bar/side-nav-bar-item.js";
|
|
12
|
-
import { Z2SideNavBarSeparator as
|
|
13
|
-
import { useZ2SideNavBar as
|
|
14
|
-
import { Z2Popover as
|
|
12
|
+
import { Z2SideNavBarSeparator as M } from "./components/collapsible-side-nav-bar/side-nav-bar-separator.js";
|
|
13
|
+
import { useZ2SideNavBar as h } from "./components/collapsible-side-nav-bar/context.js";
|
|
14
|
+
import { Z2Popover as y } from "./components/collapsible-side-nav-bar/popover/popover.js";
|
|
15
15
|
import "react/jsx-runtime";
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
16
|
+
import { default as H, default as E } from "./components/assets/icons/sub-nav-indicator.js";
|
|
17
|
+
import { default as F } from "./components/assets/icons/circles-icon.js";
|
|
18
18
|
import { default as W, default as _ } from "./components/assets/icons/database-copy.js";
|
|
19
19
|
import { default as U, default as O } from "./components/assets/icons/window-left-copy.js";
|
|
20
|
-
import { default as
|
|
21
|
-
import { SIDEBAR_WIDTH as
|
|
20
|
+
import { default as z, default as J } from "./components/assets/icons/sidebar-left-show-copy.js";
|
|
21
|
+
import { SIDEBAR_WIDTH as Y, SIDEBAR_WIDTH_COLLAPSED as j } 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
|
-
import { Z2Dialog as ro, Z2DialogClose as to, Z2DialogContent as ao, Z2DialogDescription as po, Z2DialogFooter as
|
|
25
|
-
import { DropdownContext as
|
|
26
|
-
import { Z2DropdownMenu as wo, Z2DropdownMenuCheckboxItem as
|
|
24
|
+
import { Z2Dialog as ro, Z2DialogClose as to, Z2DialogContent as ao, Z2DialogDescription as po, Z2DialogFooter as lo, Z2DialogHeader as no, 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 bo, Z2DropdownItem as To, Z2DropdownSub as Io, Z2DropdownSubContent as So, Z2DropdownSubItem as Co, Z2DropdownSubTrigger as Do } from "./components/dropdown/z2-dropdown.js";
|
|
26
|
+
import { Z2DropdownMenu as wo, Z2DropdownMenuCheckboxItem as Bo, Z2DropdownMenuContent as vo, Z2DropdownMenuGroup as Lo, Z2DropdownMenuItem as Ro, Z2DropdownMenuLabel as Mo, Z2DropdownMenuPortal as Po, Z2DropdownMenuRadioGroup as ho, Z2DropdownMenuRadioItem as Ao, Z2DropdownMenuSeparator as yo, Z2DropdownMenuShortcut as ko, Z2DropdownMenuSub as Ho, Z2DropdownMenuSubContent as Eo, Z2DropdownMenuSubTrigger as No, Z2DropdownMenuTrigger as Fo } from "./components/dropdown-menu/z2-dropdown-menu.js";
|
|
27
27
|
import { FileUploadArea as Wo } 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 Oo } from "./components/input/input.js";
|
|
30
|
-
import { NavHeader as
|
|
31
|
-
import { NavItem as
|
|
32
|
-
import { Z2Select as
|
|
33
|
-
import { Z2Stepper as
|
|
30
|
+
import { NavHeader as zo } from "./components/nav-header/nav-header.js";
|
|
31
|
+
import { NavItem as Qo } from "./components/nav-header/nav-item/nav-item.js";
|
|
32
|
+
import { Z2Select as jo, Z2SelectContent as qo, 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 { Z2Stepper as ne } from "./components/stepper/stepper.js";
|
|
34
34
|
import { Z2StepperItem as me } from "./components/stepper-item/stepper-item.js";
|
|
35
|
-
import { Z2Tabs as xe, Z2TabsContent as
|
|
36
|
-
import { Table as
|
|
37
|
-
import { TableBody as
|
|
38
|
-
import { extractCellValue as
|
|
39
|
-
import { DEFAULT_EMPTY_MESSAGE as
|
|
40
|
-
import { TableContext as
|
|
41
|
-
import { TableCell as
|
|
42
|
-
import { NumberCell as
|
|
43
|
-
import { BooleanCell as
|
|
44
|
-
import { LinkCell as
|
|
45
|
-
import { DescriptionCell as
|
|
35
|
+
import { Z2Tabs as xe, Z2TabsContent as ie, Z2TabsList as ue, Z2TabsTrigger as Ze } from "./components/tab/tab.js";
|
|
36
|
+
import { Table as se, TableProvider as be } from "./components/table/table-provider.js";
|
|
37
|
+
import { TableBody as Ie } from "./components/table/table.js";
|
|
38
|
+
import { extractCellValue as Ce } from "./components/table/table.utils.js";
|
|
39
|
+
import { DEFAULT_EMPTY_MESSAGE as ge, TABLE_CSS_CLASSES as we } from "./components/table/table.const.js";
|
|
40
|
+
import { TableContext as ve, useTableContext as Le } from "./components/table/table.context.js";
|
|
41
|
+
import { TableCell as Me } from "./components/table/components/table-cell.js";
|
|
42
|
+
import { NumberCell as he } from "./components/table/components/cell/number-cell.js";
|
|
43
|
+
import { BooleanCell as ye } from "./components/table/components/cell/boolean-cell.js";
|
|
44
|
+
import { LinkCell as He } from "./components/table/components/cell/link-cell.js";
|
|
45
|
+
import { DescriptionCell as Ne } from "./components/table/components/cell/description-cell.js";
|
|
46
46
|
import { AvatarCell as Ge } from "./components/table/components/cell/avatar-cell.js";
|
|
47
47
|
import { LabelCell as _e } from "./components/table/components/cell/label-cell.js";
|
|
48
48
|
import { TableHeader as Ue } from "./components/table/components/table-header/table-header.js";
|
|
49
49
|
import { default as Xe } from "./components/assets/icons/chevron-down.js";
|
|
50
|
-
import { TableRow as
|
|
51
|
-
import { TableMessageState as
|
|
52
|
-
import { TableLoadingState as
|
|
50
|
+
import { TableRow as Je } from "./components/table/components/table-row.js";
|
|
51
|
+
import { TableMessageState as Ye } from "./components/table/components/table-message-state.js";
|
|
52
|
+
import { TableLoadingState as qe } from "./components/table/components/table-loading-state.js";
|
|
53
53
|
import { Pagination as $e } from "./components/table/components/pagination/pagination.js";
|
|
54
54
|
import { TableHeaderWrapper as er } from "./components/table/components/table-header-wrapper.js";
|
|
55
55
|
import { TableHeaderContent as tr } from "./components/table/components/table-header-content.js";
|
|
56
56
|
import { TableFooter as pr } from "./components/table/components/table-footer.js";
|
|
57
|
-
import { TableFooterContent as
|
|
57
|
+
import { TableFooterContent as nr } from "./components/table/components/table-footer-content.js";
|
|
58
58
|
import { MagnifierIcon as mr } from "./components/assets/icons/magnifier-icon.js";
|
|
59
59
|
import { PaginationInfo as xr } from "./components/table/components/pagination/components/pagination-info.js";
|
|
60
|
-
import { PaginationQuickJumper as
|
|
60
|
+
import { PaginationQuickJumper as ur } from "./components/table/components/pagination/components/pagination-quick-jumper.js";
|
|
61
61
|
import "react";
|
|
62
|
-
import { Z2Tooltip as
|
|
63
|
-
import { default as
|
|
64
|
-
import { Badge as
|
|
65
|
-
import { Avatar as
|
|
66
|
-
import { Z2TextPreset as
|
|
62
|
+
import { Z2Tooltip as cr } from "./components/tooltip/tooltip.js";
|
|
63
|
+
import { default as br } from "./components/table-card/table-card.js";
|
|
64
|
+
import { Badge as Ir, badgeVariants as Sr } from "./components/badge/badge.js";
|
|
65
|
+
import { Avatar as Dr, AvatarWithLabel as gr } from "./components/avatar/avatar.js";
|
|
66
|
+
import { Z2TextPreset as Br } from "./components/text-preset/text-preset.js";
|
|
67
67
|
import { ColumnReOrder as Lr } from "./components/column-reorder/column-reorder.js";
|
|
68
|
-
import { default as
|
|
69
|
-
import { Z2Breadcrumb as
|
|
68
|
+
import { default as Mr } from "./components/tree-checkbox-select/TreeCheckboxSelect.js";
|
|
69
|
+
import { Z2Breadcrumb as hr, Z2BreadcrumbEllipsis as Ar, Z2BreadcrumbItem as yr, Z2BreadcrumbLink as kr, Z2BreadcrumbList as Hr, Z2BreadcrumbPage as Er, Z2BreadcrumbSeparator as Nr } from "./components/breadcrumb/z2-breadcrumb.js";
|
|
70
70
|
import { Z2RadioGroup as Gr, Z2RadioGroupIndicator as Wr, Z2RadioGroupItem as _r } from "./components/radio/z2-radio.js";
|
|
71
71
|
import { default as Ur } from "./components/assets/icons/apartment-building.js";
|
|
72
72
|
import { Check as Xr } from "./components/assets/icons/check.js";
|
|
73
|
-
import { default as
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
73
|
+
import { default as Jr } from "./components/assets/icons/chevron-left.js";
|
|
74
|
+
import { default as Yr } from "./components/assets/icons/chevron-right.js";
|
|
75
|
+
import { default as qr } from "./components/assets/icons/circle-check-filled.js";
|
|
76
76
|
import { default as $r } from "./components/assets/icons/circle-check.js";
|
|
77
77
|
import { default as et } from "./components/assets/icons/dots.js";
|
|
78
78
|
import { default as tt } from "./components/assets/icons/double-chevron-left.js";
|
|
79
79
|
import { default as pt } from "./components/assets/icons/double-chevron-right.js";
|
|
80
|
-
import { default as
|
|
80
|
+
import { default as nt } from "./components/assets/icons/drag-handle.js";
|
|
81
81
|
import { default as mt } from "./components/assets/icons/home.js";
|
|
82
82
|
import { InfoIcon as xt } from "./components/assets/icons/info-icon.js";
|
|
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
|
|
83
|
+
import { default as ut } from "./components/assets/icons/left-arrow.js";
|
|
84
|
+
import { default as ct } from "./components/assets/icons/link.js";
|
|
85
|
+
import { default as bt } from "./components/assets/icons/list-tree.js";
|
|
86
|
+
import { default as It } from "./components/assets/icons/media-record.js";
|
|
87
|
+
import { Minus as Ct } from "./components/assets/icons/minus.js";
|
|
88
|
+
import { default as gt } from "./components/assets/icons/octagon-warning-Copy.js";
|
|
89
|
+
import { default as Bt } from "./components/assets/icons/pin.js";
|
|
90
90
|
import { default as Lt } from "./components/assets/icons/sitemap.js";
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import { XMark as
|
|
95
|
-
import { default as
|
|
91
|
+
import { default as Mt } from "./components/assets/icons/slider.js";
|
|
92
|
+
import { default as ht } from "./components/assets/icons/upload.js";
|
|
93
|
+
import { default as yt } from "./components/assets/icons/vector.js";
|
|
94
|
+
import { XMark as Ht } from "./components/assets/icons/x-mark.js";
|
|
95
|
+
import { default as Nt } from "./components/assets/icons/x.js";
|
|
96
96
|
import { default as Gt } from "./components/assets/icons/z2-icon.js";
|
|
97
97
|
import { default as _t } 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 { default as
|
|
101
|
-
import { default as
|
|
102
|
-
import { default as
|
|
100
|
+
import { default as Jt } from "./components/assets/icons/table-cols-2.js";
|
|
101
|
+
import { default as Yt } from "./components/assets/icons/triangle-warning.js";
|
|
102
|
+
import { default as qt } from "./components/assets/icons/arrow-left.js";
|
|
103
103
|
import { default as $t } from "./components/assets/icons/filter-icon.js";
|
|
104
104
|
import { default as ea } from "./components/assets/icons/descending.js";
|
|
105
105
|
import { default as ta } from "./components/assets/icons/chain.js";
|
|
106
106
|
import { SegmentedControl as pa } from "./components/segmented-control/controller.js";
|
|
107
|
-
import { SegmentedControlItem as
|
|
108
|
-
import { Popover as ma, PopoverAnchor as da, PopoverContent as xa, PopoverTrigger as
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
107
|
+
import { SegmentedControlItem as na } from "./components/segmented-control/item.js";
|
|
108
|
+
import { Popover as ma, PopoverAnchor as da, PopoverContent as xa, PopoverTrigger as ia } from "./components/popover/popover.js";
|
|
109
|
+
import { Z2Table as Za, Z2TableBase as ca, Z2TableBody as sa, Z2TableBodyRow as ba, Z2TableBodyRowCell as Ta, Z2TableBodyRowExpandded as Ia, Z2TableBodyRowSkeleton as Sa, Z2TableBodyRowSkeletonCell as Ca, Z2TableEmpty as Da, Z2TableHead as ga, Z2TableHeadRow as wa, Z2TableHeadRowCell as Ba, Z2TableHeadRowCellResize as va, Z2TableLoader as La, Z2TableRowSelect as Ra, Z2TableRowSelectAll as Ma, Z2TableRowSpacer as Pa } from "./components/dynamic-table/z2-table.js";
|
|
110
|
+
import { Z2TableContainer as Aa, Z2TableProvider as ya, Z2TableRoot as ka, useZ2Table as Ha } from "./components/dynamic-table/z2-table-context.js";
|
|
111
|
+
import { Z2TablePagination as Na } from "./components/dynamic-table/z2-table-pagination.js";
|
|
112
|
+
import { Z2TableColumnHeader as Ga } from "./components/dynamic-table/z2-column-header.js";
|
|
113
|
+
import { useTheme as _a } from "./lib/theme.hook.js";
|
|
114
|
+
import { cn as Ua } from "./lib/utils.js";
|
|
115
|
+
import { Z2PopoverTrigger as Xa } from "./components/collapsible-side-nav-bar/popover/popover-trigger.js";
|
|
116
|
+
import { Z2PopoverContent as Ja } from "./components/collapsible-side-nav-bar/popover/popover-content.js";
|
|
113
117
|
export {
|
|
114
118
|
p as Alert,
|
|
115
119
|
m as AlertCirclesIcon,
|
|
116
|
-
|
|
117
|
-
|
|
120
|
+
l as AlertDescription,
|
|
121
|
+
n as AlertTitle,
|
|
118
122
|
Ur as ApartmentBuildingIcon,
|
|
119
|
-
|
|
120
|
-
|
|
123
|
+
qt as ArrowLeftIcon,
|
|
124
|
+
Dr as Avatar,
|
|
121
125
|
Ge as AvatarCell,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
126
|
+
gr as AvatarWithLabel,
|
|
127
|
+
Ir as Badge,
|
|
128
|
+
ye as BooleanCell,
|
|
125
129
|
x as Button,
|
|
126
130
|
ta as ChainIcon,
|
|
127
131
|
Xr as CheckIcon,
|
|
128
132
|
Xe as ChevronDownIcon,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
133
|
+
Jr as ChevronLeftIcon,
|
|
134
|
+
Yr as ChevronRightIcon,
|
|
135
|
+
qr as CircleCheckFilledIcon,
|
|
132
136
|
$r as CircleCheckIcon,
|
|
133
|
-
|
|
137
|
+
F as CirclesIcon,
|
|
134
138
|
Lr as ColumnReOrder,
|
|
135
139
|
K as CountryFlags,
|
|
136
140
|
Vo as DEFAULT_ACCEPT,
|
|
137
|
-
|
|
141
|
+
ge as DEFAULT_EMPTY_MESSAGE,
|
|
138
142
|
W as DatabaseCopy,
|
|
139
143
|
_ as DatabaseCopyIcon,
|
|
140
144
|
ea as DescendingSortingIcon,
|
|
141
|
-
|
|
145
|
+
Ne as DescriptionCell,
|
|
142
146
|
et as DotsIcon,
|
|
143
147
|
tt as DoubleChevronLeftIcon,
|
|
144
148
|
pt as DoubleChevronRightIcon,
|
|
145
|
-
|
|
146
|
-
|
|
149
|
+
nt as DragHandleIcon,
|
|
150
|
+
Zo as DropdownContext,
|
|
147
151
|
Wo as FileUploadArea,
|
|
148
152
|
$t as FilterIcon,
|
|
149
153
|
mt as HomeIcon,
|
|
150
154
|
xt as InfoIcon,
|
|
151
155
|
Oo as Input,
|
|
152
156
|
_e as LabelCell,
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
+
ut as LeftArrowIcon,
|
|
158
|
+
He as LinkCell,
|
|
159
|
+
ct as LinkIcon,
|
|
160
|
+
bt as ListTreeIcon,
|
|
157
161
|
mr as MagnifierIcon,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
It as MediaRecordIcon,
|
|
163
|
+
Ct as MinusIcon,
|
|
164
|
+
zo as NavHeader,
|
|
165
|
+
Qo as NavItem,
|
|
166
|
+
he as NumberCell,
|
|
167
|
+
gt as OctagonWarningIcon,
|
|
164
168
|
xr as PaginationInfo,
|
|
165
|
-
|
|
166
|
-
|
|
169
|
+
ur as PaginationQuickJumper,
|
|
170
|
+
Bt as PinIcon,
|
|
167
171
|
ma as Popover,
|
|
168
172
|
da as PopoverAnchor,
|
|
169
173
|
xa as PopoverContent,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
174
|
+
ia as PopoverTrigger,
|
|
175
|
+
Y as SIDEBAR_WIDTH,
|
|
176
|
+
j as SIDEBAR_WIDTH_COLLAPSED,
|
|
173
177
|
pa as SegmentedControl,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
178
|
+
na as SegmentedControlItem,
|
|
179
|
+
z as SidebarLeftShowCopy,
|
|
180
|
+
J as SidebarLeftShowCopyIcon,
|
|
177
181
|
Lt as SitemapIcon,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
182
|
+
Mt as SliderIcon,
|
|
183
|
+
H as SubNavIndicator,
|
|
184
|
+
E as SubNavIndicatorIcon,
|
|
181
185
|
we as TABLE_CSS_CLASSES,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
se as Table,
|
|
187
|
+
Ie as TableBody,
|
|
188
|
+
br as TableCard,
|
|
189
|
+
Me as TableCell,
|
|
190
|
+
Jt as TableCols2Icon,
|
|
191
|
+
ve as TableContext,
|
|
188
192
|
pr as TableFooter,
|
|
189
|
-
|
|
193
|
+
nr as TableFooterContent,
|
|
190
194
|
Ue as TableHeader,
|
|
191
195
|
tr as TableHeaderContent,
|
|
192
196
|
er as TableHeaderWrapper,
|
|
193
|
-
|
|
194
|
-
|
|
197
|
+
qe as TableLoadingState,
|
|
198
|
+
Ye as TableMessageState,
|
|
195
199
|
$e as TablePagination,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
200
|
+
be as TableProvider,
|
|
201
|
+
Je as TableRow,
|
|
202
|
+
Mr as TreeCheckboxSelect,
|
|
203
|
+
Yt as TriangleWarningIcon,
|
|
204
|
+
ht as UploadIcon,
|
|
201
205
|
Xt as Vector3Icon,
|
|
202
|
-
|
|
206
|
+
yt as VectorIcon,
|
|
203
207
|
U as WindowLeftCopy,
|
|
204
208
|
O as WindowLeftCopyIcon,
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
209
|
+
Nt as XIcon,
|
|
210
|
+
Ht as XMarkIcon,
|
|
211
|
+
hr as Z2Breadcrumb,
|
|
212
|
+
Ar as Z2BreadcrumbEllipsis,
|
|
213
|
+
yr as Z2BreadcrumbItem,
|
|
214
|
+
kr as Z2BreadcrumbLink,
|
|
215
|
+
Hr as Z2BreadcrumbList,
|
|
216
|
+
Er as Z2BreadcrumbPage,
|
|
217
|
+
Nr as Z2BreadcrumbSeparator,
|
|
214
218
|
oo as Z2Checkbox,
|
|
215
219
|
Ut as Z2DataIcon,
|
|
216
220
|
ro as Z2Dialog,
|
|
217
221
|
to as Z2DialogClose,
|
|
218
222
|
ao as Z2DialogContent,
|
|
219
223
|
po as Z2DialogDescription,
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
224
|
+
lo as Z2DialogFooter,
|
|
225
|
+
no as Z2DialogHeader,
|
|
226
|
+
fo as Z2DialogOverlay,
|
|
223
227
|
mo as Z2DialogPortal,
|
|
224
228
|
xo as Z2DialogTitle,
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
229
|
+
io as Z2DialogTrigger,
|
|
230
|
+
co as Z2Dropdown,
|
|
231
|
+
so as Z2DropdownContent,
|
|
232
|
+
bo as Z2DropdownInput,
|
|
233
|
+
To as Z2DropdownItem,
|
|
230
234
|
wo as Z2DropdownMenu,
|
|
231
|
-
|
|
232
|
-
|
|
235
|
+
Bo as Z2DropdownMenuCheckboxItem,
|
|
236
|
+
vo as Z2DropdownMenuContent,
|
|
233
237
|
Lo as Z2DropdownMenuGroup,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
238
|
+
Ro as Z2DropdownMenuItem,
|
|
239
|
+
Mo as Z2DropdownMenuLabel,
|
|
240
|
+
Po as Z2DropdownMenuPortal,
|
|
241
|
+
ho as Z2DropdownMenuRadioGroup,
|
|
242
|
+
Ao as Z2DropdownMenuRadioItem,
|
|
243
|
+
yo as Z2DropdownMenuSeparator,
|
|
244
|
+
ko as Z2DropdownMenuShortcut,
|
|
245
|
+
Ho as Z2DropdownMenuSub,
|
|
246
|
+
Eo as Z2DropdownMenuSubContent,
|
|
247
|
+
No as Z2DropdownMenuSubTrigger,
|
|
248
|
+
Fo as Z2DropdownMenuTrigger,
|
|
249
|
+
Io as Z2DropdownSub,
|
|
250
|
+
So as Z2DropdownSubContent,
|
|
251
|
+
Co as Z2DropdownSubItem,
|
|
252
|
+
Do as Z2DropdownSubTrigger,
|
|
249
253
|
Gt as Z2Icon,
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
254
|
+
y as Z2Popover,
|
|
255
|
+
Ja as Z2PopoverContent,
|
|
256
|
+
Xa as Z2PopoverTrigger,
|
|
253
257
|
Gr as Z2RadioGroup,
|
|
254
258
|
Wr as Z2RadioGroupIndicator,
|
|
255
259
|
_r as Z2RadioGroupItem,
|
|
256
|
-
|
|
257
|
-
|
|
260
|
+
jo as Z2Select,
|
|
261
|
+
qo as Z2SelectContent,
|
|
258
262
|
Ko as Z2SelectGroup,
|
|
259
263
|
$o as Z2SelectItem,
|
|
260
264
|
oe as Z2SelectLabel,
|
|
@@ -263,29 +267,52 @@ export {
|
|
|
263
267
|
te as Z2SelectSeparator,
|
|
264
268
|
ae as Z2SelectTrigger,
|
|
265
269
|
pe as Z2SelectValue,
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
270
|
+
s as Z2SideNavBar,
|
|
271
|
+
C as Z2SideNavBarContent,
|
|
272
|
+
g as Z2SideNavBarFooter,
|
|
273
|
+
B as Z2SideNavBarGroup,
|
|
274
|
+
I as Z2SideNavBarHeader,
|
|
271
275
|
L as Z2SideNavBarItem,
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
276
|
+
Z as Z2SideNavBarProvider,
|
|
277
|
+
M as Z2SideNavBarSeparator,
|
|
278
|
+
b as Z2SidebarVariants,
|
|
275
279
|
_t as Z2SlashIcon,
|
|
276
|
-
|
|
280
|
+
ne as Z2Stepper,
|
|
277
281
|
me as Z2StepperItem,
|
|
282
|
+
Za as Z2Table,
|
|
283
|
+
ca as Z2TableBase,
|
|
284
|
+
sa as Z2TableBody,
|
|
285
|
+
ba as Z2TableBodyRow,
|
|
286
|
+
Ta as Z2TableBodyRowCell,
|
|
287
|
+
Ia as Z2TableBodyRowExpandded,
|
|
288
|
+
Sa as Z2TableBodyRowSkeleton,
|
|
289
|
+
Ca as Z2TableBodyRowSkeletonCell,
|
|
290
|
+
Ga as Z2TableColumnHeader,
|
|
291
|
+
Aa as Z2TableContainer,
|
|
292
|
+
Da as Z2TableEmpty,
|
|
293
|
+
ga as Z2TableHead,
|
|
294
|
+
wa as Z2TableHeadRow,
|
|
295
|
+
Ba as Z2TableHeadRowCell,
|
|
296
|
+
va as Z2TableHeadRowCellResize,
|
|
297
|
+
La as Z2TableLoader,
|
|
298
|
+
Na as Z2TablePagination,
|
|
299
|
+
ya as Z2TableProvider,
|
|
300
|
+
ka as Z2TableRoot,
|
|
301
|
+
Ra as Z2TableRowSelect,
|
|
302
|
+
Ma as Z2TableRowSelectAll,
|
|
303
|
+
Pa as Z2TableRowSpacer,
|
|
278
304
|
xe as Z2Tabs,
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
305
|
+
ie as Z2TabsContent,
|
|
306
|
+
ue as Z2TabsList,
|
|
307
|
+
Ze as Z2TabsTrigger,
|
|
308
|
+
Br as Z2TextPreset,
|
|
309
|
+
cr as Z2Tooltip,
|
|
310
|
+
Sr as badgeVariants,
|
|
311
|
+
i as buttonVariants,
|
|
312
|
+
Ua as cn,
|
|
313
|
+
Ce as extractCellValue,
|
|
288
314
|
Le as useTableContext,
|
|
289
|
-
|
|
290
|
-
|
|
315
|
+
_a as useTheme,
|
|
316
|
+
h as useZ2SideNavBar,
|
|
317
|
+
Ha as useZ2Table
|
|
291
318
|
};
|
|
@@ -39,7 +39,7 @@ declare function Z2TableBodyRow<TData>({ children, row, dndRef, dndStyle, }: {
|
|
|
39
39
|
}): import("react/jsx-runtime").JSX.Element;
|
|
40
40
|
declare function Z2TableBodyRowExpandded<TData>({ row }: {
|
|
41
41
|
row: Row<TData>;
|
|
42
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
43
43
|
declare function Z2TableBodyRowCell<TData>({ children, cell, dndRef, dndStyle, }: {
|
|
44
44
|
children: ReactNode;
|
|
45
45
|
cell: Cell<TData, unknown>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -27,5 +27,6 @@ export * from './components/radio/z2-radio';
|
|
|
27
27
|
export * from './components/assets/icons';
|
|
28
28
|
export * from './components/segmented-control';
|
|
29
29
|
export * from './components/popover/popover';
|
|
30
|
+
export * from './components/dynamic-table';
|
|
30
31
|
export * from './lib/theme.hook';
|
|
31
32
|
export * from './lib/utils';
|