@ledgerhq/lumen-ui-react 0.1.35 → 0.1.37

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.
Files changed (121) hide show
  1. package/dist/index.js +108 -109
  2. package/dist/lib/Components/AmountDisplay/AmountDisplay.d.ts +1 -1
  3. package/dist/lib/Components/AmountDisplay/AmountDisplay.d.ts.map +1 -1
  4. package/dist/lib/Components/AmountDisplay/AmountDisplay.js +117 -78
  5. package/dist/lib/Components/AmountDisplay/index.d.ts +1 -1
  6. package/dist/lib/Components/AmountDisplay/index.d.ts.map +1 -1
  7. package/dist/lib/Components/AmountDisplay/types.d.ts +16 -3
  8. package/dist/lib/Components/AmountDisplay/types.d.ts.map +1 -1
  9. package/dist/lib/Components/AmountInput/AmountInput.d.ts +1 -1
  10. package/dist/lib/Components/AmountInput/AmountInput.d.ts.map +1 -1
  11. package/dist/lib/Components/AmountInput/AmountInput.js +127 -77
  12. package/dist/lib/Components/AmountInput/types.d.ts +12 -0
  13. package/dist/lib/Components/AmountInput/types.d.ts.map +1 -1
  14. package/dist/lib/Components/Avatar/Avatar.d.ts +1 -1
  15. package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
  16. package/dist/lib/Components/Avatar/Avatar.js +47 -60
  17. package/dist/lib/Components/Button/BaseButton.d.ts +2 -2
  18. package/dist/lib/Components/Button/Button.js +10 -10
  19. package/dist/lib/Components/Card/Card.js +12 -12
  20. package/dist/lib/Components/DataTable/DataTable.js +2 -2
  21. package/dist/lib/Components/Divider/Divider.js +4 -4
  22. package/dist/lib/Components/DotCount/DotCount.js +4 -4
  23. package/dist/lib/Components/DotIcon/DotIcon.d.ts +3 -2
  24. package/dist/lib/Components/DotIcon/DotIcon.d.ts.map +1 -1
  25. package/dist/lib/Components/DotIcon/DotIcon.js +55 -40
  26. package/dist/lib/Components/DotIcon/types.d.ts +7 -1
  27. package/dist/lib/Components/DotIcon/types.d.ts.map +1 -1
  28. package/dist/lib/Components/DotIndicator/DotIndicator.js +14 -14
  29. package/dist/lib/Components/DotIndicator/types.d.ts +2 -2
  30. package/dist/lib/Components/DotSymbol/DotSymbol.d.ts +1 -1
  31. package/dist/lib/Components/DotSymbol/DotSymbol.d.ts.map +1 -1
  32. package/dist/lib/Components/DotSymbol/DotSymbol.js +50 -35
  33. package/dist/lib/Components/DotSymbol/types.d.ts +7 -1
  34. package/dist/lib/Components/DotSymbol/types.d.ts.map +1 -1
  35. package/dist/lib/Components/Icon/Icon.js +4 -4
  36. package/dist/lib/Components/Icon/createIcon.js +4 -4
  37. package/dist/lib/Components/InteractiveIcon/InteractiveIcon.js +4 -4
  38. package/dist/lib/Components/Link/Link.js +6 -6
  39. package/dist/lib/Components/ListItem/ListItem.js +3 -3
  40. package/dist/lib/Components/MediaButton/MediaButton.d.ts +3 -3
  41. package/dist/lib/Components/MediaButton/MediaButton.d.ts.map +1 -1
  42. package/dist/lib/Components/MediaButton/MediaButton.js +44 -42
  43. package/dist/lib/Components/MediaButton/types.d.ts +5 -5
  44. package/dist/lib/Components/MediaButton/types.d.ts.map +1 -1
  45. package/dist/lib/Components/MediaImage/MediaImage.d.ts +1 -1
  46. package/dist/lib/Components/MediaImage/MediaImage.d.ts.map +1 -1
  47. package/dist/lib/Components/MediaImage/MediaImage.js +45 -32
  48. package/dist/lib/Components/MediaImage/types.d.ts +7 -1
  49. package/dist/lib/Components/MediaImage/types.d.ts.map +1 -1
  50. package/dist/lib/Components/Menu/Menu.d.ts +11 -16
  51. package/dist/lib/Components/Menu/Menu.d.ts.map +1 -1
  52. package/dist/lib/Components/Menu/Menu.js +186 -125
  53. package/dist/lib/Components/Menu/types.d.ts +50 -145
  54. package/dist/lib/Components/Menu/types.d.ts.map +1 -1
  55. package/dist/lib/Components/NavBar/CoinCapsule.d.ts +2 -2
  56. package/dist/lib/Components/NavBar/CoinCapsule.d.ts.map +1 -1
  57. package/dist/lib/Components/NavBar/CoinCapsule.js +1 -1
  58. package/dist/lib/Components/NavBar/NavBar.d.ts +4 -4
  59. package/dist/lib/Components/NavBar/NavBar.d.ts.map +1 -1
  60. package/dist/lib/Components/NavBar/NavBar.js +34 -26
  61. package/dist/lib/Components/NavBar/types.d.ts +2 -2
  62. package/dist/lib/Components/NavBar/types.d.ts.map +1 -1
  63. package/dist/lib/Components/Popover/Popover.d.ts +2 -2
  64. package/dist/lib/Components/Popover/Popover.js +6 -6
  65. package/dist/lib/Components/Popover/types.d.ts +6 -3
  66. package/dist/lib/Components/Popover/types.d.ts.map +1 -1
  67. package/dist/lib/Components/SideBar/SideBar.js +9 -9
  68. package/dist/lib/Components/Skeleton/Skeleton.js +4 -4
  69. package/dist/lib/Components/Table/Table.js +1 -1
  70. package/dist/lib/Components/Table/utils/useThrottledScrollBottom.js +3 -3
  71. package/dist/lib/Symbols/Icons/Lightbulb.js +3 -3
  72. package/dist/libs/utils-shared/dist/index.js +107 -107
  73. package/dist/node_modules/@base-ui/react/esm/composite/item/CompositeItem.js +30 -0
  74. package/dist/node_modules/@base-ui/react/esm/composite/item/useCompositeItem.js +34 -0
  75. package/dist/node_modules/@base-ui/react/esm/context-menu/root/ContextMenuRootContext.js +14 -0
  76. package/dist/node_modules/@base-ui/react/esm/floating-ui-react/components/FloatingFocusManager.js +10 -10
  77. package/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useFocus.js +97 -0
  78. package/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useHoverFloatingInteraction.js +10 -10
  79. package/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useHoverReferenceInteraction.js +2 -2
  80. package/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/element.js +31 -20
  81. package/dist/node_modules/@base-ui/react/esm/menu/checkbox-item/MenuCheckboxItem.js +78 -0
  82. package/dist/node_modules/@base-ui/react/esm/menu/checkbox-item/MenuCheckboxItemContext.js +14 -0
  83. package/dist/node_modules/@base-ui/react/esm/menu/checkbox-item/MenuCheckboxItemDataAttributes.js +6 -0
  84. package/dist/node_modules/@base-ui/react/esm/menu/checkbox-item-indicator/MenuCheckboxItemIndicator.js +44 -0
  85. package/dist/node_modules/@base-ui/react/esm/menu/group/MenuGroup.js +28 -0
  86. package/dist/node_modules/@base-ui/react/esm/menu/group/MenuGroupContext.js +14 -0
  87. package/dist/node_modules/@base-ui/react/esm/menu/group-label/MenuGroupLabel.js +29 -0
  88. package/dist/node_modules/@base-ui/react/esm/menu/item/MenuItem.js +47 -0
  89. package/dist/node_modules/@base-ui/react/esm/menu/item/useMenuItem.js +50 -0
  90. package/dist/node_modules/@base-ui/react/esm/menu/item/useMenuItemCommonProps.js +49 -0
  91. package/dist/node_modules/@base-ui/react/esm/menu/popup/MenuPopup.js +89 -0
  92. package/dist/node_modules/@base-ui/react/esm/menu/portal/MenuPortal.js +24 -0
  93. package/dist/node_modules/@base-ui/react/esm/menu/portal/MenuPortalContext.js +14 -0
  94. package/dist/node_modules/@base-ui/react/esm/menu/positioner/MenuPositioner.js +174 -0
  95. package/dist/node_modules/@base-ui/react/esm/menu/positioner/MenuPositionerContext.js +14 -0
  96. package/dist/node_modules/@base-ui/react/esm/menu/radio-group/MenuRadioGroup.js +45 -0
  97. package/dist/node_modules/@base-ui/react/esm/menu/radio-group/MenuRadioGroupContext.js +14 -0
  98. package/dist/node_modules/@base-ui/react/esm/menu/radio-item/MenuRadioItem.js +75 -0
  99. package/dist/node_modules/@base-ui/react/esm/menu/radio-item/MenuRadioItemContext.js +14 -0
  100. package/dist/node_modules/@base-ui/react/esm/menu/radio-item-indicator/MenuRadioItemIndicator.js +44 -0
  101. package/dist/node_modules/@base-ui/react/esm/menu/root/MenuRoot.js +271 -0
  102. package/dist/node_modules/@base-ui/react/esm/menu/root/MenuRootContext.js +14 -0
  103. package/dist/node_modules/@base-ui/react/esm/menu/store/MenuStore.js +109 -0
  104. package/dist/node_modules/@base-ui/react/esm/menu/submenu-root/MenuSubmenuRoot.js +21 -0
  105. package/dist/node_modules/@base-ui/react/esm/menu/submenu-root/MenuSubmenuRootContext.js +10 -0
  106. package/dist/node_modules/@base-ui/react/esm/menu/submenu-trigger/MenuSubmenuTrigger.js +101 -0
  107. package/dist/node_modules/@base-ui/react/esm/menu/trigger/MenuTrigger.js +207 -0
  108. package/dist/node_modules/@base-ui/react/esm/menu/utils/findRootOwnerId.js +10 -0
  109. package/dist/node_modules/@base-ui/react/esm/menu/utils/stateAttributesMapping.js +15 -0
  110. package/dist/node_modules/@base-ui/react/esm/menubar/MenubarContext.js +10 -0
  111. package/dist/node_modules/@base-ui/react/esm/popover/root/PopoverRoot.js +11 -11
  112. package/dist/node_modules/@base-ui/react/esm/popover/store/PopoverStore.js +7 -7
  113. package/dist/node_modules/@base-ui/react/esm/popover/trigger/PopoverTrigger.js +11 -11
  114. package/dist/node_modules/@base-ui/react/esm/utils/constants.js +11 -10
  115. package/dist/node_modules/@base-ui/react/esm/utils/reason-parts.js +11 -8
  116. package/dist/node_modules/@base-ui/react/esm/utils/useMixedToggleClickHandler.js +25 -0
  117. package/dist/node_modules/@base-ui/utils/esm/detectBrowser.js +7 -8
  118. package/dist/node_modules/@base-ui/utils/esm/fastHooks.js +43 -0
  119. package/dist/node_modules/@base-ui/utils/esm/store/useStore.js +54 -13
  120. package/dist/package.json +4 -5
  121. package/package.json +4 -5
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import { Button as C } from "./lib/Components/Button/Button.js";
9
9
  import { BaseButton as g } from "./lib/Components/Button/BaseButton.js";
10
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 { Checkbox as P } from "./lib/Components/Checkbox/Checkbox.js";
12
+ import { Checkbox as N } from "./lib/Components/Checkbox/Checkbox.js";
13
13
  import { ContentBanner as k, ContentBannerContent as z, ContentBannerDescription as G, ContentBannerTitle as E } from "./lib/Components/ContentBanner/ContentBanner.js";
14
14
  import { DataTable as O, DataTableGlobalSearchInput as V, DataTableRoot as _ } from "./lib/Components/DataTable/DataTable.js";
15
15
  import { useLumenDataTable as q } from "./lib/Components/DataTable/useLumenDataTable/useLumenDataTable.js";
@@ -25,35 +25,35 @@ import { DotSymbol as Be, mediaImageDotSizeMap as be, spotDotSizeMap as se } fro
25
25
  import { IconButton as Me } from "./lib/Components/IconButton/IconButton.js";
26
26
  import { InteractiveIcon as he } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
27
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";
28
+ import { ListItem as Ae, ListItemContent as ye, ListItemContentRow as He, ListItemDescription as Ne, ListItemLeading as Pe, ListItemTitle as ke, ListItemTrailing as ze } from "./lib/Components/ListItem/ListItem.js";
29
29
  import { MediaBanner as Ee, MediaBannerDescription as Fe, MediaBannerTitle as Oe } from "./lib/Components/MediaBanner/MediaBanner.js";
30
30
  import { MediaButton as _e } from "./lib/Components/MediaButton/MediaButton.js";
31
31
  import { MediaCard as qe, MediaCardTitle as Je } from "./lib/Components/MediaCard/MediaCard.js";
32
32
  import { MediaImage as Qe } from "./lib/Components/MediaImage/MediaImage.js";
33
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";
34
+ import { Menu as Ye, MenuCheckboxItem as Ze, MenuContent as $e, MenuGroup as eo, MenuItem as oo, MenuLabel as to, MenuRadioGroup as ro, MenuRadioItem as ao, MenuSeparator as no, MenuSub as io, MenuSubContent as po, MenuSubTrigger as mo, MenuTrigger as lo } from "./lib/Components/Menu/Menu.js";
35
+ import { NavBar as To, NavBarBackButton as fo, NavBarCoinCapsule as uo, NavBarDescription as So, NavBarLeading as Co, NavBarTitle as co, NavBarTrailing as go } from "./lib/Components/NavBar/NavBar.js";
36
+ import { Popover as Bo, PopoverContent as bo, PopoverTrigger as so, createPopoverHandle as Do } from "./lib/Components/Popover/Popover.js";
37
+ import { PageIndicator as Lo } from "./lib/Components/PageIndicator/PageIndicator.js";
38
+ import { SearchInput as vo } from "./lib/Components/SearchInput/SearchInput.js";
39
+ import { SegmentedControl as wo, SegmentedControlButton as Ao } from "./lib/Components/SegmentedControl/SegmentedControl.js";
40
+ import { Select as Ho, SelectContent as No, SelectEmptyState as Po, SelectItem as ko, SelectItemContent as zo, SelectItemDescription as Go, SelectItemText as Eo, SelectList as Fo, SelectSearch as Oo, SelectSeparator as Vo, SelectTrigger as _o } from "./lib/Components/Select/Select.js";
41
+ import { SideBar as qo, SideBarCollapseToggle as Jo, SideBarItem as Ko, SideBarLeading as Qo, SideBarTrailing as Uo } from "./lib/Components/SideBar/SideBar.js";
42
+ import { Skeleton as Xo } from "./lib/Components/Skeleton/Skeleton.js";
43
+ import { Spinner as Zo } from "./lib/Components/Spinner/Spinner.js";
44
+ import { Spot as et } from "./lib/Components/Spot/Spot.js";
45
+ import { Stepper as tt } from "./lib/Components/Stepper/Stepper.js";
46
+ import { Subheader as at, SubheaderCount as nt, SubheaderDescription as it, SubheaderInfo as pt, SubheaderRow as mt, SubheaderShowMore as lt, SubheaderTitle as dt } from "./lib/Components/Subheader/Subheader.js";
47
+ import { Switch as Tt } from "./lib/Components/Switch/Switch.js";
48
+ import { Table as ut, TableActionBar as St, TableActionBarLeading as Ct, TableActionBarTrailing as ct, TableBody as gt, TableCell as It, TableCellContent as Bt, TableGroupHeaderRow as bt, TableHeader as st, TableHeaderCell as Dt, TableHeaderRow as Mt, TableInfoIcon as Lt, TableLoadingRow as ht, TableRoot as vt, TableRow as Rt, TableSortButton as wt } from "./lib/Components/Table/Table.js";
49
+ import { Tag as yt } from "./lib/Components/Tag/Tag.js";
50
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";
51
+ import { Tile as kt, TileContent as zt, TileDescription as Gt, TileSecondaryAction as Et, TileTitle as Ft, TileTrailingContent as Ot } from "./lib/Components/Tile/Tile.js";
52
+ import { TileButton as _t } from "./lib/Components/TileButton/TileButton.js";
53
+ import { Tooltip as qt, TooltipContent as Jt, TooltipProvider as Kt, TooltipTrigger as Qt } from "./lib/Components/Tooltip/Tooltip.js";
54
+ import { Trend as Wt } from "./lib/Components/Trend/Trend.js";
55
+ import { ThemeProvider as Yt, useTheme as Zt } from "./lib/Components/ThemeProvider/ThemeProvider.js";
56
+ import { COLOR_SCHEMES as er } from "./lib/Components/ThemeProvider/ThemeProvider.types.js";
57
57
  export {
58
58
  a as AddressInput,
59
59
  m as AmountDisplay,
@@ -63,7 +63,7 @@ export {
63
63
  g as BaseButton,
64
64
  u as BaseInput,
65
65
  C as Button,
66
- or as COLOR_SCHEMES,
66
+ er as COLOR_SCHEMES,
67
67
  B as Card,
68
68
  y as CardButton,
69
69
  b as CardContent,
@@ -75,7 +75,7 @@ export {
75
75
  v as CardHeader,
76
76
  R as CardLeading,
77
77
  w as CardTrailing,
78
- P as Checkbox,
78
+ N as Checkbox,
79
79
  k as ContentBanner,
80
80
  z as ContentBannerContent,
81
81
  G as ContentBannerDescription,
@@ -108,8 +108,8 @@ export {
108
108
  Ae as ListItem,
109
109
  ye as ListItemContent,
110
110
  He as ListItemContentRow,
111
- Pe as ListItemDescription,
112
- Ne as ListItemLeading,
111
+ Ne as ListItemDescription,
112
+ Pe as ListItemLeading,
113
113
  ke as ListItemTitle,
114
114
  ze as ListItemTrailing,
115
115
  Ee as MediaBanner,
@@ -126,93 +126,92 @@ export {
126
126
  eo as MenuGroup,
127
127
  oo as MenuItem,
128
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,
129
+ ro as MenuRadioGroup,
130
+ ao as MenuRadioItem,
131
+ no as MenuSeparator,
132
+ io as MenuSub,
133
+ po as MenuSubContent,
134
+ mo as MenuSubTrigger,
135
+ lo as MenuTrigger,
136
+ To as NavBar,
137
+ fo as NavBarBackButton,
138
+ uo as NavBarCoinCapsule,
139
+ So as NavBarDescription,
140
+ Co as NavBarLeading,
141
+ co as NavBarTitle,
142
+ go as NavBarTrailing,
143
+ Lo as PageIndicator,
144
+ Bo as Popover,
145
+ bo as PopoverContent,
146
+ so as PopoverTrigger,
147
+ vo as SearchInput,
148
+ wo as SegmentedControl,
149
+ Ao as SegmentedControlButton,
150
+ Ho as Select,
152
151
  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,
152
+ Po as SelectEmptyState,
153
+ ko as SelectItem,
154
+ zo as SelectItemContent,
155
+ Go as SelectItemDescription,
156
+ Eo as SelectItemText,
157
+ Fo as SelectList,
158
+ Oo as SelectSearch,
159
+ Vo as SelectSeparator,
160
+ _o as SelectTrigger,
161
+ qo as SideBar,
162
+ Jo as SideBarCollapseToggle,
163
+ Ko as SideBarItem,
164
+ Qo as SideBarLeading,
165
+ Uo as SideBarTrailing,
166
+ Xo as Skeleton,
167
+ Zo as Spinner,
168
+ et as Spot,
169
+ tt as Stepper,
170
+ at as Subheader,
171
+ nt as SubheaderCount,
172
+ it as SubheaderDescription,
173
+ pt as SubheaderInfo,
174
+ mt as SubheaderRow,
175
+ lt as SubheaderShowMore,
176
+ dt as SubheaderTitle,
177
+ Tt as Switch,
178
+ ut as Table,
179
+ St as TableActionBar,
180
+ Ct as TableActionBarLeading,
181
+ ct as TableActionBarTrailing,
182
+ gt as TableBody,
183
+ It as TableCell,
184
+ Bt as TableCellContent,
185
+ bt as TableGroupHeaderRow,
186
+ st as TableHeader,
187
+ Dt as TableHeaderCell,
188
+ Mt as TableHeaderRow,
189
+ Lt as TableInfoIcon,
190
+ ht as TableLoadingRow,
191
+ vt as TableRoot,
192
+ Rt as TableRow,
193
+ wt as TableSortButton,
194
+ yt as Tag,
196
195
  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,
196
+ Yt as ThemeProvider,
197
+ kt as Tile,
198
+ _t as TileButton,
199
+ zt as TileContent,
200
+ Gt as TileDescription,
201
+ Et as TileSecondaryAction,
202
+ Ft as TileTitle,
203
+ Ot as TileTrailingContent,
204
+ qt as Tooltip,
205
+ Jt as TooltipContent,
206
+ Kt as TooltipProvider,
207
+ Qt as TooltipTrigger,
208
+ Wt as Trend,
209
+ Do as createPopoverHandle,
211
210
  ue as dotIconSizeMap,
212
211
  Se as mediaImageDotIconSizeMap,
213
212
  be as mediaImageDotSizeMap,
214
213
  Ce as spotDotIconSizeMap,
215
214
  se as spotDotSizeMap,
216
215
  q as useLumenDataTable,
217
- $t as useTheme
216
+ Zt as useTheme
218
217
  };
@@ -32,5 +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: ({ value, formatter, hidden, loading, animate, className, ...props }: AmountDisplayProps) => import("react/jsx-runtime").JSX.Element;
35
+ export declare function AmountDisplay({ value, formatter, hidden, loading, animate, size, className, ...props }: AmountDisplayProps): import("react/jsx-runtime").JSX.Element;
36
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,KAAK,EACV,kBAAkB,EAGnB,MAAM,SAAS,CAAC;AA8EjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,aAAa,GAAI,qEAQ3B,kBAAkB,4CA4DpB,CAAC"}
1
+ {"version":3,"file":"AmountDisplay.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AmountDisplay/AmountDisplay.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,kBAAkB,EAMnB,MAAM,SAAS,CAAC;AAkHjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,SAAS,EACT,MAAc,EACd,OAAe,EACf,OAAc,EACd,IAAW,EACX,SAAS,EACT,GAAG,KAAK,EACT,EAAE,kBAAkB,2CA6DpB"}
@@ -1,109 +1,148 @@
1
1
  import { jsx as e, jsxs as c } from "react/jsx-runtime";
2
- import { useSplitText as x, buildAriaLabel as b, cn as p } from "../../../libs/utils-shared/dist/index.js";
3
- import { memo as d } from "react";
2
+ import { useSplitText as y, buildAriaLabel as w, cn as o } from "../../../libs/utils-shared/dist/index.js";
3
+ import { memo as u } from "react";
4
4
  import { DIGITS as D } from "./types.js";
5
- import { useCommonTranslation as N } from "../../../i18n/useCommonTranslation.js";
6
- const g = {
7
- 0: 25,
8
- 1: 15.5,
9
- 2: 23.5,
10
- 3: 24.5,
11
- 4: 25.5,
12
- 5: 23.5,
13
- 6: 25,
14
- 7: 22,
15
- 8: 24.5,
16
- 9: 24.5
17
- }, I = {
18
- 0: 17.5,
19
- 1: 11,
20
- 2: 16.5,
21
- 3: 17,
22
- 4: 18,
23
- 5: 16,
24
- 6: 17.5,
25
- 7: 15,
26
- 8: 17,
27
- 9: 17
28
- }, u = d(({ value: a, animate: l, type: i }) => {
29
- const r = (i === "integer" ? g : I)[a];
5
+ import { useCommonTranslation as S } from "../../../i18n/useCommonTranslation.js";
6
+ const m = {
7
+ "heading-1-semi-bold": {
8
+ 0: 25,
9
+ 1: 15.5,
10
+ 2: 23.5,
11
+ 3: 24.5,
12
+ 4: 25.5,
13
+ 5: 23.5,
14
+ 6: 25,
15
+ 7: 22,
16
+ 8: 24.5,
17
+ 9: 24.5
18
+ },
19
+ "heading-2-semi-bold": {
20
+ 0: 17.5,
21
+ 1: 11,
22
+ 2: 16.5,
23
+ 3: 17,
24
+ 4: 18,
25
+ 5: 16,
26
+ 6: 17.5,
27
+ 7: 15,
28
+ 8: 17,
29
+ 9: 17
30
+ },
31
+ "heading-4-semi-bold": {
32
+ 0: 13,
33
+ 1: 8.5,
34
+ 2: 12.5,
35
+ 3: 12.5,
36
+ 4: 13,
37
+ 5: 12,
38
+ 6: 12.5,
39
+ 7: 11.5,
40
+ 8: 12.5,
41
+ 9: 12.5
42
+ }
43
+ }, v = {
44
+ md: {
45
+ integer: {
46
+ className: "heading-1-semi-bold",
47
+ widths: m["heading-1-semi-bold"]
48
+ },
49
+ decimal: {
50
+ className: "heading-2-semi-bold",
51
+ widths: m["heading-2-semi-bold"]
52
+ }
53
+ },
54
+ sm: {
55
+ integer: {
56
+ className: "heading-2-semi-bold",
57
+ widths: m["heading-2-semi-bold"]
58
+ },
59
+ decimal: {
60
+ className: "heading-4-semi-bold",
61
+ widths: m["heading-4-semi-bold"]
62
+ }
63
+ }
64
+ }, b = u(({ value: a, animate: l, widths: s }) => {
65
+ const t = s[a];
30
66
  return /* @__PURE__ */ c(
31
67
  "div",
32
68
  {
33
69
  className: "relative overflow-hidden mask-fade-y transition-[width] duration-600",
34
- style: { width: r + "px" },
70
+ style: { width: t + "px" },
35
71
  children: [
36
72
  /* @__PURE__ */ e("span", { className: "invisible", children: "0" }),
37
73
  /* @__PURE__ */ e(
38
74
  "span",
39
75
  {
40
- className: p(
76
+ className: o(
41
77
  "absolute inset-x-0 top-0 flex flex-col items-center justify-center",
42
78
  l && "transition-transform duration-600 ease-in-out"
43
79
  ),
44
80
  style: {
45
81
  transform: `translateY(-${a * 10}%)`
46
82
  },
47
- children: D.map((s, n) => /* @__PURE__ */ e("span", { inert: s !== a, children: s }, n))
83
+ children: D.map((n, r) => /* @__PURE__ */ e("span", { inert: n !== a, children: n }, r))
48
84
  }
49
85
  )
50
86
  ]
51
87
  }
52
88
  );
53
89
  });
54
- u.displayName = "DigitStrip";
55
- const o = d(({ items: a, type: l, animate: i }) => a.map((r, s) => {
56
- const n = a.length - s;
57
- return r.type === "separator" ? /* @__PURE__ */ e("span", { children: r.value }, n) : /* @__PURE__ */ e(
58
- u,
59
- {
60
- value: Number(r.value),
61
- animate: i,
62
- type: l
63
- },
64
- n
65
- );
66
- }));
67
- o.displayName = "DigitStripList";
68
- const w = ({
90
+ b.displayName = "DigitStrip";
91
+ const h = u(
92
+ ({ items: a, widths: l, animate: s }) => a.map((t, n) => {
93
+ const r = a.length - n;
94
+ return t.type === "separator" ? /* @__PURE__ */ e("span", { children: t.value }, r) : /* @__PURE__ */ e(
95
+ b,
96
+ {
97
+ value: Number(t.value),
98
+ animate: s,
99
+ widths: l
100
+ },
101
+ r
102
+ );
103
+ })
104
+ );
105
+ h.displayName = "DigitStripList";
106
+ function j({
69
107
  value: a,
70
108
  formatter: l,
71
- hidden: i = !1,
72
- loading: r = !1,
73
- animate: s = !0,
74
- className: n,
75
- ...f
76
- }) => {
77
- const t = l(a), m = x(t), { t: h } = N(), y = b(
78
- t,
109
+ hidden: s = !1,
110
+ loading: t = !1,
111
+ animate: n = !0,
112
+ size: r = "md",
113
+ className: f,
114
+ ...g
115
+ }) {
116
+ const i = l(a), p = y(i), { t: N } = S(), x = w(
79
117
  i,
80
- h("components.amountDisplay.amountHiddenAriaLabel")
81
- );
118
+ s,
119
+ N("components.amountDisplay.amountHiddenAriaLabel")
120
+ ), d = v[r];
82
121
  return /* @__PURE__ */ e(
83
122
  "div",
84
123
  {
85
- className: p(
86
- r && "animate-pulse",
124
+ className: o(
125
+ t && "animate-pulse",
87
126
  "relative inline-flex",
88
- n
127
+ f
89
128
  ),
90
- "aria-label": y,
91
- "aria-busy": r,
92
- ...f,
129
+ "aria-label": x,
130
+ "aria-busy": t,
131
+ ...g,
93
132
  children: /* @__PURE__ */ c("div", { className: "flex items-baseline", children: [
94
133
  /* @__PURE__ */ c(
95
134
  "span",
96
135
  {
97
- className: "inline-flex heading-1-semi-bold text-base",
136
+ className: o("inline-flex text-base", d.integer.className),
98
137
  "aria-hidden": "true",
99
138
  children: [
100
- t.currencyPosition === "start" && /* @__PURE__ */ e("span", { className: "me-4", children: t.currencyText }),
101
- i ? /* @__PURE__ */ e("span", { children: "••••" }) : /* @__PURE__ */ e(
102
- o,
139
+ i.currencyPosition === "start" && /* @__PURE__ */ e("span", { className: "me-4", children: i.currencyText }),
140
+ s ? /* @__PURE__ */ e("span", { children: "••••" }) : /* @__PURE__ */ e(
141
+ h,
103
142
  {
104
- items: m.integerPart,
105
- animate: s,
106
- type: "integer"
143
+ items: p.integerPart,
144
+ animate: n,
145
+ widths: d.integer.widths
107
146
  }
108
147
  )
109
148
  ]
@@ -112,26 +151,26 @@ const w = ({
112
151
  /* @__PURE__ */ c(
113
152
  "span",
114
153
  {
115
- className: "inline-flex heading-2-semi-bold text-muted",
154
+ className: o("inline-flex text-muted", d.decimal.className),
116
155
  "aria-hidden": "true",
117
156
  children: [
118
- !i && t.decimalPart && /* @__PURE__ */ e("span", { children: t.decimalSeparator }),
119
- t.decimalPart && !i && /* @__PURE__ */ e(
120
- o,
157
+ !s && i.decimalPart && /* @__PURE__ */ e("span", { children: i.decimalSeparator }),
158
+ i.decimalPart && !s && /* @__PURE__ */ e(
159
+ h,
121
160
  {
122
- items: m.decimalPart,
123
- animate: s,
124
- type: "decimal"
161
+ items: p.decimalPart,
162
+ animate: n,
163
+ widths: d.decimal.widths
125
164
  }
126
165
  ),
127
- t.currencyPosition === "end" && /* @__PURE__ */ e("span", { className: "ms-4", children: t.currencyText })
166
+ i.currencyPosition === "end" && /* @__PURE__ */ e("span", { className: "ms-4", children: i.currencyText })
128
167
  ]
129
168
  }
130
169
  )
131
170
  ] })
132
171
  }
133
172
  );
134
- };
173
+ }
135
174
  export {
136
- w as AmountDisplay
175
+ j as AmountDisplay
137
176
  };
@@ -1,3 +1,3 @@
1
1
  export { AmountDisplay } from './AmountDisplay';
2
- export type { AmountDisplayProps, FormattedValue } from './types';
2
+ export type { AmountDisplayProps, AmountDisplaySize, FormattedValue, } from './types';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AmountDisplay/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AmountDisplay/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,GACf,MAAM,SAAS,CAAC"}
@@ -2,11 +2,19 @@ import { FormattedValue, SplitChar } from '@ledgerhq/lumen-utils-shared';
2
2
  import { ComponentPropsWithRef } from 'react';
3
3
  export type { FormattedValue };
4
4
  export declare const DIGITS: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
5
- type IntegerDigit = (typeof DIGITS)[number];
5
+ type Digit = (typeof DIGITS)[number];
6
+ export type AmountDisplaySize = 'sm' | 'md';
7
+ type DigitType = 'integer' | 'decimal';
8
+ export type DigitWidths = Record<Digit, number>;
9
+ export type PartConfig = {
10
+ className: string;
11
+ widths: DigitWidths;
12
+ };
13
+ export type SizeConfig = Record<DigitType, PartConfig>;
6
14
  export type DigitStripProps = {
7
- value: IntegerDigit;
15
+ value: Digit;
8
16
  animate: boolean;
9
- type: 'integer' | 'decimal';
17
+ widths: DigitWidths;
10
18
  };
11
19
  export type DigitStripListProps = {
12
20
  items: SplitChar[];
@@ -40,5 +48,10 @@ export type AmountDisplayProps = {
40
48
  * @default true
41
49
  */
42
50
  animate?: boolean;
51
+ /**
52
+ * The size variant of the amount display.
53
+ * @default 'md'
54
+ */
55
+ size?: AmountDisplaySize;
43
56
  } & ComponentPropsWithRef<'div'>;
44
57
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AmountDisplay/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAEnD,YAAY,EAAE,cAAc,EAAE,CAAC;AAE/B,eAAO,MAAM,MAAM,yCAA0C,CAAC;AAE9D,KAAK,YAAY,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5C,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,YAAY,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,SAAS,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB,GAAG,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;AAEnC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,cAAc,CAAC;IAC7C;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AmountDisplay/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAEnD,YAAY,EAAE,cAAc,EAAE,CAAC;AAE/B,eAAO,MAAM,MAAM,yCAA0C,CAAC;AAE9D,KAAK,KAAK,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;AAErC,MAAM,MAAM,iBAAiB,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C,KAAK,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAEvC,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AAEhD,MAAM,MAAM,UAAU,GAAG;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,WAAW,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC;AAEvD,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,WAAW,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB,GAAG,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;AAEnC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,cAAc,CAAC;IAC7C;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC1B,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC"}
@@ -4,5 +4,5 @@ import { AmountInputProps } from './types';
4
4
  * This is a controlled component - both `value` and `onChange` props are required.
5
5
  * The currency text can be positioned either on the left or right side of the input.
6
6
  */
7
- export declare const AmountInput: ({ ref, className, currencyText, currencyPosition, disabled: disabledProp, maxIntegerLength, maxDecimalLength, allowDecimals, thousandsSeparator, value, onChange, ...props }: AmountInputProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const AmountInput: ({ ref, className, size, align, currencyText, currencyPosition, disabled: disabledProp, maxIntegerLength, maxDecimalLength, allowDecimals, thousandsSeparator, value, onChange, ...props }: AmountInputProps) => import("react/jsx-runtime").JSX.Element;
8
8
  //# sourceMappingURL=AmountInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AmountInput/AmountInput.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAgChD;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,8KAazB,gBAAgB,4CAkHlB,CAAC"}
1
+ {"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/AmountInput/AmountInput.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,gBAAgB,EAAmB,MAAM,SAAS,CAAC;AAyGjE;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,2LAezB,gBAAgB,4CAmHlB,CAAC"}