@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.
@@ -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 { Z2Stepper as le } from "./components/stepper/stepper.js";
34
- import { Z2StepperItem as me } from "./components/stepper-item/stepper-item.js";
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 Ce } from "./components/table/table-provider.js";
37
- import { TableBody as Se } from "./components/table/table.js";
38
- import { extractCellValue as Te } 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 he } from "./components/table/table.context.js";
41
- import { TableCell as Me } from "./components/table/components/table-cell.js";
42
- import { NumberCell as Re } from "./components/table/components/cell/number-cell.js";
43
- import { BooleanCell as Ee } from "./components/table/components/cell/boolean-cell.js";
44
- import { LinkCell as ke } from "./components/table/components/cell/link-cell.js";
45
- import { DescriptionCell as He } from "./components/table/components/cell/description-cell.js";
46
- import { AvatarCell as Fe } from "./components/table/components/cell/avatar-cell.js";
47
- import { LabelCell as Ge } from "./components/table/components/cell/label-cell.js";
48
- import { TableHeader as We } from "./components/table/components/table-header/table-header.js";
49
- import { default as Xe } from "./components/assets/icons/chevron-down.js";
50
- import { TableRow as ze } from "./components/table/components/table-row.js";
51
- import { TableMessageState as Qe } from "./components/table/components/table-message-state.js";
52
- import { TableLoadingState as je } from "./components/table/components/table-loading-state.js";
53
- import { Pagination as $e } from "./components/table/components/pagination/pagination.js";
54
- import { TableHeaderWrapper as er } from "./components/table/components/table-header-wrapper.js";
55
- import { TableHeaderContent as tr } from "./components/table/components/table-header-content.js";
56
- import { TableFooter as pr } from "./components/table/components/table-footer.js";
57
- import { TableFooterContent as lr } from "./components/table/components/table-footer-content.js";
58
- import { MagnifierIcon as mr } from "./components/assets/icons/magnifier-icon.js";
59
- import { PaginationInfo as xr } from "./components/table/components/pagination/components/pagination-info.js";
60
- import { PaginationQuickJumper as ur } from "./components/table/components/pagination/components/pagination-quick-jumper.js";
33
+ import { Z2SelectCompact as le } from "./components/select-compact/select-compact.js";
34
+ import { Z2Stepper as me } from "./components/stepper/stepper.js";
35
+ import { Z2StepperItem as xe } from "./components/stepper-item/stepper-item.js";
36
+ import { Z2Tabs as ue, Z2TabsContent as Ze, Z2TabsList as ce, Z2TabsTrigger as se } from "./components/tab/tab.js";
37
+ import { Table as be, TableProvider as Se } from "./components/table/table-provider.js";
38
+ import { TableBody as Te } from "./components/table/table.js";
39
+ import { extractCellValue as ge } from "./components/table/table.utils.js";
40
+ import { DEFAULT_EMPTY_MESSAGE as Be, TABLE_CSS_CLASSES as ve } from "./components/table/table.const.js";
41
+ import { TableContext as Le, useTableContext as Me } from "./components/table/table.context.js";
42
+ import { TableCell as Re } from "./components/table/components/table-cell.js";
43
+ import { NumberCell as Ee } from "./components/table/components/cell/number-cell.js";
44
+ import { BooleanCell as ke } from "./components/table/components/cell/boolean-cell.js";
45
+ import { LinkCell as He } from "./components/table/components/cell/link-cell.js";
46
+ import { DescriptionCell as Fe } from "./components/table/components/cell/description-cell.js";
47
+ import { AvatarCell as Ge } from "./components/table/components/cell/avatar-cell.js";
48
+ import { LabelCell as We } from "./components/table/components/cell/label-cell.js";
49
+ import { TableHeader as Xe } from "./components/table/components/table-header/table-header.js";
50
+ import { default as ze } from "./components/assets/icons/chevron-down.js";
51
+ import { TableRow as Qe } from "./components/table/components/table-row.js";
52
+ import { TableMessageState as je } from "./components/table/components/table-message-state.js";
53
+ import { TableLoadingState as $e } from "./components/table/components/table-loading-state.js";
54
+ import { Pagination as er } from "./components/table/components/pagination/pagination.js";
55
+ import { TableHeaderWrapper as tr } from "./components/table/components/table-header-wrapper.js";
56
+ import { TableHeaderContent as pr } from "./components/table/components/table-header-content.js";
57
+ import { TableFooter as lr } from "./components/table/components/table-footer.js";
58
+ import { TableFooterContent as mr } from "./components/table/components/table-footer-content.js";
59
+ import { MagnifierIcon as xr } from "./components/assets/icons/magnifier-icon.js";
60
+ import { PaginationInfo as ur } from "./components/table/components/pagination/components/pagination-info.js";
61
+ import { PaginationQuickJumper as cr } from "./components/table/components/pagination/components/pagination-quick-jumper.js";
61
62
  import "react";
62
- import { Z2Tooltip as cr } from "./components/tooltip/tooltip.js";
63
- import { default as Cr } from "./components/table-card/table-card.js";
64
- import { Badge as Sr, badgeVariants as Ir } 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
- import { ColumnReOrder as hr } from "./components/column-reorder/column-reorder.js";
68
- import { default as Mr } from "./components/tree-checkbox-select/TreeCheckboxSelect.js";
69
- import { Z2Breadcrumb as Rr, Z2BreadcrumbEllipsis as Ar, Z2BreadcrumbItem as Er, Z2BreadcrumbLink as yr, Z2BreadcrumbList as kr, Z2BreadcrumbPage as Nr, Z2BreadcrumbSeparator as Hr } from "./components/breadcrumb/z2-breadcrumb.js";
70
- import { Z2RadioGroup as Fr, Z2RadioGroupIndicator as Or, Z2RadioGroupItem as Gr } from "./components/radio/z2-radio.js";
71
- import { default as Wr } from "./components/assets/icons/apartment-building.js";
72
- import { Check as Xr } from "./components/assets/icons/check.js";
73
- import { default as zr } from "./components/assets/icons/chevron-left.js";
74
- import { default as Qr } from "./components/assets/icons/chevron-right.js";
75
- import { default as jr } 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 lt } 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 ut } from "./components/assets/icons/left-arrow.js";
84
- import { default as ct } from "./components/assets/icons/link.js";
85
- import { default as Ct } from "./components/assets/icons/list-tree.js";
86
- import { default as St } from "./components/assets/icons/media-record.js";
87
- import { Minus as Tt } 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
- import { default as ht } from "./components/assets/icons/sitemap.js";
91
- import { default as Mt } from "./components/assets/icons/slider.js";
92
- import { default as Rt } from "./components/assets/icons/upload.js";
93
- import { default as Et } from "./components/assets/icons/vector.js";
94
- import { XMark as kt } from "./components/assets/icons/x-mark.js";
95
- import { default as Ht } from "./components/assets/icons/x.js";
96
- import { default as Ft } from "./components/assets/icons/z2-icon.js";
97
- import { default as Gt } from "./components/assets/icons/z2-slash.js";
98
- import { default as Wt } from "./components/assets/icons/z2data.js";
99
- import { default as Xt } from "./components/assets/icons/vector_3.js";
100
- import { default as zt } from "./components/assets/icons/table-cols-2.js";
101
- import { default as Qt } from "./components/assets/icons/triangle-warning.js";
102
- import { default as jt } from "./components/assets/icons/arrow-left.js";
103
- import { default as $t } from "./components/assets/icons/filter-icon.js";
104
- import { default as ea } from "./components/assets/icons/descending.js";
105
- import { default as ta } from "./components/assets/icons/chain.js";
106
- import { default as pa } from "./components/assets/icons/eraser.js";
107
- import { default as la } from "./components/assets/icons/left-square-bracket.js";
108
- import { default as ma } from "./components/assets/icons/right-square-bracket.js";
109
- import { SegmentedControl as xa } from "./components/segmented-control/controller.js";
110
- import { SegmentedControlItem as ua } from "./components/segmented-control/item.js";
111
- import { Popover as ca, PopoverAnchor as sa, PopoverContent as Ca, PopoverTrigger as ba } from "./components/popover/popover.js";
112
- import { Z2Table as Ia, Z2TableBase as Ta, Z2TableBody as Da, Z2TableBodyRow as ga, Z2TableBodyRowCell as wa, Z2TableBodyRowExpandded as Ba, Z2TableBodyRowSkeleton as va, Z2TableBodyRowSkeletonCell as ha, Z2TableEmpty as La, Z2TableHead as Ma, Z2TableHeadRow as Pa, Z2TableHeadRowCell as Ra, Z2TableHeadRowCellResize as Aa, Z2TableLoader as Ea, Z2TableRowSelect as ya, Z2TableRowSelectAll as ka, Z2TableRowSpacer as Na } from "./components/dynamic-table/z2-table.js";
113
- import { Z2TableContainer as _a, Z2TableProvider as Fa, Z2TableRoot as Oa, useZ2Table as Ga } from "./components/dynamic-table/z2-table-context.js";
114
- import { Z2TablePagination as Wa } from "./components/dynamic-table/z2-table-pagination.js";
115
- import { Z2TableColumnHeader as Xa } from "./components/dynamic-table/z2-column-header.js";
116
- import { Chart as za } from "./components/chart/chart.js";
117
- import { ChartCard as Qa } from "./components/chart-card/chart-card.js";
118
- import { EmptyState as ja, ErrorState as Ka, LoadingState as $a } from "./components/chart-card/chart-card-states.js";
119
- import { COLOR_PALETTES as ep, UI_COLORS as rp, getThemePalette as tp } from "./components/chart-card/config/colors.js";
120
- import { validateChartConfig as pp, validateChartData as np } from "./components/chart-card/validators/config-validator.js";
121
- import { buildBarChartOptions as fp } from "./components/chart-card/builders/bar-chart-builder.js";
122
- import { buildLineChartOptions as dp } from "./components/chart-card/builders/line-chart-builder.js";
123
- import { buildChartOptions as ip, isChartTypeSupported as up, registeredChartTypes as Zp } from "./components/chart-card/builders/chart-builder-factory.js";
124
- import { Z2RadioCard as sp } from "./components/radio-card/radio-card.js";
125
- import { default as bp } from "./components/z2map/map.js";
126
- import { DEFAULT_MAP_CONFIG as Ip, MAP_VARIANTS as Tp, PIN_SIZES as Dp } from "./components/z2map/map.constants.js";
127
- import { MapPinComponent as wp } from "./components/z2map/components/map-pin.js";
128
- import { MapPinContent as vp } from "./components/z2map/components/map-pin-content.js";
129
- import { MapControls as Lp } from "./components/z2map/components/map-controls.js";
130
- import { MapZoomControl as Pp } from "./components/z2map/components/map-zoom-control.js";
131
- import { MapStyleControl as Ap } from "./components/z2map/components/map-style-control.js";
132
- import { useTheme as yp } from "./lib/theme.hook.js";
133
- import { cn as Np } from "./lib/utils.js";
134
- import { Z2PopoverTrigger as _p } from "./components/collapsible-side-nav-bar/popover/popover-trigger.js";
135
- import { Z2PopoverContent as Op } from "./components/collapsible-side-nav-bar/popover/popover-content.js";
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
- Wr as ApartmentBuildingIcon,
142
- jt as ArrowLeftIcon,
143
- Dr as Avatar,
144
- Fe as AvatarCell,
145
- gr as AvatarWithLabel,
146
- Sr as Badge,
147
- Ee as BooleanCell,
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
- ep as COLOR_PALETTES,
150
- ta as ChainIcon,
151
- za as Chart,
152
- Qa as ChartCard,
153
- Xr as CheckIcon,
154
- Xe as ChevronDownIcon,
155
- zr as ChevronLeftIcon,
156
- Qr as ChevronRightIcon,
157
- jr as CircleCheckFilledIcon,
158
- $r as CircleCheckIcon,
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
- hr as ColumnReOrder,
161
+ Mr as ColumnReOrder,
161
162
  K as CountryFlags,
162
163
  Vo as DEFAULT_ACCEPT,
163
- ge as DEFAULT_EMPTY_MESSAGE,
164
- Ip as DEFAULT_MAP_CONFIG,
164
+ Be as DEFAULT_EMPTY_MESSAGE,
165
+ Dp as DEFAULT_MAP_CONFIG,
165
166
  O as DatabaseCopy,
166
167
  G as DatabaseCopyIcon,
167
- ea as DescendingSortingIcon,
168
- He as DescriptionCell,
169
- et as DotsIcon,
170
- tt as DoubleChevronLeftIcon,
171
- pt as DoubleChevronRightIcon,
172
- lt as DragHandleIcon,
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
- ja as EmptyState,
175
- pa as EraserIcon,
176
- Ka as ErrorState,
175
+ $a as EmptyState,
176
+ la as EraserIcon,
177
+ op as ErrorState,
177
178
  Oo as FileUploadArea,
178
- $t as FilterIcon,
179
- mt as HomeIcon,
180
- xt as InfoIcon,
179
+ ea as FilterIcon,
180
+ xt as HomeIcon,
181
+ ut as InfoIcon,
181
182
  Uo as Input,
182
- Ge as LabelCell,
183
- ut as LeftArrowIcon,
184
- la as LeftSquareBracketIcon,
185
- ke as LinkCell,
186
- ct as LinkIcon,
187
- Ct as ListTreeIcon,
188
- $a as LoadingState,
189
- Tp as MAP_VARIANTS,
190
- mr as MagnifierIcon,
191
- Lp as MapControls,
192
- wp as MapPinComponent,
193
- vp as MapPinContent,
194
- Ap as MapStyleControl,
195
- Pp as MapZoomControl,
196
- St as MediaRecordIcon,
197
- Tt as MinusIcon,
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
- Re as NumberCell,
201
- gt as OctagonWarningIcon,
202
- Dp as PIN_SIZES,
203
- xr as PaginationInfo,
204
- ur as PaginationQuickJumper,
205
- Bt as PinIcon,
206
- ca as Popover,
207
- sa as PopoverAnchor,
208
- Ca as PopoverContent,
209
- ba as PopoverTrigger,
210
- ma as RightSquareBracketIcon,
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
- xa as SegmentedControl,
214
- ua as SegmentedControlItem,
214
+ ua as SegmentedControl,
215
+ ca as SegmentedControlItem,
215
216
  q as SidebarLeftShowCopy,
216
217
  z as SidebarLeftShowCopyIcon,
217
- ht as SitemapIcon,
218
- Mt as SliderIcon,
218
+ Mt as SitemapIcon,
219
+ Rt as SliderIcon,
219
220
  k as SubNavIndicator,
220
221
  N as SubNavIndicatorIcon,
221
- we as TABLE_CSS_CLASSES,
222
- se as Table,
223
- Se as TableBody,
224
- Cr as TableCard,
225
- Me as TableCell,
226
- zt as TableCols2Icon,
227
- ve as TableContext,
228
- pr as TableFooter,
229
- lr as TableFooterContent,
230
- We as TableHeader,
231
- tr as TableHeaderContent,
232
- er as TableHeaderWrapper,
233
- je as TableLoadingState,
234
- Qe as TableMessageState,
235
- $e as TablePagination,
236
- Ce as TableProvider,
237
- ze as TableRow,
238
- Mr as TreeCheckboxSelect,
239
- Qt as TriangleWarningIcon,
240
- rp as UI_COLORS,
241
- Rt as UploadIcon,
242
- Xt as Vector3Icon,
243
- Et as VectorIcon,
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
- Ht as XIcon,
247
- kt as XMarkIcon,
248
- Rr as Z2Breadcrumb,
249
- Ar as Z2BreadcrumbEllipsis,
250
- Er as Z2BreadcrumbItem,
251
- yr as Z2BreadcrumbLink,
252
- kr as Z2BreadcrumbList,
253
- Nr as Z2BreadcrumbPage,
254
- Hr as Z2BreadcrumbSeparator,
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
- Wt as Z2DataIcon,
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
- Ft as Z2Icon,
291
- bp as Z2Map,
291
+ Gt as Z2Icon,
292
+ Ip as Z2Map,
292
293
  E as Z2Popover,
293
- Op as Z2PopoverContent,
294
- _p as Z2PopoverTrigger,
295
- sp as Z2RadioCard,
296
- Fr as Z2RadioGroup,
297
- Or as Z2RadioGroupIndicator,
298
- Gr as Z2RadioGroupItem,
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
- Gt as Z2SlashIcon,
319
- le as Z2Stepper,
320
- me as Z2StepperItem,
321
- Ia as Z2Table,
322
- Ta as Z2TableBase,
323
- Da as Z2TableBody,
324
- ga as Z2TableBodyRow,
325
- wa as Z2TableBodyRowCell,
326
- Ba as Z2TableBodyRowExpandded,
327
- va as Z2TableBodyRowSkeleton,
328
- ha as Z2TableBodyRowSkeletonCell,
329
- Xa as Z2TableColumnHeader,
330
- _a as Z2TableContainer,
331
- La as Z2TableEmpty,
332
- Ma as Z2TableHead,
333
- Pa as Z2TableHeadRow,
334
- Ra as Z2TableHeadRowCell,
335
- Aa as Z2TableHeadRowCellResize,
336
- Ea as Z2TableLoader,
337
- Wa as Z2TablePagination,
338
- Fa as Z2TableProvider,
339
- Oa as Z2TableRoot,
340
- ya as Z2TableRowSelect,
341
- ka as Z2TableRowSelectAll,
342
- Na as Z2TableRowSpacer,
343
- xe as Z2Tabs,
344
- ie as Z2TabsContent,
345
- ue as Z2TabsList,
346
- Ze as Z2TabsTrigger,
347
- Br as Z2TextPreset,
348
- cr as Z2Tooltip,
349
- Ir as badgeVariants,
350
- fp as buildBarChartOptions,
351
- ip as buildChartOptions,
352
- dp as buildLineChartOptions,
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
- Np as cn,
355
- Te as extractCellValue,
356
- tp as getThemePalette,
357
- up as isChartTypeSupported,
358
- Zp as registeredChartTypes,
359
- he as useTableContext,
360
- yp as useTheme,
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
- Ga as useZ2Table,
363
- pp as validateChartConfig,
364
- np as validateChartData
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 {};
@@ -11,6 +11,7 @@ export * from './components/file-upload-area';
11
11
  export * from './components/input/input';
12
12
  export * from './components/nav-header';
13
13
  export * from './components/select/z2-select';
14
+ export * from './components/select-compact/select-compact';
14
15
  export * from './components/stepper';
15
16
  export * from './components/stepper-item/stepper-item';
16
17
  export * from './components/tab/tab';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ztwoint/z-ui",
3
- "version": "0.1.124",
3
+ "version": "0.1.125",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",