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