@ledgerhq/lumen-ui-react 0.1.34 → 0.1.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,69 +1,70 @@
1
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
- import { AmountDisplay as l } from "./lib/Components/AmountDisplay/AmountDisplay.js";
4
+ import { AmountDisplay as m } from "./lib/Components/AmountDisplay/AmountDisplay.js";
5
5
  import { Avatar as d } from "./lib/Components/Avatar/Avatar.js";
6
6
  import { Banner as T } from "./lib/Components/Banner/Banner.js";
7
7
  import { BaseInput as u } from "./lib/Components/BaseInput/BaseInput.js";
8
8
  import { Button as C } from "./lib/Components/Button/Button.js";
9
9
  import { BaseButton as g } from "./lib/Components/Button/BaseButton.js";
10
- import { Card as I, CardContent as b, CardContentDescription as s, CardContentRow as D, CardContentTitle as M, CardFooter as L, CardFooterActions as h, CardHeader as v, CardLeading as R, CardTrailing as w } from "./lib/Components/Card/Card.js";
10
+ import { Card as B, CardContent as b, CardContentDescription as s, CardContentRow as D, CardContentTitle as M, 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 y } from "./lib/Components/CardButton/CardButton.js";
12
- import { ContentBanner as P, ContentBannerContent as N, ContentBannerDescription as k, ContentBannerTitle as z } from "./lib/Components/ContentBanner/ContentBanner.js";
13
- import { Checkbox as E } from "./lib/Components/Checkbox/Checkbox.js";
14
- import { DataTable as O, DataTableGlobalSearchInput as _, DataTableRoot as j } from "./lib/Components/DataTable/DataTable.js";
15
- import { useLumenDataTable as J } from "./lib/Components/DataTable/useLumenDataTable/useLumenDataTable.js";
16
- import { DialogClose as Q } from "./lib/Components/Dialog/DialogClose/DialogClose.js";
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
- import { DialogHeader as oe } from "./lib/Components/Dialog/DialogHeader/DialogHeader.js";
19
- import { Divider as re } from "./lib/Components/Divider/Divider.js";
20
- import { DotCount as ne } from "./lib/Components/DotCount/DotCount.js";
21
- import { DotIcon as pe, dotIconSizeMap as le, mediaImageDotIconSizeMap as me, spotDotIconSizeMap as de } from "./lib/Components/DotIcon/DotIcon.js";
22
- import { DotIndicator as Te } from "./lib/Components/DotIndicator/DotIndicator.js";
23
- import { DotSymbol as ue, mediaImageDotSizeMap as Se, spotDotSizeMap as Ce } from "./lib/Components/DotSymbol/DotSymbol.js";
24
- import { IconButton as ge } from "./lib/Components/IconButton/IconButton.js";
25
- import { InteractiveIcon as Ie } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
26
- import { Link as se } from "./lib/Components/Link/Link.js";
27
- import { ListItem as Me, ListItemContent as Le, ListItemContentRow as he, ListItemDescription as ve, ListItemLeading as Re, ListItemTitle as we, ListItemTrailing as Ae } from "./lib/Components/ListItem/ListItem.js";
28
- import { MediaBanner as He, MediaBannerDescription as Pe, MediaBannerTitle as Ne } from "./lib/Components/MediaBanner/MediaBanner.js";
29
- import { MediaButton as ze } from "./lib/Components/MediaButton/MediaButton.js";
30
- import { MediaCard as Ee, MediaCardTitle as Fe } from "./lib/Components/MediaCard/MediaCard.js";
31
- import { MediaImage as _e } from "./lib/Components/MediaImage/MediaImage.js";
32
- import { MediaTag as qe } from "./lib/Components/MediaTag/MediaTag.js";
33
- import { Menu as Ke, MenuCheckboxItem as Qe, MenuContent as Ue, MenuGroup as Ve, MenuItem as We, MenuLabel as Xe, MenuPortal as Ye, MenuRadioGroup as Ze, MenuRadioItem as $e, MenuSeparator as eo, MenuSub as oo, MenuSubContent as to, MenuSubTrigger as ro, MenuTrigger as ao } from "./lib/Components/Menu/Menu.js";
34
- import { NavBar as io, NavBarBackButton as po, NavBarCoinCapsule as lo, NavBarDescription as mo, NavBarLeading as xo, NavBarTitle as To, NavBarTrailing as fo } from "./lib/Components/NavBar/NavBar.js";
35
- import { Popover as So, PopoverContent as Co, PopoverTrigger as co, createPopoverHandle as go } from "./lib/Components/Popover/Popover.js";
36
- import { PageIndicator as Io } from "./lib/Components/PageIndicator/PageIndicator.js";
37
- import { SearchInput as so } from "./lib/Components/SearchInput/SearchInput.js";
38
- import { SegmentedControl as Mo, SegmentedControlButton as Lo } from "./lib/Components/SegmentedControl/SegmentedControl.js";
39
- import { Select as vo, SelectContent as Ro, SelectEmptyState as wo, SelectItem as Ao, SelectItemContent as yo, SelectItemDescription as Ho, SelectItemText as Po, SelectList as No, SelectSearch as ko, SelectSeparator as zo, SelectTrigger as Go } from "./lib/Components/Select/Select.js";
40
- import { SideBar as Fo, SideBarCollapseToggle as Oo, SideBarItem as _o, SideBarLeading as jo, SideBarTrailing as qo } from "./lib/Components/SideBar/SideBar.js";
41
- import { Skeleton as Ko } from "./lib/Components/Skeleton/Skeleton.js";
42
- import { Spinner as Uo } from "./lib/Components/Spinner/Spinner.js";
43
- import { Spot as Wo } from "./lib/Components/Spot/Spot.js";
44
- import { Stepper as Yo } from "./lib/Components/Stepper/Stepper.js";
45
- import { Subheader as $o, SubheaderCount as et, SubheaderDescription as ot, SubheaderInfo as tt, SubheaderRow as rt, SubheaderShowMore as at, SubheaderTitle as nt } from "./lib/Components/Subheader/Subheader.js";
46
- import { Switch as pt } from "./lib/Components/Switch/Switch.js";
47
- import { Table as mt, TableActionBar as dt, TableActionBarLeading as xt, TableActionBarTrailing as Tt, TableBody as ft, TableCell as ut, TableCellContent as St, TableGroupHeaderRow as Ct, TableHeader as ct, TableHeaderCell as gt, TableHeaderRow as Bt, TableInfoIcon as It, TableLoadingRow as bt, TableRoot as st, TableRow as Dt, TableSortButton as Mt } from "./lib/Components/Table/Table.js";
48
- import { Tag as ht } from "./lib/Components/Tag/Tag.js";
49
- import { TextInput as Rt } from "./lib/Components/TextInput/TextInput.js";
50
- import { Tile as At, TileContent as yt, TileDescription as Ht, TileSecondaryAction as Pt, TileTitle as Nt, TileTrailingContent as kt } from "./lib/Components/Tile/Tile.js";
51
- import { TileButton as Gt } from "./lib/Components/TileButton/TileButton.js";
52
- import { Tooltip as Ft, TooltipContent as Ot, TooltipProvider as _t, TooltipTrigger as jt } from "./lib/Components/Tooltip/Tooltip.js";
53
- import { Trend as Jt } from "./lib/Components/Trend/Trend.js";
54
- import { ThemeProvider as Qt, useTheme as Ut } from "./lib/Components/ThemeProvider/ThemeProvider.js";
55
- import { COLOR_SCHEMES as Wt } from "./lib/Components/ThemeProvider/ThemeProvider.types.js";
12
+ import { Checkbox as P } from "./lib/Components/Checkbox/Checkbox.js";
13
+ import { ContentBanner as k, ContentBannerContent as z, ContentBannerDescription as G, ContentBannerTitle as E } from "./lib/Components/ContentBanner/ContentBanner.js";
14
+ import { DataTable as O, DataTableGlobalSearchInput as V, DataTableRoot as _ } from "./lib/Components/DataTable/DataTable.js";
15
+ import { useLumenDataTable as q } from "./lib/Components/DataTable/useLumenDataTable/useLumenDataTable.js";
16
+ import { DescriptionItem as K, DescriptionItemLabel as Q, DescriptionItemLeading as U, DescriptionItemTrailing as W, DescriptionItemValue as X } from "./lib/Components/DescriptionItem/DescriptionItem.js";
17
+ import { DialogClose as Z } from "./lib/Components/Dialog/DialogClose/DialogClose.js";
18
+ import { Dialog as ee, DialogBody as oe, DialogBodyStickyContent as te, DialogContent as re, DialogFooter as ae, DialogTrigger as ne } from "./lib/Components/Dialog/Dialog.js";
19
+ import { DialogHeader as pe } from "./lib/Components/Dialog/DialogHeader/DialogHeader.js";
20
+ import { Divider as le } from "./lib/Components/Divider/Divider.js";
21
+ import { DotCount as xe } from "./lib/Components/DotCount/DotCount.js";
22
+ import { DotIcon as fe, dotIconSizeMap as ue, mediaImageDotIconSizeMap as Se, spotDotIconSizeMap as Ce } from "./lib/Components/DotIcon/DotIcon.js";
23
+ import { DotIndicator as ge } from "./lib/Components/DotIndicator/DotIndicator.js";
24
+ import { DotSymbol as Be, mediaImageDotSizeMap as be, spotDotSizeMap as se } from "./lib/Components/DotSymbol/DotSymbol.js";
25
+ import { IconButton as Me } from "./lib/Components/IconButton/IconButton.js";
26
+ import { InteractiveIcon as he } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
27
+ import { Link as Re } from "./lib/Components/Link/Link.js";
28
+ import { ListItem as Ae, ListItemContent as ye, ListItemContentRow as He, ListItemDescription as Pe, ListItemLeading as Ne, ListItemTitle as ke, ListItemTrailing as ze } from "./lib/Components/ListItem/ListItem.js";
29
+ import { MediaBanner as Ee, MediaBannerDescription as Fe, MediaBannerTitle as Oe } from "./lib/Components/MediaBanner/MediaBanner.js";
30
+ import { MediaButton as _e } from "./lib/Components/MediaButton/MediaButton.js";
31
+ import { MediaCard as qe, MediaCardTitle as Je } from "./lib/Components/MediaCard/MediaCard.js";
32
+ import { MediaImage as Qe } from "./lib/Components/MediaImage/MediaImage.js";
33
+ import { MediaTag as We } from "./lib/Components/MediaTag/MediaTag.js";
34
+ import { Menu as Ye, MenuCheckboxItem as Ze, MenuContent as $e, MenuGroup as eo, MenuItem as oo, MenuLabel as to, MenuPortal as ro, MenuRadioGroup as ao, MenuRadioItem as no, MenuSeparator as io, MenuSub as po, MenuSubContent as mo, MenuSubTrigger as lo, MenuTrigger as xo } from "./lib/Components/Menu/Menu.js";
35
+ import { NavBar as fo, NavBarBackButton as uo, NavBarCoinCapsule as So, NavBarDescription as Co, NavBarLeading as co, NavBarTitle as go, NavBarTrailing as Io } from "./lib/Components/NavBar/NavBar.js";
36
+ import { Popover as bo, PopoverContent as so, PopoverTrigger as Do, createPopoverHandle as Mo } from "./lib/Components/Popover/Popover.js";
37
+ import { PageIndicator as ho } from "./lib/Components/PageIndicator/PageIndicator.js";
38
+ import { SearchInput as Ro } from "./lib/Components/SearchInput/SearchInput.js";
39
+ import { SegmentedControl as Ao, SegmentedControlButton as yo } from "./lib/Components/SegmentedControl/SegmentedControl.js";
40
+ import { Select as Po, SelectContent as No, SelectEmptyState as ko, SelectItem as zo, SelectItemContent as Go, SelectItemDescription as Eo, SelectItemText as Fo, SelectList as Oo, SelectSearch as Vo, SelectSeparator as _o, SelectTrigger as jo } from "./lib/Components/Select/Select.js";
41
+ import { SideBar as Jo, SideBarCollapseToggle as Ko, SideBarItem as Qo, SideBarLeading as Uo, SideBarTrailing as Wo } from "./lib/Components/SideBar/SideBar.js";
42
+ import { Skeleton as Yo } from "./lib/Components/Skeleton/Skeleton.js";
43
+ import { Spinner as $o } from "./lib/Components/Spinner/Spinner.js";
44
+ import { Spot as ot } from "./lib/Components/Spot/Spot.js";
45
+ import { Stepper as rt } from "./lib/Components/Stepper/Stepper.js";
46
+ import { Subheader as nt, SubheaderCount as it, SubheaderDescription as pt, SubheaderInfo as mt, SubheaderRow as lt, SubheaderShowMore as dt, SubheaderTitle as xt } from "./lib/Components/Subheader/Subheader.js";
47
+ import { Switch as ft } from "./lib/Components/Switch/Switch.js";
48
+ import { Table as St, TableActionBar as Ct, TableActionBarLeading as ct, TableActionBarTrailing as gt, TableBody as It, TableCell as Bt, TableCellContent as bt, TableGroupHeaderRow as st, TableHeader as Dt, TableHeaderCell as Mt, TableHeaderRow as Lt, TableInfoIcon as ht, TableLoadingRow as vt, TableRoot as Rt, TableRow as wt, TableSortButton as At } from "./lib/Components/Table/Table.js";
49
+ import { Tag as Ht } from "./lib/Components/Tag/Tag.js";
50
+ import { TextInput as Nt } from "./lib/Components/TextInput/TextInput.js";
51
+ import { Tile as zt, TileContent as Gt, TileDescription as Et, TileSecondaryAction as Ft, TileTitle as Ot, TileTrailingContent as Vt } from "./lib/Components/Tile/Tile.js";
52
+ import { TileButton as jt } from "./lib/Components/TileButton/TileButton.js";
53
+ import { Tooltip as Jt, TooltipContent as Kt, TooltipProvider as Qt, TooltipTrigger as Ut } from "./lib/Components/Tooltip/Tooltip.js";
54
+ import { Trend as Xt } from "./lib/Components/Trend/Trend.js";
55
+ import { ThemeProvider as Zt, useTheme as $t } from "./lib/Components/ThemeProvider/ThemeProvider.js";
56
+ import { COLOR_SCHEMES as or } from "./lib/Components/ThemeProvider/ThemeProvider.types.js";
56
57
  export {
57
58
  a as AddressInput,
58
- l as AmountDisplay,
59
+ m as AmountDisplay,
59
60
  i as AmountInput,
60
61
  d as Avatar,
61
62
  T as Banner,
62
63
  g as BaseButton,
63
64
  u as BaseInput,
64
65
  C as Button,
65
- Wt as COLOR_SCHEMES,
66
- I as Card,
66
+ or as COLOR_SCHEMES,
67
+ B as Card,
67
68
  y as CardButton,
68
69
  b as CardContent,
69
70
  s as CardContentDescription,
@@ -74,139 +75,144 @@ export {
74
75
  v as CardHeader,
75
76
  R as CardLeading,
76
77
  w as CardTrailing,
77
- E as Checkbox,
78
- P as ContentBanner,
79
- N as ContentBannerContent,
80
- k as ContentBannerDescription,
81
- z as ContentBannerTitle,
78
+ P as Checkbox,
79
+ k as ContentBanner,
80
+ z as ContentBannerContent,
81
+ G as ContentBannerDescription,
82
+ E as ContentBannerTitle,
82
83
  O as DataTable,
83
- _ as DataTableGlobalSearchInput,
84
- j as DataTableRoot,
85
- V as Dialog,
86
- W as DialogBody,
87
- X as DialogBodyStickyContent,
88
- Q as DialogClose,
89
- Y as DialogContent,
90
- Z as DialogFooter,
91
- oe as DialogHeader,
92
- $ as DialogTrigger,
93
- re as Divider,
94
- ne as DotCount,
95
- pe as DotIcon,
96
- Te as DotIndicator,
97
- ue as DotSymbol,
98
- ge as IconButton,
99
- Ie as InteractiveIcon,
84
+ V as DataTableGlobalSearchInput,
85
+ _ as DataTableRoot,
86
+ K as DescriptionItem,
87
+ Q as DescriptionItemLabel,
88
+ U as DescriptionItemLeading,
89
+ W as DescriptionItemTrailing,
90
+ X as DescriptionItemValue,
91
+ ee as Dialog,
92
+ oe as DialogBody,
93
+ te as DialogBodyStickyContent,
94
+ Z as DialogClose,
95
+ re as DialogContent,
96
+ ae as DialogFooter,
97
+ pe as DialogHeader,
98
+ ne as DialogTrigger,
99
+ le as Divider,
100
+ xe as DotCount,
101
+ fe as DotIcon,
102
+ ge as DotIndicator,
103
+ Be as DotSymbol,
104
+ Me as IconButton,
105
+ he as InteractiveIcon,
100
106
  t as Languages,
101
- se as Link,
102
- Me as ListItem,
103
- Le as ListItemContent,
104
- he as ListItemContentRow,
105
- ve as ListItemDescription,
106
- Re as ListItemLeading,
107
- we as ListItemTitle,
108
- Ae as ListItemTrailing,
109
- He as MediaBanner,
110
- Pe as MediaBannerDescription,
111
- Ne as MediaBannerTitle,
112
- ze as MediaButton,
113
- Ee as MediaCard,
114
- Fe as MediaCardTitle,
115
- _e as MediaImage,
116
- qe as MediaTag,
117
- Ke as Menu,
118
- Qe as MenuCheckboxItem,
119
- Ue as MenuContent,
120
- Ve as MenuGroup,
121
- We as MenuItem,
122
- Xe as MenuLabel,
123
- Ye as MenuPortal,
124
- Ze as MenuRadioGroup,
125
- $e as MenuRadioItem,
126
- eo as MenuSeparator,
127
- oo as MenuSub,
128
- to as MenuSubContent,
129
- ro as MenuSubTrigger,
130
- ao as MenuTrigger,
131
- io as NavBar,
132
- po as NavBarBackButton,
133
- lo as NavBarCoinCapsule,
134
- mo as NavBarDescription,
135
- xo as NavBarLeading,
136
- To as NavBarTitle,
137
- fo as NavBarTrailing,
138
- Io as PageIndicator,
139
- So as Popover,
140
- Co as PopoverContent,
141
- co as PopoverTrigger,
142
- so as SearchInput,
143
- Mo as SegmentedControl,
144
- Lo as SegmentedControlButton,
145
- vo as Select,
146
- Ro as SelectContent,
147
- wo as SelectEmptyState,
148
- Ao as SelectItem,
149
- yo as SelectItemContent,
150
- Ho as SelectItemDescription,
151
- Po as SelectItemText,
152
- No as SelectList,
153
- ko as SelectSearch,
154
- zo as SelectSeparator,
155
- Go as SelectTrigger,
156
- Fo as SideBar,
157
- Oo as SideBarCollapseToggle,
158
- _o as SideBarItem,
159
- jo as SideBarLeading,
160
- qo as SideBarTrailing,
161
- Ko as Skeleton,
162
- Uo as Spinner,
163
- Wo as Spot,
164
- Yo as Stepper,
165
- $o as Subheader,
166
- et as SubheaderCount,
167
- ot as SubheaderDescription,
168
- tt as SubheaderInfo,
169
- rt as SubheaderRow,
170
- at as SubheaderShowMore,
171
- nt as SubheaderTitle,
172
- pt as Switch,
173
- mt as Table,
174
- dt as TableActionBar,
175
- xt as TableActionBarLeading,
176
- Tt as TableActionBarTrailing,
177
- ft as TableBody,
178
- ut as TableCell,
179
- St as TableCellContent,
180
- Ct as TableGroupHeaderRow,
181
- ct as TableHeader,
182
- gt as TableHeaderCell,
183
- Bt as TableHeaderRow,
184
- It as TableInfoIcon,
185
- bt as TableLoadingRow,
186
- st as TableRoot,
187
- Dt as TableRow,
188
- Mt as TableSortButton,
189
- ht as Tag,
190
- Rt as TextInput,
191
- Qt as ThemeProvider,
192
- At as Tile,
193
- Gt as TileButton,
194
- yt as TileContent,
195
- Ht as TileDescription,
196
- Pt as TileSecondaryAction,
197
- Nt as TileTitle,
198
- kt as TileTrailingContent,
199
- Ft as Tooltip,
200
- Ot as TooltipContent,
201
- _t as TooltipProvider,
202
- jt as TooltipTrigger,
203
- Jt as Trend,
204
- go as createPopoverHandle,
205
- le as dotIconSizeMap,
206
- me as mediaImageDotIconSizeMap,
207
- Se as mediaImageDotSizeMap,
208
- de as spotDotIconSizeMap,
209
- Ce as spotDotSizeMap,
210
- J as useLumenDataTable,
211
- Ut as useTheme
107
+ Re as Link,
108
+ Ae as ListItem,
109
+ ye as ListItemContent,
110
+ He as ListItemContentRow,
111
+ Pe as ListItemDescription,
112
+ Ne as ListItemLeading,
113
+ ke as ListItemTitle,
114
+ ze as ListItemTrailing,
115
+ Ee as MediaBanner,
116
+ Fe as MediaBannerDescription,
117
+ Oe as MediaBannerTitle,
118
+ _e as MediaButton,
119
+ qe as MediaCard,
120
+ Je as MediaCardTitle,
121
+ Qe as MediaImage,
122
+ We as MediaTag,
123
+ Ye as Menu,
124
+ Ze as MenuCheckboxItem,
125
+ $e as MenuContent,
126
+ eo as MenuGroup,
127
+ oo as MenuItem,
128
+ to as MenuLabel,
129
+ ro as MenuPortal,
130
+ ao as MenuRadioGroup,
131
+ no as MenuRadioItem,
132
+ io as MenuSeparator,
133
+ po as MenuSub,
134
+ mo as MenuSubContent,
135
+ lo as MenuSubTrigger,
136
+ xo as MenuTrigger,
137
+ fo as NavBar,
138
+ uo as NavBarBackButton,
139
+ So as NavBarCoinCapsule,
140
+ Co as NavBarDescription,
141
+ co as NavBarLeading,
142
+ go as NavBarTitle,
143
+ Io as NavBarTrailing,
144
+ ho as PageIndicator,
145
+ bo as Popover,
146
+ so as PopoverContent,
147
+ Do as PopoverTrigger,
148
+ Ro as SearchInput,
149
+ Ao as SegmentedControl,
150
+ yo as SegmentedControlButton,
151
+ Po as Select,
152
+ No as SelectContent,
153
+ ko as SelectEmptyState,
154
+ zo as SelectItem,
155
+ Go as SelectItemContent,
156
+ Eo as SelectItemDescription,
157
+ Fo as SelectItemText,
158
+ Oo as SelectList,
159
+ Vo as SelectSearch,
160
+ _o as SelectSeparator,
161
+ jo as SelectTrigger,
162
+ Jo as SideBar,
163
+ Ko as SideBarCollapseToggle,
164
+ Qo as SideBarItem,
165
+ Uo as SideBarLeading,
166
+ Wo as SideBarTrailing,
167
+ Yo as Skeleton,
168
+ $o as Spinner,
169
+ ot as Spot,
170
+ rt as Stepper,
171
+ nt as Subheader,
172
+ it as SubheaderCount,
173
+ pt as SubheaderDescription,
174
+ mt as SubheaderInfo,
175
+ lt as SubheaderRow,
176
+ dt as SubheaderShowMore,
177
+ xt as SubheaderTitle,
178
+ ft as Switch,
179
+ St as Table,
180
+ Ct as TableActionBar,
181
+ ct as TableActionBarLeading,
182
+ gt as TableActionBarTrailing,
183
+ It as TableBody,
184
+ Bt as TableCell,
185
+ bt as TableCellContent,
186
+ st as TableGroupHeaderRow,
187
+ Dt as TableHeader,
188
+ Mt as TableHeaderCell,
189
+ Lt as TableHeaderRow,
190
+ ht as TableInfoIcon,
191
+ vt as TableLoadingRow,
192
+ Rt as TableRoot,
193
+ wt as TableRow,
194
+ At as TableSortButton,
195
+ Ht as Tag,
196
+ Nt as TextInput,
197
+ Zt as ThemeProvider,
198
+ zt as Tile,
199
+ jt as TileButton,
200
+ Gt as TileContent,
201
+ Et as TileDescription,
202
+ Ft as TileSecondaryAction,
203
+ Ot as TileTitle,
204
+ Vt as TileTrailingContent,
205
+ Jt as Tooltip,
206
+ Kt as TooltipContent,
207
+ Qt as TooltipProvider,
208
+ Ut as TooltipTrigger,
209
+ Xt as Trend,
210
+ Mo as createPopoverHandle,
211
+ ue as dotIconSizeMap,
212
+ Se as mediaImageDotIconSizeMap,
213
+ be as mediaImageDotSizeMap,
214
+ Ce as spotDotIconSizeMap,
215
+ se as spotDotSizeMap,
216
+ q as useLumenDataTable,
217
+ $t as useTheme
212
218
  };
@@ -114,7 +114,7 @@ export type CardTrailingProps = {
114
114
  } & ComponentPropsWithRef<'div'>;
115
115
  export type CardFooterProps = {
116
116
  /**
117
- * The footer content (DescriptionList, Button, etc.).
117
+ * The footer content (DescriptionItem, Button, etc.).
118
118
  */
119
119
  children: ReactNode;
120
120
  /**
@@ -0,0 +1,45 @@
1
+ import { DescriptionItemLabelProps, DescriptionItemLeadingProps, DescriptionItemProps, DescriptionItemTrailingProps, DescriptionItemValueProps } from './types';
2
+ /**
3
+ * A compound component for displaying a key-value description row.
4
+ * Composed with DescriptionItemLeading / DescriptionItemLabel (key side)
5
+ * and DescriptionItemTrailing / DescriptionItemValue (value side).
6
+ *
7
+ *
8
+ * @see {@link https://ldls.vercel.app/?path=/docs/containment-descriptionitem--docs Storybook}
9
+ *
10
+ * @example
11
+ * <DescriptionItem size="md">
12
+ * <DescriptionItemLeading>
13
+ * <DescriptionItemLabel>Fees</DescriptionItemLabel>
14
+ * </DescriptionItemLeading>
15
+ * <DescriptionItemTrailing>
16
+ * <DescriptionItemValue>0.001 BTC</DescriptionItemValue>
17
+ * </DescriptionItemTrailing>
18
+ * </DescriptionItem>
19
+ */
20
+ export declare const DescriptionItem: ({ ref, children, className, size, ...props }: DescriptionItemProps) => import("react/jsx-runtime").JSX.Element;
21
+ /**
22
+ * Layout container for the leading (left) side of the description item.
23
+ * Contains DescriptionItemLabel and an optional info icon sibling.
24
+ */
25
+ export declare const DescriptionItemLeading: ({ ref, children, className, ...props }: DescriptionItemLeadingProps) => import("react/jsx-runtime").JSX.Element;
26
+ /**
27
+ * Typography-bearing label for the leading side.
28
+ * Reads size from DescriptionItemSizeContext to apply the correct typography.
29
+ * Use this instead of a raw string so that size is always applied correctly,
30
+ * even when children is a custom ReactNode.
31
+ */
32
+ export declare const DescriptionItemLabel: ({ ref, children, className, ...props }: DescriptionItemLabelProps) => import("react/jsx-runtime").JSX.Element;
33
+ /**
34
+ * Layout container for the trailing (right) side of the description item.
35
+ * Accepts DescriptionItemValue, Tag, Link, CryptoIcon, or any custom content.
36
+ */
37
+ export declare const DescriptionItemTrailing: ({ ref, children, className, ...props }: DescriptionItemTrailingProps) => import("react/jsx-runtime").JSX.Element;
38
+ /**
39
+ * Typography-bearing value for the trailing side.
40
+ * Reads size from DescriptionItemSizeContext to apply the correct typography.
41
+ * Use this for plain text values. For Tag, Link, or other components,
42
+ * place them directly in DescriptionItemTrailing with an explicit size prop.
43
+ */
44
+ export declare const DescriptionItemValue: ({ ref, children, className, ...props }: DescriptionItemValueProps) => import("react/jsx-runtime").JSX.Element;
45
+ //# sourceMappingURL=DescriptionItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescriptionItem.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DescriptionItem/DescriptionItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,yBAAyB,EACzB,2BAA2B,EAC3B,oBAAoB,EAEpB,4BAA4B,EAC5B,yBAAyB,EAC1B,MAAM,SAAS,CAAC;AAWjB;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,eAAe,GAAI,8CAM7B,oBAAoB,4CAYtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,GAAI,wCAKpC,2BAA2B,4CAU7B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,GAAI,wCAKlC,yBAAyB,4CAmB3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,uBAAuB,GAAI,wCAKrC,4BAA4B,4CAU9B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,GAAI,wCAKlC,yBAAyB,4CAmB3B,CAAC"}
@@ -0,0 +1,98 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { createSafeContext as a, cn as m } from "../../../libs/utils-shared/dist/index.js";
3
+ const [c, o] = a("DescriptionItemSize", {
4
+ size: "md"
5
+ }), p = ({
6
+ ref: e,
7
+ children: t,
8
+ className: i,
9
+ size: s = "md",
10
+ ...n
11
+ }) => /* @__PURE__ */ r(c, { value: { size: s }, children: /* @__PURE__ */ r(
12
+ "div",
13
+ {
14
+ ref: e,
15
+ className: m("flex w-full items-start gap-12", i),
16
+ ...n,
17
+ children: t
18
+ }
19
+ ) }), u = ({
20
+ ref: e,
21
+ children: t,
22
+ className: i,
23
+ ...s
24
+ }) => /* @__PURE__ */ r(
25
+ "div",
26
+ {
27
+ ref: e,
28
+ className: m("flex min-w-0 flex-1 items-center gap-4", i),
29
+ ...s,
30
+ children: t
31
+ }
32
+ ), x = ({
33
+ ref: e,
34
+ children: t,
35
+ className: i,
36
+ ...s
37
+ }) => {
38
+ const { size: n } = o({
39
+ consumerName: "DescriptionItemLabel",
40
+ contextRequired: !1
41
+ });
42
+ return /* @__PURE__ */ r(
43
+ "div",
44
+ {
45
+ ref: e,
46
+ className: m(
47
+ "line-clamp-2 min-w-0 wrap-break-word text-ellipsis text-muted",
48
+ n === "md" ? "body-2" : "body-3",
49
+ i
50
+ ),
51
+ ...s,
52
+ children: t
53
+ }
54
+ );
55
+ }, b = ({
56
+ ref: e,
57
+ children: t,
58
+ className: i,
59
+ ...s
60
+ }) => /* @__PURE__ */ r(
61
+ "div",
62
+ {
63
+ ref: e,
64
+ className: m("flex max-w-4/5 shrink-0 items-center gap-4", i),
65
+ ...s,
66
+ children: t
67
+ }
68
+ ), f = ({
69
+ ref: e,
70
+ children: t,
71
+ className: i,
72
+ ...s
73
+ }) => {
74
+ const { size: n } = o({
75
+ consumerName: "DescriptionItemValue",
76
+ contextRequired: !1
77
+ });
78
+ return /* @__PURE__ */ r(
79
+ "div",
80
+ {
81
+ ref: e,
82
+ className: m(
83
+ "min-w-0 truncate text-base",
84
+ n === "md" ? "body-2-semi-bold" : "body-3-semi-bold",
85
+ i
86
+ ),
87
+ ...s,
88
+ children: t
89
+ }
90
+ );
91
+ };
92
+ export {
93
+ p as DescriptionItem,
94
+ x as DescriptionItemLabel,
95
+ u as DescriptionItemLeading,
96
+ b as DescriptionItemTrailing,
97
+ f as DescriptionItemValue
98
+ };
@@ -0,0 +1,3 @@
1
+ export * from './DescriptionItem';
2
+ export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DescriptionItem/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC"}
@@ -0,0 +1,58 @@
1
+ import { ComponentPropsWithRef, ReactNode } from 'react';
2
+ export type DescriptionItemSize = 'sm' | 'md';
3
+ export type DescriptionItemProps = {
4
+ /**
5
+ * The content of the description item (DescriptionItemLeading, DescriptionItemTrailing).
6
+ */
7
+ children: ReactNode;
8
+ /**
9
+ * The size of the description item.
10
+ * @default 'md'
11
+ */
12
+ size?: DescriptionItemSize;
13
+ /**
14
+ * Additional CSS classes for layout adjustments.
15
+ */
16
+ className?: string;
17
+ } & ComponentPropsWithRef<'div'>;
18
+ export type DescriptionItemLeadingProps = {
19
+ /**
20
+ * The leading content (DescriptionItemLabel + optional info icon sibling).
21
+ */
22
+ children: ReactNode;
23
+ /**
24
+ * Additional CSS classes for layout adjustments.
25
+ */
26
+ className?: string;
27
+ } & ComponentPropsWithRef<'div'>;
28
+ export type DescriptionItemLabelProps = {
29
+ /**
30
+ * The label text or custom content.
31
+ */
32
+ children: ReactNode;
33
+ /**
34
+ * Additional CSS classes for layout adjustments.
35
+ */
36
+ className?: string;
37
+ } & ComponentPropsWithRef<'div'>;
38
+ export type DescriptionItemTrailingProps = {
39
+ /**
40
+ * The trailing content (DescriptionItemValue, Tag, Link, etc.).
41
+ */
42
+ children: ReactNode;
43
+ /**
44
+ * Additional CSS classes for layout adjustments.
45
+ */
46
+ className?: string;
47
+ } & ComponentPropsWithRef<'div'>;
48
+ export type DescriptionItemValueProps = {
49
+ /**
50
+ * The value text or custom content.
51
+ */
52
+ children: ReactNode;
53
+ /**
54
+ * Additional CSS classes for layout adjustments.
55
+ */
56
+ className?: string;
57
+ } & ComponentPropsWithRef<'div'>;
58
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DescriptionItem/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9C,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAEjC,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAEjC,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAEjC,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAEjC,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
- import { cn as l } from "../../../libs/utils-shared/dist/index.js";
2
+ import { cn as c } from "../../../libs/utils-shared/dist/index.js";
3
3
  const o = ({
4
4
  ref: s,
5
5
  ticker: t,
@@ -9,8 +9,8 @@ const o = ({
9
9
  "div",
10
10
  {
11
11
  ref: s,
12
- className: l(
13
- "flex items-center gap-8 rounded-full bg-muted-transparent py-8 pr-12 pl-8",
12
+ className: c(
13
+ "flex items-center gap-8 rounded-full bg-muted-transparent p-8 pr-12",
14
14
  r
15
15
  ),
16
16
  "data-slot": "coin-capsule",
@@ -7,9 +7,10 @@ export * from './BaseInput';
7
7
  export * from './Button';
8
8
  export * from './Card';
9
9
  export * from './CardButton';
10
- export * from './ContentBanner';
11
10
  export * from './Checkbox';
11
+ export * from './ContentBanner';
12
12
  export * from './DataTable';
13
+ export * from './DescriptionItem';
13
14
  export * from './Dialog';
14
15
  export * from './Divider';
15
16
  export * from './DotCount';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/Components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC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c,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC"}
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/lumen-ui-react",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "keywords": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/lumen-ui-react",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "keywords": [