@ledgerhq/lumen-ui-react 0.1.9 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai-rules/RULES.md +4 -0
- package/dist/i18n/i18n.d.ts.map +1 -1
- package/dist/index.js +134 -132
- package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/lib/Components/Avatar/Avatar.js +17 -14
- package/dist/lib/Components/Avatar/types.d.ts +1 -1
- package/dist/lib/Components/Avatar/types.d.ts.map +1 -1
- package/dist/lib/Components/Banner/Banner.d.ts.map +1 -1
- package/dist/lib/Components/Button/BaseButton.d.ts +1 -1
- package/dist/lib/Components/ButtonTrigger/ButtonTrigger.js +1 -1
- package/dist/lib/Components/Card/Card.d.ts.map +1 -1
- package/dist/lib/Components/Card/Card.js +1 -1
- package/dist/lib/Components/Card/types.d.ts +1 -1
- package/dist/lib/Components/DataTable/useLumenDataTable/useLumenDataTable.d.ts.map +1 -1
- package/dist/lib/Components/Design-tokens/shared.d.ts.map +1 -1
- package/dist/lib/Components/Dialog/Dialog.d.ts +22 -1
- package/dist/lib/Components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/lib/Components/Dialog/Dialog.js +43 -26
- package/dist/lib/Components/Dialog/types.d.ts +10 -0
- package/dist/lib/Components/Dialog/types.d.ts.map +1 -1
- package/dist/lib/Components/Icon/createIcon.d.ts.map +1 -1
- package/dist/lib/Components/IconButton/IconButton.d.ts +1 -1
- package/dist/lib/Components/IconButton/IconButton.d.ts.map +1 -1
- package/dist/lib/Components/IconButton/IconButton.js +23 -22
- package/dist/lib/Components/IconButton/types.d.ts +6 -0
- package/dist/lib/Components/IconButton/types.d.ts.map +1 -1
- package/dist/lib/Components/Select/Select.d.ts +6 -8
- package/dist/lib/Components/Select/Select.d.ts.map +1 -1
- package/dist/lib/Components/Select/Select.js +125 -87
- package/dist/lib/Components/Select/SelectContext.d.ts +12 -0
- package/dist/lib/Components/Select/SelectContext.d.ts.map +1 -0
- package/dist/lib/Components/Select/SelectContext.js +6 -0
- package/dist/lib/Components/Select/index.d.ts +1 -1
- package/dist/lib/Components/Select/index.d.ts.map +1 -1
- package/dist/lib/Components/Select/types.d.ts +28 -0
- package/dist/lib/Components/Select/types.d.ts.map +1 -1
- package/dist/lib/Components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/lib/Components/Subheader/Subheader.d.ts.map +1 -1
- package/dist/lib/Components/Table/utils/useThrottledScrollBottom.d.ts.map +1 -1
- package/dist/lib/Components/ThemeProvider/useRootColorModeSideEffect.d.ts.map +1 -1
- package/dist/lib/Components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/ai-rules/RULES.md
CHANGED
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
- Import icons from `@ledgerhq/lumen-ui-react/symbols` (not from main package)
|
|
17
17
|
- Import design tokens/presets from `@ledgerhq/lumen-design-core`
|
|
18
18
|
|
|
19
|
+
### Font Family (REQUIRED)
|
|
20
|
+
|
|
21
|
+
Lumen typography classes set `font-family: Inter` via design tokens. The consumer project must load the Inter font. Recommend Google Fonts or self-hosting.
|
|
22
|
+
|
|
19
23
|
### Tailwind Configuration (REQUIRED)
|
|
20
24
|
|
|
21
25
|
- Tailwind config MUST include Lumen in content array: `'./node_modules/@ledgerhq/lumen-ui-react/dist/lib/**/*.{js,ts,jsx,tsx}'`
|
package/dist/i18n/i18n.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n/i18n.ts"],"names":[],"mappings":"AAAA,OAAgB,EAAE,KAAK,IAAI,IAAI,YAAY,EAAE,MAAM,SAAS,CAAC;AAE7D,OAAO,EAGL,eAAe,EAChB,MAAM,aAAa,CAAC;AA4BrB,eAAO,MAAM,IAAI,cAAmB,CAAC;AAErC;;GAEG;AACH,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n/i18n.ts"],"names":[],"mappings":"AAAA,OAAgB,EAAE,KAAK,IAAI,IAAI,YAAY,EAAE,MAAM,SAAS,CAAC;AAE7D,OAAO,EAGL,eAAe,EAChB,MAAM,aAAa,CAAC;AA4BrB,eAAO,MAAM,IAAI,cAAmB,CAAC;AAErC;;GAEG;AACH,eAAO,MAAM,UAAU,GAAU,QAAQ,eAAe,KAAG,OAAO,CAAC,IAAI,CAoBtE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GACzB,QAAQ,eAAe,KACtB,OAAO,CAAC,IAAI,CAGd,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import { Languages as t } from "./i18n/languages.js";
|
|
2
|
-
import { AddressInput as
|
|
2
|
+
import { AddressInput as n } from "./lib/Components/AddressInput/AddressInput.js";
|
|
3
3
|
import { AmountInput as i } from "./lib/Components/AmountInput/AmountInput.js";
|
|
4
4
|
import { AmountDisplay as p } from "./lib/Components/AmountDisplay/AmountDisplay.js";
|
|
5
5
|
import { Avatar as T } from "./lib/Components/Avatar/Avatar.js";
|
|
6
|
-
import { Banner as
|
|
6
|
+
import { Banner as d } from "./lib/Components/Banner/Banner.js";
|
|
7
7
|
import { BaseInput as f } from "./lib/Components/BaseInput/BaseInput.js";
|
|
8
8
|
import { Button as S } from "./lib/Components/Button/Button.js";
|
|
9
9
|
import { BaseButton as b } from "./lib/Components/Button/BaseButton.js";
|
|
10
10
|
import { Card as B, CardContent as I, CardContentDescription as s, CardContentRow as L, CardContentTitle as D, CardFooter as M, CardFooterActions as h, CardHeader as R, CardLeading as v, CardTrailing as A } from "./lib/Components/Card/Card.js";
|
|
11
11
|
import { CardButton as H } from "./lib/Components/CardButton/CardButton.js";
|
|
12
|
-
import { ContentBanner as
|
|
12
|
+
import { ContentBanner as y, ContentBannerContent as G, ContentBannerDescription as N, ContentBannerTitle as P } from "./lib/Components/ContentBanner/ContentBanner.js";
|
|
13
13
|
import { Checkbox as E } from "./lib/Components/Checkbox/Checkbox.js";
|
|
14
14
|
import { DataTable as _, DataTableGlobalSearchInput as j, DataTableRoot as q } 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
|
-
import { Dialog as V, DialogBody as W,
|
|
18
|
-
import { DialogHeader as
|
|
19
|
-
import { Divider as
|
|
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
20
|
import { IconButton as ae } from "./lib/Components/IconButton/IconButton.js";
|
|
21
|
-
import { InteractiveIcon as
|
|
22
|
-
import { Link as
|
|
23
|
-
import { ListItem as
|
|
24
|
-
import { Menu as
|
|
25
|
-
import { NavBar as
|
|
26
|
-
import { PageIndicator as
|
|
27
|
-
import { SearchInput as
|
|
28
|
-
import { SegmentedControl as
|
|
29
|
-
import { Select as
|
|
30
|
-
import { ButtonTrigger as
|
|
31
|
-
import { SideBar as
|
|
32
|
-
import { Skeleton as
|
|
33
|
-
import { Spinner as
|
|
34
|
-
import { Spot as
|
|
35
|
-
import { Stepper as
|
|
36
|
-
import { Subheader as
|
|
37
|
-
import { Switch as
|
|
38
|
-
import { Table as
|
|
39
|
-
import { Tag as
|
|
40
|
-
import { TextInput as
|
|
41
|
-
import { Tile as
|
|
42
|
-
import { TileButton as
|
|
43
|
-
import { Tooltip as
|
|
44
|
-
import { ThemeProvider as
|
|
45
|
-
import { COLOR_SCHEMES as
|
|
21
|
+
import { InteractiveIcon as le } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
|
|
22
|
+
import { Link as me } from "./lib/Components/Link/Link.js";
|
|
23
|
+
import { ListItem as ue, ListItemContent as de, ListItemDescription as xe, ListItemIcon as fe, ListItemLeading as Ce, ListItemSpot as Se, ListItemTitle as ge, ListItemTrailing as be, ListItemTruncate as ce } from "./lib/Components/ListItem/ListItem.js";
|
|
24
|
+
import { Menu as Ie, MenuCheckboxItem as se, MenuContent as Le, MenuGroup as De, MenuItem as Me, MenuLabel as he, MenuPortal as Re, MenuRadioGroup as ve, MenuRadioItem as Ae, MenuSeparator as we, MenuSub as He, MenuSubContent as ke, MenuSubTrigger as ye, MenuTrigger as Ge } from "./lib/Components/Menu/Menu.js";
|
|
25
|
+
import { NavBar as Pe, NavBarBackButton as Fe, NavBarCoinCapsule as Ee, NavBarTitle as Oe, NavBarTrailing as _e } from "./lib/Components/NavBar/NavBar.js";
|
|
26
|
+
import { PageIndicator as qe } from "./lib/Components/PageIndicator/PageIndicator.js";
|
|
27
|
+
import { SearchInput as Je } from "./lib/Components/SearchInput/SearchInput.js";
|
|
28
|
+
import { SegmentedControl as Qe, SegmentedControlButton as Ue } from "./lib/Components/SegmentedControl/SegmentedControl.js";
|
|
29
|
+
import { Select as We, SelectButtonTrigger as Xe, SelectContent as Ye, SelectGroup as Ze, SelectItem as $e, SelectItemText as eo, SelectLabel as oo, SelectSeparator as to, SelectTrigger as ro } from "./lib/Components/Select/Select.js";
|
|
30
|
+
import { ButtonTrigger as ao } from "./lib/Components/ButtonTrigger/ButtonTrigger.js";
|
|
31
|
+
import { SideBar as lo, SideBarCollapseToggle as po, SideBarItem as mo, SideBarLeading as To, SideBarTrailing as uo } from "./lib/Components/SideBar/SideBar.js";
|
|
32
|
+
import { Skeleton as fo } from "./lib/Components/Skeleton/Skeleton.js";
|
|
33
|
+
import { Spinner as So } from "./lib/Components/Spinner/Spinner.js";
|
|
34
|
+
import { Spot as bo } from "./lib/Components/Spot/Spot.js";
|
|
35
|
+
import { Stepper as Bo } from "./lib/Components/Stepper/Stepper.js";
|
|
36
|
+
import { Subheader as so, SubheaderAction as Lo, SubheaderCount as Do, SubheaderDescription as Mo, SubheaderInfo as ho, SubheaderRow as Ro, SubheaderShowMore as vo, SubheaderTitle as Ao } from "./lib/Components/Subheader/Subheader.js";
|
|
37
|
+
import { Switch as Ho } from "./lib/Components/Switch/Switch.js";
|
|
38
|
+
import { Table as yo, TableActionBar as Go, TableActionBarLeading as No, TableActionBarTrailing as Po, TableBody as Fo, TableCell as Eo, TableCellContent as Oo, TableGroupHeaderRow as _o, TableHeader as jo, TableHeaderCell as qo, TableHeaderRow as zo, TableInfoIcon as Jo, TableLoadingRow as Ko, TableRoot as Qo, TableRow as Uo, TableSortButton as Vo } from "./lib/Components/Table/Table.js";
|
|
39
|
+
import { Tag as Xo } from "./lib/Components/Tag/Tag.js";
|
|
40
|
+
import { TextInput as Zo } from "./lib/Components/TextInput/TextInput.js";
|
|
41
|
+
import { Tile as et, TileContent as ot, TileDescription as tt, TileSecondaryAction as rt, TileSpot as nt, TileTitle as at, TileTrailingContent as it } from "./lib/Components/Tile/Tile.js";
|
|
42
|
+
import { TileButton as pt } from "./lib/Components/TileButton/TileButton.js";
|
|
43
|
+
import { Tooltip as Tt, TooltipContent as ut, TooltipProvider as dt, TooltipTrigger as xt } from "./lib/Components/Tooltip/Tooltip.js";
|
|
44
|
+
import { ThemeProvider as Ct } from "./lib/Components/ThemeProvider/ThemeProvider.js";
|
|
45
|
+
import { COLOR_SCHEMES as gt } from "./lib/Components/ThemeProvider/ThemeProvider.types.js";
|
|
46
46
|
export {
|
|
47
|
-
|
|
47
|
+
n as AddressInput,
|
|
48
48
|
p as AmountDisplay,
|
|
49
49
|
i as AmountInput,
|
|
50
50
|
T as Avatar,
|
|
51
|
-
|
|
51
|
+
d as Banner,
|
|
52
52
|
b as BaseButton,
|
|
53
53
|
f as BaseInput,
|
|
54
54
|
S as Button,
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
ao as ButtonTrigger,
|
|
56
|
+
gt as COLOR_SCHEMES,
|
|
57
57
|
B as Card,
|
|
58
58
|
H as CardButton,
|
|
59
59
|
I as CardContent,
|
|
@@ -66,113 +66,115 @@ export {
|
|
|
66
66
|
v as CardLeading,
|
|
67
67
|
A as CardTrailing,
|
|
68
68
|
E as Checkbox,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
y as ContentBanner,
|
|
70
|
+
G as ContentBannerContent,
|
|
71
|
+
N as ContentBannerDescription,
|
|
72
72
|
P as ContentBannerTitle,
|
|
73
73
|
_ as DataTable,
|
|
74
74
|
j as DataTableGlobalSearchInput,
|
|
75
75
|
q as DataTableRoot,
|
|
76
76
|
V as Dialog,
|
|
77
77
|
W as DialogBody,
|
|
78
|
+
X as DialogBodyStickyContent,
|
|
78
79
|
Q as DialogClose,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
Y as DialogContent,
|
|
81
|
+
Z as DialogFooter,
|
|
82
|
+
oe as DialogHeader,
|
|
83
|
+
$ as DialogTrigger,
|
|
84
|
+
re as Divider,
|
|
84
85
|
ae as IconButton,
|
|
85
|
-
|
|
86
|
+
le as InteractiveIcon,
|
|
86
87
|
t as Languages,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
me as Link,
|
|
89
|
+
ue as ListItem,
|
|
90
|
+
de as ListItemContent,
|
|
90
91
|
xe as ListItemDescription,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
92
|
+
fe as ListItemIcon,
|
|
93
|
+
Ce as ListItemLeading,
|
|
94
|
+
Se as ListItemSpot,
|
|
95
|
+
ge as ListItemTitle,
|
|
96
|
+
be as ListItemTrailing,
|
|
97
|
+
ce as ListItemTruncate,
|
|
98
|
+
Ie as Menu,
|
|
99
|
+
se as MenuCheckboxItem,
|
|
100
|
+
Le as MenuContent,
|
|
101
|
+
De as MenuGroup,
|
|
102
|
+
Me as MenuItem,
|
|
103
|
+
he as MenuLabel,
|
|
104
|
+
Re as MenuPortal,
|
|
105
|
+
ve as MenuRadioGroup,
|
|
106
|
+
Ae as MenuRadioItem,
|
|
107
|
+
we as MenuSeparator,
|
|
108
|
+
He as MenuSub,
|
|
109
|
+
ke as MenuSubContent,
|
|
110
|
+
ye as MenuSubTrigger,
|
|
110
111
|
Ge as MenuTrigger,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
uo as
|
|
134
|
-
fo as
|
|
135
|
-
So as
|
|
136
|
-
bo as
|
|
137
|
-
Bo as
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
Ao as
|
|
146
|
-
Ho as
|
|
147
|
-
|
|
148
|
-
Go as
|
|
149
|
-
No as
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
Vo as
|
|
163
|
-
Xo as
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
at as
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
112
|
+
Pe as NavBar,
|
|
113
|
+
Fe as NavBarBackButton,
|
|
114
|
+
Ee as NavBarCoinCapsule,
|
|
115
|
+
Oe as NavBarTitle,
|
|
116
|
+
_e as NavBarTrailing,
|
|
117
|
+
qe as PageIndicator,
|
|
118
|
+
Je as SearchInput,
|
|
119
|
+
Qe as SegmentedControl,
|
|
120
|
+
Ue as SegmentedControlButton,
|
|
121
|
+
We as Select,
|
|
122
|
+
Xe as SelectButtonTrigger,
|
|
123
|
+
Ye as SelectContent,
|
|
124
|
+
Ze as SelectGroup,
|
|
125
|
+
$e as SelectItem,
|
|
126
|
+
eo as SelectItemText,
|
|
127
|
+
oo as SelectLabel,
|
|
128
|
+
to as SelectSeparator,
|
|
129
|
+
ro as SelectTrigger,
|
|
130
|
+
lo as SideBar,
|
|
131
|
+
po as SideBarCollapseToggle,
|
|
132
|
+
mo as SideBarItem,
|
|
133
|
+
To as SideBarLeading,
|
|
134
|
+
uo as SideBarTrailing,
|
|
135
|
+
fo as Skeleton,
|
|
136
|
+
So as Spinner,
|
|
137
|
+
bo as Spot,
|
|
138
|
+
Bo as Stepper,
|
|
139
|
+
so as Subheader,
|
|
140
|
+
Lo as SubheaderAction,
|
|
141
|
+
Do as SubheaderCount,
|
|
142
|
+
Mo as SubheaderDescription,
|
|
143
|
+
ho as SubheaderInfo,
|
|
144
|
+
Ro as SubheaderRow,
|
|
145
|
+
vo as SubheaderShowMore,
|
|
146
|
+
Ao as SubheaderTitle,
|
|
147
|
+
Ho as Switch,
|
|
148
|
+
yo as Table,
|
|
149
|
+
Go as TableActionBar,
|
|
150
|
+
No as TableActionBarLeading,
|
|
151
|
+
Po as TableActionBarTrailing,
|
|
152
|
+
Fo as TableBody,
|
|
153
|
+
Eo as TableCell,
|
|
154
|
+
Oo as TableCellContent,
|
|
155
|
+
_o as TableGroupHeaderRow,
|
|
156
|
+
jo as TableHeader,
|
|
157
|
+
qo as TableHeaderCell,
|
|
158
|
+
zo as TableHeaderRow,
|
|
159
|
+
Jo as TableInfoIcon,
|
|
160
|
+
Ko as TableLoadingRow,
|
|
161
|
+
Qo as TableRoot,
|
|
162
|
+
Uo as TableRow,
|
|
163
|
+
Vo as TableSortButton,
|
|
164
|
+
Xo as Tag,
|
|
165
|
+
Zo as TextInput,
|
|
166
|
+
Ct as ThemeProvider,
|
|
167
|
+
et as Tile,
|
|
168
|
+
pt as TileButton,
|
|
169
|
+
ot as TileContent,
|
|
170
|
+
tt as TileDescription,
|
|
171
|
+
rt as TileSecondaryAction,
|
|
172
|
+
nt as TileSpot,
|
|
173
|
+
at as TileTitle,
|
|
174
|
+
it as TileTrailingContent,
|
|
175
|
+
Tt as Tooltip,
|
|
176
|
+
ut as TooltipContent,
|
|
177
|
+
dt as TooltipProvider,
|
|
178
|
+
xt as TooltipTrigger,
|
|
177
179
|
J as useLumenDataTable
|
|
178
180
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAmCtC;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,MAAM;iFAShB,WAAW;;CA+Cb,CAAC"}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { cva as
|
|
3
|
-
import
|
|
1
|
+
import { jsxs as z, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { cva as l } from "class-variance-authority";
|
|
3
|
+
import n from "react";
|
|
4
4
|
import { useCommonTranslation as h } from "../../../i18n/useCommonTranslation.js";
|
|
5
5
|
import { User as A } from "../../Symbols/Icons/User.js";
|
|
6
6
|
const m = {
|
|
7
|
-
root:
|
|
7
|
+
root: l(
|
|
8
8
|
"relative inline-flex items-center justify-center rounded-full bg-muted-transparent transition-colors",
|
|
9
9
|
{
|
|
10
10
|
variants: {
|
|
11
11
|
size: {
|
|
12
12
|
sm: "size-40 p-4",
|
|
13
|
-
md: "size-48 p-4"
|
|
13
|
+
md: "size-48 p-4",
|
|
14
|
+
lg: "size-72 p-4"
|
|
14
15
|
}
|
|
15
16
|
},
|
|
16
17
|
defaultVariants: {
|
|
@@ -18,17 +19,19 @@ const m = {
|
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
21
|
),
|
|
21
|
-
notification:
|
|
22
|
+
notification: l("absolute top-0 right-0 rounded-full bg-error-strong", {
|
|
22
23
|
variants: {
|
|
23
24
|
size: {
|
|
24
25
|
sm: "size-10",
|
|
25
|
-
md: "size-12"
|
|
26
|
+
md: "size-12",
|
|
27
|
+
lg: "size-16"
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
})
|
|
29
31
|
}, j = {
|
|
30
32
|
sm: 16,
|
|
31
|
-
md: 24
|
|
33
|
+
md: 24,
|
|
34
|
+
lg: 32
|
|
32
35
|
}, x = ({
|
|
33
36
|
ref: d,
|
|
34
37
|
className: c,
|
|
@@ -37,19 +40,19 @@ const m = {
|
|
|
37
40
|
size: e = "md",
|
|
38
41
|
imgLoading: u,
|
|
39
42
|
showNotification: t = !1,
|
|
40
|
-
...
|
|
43
|
+
...p
|
|
41
44
|
}) => {
|
|
42
|
-
const { t: o } = h(), [
|
|
43
|
-
return
|
|
45
|
+
const { t: o } = h(), [v, i] = n.useState(!1), b = !a || v, s = f || o("components.avatar.defaultAlt"), g = t ? `${s}, ${o("components.avatar.notificationAriaLabel")}` : s;
|
|
46
|
+
return n.useEffect(() => {
|
|
44
47
|
i(!1);
|
|
45
|
-
}, [a]), /* @__PURE__ */
|
|
48
|
+
}, [a]), /* @__PURE__ */ z(
|
|
46
49
|
"div",
|
|
47
50
|
{
|
|
48
51
|
ref: d,
|
|
49
52
|
className: m.root({ size: e, className: c }),
|
|
50
53
|
role: "img",
|
|
51
|
-
"aria-label":
|
|
52
|
-
...
|
|
54
|
+
"aria-label": g,
|
|
55
|
+
...p,
|
|
53
56
|
children: [
|
|
54
57
|
t && /* @__PURE__ */ r(
|
|
55
58
|
"div",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAEnD,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAEnD,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC/B,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Banner/Banner.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAsBtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Banner/Banner.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAsBtC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,MAAM,GAAI,uHAWpB,WAAW,4CAsCb,CAAC"}
|
|
@@ -3,7 +3,7 @@ export declare const baseButtonVariants: (props?: ({
|
|
|
3
3
|
appearance?: "base" | "gray" | "accent" | "transparent" | "no-background" | "red" | null | undefined;
|
|
4
4
|
disabled?: boolean | null | undefined;
|
|
5
5
|
loading?: boolean | null | undefined;
|
|
6
|
-
size?: "sm" | "md" | "
|
|
6
|
+
size?: "sm" | "md" | "lg" | "xs" | null | undefined;
|
|
7
7
|
isFull?: boolean | null | undefined;
|
|
8
8
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
9
|
export declare const BaseButton: {
|
|
@@ -60,7 +60,7 @@ const z = g("gap-8 body-2-semi-bold", {
|
|
|
60
60
|
children: [
|
|
61
61
|
n && /* @__PURE__ */ s("span", { className: "shrink-0", children: n }),
|
|
62
62
|
/* @__PURE__ */ t("span", { className: "flex items-center gap-2", children: [
|
|
63
|
-
o ? /* @__PURE__ */ s(T, { children: a }) : /* @__PURE__ */ s("span", { className: "line-clamp-
|
|
63
|
+
o ? /* @__PURE__ */ s(T, { children: a }) : /* @__PURE__ */ s("span", { className: "line-clamp-1 text-left", children: a }),
|
|
64
64
|
/* @__PURE__ */ s(x, { size: 20, className: "shrink-0" })
|
|
65
65
|
] })
|
|
66
66
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Card/Card.tsx"],"names":[],"mappings":"AAUA,OAAO,EAEL,2BAA2B,EAC3B,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,QAAQ,EACT,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Card/Card.tsx"],"names":[],"mappings":"AAUA,OAAO,EAEL,2BAA2B,EAC3B,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,QAAQ,EACT,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,uBAAuB,GAAI,wCAKrC;IACD,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAChC,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC9B,QAAQ,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;CACjC,KAAG,gBAwBH,CAAC;AAgDF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,IAAI;0FAUd,SAAS;;CAkCX,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,UAAU;6CAKpB,eAAe;;CAgCjB,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,WAAW;6CAKrB,gBAAgB;;CAUlB,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,WAAW;6CAKrB,gBAAgB;;CAkBlB,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,cAAc;6CAKxB,mBAAmB;;CAmBrB,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,gBAAgB;6CAK1B,qBAAqB;;CAkBvB,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,sBAAsB;6CAKhC,2BAA2B;;CAkB7B,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,YAAY;6CAKtB,iBAAiB;;CAoBnB,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,UAAU;6CAKpB,eAAe;;CAgCjB,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,iBAAiB;6CAK3B,sBAAsB;;CAQxB,CAAC"}
|
|
@@ -21,7 +21,7 @@ export type CardProps = {
|
|
|
21
21
|
/**
|
|
22
22
|
* Whether the card footer is expanded (visible).
|
|
23
23
|
* Only relevant when `type="expandable"`.
|
|
24
|
-
* When `false`, CardFooter is hidden.
|
|
24
|
+
* When `false`, CardFooter is hidden.
|
|
25
25
|
*/
|
|
26
26
|
expanded?: boolean;
|
|
27
27
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLumenDataTable.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/DataTable/useLumenDataTable/useLumenDataTable.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,YAAY,EACZ,KAAK,EAEN,MAAM,uBAAuB,CAAC;AAC/B,OAAO,UAAU,CAAC;AAElB,KAAK,wBAAwB,CAAC,KAAK,IAAI,IAAI,CACzC,YAAY,CAAC,KAAK,CAAC,EACnB,iBAAiB,GAAG,mBAAmB,GAAG,qBAAqB,CAChE,GAAG;IACF;;;OAGG;IACH,eAAe,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,iBAAiB,CAAC,CAAC;IACzD;;;OAGG;IACH,iBAAiB,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,mBAAmB,CAAC,CAAC;IAC7D;;;OAGG;IACH,mBAAmB,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,qBAAqB,CAAC,CAAC;CAClE,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,iBAAiB,GAAI,KAAK,
|
|
1
|
+
{"version":3,"file":"useLumenDataTable.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/DataTable/useLumenDataTable/useLumenDataTable.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,YAAY,EACZ,KAAK,EAEN,MAAM,uBAAuB,CAAC;AAC/B,OAAO,UAAU,CAAC;AAElB,KAAK,wBAAwB,CAAC,KAAK,IAAI,IAAI,CACzC,YAAY,CAAC,KAAK,CAAC,EACnB,iBAAiB,GAAG,mBAAmB,GAAG,qBAAqB,CAChE,GAAG;IACF;;;OAGG;IACH,eAAe,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,iBAAiB,CAAC,CAAC;IACzD;;;OAGG;IACH,iBAAiB,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,mBAAmB,CAAC,CAAC;IAC7D;;;OAGG;IACH,mBAAmB,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAC,qBAAqB,CAAC,CAAC;CAClE,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,iBAAiB,GAAI,KAAK,EACrC,SAAS,wBAAwB,CAAC,KAAK,CAAC,KACvC,KAAK,CAAC,KAAK,CAOb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Design-tokens/shared.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Design-tokens/shared.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,GAAI,+CAKzB;IACD,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,YAAY,GAAG,MAAM,GAAG,QAAQ,CAAC;CAC7C,4CAsDA,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,yBAG3B;IACD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,4CAKA,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,8BAI1B;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,aAAa,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC3E,QAAQ,CAAC,EAAE,YAAY,GAAG,MAAM,GAAG,QAAQ,CAAC;CAC7C,4CAeA,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DialogHeader } from './DialogHeader/DialogHeader';
|
|
2
|
-
import { DialogBodyProps, DialogContentProps, DialogFooterProps, DialogProps, DialogTriggerProps } from './types';
|
|
2
|
+
import { DialogBodyProps, DialogBodyStickyContentProps, DialogContentProps, DialogFooterProps, DialogProps, DialogTriggerProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* The root component that manages the dialog's open/closed state and contains the trigger and content.
|
|
5
5
|
*
|
|
@@ -103,6 +103,27 @@ export declare const DialogBody: {
|
|
|
103
103
|
({ ref, className, children, scrollbarWidth, style, ...props }: DialogBodyProps): import("react/jsx-runtime").JSX.Element;
|
|
104
104
|
displayName: string;
|
|
105
105
|
};
|
|
106
|
+
/**
|
|
107
|
+
* A sticky region inside the dialog body.
|
|
108
|
+
*
|
|
109
|
+
* This component is useful for content that should remain visible while the
|
|
110
|
+
* dialog body scrolls, such as search inputs, filters, or section controls.
|
|
111
|
+
* It should be used inside `DialogBody`.
|
|
112
|
+
*
|
|
113
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/containment-dialog-overview--docs Storybook}
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* <DialogBody>
|
|
117
|
+
* <DialogBodyStickyContent>
|
|
118
|
+
* <SearchInput placeholder="Search item..." />
|
|
119
|
+
* </DialogBodyStickyContent>
|
|
120
|
+
* <div>Scrollable content</div>
|
|
121
|
+
* </DialogBody>
|
|
122
|
+
*/
|
|
123
|
+
export declare const DialogBodyStickyContent: {
|
|
124
|
+
({ ref, className, children, ...props }: DialogBodyStickyContentProps): import("react/jsx-runtime").JSX.Element;
|
|
125
|
+
displayName: string;
|
|
126
|
+
};
|
|
106
127
|
/**
|
|
107
128
|
* The fixed footer area of the dialog.
|
|
108
129
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EAGjB,WAAW,EACX,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAwBjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,MAAM,CAAC,EAAE,MAAc,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAM/D;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAE7D;AAED,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAqDxD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,kBAAkB,2CAkBpB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,UAAU;oEAOpB,eAAe;;CAqBjB,CAAC;AAGF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,YAAY;6CAKtB,iBAAiB;;CAWnB,CAAC;AAGF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EACL,eAAe,EACf,4BAA4B,EAC5B,kBAAkB,EAClB,iBAAiB,EAGjB,WAAW,EACX,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAwBjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,MAAM,CAAC,EAAE,MAAc,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CAM/D;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,2CAE7D;AAED,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAqDxD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,kBAAkB,2CAkBpB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,UAAU;oEAOpB,eAAe;;CAqBjB,CAAC;AAGF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,uBAAuB;6CAKjC,4BAA4B;;CAW9B,CAAC;AAGF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,YAAY;6CAKtB,iBAAiB;;CAWnB,CAAC;AAGF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|