@ztwoint/z-ui 0.1.83 → 0.1.85
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/dialog/dialog.js +5 -5
- package/dist/components/radio/z2-radio.js +72 -0
- package/dist/components/table/components/cell/avatar-cell.js +3 -2
- package/dist/components/table/table-provider.js +1 -0
- package/dist/components/table-card/table-card.js +14 -13
- package/dist/css/styles/tailwind.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +106 -102
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from './components/text-preset/text-preset';
|
|
|
22
22
|
export * from './components/column-reorder';
|
|
23
23
|
export * from './components/tree-checkbox-select';
|
|
24
24
|
export * from './components/breadcrumb/z2-breadcrumb';
|
|
25
|
+
export * from './components/radio/z2-radio';
|
|
25
26
|
export * from './components/assets/icons';
|
|
26
27
|
export * from './lib/theme.hook';
|
|
27
28
|
export * from './lib/utils';
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Alert as p, AlertDescription as n, AlertTitle as f } from "./components
|
|
|
3
3
|
import { AlertCirclesIcon as m } from "./components/alert/icons/circles-icon.js";
|
|
4
4
|
import { Button as x, buttonVariants as u } from "./components/button/button.js";
|
|
5
5
|
import { Z2SideNavBarProvider as c } from "./components/collapsible-side-nav-bar/side-nav-bar-provider.js";
|
|
6
|
-
import { Z2SideNavBar as s, Z2SidebarVariants as
|
|
6
|
+
import { Z2SideNavBar as s, Z2SidebarVariants as I } from "./components/collapsible-side-nav-bar/side-nav-bar.js";
|
|
7
7
|
import { Z2SideNavBarHeader as b } from "./components/collapsible-side-nav-bar/side-nav-bar-header.js";
|
|
8
8
|
import { Z2SideNavBarContent as D } from "./components/collapsible-side-nav-bar/side-nav-bar-content.js";
|
|
9
9
|
import { Z2SideNavBarFooter as T } from "./components/collapsible-side-nav-bar/side-nav-bar-footer.js";
|
|
@@ -13,19 +13,19 @@ import { Z2SideNavBarSeparator as h } from "./components/collapsible-side-nav-ba
|
|
|
13
13
|
import { useZ2SideNavBar as P } from "./components/collapsible-side-nav-bar/context.js";
|
|
14
14
|
import { Z2Popover as k } from "./components/collapsible-side-nav-bar/popover/popover.js";
|
|
15
15
|
import "react/jsx-runtime";
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
16
|
+
import { default as R, default as H } from "./components/assets/icons/sub-nav-indicator.js";
|
|
17
|
+
import { default as F } from "./components/assets/icons/circles-icon.js";
|
|
18
|
+
import { default as _, default as W } 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
20
|
import { default as J, default as Q } from "./components/assets/icons/sidebar-left-show-copy.js";
|
|
21
21
|
import { SIDEBAR_WIDTH as j, SIDEBAR_WIDTH_COLLAPSED as q } 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 fo, Z2DialogOverlay as lo, Z2DialogPortal as mo, Z2DialogTitle as xo, Z2DialogTrigger as uo } from "./components/dialog/dialog.js";
|
|
25
|
-
import { DropdownContext as co, Z2Dropdown as Zo, Z2DropdownContent as so, Z2DropdownInput as
|
|
26
|
-
import { Z2DropdownMenu as wo, Z2DropdownMenuCheckboxItem as vo, Z2DropdownMenuContent as Bo, Z2DropdownMenuGroup as Lo, Z2DropdownMenuItem as Mo, Z2DropdownMenuLabel as ho, Z2DropdownMenuPortal as Ao, Z2DropdownMenuRadioGroup as Po, Z2DropdownMenuRadioItem as No, Z2DropdownMenuSeparator as ko, Z2DropdownMenuShortcut as Eo, Z2DropdownMenuSub as
|
|
27
|
-
import { FileUploadArea as
|
|
28
|
-
import { DEFAULT_ACCEPT as
|
|
25
|
+
import { DropdownContext as co, Z2Dropdown as Zo, Z2DropdownContent as so, Z2DropdownInput as Io, Z2DropdownItem as So, Z2DropdownSub as bo, Z2DropdownSubContent as Co, Z2DropdownSubItem as Do, Z2DropdownSubTrigger as go } from "./components/dropdown/z2-dropdown.js";
|
|
26
|
+
import { Z2DropdownMenu as wo, Z2DropdownMenuCheckboxItem as vo, Z2DropdownMenuContent as Bo, Z2DropdownMenuGroup as Lo, Z2DropdownMenuItem as Mo, Z2DropdownMenuLabel as ho, Z2DropdownMenuPortal as Ao, Z2DropdownMenuRadioGroup as Po, Z2DropdownMenuRadioItem as No, Z2DropdownMenuSeparator as ko, Z2DropdownMenuShortcut as Eo, Z2DropdownMenuSub as Ro, Z2DropdownMenuSubContent as Ho, Z2DropdownMenuSubTrigger as yo, Z2DropdownMenuTrigger as Fo } from "./components/dropdown-menu/z2-dropdown-menu.js";
|
|
27
|
+
import { FileUploadArea as _o } from "./components/file-upload-area/file-upload-area.js";
|
|
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
30
|
import { NavHeader as Jo } from "./components/nav-header/nav-header.js";
|
|
31
31
|
import { NavItem as Yo } from "./components/nav-header/nav-item/nav-item.js";
|
|
@@ -33,7 +33,7 @@ import { Z2Select as qo, Z2SelectContent as zo, Z2SelectGroup as Ko, Z2SelectIte
|
|
|
33
33
|
import { Z2Stepper as fe } from "./components/stepper/stepper.js";
|
|
34
34
|
import { Z2StepperItem as me } from "./components/stepper-item/stepper-item.js";
|
|
35
35
|
import { Z2Tabs as xe, Z2TabsContent as ue, Z2TabsList as ie, Z2TabsTrigger as ce } from "./components/tab/tab.js";
|
|
36
|
-
import { Table as se, TableProvider as
|
|
36
|
+
import { Table as se, TableProvider as Ie } from "./components/table/table-provider.js";
|
|
37
37
|
import { TableBody as be } from "./components/table/table.js";
|
|
38
38
|
import { extractCellValue as De } from "./components/table/table.utils.js";
|
|
39
39
|
import { DEFAULT_EMPTY_MESSAGE as Te, TABLE_CSS_CLASSES as we } from "./components/table/table.const.js";
|
|
@@ -41,10 +41,10 @@ import { TableContext as Be, useTableContext as Le } from "./components/table/ta
|
|
|
41
41
|
import { TableCell as he } from "./components/table/components/table-cell.js";
|
|
42
42
|
import { NumberCell as Pe } from "./components/table/components/cell/number-cell.js";
|
|
43
43
|
import { BooleanCell as ke } from "./components/table/components/cell/boolean-cell.js";
|
|
44
|
-
import { LinkCell as
|
|
45
|
-
import { DescriptionCell as
|
|
46
|
-
import { AvatarCell as
|
|
47
|
-
import { LabelCell as
|
|
44
|
+
import { LinkCell as Re } from "./components/table/components/cell/link-cell.js";
|
|
45
|
+
import { DescriptionCell as ye } from "./components/table/components/cell/description-cell.js";
|
|
46
|
+
import { AvatarCell as Ge } from "./components/table/components/cell/avatar-cell.js";
|
|
47
|
+
import { LabelCell as We } 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
50
|
import { TableRow as Qe } from "./components/table/components/table-row.js";
|
|
@@ -60,107 +60,108 @@ import { PaginationInfo as xr } from "./components/table/components/pagination/c
|
|
|
60
60
|
import { PaginationQuickJumper as ir } from "./components/table/components/pagination/components/pagination-quick-jumper.js";
|
|
61
61
|
import "react";
|
|
62
62
|
import { Z2Tooltip as Zr } from "./components/tooltip/tooltip.js";
|
|
63
|
-
import { default as
|
|
63
|
+
import { default as Ir } from "./components/table-card/table-card.js";
|
|
64
64
|
import { Badge as br, badgeVariants as Cr } from "./components/badge/badge.js";
|
|
65
65
|
import { Avatar as gr, AvatarWithLabel as Tr } from "./components/avatar/avatar.js";
|
|
66
66
|
import { Z2TextPreset as vr } from "./components/text-preset/text-preset.js";
|
|
67
67
|
import { ColumnReOrder as Lr } from "./components/column-reorder/column-reorder.js";
|
|
68
68
|
import { default as hr } from "./components/tree-checkbox-select/TreeCheckboxSelect.js";
|
|
69
|
-
import { Z2Breadcrumb as Pr, Z2BreadcrumbEllipsis as Nr, Z2BreadcrumbItem as kr, Z2BreadcrumbLink as Er, Z2BreadcrumbList as
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
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 {
|
|
82
|
-
import {
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
69
|
+
import { Z2Breadcrumb as Pr, Z2BreadcrumbEllipsis as Nr, Z2BreadcrumbItem as kr, Z2BreadcrumbLink as Er, Z2BreadcrumbList as Rr, Z2BreadcrumbPage as Hr, Z2BreadcrumbSeparator as yr } from "./components/breadcrumb/z2-breadcrumb.js";
|
|
70
|
+
import { Z2RadioGroup as Gr, Z2RadioGroupIndicator as _r, Z2RadioGroupItem as Wr } from "./components/radio/z2-radio.js";
|
|
71
|
+
import { default as Ur } from "./components/assets/icons/apartment-building.js";
|
|
72
|
+
import { Check as Xr } from "./components/assets/icons/check.js";
|
|
73
|
+
import { default as Qr } from "./components/assets/icons/chevron-left.js";
|
|
74
|
+
import { default as jr } from "./components/assets/icons/chevron-right.js";
|
|
75
|
+
import { default as zr } from "./components/assets/icons/circle-check-filled.js";
|
|
76
|
+
import { default as $r } from "./components/assets/icons/circle-check.js";
|
|
77
|
+
import { default as et } from "./components/assets/icons/dots.js";
|
|
78
|
+
import { default as tt } from "./components/assets/icons/double-chevron-left.js";
|
|
79
|
+
import { default as pt } from "./components/assets/icons/double-chevron-right.js";
|
|
80
|
+
import { default as ft } from "./components/assets/icons/drag-handle.js";
|
|
81
|
+
import { default as mt } from "./components/assets/icons/home.js";
|
|
82
|
+
import { InfoIcon as xt } from "./components/assets/icons/info-icon.js";
|
|
83
|
+
import { default as it } from "./components/assets/icons/left-arrow.js";
|
|
84
|
+
import { default as Zt } from "./components/assets/icons/link.js";
|
|
85
|
+
import { default as It } from "./components/assets/icons/list-tree.js";
|
|
86
|
+
import { default as bt } from "./components/assets/icons/media-record.js";
|
|
87
|
+
import { Minus as Dt } from "./components/assets/icons/minus.js";
|
|
88
|
+
import { default as Tt } from "./components/assets/icons/octagon-warning-Copy.js";
|
|
89
|
+
import { default as vt } from "./components/assets/icons/pin.js";
|
|
90
|
+
import { default as Lt } from "./components/assets/icons/sitemap.js";
|
|
91
|
+
import { default as ht } from "./components/assets/icons/slider.js";
|
|
92
|
+
import { default as Pt } from "./components/assets/icons/upload.js";
|
|
93
|
+
import { default as kt } from "./components/assets/icons/vector.js";
|
|
94
|
+
import { XMark as Rt } from "./components/assets/icons/x-mark.js";
|
|
95
|
+
import { default as yt } from "./components/assets/icons/x.js";
|
|
96
|
+
import { default as Gt } from "./components/assets/icons/z2-icon.js";
|
|
97
|
+
import { default as Wt } from "./components/assets/icons/z2-slash.js";
|
|
98
|
+
import { default as Ut } from "./components/assets/icons/z2data.js";
|
|
99
|
+
import { useTheme as Xt } from "./lib/theme.hook.js";
|
|
100
|
+
import { cn as Qt } from "./lib/utils.js";
|
|
101
|
+
import { Z2PopoverTrigger as jt } from "./components/collapsible-side-nav-bar/popover/popover-trigger.js";
|
|
102
|
+
import { Z2PopoverContent as zt } from "./components/collapsible-side-nav-bar/popover/popover-content.js";
|
|
102
103
|
export {
|
|
103
104
|
p as Alert,
|
|
104
105
|
m as AlertCirclesIcon,
|
|
105
106
|
n as AlertDescription,
|
|
106
107
|
f as AlertTitle,
|
|
107
|
-
|
|
108
|
+
Ur as ApartmentBuildingIcon,
|
|
108
109
|
gr as Avatar,
|
|
109
|
-
|
|
110
|
+
Ge as AvatarCell,
|
|
110
111
|
Tr as AvatarWithLabel,
|
|
111
112
|
br as Badge,
|
|
112
113
|
ke as BooleanCell,
|
|
113
114
|
x as Button,
|
|
114
|
-
|
|
115
|
+
Xr as CheckIcon,
|
|
115
116
|
Xe as ChevronDownIcon,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
Qr as ChevronLeftIcon,
|
|
118
|
+
jr as ChevronRightIcon,
|
|
119
|
+
zr as CircleCheckFilledIcon,
|
|
120
|
+
$r as CircleCheckIcon,
|
|
121
|
+
F as CirclesIcon,
|
|
121
122
|
Lr as ColumnReOrder,
|
|
122
123
|
K as CountryFlags,
|
|
123
|
-
|
|
124
|
+
Vo as DEFAULT_ACCEPT,
|
|
124
125
|
Te as DEFAULT_EMPTY_MESSAGE,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
126
|
+
_ as DatabaseCopy,
|
|
127
|
+
W as DatabaseCopyIcon,
|
|
128
|
+
ye as DescriptionCell,
|
|
129
|
+
et as DotsIcon,
|
|
130
|
+
tt as DoubleChevronLeftIcon,
|
|
131
|
+
pt as DoubleChevronRightIcon,
|
|
132
|
+
ft as DragHandleIcon,
|
|
132
133
|
co as DropdownContext,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
_o as FileUploadArea,
|
|
135
|
+
mt as HomeIcon,
|
|
136
|
+
xt as InfoIcon,
|
|
136
137
|
Oo as Input,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
138
|
+
We as LabelCell,
|
|
139
|
+
it as LeftArrowIcon,
|
|
140
|
+
Re as LinkCell,
|
|
141
|
+
Zt as LinkIcon,
|
|
142
|
+
It as ListTreeIcon,
|
|
142
143
|
mr as MagnifierIcon,
|
|
143
|
-
|
|
144
|
-
|
|
144
|
+
bt as MediaRecordIcon,
|
|
145
|
+
Dt as MinusIcon,
|
|
145
146
|
Jo as NavHeader,
|
|
146
147
|
Yo as NavItem,
|
|
147
148
|
Pe as NumberCell,
|
|
148
|
-
|
|
149
|
+
Tt as OctagonWarningIcon,
|
|
149
150
|
xr as PaginationInfo,
|
|
150
151
|
ir as PaginationQuickJumper,
|
|
151
|
-
|
|
152
|
+
vt as PinIcon,
|
|
152
153
|
j as SIDEBAR_WIDTH,
|
|
153
154
|
q as SIDEBAR_WIDTH_COLLAPSED,
|
|
154
155
|
J as SidebarLeftShowCopy,
|
|
155
156
|
Q as SidebarLeftShowCopyIcon,
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
Lt as SitemapIcon,
|
|
158
|
+
ht as SliderIcon,
|
|
159
|
+
R as SubNavIndicator,
|
|
160
|
+
H as SubNavIndicatorIcon,
|
|
160
161
|
we as TABLE_CSS_CLASSES,
|
|
161
162
|
se as Table,
|
|
162
163
|
be as TableBody,
|
|
163
|
-
|
|
164
|
+
Ir as TableCard,
|
|
164
165
|
he as TableCell,
|
|
165
166
|
Be as TableContext,
|
|
166
167
|
pr as TableFooter,
|
|
@@ -171,24 +172,24 @@ export {
|
|
|
171
172
|
ze as TableLoadingState,
|
|
172
173
|
je as TableMessageState,
|
|
173
174
|
$e as TablePagination,
|
|
174
|
-
|
|
175
|
+
Ie as TableProvider,
|
|
175
176
|
Qe as TableRow,
|
|
176
177
|
hr as TreeCheckboxSelect,
|
|
177
|
-
|
|
178
|
-
|
|
178
|
+
Pt as UploadIcon,
|
|
179
|
+
kt as VectorIcon,
|
|
179
180
|
U as WindowLeftCopy,
|
|
180
181
|
O as WindowLeftCopyIcon,
|
|
181
|
-
|
|
182
|
-
|
|
182
|
+
yt as XIcon,
|
|
183
|
+
Rt as XMarkIcon,
|
|
183
184
|
Pr as Z2Breadcrumb,
|
|
184
185
|
Nr as Z2BreadcrumbEllipsis,
|
|
185
186
|
kr as Z2BreadcrumbItem,
|
|
186
187
|
Er as Z2BreadcrumbLink,
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
Rr as Z2BreadcrumbList,
|
|
189
|
+
Hr as Z2BreadcrumbPage,
|
|
190
|
+
yr as Z2BreadcrumbSeparator,
|
|
190
191
|
oo as Z2Checkbox,
|
|
191
|
-
|
|
192
|
+
Ut as Z2DataIcon,
|
|
192
193
|
ro as Z2Dialog,
|
|
193
194
|
to as Z2DialogClose,
|
|
194
195
|
ao as Z2DialogContent,
|
|
@@ -201,8 +202,8 @@ export {
|
|
|
201
202
|
uo as Z2DialogTrigger,
|
|
202
203
|
Zo as Z2Dropdown,
|
|
203
204
|
so as Z2DropdownContent,
|
|
204
|
-
|
|
205
|
-
|
|
205
|
+
Io as Z2DropdownInput,
|
|
206
|
+
So as Z2DropdownItem,
|
|
206
207
|
wo as Z2DropdownMenu,
|
|
207
208
|
vo as Z2DropdownMenuCheckboxItem,
|
|
208
209
|
Bo as Z2DropdownMenuContent,
|
|
@@ -214,18 +215,21 @@ export {
|
|
|
214
215
|
No as Z2DropdownMenuRadioItem,
|
|
215
216
|
ko as Z2DropdownMenuSeparator,
|
|
216
217
|
Eo as Z2DropdownMenuShortcut,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
218
|
+
Ro as Z2DropdownMenuSub,
|
|
219
|
+
Ho as Z2DropdownMenuSubContent,
|
|
220
|
+
yo as Z2DropdownMenuSubTrigger,
|
|
221
|
+
Fo as Z2DropdownMenuTrigger,
|
|
221
222
|
bo as Z2DropdownSub,
|
|
222
223
|
Co as Z2DropdownSubContent,
|
|
223
224
|
Do as Z2DropdownSubItem,
|
|
224
225
|
go as Z2DropdownSubTrigger,
|
|
225
|
-
|
|
226
|
+
Gt as Z2Icon,
|
|
226
227
|
k as Z2Popover,
|
|
227
|
-
|
|
228
|
-
|
|
228
|
+
zt as Z2PopoverContent,
|
|
229
|
+
jt as Z2PopoverTrigger,
|
|
230
|
+
Gr as Z2RadioGroup,
|
|
231
|
+
_r as Z2RadioGroupIndicator,
|
|
232
|
+
Wr as Z2RadioGroupItem,
|
|
229
233
|
qo as Z2Select,
|
|
230
234
|
zo as Z2SelectContent,
|
|
231
235
|
Ko as Z2SelectGroup,
|
|
@@ -244,8 +248,8 @@ export {
|
|
|
244
248
|
L as Z2SideNavBarItem,
|
|
245
249
|
c as Z2SideNavBarProvider,
|
|
246
250
|
h as Z2SideNavBarSeparator,
|
|
247
|
-
|
|
248
|
-
|
|
251
|
+
I as Z2SidebarVariants,
|
|
252
|
+
Wt as Z2SlashIcon,
|
|
249
253
|
fe as Z2Stepper,
|
|
250
254
|
me as Z2StepperItem,
|
|
251
255
|
xe as Z2Tabs,
|
|
@@ -256,9 +260,9 @@ export {
|
|
|
256
260
|
Zr as Z2Tooltip,
|
|
257
261
|
Cr as badgeVariants,
|
|
258
262
|
u as buttonVariants,
|
|
259
|
-
|
|
263
|
+
Qt as cn,
|
|
260
264
|
De as extractCellValue,
|
|
261
265
|
Le as useTableContext,
|
|
262
|
-
|
|
266
|
+
Xt as useTheme,
|
|
263
267
|
P as useZ2SideNavBar
|
|
264
268
|
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export * from './components/text-preset/text-preset';
|
|
|
23
23
|
export * from './components/column-reorder';
|
|
24
24
|
export * from './components/tree-checkbox-select';
|
|
25
25
|
export * from './components/breadcrumb/z2-breadcrumb';
|
|
26
|
+
export * from './components/radio/z2-radio';
|
|
26
27
|
export * from './components/assets/icons';
|
|
27
28
|
export * from './lib/theme.hook';
|
|
28
29
|
export * from './lib/utils';
|