@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 +120 -119
- package/dist/lib/Components/core/AmountInput/AmountInput.d.ts +1 -1
- package/dist/lib/Components/core/AmountInput/AmountInput.d.ts.map +1 -1
- package/dist/lib/Components/core/AmountInput/AmountInput.js +53 -51
- package/dist/lib/Components/core/Menu/Menu.d.ts +3 -2
- package/dist/lib/Components/core/Menu/Menu.d.ts.map +1 -1
- package/dist/lib/Components/core/Menu/Menu.js +157 -108
- package/dist/lib/Components/core/Menu/types.d.ts +31 -0
- package/dist/lib/Components/core/Menu/types.d.ts.map +1 -1
- package/dist/package.json +3 -3
- package/package.json +1 -1
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
|
|
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
|
|
31
|
-
import { Link as
|
|
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,
|
|
39
|
-
import { NavBar as
|
|
40
|
-
import { Popover as
|
|
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
|
|
43
|
-
import { SearchInput as
|
|
44
|
-
import { SectionHeader as
|
|
45
|
-
import { SegmentedControl as
|
|
46
|
-
import { Select as
|
|
47
|
-
import { SideBar as
|
|
48
|
-
import { Skeleton as
|
|
49
|
-
import { Spinner as
|
|
50
|
-
import { Spot as
|
|
51
|
-
import { Stepper as
|
|
52
|
-
import { Subheader as
|
|
53
|
-
import { Switch as
|
|
54
|
-
import { Table as
|
|
55
|
-
import { Tag as
|
|
56
|
-
import { TextInput as
|
|
57
|
-
import { Tile as
|
|
58
|
-
import { TileButton as
|
|
59
|
-
import { Tooltip as
|
|
60
|
-
import { Trend as
|
|
61
|
-
import { ThemeProvider as
|
|
62
|
-
import { COLOR_SCHEMES as
|
|
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
|
-
|
|
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
|
-
|
|
81
|
-
|
|
82
|
-
|
|
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
|
-
|
|
110
|
+
Ae as InteractiveIcon,
|
|
111
111
|
t as Languages,
|
|
112
|
-
|
|
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
|
|
141
|
-
|
|
142
|
-
go as
|
|
143
|
-
bo as
|
|
144
|
-
Io as
|
|
145
|
-
so as
|
|
146
|
-
Bo as
|
|
147
|
-
Do as
|
|
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
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
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
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
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
|
-
|
|
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,
|
|
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
|
|
2
|
-
import { useDisabledContext as
|
|
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
|
|
5
|
-
import { useAmountInputValue as
|
|
6
|
-
import { useAutoWidthInput as
|
|
7
|
-
const
|
|
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
|
-
),
|
|
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
|
-
),
|
|
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
|
-
}),
|
|
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
|
-
),
|
|
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:
|
|
77
|
+
align: h = "center",
|
|
78
78
|
currencyText: t,
|
|
79
79
|
currencyPosition: l = "left",
|
|
80
|
-
disabled:
|
|
81
|
-
maxIntegerLength:
|
|
82
|
-
maxDecimalLength:
|
|
83
|
-
allowDecimals:
|
|
84
|
-
thousandsSeparator:
|
|
85
|
-
decimalSeparator:
|
|
86
|
-
value:
|
|
87
|
-
onChange:
|
|
88
|
-
|
|
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
|
|
91
|
+
const A = M({
|
|
91
92
|
consumerName: "AmountInput",
|
|
92
|
-
mergeWith: { disabled:
|
|
93
|
-
}), { inputValue: n, isChanging:
|
|
94
|
-
value:
|
|
95
|
-
onChange:
|
|
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:
|
|
98
|
-
thousandsSeparator:
|
|
99
|
-
maxIntegerLength:
|
|
100
|
-
maxDecimalLength:
|
|
101
|
-
decimalSeparator:
|
|
98
|
+
allowDecimals: x,
|
|
99
|
+
thousandsSeparator: w,
|
|
100
|
+
maxIntegerLength: b,
|
|
101
|
+
maxDecimalLength: v,
|
|
102
|
+
decimalSeparator: y
|
|
102
103
|
}
|
|
103
|
-
}), { spanRef:
|
|
104
|
-
inputValue:
|
|
104
|
+
}), u = n === "" ? d ?? "" : n, { spanRef: R, inputRef: m } = E({
|
|
105
|
+
inputValue: u,
|
|
105
106
|
currencyText: t,
|
|
106
107
|
size: e
|
|
107
|
-
}),
|
|
108
|
-
() =>
|
|
108
|
+
}), k = D(r, m), s = { fontSize: W(
|
|
109
|
+
() => F(n, e) + "px",
|
|
109
110
|
[n, e]
|
|
110
111
|
), letterSpacing: "normal" };
|
|
111
|
-
return /* @__PURE__ */
|
|
112
|
+
return /* @__PURE__ */ z(
|
|
112
113
|
"div",
|
|
113
114
|
{
|
|
114
|
-
className:
|
|
115
|
+
className: H({ align: h }),
|
|
115
116
|
onPointerDown: () => {
|
|
116
|
-
const
|
|
117
|
-
|
|
118
|
-
|
|
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(
|
|
123
|
+
t && l === "left" && /* @__PURE__ */ a(c, { size: e, style: s, children: t }),
|
|
123
124
|
/* @__PURE__ */ a(
|
|
124
125
|
"span",
|
|
125
126
|
{
|
|
126
|
-
ref:
|
|
127
|
-
className:
|
|
127
|
+
ref: R,
|
|
128
|
+
className: G({ size: e }),
|
|
128
129
|
"aria-hidden": "true",
|
|
129
130
|
style: s,
|
|
130
|
-
children:
|
|
131
|
+
children: u
|
|
131
132
|
}
|
|
132
133
|
),
|
|
133
134
|
/* @__PURE__ */ a(
|
|
134
135
|
"input",
|
|
135
136
|
{
|
|
136
|
-
ref:
|
|
137
|
+
ref: k,
|
|
137
138
|
type: "text",
|
|
138
139
|
inputMode: "decimal",
|
|
139
|
-
disabled:
|
|
140
|
+
disabled: A,
|
|
140
141
|
value: n,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
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(
|
|
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
|
-
|
|
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;
|
|
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;AAK1C,OAAO,KAAK,EACV,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,mBAA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c,EACd,cAAc,GACf,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,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
|
|
3
|
-
import { cva as
|
|
4
|
-
import { Check as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
|
|
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
|
-
),
|
|
53
|
-
|
|
54
|
-
"relative flex cursor-
|
|
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
|
-
),
|
|
74
|
-
|
|
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
|
|
78
|
-
return /* @__PURE__ */ t(
|
|
79
|
+
function be({ ...e }) {
|
|
80
|
+
return /* @__PURE__ */ t(G, { ...e });
|
|
79
81
|
}
|
|
80
|
-
const
|
|
82
|
+
const he = ({
|
|
81
83
|
ref: e,
|
|
82
84
|
render: a,
|
|
83
85
|
className: o,
|
|
84
|
-
...
|
|
86
|
+
...n
|
|
85
87
|
}) => /* @__PURE__ */ t(
|
|
86
|
-
|
|
88
|
+
P,
|
|
87
89
|
{
|
|
88
90
|
ref: e,
|
|
89
91
|
"data-slot": "menu-trigger",
|
|
90
92
|
render: a,
|
|
91
|
-
className:
|
|
92
|
-
...
|
|
93
|
+
className: r("data-popup-open:z-menu", o),
|
|
94
|
+
...n
|
|
93
95
|
}
|
|
94
96
|
);
|
|
95
|
-
function
|
|
96
|
-
return /* @__PURE__ */ t(
|
|
97
|
+
function fe({ ...e }) {
|
|
98
|
+
return /* @__PURE__ */ t(O, { "data-slot": "menu-group", ...e });
|
|
97
99
|
}
|
|
98
|
-
function
|
|
99
|
-
return /* @__PURE__ */ t(
|
|
100
|
+
function ge({ ...e }) {
|
|
101
|
+
return /* @__PURE__ */ t(V, { ...e });
|
|
100
102
|
}
|
|
101
|
-
function
|
|
103
|
+
function E({
|
|
102
104
|
onValueChange: e,
|
|
103
105
|
...a
|
|
104
106
|
}) {
|
|
105
107
|
return /* @__PURE__ */ t(
|
|
106
|
-
|
|
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
|
|
116
|
+
const Me = ({
|
|
115
117
|
ref: e,
|
|
116
118
|
className: a,
|
|
117
119
|
children: o,
|
|
118
|
-
...
|
|
120
|
+
...n
|
|
119
121
|
}) => /* @__PURE__ */ p(
|
|
120
|
-
|
|
122
|
+
L,
|
|
121
123
|
{
|
|
122
124
|
ref: e,
|
|
123
125
|
"data-slot": "menu-sub-trigger",
|
|
124
|
-
className:
|
|
125
|
-
...
|
|
126
|
+
className: r(B, a),
|
|
127
|
+
...n,
|
|
126
128
|
children: [
|
|
127
129
|
o,
|
|
128
|
-
/* @__PURE__ */ t(
|
|
130
|
+
/* @__PURE__ */ t(z, { size: 20, className: "ml-auto text-muted" })
|
|
129
131
|
]
|
|
130
132
|
}
|
|
131
|
-
),
|
|
132
|
-
|
|
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:
|
|
137
|
+
className: r(k({ side: "right" }), e),
|
|
136
138
|
onClick: (o) => o.stopPropagation(),
|
|
137
139
|
children: a
|
|
138
140
|
}
|
|
139
|
-
) }) }),
|
|
141
|
+
) }) }), Ne = ({
|
|
140
142
|
side: e = "bottom",
|
|
141
143
|
sideOffset: a = 4,
|
|
142
144
|
align: o = "start",
|
|
143
|
-
alignOffset:
|
|
145
|
+
alignOffset: n,
|
|
144
146
|
sticky: i = !0,
|
|
145
147
|
className: s,
|
|
146
148
|
children: m
|
|
147
|
-
}) => /* @__PURE__ */ t(
|
|
148
|
-
|
|
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:
|
|
156
|
+
alignOffset: n,
|
|
155
157
|
sticky: i,
|
|
156
158
|
children: /* @__PURE__ */ t(
|
|
157
|
-
|
|
159
|
+
v,
|
|
158
160
|
{
|
|
159
161
|
"data-slot": "menu-content",
|
|
160
|
-
className:
|
|
161
|
-
onClick: (
|
|
162
|
+
className: r(k({ side: e }), s),
|
|
163
|
+
onClick: (d) => d.stopPropagation(),
|
|
162
164
|
children: m
|
|
163
165
|
}
|
|
164
166
|
)
|
|
165
167
|
}
|
|
166
|
-
) }),
|
|
168
|
+
) }), Ce = ({
|
|
167
169
|
ref: e,
|
|
168
170
|
className: a,
|
|
169
171
|
appearance: o = "base",
|
|
170
|
-
disabled:
|
|
172
|
+
disabled: n,
|
|
171
173
|
onClick: i,
|
|
172
174
|
label: s,
|
|
173
175
|
closeOnClick: m = !0,
|
|
174
|
-
...
|
|
176
|
+
...d
|
|
175
177
|
}) => {
|
|
176
|
-
const
|
|
178
|
+
const u = b({
|
|
177
179
|
consumerName: "MenuItem",
|
|
178
|
-
mergeWith: { disabled:
|
|
180
|
+
mergeWith: { disabled: n }
|
|
179
181
|
});
|
|
180
|
-
return /* @__PURE__ */ t(
|
|
181
|
-
|
|
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:
|
|
188
|
+
disabled: u,
|
|
187
189
|
closeOnClick: m,
|
|
188
|
-
className:
|
|
190
|
+
className: r(c({ appearance: o }), a),
|
|
189
191
|
onClick: i,
|
|
190
|
-
...
|
|
192
|
+
...d
|
|
191
193
|
}
|
|
192
194
|
) });
|
|
193
|
-
},
|
|
195
|
+
}, ve = ({
|
|
194
196
|
ref: e,
|
|
195
197
|
className: a,
|
|
196
198
|
children: o,
|
|
197
|
-
checked:
|
|
199
|
+
checked: n,
|
|
198
200
|
defaultChecked: i,
|
|
199
201
|
onCheckedChange: s,
|
|
200
202
|
disabled: m,
|
|
201
|
-
label:
|
|
202
|
-
closeOnClick:
|
|
203
|
-
...
|
|
203
|
+
label: d,
|
|
204
|
+
closeOnClick: u,
|
|
205
|
+
...f
|
|
204
206
|
}) => {
|
|
205
|
-
const
|
|
207
|
+
const l = b({
|
|
206
208
|
consumerName: "MenuCheckboxItem",
|
|
207
209
|
mergeWith: { disabled: m }
|
|
208
210
|
});
|
|
209
|
-
return /* @__PURE__ */ t(
|
|
210
|
-
|
|
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:
|
|
215
|
-
checked:
|
|
216
|
+
label: d,
|
|
217
|
+
checked: n,
|
|
216
218
|
defaultChecked: i,
|
|
217
|
-
disabled:
|
|
218
|
-
closeOnClick:
|
|
219
|
-
className:
|
|
219
|
+
disabled: l,
|
|
220
|
+
closeOnClick: u ?? !1,
|
|
221
|
+
className: r(c(), a),
|
|
220
222
|
onCheckedChange: s,
|
|
221
|
-
...
|
|
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: "
|
|
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
|
-
},
|
|
276
|
+
}, F = ({
|
|
229
277
|
ref: e,
|
|
230
278
|
className: a,
|
|
231
279
|
children: o,
|
|
232
|
-
disabled:
|
|
280
|
+
disabled: n,
|
|
233
281
|
...i
|
|
234
282
|
}) => {
|
|
235
283
|
const s = b({
|
|
236
284
|
consumerName: "MenuRadioItem",
|
|
237
|
-
mergeWith: { disabled:
|
|
285
|
+
mergeWith: { disabled: n }
|
|
238
286
|
});
|
|
239
|
-
return /* @__PURE__ */ t(
|
|
240
|
-
|
|
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:
|
|
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(
|
|
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
|
-
},
|
|
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:
|
|
306
|
+
className: r(A, a),
|
|
259
307
|
...o
|
|
260
308
|
}
|
|
261
|
-
),
|
|
262
|
-
function
|
|
263
|
-
return { MenuRadioGroup:
|
|
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
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
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,GAAG,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC;AAEtD;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,Q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K,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.
|
|
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.
|
|
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.
|
|
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",
|