@ledgerhq/lumen-ui-react 0.1.60 → 0.1.61

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/index.js CHANGED
@@ -8,7 +8,7 @@ import { resolveAvatarColor as C } from "./lib/Components/core/Avatar/resolveAva
8
8
  import { AvatarButton as S } from "./lib/Components/core/AvatarButton/AvatarButton.js";
9
9
  import { Banner as g } from "./lib/Components/core/Banner/Banner.js";
10
10
  import { Button as I } from "./lib/Components/core/Button/Button.js";
11
- import { Card as B, CardContent as D, CardContentDescription as M, CardContentRow as L, CardContentTitle as v, CardFooter as h, CardFooterActions as R, CardHeader as A, CardLeading as H, CardTrailing as P } from "./lib/Components/core/Card/Card.js";
11
+ import { Card as B, CardContent as D, CardContentDescription as M, CardContentRow as L, CardContentTitle as v, CardFooter as h, CardFooterActions as R, CardHeader as w, CardLeading as A, CardTrailing as H } from "./lib/Components/core/Card/Card.js";
12
12
  import { CardButton as y } from "./lib/Components/core/CardButton/CardButton.js";
13
13
  import { Checkbox as k } from "./lib/Components/core/Checkbox/Checkbox.js";
14
14
  import { ContentBanner as E, ContentBannerContent as F, ContentBannerDescription as O, ContentBannerTitle as z } from "./lib/Components/core/ContentBanner/ContentBanner.js";
@@ -27,39 +27,39 @@ import { getDotIndicatorProps as Be } from "./lib/Components/core/DotIndicator/g
27
27
  import { DotSymbol as Me } from "./lib/Components/core/DotSymbol/DotSymbol.js";
28
28
  import { getDotSymbolProps as ve } from "./lib/Components/core/DotSymbol/getDotSymbolProps.js";
29
29
  import { IconButton as Re } from "./lib/Components/core/IconButton/IconButton.js";
30
- import { InteractiveIcon as He } from "./lib/Components/core/InteractiveIcon/InteractiveIcon.js";
31
- import { Link as we } from "./lib/Components/core/Link/Link.js";
30
+ import { InteractiveIcon as Ae } from "./lib/Components/core/InteractiveIcon/InteractiveIcon.js";
31
+ import { Link as Pe } from "./lib/Components/core/Link/Link.js";
32
32
  import { ListItem as Ne, ListItemContent as ke, ListItemContentRow as Ge, ListItemDescription as Ee, ListItemLeading as Fe, ListItemTitle as Oe, ListItemTrailing as ze } from "./lib/Components/core/ListItem/ListItem.js";
33
33
  import { MediaBanner as _e, MediaBannerDescription as je, MediaBannerTitle as qe } from "./lib/Components/core/MediaBanner/MediaBanner.js";
34
34
  import { MediaButton as Ke } from "./lib/Components/core/MediaButton/MediaButton.js";
35
35
  import { MediaCard as Ue, MediaCardTitle as We } from "./lib/Components/core/MediaCard/MediaCard.js";
36
36
  import { MediaImage as Ye } from "./lib/Components/core/MediaImage/MediaImage.js";
37
37
  import { MediaTag as $e } from "./lib/Components/core/MediaTag/MediaTag.js";
38
- import { Menu as oo, MenuCheckboxItem as to, MenuContent as ro, MenuGroup as ao, MenuItem as no, MenuLabel as io, MenuRadioGroup as lo, MenuRadioItem as po, MenuSeparator as mo, MenuSub as To, MenuSubContent as xo, MenuSubTrigger as fo, MenuTrigger as Co, createMenuRadioGroup as co } from "./lib/Components/core/Menu/Menu.js";
39
- import { NavBar as uo, NavBarBackButton as go, NavBarCoinCapsule as bo, NavBarDescription as Io, NavBarLeading as so, NavBarTitle as Bo, NavBarTrailing as Do } from "./lib/Components/core/NavBar/NavBar.js";
40
- import { Popover as Lo, PopoverContent as vo, PopoverTrigger as ho, createPopoverHandle as Ro } from "./lib/Components/core/Popover/Popover.js";
38
+ import { Menu as oo, MenuCheckboxItem as to, MenuContent as ro, MenuGroup as ao, MenuItem as no, MenuLabel as io, MenuRadioGroup as lo, MenuRadioItem as po, MenuSeparator as mo, MenuSub as To, MenuSubContent as xo, MenuSubTrigger as fo, MenuSwitchItem as Co, MenuTrigger as co, createMenuRadioGroup as So } from "./lib/Components/core/Menu/Menu.js";
39
+ import { NavBar as go, NavBarBackButton as bo, NavBarCoinCapsule as Io, NavBarDescription as so, NavBarLeading as Bo, NavBarTitle as Do, NavBarTrailing as Mo } from "./lib/Components/core/NavBar/NavBar.js";
40
+ import { Popover as vo, PopoverContent as ho, PopoverTrigger as Ro, createPopoverHandle as wo } from "./lib/Components/core/Popover/Popover.js";
41
41
  import { PageIndicator as Ho } from "./lib/Components/core/PageIndicator/PageIndicator.js";
42
- import { Pagination as wo } from "./lib/Components/core/Pagination/Pagination.js";
43
- import { SearchInput as No } from "./lib/Components/core/SearchInput/SearchInput.js";
44
- import { SectionHeader as Go, SectionHeaderLeading as Eo, SectionHeaderTitle as Fo } from "./lib/Components/core/SectionHeader/SectionHeader.js";
45
- import { SegmentedControl as zo, SegmentedControlButton as Vo, createSegmentedControl as _o } from "./lib/Components/core/SegmentedControl/SegmentedControl.js";
46
- import { Select as qo, SelectContent as Jo, SelectEmptyState as Ko, SelectItem as Qo, SelectItemContent as Uo, SelectItemDescription as Wo, SelectItemText as Xo, SelectList as Yo, SelectSearch as Zo, SelectSeparator as $o, SelectTrigger as et, createSelect as ot } from "./lib/Components/core/Select/Select.js";
47
- import { SideBar as rt, SideBarCollapseToggle as at, SideBarItem as nt, SideBarLeading as it, SideBarTrailing as lt, createSideBar as pt } from "./lib/Components/core/SideBar/SideBar.js";
48
- import { Skeleton as dt } from "./lib/Components/core/Skeleton/Skeleton.js";
49
- import { Spinner as xt } from "./lib/Components/core/Spinner/Spinner.js";
50
- import { Spot as Ct } from "./lib/Components/core/Spot/Spot.js";
51
- import { Stepper as St } from "./lib/Components/core/Stepper/Stepper.js";
52
- import { Subheader as gt, SubheaderCount as bt, SubheaderDescription as It, SubheaderInfo as st, SubheaderRow as Bt, SubheaderShowMore as Dt, SubheaderTitle as Mt } from "./lib/Components/core/Subheader/Subheader.js";
53
- import { Switch as vt } from "./lib/Components/core/Switch/Switch.js";
54
- import { Table as Rt, TableActionBar as At, TableActionBarLeading as Ht, TableActionBarTrailing as Pt, TableBody as wt, TableCell as yt, TableCellContent as Nt, TableCellContentDescription as kt, TableCellContentRow as Gt, TableCellContentTitle as Et, TableCellItem as Ft, TableCol as Ot, TableColGroup as zt, TableGroupHeaderRow as Vt, TableHeader as _t, TableHeaderCell as jt, TableHeaderRow as qt, TableInfoIcon as Jt, TableLoadingRow as Kt, TableRoot as Qt, TableRow as Ut, TableSortButton as Wt } from "./lib/Components/core/Table/Table.js";
55
- import { Tag as Yt } from "./lib/Components/core/Tag/Tag.js";
56
- import { TextInput as $t } from "./lib/Components/core/TextInput/TextInput.js";
57
- import { Tile as or, TileContent as tr, TileDescription as rr, TileSecondaryAction as ar, TileTitle as nr, TileTrailingContent as ir } from "./lib/Components/core/Tile/Tile.js";
58
- import { TileButton as pr } from "./lib/Components/core/TileButton/TileButton.js";
59
- import { Tooltip as dr, TooltipContent as Tr, TooltipProvider as xr, TooltipTrigger as fr } from "./lib/Components/core/Tooltip/Tooltip.js";
60
- import { Trend as cr } from "./lib/Components/core/Trend/Trend.js";
61
- import { ThemeProvider as ur, useTheme as gr } from "./lib/Components/core/ThemeProvider/ThemeProvider.js";
62
- import { COLOR_SCHEMES as Ir } from "./lib/Components/core/ThemeProvider/ThemeProvider.types.js";
42
+ import { Pagination as yo } from "./lib/Components/core/Pagination/Pagination.js";
43
+ import { SearchInput as ko } from "./lib/Components/core/SearchInput/SearchInput.js";
44
+ import { SectionHeader as Eo, SectionHeaderLeading as Fo, SectionHeaderTitle as Oo } from "./lib/Components/core/SectionHeader/SectionHeader.js";
45
+ import { SegmentedControl as Vo, SegmentedControlButton as _o, createSegmentedControl as jo } from "./lib/Components/core/SegmentedControl/SegmentedControl.js";
46
+ import { Select as Jo, SelectContent as Ko, SelectEmptyState as Qo, SelectItem as Uo, SelectItemContent as Wo, SelectItemDescription as Xo, SelectItemText as Yo, SelectList as Zo, SelectSearch as $o, SelectSeparator as et, SelectTrigger as ot, createSelect as tt } from "./lib/Components/core/Select/Select.js";
47
+ import { SideBar as at, SideBarCollapseToggle as nt, SideBarItem as it, SideBarLeading as lt, SideBarTrailing as pt, createSideBar as mt } from "./lib/Components/core/SideBar/SideBar.js";
48
+ import { Skeleton as Tt } from "./lib/Components/core/Skeleton/Skeleton.js";
49
+ import { Spinner as ft } from "./lib/Components/core/Spinner/Spinner.js";
50
+ import { Spot as ct } from "./lib/Components/core/Spot/Spot.js";
51
+ import { Stepper as ut } from "./lib/Components/core/Stepper/Stepper.js";
52
+ import { Subheader as bt, SubheaderCount as It, SubheaderDescription as st, SubheaderInfo as Bt, SubheaderRow as Dt, SubheaderShowMore as Mt, SubheaderTitle as Lt } from "./lib/Components/core/Subheader/Subheader.js";
53
+ import { Switch as ht } from "./lib/Components/core/Switch/Switch.js";
54
+ import { Table as wt, TableActionBar as At, TableActionBarLeading as Ht, TableActionBarTrailing as Pt, TableBody as yt, TableCell as Nt, TableCellContent as kt, TableCellContentDescription as Gt, TableCellContentRow as Et, TableCellContentTitle as Ft, TableCellItem as Ot, TableCol as zt, TableColGroup as Vt, TableGroupHeaderRow as _t, TableHeader as jt, TableHeaderCell as qt, TableHeaderRow as Jt, TableInfoIcon as Kt, TableLoadingRow as Qt, TableRoot as Ut, TableRow as Wt, TableSortButton as Xt } from "./lib/Components/core/Table/Table.js";
55
+ import { Tag as Zt } from "./lib/Components/core/Tag/Tag.js";
56
+ import { TextInput as er } from "./lib/Components/core/TextInput/TextInput.js";
57
+ import { Tile as tr, TileContent as rr, TileDescription as ar, TileSecondaryAction as nr, TileTitle as ir, TileTrailingContent as lr } from "./lib/Components/core/Tile/Tile.js";
58
+ import { TileButton as mr } from "./lib/Components/core/TileButton/TileButton.js";
59
+ import { Tooltip as Tr, TooltipContent as xr, TooltipProvider as fr, TooltipTrigger as Cr } from "./lib/Components/core/Tooltip/Tooltip.js";
60
+ import { Trend as Sr } from "./lib/Components/core/Trend/Trend.js";
61
+ import { ThemeProvider as gr, useTheme as br } from "./lib/Components/core/ThemeProvider/ThemeProvider.js";
62
+ import { COLOR_SCHEMES as sr } from "./lib/Components/core/ThemeProvider/ThemeProvider.types.js";
63
63
  export {
64
64
  i as AddressInput,
65
65
  d as AmountDisplay,
@@ -68,7 +68,7 @@ export {
68
68
  S as AvatarButton,
69
69
  g as Banner,
70
70
  I as Button,
71
- Ir as COLOR_SCHEMES,
71
+ sr as COLOR_SCHEMES,
72
72
  B as Card,
73
73
  y as CardButton,
74
74
  D as CardContent,
@@ -77,9 +77,9 @@ export {
77
77
  v as CardContentTitle,
78
78
  h as CardFooter,
79
79
  R as CardFooterActions,
80
- A as CardHeader,
81
- H as CardLeading,
82
- P as CardTrailing,
80
+ w as CardHeader,
81
+ A as CardLeading,
82
+ H as CardTrailing,
83
83
  k as Checkbox,
84
84
  E as ContentBanner,
85
85
  F as ContentBannerContent,
@@ -107,9 +107,9 @@ export {
107
107
  Ie as DotIndicator,
108
108
  Me as DotSymbol,
109
109
  Re as IconButton,
110
- He as InteractiveIcon,
110
+ Ae as InteractiveIcon,
111
111
  t as Languages,
112
- we as Link,
112
+ Pe as Link,
113
113
  Ne as ListItem,
114
114
  ke as ListItemContent,
115
115
  Ge as ListItemContentRow,
@@ -137,95 +137,96 @@ export {
137
137
  To as MenuSub,
138
138
  xo as MenuSubContent,
139
139
  fo as MenuSubTrigger,
140
- Co as MenuTrigger,
141
- uo as NavBar,
142
- go as NavBarBackButton,
143
- bo as NavBarCoinCapsule,
144
- Io as NavBarDescription,
145
- so as NavBarLeading,
146
- Bo as NavBarTitle,
147
- Do as NavBarTrailing,
140
+ Co as MenuSwitchItem,
141
+ co as MenuTrigger,
142
+ go as NavBar,
143
+ bo as NavBarBackButton,
144
+ Io as NavBarCoinCapsule,
145
+ so as NavBarDescription,
146
+ Bo as NavBarLeading,
147
+ Do as NavBarTitle,
148
+ Mo as NavBarTrailing,
148
149
  Ho as PageIndicator,
149
- wo as Pagination,
150
- Lo as Popover,
151
- vo as PopoverContent,
152
- ho as PopoverTrigger,
153
- No as SearchInput,
154
- Go as SectionHeader,
155
- Eo as SectionHeaderLeading,
156
- Fo as SectionHeaderTitle,
157
- zo as SegmentedControl,
158
- Vo as SegmentedControlButton,
159
- qo as Select,
160
- Jo as SelectContent,
161
- Ko as SelectEmptyState,
162
- Qo as SelectItem,
163
- Uo as SelectItemContent,
164
- Wo as SelectItemDescription,
165
- Xo as SelectItemText,
166
- Yo as SelectList,
167
- Zo as SelectSearch,
168
- $o as SelectSeparator,
169
- et as SelectTrigger,
170
- rt as SideBar,
171
- at as SideBarCollapseToggle,
172
- nt as SideBarItem,
173
- it as SideBarLeading,
174
- lt as SideBarTrailing,
175
- dt as Skeleton,
176
- xt as Spinner,
177
- Ct as Spot,
178
- St as Stepper,
179
- gt as Subheader,
180
- bt as SubheaderCount,
181
- It as SubheaderDescription,
182
- st as SubheaderInfo,
183
- Bt as SubheaderRow,
184
- Dt as SubheaderShowMore,
185
- Mt as SubheaderTitle,
186
- vt as Switch,
187
- Rt as Table,
150
+ yo as Pagination,
151
+ vo as Popover,
152
+ ho as PopoverContent,
153
+ Ro as PopoverTrigger,
154
+ ko as SearchInput,
155
+ Eo as SectionHeader,
156
+ Fo as SectionHeaderLeading,
157
+ Oo as SectionHeaderTitle,
158
+ Vo as SegmentedControl,
159
+ _o as SegmentedControlButton,
160
+ Jo as Select,
161
+ Ko as SelectContent,
162
+ Qo as SelectEmptyState,
163
+ Uo as SelectItem,
164
+ Wo as SelectItemContent,
165
+ Xo as SelectItemDescription,
166
+ Yo as SelectItemText,
167
+ Zo as SelectList,
168
+ $o as SelectSearch,
169
+ et as SelectSeparator,
170
+ ot as SelectTrigger,
171
+ at as SideBar,
172
+ nt as SideBarCollapseToggle,
173
+ it as SideBarItem,
174
+ lt as SideBarLeading,
175
+ pt as SideBarTrailing,
176
+ Tt as Skeleton,
177
+ ft as Spinner,
178
+ ct as Spot,
179
+ ut as Stepper,
180
+ bt as Subheader,
181
+ It as SubheaderCount,
182
+ st as SubheaderDescription,
183
+ Bt as SubheaderInfo,
184
+ Dt as SubheaderRow,
185
+ Mt as SubheaderShowMore,
186
+ Lt as SubheaderTitle,
187
+ ht as Switch,
188
+ wt as Table,
188
189
  At as TableActionBar,
189
190
  Ht as TableActionBarLeading,
190
191
  Pt as TableActionBarTrailing,
191
- wt as TableBody,
192
- yt as TableCell,
193
- Nt as TableCellContent,
194
- kt as TableCellContentDescription,
195
- Gt as TableCellContentRow,
196
- Et as TableCellContentTitle,
197
- Ft as TableCellItem,
198
- Ot as TableCol,
199
- zt as TableColGroup,
200
- Vt as TableGroupHeaderRow,
201
- _t as TableHeader,
202
- jt as TableHeaderCell,
203
- qt as TableHeaderRow,
204
- Jt as TableInfoIcon,
205
- Kt as TableLoadingRow,
206
- Qt as TableRoot,
207
- Ut as TableRow,
208
- Wt as TableSortButton,
209
- Yt as Tag,
210
- $t as TextInput,
211
- ur as ThemeProvider,
212
- or as Tile,
213
- pr as TileButton,
214
- tr as TileContent,
215
- rr as TileDescription,
216
- ar as TileSecondaryAction,
217
- nr as TileTitle,
218
- ir as TileTrailingContent,
219
- dr as Tooltip,
220
- Tr as TooltipContent,
221
- xr as TooltipProvider,
222
- fr as TooltipTrigger,
223
- cr as Trend,
224
- co as createMenuRadioGroup,
225
- Ro as createPopoverHandle,
226
- _o as createSegmentedControl,
227
- ot as createSelect,
228
- pt as createSideBar,
192
+ yt as TableBody,
193
+ Nt as TableCell,
194
+ kt as TableCellContent,
195
+ Gt as TableCellContentDescription,
196
+ Et as TableCellContentRow,
197
+ Ft as TableCellContentTitle,
198
+ Ot as TableCellItem,
199
+ zt as TableCol,
200
+ Vt as TableColGroup,
201
+ _t as TableGroupHeaderRow,
202
+ jt as TableHeader,
203
+ qt as TableHeaderCell,
204
+ Jt as TableHeaderRow,
205
+ Kt as TableInfoIcon,
206
+ Qt as TableLoadingRow,
207
+ Ut as TableRoot,
208
+ Wt as TableRow,
209
+ Xt as TableSortButton,
210
+ Zt as Tag,
211
+ er as TextInput,
212
+ gr as ThemeProvider,
213
+ tr as Tile,
214
+ mr as TileButton,
215
+ rr as TileContent,
216
+ ar as TileDescription,
217
+ nr as TileSecondaryAction,
218
+ ir as TileTitle,
219
+ lr as TileTrailingContent,
220
+ Tr as Tooltip,
221
+ xr as TooltipContent,
222
+ fr as TooltipProvider,
223
+ Cr as TooltipTrigger,
224
+ Sr as Trend,
225
+ So as createMenuRadioGroup,
226
+ wo as createPopoverHandle,
227
+ jo as createSegmentedControl,
228
+ tt as createSelect,
229
+ mt as createSideBar,
229
230
  Se as dotIconSizeMap,
230
231
  ge as getDotIconProps,
231
232
  Be as getDotIndicatorProps,
@@ -233,5 +234,5 @@ export {
233
234
  C as resolveAvatarColor,
234
235
  a as useControllableState,
235
236
  K as useLumenDataTable,
236
- gr as useTheme
237
+ br as useTheme
237
238
  };
@@ -4,5 +4,5 @@ import { AmountInputProps } from './types';
4
4
  * This is a controlled component - both `value` and `onChange` props are required.
5
5
  * The currency text can be positioned either on the left or right side of the input.
6
6
  */
7
- export declare const AmountInput: ({ ref, className, size, align, currencyText, currencyPosition, disabled: disabledProp, maxIntegerLength, maxDecimalLength, allowDecimals, thousandsSeparator, decimalSeparator, value, onChange, ...props }: AmountInputProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const AmountInput: ({ ref, className, size, align, currencyText, currencyPosition, disabled: disabledProp, maxIntegerLength, maxDecimalLength, allowDecimals, thousandsSeparator, decimalSeparator, value, onChange, placeholder, ...props }: AmountInputProps) => import("react/jsx-runtime").JSX.Element;
8
8
  //# sourceMappingURL=AmountInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/core/AmountInput/AmountInput.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAmB,MAAM,SAAS,CAAC;AA0FjE;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,6MAgBzB,gBAAgB,4CAgFlB,CAAC"}
1
+ {"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/core/AmountInput/AmountInput.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAmB,MAAM,SAAS,CAAC;AA0FjE;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,0NAiBzB,gBAAgB,4CAmFlB,CAAC"}
@@ -1,10 +1,10 @@
1
- import { jsxs as R, jsx as a } from "react/jsx-runtime";
2
- import { useDisabledContext as k, useMergedRef as z, getFontSize as M, cn as p } from "../../../../libs/utils-shared/dist/index.js";
1
+ import { jsxs as z, jsx as a } from "react/jsx-runtime";
2
+ import { useDisabledContext as M, useMergedRef as D, getFontSize as F, cn as f } from "../../../../libs/utils-shared/dist/index.js";
3
3
  import { cva as i } from "class-variance-authority";
4
- import { useMemo as D } from "react";
5
- import { useAmountInputValue as F } from "./useAmountInputValue/useAmountInputValue.js";
6
- import { useAutoWidthInput as W } from "./useAutoWidthInput/useAutoWidthInput.js";
7
- const q = i(
4
+ import { useMemo as W } from "react";
5
+ import { useAmountInputValue as q } from "./useAmountInputValue/useAmountInputValue.js";
6
+ import { useAutoWidthInput as E } from "./useAutoWidthInput/useAutoWidthInput.js";
7
+ const O = i(
8
8
  [
9
9
  "bg-transparent caret-active outline-hidden transition-colors",
10
10
  "text-base placeholder:text-muted-subtle",
@@ -28,7 +28,7 @@ const q = i(
28
28
  isChanging: !1
29
29
  }
30
30
  }
31
- ), E = i(
31
+ ), B = i(
32
32
  [
33
33
  "cursor-text text-base",
34
34
  "group-has-[input:placeholder-shown]:text-muted-subtle",
@@ -46,7 +46,7 @@ const q = i(
46
46
  size: "md"
47
47
  }
48
48
  }
49
- ), O = i("invisible absolute whitespace-pre", {
49
+ ), G = i("invisible absolute whitespace-pre", {
50
50
  variants: {
51
51
  size: {
52
52
  md: "heading-0-semi-bold",
@@ -56,7 +56,7 @@ const q = i(
56
56
  defaultVariants: {
57
57
  size: "md"
58
58
  }
59
- }), B = i(
59
+ }), H = i(
60
60
  "group relative flex w-full items-center overflow-visible transition-transform",
61
61
  {
62
62
  variants: {
@@ -70,86 +70,88 @@ const q = i(
70
70
  align: "center"
71
71
  }
72
72
  }
73
- ), m = ({ size: r, style: o, children: e }) => /* @__PURE__ */ a("span", { className: p(E({ size: r }), "shrink-0"), style: o, children: e }), U = ({
73
+ ), c = ({ size: r, style: o, children: e }) => /* @__PURE__ */ a("span", { className: f(B({ size: r }), "shrink-0"), style: o, children: e }), Y = ({
74
74
  ref: r,
75
75
  className: o,
76
76
  size: e = "md",
77
- align: c = "center",
77
+ align: h = "center",
78
78
  currencyText: t,
79
79
  currencyPosition: l = "left",
80
- disabled: f,
81
- maxIntegerLength: h = 9,
82
- maxDecimalLength: g = 9,
83
- allowDecimals: b = !0,
84
- thousandsSeparator: v = !0,
85
- decimalSeparator: x = ".",
86
- value: w,
87
- onChange: y,
88
- ...S
80
+ disabled: g,
81
+ maxIntegerLength: b = 9,
82
+ maxDecimalLength: v = 9,
83
+ allowDecimals: x = !0,
84
+ thousandsSeparator: w = !0,
85
+ decimalSeparator: y = ".",
86
+ value: S,
87
+ onChange: C,
88
+ placeholder: d,
89
+ ...V
89
90
  }) => {
90
- const C = k({
91
+ const A = M({
91
92
  consumerName: "AmountInput",
92
- mergeWith: { disabled: f }
93
- }), { inputValue: n, isChanging: A, setIsChanging: V, handleChange: j } = F({
94
- value: w,
95
- onChange: y,
93
+ mergeWith: { disabled: g }
94
+ }), { inputValue: n, isChanging: j, setIsChanging: I, handleChange: N } = q({
95
+ value: S,
96
+ onChange: C,
96
97
  formatOptions: {
97
- allowDecimals: b,
98
- thousandsSeparator: v,
99
- maxIntegerLength: h,
100
- maxDecimalLength: g,
101
- decimalSeparator: x
98
+ allowDecimals: x,
99
+ thousandsSeparator: w,
100
+ maxIntegerLength: b,
101
+ maxDecimalLength: v,
102
+ decimalSeparator: y
102
103
  }
103
- }), { spanRef: I, inputRef: d } = W({
104
- inputValue: n,
104
+ }), u = n === "" ? d ?? "" : n, { spanRef: R, inputRef: m } = E({
105
+ inputValue: u,
105
106
  currencyText: t,
106
107
  size: e
107
- }), N = z(r, d), s = { fontSize: D(
108
- () => M(n, e) + "px",
108
+ }), k = D(r, m), s = { fontSize: W(
109
+ () => F(n, e) + "px",
109
110
  [n, e]
110
111
  ), letterSpacing: "normal" };
111
- return /* @__PURE__ */ R(
112
+ return /* @__PURE__ */ z(
112
113
  "div",
113
114
  {
114
- className: B({ align: c }),
115
+ className: H({ align: h }),
115
116
  onPointerDown: () => {
116
- const u = d.current;
117
- u && window.requestAnimationFrame(() => {
118
- u.focus();
117
+ const p = m.current;
118
+ p && window.requestAnimationFrame(() => {
119
+ p.focus();
119
120
  });
120
121
  },
121
122
  children: [
122
- t && l === "left" && /* @__PURE__ */ a(m, { size: e, style: s, children: t }),
123
+ t && l === "left" && /* @__PURE__ */ a(c, { size: e, style: s, children: t }),
123
124
  /* @__PURE__ */ a(
124
125
  "span",
125
126
  {
126
- ref: I,
127
- className: O({ size: e }),
127
+ ref: R,
128
+ className: G({ size: e }),
128
129
  "aria-hidden": "true",
129
130
  style: s,
130
- children: n
131
+ children: u
131
132
  }
132
133
  ),
133
134
  /* @__PURE__ */ a(
134
135
  "input",
135
136
  {
136
- ref: N,
137
+ ref: k,
137
138
  type: "text",
138
139
  inputMode: "decimal",
139
- disabled: C,
140
+ disabled: A,
140
141
  value: n,
141
- onChange: j,
142
- onAnimationEnd: () => V(!1),
143
- className: p(q({ size: e, isChanging: A }), o),
144
- ...S,
142
+ placeholder: d,
143
+ onChange: N,
144
+ onAnimationEnd: () => I(!1),
145
+ className: f(O({ size: e, isChanging: j }), o),
146
+ ...V,
145
147
  style: s
146
148
  }
147
149
  ),
148
- t && l === "right" && /* @__PURE__ */ a(m, { size: e, style: s, children: t })
150
+ t && l === "right" && /* @__PURE__ */ a(c, { size: e, style: s, children: t })
149
151
  ]
150
152
  }
151
153
  );
152
154
  };
153
155
  export {
154
- U as AmountInput
156
+ Y as AmountInput
155
157
  };
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { MenuProps, MenuTriggerProps, MenuContentProps, MenuItemProps, MenuCheckboxItemProps, MenuRadioItemProps, MenuRadioValue, MenuLabelProps, MenuSeparatorProps, MenuSubTriggerProps, MenuSubContentProps, MenuGroupProps, MenuRadioGroupProps, MenuSubProps } from './types';
2
+ import { MenuProps, MenuTriggerProps, MenuContentProps, MenuItemProps, MenuCheckboxItemProps, MenuSwitchItemProps, MenuRadioItemProps, MenuRadioValue, MenuLabelProps, MenuSeparatorProps, MenuSubTriggerProps, MenuSubContentProps, MenuGroupProps, MenuRadioGroupProps, MenuSubProps } from './types';
3
3
  declare function Menu({ ...props }: MenuProps): import("react/jsx-runtime").JSX.Element;
4
4
  declare const MenuTrigger: ({ ref, render, className, ...props }: MenuTriggerProps) => import("react/jsx-runtime").JSX.Element;
5
5
  declare function MenuGroup({ ...props }: MenuGroupProps): import("react/jsx-runtime").JSX.Element;
@@ -10,10 +10,11 @@ declare const MenuSubContent: ({ className, children }: MenuSubContentProps) =>
10
10
  declare const MenuContent: ({ side, sideOffset, align, alignOffset, sticky, className, children, }: MenuContentProps) => import("react/jsx-runtime").JSX.Element;
11
11
  declare const MenuItem: ({ ref, className, appearance, disabled: disabledProp, onClick, label, closeOnClick, ...props }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
12
12
  declare const MenuCheckboxItem: ({ ref, className, children, checked, defaultChecked, onCheckedChange, disabled: disabledProp, label, closeOnClick, ...props }: MenuCheckboxItemProps) => import("react/jsx-runtime").JSX.Element;
13
+ declare const MenuSwitchItem: ({ ref, className, children, checked: checkedProp, defaultChecked, onCheckedChange: onCheckedChangeProp, disabled: disabledProp, label, closeOnClick, ...props }: MenuSwitchItemProps) => import("react/jsx-runtime").JSX.Element;
13
14
  declare const MenuRadioItem: <T extends MenuRadioValue = MenuRadioValue>({ ref, className, children, disabled: disabledProp, ...props }: MenuRadioItemProps<T>) => import("react/jsx-runtime").JSX.Element;
14
15
  declare const MenuLabel: ({ ref, className, ...props }: MenuLabelProps) => import("react/jsx-runtime").JSX.Element;
15
16
  declare const MenuSeparator: ({ ref, className, ...props }: MenuSeparatorProps) => import("react/jsx-runtime").JSX.Element;
16
- export { Menu, MenuTrigger, MenuContent, MenuItem, MenuCheckboxItem, MenuRadioItem, MenuLabel, MenuSeparator, MenuGroup, MenuSub, MenuSubContent, MenuSubTrigger, MenuRadioGroup, };
17
+ export { Menu, MenuTrigger, MenuContent, MenuItem, MenuCheckboxItem, MenuSwitchItem, MenuRadioItem, MenuLabel, MenuSeparator, MenuGroup, MenuSub, MenuSubContent, MenuSubTrigger, MenuRadioGroup, };
17
18
  export declare function createMenuRadioGroup<T extends MenuRadioValue = never>(): {
18
19
  MenuRadioGroup: (props: MenuRadioGroupProps<T>) => ReactElement;
19
20
  MenuRadioItem: (props: MenuRadioItemProps<T>) => ReactElement;
@@ -1 +1 @@
1
- {"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/core/Menu/Menu.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,YAAY,EACb,MAAM,SAAS,CAAC;AAgEjB,iBAAS,IAAI,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,2CAEpC;AAED,QAAA,MAAM,WAAW,GAAI,sCAKlB,gBAAgB,4CAQlB,CAAC;AAEF,iBAAS,SAAS,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CAE9C;AAED,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,2CAE1C;AAED,iBAAS,cAAc,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,EAAE,EACjE,aAAa,EACb,GAAG,KAAK,EACT,EAAE,mBAAmB,CAAC,CAAC,CAAC,2CAQxB;AAED,QAAA,MAAM,cAAc,GAAI,wCAKrB,mBAAmB,4CAUrB,CAAC;AAEF,QAAA,MAAM,cAAc,GAAI,yBAAyB,mB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AAS,cAAc,GAAG,KAAK,KAAK;IACxE,cAAc,EAAE,CAAC,KAAK,EAAE,mBAAmB,CAAC,CAAC,CAAC,KAAK,YAAY,CAAC;IAChE,aAAa,EAAE,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAAK,YAAY,CAAC;CAC/D,CAEA"}
@@ -1,25 +1,27 @@
1
1
  import { jsx as t, jsxs as p } from "react/jsx-runtime";
2
- import { cn as n, useDisabledContext as b, DisabledProvider as f } from "../../../../libs/utils-shared/dist/index.js";
3
- import { cva as h } from "class-variance-authority";
4
- import { Check as g } from "../../symbols/icons/Check.js";
5
- import { Divider as C } from "../Divider/Divider.js";
6
- import { ChevronRight as R } from "../../symbols/icons/ChevronRight.js";
7
- import { MenuRoot as S } from "../../../../node_modules/@base-ui/react/esm/menu/root/MenuRoot.js";
8
- import { MenuTrigger as k } from "../../../../node_modules/@base-ui/react/esm/menu/trigger/MenuTrigger.js";
9
- import { MenuPortal as M } from "../../../../node_modules/@base-ui/react/esm/menu/portal/MenuPortal.js";
10
- import { MenuPositioner as x } from "../../../../node_modules/@base-ui/react/esm/menu/positioner/MenuPositioner.js";
11
- import { MenuPopup as N } from "../../../../node_modules/@base-ui/react/esm/menu/popup/MenuPopup.js";
12
- import { MenuItem as y } from "../../../../node_modules/@base-ui/react/esm/menu/item/MenuItem.js";
13
- import { MenuCheckboxItem as z } from "../../../../node_modules/@base-ui/react/esm/menu/checkbox-item/MenuCheckboxItem.js";
14
- import { MenuCheckboxItemIndicator as G } from "../../../../node_modules/@base-ui/react/esm/menu/checkbox-item-indicator/MenuCheckboxItemIndicator.js";
15
- import { MenuRadioItem as P } from "../../../../node_modules/@base-ui/react/esm/menu/radio-item/MenuRadioItem.js";
16
- import { MenuRadioItemIndicator as T } from "../../../../node_modules/@base-ui/react/esm/menu/radio-item-indicator/MenuRadioItemIndicator.js";
17
- import { MenuGroupLabel as $ } from "../../../../node_modules/@base-ui/react/esm/menu/group-label/MenuGroupLabel.js";
18
- import { MenuGroup as j } from "../../../../node_modules/@base-ui/react/esm/menu/group/MenuGroup.js";
19
- import { MenuSubmenuRoot as w } from "../../../../node_modules/@base-ui/react/esm/menu/submenu-root/MenuSubmenuRoot.js";
20
- import { MenuSubmenuTrigger as D } from "../../../../node_modules/@base-ui/react/esm/menu/submenu-trigger/MenuSubmenuTrigger.js";
21
- import { MenuRadioGroup as V } from "../../../../node_modules/@base-ui/react/esm/menu/radio-group/MenuRadioGroup.js";
22
- const v = h(
2
+ import { cn as r, useDisabledContext as b, DisabledProvider as h } from "../../../../libs/utils-shared/dist/index.js";
3
+ import { cva as M } from "class-variance-authority";
4
+ import { Check as x } from "../../symbols/icons/Check.js";
5
+ import { useControllableState as R } from "../../../../utils/useControllableState/useControllableState.js";
6
+ import { Switch as y } from "../Switch/Switch.js";
7
+ import { Divider as w } from "../Divider/Divider.js";
8
+ import { ChevronRight as z } from "../../symbols/icons/ChevronRight.js";
9
+ import { MenuRoot as G } from "../../../../node_modules/@base-ui/react/esm/menu/root/MenuRoot.js";
10
+ import { MenuTrigger as P } from "../../../../node_modules/@base-ui/react/esm/menu/trigger/MenuTrigger.js";
11
+ import { MenuPortal as N } from "../../../../node_modules/@base-ui/react/esm/menu/portal/MenuPortal.js";
12
+ import { MenuPositioner as C } from "../../../../node_modules/@base-ui/react/esm/menu/positioner/MenuPositioner.js";
13
+ import { MenuPopup as v } from "../../../../node_modules/@base-ui/react/esm/menu/popup/MenuPopup.js";
14
+ import { MenuItem as T } from "../../../../node_modules/@base-ui/react/esm/menu/item/MenuItem.js";
15
+ import { MenuCheckboxItem as I } from "../../../../node_modules/@base-ui/react/esm/menu/checkbox-item/MenuCheckboxItem.js";
16
+ import { MenuCheckboxItemIndicator as $ } from "../../../../node_modules/@base-ui/react/esm/menu/checkbox-item-indicator/MenuCheckboxItemIndicator.js";
17
+ import { MenuRadioItem as j } from "../../../../node_modules/@base-ui/react/esm/menu/radio-item/MenuRadioItem.js";
18
+ import { MenuRadioItemIndicator as W } from "../../../../node_modules/@base-ui/react/esm/menu/radio-item-indicator/MenuRadioItemIndicator.js";
19
+ import { MenuGroupLabel as D } from "../../../../node_modules/@base-ui/react/esm/menu/group-label/MenuGroupLabel.js";
20
+ import { MenuGroup as O } from "../../../../node_modules/@base-ui/react/esm/menu/group/MenuGroup.js";
21
+ import { MenuSubmenuRoot as V } from "../../../../node_modules/@base-ui/react/esm/menu/submenu-root/MenuSubmenuRoot.js";
22
+ import { MenuSubmenuTrigger as L } from "../../../../node_modules/@base-ui/react/esm/menu/submenu-trigger/MenuSubmenuTrigger.js";
23
+ import { MenuRadioGroup as q } from "../../../../node_modules/@base-ui/react/esm/menu/radio-group/MenuRadioGroup.js";
24
+ const k = M(
23
25
  [
24
26
  "min-w-160 overflow-hidden rounded-sm bg-muted p-8",
25
27
  "shadow-sm outline-none"
@@ -49,9 +51,9 @@ const v = h(
49
51
  side: "bottom"
50
52
  }
51
53
  }
52
- ), l = h(
53
- n(
54
- "relative flex cursor-default items-center gap-12 select-none",
54
+ ), c = M(
55
+ r(
56
+ "relative flex cursor-pointer items-center gap-12 select-none",
55
57
  "h-44 rounded-sm px-8 outline-hidden",
56
58
  "body-2-semi-bold",
57
59
  "transition-colors",
@@ -70,40 +72,40 @@ const v = h(
70
72
  appearance: "base"
71
73
  }
72
74
  }
73
- ), W = n("px-8 py-4 body-3-semi-bold text-muted"), L = n(
74
- l(),
75
+ ), A = r("px-8 py-4 body-3-semi-bold text-muted"), B = r(
76
+ c(),
75
77
  "data-popup-open:bg-base-transparent-hover"
76
78
  );
77
- function me({ ...e }) {
78
- return /* @__PURE__ */ t(S, { ...e });
79
+ function be({ ...e }) {
80
+ return /* @__PURE__ */ t(G, { ...e });
79
81
  }
80
- const ue = ({
82
+ const he = ({
81
83
  ref: e,
82
84
  render: a,
83
85
  className: o,
84
- ...r
86
+ ...n
85
87
  }) => /* @__PURE__ */ t(
86
- k,
88
+ P,
87
89
  {
88
90
  ref: e,
89
91
  "data-slot": "menu-trigger",
90
92
  render: a,
91
- className: n("data-popup-open:z-menu", o),
92
- ...r
93
+ className: r("data-popup-open:z-menu", o),
94
+ ...n
93
95
  }
94
96
  );
95
- function de({ ...e }) {
96
- return /* @__PURE__ */ t(j, { "data-slot": "menu-group", ...e });
97
+ function fe({ ...e }) {
98
+ return /* @__PURE__ */ t(O, { "data-slot": "menu-group", ...e });
97
99
  }
98
- function le({ ...e }) {
99
- return /* @__PURE__ */ t(w, { ...e });
100
+ function ge({ ...e }) {
101
+ return /* @__PURE__ */ t(V, { ...e });
100
102
  }
101
- function O({
103
+ function E({
102
104
  onValueChange: e,
103
105
  ...a
104
106
  }) {
105
107
  return /* @__PURE__ */ t(
106
- V,
108
+ q,
107
109
  {
108
110
  "data-slot": "menu-radio-group",
109
111
  onValueChange: (o) => e?.(String(o)),
@@ -111,170 +113,217 @@ function O({
111
113
  }
112
114
  );
113
115
  }
114
- const ce = ({
116
+ const Me = ({
115
117
  ref: e,
116
118
  className: a,
117
119
  children: o,
118
- ...r
120
+ ...n
119
121
  }) => /* @__PURE__ */ p(
120
- D,
122
+ L,
121
123
  {
122
124
  ref: e,
123
125
  "data-slot": "menu-sub-trigger",
124
- className: n(L, a),
125
- ...r,
126
+ className: r(B, a),
127
+ ...n,
126
128
  children: [
127
129
  o,
128
- /* @__PURE__ */ t(R, { size: 20, className: "ml-auto text-muted" })
130
+ /* @__PURE__ */ t(z, { size: 20, className: "ml-auto text-muted" })
129
131
  ]
130
132
  }
131
- ), pe = ({ className: e, children: a }) => /* @__PURE__ */ t(M, { children: /* @__PURE__ */ t(x, { className: "z-menu", side: "right", sideOffset: 4, children: /* @__PURE__ */ t(
132
- N,
133
+ ), xe = ({ className: e, children: a }) => /* @__PURE__ */ t(N, { children: /* @__PURE__ */ t(C, { className: "z-menu", side: "right", sideOffset: 4, children: /* @__PURE__ */ t(
134
+ v,
133
135
  {
134
136
  "data-slot": "menu-sub-content",
135
- className: n(v({ side: "right" }), e),
137
+ className: r(k({ side: "right" }), e),
136
138
  onClick: (o) => o.stopPropagation(),
137
139
  children: a
138
140
  }
139
- ) }) }), be = ({
141
+ ) }) }), Ne = ({
140
142
  side: e = "bottom",
141
143
  sideOffset: a = 4,
142
144
  align: o = "start",
143
- alignOffset: r,
145
+ alignOffset: n,
144
146
  sticky: i = !0,
145
147
  className: s,
146
148
  children: m
147
- }) => /* @__PURE__ */ t(M, { children: /* @__PURE__ */ t(
148
- x,
149
+ }) => /* @__PURE__ */ t(N, { children: /* @__PURE__ */ t(
150
+ C,
149
151
  {
150
152
  className: "z-menu",
151
153
  side: e,
152
154
  sideOffset: a,
153
155
  align: o,
154
- alignOffset: r,
156
+ alignOffset: n,
155
157
  sticky: i,
156
158
  children: /* @__PURE__ */ t(
157
- N,
159
+ v,
158
160
  {
159
161
  "data-slot": "menu-content",
160
- className: n(v({ side: e }), s),
161
- onClick: (u) => u.stopPropagation(),
162
+ className: r(k({ side: e }), s),
163
+ onClick: (d) => d.stopPropagation(),
162
164
  children: m
163
165
  }
164
166
  )
165
167
  }
166
- ) }), fe = ({
168
+ ) }), Ce = ({
167
169
  ref: e,
168
170
  className: a,
169
171
  appearance: o = "base",
170
- disabled: r,
172
+ disabled: n,
171
173
  onClick: i,
172
174
  label: s,
173
175
  closeOnClick: m = !0,
174
- ...u
176
+ ...d
175
177
  }) => {
176
- const d = b({
178
+ const u = b({
177
179
  consumerName: "MenuItem",
178
- mergeWith: { disabled: r }
180
+ mergeWith: { disabled: n }
179
181
  });
180
- return /* @__PURE__ */ t(f, { value: { disabled: d }, children: /* @__PURE__ */ t(
181
- y,
182
+ return /* @__PURE__ */ t(h, { value: { disabled: u }, children: /* @__PURE__ */ t(
183
+ T,
182
184
  {
183
185
  ref: e,
184
186
  "data-slot": "menu-item",
185
187
  label: s,
186
- disabled: d,
188
+ disabled: u,
187
189
  closeOnClick: m,
188
- className: n(l({ appearance: o }), a),
190
+ className: r(c({ appearance: o }), a),
189
191
  onClick: i,
190
- ...u
192
+ ...d
191
193
  }
192
194
  ) });
193
- }, he = ({
195
+ }, ve = ({
194
196
  ref: e,
195
197
  className: a,
196
198
  children: o,
197
- checked: r,
199
+ checked: n,
198
200
  defaultChecked: i,
199
201
  onCheckedChange: s,
200
202
  disabled: m,
201
- label: u,
202
- closeOnClick: d,
203
- ...I
203
+ label: d,
204
+ closeOnClick: u,
205
+ ...f
204
206
  }) => {
205
- const c = b({
207
+ const l = b({
206
208
  consumerName: "MenuCheckboxItem",
207
209
  mergeWith: { disabled: m }
208
210
  });
209
- return /* @__PURE__ */ t(f, { value: { disabled: c }, children: /* @__PURE__ */ p(
210
- z,
211
+ return /* @__PURE__ */ t(h, { value: { disabled: l }, children: /* @__PURE__ */ p(
212
+ I,
211
213
  {
212
214
  ref: e,
213
215
  "data-slot": "menu-checkbox-item",
214
- label: u,
215
- checked: r,
216
+ label: d,
217
+ checked: n,
216
218
  defaultChecked: i,
217
- disabled: c,
218
- closeOnClick: d ?? !1,
219
- className: n(l(), a),
219
+ disabled: l,
220
+ closeOnClick: u ?? !1,
221
+ className: r(c(), a),
220
222
  onCheckedChange: s,
221
- ...I,
223
+ ...f,
224
+ children: [
225
+ o,
226
+ /* @__PURE__ */ t("span", { className: "ml-auto flex size-24 items-center justify-center", children: /* @__PURE__ */ t($, { children: /* @__PURE__ */ t(x, { disabled: l, size: 24, className: "text-active" }) }) })
227
+ ]
228
+ }
229
+ ) });
230
+ }, Ie = ({
231
+ ref: e,
232
+ className: a,
233
+ children: o,
234
+ checked: n,
235
+ defaultChecked: i,
236
+ onCheckedChange: s,
237
+ disabled: m,
238
+ label: d,
239
+ closeOnClick: u,
240
+ ...f
241
+ }) => {
242
+ const l = b({
243
+ consumerName: "MenuSwitchItem",
244
+ mergeWith: { disabled: m }
245
+ }), [g, S] = R({
246
+ prop: n,
247
+ onChange: s,
248
+ defaultProp: i ?? !1
249
+ });
250
+ return /* @__PURE__ */ t(h, { value: { disabled: l }, children: /* @__PURE__ */ p(
251
+ I,
252
+ {
253
+ ref: e,
254
+ "data-slot": "menu-switch-item",
255
+ label: d,
256
+ checked: g,
257
+ disabled: l,
258
+ closeOnClick: u ?? !1,
259
+ className: r(c(), a),
260
+ onCheckedChange: S,
261
+ ...f,
222
262
  children: [
223
263
  o,
224
- /* @__PURE__ */ t("span", { className: "ml-auto flex size-24 items-center justify-center", children: /* @__PURE__ */ t(G, { children: /* @__PURE__ */ t(g, { disabled: c, size: 24, className: "text-active" }) }) })
264
+ /* @__PURE__ */ t("span", { className: "pointer-events-none ml-auto", children: /* @__PURE__ */ t(
265
+ y,
266
+ {
267
+ selected: g,
268
+ disabled: l,
269
+ "aria-hidden": !0,
270
+ tabIndex: -1
271
+ }
272
+ ) })
225
273
  ]
226
274
  }
227
275
  ) });
228
- }, q = ({
276
+ }, F = ({
229
277
  ref: e,
230
278
  className: a,
231
279
  children: o,
232
- disabled: r,
280
+ disabled: n,
233
281
  ...i
234
282
  }) => {
235
283
  const s = b({
236
284
  consumerName: "MenuRadioItem",
237
- mergeWith: { disabled: r }
285
+ mergeWith: { disabled: n }
238
286
  });
239
- return /* @__PURE__ */ t(f, { value: { disabled: s }, children: /* @__PURE__ */ p(
240
- P,
287
+ return /* @__PURE__ */ t(h, { value: { disabled: s }, children: /* @__PURE__ */ p(
288
+ j,
241
289
  {
242
290
  ref: e,
243
291
  "data-slot": "menu-radio-item",
244
292
  disabled: s,
245
- className: n(l(), a),
293
+ className: r(c(), a),
246
294
  ...i,
247
295
  children: [
248
296
  o,
249
- /* @__PURE__ */ t("span", { className: "ml-auto flex size-24 items-center justify-center", children: /* @__PURE__ */ t(T, { children: /* @__PURE__ */ t(g, { disabled: s, size: 24, className: "text-active" }) }) })
297
+ /* @__PURE__ */ t("span", { className: "ml-auto flex size-24 items-center justify-center", children: /* @__PURE__ */ t(W, { children: /* @__PURE__ */ t(x, { disabled: s, size: 24, className: "text-active" }) }) })
250
298
  ]
251
299
  }
252
300
  ) });
253
- }, ge = ({ ref: e, className: a, ...o }) => /* @__PURE__ */ t(
254
- $,
301
+ }, ke = ({ ref: e, className: a, ...o }) => /* @__PURE__ */ t(
302
+ D,
255
303
  {
256
304
  ref: e,
257
305
  "data-slot": "menu-label",
258
- className: n(W, a),
306
+ className: r(A, a),
259
307
  ...o
260
308
  }
261
- ), Me = ({ ref: e, className: a, ...o }) => /* @__PURE__ */ t(C, { ref: e, className: n("mx-8 my-4 w-auto", a), ...o });
262
- function xe() {
263
- return { MenuRadioGroup: O, MenuRadioItem: q };
309
+ ), Se = ({ ref: e, className: a, ...o }) => /* @__PURE__ */ t(w, { ref: e, className: r("mx-8 my-4 w-auto", a), ...o });
310
+ function Re() {
311
+ return { MenuRadioGroup: E, MenuRadioItem: F };
264
312
  }
265
313
  export {
266
- me as Menu,
267
- he as MenuCheckboxItem,
268
- be as MenuContent,
269
- de as MenuGroup,
270
- fe as MenuItem,
271
- ge as MenuLabel,
272
- O as MenuRadioGroup,
273
- q as MenuRadioItem,
274
- Me as MenuSeparator,
275
- le as MenuSub,
276
- pe as MenuSubContent,
277
- ce as MenuSubTrigger,
278
- ue as MenuTrigger,
279
- xe as createMenuRadioGroup
314
+ be as Menu,
315
+ ve as MenuCheckboxItem,
316
+ Ne as MenuContent,
317
+ fe as MenuGroup,
318
+ Ce as MenuItem,
319
+ ke as MenuLabel,
320
+ E as MenuRadioGroup,
321
+ F as MenuRadioItem,
322
+ Se as MenuSeparator,
323
+ ge as MenuSub,
324
+ xe as MenuSubContent,
325
+ Me as MenuSubTrigger,
326
+ Ie as MenuSwitchItem,
327
+ he as MenuTrigger,
328
+ Re as createMenuRadioGroup
280
329
  };
@@ -157,6 +157,37 @@ export type MenuCheckboxItemProps = {
157
157
  */
158
158
  closeOnClick?: boolean;
159
159
  } & Omit<MenuItemProps, 'closeOnClick'>;
160
+ /**
161
+ * Props for a Menu switch item component.
162
+ *
163
+ * An item that can be controlled and rendered like a switch.
164
+ */
165
+ export type MenuSwitchItemProps = {
166
+ /**
167
+ * The controlled checked state of the switch.
168
+ * Must be used in conjunction with `onCheckedChange`.
169
+ */
170
+ checked?: boolean;
171
+ /**
172
+ * The checked state of the switch when it is initially rendered.
173
+ * Use when you do not need to control its checked state.
174
+ *
175
+ * @default false
176
+ */
177
+ defaultChecked?: boolean;
178
+ /**
179
+ * Event handler called when the checked state changes.
180
+ *
181
+ * @param checked - The new checked state
182
+ */
183
+ onCheckedChange?: (checked: boolean) => void;
184
+ /**
185
+ * Whether the menu closes when this item is clicked.
186
+ *
187
+ * @default false
188
+ */
189
+ closeOnClick?: boolean;
190
+ } & Pick<MenuItemProps, 'className' | 'disabled' | 'label'> & ComponentPropsWithRef<'div'>;
160
191
  /**
161
192
  * Props for a Menu radio item component.
162
193
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/core/Menu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EACV,qBAAqB,EACrB,wBAAwB,EACxB,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,KAAK,0BAA0B,GAAG,aAAa,CAAC,IAAI,CAAC,kBAAkB,CAAC;AAExE,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AAEpC;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,CACb,IAAI,EAAE,OAAO,EACb,YAAY,EAAE,0BAA0B,KACrC,IAAI,CAAC;CACX,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;;;;OAMG;IACH,MAAM,EAAE,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;CAC/C,GAA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AAE,OAAO,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAEjC;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC"}
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/lumen-ui-react",
3
- "version": "0.1.59",
3
+ "version": "0.1.60",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "keywords": [
@@ -47,7 +47,7 @@
47
47
  ]
48
48
  },
49
49
  "dependencies": {
50
- "@ledgerhq/lumen-utils-shared": "0.1.13",
50
+ "@ledgerhq/lumen-utils-shared": "0.1.14",
51
51
  "@types/d3-scale": "^4.0.9",
52
52
  "@types/d3-shape": "^3.1.8",
53
53
  "d3-scale": "^4.0.2",
@@ -64,7 +64,7 @@
64
64
  "@radix-ui/react-tooltip": "^1.2.8",
65
65
  "class-variance-authority": "^0.7.1",
66
66
  "@tanstack/react-table": "^8.21.3",
67
- "@ledgerhq/lumen-design-core": "0.1.29",
67
+ "@ledgerhq/lumen-design-core": "0.1.30",
68
68
  "clsx": "^2.1.1",
69
69
  "react": "^18.0.0 || ^19.0.0",
70
70
  "react-dom": "^18.0.0 || ^19.0.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/lumen-ui-react",
3
- "version": "0.1.60",
3
+ "version": "0.1.61",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "keywords": [