@ledgerhq/lumen-ui-react 0.1.62 → 0.1.64
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/ai-rules/RULES.md +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +80 -78
- package/dist/lib/Components/core/AddressInput/AddressInput.js +1 -1
- package/dist/lib/Components/core/AmountDisplay/AmountDisplay.js +1 -1
- package/dist/lib/Components/core/AmountInput/AmountInput.js +22 -22
- package/dist/lib/Components/core/Avatar/Avatar.js +7 -7
- package/dist/lib/Components/core/AvatarButton/AvatarButton.js +8 -8
- package/dist/lib/Components/core/Banner/Banner.js +1 -1
- package/dist/lib/Components/core/Button/Button.js +6 -6
- package/dist/lib/Components/core/Card/Card.js +17 -17
- package/dist/lib/Components/core/ContentBanner/ContentBanner.d.ts +1 -1
- package/dist/lib/Components/core/ContentBanner/ContentBanner.js +1 -1
- package/dist/lib/Components/core/DataTable/DataTable.js +45 -45
- package/dist/lib/Components/core/Dialog/DialogHeader/DialogHeader.js +1 -1
- package/dist/lib/Components/core/Divider/Divider.js +4 -4
- package/dist/lib/Components/core/DotCount/DotCount.js +3 -3
- package/dist/lib/Components/core/DotIcon/DotIcon.js +4 -4
- package/dist/lib/Components/core/DotSymbol/DotSymbol.js +18 -18
- package/dist/lib/Components/core/Link/Link.d.ts.map +1 -1
- package/dist/lib/Components/core/Link/Link.js +25 -24
- package/dist/lib/Components/core/ListItem/ListItem.d.ts +1 -1
- package/dist/lib/Components/core/ListItem/ListItem.js +4 -4
- package/dist/lib/Components/core/MediaBanner/MediaBanner.js +16 -16
- package/dist/lib/Components/core/MediaButton/MediaButton.js +2 -2
- package/dist/lib/Components/core/MediaCard/MediaCard.js +1 -1
- package/dist/lib/Components/core/MediaImage/MediaImage.js +5 -5
- package/dist/lib/Components/core/Menu/Menu.js +25 -25
- package/dist/lib/Components/core/NavBar/CoinCapsule.js +4 -4
- package/dist/lib/Components/core/NavBar/NavBar.js +3 -3
- package/dist/lib/Components/core/PageIndicator/PageIndicator.js +5 -5
- package/dist/lib/Components/core/Pagination/Pagination.js +15 -15
- package/dist/lib/Components/core/Popover/Popover.js +13 -13
- package/dist/lib/Components/core/SearchInput/SearchInput.js +5 -5
- package/dist/lib/Components/core/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/lib/Components/core/SegmentedControl/SegmentedControl.js +78 -82
- package/dist/lib/Components/core/Select/Select.d.ts.map +1 -1
- package/dist/lib/Components/core/Select/Select.js +105 -104
- package/dist/lib/Components/core/SideBar/SideBar.js +28 -28
- package/dist/lib/Components/core/Spinner/Spinner.js +5 -5
- package/dist/lib/Components/core/Spot/Spot.d.ts +7 -25
- package/dist/lib/Components/core/Spot/Spot.d.ts.map +1 -1
- package/dist/lib/Components/core/Spot/Spot.js +33 -102
- package/dist/lib/Components/core/Spot/SpotNumber.d.ts +16 -0
- package/dist/lib/Components/core/Spot/SpotNumber.d.ts.map +1 -0
- package/dist/lib/Components/core/Spot/SpotNumber.js +46 -0
- package/dist/lib/Components/core/Spot/index.d.ts +1 -0
- package/dist/lib/Components/core/Spot/index.d.ts.map +1 -1
- package/dist/lib/Components/core/Spot/styles.d.ts +14 -0
- package/dist/lib/Components/core/Spot/styles.d.ts.map +1 -0
- package/dist/lib/Components/core/Spot/styles.js +275 -0
- package/dist/lib/Components/core/Spot/types.d.ts +27 -38
- package/dist/lib/Components/core/Spot/types.d.ts.map +1 -1
- package/dist/lib/Components/core/Stepper/Stepper.d.ts.map +1 -1
- package/dist/lib/Components/core/Stepper/Stepper.js +51 -48
- package/dist/lib/Components/core/Subheader/Subheader.d.ts.map +1 -1
- package/dist/lib/Components/core/Subheader/Subheader.js +33 -29
- package/dist/lib/Components/core/Switch/Switch.js +5 -5
- package/dist/lib/Components/core/Table/Table.d.ts.map +1 -1
- package/dist/lib/Components/core/Table/Table.js +64 -63
- package/dist/lib/Components/core/ThemeProvider/ThemeProvider.js +6 -6
- package/dist/lib/Components/core/ThemeProvider/ThemeProvider.types.d.ts +1 -1
- package/dist/lib/Components/core/ThemeProvider/ThemeProvider.types.d.ts.map +1 -1
- package/dist/lib/Components/core/Tile/Tile.d.ts +2 -2
- package/dist/lib/Components/core/TileButton/TileButton.js +8 -8
- package/dist/lib/Components/core/Timeline/Timeline.js +16 -16
- package/dist/lib/Components/core/Toast/Toast.js +4 -4
- package/dist/lib/Components/core/Toast/Toaster.js +9 -9
- package/dist/lib/Components/core/Trend/Trend.js +3 -3
- package/dist/lib/Components/internal/BaseButton/BaseButton.js +9 -9
- package/dist/lib/Components/internal/BaseInput/BaseInput.js +21 -21
- package/dist/lib/Components/internal/BaseInput/useAutosizeTextarea/useAutosizeTextarea.js +4 -4
- package/dist/lib/Components/internal/BaseTag/BaseTag.js +4 -4
- package/dist/lib/Components/symbols/Icon/Icon.js +4 -4
- package/dist/lib/Components/symbols/Icon/createIcon.js +5 -5
- package/dist/lib/Components/symbols/icons/AiBubble.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/AiBubble.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/AiBubble.js +30 -0
- package/dist/lib/Components/symbols/icons/ArrowBottomLeft.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/ArrowBottomLeft.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/ArrowBottomLeft.js +27 -0
- package/dist/lib/Components/symbols/icons/Bug.js +3 -3
- package/dist/lib/Components/symbols/icons/Hourglass.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Hourglass.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Hourglass.js +27 -0
- package/dist/lib/Components/symbols/icons/Repeat.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Repeat.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Repeat.js +27 -0
- package/dist/lib/Components/symbols/icons/Robot.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Robot.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Robot.js +29 -0
- package/dist/lib/Components/symbols/icons/Switch.d.ts.map +1 -1
- package/dist/lib/Components/symbols/icons/Switch.js +24 -12
- package/dist/lib/Components/symbols/icons/Wifi.d.ts +29 -0
- package/dist/lib/Components/symbols/icons/Wifi.d.ts.map +1 -0
- package/dist/lib/Components/symbols/icons/Wifi.js +36 -0
- package/dist/lib/Components/symbols/index.d.ts +6 -0
- package/dist/lib/Components/symbols/index.d.ts.map +1 -1
- package/dist/lib/Components/symbols/index.js +610 -598
- package/dist/lib/Components/visualization/CartesianChart/CartesianChart.d.ts.map +1 -1
- package/dist/lib/Components/visualization/CartesianChart/CartesianChart.js +36 -35
- package/dist/lib/Components/visualization/CartesianChart/types.d.ts +1 -1
- package/dist/lib/Components/visualization/DonutChart/DonutChart.d.ts.map +1 -1
- package/dist/lib/Components/visualization/DonutChart/DonutChart.js +31 -31
- package/dist/lib/Components/visualization/DonutChart/DonutChartCenter.js +4 -4
- package/dist/lib/Components/visualization/DonutChart/DonutRing.d.ts.map +1 -1
- package/dist/lib/Components/visualization/DonutChart/DonutRing.js +13 -12
- package/dist/lib/Components/visualization/DonutChart/donutSizeContext.js +2 -2
- package/dist/lib/Components/visualization/DonutChart/types.d.ts +1 -1
- package/dist/lib/Components/visualization/Legend/Legend.d.ts +1 -1
- package/dist/lib/Components/visualization/Legend/Legend.d.ts.map +1 -1
- package/dist/lib/Components/visualization/Legend/Legend.js +7 -11
- package/dist/lib/Components/visualization/Legend/types.d.ts +2 -2
- package/dist/lib/Components/visualization/LineChart/LineChart.d.ts +1 -1
- package/dist/lib/Components/visualization/LineChart/LineChart.d.ts.map +1 -1
- package/dist/lib/Components/visualization/LineChart/LineChart.js +90 -84
- package/dist/lib/Components/visualization/LineChart/types.d.ts +1 -1
- package/dist/lib/Components/visualization/LineChart/utils.d.ts +2 -1
- package/dist/lib/Components/visualization/LineChart/utils.d.ts.map +1 -1
- package/dist/lib/Components/visualization/LineChart/utils.js +23 -22
- package/dist/lib/Components/visualization/config.d.ts +0 -3
- package/dist/lib/Components/visualization/config.d.ts.map +1 -1
- package/dist/lib/Components/visualization/config.js +3 -6
- package/dist/libs/utils-shared/dist/index.js +191 -143
- package/dist/package.json +4 -6
- package/dist/translations/index.d.ts +3 -0
- package/dist/translations/index.d.ts.map +1 -0
- package/dist/{i18n → translations}/languages.d.ts +0 -5
- package/dist/translations/languages.d.ts.map +1 -0
- package/dist/{i18n → translations}/languages.js +1 -2
- package/dist/{i18n → translations}/locales/en.json.d.ts +11 -0
- package/dist/{i18n → translations}/locales/en.json.js +2 -2
- package/dist/translations/translations.d.ts +727 -0
- package/dist/translations/translations.d.ts.map +1 -0
- package/dist/translations/translations.js +22 -0
- package/package.json +4 -6
- package/dist/_virtual/dynamic-import-helper.js +0 -9
- package/dist/i18n/I18nProvider.d.ts +0 -8
- package/dist/i18n/I18nProvider.d.ts.map +0 -1
- package/dist/i18n/I18nProvider.js +0 -14
- package/dist/i18n/i18n.d.ts +0 -12
- package/dist/i18n/i18n.d.ts.map +0 -1
- package/dist/i18n/i18n.js +0 -42
- package/dist/i18n/index.d.ts +0 -4
- package/dist/i18n/index.d.ts.map +0 -1
- package/dist/i18n/languages.d.ts.map +0 -1
- package/dist/i18n/useCommonTranslation.d.ts +0 -2
- package/dist/i18n/useCommonTranslation.d.ts.map +0 -1
- package/dist/i18n/useCommonTranslation.js +0 -6
- package/dist/node_modules/i18next/dist/esm/i18next.js +0 -1479
- package/dist/node_modules/react-i18next/dist/es/I18nextProvider.js +0 -19
- package/dist/node_modules/react-i18next/dist/es/context.js +0 -17
- package/dist/node_modules/react-i18next/dist/es/defaults.js +0 -22
- package/dist/node_modules/react-i18next/dist/es/i18nInstance.js +0 -8
- package/dist/node_modules/react-i18next/dist/es/initReactI18next.js +0 -11
- package/dist/node_modules/react-i18next/dist/es/unescape.js +0 -25
- package/dist/node_modules/react-i18next/dist/es/useTranslation.js +0 -65
- package/dist/node_modules/react-i18next/dist/es/utils.js +0 -57
- /package/dist/{i18n → translations}/locales/de.json.d.ts +0 -0
- /package/dist/{i18n → translations}/locales/de.json.js +0 -0
- /package/dist/{i18n → translations}/locales/es.json.d.ts +0 -0
- /package/dist/{i18n → translations}/locales/es.json.js +0 -0
- /package/dist/{i18n → translations}/locales/fr.json.d.ts +0 -0
- /package/dist/{i18n → translations}/locales/fr.json.js +0 -0
- /package/dist/{i18n → translations}/locales/ja.json.d.ts +0 -0
- /package/dist/{i18n → translations}/locales/ja.json.js +0 -0
- /package/dist/{i18n → translations}/locales/ko.json.d.ts +0 -0
- /package/dist/{i18n → translations}/locales/ko.json.js +0 -0
- /package/dist/{i18n → translations}/locales/pt.json.d.ts +0 -0
- /package/dist/{i18n → translations}/locales/pt.json.js +0 -0
- /package/dist/{i18n → translations}/locales/ru.json.d.ts +0 -0
- /package/dist/{i18n → translations}/locales/ru.json.js +0 -0
- /package/dist/{i18n → translations}/locales/th.json.d.ts +0 -0
- /package/dist/{i18n → translations}/locales/th.json.js +0 -0
- /package/dist/{i18n → translations}/locales/tr.json.d.ts +0 -0
- /package/dist/{i18n → translations}/locales/tr.json.js +0 -0
- /package/dist/{i18n → translations}/locales/zh.json.d.ts +0 -0
- /package/dist/{i18n → translations}/locales/zh.json.js +0 -0
package/ai-rules/RULES.md
CHANGED
|
@@ -224,7 +224,7 @@ const InteractiveList = () => (
|
|
|
224
224
|
{items.map((item) => (
|
|
225
225
|
<ListItem>
|
|
226
226
|
<ListItemLeading>
|
|
227
|
-
<Spot
|
|
227
|
+
<Spot icon={Settings} />
|
|
228
228
|
<ListItemContent>
|
|
229
229
|
<ListItemTitle>Simple composition</ListItemTitle>
|
|
230
230
|
<ListItemDescription>With description</ListItemDescription>
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,KAAK,eAAe,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,KAAK,eAAe,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Languages as t } from "./
|
|
1
|
+
import { Languages as t } from "./translations/languages.js";
|
|
2
2
|
import { useControllableState as n } from "./utils/useControllableState/useControllableState.js";
|
|
3
3
|
import { AddressInput as i } from "./lib/Components/core/AddressInput/AddressInput.js";
|
|
4
4
|
import { AmountInput as m } from "./lib/Components/core/AmountInput/AmountInput.js";
|
|
@@ -48,22 +48,23 @@ import { SideBar as nt, SideBarCollapseToggle as at, SideBarItem as it, SideBarL
|
|
|
48
48
|
import { Skeleton as dt } from "./lib/Components/core/Skeleton/Skeleton.js";
|
|
49
49
|
import { Spinner as ft } from "./lib/Components/core/Spinner/Spinner.js";
|
|
50
50
|
import { Spot as ct } from "./lib/Components/core/Spot/Spot.js";
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
51
|
+
import { SpotNumber as ut } from "./lib/Components/core/Spot/SpotNumber.js";
|
|
52
|
+
import { Stepper as It } from "./lib/Components/core/Stepper/Stepper.js";
|
|
53
|
+
import { Subheader as st, SubheaderCount as Bt, SubheaderDescription as Dt, SubheaderInfo as Mt, SubheaderRow as Lt, SubheaderShowMore as vt, SubheaderTitle as ht } from "./lib/Components/core/Subheader/Subheader.js";
|
|
54
|
+
import { Switch as wt } from "./lib/Components/core/Switch/Switch.js";
|
|
55
|
+
import { Table as At, TableActionBar as Pt, TableActionBarLeading as yt, TableActionBarTrailing as Nt, TableBody as kt, TableCell as Gt, TableCellContent as Et, TableCellContentDescription as Ft, TableCellContentRow as Ot, TableCellContentTitle as zt, TableCellItem as Vt, TableCol as _t, TableColGroup as jt, TableGroupHeaderRow as qt, TableHeader as Jt, TableHeaderCell as Kt, TableHeaderRow as Qt, TableInfoIcon as Ut, TableLoadingRow as Wt, TableRoot as Xt, TableRow as Yt, TableSortButton as Zt } from "./lib/Components/core/Table/Table.js";
|
|
56
|
+
import { Tag as er } from "./lib/Components/core/Tag/Tag.js";
|
|
57
|
+
import { TextInput as tr } from "./lib/Components/core/TextInput/TextInput.js";
|
|
58
|
+
import { Tile as nr, TileContent as ar, TileDescription as ir, TileSecondaryAction as lr, TileTitle as mr, TileTrailingContent as pr } from "./lib/Components/core/Tile/Tile.js";
|
|
59
|
+
import { TileButton as dr } from "./lib/Components/core/TileButton/TileButton.js";
|
|
60
|
+
import { Timeline as fr, TimelineItem as Cr, TimelineItemBody as cr, TimelineItemCaption as Sr, TimelineItemDescription as ur, TimelineItemHeader as gr, TimelineItemLeading as Ir, TimelineItemLeadingRow as br, TimelineItemTitle as sr, TimelineItemTrailing as Br } from "./lib/Components/core/Timeline/Timeline.js";
|
|
61
|
+
import { toast as Mr } from "./libs/utils-shared/dist/index.js";
|
|
62
|
+
import { Toast as vr } from "./lib/Components/core/Toast/Toast.js";
|
|
63
|
+
import { Toaster as Rr } from "./lib/Components/core/Toast/Toaster.js";
|
|
64
|
+
import { Tooltip as Hr, TooltipContent as Ar, TooltipProvider as Pr, TooltipTrigger as yr } from "./lib/Components/core/Tooltip/Tooltip.js";
|
|
65
|
+
import { Trend as kr } from "./lib/Components/core/Trend/Trend.js";
|
|
66
|
+
import { ThemeProvider as Er, useTheme as Fr } from "./lib/Components/core/ThemeProvider/ThemeProvider.js";
|
|
67
|
+
import { COLOR_SCHEMES as zr } from "./lib/Components/core/ThemeProvider/ThemeProvider.types.js";
|
|
67
68
|
export {
|
|
68
69
|
i as AddressInput,
|
|
69
70
|
T as AmountDisplay,
|
|
@@ -72,7 +73,7 @@ export {
|
|
|
72
73
|
S as AvatarButton,
|
|
73
74
|
g as Banner,
|
|
74
75
|
b as Button,
|
|
75
|
-
|
|
76
|
+
zr as COLOR_SCHEMES,
|
|
76
77
|
B as Card,
|
|
77
78
|
y as CardButton,
|
|
78
79
|
D as CardContent,
|
|
@@ -180,64 +181,65 @@ export {
|
|
|
180
181
|
dt as Skeleton,
|
|
181
182
|
ft as Spinner,
|
|
182
183
|
ct as Spot,
|
|
183
|
-
ut as
|
|
184
|
-
It as
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
ht as
|
|
192
|
-
wt as
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
Zt as
|
|
215
|
-
er as
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
vr as
|
|
236
|
-
Rr as
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
yr as
|
|
184
|
+
ut as SpotNumber,
|
|
185
|
+
It as Stepper,
|
|
186
|
+
st as Subheader,
|
|
187
|
+
Bt as SubheaderCount,
|
|
188
|
+
Dt as SubheaderDescription,
|
|
189
|
+
Mt as SubheaderInfo,
|
|
190
|
+
Lt as SubheaderRow,
|
|
191
|
+
vt as SubheaderShowMore,
|
|
192
|
+
ht as SubheaderTitle,
|
|
193
|
+
wt as Switch,
|
|
194
|
+
At as Table,
|
|
195
|
+
Pt as TableActionBar,
|
|
196
|
+
yt as TableActionBarLeading,
|
|
197
|
+
Nt as TableActionBarTrailing,
|
|
198
|
+
kt as TableBody,
|
|
199
|
+
Gt as TableCell,
|
|
200
|
+
Et as TableCellContent,
|
|
201
|
+
Ft as TableCellContentDescription,
|
|
202
|
+
Ot as TableCellContentRow,
|
|
203
|
+
zt as TableCellContentTitle,
|
|
204
|
+
Vt as TableCellItem,
|
|
205
|
+
_t as TableCol,
|
|
206
|
+
jt as TableColGroup,
|
|
207
|
+
qt as TableGroupHeaderRow,
|
|
208
|
+
Jt as TableHeader,
|
|
209
|
+
Kt as TableHeaderCell,
|
|
210
|
+
Qt as TableHeaderRow,
|
|
211
|
+
Ut as TableInfoIcon,
|
|
212
|
+
Wt as TableLoadingRow,
|
|
213
|
+
Xt as TableRoot,
|
|
214
|
+
Yt as TableRow,
|
|
215
|
+
Zt as TableSortButton,
|
|
216
|
+
er as Tag,
|
|
217
|
+
tr as TextInput,
|
|
218
|
+
Er as ThemeProvider,
|
|
219
|
+
nr as Tile,
|
|
220
|
+
dr as TileButton,
|
|
221
|
+
ar as TileContent,
|
|
222
|
+
ir as TileDescription,
|
|
223
|
+
lr as TileSecondaryAction,
|
|
224
|
+
mr as TileTitle,
|
|
225
|
+
pr as TileTrailingContent,
|
|
226
|
+
fr as Timeline,
|
|
227
|
+
Cr as TimelineItem,
|
|
228
|
+
cr as TimelineItemBody,
|
|
229
|
+
Sr as TimelineItemCaption,
|
|
230
|
+
ur as TimelineItemDescription,
|
|
231
|
+
gr as TimelineItemHeader,
|
|
232
|
+
Ir as TimelineItemLeading,
|
|
233
|
+
br as TimelineItemLeadingRow,
|
|
234
|
+
sr as TimelineItemTitle,
|
|
235
|
+
Br as TimelineItemTrailing,
|
|
236
|
+
vr as Toast,
|
|
237
|
+
Rr as Toaster,
|
|
238
|
+
Hr as Tooltip,
|
|
239
|
+
Ar as TooltipContent,
|
|
240
|
+
Pr as TooltipProvider,
|
|
241
|
+
yr as TooltipTrigger,
|
|
242
|
+
kr as Trend,
|
|
241
243
|
So as createMenuRadioGroup,
|
|
242
244
|
wo as createPopoverHandle,
|
|
243
245
|
jo as createSegmentedControl,
|
|
@@ -248,8 +250,8 @@ export {
|
|
|
248
250
|
Be as getDotIndicatorProps,
|
|
249
251
|
ve as getDotSymbolProps,
|
|
250
252
|
C as resolveAvatarColor,
|
|
251
|
-
|
|
253
|
+
Mr as toast,
|
|
252
254
|
n as useControllableState,
|
|
253
255
|
K as useLumenDataTable,
|
|
254
|
-
|
|
256
|
+
Fr as useTheme
|
|
255
257
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useCommonTranslation as f } from "../../../../
|
|
2
|
+
import { useCommonTranslation as f } from "../../../../translations/translations.js";
|
|
3
3
|
import { QrCode as p } from "../../symbols/icons/QrCode.js";
|
|
4
4
|
import { BaseInput as m } from "../../internal/BaseInput/BaseInput.js";
|
|
5
5
|
import { InteractiveIcon as c } from "../InteractiveIcon/InteractiveIcon.js";
|
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
|
2
2
|
import { useSplitText as y, buildAriaLabel as w, cn as m } from "../../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import { memo as u } from "react";
|
|
4
4
|
import { DIGITS as v } from "./types.js";
|
|
5
|
-
import { useCommonTranslation as D } from "../../../../
|
|
5
|
+
import { useCommonTranslation as D } from "../../../../translations/translations.js";
|
|
6
6
|
const o = {
|
|
7
7
|
"heading-1-semi-bold": {
|
|
8
8
|
0: 25,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useDisabledContext as
|
|
1
|
+
import { jsxs as k, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useDisabledContext as z, useMergedRef as F, getFontSize as D, cn as f } from "../../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import { cva as i } from "class-variance-authority";
|
|
4
4
|
import { useMemo as W } from "react";
|
|
5
5
|
import { useAmountInputValue as q } from "./useAmountInputValue/useAmountInputValue.js";
|
|
6
|
-
import { useAutoWidthInput as
|
|
7
|
-
const
|
|
6
|
+
import { useAutoWidthInput as B } from "./useAutoWidthInput/useAutoWidthInput.js";
|
|
7
|
+
const E = i(
|
|
8
8
|
[
|
|
9
9
|
"bg-transparent caret-active outline-hidden transition-colors",
|
|
10
10
|
"text-base placeholder:text-muted-subtle",
|
|
@@ -46,7 +46,7 @@ const L = 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 L = 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: {
|
|
@@ -83,17 +83,17 @@ const L = i(
|
|
|
83
83
|
allowDecimals: x = !0,
|
|
84
84
|
thousandsSeparator: w = !0,
|
|
85
85
|
decimalSeparator: y = ".",
|
|
86
|
-
value:
|
|
87
|
-
onChange:
|
|
86
|
+
value: S,
|
|
87
|
+
onChange: C,
|
|
88
88
|
placeholder: d,
|
|
89
89
|
...V
|
|
90
90
|
}) => {
|
|
91
|
-
const A =
|
|
91
|
+
const A = z({
|
|
92
92
|
consumerName: "AmountInput",
|
|
93
93
|
mergeWith: { disabled: g }
|
|
94
|
-
}), { inputValue: n, isChanging:
|
|
95
|
-
value:
|
|
96
|
-
onChange:
|
|
94
|
+
}), { inputValue: n, isChanging: N, setIsChanging: j, handleChange: I } = q({
|
|
95
|
+
value: S,
|
|
96
|
+
onChange: C,
|
|
97
97
|
formatOptions: {
|
|
98
98
|
allowDecimals: x,
|
|
99
99
|
thousandsSeparator: w,
|
|
@@ -101,18 +101,18 @@ const L = i(
|
|
|
101
101
|
maxDecimalLength: v,
|
|
102
102
|
decimalSeparator: y
|
|
103
103
|
}
|
|
104
|
-
}), u = n === "" ? d ?? "" : n, { spanRef:
|
|
104
|
+
}), u = n === "" ? d ?? "" : n, { spanRef: M, inputRef: m } = B({
|
|
105
105
|
inputValue: u,
|
|
106
106
|
currencyText: t,
|
|
107
107
|
size: e
|
|
108
|
-
}), R =
|
|
109
|
-
() =>
|
|
108
|
+
}), R = F(r, m), s = { fontSize: W(
|
|
109
|
+
() => D(n, e) + "px",
|
|
110
110
|
[n, e]
|
|
111
111
|
), letterSpacing: "normal" };
|
|
112
|
-
return /* @__PURE__ */
|
|
112
|
+
return /* @__PURE__ */ k(
|
|
113
113
|
"div",
|
|
114
114
|
{
|
|
115
|
-
className:
|
|
115
|
+
className: H({ align: h }),
|
|
116
116
|
onPointerDown: () => {
|
|
117
117
|
const p = m.current;
|
|
118
118
|
p && window.requestAnimationFrame(() => {
|
|
@@ -124,8 +124,8 @@ const L = i(
|
|
|
124
124
|
/* @__PURE__ */ a(
|
|
125
125
|
"span",
|
|
126
126
|
{
|
|
127
|
-
ref:
|
|
128
|
-
className:
|
|
127
|
+
ref: M,
|
|
128
|
+
className: G({ size: e }),
|
|
129
129
|
"aria-hidden": "true",
|
|
130
130
|
style: s,
|
|
131
131
|
children: u
|
|
@@ -140,9 +140,9 @@ const L = i(
|
|
|
140
140
|
disabled: A,
|
|
141
141
|
value: n,
|
|
142
142
|
placeholder: d,
|
|
143
|
-
onChange:
|
|
144
|
-
onAnimationEnd: () =>
|
|
145
|
-
className: f(
|
|
143
|
+
onChange: I,
|
|
144
|
+
onAnimationEnd: () => j(!1),
|
|
145
|
+
className: f(E({ size: e, isChanging: N }), o),
|
|
146
146
|
...V,
|
|
147
147
|
style: s
|
|
148
148
|
}
|
|
@@ -2,9 +2,9 @@ import { jsxs as h, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { cn as p } from "../../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import { cva as m } from "class-variance-authority";
|
|
4
4
|
import { useState as z, useEffect as y } from "react";
|
|
5
|
-
import { getAvatarFallbackTextColor as
|
|
6
|
-
import { useCommonTranslation as
|
|
7
|
-
import { User as
|
|
5
|
+
import { getAvatarFallbackTextColor as N } from "./resolveAvatarColor.js";
|
|
6
|
+
import { useCommonTranslation as j } from "../../../../translations/translations.js";
|
|
7
|
+
import { User as A } from "../../symbols/icons/User.js";
|
|
8
8
|
const c = {
|
|
9
9
|
root: m(
|
|
10
10
|
"relative inline-flex items-center justify-center rounded-full bg-base-transparent-hover align-middle transition-colors",
|
|
@@ -36,7 +36,7 @@ const c = {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
})
|
|
39
|
-
},
|
|
39
|
+
}, C = {
|
|
40
40
|
xs: 12,
|
|
41
41
|
sm: 16,
|
|
42
42
|
md: 24,
|
|
@@ -49,9 +49,9 @@ const c = {
|
|
|
49
49
|
fallbackColor: e
|
|
50
50
|
}) => {
|
|
51
51
|
const s = {
|
|
52
|
-
color:
|
|
52
|
+
color: N(e)
|
|
53
53
|
};
|
|
54
|
-
return r ? /* @__PURE__ */ t("span", { className: c.text({ size: o }), style: s, children: r }) : /* @__PURE__ */ t(
|
|
54
|
+
return r ? /* @__PURE__ */ t("span", { className: c.text({ size: o }), style: s, children: r }) : /* @__PURE__ */ t(A, { style: s, size: C[o], "aria-hidden": "true" });
|
|
55
55
|
}, q = ({
|
|
56
56
|
ref: o,
|
|
57
57
|
className: r,
|
|
@@ -64,7 +64,7 @@ const c = {
|
|
|
64
64
|
appearance: i,
|
|
65
65
|
...v
|
|
66
66
|
}) => {
|
|
67
|
-
const { t: f } =
|
|
67
|
+
const { t: f } = j(), [x, l] = z(!1), d = !e || x, g = s || f("components.avatar.defaultAriaLabel");
|
|
68
68
|
return y(() => {
|
|
69
69
|
l(!1);
|
|
70
70
|
}, [e]), /* @__PURE__ */ h(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as p, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useDisabledContext as f, cn as v } from "../../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import { Avatar as m } from "../Avatar/Avatar.js";
|
|
4
|
-
const
|
|
5
|
-
ref:
|
|
6
|
-
className:
|
|
7
|
-
src:
|
|
4
|
+
const N = ({
|
|
5
|
+
ref: t,
|
|
6
|
+
className: o,
|
|
7
|
+
src: s,
|
|
8
8
|
alt: r,
|
|
9
9
|
size: a,
|
|
10
10
|
imgLoading: n,
|
|
@@ -21,19 +21,19 @@ const A = ({
|
|
|
21
21
|
return /* @__PURE__ */ p(
|
|
22
22
|
"button",
|
|
23
23
|
{
|
|
24
|
-
ref:
|
|
24
|
+
ref: t,
|
|
25
25
|
type: "button",
|
|
26
26
|
disabled: c,
|
|
27
27
|
className: v(
|
|
28
28
|
"group relative cursor-pointer rounded-full focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-focus disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-30",
|
|
29
|
-
|
|
29
|
+
o
|
|
30
30
|
),
|
|
31
31
|
...b,
|
|
32
32
|
children: [
|
|
33
33
|
/* @__PURE__ */ e(
|
|
34
34
|
m,
|
|
35
35
|
{
|
|
36
|
-
src:
|
|
36
|
+
src: s,
|
|
37
37
|
alt: r,
|
|
38
38
|
size: a,
|
|
39
39
|
imgLoading: n,
|
|
@@ -48,5 +48,5 @@ const A = ({
|
|
|
48
48
|
);
|
|
49
49
|
};
|
|
50
50
|
export {
|
|
51
|
-
|
|
51
|
+
N as AvatarButton
|
|
52
52
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { cn as t } from "../../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import { cva as b } from "class-variance-authority";
|
|
4
|
-
import { useCommonTranslation as g } from "../../../../
|
|
4
|
+
import { useCommonTranslation as g } from "../../../../translations/translations.js";
|
|
5
5
|
import { IconButton as N } from "../IconButton/IconButton.js";
|
|
6
6
|
import { Close as h } from "../../symbols/icons/Close.js";
|
|
7
7
|
import { DeleteCircleFill as u } from "../../symbols/icons/DeleteCircleFill.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { cn as
|
|
3
|
-
import { cva as
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { cn as d } from "../../../../libs/utils-shared/dist/index.js";
|
|
3
|
+
import { cva as e } from "class-variance-authority";
|
|
4
4
|
import { BaseButton as b } from "../../internal/BaseButton/BaseButton.js";
|
|
5
|
-
const l =
|
|
5
|
+
const l = e("", {
|
|
6
6
|
variants: {
|
|
7
7
|
size: {
|
|
8
8
|
sm: "px-16 py-10 body-2-semi-bold",
|
|
@@ -22,7 +22,7 @@ const l = d("", {
|
|
|
22
22
|
size: o,
|
|
23
23
|
icon: i,
|
|
24
24
|
...p
|
|
25
|
-
}) => /* @__PURE__ */
|
|
25
|
+
}) => /* @__PURE__ */ n(
|
|
26
26
|
b,
|
|
27
27
|
{
|
|
28
28
|
ref: t,
|
|
@@ -30,7 +30,7 @@ const l = d("", {
|
|
|
30
30
|
disabled: r,
|
|
31
31
|
icon: i,
|
|
32
32
|
loading: s,
|
|
33
|
-
className:
|
|
33
|
+
className: d(l({ size: o }), "gap-8", m),
|
|
34
34
|
...p,
|
|
35
35
|
children: a
|
|
36
36
|
}
|
|
@@ -3,8 +3,8 @@ import { createSafeContext as m, DisabledProvider as g, cn as o, getButtonA11yPr
|
|
|
3
3
|
import { cva as v } from "class-variance-authority";
|
|
4
4
|
import { useMemo as h } from "react";
|
|
5
5
|
import { ChevronUp as N } from "../../symbols/icons/ChevronUp.js";
|
|
6
|
-
import { ChevronDown as
|
|
7
|
-
const
|
|
6
|
+
import { ChevronDown as k } from "../../symbols/icons/ChevronDown.js";
|
|
7
|
+
const w = ({
|
|
8
8
|
type: r,
|
|
9
9
|
expanded: t,
|
|
10
10
|
onClick: a,
|
|
@@ -83,7 +83,7 @@ const k = ({
|
|
|
83
83
|
...p
|
|
84
84
|
}) => {
|
|
85
85
|
const u = h(
|
|
86
|
-
() =>
|
|
86
|
+
() => w({
|
|
87
87
|
type: a,
|
|
88
88
|
expanded: e,
|
|
89
89
|
onClick: d,
|
|
@@ -143,7 +143,7 @@ const k = ({
|
|
|
143
143
|
t,
|
|
144
144
|
l && /* @__PURE__ */ f(b, { children: [
|
|
145
145
|
d && /* @__PURE__ */ n(N, { className: "text-muted", size: 20 }),
|
|
146
|
-
!d && /* @__PURE__ */ n(
|
|
146
|
+
!d && /* @__PURE__ */ n(k, { className: "text-muted", size: 20 })
|
|
147
147
|
] })
|
|
148
148
|
]
|
|
149
149
|
}
|
|
@@ -184,7 +184,7 @@ const k = ({
|
|
|
184
184
|
children: t
|
|
185
185
|
}
|
|
186
186
|
);
|
|
187
|
-
},
|
|
187
|
+
}, I = ({
|
|
188
188
|
ref: r,
|
|
189
189
|
children: t,
|
|
190
190
|
className: a,
|
|
@@ -207,7 +207,7 @@ const k = ({
|
|
|
207
207
|
children: t
|
|
208
208
|
}
|
|
209
209
|
);
|
|
210
|
-
},
|
|
210
|
+
}, J = ({
|
|
211
211
|
ref: r,
|
|
212
212
|
children: t,
|
|
213
213
|
className: a,
|
|
@@ -230,7 +230,7 @@ const k = ({
|
|
|
230
230
|
children: t
|
|
231
231
|
}
|
|
232
232
|
);
|
|
233
|
-
},
|
|
233
|
+
}, L = ({
|
|
234
234
|
ref: r,
|
|
235
235
|
children: t,
|
|
236
236
|
className: a,
|
|
@@ -253,7 +253,7 @@ const k = ({
|
|
|
253
253
|
children: t
|
|
254
254
|
}
|
|
255
255
|
);
|
|
256
|
-
},
|
|
256
|
+
}, M = ({
|
|
257
257
|
ref: r,
|
|
258
258
|
children: t,
|
|
259
259
|
className: a,
|
|
@@ -289,7 +289,7 @@ const k = ({
|
|
|
289
289
|
appearance: "plain"
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
),
|
|
292
|
+
), S = ({
|
|
293
293
|
ref: r,
|
|
294
294
|
children: t,
|
|
295
295
|
className: a,
|
|
@@ -322,7 +322,7 @@ const k = ({
|
|
|
322
322
|
) })
|
|
323
323
|
}
|
|
324
324
|
);
|
|
325
|
-
},
|
|
325
|
+
}, U = ({
|
|
326
326
|
ref: r,
|
|
327
327
|
children: t,
|
|
328
328
|
className: a,
|
|
@@ -339,13 +339,13 @@ const k = ({
|
|
|
339
339
|
export {
|
|
340
340
|
P as Card,
|
|
341
341
|
B as CardContent,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
342
|
+
L as CardContentDescription,
|
|
343
|
+
I as CardContentRow,
|
|
344
|
+
J as CardContentTitle,
|
|
345
|
+
S as CardFooter,
|
|
346
|
+
U as CardFooterActions,
|
|
347
347
|
T as CardHeader,
|
|
348
348
|
z as CardLeading,
|
|
349
|
-
|
|
350
|
-
|
|
349
|
+
M as CardTrailing,
|
|
350
|
+
w as resolveCardInnerContext
|
|
351
351
|
};
|
|
@@ -19,7 +19,7 @@ export declare const ContentBannerDescription: ({ ref, children, className, ...p
|
|
|
19
19
|
* import { ContentBanner, ContentBannerContent, ContentBannerTitle, ContentBannerDescription } from '@ledgerhq/lumen-ui-react';
|
|
20
20
|
*
|
|
21
21
|
* <ContentBanner onClose={() => {}}>
|
|
22
|
-
* <Spot
|
|
22
|
+
* <Spot icon={Wallet} size={48} />
|
|
23
23
|
* <ContentBannerContent>
|
|
24
24
|
* <ContentBannerTitle>Title</ContentBannerTitle>
|
|
25
25
|
* <ContentBannerDescription>Description text</ContentBannerDescription>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r, jsxs as c } from "react/jsx-runtime";
|
|
2
2
|
import { cn as a } from "../../../../libs/utils-shared/dist/index.js";
|
|
3
|
-
import { useCommonTranslation as m } from "../../../../
|
|
3
|
+
import { useCommonTranslation as m } from "../../../../translations/translations.js";
|
|
4
4
|
import { Close as p } from "../../symbols/icons/Close.js";
|
|
5
5
|
import { InteractiveIcon as d } from "../InteractiveIcon/InteractiveIcon.js";
|
|
6
6
|
const C = ({
|