@ledgerhq/lumen-ui-react 0.1.16 → 0.1.18
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 +7 -1
- package/dist/index.js +148 -142
- package/dist/lib/Components/AddressInput/AddressInput.d.ts +1 -4
- package/dist/lib/Components/AddressInput/AddressInput.d.ts.map +1 -1
- package/dist/lib/Components/AddressInput/AddressInput.js +21 -21
- package/dist/lib/Components/AmountDisplay/AmountDisplay.d.ts +1 -4
- package/dist/lib/Components/AmountDisplay/AmountDisplay.d.ts.map +1 -1
- package/dist/lib/Components/AmountDisplay/AmountDisplay.js +32 -29
- package/dist/lib/Components/AmountInput/AmountInput.d.ts +1 -4
- package/dist/lib/Components/AmountInput/AmountInput.d.ts.map +1 -1
- package/dist/lib/Components/AmountInput/AmountInput.js +13 -14
- package/dist/lib/Components/Avatar/Avatar.d.ts +1 -4
- package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/lib/Components/Avatar/Avatar.js +8 -9
- package/dist/lib/Components/BaseInput/BaseInput.d.ts +1 -4
- package/dist/lib/Components/BaseInput/BaseInput.d.ts.map +1 -1
- package/dist/lib/Components/BaseInput/BaseInput.js +66 -73
- package/dist/lib/Components/Button/BaseButton.d.ts +1 -4
- package/dist/lib/Components/Button/BaseButton.d.ts.map +1 -1
- package/dist/lib/Components/Button/BaseButton.js +14 -15
- package/dist/lib/Components/Button/Button.d.ts +1 -4
- package/dist/lib/Components/Button/Button.d.ts.map +1 -1
- package/dist/lib/Components/Button/Button.js +6 -7
- package/dist/lib/Components/Card/Card.d.ts +10 -40
- package/dist/lib/Components/Card/Card.d.ts.map +1 -1
- package/dist/lib/Components/Card/Card.js +115 -134
- package/dist/lib/Components/CardButton/CardButton.d.ts +1 -4
- package/dist/lib/Components/CardButton/CardButton.d.ts.map +1 -1
- package/dist/lib/Components/CardButton/CardButton.js +10 -11
- package/dist/lib/Components/Checkbox/Checkbox.d.ts +1 -4
- package/dist/lib/Components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/lib/Components/Checkbox/Checkbox.js +2 -3
- package/dist/lib/Components/ContentBanner/ContentBanner.d.ts +4 -16
- package/dist/lib/Components/ContentBanner/ContentBanner.d.ts.map +1 -1
- package/dist/lib/Components/ContentBanner/ContentBanner.js +48 -54
- package/dist/lib/Components/DataTable/DataTable.d.ts +3 -12
- package/dist/lib/Components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/lib/Components/DataTable/DataTable.js +84 -97
- package/dist/lib/Components/Dialog/Dialog.d.ts +3 -12
- package/dist/lib/Components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/lib/Components/Dialog/Dialog.js +44 -50
- package/dist/lib/Components/Dialog/DialogHeader/DialogHeader.d.ts +1 -4
- package/dist/lib/Components/Dialog/DialogHeader/DialogHeader.d.ts.map +1 -1
- package/dist/lib/Components/Dialog/DialogHeader/DialogHeader.js +31 -34
- package/dist/lib/Components/Divider/Divider.d.ts +1 -4
- package/dist/lib/Components/Divider/Divider.d.ts.map +1 -1
- package/dist/lib/Components/Divider/Divider.js +10 -11
- package/dist/lib/Components/Icon/Icon.d.ts +1 -4
- package/dist/lib/Components/Icon/Icon.d.ts.map +1 -1
- package/dist/lib/Components/Icon/Icon.js +6 -7
- package/dist/lib/Components/IconButton/IconButton.d.ts +1 -4
- package/dist/lib/Components/IconButton/IconButton.d.ts.map +1 -1
- package/dist/lib/Components/IconButton/IconButton.js +5 -6
- package/dist/lib/Components/InteractiveIcon/InteractiveIcon.d.ts +3 -11
- package/dist/lib/Components/InteractiveIcon/InteractiveIcon.d.ts.map +1 -1
- package/dist/lib/Components/InteractiveIcon/InteractiveIcon.js +24 -22
- package/dist/lib/Components/InteractiveIcon/types.d.ts +14 -9
- package/dist/lib/Components/InteractiveIcon/types.d.ts.map +1 -1
- package/dist/lib/Components/Link/Link.d.ts +1 -4
- package/dist/lib/Components/Link/Link.d.ts.map +1 -1
- package/dist/lib/Components/Link/Link.js +13 -14
- package/dist/lib/Components/ListItem/ListItem.d.ts +7 -28
- package/dist/lib/Components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/lib/Components/ListItem/ListItem.js +60 -63
- package/dist/lib/Components/MediaBanner/MediaBanner.d.ts +3 -12
- package/dist/lib/Components/MediaBanner/MediaBanner.d.ts.map +1 -1
- package/dist/lib/Components/MediaBanner/MediaBanner.js +39 -43
- package/dist/lib/Components/MediaCard/MediaCard.d.ts +2 -8
- package/dist/lib/Components/MediaCard/MediaCard.d.ts.map +1 -1
- package/dist/lib/Components/MediaCard/MediaCard.js +38 -40
- package/dist/lib/Components/MediaImage/MediaImage.d.ts +16 -0
- package/dist/lib/Components/MediaImage/MediaImage.d.ts.map +1 -0
- package/dist/lib/Components/MediaImage/MediaImage.js +74 -0
- package/dist/lib/Components/MediaImage/index.d.ts +3 -0
- package/dist/lib/Components/MediaImage/index.d.ts.map +1 -0
- package/dist/lib/Components/MediaImage/types.d.ts +38 -0
- package/dist/lib/Components/MediaImage/types.d.ts.map +1 -0
- package/dist/lib/Components/Menu/Menu.d.ts +11 -38
- package/dist/lib/Components/Menu/Menu.d.ts.map +1 -1
- package/dist/lib/Components/Menu/Menu.js +100 -116
- package/dist/lib/Components/NavBar/CoinCapsule.d.ts +1 -4
- package/dist/lib/Components/NavBar/CoinCapsule.d.ts.map +1 -1
- package/dist/lib/Components/NavBar/CoinCapsule.js +8 -9
- package/dist/lib/Components/NavBar/NavBar.d.ts +7 -22
- package/dist/lib/Components/NavBar/NavBar.d.ts.map +1 -1
- package/dist/lib/Components/NavBar/NavBar.js +25 -34
- package/dist/lib/Components/PageIndicator/PageIndicator.d.ts +1 -4
- package/dist/lib/Components/PageIndicator/PageIndicator.d.ts.map +1 -1
- package/dist/lib/Components/PageIndicator/PageIndicator.js +15 -16
- package/dist/lib/Components/Popover/Popover.d.ts +1 -4
- package/dist/lib/Components/Popover/Popover.d.ts.map +1 -1
- package/dist/lib/Components/Popover/Popover.js +5 -7
- package/dist/lib/Components/SearchInput/SearchInput.d.ts +1 -4
- package/dist/lib/Components/SearchInput/SearchInput.d.ts.map +1 -1
- package/dist/lib/Components/SearchInput/SearchInput.js +23 -20
- package/dist/lib/Components/SearchInput/types.d.ts +1 -1
- package/dist/lib/Components/SearchInput/types.d.ts.map +1 -1
- package/dist/lib/Components/SegmentedControl/SegmentedControl.d.ts +0 -6
- package/dist/lib/Components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/lib/Components/SegmentedControl/SegmentedControl.js +19 -21
- package/dist/lib/Components/Select/Select.d.ts +13 -28
- package/dist/lib/Components/Select/Select.d.ts.map +1 -1
- package/dist/lib/Components/Select/Select.js +339 -207
- package/dist/lib/Components/Select/SelectContext.d.ts +3 -1
- package/dist/lib/Components/Select/SelectContext.d.ts.map +1 -1
- package/dist/lib/Components/Select/index.d.ts +1 -1
- package/dist/lib/Components/Select/index.d.ts.map +1 -1
- package/dist/lib/Components/Select/types.d.ts +171 -140
- package/dist/lib/Components/Select/types.d.ts.map +1 -1
- package/dist/lib/Components/Select/useSelectItems/index.d.ts +2 -0
- package/dist/lib/Components/Select/useSelectItems/index.d.ts.map +1 -0
- package/dist/lib/Components/Select/useSelectItems/useSelectItems.d.ts +30 -0
- package/dist/lib/Components/Select/useSelectItems/useSelectItems.d.ts.map +1 -0
- package/dist/lib/Components/Select/useSelectItems/useSelectItems.js +42 -0
- package/dist/lib/Components/Select/utils/groupItems.d.ts +13 -0
- package/dist/lib/Components/Select/utils/groupItems.d.ts.map +1 -0
- package/dist/lib/Components/Select/utils/groupItems.js +16 -0
- package/dist/lib/Components/Select/utils/index.d.ts +2 -0
- package/dist/lib/Components/Select/utils/index.d.ts.map +1 -0
- package/dist/lib/Components/SideBar/SideBar.d.ts +5 -20
- package/dist/lib/Components/SideBar/SideBar.d.ts.map +1 -1
- package/dist/lib/Components/SideBar/SideBar.js +44 -53
- package/dist/lib/Components/Skeleton/Skeleton.d.ts +1 -4
- package/dist/lib/Components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/lib/Components/Skeleton/Skeleton.js +15 -22
- package/dist/lib/Components/Spot/Spot.d.ts +1 -4
- package/dist/lib/Components/Spot/Spot.d.ts.map +1 -1
- package/dist/lib/Components/Spot/Spot.js +11 -12
- package/dist/lib/Components/Stepper/Stepper.d.ts +1 -4
- package/dist/lib/Components/Stepper/Stepper.d.ts.map +1 -1
- package/dist/lib/Components/Stepper/Stepper.js +10 -11
- package/dist/lib/Components/Subheader/Subheader.d.ts +1 -4
- package/dist/lib/Components/Subheader/Subheader.d.ts.map +1 -1
- package/dist/lib/Components/Subheader/Subheader.js +14 -15
- package/dist/lib/Components/Subheader/types.d.ts +1 -1
- package/dist/lib/Components/Subheader/types.d.ts.map +1 -1
- package/dist/lib/Components/Switch/Switch.d.ts +1 -4
- package/dist/lib/Components/Switch/Switch.d.ts.map +1 -1
- package/dist/lib/Components/Switch/Switch.js +2 -3
- package/dist/lib/Components/Table/Table.d.ts +16 -64
- package/dist/lib/Components/Table/Table.d.ts.map +1 -1
- package/dist/lib/Components/Table/Table.js +146 -176
- package/dist/lib/Components/Tag/Tag.d.ts +1 -4
- package/dist/lib/Components/Tag/Tag.d.ts.map +1 -1
- package/dist/lib/Components/Tag/Tag.js +10 -11
- package/dist/lib/Components/TextInput/TextInput.d.ts +1 -4
- package/dist/lib/Components/TextInput/TextInput.d.ts.map +1 -1
- package/dist/lib/Components/TextInput/TextInput.js +4 -5
- package/dist/lib/Components/Tile/Tile.d.ts +6 -24
- package/dist/lib/Components/Tile/Tile.d.ts.map +1 -1
- package/dist/lib/Components/Tile/Tile.js +58 -71
- package/dist/lib/Components/TileButton/TileButton.d.ts +1 -4
- package/dist/lib/Components/TileButton/TileButton.d.ts.map +1 -1
- package/dist/lib/Components/TileButton/TileButton.js +12 -13
- package/dist/lib/Components/TriggerButton/TriggerButton.d.ts +1 -4
- package/dist/lib/Components/TriggerButton/TriggerButton.d.ts.map +1 -1
- package/dist/lib/Components/TriggerButton/TriggerButton.js +11 -12
- package/dist/lib/Components/index.d.ts +1 -0
- package/dist/lib/Components/index.d.ts.map +1 -1
- package/dist/libs/utils-shared/dist/index.js +151 -124
- package/dist/node_modules/@base-ui/react/esm/combobox/chips/ComboboxChipsContext.js +10 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/collection/ComboboxCollection.js +17 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/collection/GroupCollectionContext.js +23 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/empty/ComboboxEmpty.js +26 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/group/ComboboxGroup.js +34 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/group/ComboboxGroupContext.js +14 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/group-label/ComboboxGroupLabel.js +27 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/input/ComboboxInput.js +221 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/item/ComboboxItem.js +113 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/item/ComboboxItemContext.js +14 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/item-indicator/ComboboxItemIndicator.js +52 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/list/ComboboxList.js +65 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/popup/ComboboxPopup.js +76 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/portal/ComboboxPortal.js +24 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/portal/ComboboxPortalContext.js +14 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/positioner/ComboboxPositioner.js +102 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/positioner/ComboboxPositionerContext.js +14 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/root/AriaCombobox.js +596 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/root/ComboboxRoot.js +23 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/root/ComboboxRootContext.js +41 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/root/utils/constants.js +8 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/root/utils/index.js +23 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/root/utils/useFilter.js +43 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/row/ComboboxRowContext.js +10 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/store.js +74 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/trigger/ComboboxTrigger.js +135 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/utils/ComboboxInternalDismissButton.js +32 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/utils/stateAttributesMapping.js +15 -0
- package/dist/node_modules/@base-ui/react/esm/combobox/value/ComboboxValue.js +19 -0
- package/dist/node_modules/@base-ui/react/esm/composite/list/CompositeList.js +81 -0
- package/dist/node_modules/@base-ui/react/esm/composite/list/CompositeListContext.js +23 -0
- package/dist/node_modules/@base-ui/react/esm/composite/list/useCompositeListItem.js +55 -0
- package/dist/node_modules/@base-ui/react/esm/field/control/FieldControlDataAttributes.js +6 -0
- package/dist/node_modules/@base-ui/react/esm/field/root/FieldRootContext.js +53 -0
- package/dist/node_modules/@base-ui/react/esm/field/useField.js +51 -0
- package/dist/node_modules/@base-ui/react/esm/field/utils/constants.js +37 -0
- package/dist/node_modules/@base-ui/react/esm/field/utils/getCombinedFieldValidityData.js +12 -0
- package/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useListNavigation.js +287 -0
- package/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useTypeahead.js +71 -0
- package/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/composite.js +218 -4
- package/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/constants.js +7 -3
- package/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/element.js +3 -3
- package/dist/node_modules/@base-ui/react/esm/form/FormContext.js +23 -0
- package/dist/node_modules/@base-ui/react/esm/labelable-provider/LabelableContext.js +19 -0
- package/dist/node_modules/@base-ui/react/esm/labelable-provider/useLabelableId.js +44 -0
- package/dist/node_modules/@base-ui/react/esm/utils/constants.js +11 -8
- package/dist/node_modules/@base-ui/react/esm/utils/createBaseUIEventDetails.js +22 -13
- package/dist/node_modules/@base-ui/react/esm/utils/getPseudoElementBounds.js +18 -0
- package/dist/node_modules/@base-ui/react/esm/utils/itemEquality.js +20 -0
- package/dist/node_modules/@base-ui/react/esm/utils/reason-parts.js +13 -6
- package/dist/node_modules/@base-ui/react/esm/utils/resolveAriaLabelledBy.js +6 -0
- package/dist/node_modules/@base-ui/react/esm/utils/resolveValueLabel.js +73 -0
- package/dist/node_modules/@base-ui/react/esm/utils/serializeValue.js +14 -0
- package/dist/node_modules/@base-ui/utils/esm/detectBrowser.js +8 -7
- package/dist/node_modules/@base-ui/utils/esm/empty.js +3 -2
- package/dist/node_modules/@base-ui/utils/esm/useControlled.js +31 -0
- package/dist/node_modules/@base-ui/utils/esm/visuallyHidden.js +5 -1
- package/dist/package.json +1 -2
- package/package.json +1 -2
package/ai-rules/RULES.md
CHANGED
|
@@ -33,7 +33,7 @@ Lumen typography classes set `font-family: Inter` via design tokens. The consume
|
|
|
33
33
|
- Switch requires `@radix-ui/react-switch`
|
|
34
34
|
- Dialog requires `@radix-ui/react-dialog`
|
|
35
35
|
- Tooltip requires `@radix-ui/react-tooltip`
|
|
36
|
-
- Select requires `@
|
|
36
|
+
- Select requires `@base-ui/react/combobox`
|
|
37
37
|
|
|
38
38
|
---
|
|
39
39
|
|
|
@@ -252,6 +252,7 @@ Below is a complete list of all available Lumen components. Click any component
|
|
|
252
252
|
- [Avatar](https://ldls.vercel.app/?path=/docs/communication-avatar--docs) - User avatar with image, initials, or placeholder
|
|
253
253
|
- [Banner](https://ldls.vercel.app/?path=/docs/communication-banner--docs) - Alert and notification banners
|
|
254
254
|
- [Button](https://ldls.vercel.app/?path=/docs/action-button--docs) - Primary action button component
|
|
255
|
+
- [Card](https://ldls.vercel.app/?path=/docs/containment-card--docs) - Content container card
|
|
255
256
|
- [CardButton](https://ldls.vercel.app/?path=/docs/action-cardbutton--docs) - Card-style interactive button
|
|
256
257
|
- [Checkbox](https://ldls.vercel.app/?path=/docs/selection-checkbox--docs) - Checkbox input for selections
|
|
257
258
|
- [ContentBanner](https://ldls.vercel.app/?path=/docs/communication-contentbanner--docs) - Rich content banner with image support
|
|
@@ -263,10 +264,15 @@ Below is a complete list of all available Lumen components. Click any component
|
|
|
263
264
|
- [InteractiveIcon](https://ldls.vercel.app/?path=/docs/action-interactiveicon--docs) - Interactive icon with states
|
|
264
265
|
- [Link](https://ldls.vercel.app/?path=/docs/action-link--docs) - Hyperlink component
|
|
265
266
|
- [ListItem](https://ldls.vercel.app/?path=/docs/containment-listitem--docs) - List item with flexible composition
|
|
267
|
+
- [MediaBanner](https://ldls.vercel.app/?path=/docs/communication-mediabanner--docs) - Rich media banner with image and content
|
|
268
|
+
- [MediaCard](https://ldls.vercel.app/?path=/docs/communication-mediacard--docs) - Card with media content
|
|
269
|
+
- [MediaImage](https://ldls.vercel.app/?path=/docs/communication-mediaimage--docs) - Image display component with loading states
|
|
266
270
|
- [Menu](https://ldls.vercel.app/?path=/docs/selection-menu--docs) - Dropdown menu component
|
|
267
271
|
- [NavBar](https://ldls.vercel.app/?path=/docs/navigation-navbar--docs) - Top navigation bar
|
|
268
272
|
- [PageIndicator](https://ldls.vercel.app/?path=/docs/communication-pageindicator--docs) - Step and page progress indicator
|
|
273
|
+
- [Popover](https://ldls.vercel.app/?path=/docs/containment-popover--docs) - Popover overlay component
|
|
269
274
|
- [SearchInput](https://ldls.vercel.app/?path=/docs/input-searchinput--docs) - Search input field
|
|
275
|
+
- [SegmentedControl](https://ldls.vercel.app/?path=/docs/navigation-segmentedcontrol--docs) - Segmented control for toggling between views
|
|
270
276
|
- [Select](https://ldls.vercel.app/?path=/docs/selection-select--docs) - Dropdown select component
|
|
271
277
|
- [SideBar](https://ldls.vercel.app/?path=/docs/navigation-sidebar--docs) - Side navigation panel
|
|
272
278
|
- [Skeleton](https://ldls.vercel.app/?path=/docs/communication-skeleton--docs) - Loading placeholder skeleton
|
package/dist/index.js
CHANGED
|
@@ -1,62 +1,63 @@
|
|
|
1
|
-
import { Languages as
|
|
1
|
+
import { Languages as t } from "./i18n/languages.js";
|
|
2
2
|
import { AddressInput as a } from "./lib/Components/AddressInput/AddressInput.js";
|
|
3
3
|
import { AmountInput as i } from "./lib/Components/AmountInput/AmountInput.js";
|
|
4
4
|
import { AmountDisplay as p } from "./lib/Components/AmountDisplay/AmountDisplay.js";
|
|
5
|
-
import { Avatar as
|
|
5
|
+
import { Avatar as d } from "./lib/Components/Avatar/Avatar.js";
|
|
6
6
|
import { Banner as x } from "./lib/Components/Banner/Banner.js";
|
|
7
|
-
import { BaseInput as
|
|
8
|
-
import { Button as
|
|
9
|
-
import { BaseButton as
|
|
10
|
-
import { Card as
|
|
7
|
+
import { BaseInput as u } from "./lib/Components/BaseInput/BaseInput.js";
|
|
8
|
+
import { Button as S } from "./lib/Components/Button/Button.js";
|
|
9
|
+
import { BaseButton as c } from "./lib/Components/Button/BaseButton.js";
|
|
10
|
+
import { Card as b, CardContent as I, CardContentDescription as s, CardContentRow as M, CardContentTitle as D, CardFooter as L, CardFooterActions as h, CardHeader as v, CardLeading as R, CardTrailing as w } from "./lib/Components/Card/Card.js";
|
|
11
11
|
import { CardButton as H } from "./lib/Components/CardButton/CardButton.js";
|
|
12
|
-
import { ContentBanner as
|
|
13
|
-
import { Checkbox as
|
|
14
|
-
import { DataTable as
|
|
12
|
+
import { ContentBanner as y, ContentBannerContent as k, ContentBannerDescription as N, ContentBannerTitle as G } from "./lib/Components/ContentBanner/ContentBanner.js";
|
|
13
|
+
import { Checkbox as F } from "./lib/Components/Checkbox/Checkbox.js";
|
|
14
|
+
import { DataTable as z, DataTableGlobalSearchInput as _, DataTableRoot as j } from "./lib/Components/DataTable/DataTable.js";
|
|
15
15
|
import { useLumenDataTable as J } from "./lib/Components/DataTable/useLumenDataTable/useLumenDataTable.js";
|
|
16
16
|
import { DialogClose as Q } from "./lib/Components/Dialog/DialogClose/DialogClose.js";
|
|
17
17
|
import { Dialog as V, DialogBody as W, DialogBodyStickyContent as X, DialogContent as Y, DialogFooter as Z, DialogTrigger as $ } from "./lib/Components/Dialog/Dialog.js";
|
|
18
18
|
import { DialogHeader as oe } from "./lib/Components/Dialog/DialogHeader/DialogHeader.js";
|
|
19
|
-
import { Divider as
|
|
19
|
+
import { Divider as re } from "./lib/Components/Divider/Divider.js";
|
|
20
20
|
import { IconButton as ne } from "./lib/Components/IconButton/IconButton.js";
|
|
21
21
|
import { InteractiveIcon as le } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
|
|
22
22
|
import { Link as me } from "./lib/Components/Link/Link.js";
|
|
23
|
-
import { ListItem as
|
|
24
|
-
import { MediaBanner as
|
|
23
|
+
import { ListItem as Te, ListItemContent as xe, ListItemContentRow as fe, ListItemDescription as ue, ListItemLeading as Ce, ListItemTitle as Se, ListItemTrailing as ge } from "./lib/Components/ListItem/ListItem.js";
|
|
24
|
+
import { MediaBanner as Be, MediaBannerDescription as be, MediaBannerTitle as Ie } from "./lib/Components/MediaBanner/MediaBanner.js";
|
|
25
25
|
import { MediaCard as Me, MediaCardTitle as De } from "./lib/Components/MediaCard/MediaCard.js";
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
26
|
+
import { MediaImage as he, mediaImageDotSizeMap as ve } from "./lib/Components/MediaImage/MediaImage.js";
|
|
27
|
+
import { Menu as we, MenuCheckboxItem as Ae, MenuContent as He, MenuGroup as Pe, MenuItem as ye, MenuLabel as ke, MenuPortal as Ne, MenuRadioGroup as Ge, MenuRadioItem as Ee, MenuSeparator as Fe, MenuSub as Oe, MenuSubContent as ze, MenuSubTrigger as _e, MenuTrigger as je } from "./lib/Components/Menu/Menu.js";
|
|
28
|
+
import { NavBar as Je, NavBarBackButton as Ke, NavBarCoinCapsule as Qe, NavBarTitle as Ue, NavBarTrailing as Ve } from "./lib/Components/NavBar/NavBar.js";
|
|
29
|
+
import { Popover as Xe, PopoverContent as Ye, PopoverTrigger as Ze, createPopoverHandle as $e } from "./lib/Components/Popover/Popover.js";
|
|
30
|
+
import { PageIndicator as oo } from "./lib/Components/PageIndicator/PageIndicator.js";
|
|
31
|
+
import { SearchInput as ro } from "./lib/Components/SearchInput/SearchInput.js";
|
|
32
|
+
import { SegmentedControl as no, SegmentedControlButton as io } from "./lib/Components/SegmentedControl/SegmentedControl.js";
|
|
33
|
+
import { Select as po, SelectContent as mo, SelectEmptyState as To, SelectItem as xo, SelectItemContent as fo, SelectItemDescription as uo, SelectItemText as Co, SelectList as So, SelectSearch as go, SelectSeparator as co, SelectTrigger as Bo, SelectTriggerButton as bo } from "./lib/Components/Select/Select.js";
|
|
34
|
+
import { TriggerButton as so } from "./lib/Components/TriggerButton/TriggerButton.js";
|
|
35
|
+
import { SideBar as Do, SideBarCollapseToggle as Lo, SideBarItem as ho, SideBarLeading as vo, SideBarTrailing as Ro } from "./lib/Components/SideBar/SideBar.js";
|
|
36
|
+
import { Skeleton as Ao } from "./lib/Components/Skeleton/Skeleton.js";
|
|
37
|
+
import { Spinner as Po } from "./lib/Components/Spinner/Spinner.js";
|
|
38
|
+
import { Spot as ko } from "./lib/Components/Spot/Spot.js";
|
|
39
|
+
import { Stepper as Go } from "./lib/Components/Stepper/Stepper.js";
|
|
40
|
+
import { Subheader as Fo, SubheaderCount as Oo, SubheaderDescription as zo, SubheaderInfo as _o, SubheaderRow as jo, SubheaderShowMore as qo, SubheaderTitle as Jo } from "./lib/Components/Subheader/Subheader.js";
|
|
41
|
+
import { Switch as Qo } from "./lib/Components/Switch/Switch.js";
|
|
42
|
+
import { Table as Vo, TableActionBar as Wo, TableActionBarLeading as Xo, TableActionBarTrailing as Yo, TableBody as Zo, TableCell as $o, TableCellContent as et, TableGroupHeaderRow as ot, TableHeader as tt, TableHeaderCell as rt, TableHeaderRow as at, TableInfoIcon as nt, TableLoadingRow as it, TableRoot as lt, TableRow as pt, TableSortButton as mt } from "./lib/Components/Table/Table.js";
|
|
43
|
+
import { Tag as Tt } from "./lib/Components/Tag/Tag.js";
|
|
44
|
+
import { TextInput as ft } from "./lib/Components/TextInput/TextInput.js";
|
|
45
|
+
import { Tile as Ct, TileContent as St, TileDescription as gt, TileSecondaryAction as ct, TileTitle as Bt, TileTrailingContent as bt } from "./lib/Components/Tile/Tile.js";
|
|
46
|
+
import { TileButton as st } from "./lib/Components/TileButton/TileButton.js";
|
|
47
|
+
import { Tooltip as Dt, TooltipContent as Lt, TooltipProvider as ht, TooltipTrigger as vt } from "./lib/Components/Tooltip/Tooltip.js";
|
|
48
|
+
import { ThemeProvider as wt } from "./lib/Components/ThemeProvider/ThemeProvider.js";
|
|
49
|
+
import { COLOR_SCHEMES as Ht } from "./lib/Components/ThemeProvider/ThemeProvider.types.js";
|
|
49
50
|
export {
|
|
50
51
|
a as AddressInput,
|
|
51
52
|
p as AmountDisplay,
|
|
52
53
|
i as AmountInput,
|
|
53
|
-
|
|
54
|
+
d as Avatar,
|
|
54
55
|
x as Banner,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
c as BaseButton,
|
|
57
|
+
u as BaseInput,
|
|
58
|
+
S as Button,
|
|
59
|
+
Ht as COLOR_SCHEMES,
|
|
60
|
+
b as Card,
|
|
60
61
|
H as CardButton,
|
|
61
62
|
I as CardContent,
|
|
62
63
|
s as CardContentDescription,
|
|
@@ -67,14 +68,14 @@ export {
|
|
|
67
68
|
v as CardHeader,
|
|
68
69
|
R as CardLeading,
|
|
69
70
|
w as CardTrailing,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
71
|
+
F as Checkbox,
|
|
72
|
+
y as ContentBanner,
|
|
73
|
+
k as ContentBannerContent,
|
|
74
|
+
N as ContentBannerDescription,
|
|
75
|
+
G as ContentBannerTitle,
|
|
76
|
+
z as DataTable,
|
|
77
|
+
_ as DataTableGlobalSearchInput,
|
|
78
|
+
j as DataTableRoot,
|
|
78
79
|
V as Dialog,
|
|
79
80
|
W as DialogBody,
|
|
80
81
|
X as DialogBodyStickyContent,
|
|
@@ -83,106 +84,111 @@ export {
|
|
|
83
84
|
Z as DialogFooter,
|
|
84
85
|
oe as DialogHeader,
|
|
85
86
|
$ as DialogTrigger,
|
|
86
|
-
|
|
87
|
+
re as Divider,
|
|
87
88
|
ne as IconButton,
|
|
88
89
|
le as InteractiveIcon,
|
|
89
|
-
|
|
90
|
+
t as Languages,
|
|
90
91
|
me as Link,
|
|
91
|
-
|
|
92
|
+
Te as ListItem,
|
|
92
93
|
xe as ListItemContent,
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
fe as ListItemContentRow,
|
|
95
|
+
ue as ListItemDescription,
|
|
95
96
|
Ce as ListItemLeading,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
Se as ListItemTitle,
|
|
98
|
+
ge as ListItemTrailing,
|
|
99
|
+
Be as MediaBanner,
|
|
100
|
+
be as MediaBannerDescription,
|
|
100
101
|
Ie as MediaBannerTitle,
|
|
101
102
|
Me as MediaCard,
|
|
102
103
|
De as MediaCardTitle,
|
|
103
|
-
he as
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
je as
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
ro as
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
ho as
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
Go as
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
_o as
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
Jo as
|
|
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
|
-
|
|
104
|
+
he as MediaImage,
|
|
105
|
+
we as Menu,
|
|
106
|
+
Ae as MenuCheckboxItem,
|
|
107
|
+
He as MenuContent,
|
|
108
|
+
Pe as MenuGroup,
|
|
109
|
+
ye as MenuItem,
|
|
110
|
+
ke as MenuLabel,
|
|
111
|
+
Ne as MenuPortal,
|
|
112
|
+
Ge as MenuRadioGroup,
|
|
113
|
+
Ee as MenuRadioItem,
|
|
114
|
+
Fe as MenuSeparator,
|
|
115
|
+
Oe as MenuSub,
|
|
116
|
+
ze as MenuSubContent,
|
|
117
|
+
_e as MenuSubTrigger,
|
|
118
|
+
je as MenuTrigger,
|
|
119
|
+
Je as NavBar,
|
|
120
|
+
Ke as NavBarBackButton,
|
|
121
|
+
Qe as NavBarCoinCapsule,
|
|
122
|
+
Ue as NavBarTitle,
|
|
123
|
+
Ve as NavBarTrailing,
|
|
124
|
+
oo as PageIndicator,
|
|
125
|
+
Xe as Popover,
|
|
126
|
+
Ye as PopoverContent,
|
|
127
|
+
Ze as PopoverTrigger,
|
|
128
|
+
ro as SearchInput,
|
|
129
|
+
no as SegmentedControl,
|
|
130
|
+
io as SegmentedControlButton,
|
|
131
|
+
po as Select,
|
|
132
|
+
mo as SelectContent,
|
|
133
|
+
To as SelectEmptyState,
|
|
134
|
+
xo as SelectItem,
|
|
135
|
+
fo as SelectItemContent,
|
|
136
|
+
uo as SelectItemDescription,
|
|
137
|
+
Co as SelectItemText,
|
|
138
|
+
So as SelectList,
|
|
139
|
+
go as SelectSearch,
|
|
140
|
+
co as SelectSeparator,
|
|
141
|
+
Bo as SelectTrigger,
|
|
142
|
+
bo as SelectTriggerButton,
|
|
143
|
+
Do as SideBar,
|
|
144
|
+
Lo as SideBarCollapseToggle,
|
|
145
|
+
ho as SideBarItem,
|
|
146
|
+
vo as SideBarLeading,
|
|
147
|
+
Ro as SideBarTrailing,
|
|
148
|
+
Ao as Skeleton,
|
|
149
|
+
Po as Spinner,
|
|
150
|
+
ko as Spot,
|
|
151
|
+
Go as Stepper,
|
|
152
|
+
Fo as Subheader,
|
|
153
|
+
Oo as SubheaderCount,
|
|
154
|
+
zo as SubheaderDescription,
|
|
155
|
+
_o as SubheaderInfo,
|
|
156
|
+
jo as SubheaderRow,
|
|
157
|
+
qo as SubheaderShowMore,
|
|
158
|
+
Jo as SubheaderTitle,
|
|
159
|
+
Qo as Switch,
|
|
160
|
+
Vo as Table,
|
|
161
|
+
Wo as TableActionBar,
|
|
162
|
+
Xo as TableActionBarLeading,
|
|
163
|
+
Yo as TableActionBarTrailing,
|
|
164
|
+
Zo as TableBody,
|
|
165
|
+
$o as TableCell,
|
|
166
|
+
et as TableCellContent,
|
|
167
|
+
ot as TableGroupHeaderRow,
|
|
168
|
+
tt as TableHeader,
|
|
169
|
+
rt as TableHeaderCell,
|
|
170
|
+
at as TableHeaderRow,
|
|
171
|
+
nt as TableInfoIcon,
|
|
172
|
+
it as TableLoadingRow,
|
|
173
|
+
lt as TableRoot,
|
|
174
|
+
pt as TableRow,
|
|
175
|
+
mt as TableSortButton,
|
|
176
|
+
Tt as Tag,
|
|
177
|
+
ft as TextInput,
|
|
178
|
+
wt as ThemeProvider,
|
|
179
|
+
Ct as Tile,
|
|
180
|
+
st as TileButton,
|
|
181
|
+
St as TileContent,
|
|
182
|
+
gt as TileDescription,
|
|
183
|
+
ct as TileSecondaryAction,
|
|
184
|
+
Bt as TileTitle,
|
|
185
|
+
bt as TileTrailingContent,
|
|
186
|
+
Dt as Tooltip,
|
|
187
|
+
Lt as TooltipContent,
|
|
188
|
+
ht as TooltipProvider,
|
|
189
|
+
vt as TooltipTrigger,
|
|
190
|
+
so as TriggerButton,
|
|
191
|
+
$e as createPopoverHandle,
|
|
192
|
+
ve as mediaImageDotSizeMap,
|
|
187
193
|
J as useLumenDataTable
|
|
188
194
|
};
|
|
@@ -54,8 +54,5 @@ import { AddressInputProps } from './types';
|
|
|
54
54
|
* }}
|
|
55
55
|
* />
|
|
56
56
|
*/
|
|
57
|
-
export declare const AddressInput: {
|
|
58
|
-
({ ref, prefix, suffix, onQrCodeClick, ...props }: AddressInputProps): import("react/jsx-runtime").JSX.Element;
|
|
59
|
-
displayName: string;
|
|
60
|
-
};
|
|
57
|
+
export declare const AddressInput: ({ ref, prefix, suffix, onQrCodeClick, ...props }: AddressInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
61
58
|
//# sourceMappingURL=AddressInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddressInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AddressInput/AddressInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"AddressInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AddressInput/AddressInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,eAAO,MAAM,YAAY,GAAI,kDAM1B,iBAAiB,4CAmCnB,CAAC"}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useCommonTranslation as
|
|
3
|
-
import { QrCode as
|
|
2
|
+
import { useCommonTranslation as f } from "../../../i18n/useCommonTranslation.js";
|
|
3
|
+
import { QrCode as p } from "../../Symbols/Icons/QrCode.js";
|
|
4
4
|
import { BaseInput as m } from "../BaseInput/BaseInput.js";
|
|
5
|
-
import { InteractiveIcon as
|
|
6
|
-
const
|
|
7
|
-
ref:
|
|
8
|
-
prefix:
|
|
9
|
-
suffix:
|
|
5
|
+
import { InteractiveIcon as c } from "../InteractiveIcon/InteractiveIcon.js";
|
|
6
|
+
const h = ({
|
|
7
|
+
ref: o,
|
|
8
|
+
prefix: r = "To:",
|
|
9
|
+
suffix: s,
|
|
10
10
|
onQrCodeClick: t,
|
|
11
|
-
...
|
|
11
|
+
...i
|
|
12
12
|
}) => {
|
|
13
|
-
const { t:
|
|
13
|
+
const { t: a } = f(), n = /* @__PURE__ */ e(
|
|
14
14
|
"span",
|
|
15
15
|
{
|
|
16
16
|
className: "body-1 text-nowrap text-base group-has-disabled:text-disabled",
|
|
17
17
|
"aria-hidden": "true",
|
|
18
|
-
children:
|
|
18
|
+
children: r
|
|
19
19
|
}
|
|
20
|
-
),
|
|
21
|
-
|
|
20
|
+
), d = s || t && /* @__PURE__ */ e(
|
|
21
|
+
c,
|
|
22
22
|
{
|
|
23
23
|
iconType: "filled",
|
|
24
|
+
icon: p,
|
|
25
|
+
size: 20,
|
|
24
26
|
onClick: t,
|
|
25
|
-
"aria-label":
|
|
26
|
-
className: "group-has-disabled:text-disabled"
|
|
27
|
-
children: /* @__PURE__ */ e(f, { size: 20 })
|
|
27
|
+
"aria-label": a("components.addressInput.qrCodeAriaLabel"),
|
|
28
|
+
className: "group-has-disabled:text-disabled"
|
|
28
29
|
}
|
|
29
30
|
);
|
|
30
31
|
return /* @__PURE__ */ e(
|
|
31
32
|
m,
|
|
32
33
|
{
|
|
33
|
-
ref:
|
|
34
|
-
prefix:
|
|
35
|
-
suffix:
|
|
36
|
-
...
|
|
34
|
+
ref: o,
|
|
35
|
+
prefix: n,
|
|
36
|
+
suffix: d,
|
|
37
|
+
...i
|
|
37
38
|
}
|
|
38
39
|
);
|
|
39
40
|
};
|
|
40
|
-
c.displayName = "AddressInput";
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
h as AddressInput
|
|
43
43
|
};
|
|
@@ -32,8 +32,5 @@ import { AmountDisplayProps } from './types';
|
|
|
32
32
|
* <AmountDisplay value={1234.56} formatter={usdFormatter} hidden={true} />
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
|
-
export declare const AmountDisplay: {
|
|
36
|
-
({ value, formatter, hidden, loading, animate, className, ...props }: AmountDisplayProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
displayName: string;
|
|
38
|
-
};
|
|
35
|
+
export declare const AmountDisplay: ({ value, formatter, hidden, loading, animate, className, ...props }: AmountDisplayProps) => import("react/jsx-runtime").JSX.Element;
|
|
39
36
|
//# sourceMappingURL=AmountDisplay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AmountDisplay/AmountDisplay.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,kBAAkB,EAInB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AmountDisplay/AmountDisplay.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,kBAAkB,EAInB,MAAM,SAAS,CAAC;AA6EjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,aAAa,GAAI,qEAQ3B,kBAAkB,4CA4DpB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import { useSplitText as
|
|
2
|
+
import { useSplitText as x, buildAriaLabel as b, cn as p } from "../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import { memo as d } from "react";
|
|
4
|
-
import { DIGITS as
|
|
5
|
-
import { useCommonTranslation as
|
|
6
|
-
const
|
|
4
|
+
import { DIGITS as D } from "./types.js";
|
|
5
|
+
import { useCommonTranslation as N } from "../../../i18n/useCommonTranslation.js";
|
|
6
|
+
const g = {
|
|
7
7
|
0: 25,
|
|
8
8
|
1: 15.5,
|
|
9
9
|
2: 23.5,
|
|
@@ -25,8 +25,8 @@ const N = {
|
|
|
25
25
|
7: 15,
|
|
26
26
|
8: 17,
|
|
27
27
|
9: 17
|
|
28
|
-
},
|
|
29
|
-
const s = (i === "integer" ?
|
|
28
|
+
}, u = d(({ value: a, animate: l, type: i }) => {
|
|
29
|
+
const s = (i === "integer" ? g : I)[a];
|
|
30
30
|
return /* @__PURE__ */ c(
|
|
31
31
|
"div",
|
|
32
32
|
{
|
|
@@ -44,36 +44,40 @@ const N = {
|
|
|
44
44
|
style: {
|
|
45
45
|
transform: `translateY(-${a * 10}%)`
|
|
46
46
|
},
|
|
47
|
-
children:
|
|
47
|
+
children: D.map((r, n) => /* @__PURE__ */ e("span", { inert: r !== a, children: r }, n))
|
|
48
48
|
}
|
|
49
49
|
)
|
|
50
50
|
]
|
|
51
51
|
}
|
|
52
52
|
);
|
|
53
|
-
})
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
});
|
|
54
|
+
u.displayName = "DigitStrip";
|
|
55
|
+
const o = d(({ items: a, type: l, animate: i }) => a.map((s, r) => {
|
|
56
|
+
const n = a.length - r;
|
|
57
|
+
return s.type === "separator" ? /* @__PURE__ */ e("span", { children: s.value }, n) : /* @__PURE__ */ e(
|
|
58
|
+
u,
|
|
57
59
|
{
|
|
58
60
|
value: Number(s.value),
|
|
59
61
|
animate: i,
|
|
60
62
|
type: l
|
|
61
63
|
},
|
|
62
|
-
|
|
64
|
+
n
|
|
63
65
|
);
|
|
64
|
-
}))
|
|
66
|
+
}));
|
|
67
|
+
o.displayName = "DigitStripList";
|
|
68
|
+
const w = ({
|
|
65
69
|
value: a,
|
|
66
70
|
formatter: l,
|
|
67
71
|
hidden: i = !1,
|
|
68
72
|
loading: s = !1,
|
|
69
|
-
animate:
|
|
70
|
-
className:
|
|
71
|
-
...
|
|
73
|
+
animate: r = !0,
|
|
74
|
+
className: n,
|
|
75
|
+
...f
|
|
72
76
|
}) => {
|
|
73
|
-
const t = l(a),
|
|
77
|
+
const t = l(a), m = x(t), { t: h } = N(), y = b(
|
|
74
78
|
t,
|
|
75
79
|
i,
|
|
76
|
-
|
|
80
|
+
h("components.amountDisplay.amountHiddenAriaLabel")
|
|
77
81
|
);
|
|
78
82
|
return /* @__PURE__ */ e(
|
|
79
83
|
"div",
|
|
@@ -81,11 +85,11 @@ const N = {
|
|
|
81
85
|
className: p(
|
|
82
86
|
s && "animate-pulse",
|
|
83
87
|
"relative inline-flex",
|
|
84
|
-
|
|
88
|
+
n
|
|
85
89
|
),
|
|
86
|
-
"aria-label":
|
|
90
|
+
"aria-label": y,
|
|
87
91
|
"aria-busy": s,
|
|
88
|
-
...
|
|
92
|
+
...f,
|
|
89
93
|
children: /* @__PURE__ */ c("div", { className: "flex items-baseline", children: [
|
|
90
94
|
/* @__PURE__ */ c(
|
|
91
95
|
"span",
|
|
@@ -95,10 +99,10 @@ const N = {
|
|
|
95
99
|
children: [
|
|
96
100
|
t.currencyPosition === "start" && /* @__PURE__ */ e("span", { className: "me-4", children: t.currencyText }),
|
|
97
101
|
i ? /* @__PURE__ */ e("span", { children: "••••" }) : /* @__PURE__ */ e(
|
|
98
|
-
|
|
102
|
+
o,
|
|
99
103
|
{
|
|
100
|
-
items:
|
|
101
|
-
animate:
|
|
104
|
+
items: m.integerPart,
|
|
105
|
+
animate: r,
|
|
102
106
|
type: "integer"
|
|
103
107
|
}
|
|
104
108
|
)
|
|
@@ -113,10 +117,10 @@ const N = {
|
|
|
113
117
|
children: [
|
|
114
118
|
!i && t.decimalPart && /* @__PURE__ */ e("span", { children: t.decimalSeparator }),
|
|
115
119
|
t.decimalPart && !i && /* @__PURE__ */ e(
|
|
116
|
-
|
|
120
|
+
o,
|
|
117
121
|
{
|
|
118
|
-
items:
|
|
119
|
-
animate:
|
|
122
|
+
items: m.decimalPart,
|
|
123
|
+
animate: r,
|
|
120
124
|
type: "decimal"
|
|
121
125
|
}
|
|
122
126
|
),
|
|
@@ -128,7 +132,6 @@ const N = {
|
|
|
128
132
|
}
|
|
129
133
|
);
|
|
130
134
|
};
|
|
131
|
-
g.displayName = "AmountDisplay";
|
|
132
135
|
export {
|
|
133
|
-
|
|
136
|
+
w as AmountDisplay
|
|
134
137
|
};
|
|
@@ -4,8 +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: {
|
|
8
|
-
({ ref, className, currencyText, currencyPosition, disabled: disabledProp, maxIntegerLength, maxDecimalLength, allowDecimals, thousandsSeparator, value, onChange, ...props }: AmountInputProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
7
|
+
export declare const AmountInput: ({ ref, className, currencyText, currencyPosition, disabled: disabledProp, maxIntegerLength, maxDecimalLength, allowDecimals, thousandsSeparator, value, onChange, ...props }: AmountInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
8
|
//# sourceMappingURL=AmountInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AmountInput/AmountInput.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAgC3C;;;;GAIG;AACH,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AmountInput/AmountInput.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAgC3C;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,8KAazB,gBAAgB,4CAkHlB,CAAC"}
|