@ledgerhq/lumen-ui-react 0.1.19 → 0.1.20
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 +149 -146
- package/dist/lib/Components/DotSymbol/DotSymbol.d.ts +21 -0
- package/dist/lib/Components/DotSymbol/DotSymbol.d.ts.map +1 -0
- package/dist/lib/Components/DotSymbol/DotSymbol.js +113 -0
- package/dist/lib/Components/DotSymbol/index.d.ts +3 -0
- package/dist/lib/Components/DotSymbol/index.d.ts.map +1 -0
- package/dist/lib/Components/DotSymbol/types.d.ts +45 -0
- package/dist/lib/Components/DotSymbol/types.d.ts.map +1 -0
- package/dist/lib/Components/MediaImage/MediaImage.d.ts +1 -2
- package/dist/lib/Components/MediaImage/MediaImage.d.ts.map +1 -1
- package/dist/lib/Components/MediaImage/MediaImage.js +10 -20
- package/dist/lib/Components/MediaImage/index.d.ts +1 -1
- package/dist/lib/Components/MediaImage/index.d.ts.map +1 -1
- package/dist/lib/Components/MediaImage/types.d.ts +1 -1
- package/dist/lib/Components/Select/Select.d.ts.map +1 -1
- package/dist/lib/Components/Select/Select.js +29 -28
- package/dist/lib/Components/index.d.ts +1 -0
- package/dist/lib/Components/index.d.ts.map +1 -1
- package/dist/package.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,79 +1,80 @@
|
|
|
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
|
|
4
|
+
import { AmountDisplay as l } from "./lib/Components/AmountDisplay/AmountDisplay.js";
|
|
5
5
|
import { Avatar as d } from "./lib/Components/Avatar/Avatar.js";
|
|
6
6
|
import { Banner as x } from "./lib/Components/Banner/Banner.js";
|
|
7
7
|
import { BaseInput as u } from "./lib/Components/BaseInput/BaseInput.js";
|
|
8
8
|
import { Button as S } from "./lib/Components/Button/Button.js";
|
|
9
9
|
import { BaseButton as c } from "./lib/Components/Button/BaseButton.js";
|
|
10
|
-
import { Card as b, CardContent as I, CardContentDescription as s, CardContentRow as
|
|
11
|
-
import { CardButton as
|
|
12
|
-
import { ContentBanner as
|
|
10
|
+
import { Card as b, CardContent as I, 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
|
+
import { CardButton as y } from "./lib/Components/CardButton/CardButton.js";
|
|
12
|
+
import { ContentBanner as P, ContentBannerContent as k, ContentBannerDescription as N, ContentBannerTitle as G } from "./lib/Components/ContentBanner/ContentBanner.js";
|
|
13
13
|
import { Checkbox as F } from "./lib/Components/Checkbox/Checkbox.js";
|
|
14
|
-
import { DataTable as
|
|
14
|
+
import { DataTable as O, 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
19
|
import { Divider as re } from "./lib/Components/Divider/Divider.js";
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
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 {
|
|
49
|
-
import {
|
|
20
|
+
import { DotSymbol as ne, mediaImageDotSizeMap as ie, spotDotSizeMap as pe } from "./lib/Components/DotSymbol/DotSymbol.js";
|
|
21
|
+
import { IconButton as me } from "./lib/Components/IconButton/IconButton.js";
|
|
22
|
+
import { InteractiveIcon as Te } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
|
|
23
|
+
import { Link as fe } from "./lib/Components/Link/Link.js";
|
|
24
|
+
import { ListItem as Ce, ListItemContent as Se, ListItemContentRow as ge, ListItemDescription as ce, ListItemLeading as Be, ListItemTitle as be, ListItemTrailing as Ie } from "./lib/Components/ListItem/ListItem.js";
|
|
25
|
+
import { MediaBanner as De, MediaBannerDescription as Me, MediaBannerTitle as Le } from "./lib/Components/MediaBanner/MediaBanner.js";
|
|
26
|
+
import { MediaCard as ve, MediaCardTitle as Re } from "./lib/Components/MediaCard/MediaCard.js";
|
|
27
|
+
import { MediaImage as Ae } from "./lib/Components/MediaImage/MediaImage.js";
|
|
28
|
+
import { Menu as He, MenuCheckboxItem as Pe, MenuContent as ke, MenuGroup as Ne, MenuItem as Ge, MenuLabel as Ee, MenuPortal as Fe, MenuRadioGroup as ze, MenuRadioItem as Oe, MenuSeparator as _e, MenuSub as je, MenuSubContent as qe, MenuSubTrigger as Je, MenuTrigger as Ke } from "./lib/Components/Menu/Menu.js";
|
|
29
|
+
import { NavBar as Ue, NavBarBackButton as Ve, NavBarCoinCapsule as We, NavBarTitle as Xe, NavBarTrailing as Ye } from "./lib/Components/NavBar/NavBar.js";
|
|
30
|
+
import { Popover as $e, PopoverContent as eo, PopoverTrigger as oo, createPopoverHandle as to } from "./lib/Components/Popover/Popover.js";
|
|
31
|
+
import { PageIndicator as ao } from "./lib/Components/PageIndicator/PageIndicator.js";
|
|
32
|
+
import { SearchInput as io } from "./lib/Components/SearchInput/SearchInput.js";
|
|
33
|
+
import { SegmentedControl as lo, SegmentedControlButton as mo } from "./lib/Components/SegmentedControl/SegmentedControl.js";
|
|
34
|
+
import { Select as xo, SelectContent as fo, SelectEmptyState as uo, SelectItem as Co, SelectItemContent as So, SelectItemDescription as go, SelectItemText as co, SelectList as Bo, SelectSearch as bo, SelectSeparator as Io, SelectTrigger as so, SelectTriggerButton as Do } from "./lib/Components/Select/Select.js";
|
|
35
|
+
import { TriggerButton as Lo } from "./lib/Components/TriggerButton/TriggerButton.js";
|
|
36
|
+
import { SideBar as vo, SideBarCollapseToggle as Ro, SideBarItem as wo, SideBarLeading as Ao, SideBarTrailing as yo } from "./lib/Components/SideBar/SideBar.js";
|
|
37
|
+
import { Skeleton as Po } from "./lib/Components/Skeleton/Skeleton.js";
|
|
38
|
+
import { Spinner as No } from "./lib/Components/Spinner/Spinner.js";
|
|
39
|
+
import { Spot as Eo } from "./lib/Components/Spot/Spot.js";
|
|
40
|
+
import { Stepper as zo } from "./lib/Components/Stepper/Stepper.js";
|
|
41
|
+
import { Subheader as _o, SubheaderCount as jo, SubheaderDescription as qo, SubheaderInfo as Jo, SubheaderRow as Ko, SubheaderShowMore as Qo, SubheaderTitle as Uo } from "./lib/Components/Subheader/Subheader.js";
|
|
42
|
+
import { Switch as Wo } from "./lib/Components/Switch/Switch.js";
|
|
43
|
+
import { Table as Yo, TableActionBar as Zo, TableActionBarLeading as $o, TableActionBarTrailing as et, TableBody as ot, TableCell as tt, TableCellContent as rt, TableGroupHeaderRow as at, TableHeader as nt, TableHeaderCell as it, TableHeaderRow as pt, TableInfoIcon as lt, TableLoadingRow as mt, TableRoot as dt, TableRow as Tt, TableSortButton as xt } from "./lib/Components/Table/Table.js";
|
|
44
|
+
import { Tag as ut } from "./lib/Components/Tag/Tag.js";
|
|
45
|
+
import { TextInput as St } from "./lib/Components/TextInput/TextInput.js";
|
|
46
|
+
import { Tile as ct, TileContent as Bt, TileDescription as bt, TileSecondaryAction as It, TileTitle as st, TileTrailingContent as Dt } from "./lib/Components/Tile/Tile.js";
|
|
47
|
+
import { TileButton as Lt } from "./lib/Components/TileButton/TileButton.js";
|
|
48
|
+
import { Tooltip as vt, TooltipContent as Rt, TooltipProvider as wt, TooltipTrigger as At } from "./lib/Components/Tooltip/Tooltip.js";
|
|
49
|
+
import { ThemeProvider as Ht } from "./lib/Components/ThemeProvider/ThemeProvider.js";
|
|
50
|
+
import { COLOR_SCHEMES as kt } from "./lib/Components/ThemeProvider/ThemeProvider.types.js";
|
|
50
51
|
export {
|
|
51
52
|
a as AddressInput,
|
|
52
|
-
|
|
53
|
+
l as AmountDisplay,
|
|
53
54
|
i as AmountInput,
|
|
54
55
|
d as Avatar,
|
|
55
56
|
x as Banner,
|
|
56
57
|
c as BaseButton,
|
|
57
58
|
u as BaseInput,
|
|
58
59
|
S as Button,
|
|
59
|
-
|
|
60
|
+
kt as COLOR_SCHEMES,
|
|
60
61
|
b as Card,
|
|
61
|
-
|
|
62
|
+
y as CardButton,
|
|
62
63
|
I as CardContent,
|
|
63
64
|
s as CardContentDescription,
|
|
64
|
-
|
|
65
|
-
|
|
65
|
+
D as CardContentRow,
|
|
66
|
+
M as CardContentTitle,
|
|
66
67
|
L as CardFooter,
|
|
67
68
|
h as CardFooterActions,
|
|
68
69
|
v as CardHeader,
|
|
69
70
|
R as CardLeading,
|
|
70
71
|
w as CardTrailing,
|
|
71
72
|
F as Checkbox,
|
|
72
|
-
|
|
73
|
+
P as ContentBanner,
|
|
73
74
|
k as ContentBannerContent,
|
|
74
75
|
N as ContentBannerDescription,
|
|
75
76
|
G as ContentBannerTitle,
|
|
76
|
-
|
|
77
|
+
O as DataTable,
|
|
77
78
|
_ as DataTableGlobalSearchInput,
|
|
78
79
|
j as DataTableRoot,
|
|
79
80
|
V as Dialog,
|
|
@@ -85,110 +86,112 @@ export {
|
|
|
85
86
|
oe as DialogHeader,
|
|
86
87
|
$ as DialogTrigger,
|
|
87
88
|
re as Divider,
|
|
88
|
-
ne as
|
|
89
|
-
|
|
89
|
+
ne as DotSymbol,
|
|
90
|
+
me as IconButton,
|
|
91
|
+
Te as InteractiveIcon,
|
|
90
92
|
t as Languages,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
93
|
+
fe as Link,
|
|
94
|
+
Ce as ListItem,
|
|
95
|
+
Se as ListItemContent,
|
|
96
|
+
ge as ListItemContentRow,
|
|
97
|
+
ce as ListItemDescription,
|
|
98
|
+
Be as ListItemLeading,
|
|
99
|
+
be as ListItemTitle,
|
|
100
|
+
Ie as ListItemTrailing,
|
|
101
|
+
De as MediaBanner,
|
|
102
|
+
Me as MediaBannerDescription,
|
|
103
|
+
Le as MediaBannerTitle,
|
|
104
|
+
ve as MediaCard,
|
|
105
|
+
Re as MediaCardTitle,
|
|
106
|
+
Ae as MediaImage,
|
|
107
|
+
He as Menu,
|
|
108
|
+
Pe as MenuCheckboxItem,
|
|
109
|
+
ke as MenuContent,
|
|
110
|
+
Ne as MenuGroup,
|
|
111
|
+
Ge as MenuItem,
|
|
112
|
+
Ee as MenuLabel,
|
|
113
|
+
Fe as MenuPortal,
|
|
114
|
+
ze as MenuRadioGroup,
|
|
115
|
+
Oe as MenuRadioItem,
|
|
116
|
+
_e as MenuSeparator,
|
|
117
|
+
je as MenuSub,
|
|
118
|
+
qe as MenuSubContent,
|
|
119
|
+
Je as MenuSubTrigger,
|
|
120
|
+
Ke as MenuTrigger,
|
|
121
|
+
Ue as NavBar,
|
|
122
|
+
Ve as NavBarBackButton,
|
|
123
|
+
We as NavBarCoinCapsule,
|
|
124
|
+
Xe as NavBarTitle,
|
|
125
|
+
Ye as NavBarTrailing,
|
|
126
|
+
ao as PageIndicator,
|
|
127
|
+
$e as Popover,
|
|
128
|
+
eo as PopoverContent,
|
|
129
|
+
oo as PopoverTrigger,
|
|
130
|
+
io as SearchInput,
|
|
131
|
+
lo as SegmentedControl,
|
|
132
|
+
mo as SegmentedControlButton,
|
|
133
|
+
xo as Select,
|
|
134
|
+
fo as SelectContent,
|
|
135
|
+
uo as SelectEmptyState,
|
|
136
|
+
Co as SelectItem,
|
|
137
|
+
So as SelectItemContent,
|
|
138
|
+
go as SelectItemDescription,
|
|
139
|
+
co as SelectItemText,
|
|
140
|
+
Bo as SelectList,
|
|
141
|
+
bo as SelectSearch,
|
|
142
|
+
Io as SelectSeparator,
|
|
143
|
+
so as SelectTrigger,
|
|
144
|
+
Do as SelectTriggerButton,
|
|
145
|
+
vo as SideBar,
|
|
146
|
+
Ro as SideBarCollapseToggle,
|
|
147
|
+
wo as SideBarItem,
|
|
148
|
+
Ao as SideBarLeading,
|
|
149
|
+
yo as SideBarTrailing,
|
|
150
|
+
Po as Skeleton,
|
|
151
|
+
No as Spinner,
|
|
152
|
+
Eo as Spot,
|
|
153
|
+
zo as Stepper,
|
|
154
|
+
_o as Subheader,
|
|
155
|
+
jo as SubheaderCount,
|
|
156
|
+
qo as SubheaderDescription,
|
|
157
|
+
Jo as SubheaderInfo,
|
|
158
|
+
Ko as SubheaderRow,
|
|
159
|
+
Qo as SubheaderShowMore,
|
|
160
|
+
Uo as SubheaderTitle,
|
|
161
|
+
Wo as Switch,
|
|
162
|
+
Yo as Table,
|
|
163
|
+
Zo as TableActionBar,
|
|
164
|
+
$o as TableActionBarLeading,
|
|
165
|
+
et as TableActionBarTrailing,
|
|
166
|
+
ot as TableBody,
|
|
167
|
+
tt as TableCell,
|
|
168
|
+
rt as TableCellContent,
|
|
169
|
+
at as TableGroupHeaderRow,
|
|
170
|
+
nt as TableHeader,
|
|
171
|
+
it as TableHeaderCell,
|
|
172
|
+
pt as TableHeaderRow,
|
|
173
|
+
lt as TableInfoIcon,
|
|
174
|
+
mt as TableLoadingRow,
|
|
175
|
+
dt as TableRoot,
|
|
176
|
+
Tt as TableRow,
|
|
177
|
+
xt as TableSortButton,
|
|
178
|
+
ut as Tag,
|
|
179
|
+
St as TextInput,
|
|
180
|
+
Ht as ThemeProvider,
|
|
181
|
+
ct as Tile,
|
|
182
|
+
Lt as TileButton,
|
|
183
|
+
Bt as TileContent,
|
|
184
|
+
bt as TileDescription,
|
|
185
|
+
It as TileSecondaryAction,
|
|
186
|
+
st as TileTitle,
|
|
187
|
+
Dt as TileTrailingContent,
|
|
188
|
+
vt as Tooltip,
|
|
189
|
+
Rt as TooltipContent,
|
|
190
|
+
wt as TooltipProvider,
|
|
191
|
+
At as TooltipTrigger,
|
|
192
|
+
Lo as TriggerButton,
|
|
193
|
+
to as createPopoverHandle,
|
|
194
|
+
ie as mediaImageDotSizeMap,
|
|
195
|
+
pe as spotDotSizeMap,
|
|
193
196
|
J as useLumenDataTable
|
|
194
197
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MediaImageSize } from '../MediaImage';
|
|
2
|
+
import { SpotSize } from '../Spot';
|
|
3
|
+
import { DotSymbolProps, DotSymbolSize } from './types';
|
|
4
|
+
export declare const mediaImageDotSizeMap: Record<MediaImageSize, DotSymbolSize>;
|
|
5
|
+
export declare const spotDotSizeMap: Record<SpotSize, DotSymbolSize>;
|
|
6
|
+
/**
|
|
7
|
+
* A wrapper component that positions a small image indicator at a configurable
|
|
8
|
+
* corner of a child element like MediaImage or Spot.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* import { DotSymbol } from '@ledgerhq/lumen-ui-react';
|
|
12
|
+
*
|
|
13
|
+
* <DotSymbol src="https://example.com/eth.png" alt="Ethereum" pin="bottom-end">
|
|
14
|
+
* <MediaImage src="https://example.com/usdc.png" alt="USDC" size={48} />
|
|
15
|
+
* </DotSymbol>
|
|
16
|
+
*/
|
|
17
|
+
export declare const DotSymbol: {
|
|
18
|
+
({ children, src, alt, pin, size, shape, imgLoading, className, ref, ...rest }: DotSymbolProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=DotSymbol.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DotSymbol.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DotSymbol/DotSymbol.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAgB,cAAc,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAiDtE,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,cAAc,EAAE,aAAa,CAS7D,CAAC;AAEX,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,QAAQ,EAAE,aAAa,CAMjD,CAAC;AAmBX;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS;oFAWnB,cAAc;;CA4BhB,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { jsxs as f, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { cn as b } from "../../../libs/utils-shared/dist/index.js";
|
|
3
|
+
import { cva as h } from "class-variance-authority";
|
|
4
|
+
import { useMemo as z, useState as x, useEffect as N } from "react";
|
|
5
|
+
const v = h(
|
|
6
|
+
"absolute z-10 box-content overflow-hidden border-base-inverted bg-muted",
|
|
7
|
+
{
|
|
8
|
+
variants: {
|
|
9
|
+
size: {
|
|
10
|
+
8: "size-8 border",
|
|
11
|
+
10: "size-10 border",
|
|
12
|
+
12: "size-12 border",
|
|
13
|
+
16: "size-16 border",
|
|
14
|
+
20: "size-20 border",
|
|
15
|
+
24: "size-24 border"
|
|
16
|
+
},
|
|
17
|
+
shape: {
|
|
18
|
+
square: "",
|
|
19
|
+
circle: ""
|
|
20
|
+
},
|
|
21
|
+
pin: {
|
|
22
|
+
"top-start": "",
|
|
23
|
+
"top-end": "",
|
|
24
|
+
"bottom-start": "",
|
|
25
|
+
"bottom-end": ""
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
compoundVariants: [
|
|
29
|
+
/**
|
|
30
|
+
* Rounded radius by size & shape
|
|
31
|
+
*/
|
|
32
|
+
{ size: 8, shape: "square", className: "rounded-[2px]" },
|
|
33
|
+
{ size: 10, shape: "square", className: "rounded-[3px]" },
|
|
34
|
+
{ size: 12, shape: "square", className: "rounded-[4px]" },
|
|
35
|
+
{ size: 16, shape: "square", className: "rounded-[5px]" },
|
|
36
|
+
{ size: 20, shape: "square", className: "rounded-[6px]" },
|
|
37
|
+
{ size: 24, shape: "square", className: "rounded-[8px]" },
|
|
38
|
+
{ shape: "circle", className: "rounded-full" }
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
), g = {
|
|
42
|
+
8: -2,
|
|
43
|
+
10: -2,
|
|
44
|
+
12: -2,
|
|
45
|
+
16: -3,
|
|
46
|
+
20: -3,
|
|
47
|
+
24: -3
|
|
48
|
+
}, w = {
|
|
49
|
+
12: 8,
|
|
50
|
+
16: 8,
|
|
51
|
+
20: 8,
|
|
52
|
+
24: 10,
|
|
53
|
+
32: 12,
|
|
54
|
+
40: 16,
|
|
55
|
+
48: 20,
|
|
56
|
+
56: 24
|
|
57
|
+
}, V = {
|
|
58
|
+
32: 12,
|
|
59
|
+
40: 16,
|
|
60
|
+
48: 20,
|
|
61
|
+
56: 24,
|
|
62
|
+
72: 24
|
|
63
|
+
}, q = {
|
|
64
|
+
"top-start": ["top", "left"],
|
|
65
|
+
"top-end": ["top", "right"],
|
|
66
|
+
"bottom-start": ["bottom", "left"],
|
|
67
|
+
"bottom-end": ["bottom", "right"]
|
|
68
|
+
}, S = (o, t) => {
|
|
69
|
+
const [r, s] = q[o], e = g[t];
|
|
70
|
+
return { [r]: e, [s]: e };
|
|
71
|
+
}, y = ({
|
|
72
|
+
children: o,
|
|
73
|
+
src: t,
|
|
74
|
+
alt: r,
|
|
75
|
+
pin: s = "bottom-end",
|
|
76
|
+
size: e = 20,
|
|
77
|
+
shape: n = "circle",
|
|
78
|
+
imgLoading: d = "eager",
|
|
79
|
+
className: m,
|
|
80
|
+
ref: c,
|
|
81
|
+
...l
|
|
82
|
+
}) => {
|
|
83
|
+
const p = z(() => S(s, e), [s, e]), [u, i] = x(!1);
|
|
84
|
+
return N(() => {
|
|
85
|
+
i(!1);
|
|
86
|
+
}, [t]), /* @__PURE__ */ f(
|
|
87
|
+
"div",
|
|
88
|
+
{
|
|
89
|
+
ref: c,
|
|
90
|
+
className: b("relative inline-flex w-fit", m),
|
|
91
|
+
...l,
|
|
92
|
+
children: [
|
|
93
|
+
/* @__PURE__ */ a("div", { className: "inline-flex", children: o }),
|
|
94
|
+
/* @__PURE__ */ a("div", { className: v({ size: e, shape: n, pin: s }), style: p, children: !u && /* @__PURE__ */ a(
|
|
95
|
+
"img",
|
|
96
|
+
{
|
|
97
|
+
alt: r,
|
|
98
|
+
src: t,
|
|
99
|
+
loading: d,
|
|
100
|
+
"aria-hidden": "true",
|
|
101
|
+
onError: () => i(!0)
|
|
102
|
+
}
|
|
103
|
+
) })
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
);
|
|
107
|
+
};
|
|
108
|
+
y.displayName = "DotSymbol";
|
|
109
|
+
export {
|
|
110
|
+
y as DotSymbol,
|
|
111
|
+
w as mediaImageDotSizeMap,
|
|
112
|
+
V as spotDotSizeMap
|
|
113
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DotSymbol/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC9E,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
+
export type DotSymbolSize = 8 | 10 | 12 | 16 | 20 | 24;
|
|
3
|
+
export type DotSymbolPin = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
|
|
4
|
+
export type DotSymbolProps = {
|
|
5
|
+
/**
|
|
6
|
+
* Image source URL for the dot indicator.
|
|
7
|
+
*/
|
|
8
|
+
src: string;
|
|
9
|
+
/**
|
|
10
|
+
* Alternative text for the dot image.
|
|
11
|
+
*/
|
|
12
|
+
alt?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Corner placement of the dot indicator.
|
|
15
|
+
* @default 'bottom-end'
|
|
16
|
+
*/
|
|
17
|
+
pin?: DotSymbolPin;
|
|
18
|
+
/**
|
|
19
|
+
* The size of the dot indicator in pixels.
|
|
20
|
+
* @default 20
|
|
21
|
+
*/
|
|
22
|
+
size?: DotSymbolSize;
|
|
23
|
+
/**
|
|
24
|
+
* The shape of the dot indicator.
|
|
25
|
+
* @default 'circle'
|
|
26
|
+
*/
|
|
27
|
+
shape?: 'square' | 'circle';
|
|
28
|
+
/**
|
|
29
|
+
* Loading strategy for the image.
|
|
30
|
+
* - `eager`: Load immediately (default browser behavior)
|
|
31
|
+
* - `lazy`: Defer loading until near viewport
|
|
32
|
+
* @optional
|
|
33
|
+
* @default eager (browser default: eager)
|
|
34
|
+
*/
|
|
35
|
+
imgLoading?: 'eager' | 'lazy';
|
|
36
|
+
/**
|
|
37
|
+
* Additional custom CSS classes to apply to the wrapper.
|
|
38
|
+
*/
|
|
39
|
+
className?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The wrapped component (e.g. MediaImage or Spot).
|
|
42
|
+
*/
|
|
43
|
+
children?: ReactNode;
|
|
44
|
+
} & Omit<ComponentPropsWithRef<'div'>, 'children'>;
|
|
45
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DotSymbol/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9D,MAAM,MAAM,aAAa,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAEvD,MAAM,MAAM,YAAY,GACpB,WAAW,GACX,SAAS,GACT,cAAc,GACd,YAAY,CAAC;AAEjB,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,GAAG,CAAC,EAAE,YAAY,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC5B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { MediaImageProps
|
|
2
|
-
export declare const mediaImageDotSizeMap: Record<MediaImageSize, number>;
|
|
1
|
+
import { MediaImageProps } from './types';
|
|
3
2
|
/**
|
|
4
3
|
* A generic media image component that displays an image with optional shape variants.
|
|
5
4
|
* Supports square and circular appearances with consistent sizing.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaImage.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaImage/MediaImage.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"MediaImage.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaImage/MediaImage.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AA0B1C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,UAAU,GAAI,iEASxB,eAAe,4CA8BjB,CAAC"}
|
|
@@ -2,9 +2,9 @@ import { jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { cn as c } from "../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import { cva as f } from "class-variance-authority";
|
|
4
4
|
import { useState as z, useEffect as g } from "react";
|
|
5
|
-
const
|
|
5
|
+
const h = {
|
|
6
6
|
root: f(
|
|
7
|
-
"relative inline-flex shrink-0 items-center justify-center overflow-hidden bg-muted
|
|
7
|
+
"relative inline-flex shrink-0 items-center justify-center overflow-hidden bg-muted",
|
|
8
8
|
{
|
|
9
9
|
variants: {
|
|
10
10
|
size: {
|
|
@@ -24,22 +24,13 @@ const p = {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
)
|
|
27
|
-
}, j = {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
20: 8,
|
|
31
|
-
24: 10,
|
|
32
|
-
32: 12,
|
|
33
|
-
40: 16,
|
|
34
|
-
48: 20,
|
|
35
|
-
56: 24
|
|
36
|
-
}, E = ({
|
|
37
|
-
ref: a,
|
|
38
|
-
className: o,
|
|
27
|
+
}, j = ({
|
|
28
|
+
ref: o,
|
|
29
|
+
className: a,
|
|
39
30
|
src: e,
|
|
40
31
|
alt: i,
|
|
41
|
-
size:
|
|
42
|
-
shape:
|
|
32
|
+
size: d = 48,
|
|
33
|
+
shape: t = "square",
|
|
43
34
|
imgLoading: n = "eager",
|
|
44
35
|
...l
|
|
45
36
|
}) => {
|
|
@@ -49,8 +40,8 @@ const p = {
|
|
|
49
40
|
}, [e]), /* @__PURE__ */ r(
|
|
50
41
|
"div",
|
|
51
42
|
{
|
|
52
|
-
ref:
|
|
53
|
-
className: c(
|
|
43
|
+
ref: o,
|
|
44
|
+
className: c(h.root({ size: d, shape: t }), a),
|
|
54
45
|
role: "img",
|
|
55
46
|
"aria-label": i,
|
|
56
47
|
...l,
|
|
@@ -69,6 +60,5 @@ const p = {
|
|
|
69
60
|
);
|
|
70
61
|
};
|
|
71
62
|
export {
|
|
72
|
-
|
|
73
|
-
j as mediaImageDotSizeMap
|
|
63
|
+
j as MediaImage
|
|
74
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaImage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaImage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,cAAc,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Select/Select.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAEV,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EAEjB,mBAAmB,EACnB,eAAe,EACf,sBAAsB,EACtB,0BAA0B,EAC1B,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAGjB,iBAAS,MAAM,CAAC,EACd,KAAK,EACL,YAAY,EACZ,aAAa,EACb,QAAQ,EAAE,YAAY,EACtB,KAAK,EACL,MAAM,EACN,aAAa,EACb,WAAW,EAAE,eAAe,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,QAAQ,GACT,EAAE,WAAW,2CAsDb;AA6DD,QAAA,MAAM,aAAa,GAAI,gCAAgC,kBAAkB,4CAmBxE,CAAC;AAgCF,QAAA,MAAM,aAAa,GAAI,kFASpB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Select/Select.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAEV,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EAEjB,mBAAmB,EACnB,eAAe,EACf,sBAAsB,EACtB,0BAA0B,EAC1B,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAGjB,iBAAS,MAAM,CAAC,EACd,KAAK,EACL,YAAY,EACZ,aAAa,EACb,QAAQ,EAAE,YAAY,EACtB,KAAK,EACL,MAAM,EACN,aAAa,EACb,WAAW,EAAE,eAAe,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,QAAQ,GACT,EAAE,WAAW,2CAsDb;AA6DD,QAAA,MAAM,aAAa,GAAI,gCAAgC,kBAAkB,4CAmBxE,CAAC;AAgCF,QAAA,MAAM,aAAa,GAAI,kFASpB,kBAAkB,4CAoBpB,CAAC;AAEF,QAAA,MAAM,UAAU,GAAI,0CAKjB,eAAe,4CA+BjB,CAAC;AAqBF,QAAA,MAAM,UAAU,GAAI,wCAKjB,eAAe,4CAYjB,CAAC;AAEF,QAAA,MAAM,eAAe,GAAI,8BAItB,oBAAoB,4CAEtB,CAAC;AAEF,QAAA,MAAM,cAAc,GAAI,8BAA8B,mBAAmB,4CAOxE,CAAC;AAEF,QAAA,MAAM,iBAAiB,GAAI,wCAKxB,sBAAsB,4CASxB,CAAC;AAEF,QAAA,MAAM,qBAAqB,GAAI,wCAK5B,0BAA0B,4CAa5B,CAAC;AAEF,QAAA,MAAM,YAAY,GAAI,0GAQnB,iBAAiB,4CAyBnB,CAAC;AAEF,QAAA,MAAM,gBAAgB,GAAI,kDAMvB,qBAAqB,4CAcvB,CAAC;AAEF,QAAA,MAAM,mBAAmB,GAAI,qDAK1B,wBAAwB,4CAI1B,CAAC;AAEF,OAAO,EACL,MAAM,EACN,aAAa,EACb,aAAa,EACb,YAAY,EACZ,UAAU,EACV,cAAc,EACd,iBAAiB,EACjB,qBAAqB,EACrB,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,mBAAmB,GACpB,CAAC"}
|
|
@@ -30,8 +30,8 @@ function De({
|
|
|
30
30
|
onValueChange: e,
|
|
31
31
|
disabled: r,
|
|
32
32
|
items: s,
|
|
33
|
-
filter:
|
|
34
|
-
filteredItems:
|
|
33
|
+
filter: n,
|
|
34
|
+
filteredItems: i,
|
|
35
35
|
searchValue: c,
|
|
36
36
|
defaultSearchValue: u,
|
|
37
37
|
onSearchValueChange: h,
|
|
@@ -39,8 +39,8 @@ function De({
|
|
|
39
39
|
defaultOpen: x,
|
|
40
40
|
onOpenChange: S,
|
|
41
41
|
name: y,
|
|
42
|
-
required:
|
|
43
|
-
children:
|
|
42
|
+
required: v,
|
|
43
|
+
children: C
|
|
44
44
|
}) {
|
|
45
45
|
const N = q({
|
|
46
46
|
consumerName: "Select",
|
|
@@ -62,8 +62,8 @@ function De({
|
|
|
62
62
|
handleSearchValueChange: P
|
|
63
63
|
} = E({
|
|
64
64
|
items: s,
|
|
65
|
-
filter:
|
|
66
|
-
filteredItems:
|
|
65
|
+
filter: n,
|
|
66
|
+
filteredItems: i,
|
|
67
67
|
searchValue: c,
|
|
68
68
|
defaultSearchValue: u,
|
|
69
69
|
onSearchValueChange: h
|
|
@@ -83,9 +83,9 @@ function De({
|
|
|
83
83
|
defaultOpen: x,
|
|
84
84
|
onOpenChange: S,
|
|
85
85
|
name: y,
|
|
86
|
-
required:
|
|
86
|
+
required: v,
|
|
87
87
|
disabled: N,
|
|
88
|
-
children: /* @__PURE__ */ a(G, { value: { selectedValue: p, registerSearch: R, isGrouped: I }, children:
|
|
88
|
+
children: /* @__PURE__ */ a(G, { value: { selectedValue: p, registerSearch: R, isGrouped: I }, children: C })
|
|
89
89
|
}
|
|
90
90
|
);
|
|
91
91
|
}
|
|
@@ -109,16 +109,16 @@ const te = l(
|
|
|
109
109
|
label: r,
|
|
110
110
|
...s
|
|
111
111
|
}) => {
|
|
112
|
-
const { selectedValue:
|
|
112
|
+
const { selectedValue: n } = m({
|
|
113
113
|
consumerName: "SelectInputTrigger",
|
|
114
114
|
contextRequired: !0
|
|
115
|
-
}),
|
|
115
|
+
}), i = n != null && n !== "";
|
|
116
116
|
return /* @__PURE__ */ d(
|
|
117
117
|
b,
|
|
118
118
|
{
|
|
119
119
|
ref: t,
|
|
120
120
|
"data-slot": "select-trigger",
|
|
121
|
-
"data-placeholder":
|
|
121
|
+
"data-placeholder": i ? void 0 : "",
|
|
122
122
|
className: l(te, o),
|
|
123
123
|
...s,
|
|
124
124
|
children: [
|
|
@@ -129,7 +129,7 @@ const te = l(
|
|
|
129
129
|
className: l(
|
|
130
130
|
"flex-1 truncate text-left",
|
|
131
131
|
r && "mt-16 opacity-100 transition-opacity delay-100 duration-300",
|
|
132
|
-
r && !
|
|
132
|
+
r && !i && "mt-0 opacity-0"
|
|
133
133
|
),
|
|
134
134
|
children: /* @__PURE__ */ a(f, {})
|
|
135
135
|
}
|
|
@@ -160,7 +160,7 @@ const te = l(
|
|
|
160
160
|
) : /* @__PURE__ */ a(ae, { ...e, disabled: o });
|
|
161
161
|
}, re = z(
|
|
162
162
|
[
|
|
163
|
-
"group/select-content relative
|
|
163
|
+
"group/select-content relative flex max-h-(--available-height) w-(--anchor-width) flex-col overflow-hidden",
|
|
164
164
|
"rounded-sm bg-surface",
|
|
165
165
|
"shadow-md"
|
|
166
166
|
],
|
|
@@ -192,22 +192,23 @@ const te = l(
|
|
|
192
192
|
children: e,
|
|
193
193
|
side: r = "bottom",
|
|
194
194
|
sideOffset: s = 8,
|
|
195
|
-
align:
|
|
196
|
-
autoFocusSearch:
|
|
195
|
+
align: n = "start",
|
|
196
|
+
autoFocusSearch: i = !1,
|
|
197
197
|
...c
|
|
198
198
|
}) => /* @__PURE__ */ a(K, { "data-slot": "select-portal", children: /* @__PURE__ */ a(
|
|
199
199
|
M,
|
|
200
200
|
{
|
|
201
201
|
"data-slot": "select-positioner",
|
|
202
|
+
className: "pointer-events-auto z-select",
|
|
202
203
|
side: r,
|
|
203
204
|
sideOffset: s,
|
|
204
|
-
align:
|
|
205
|
+
align: n,
|
|
205
206
|
children: /* @__PURE__ */ a(
|
|
206
207
|
O,
|
|
207
208
|
{
|
|
208
209
|
ref: t,
|
|
209
210
|
"data-slot": "select-content",
|
|
210
|
-
initialFocus:
|
|
211
|
+
initialFocus: i ? void 0 : !1,
|
|
211
212
|
className: l(re({ side: r }), o),
|
|
212
213
|
...c,
|
|
213
214
|
children: e
|
|
@@ -234,18 +235,18 @@ const te = l(
|
|
|
234
235
|
o
|
|
235
236
|
),
|
|
236
237
|
...r,
|
|
237
|
-
children: s ? (
|
|
238
|
+
children: s ? (n, i) => /* @__PURE__ */ d(
|
|
238
239
|
X,
|
|
239
240
|
{
|
|
240
|
-
items:
|
|
241
|
+
items: n.items,
|
|
241
242
|
"data-slot": "select-group",
|
|
242
243
|
children: [
|
|
243
|
-
|
|
244
|
-
|
|
244
|
+
i > 0 && /* @__PURE__ */ a(ne, {}),
|
|
245
|
+
n.label && /* @__PURE__ */ a(le, { children: n.label }),
|
|
245
246
|
/* @__PURE__ */ a(Y, { children: e })
|
|
246
247
|
]
|
|
247
248
|
},
|
|
248
|
-
|
|
249
|
+
n.label
|
|
249
250
|
) : e
|
|
250
251
|
}
|
|
251
252
|
);
|
|
@@ -282,7 +283,7 @@ const te = l(
|
|
|
282
283
|
/* @__PURE__ */ a(_, { className: "ml-auto flex shrink-0 items-center justify-center", children: /* @__PURE__ */ a(F, { size: 24, className: "shrink-0 text-active" }) })
|
|
283
284
|
]
|
|
284
285
|
}
|
|
285
|
-
),
|
|
286
|
+
), ne = ({
|
|
286
287
|
ref: t,
|
|
287
288
|
className: o,
|
|
288
289
|
...e
|
|
@@ -332,8 +333,8 @@ const te = l(
|
|
|
332
333
|
errorMessage: e,
|
|
333
334
|
"aria-invalid": r,
|
|
334
335
|
suffix: s,
|
|
335
|
-
onClear:
|
|
336
|
-
hideClearButton:
|
|
336
|
+
onClear: n,
|
|
337
|
+
hideClearButton: i
|
|
337
338
|
}) => {
|
|
338
339
|
const { registerSearch: c } = m({
|
|
339
340
|
consumerName: "SelectSearch",
|
|
@@ -349,8 +350,8 @@ const te = l(
|
|
|
349
350
|
"aria-invalid": r,
|
|
350
351
|
errorMessage: e,
|
|
351
352
|
suffix: s,
|
|
352
|
-
onClear:
|
|
353
|
-
hideClearButton:
|
|
353
|
+
onClear: n,
|
|
354
|
+
hideClearButton: i,
|
|
354
355
|
placeholder: o,
|
|
355
356
|
containerClassName: "rounded-b-none ring-inset",
|
|
356
357
|
className: l(t, "rounded-b-none ring-inset")
|
|
@@ -396,7 +397,7 @@ export {
|
|
|
396
397
|
Fe as SelectItemText,
|
|
397
398
|
Ee as SelectList,
|
|
398
399
|
He as SelectSearch,
|
|
399
|
-
|
|
400
|
+
ne as SelectSeparator,
|
|
400
401
|
Ge as SelectTrigger,
|
|
401
402
|
Ke as SelectTriggerButton
|
|
402
403
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/Components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/Components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,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.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"keywords": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@ledgerhq/lumen-utils-shared": "0.1.
|
|
44
|
+
"@ledgerhq/lumen-utils-shared": "0.1.3",
|
|
45
45
|
"i18next": "^23.7.0",
|
|
46
46
|
"react-i18next": "^14.0.0"
|
|
47
47
|
},
|