@ledgerhq/lumen-ui-react 0.1.13 → 0.1.14
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 +119 -115
- package/dist/lib/Components/MediaBanner/MediaBanner.d.ts +25 -0
- package/dist/lib/Components/MediaBanner/MediaBanner.d.ts.map +1 -0
- package/dist/lib/Components/MediaBanner/MediaBanner.js +96 -0
- package/dist/lib/Components/MediaBanner/index.d.ts +3 -0
- package/dist/lib/Components/MediaBanner/index.d.ts.map +1 -0
- package/dist/lib/Components/MediaBanner/types.d.ts +53 -0
- package/dist/lib/Components/MediaBanner/types.d.ts.map +1 -0
- package/dist/lib/Components/index.d.ts +1 -0
- package/dist/lib/Components/index.d.ts.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,8 +6,8 @@ import { Avatar as T } from "./lib/Components/Avatar/Avatar.js";
|
|
|
6
6
|
import { Banner as u } 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
|
-
import { BaseButton as
|
|
10
|
-
import { Card as
|
|
9
|
+
import { BaseButton as B } from "./lib/Components/Button/BaseButton.js";
|
|
10
|
+
import { Card as c, CardContent as I, CardContentDescription as s, CardContentRow as M, CardContentTitle as D, CardFooter as L, 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
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";
|
|
@@ -20,47 +20,48 @@ import { Divider as re } from "./lib/Components/Divider/Divider.js";
|
|
|
20
20
|
import { IconButton as ne } from "./lib/Components/IconButton/IconButton.js";
|
|
21
21
|
import { InteractiveIcon as le } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
|
|
22
22
|
import { Link as me } from "./lib/Components/Link/Link.js";
|
|
23
|
-
import { ListItem as de, ListItemContent as ue, ListItemDescription as xe, ListItemIcon as fe, ListItemLeading as Ce, ListItemSpot as Se, ListItemTitle as ge, ListItemTrailing as
|
|
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 {
|
|
23
|
+
import { ListItem as de, ListItemContent as ue, ListItemDescription as xe, ListItemIcon as fe, ListItemLeading as Ce, ListItemSpot as Se, ListItemTitle as ge, ListItemTrailing as Be, ListItemTruncate as be } from "./lib/Components/ListItem/ListItem.js";
|
|
24
|
+
import { MediaBanner as Ie, MediaBannerDescription as se, MediaBannerTitle as Me } from "./lib/Components/MediaBanner/MediaBanner.js";
|
|
25
|
+
import { MediaCard as Le, MediaCardTitle as he } from "./lib/Components/MediaCard/MediaCard.js";
|
|
26
|
+
import { Menu as ve, MenuCheckboxItem as Ae, MenuContent as we, MenuGroup as He, MenuItem as ke, MenuLabel as ye, MenuPortal as Ge, MenuRadioGroup as Ne, MenuRadioItem as Pe, MenuSeparator as Fe, MenuSub as Ee, MenuSubContent as Oe, MenuSubTrigger as _e, MenuTrigger as je } from "./lib/Components/Menu/Menu.js";
|
|
27
|
+
import { NavBar as ze, NavBarBackButton as Je, NavBarCoinCapsule as Ke, NavBarTitle as Qe, NavBarTrailing as Ue } from "./lib/Components/NavBar/NavBar.js";
|
|
28
|
+
import { PageIndicator as We } from "./lib/Components/PageIndicator/PageIndicator.js";
|
|
29
|
+
import { SearchInput as Ye } from "./lib/Components/SearchInput/SearchInput.js";
|
|
30
|
+
import { SegmentedControl as $e, SegmentedControlButton as eo } from "./lib/Components/SegmentedControl/SegmentedControl.js";
|
|
31
|
+
import { Select as to, SelectContent as ro, SelectGroup as ao, SelectItem as no, SelectItemText as io, SelectLabel as lo, SelectSeparator as po, SelectTrigger as mo, SelectTriggerButton as To } from "./lib/Components/Select/Select.js";
|
|
32
|
+
import { TriggerButton as xo } from "./lib/Components/TriggerButton/TriggerButton.js";
|
|
33
|
+
import { SideBar as Co, SideBarCollapseToggle as So, SideBarItem as go, SideBarLeading as Bo, SideBarTrailing as bo } from "./lib/Components/SideBar/SideBar.js";
|
|
34
|
+
import { Skeleton as Io } from "./lib/Components/Skeleton/Skeleton.js";
|
|
35
|
+
import { Spinner as Mo } from "./lib/Components/Spinner/Spinner.js";
|
|
36
|
+
import { Spot as Lo } from "./lib/Components/Spot/Spot.js";
|
|
37
|
+
import { Stepper as Ro } from "./lib/Components/Stepper/Stepper.js";
|
|
38
|
+
import { Subheader as Ao, SubheaderCount as wo, SubheaderDescription as Ho, SubheaderInfo as ko, SubheaderRow as yo, SubheaderShowMore as Go, SubheaderTitle as No } from "./lib/Components/Subheader/Subheader.js";
|
|
39
|
+
import { Switch as Fo } from "./lib/Components/Switch/Switch.js";
|
|
40
|
+
import { Table as Oo, TableActionBar as _o, TableActionBarLeading as jo, TableActionBarTrailing as qo, TableBody as zo, TableCell as Jo, TableCellContent as Ko, TableGroupHeaderRow as Qo, TableHeader as Uo, TableHeaderCell as Vo, TableHeaderRow as Wo, TableInfoIcon as Xo, TableLoadingRow as Yo, TableRoot as Zo, TableRow as $o, TableSortButton as et } from "./lib/Components/Table/Table.js";
|
|
41
|
+
import { Tag as tt } from "./lib/Components/Tag/Tag.js";
|
|
42
|
+
import { TextInput as at } from "./lib/Components/TextInput/TextInput.js";
|
|
43
|
+
import { Tile as it, TileContent as lt, TileDescription as pt, TileSecondaryAction as mt, TileTitle as Tt, TileTrailingContent as dt } from "./lib/Components/Tile/Tile.js";
|
|
44
|
+
import { TileButton as xt } from "./lib/Components/TileButton/TileButton.js";
|
|
45
|
+
import { Tooltip as Ct, TooltipContent as St, TooltipProvider as gt, TooltipTrigger as Bt } from "./lib/Components/Tooltip/Tooltip.js";
|
|
46
|
+
import { ThemeProvider as ct } from "./lib/Components/ThemeProvider/ThemeProvider.js";
|
|
47
|
+
import { COLOR_SCHEMES as st } from "./lib/Components/ThemeProvider/ThemeProvider.types.js";
|
|
47
48
|
export {
|
|
48
49
|
a as AddressInput,
|
|
49
50
|
p as AmountDisplay,
|
|
50
51
|
i as AmountInput,
|
|
51
52
|
T as Avatar,
|
|
52
53
|
u as Banner,
|
|
53
|
-
|
|
54
|
+
B as BaseButton,
|
|
54
55
|
f as BaseInput,
|
|
55
56
|
S as Button,
|
|
56
|
-
|
|
57
|
-
|
|
57
|
+
st as COLOR_SCHEMES,
|
|
58
|
+
c as Card,
|
|
58
59
|
H as CardButton,
|
|
59
60
|
I as CardContent,
|
|
60
61
|
s as CardContentDescription,
|
|
61
|
-
|
|
62
|
+
M as CardContentRow,
|
|
62
63
|
D as CardContentTitle,
|
|
63
|
-
|
|
64
|
+
L as CardFooter,
|
|
64
65
|
h as CardFooterActions,
|
|
65
66
|
R as CardHeader,
|
|
66
67
|
v as CardLeading,
|
|
@@ -93,89 +94,92 @@ export {
|
|
|
93
94
|
Ce as ListItemLeading,
|
|
94
95
|
Se as ListItemSpot,
|
|
95
96
|
ge as ListItemTitle,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
Ie as
|
|
99
|
-
se as
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
he as
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
Oe as
|
|
115
|
-
_e as
|
|
116
|
-
je as
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
Ke as
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
$e as
|
|
125
|
-
eo as
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
go as
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
Mo as
|
|
142
|
-
|
|
143
|
-
Ro as
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
yo as
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
Fo as
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
Zo as
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
tt as
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
97
|
+
Be as ListItemTrailing,
|
|
98
|
+
be as ListItemTruncate,
|
|
99
|
+
Ie as MediaBanner,
|
|
100
|
+
se as MediaBannerDescription,
|
|
101
|
+
Me as MediaBannerTitle,
|
|
102
|
+
Le as MediaCard,
|
|
103
|
+
he as MediaCardTitle,
|
|
104
|
+
ve as Menu,
|
|
105
|
+
Ae as MenuCheckboxItem,
|
|
106
|
+
we as MenuContent,
|
|
107
|
+
He as MenuGroup,
|
|
108
|
+
ke as MenuItem,
|
|
109
|
+
ye as MenuLabel,
|
|
110
|
+
Ge as MenuPortal,
|
|
111
|
+
Ne as MenuRadioGroup,
|
|
112
|
+
Pe as MenuRadioItem,
|
|
113
|
+
Fe as MenuSeparator,
|
|
114
|
+
Ee as MenuSub,
|
|
115
|
+
Oe as MenuSubContent,
|
|
116
|
+
_e as MenuSubTrigger,
|
|
117
|
+
je as MenuTrigger,
|
|
118
|
+
ze as NavBar,
|
|
119
|
+
Je as NavBarBackButton,
|
|
120
|
+
Ke as NavBarCoinCapsule,
|
|
121
|
+
Qe as NavBarTitle,
|
|
122
|
+
Ue as NavBarTrailing,
|
|
123
|
+
We as PageIndicator,
|
|
124
|
+
Ye as SearchInput,
|
|
125
|
+
$e as SegmentedControl,
|
|
126
|
+
eo as SegmentedControlButton,
|
|
127
|
+
to as Select,
|
|
128
|
+
ro as SelectContent,
|
|
129
|
+
ao as SelectGroup,
|
|
130
|
+
no as SelectItem,
|
|
131
|
+
io as SelectItemText,
|
|
132
|
+
lo as SelectLabel,
|
|
133
|
+
po as SelectSeparator,
|
|
134
|
+
mo as SelectTrigger,
|
|
135
|
+
To as SelectTriggerButton,
|
|
136
|
+
Co as SideBar,
|
|
137
|
+
So as SideBarCollapseToggle,
|
|
138
|
+
go as SideBarItem,
|
|
139
|
+
Bo as SideBarLeading,
|
|
140
|
+
bo as SideBarTrailing,
|
|
141
|
+
Io as Skeleton,
|
|
142
|
+
Mo as Spinner,
|
|
143
|
+
Lo as Spot,
|
|
144
|
+
Ro as Stepper,
|
|
145
|
+
Ao as Subheader,
|
|
146
|
+
wo as SubheaderCount,
|
|
147
|
+
Ho as SubheaderDescription,
|
|
148
|
+
ko as SubheaderInfo,
|
|
149
|
+
yo as SubheaderRow,
|
|
150
|
+
Go as SubheaderShowMore,
|
|
151
|
+
No as SubheaderTitle,
|
|
152
|
+
Fo as Switch,
|
|
153
|
+
Oo as Table,
|
|
154
|
+
_o as TableActionBar,
|
|
155
|
+
jo as TableActionBarLeading,
|
|
156
|
+
qo as TableActionBarTrailing,
|
|
157
|
+
zo as TableBody,
|
|
158
|
+
Jo as TableCell,
|
|
159
|
+
Ko as TableCellContent,
|
|
160
|
+
Qo as TableGroupHeaderRow,
|
|
161
|
+
Uo as TableHeader,
|
|
162
|
+
Vo as TableHeaderCell,
|
|
163
|
+
Wo as TableHeaderRow,
|
|
164
|
+
Xo as TableInfoIcon,
|
|
165
|
+
Yo as TableLoadingRow,
|
|
166
|
+
Zo as TableRoot,
|
|
167
|
+
$o as TableRow,
|
|
168
|
+
et as TableSortButton,
|
|
169
|
+
tt as Tag,
|
|
170
|
+
at as TextInput,
|
|
171
|
+
ct as ThemeProvider,
|
|
172
|
+
it as Tile,
|
|
173
|
+
xt as TileButton,
|
|
174
|
+
lt as TileContent,
|
|
175
|
+
pt as TileDescription,
|
|
176
|
+
mt as TileSecondaryAction,
|
|
177
|
+
Tt as TileTitle,
|
|
178
|
+
dt as TileTrailingContent,
|
|
179
|
+
Ct as Tooltip,
|
|
180
|
+
St as TooltipContent,
|
|
181
|
+
gt as TooltipProvider,
|
|
182
|
+
Bt as TooltipTrigger,
|
|
183
|
+
xo as TriggerButton,
|
|
180
184
|
J as useLumenDataTable
|
|
181
185
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MediaBannerDescriptionProps, MediaBannerProps, MediaBannerTitleProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* A promotional banner with a background image, title, description, and an optional close button.
|
|
4
|
+
*
|
|
5
|
+
* @see {@link https://ldls.vercel.app/?path=/docs/communication-mediabanner--docs Storybook}
|
|
6
|
+
*/
|
|
7
|
+
export declare const MediaBanner: {
|
|
8
|
+
({ ref, imageUrl, onClose, closeAriaLabel, children, className, ...props }: MediaBannerProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* The title of the MediaBanner. Clamps at 1 line.
|
|
13
|
+
*/
|
|
14
|
+
export declare const MediaBannerTitle: {
|
|
15
|
+
({ ref, children, className, ...props }: MediaBannerTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* The description of the MediaBanner. Clamps at 2 lines.
|
|
20
|
+
*/
|
|
21
|
+
export declare const MediaBannerDescription: {
|
|
22
|
+
({ ref, children, className, ...props }: MediaBannerDescriptionProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
displayName: string;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=MediaBanner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaBanner.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaBanner/MediaBanner.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAEjB;;;;GAIG;AACH,eAAO,MAAM,WAAW;gFAQrB,gBAAgB;;CAgDlB,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,gBAAgB;6CAK1B,qBAAqB;;CAUvB,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,sBAAsB;6CAKhC,2BAA2B;;CAU7B,CAAC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { cn as o } from "../../../libs/utils-shared/dist/index.js";
|
|
3
|
+
import { useState as b, useEffect as u } from "react";
|
|
4
|
+
import { useCommonTranslation as v } from "../../../i18n/useCommonTranslation.js";
|
|
5
|
+
import { Close as x } from "../../Symbols/Icons/Close.js";
|
|
6
|
+
import { InteractiveIcon as N } from "../InteractiveIcon/InteractiveIcon.js";
|
|
7
|
+
const h = ({
|
|
8
|
+
ref: s,
|
|
9
|
+
imageUrl: a,
|
|
10
|
+
onClose: r,
|
|
11
|
+
closeAriaLabel: t,
|
|
12
|
+
children: l,
|
|
13
|
+
className: c,
|
|
14
|
+
...m
|
|
15
|
+
}) => {
|
|
16
|
+
const { t: d } = v(), [p, i] = b(!1);
|
|
17
|
+
u(() => {
|
|
18
|
+
i(!1);
|
|
19
|
+
}, [a]);
|
|
20
|
+
const f = a && !p;
|
|
21
|
+
return /* @__PURE__ */ n(
|
|
22
|
+
"div",
|
|
23
|
+
{
|
|
24
|
+
ref: s,
|
|
25
|
+
className: o(
|
|
26
|
+
"relative flex h-72 flex-row overflow-hidden rounded-md bg-surface",
|
|
27
|
+
c
|
|
28
|
+
),
|
|
29
|
+
...m,
|
|
30
|
+
children: [
|
|
31
|
+
/* @__PURE__ */ e("div", { className: "flex flex-1 items-center px-12 py-2", children: /* @__PURE__ */ e("div", { className: "flex flex-col gap-4 py-12", children: l }) }),
|
|
32
|
+
/* @__PURE__ */ n("div", { className: "relative w-128", children: [
|
|
33
|
+
f && /* @__PURE__ */ e(
|
|
34
|
+
"img",
|
|
35
|
+
{
|
|
36
|
+
src: a,
|
|
37
|
+
alt: "",
|
|
38
|
+
"aria-hidden": !0,
|
|
39
|
+
className: "absolute inset-0 size-full object-cover",
|
|
40
|
+
onError: () => i(!0)
|
|
41
|
+
}
|
|
42
|
+
),
|
|
43
|
+
/* @__PURE__ */ e("div", { className: "absolute inset-0 bg-linear-[45deg] from-black/0 from-67% to-black/80" })
|
|
44
|
+
] }),
|
|
45
|
+
r && /* @__PURE__ */ e(
|
|
46
|
+
N,
|
|
47
|
+
{
|
|
48
|
+
type: "button",
|
|
49
|
+
iconType: "stroked",
|
|
50
|
+
appearance: "white",
|
|
51
|
+
className: "absolute top-8 right-8",
|
|
52
|
+
onClick: () => r(),
|
|
53
|
+
"aria-label": t || d("components.banner.closeAriaLabel"),
|
|
54
|
+
children: /* @__PURE__ */ e(x, { size: 16 })
|
|
55
|
+
}
|
|
56
|
+
)
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
};
|
|
61
|
+
h.displayName = "MediaBanner";
|
|
62
|
+
const y = ({
|
|
63
|
+
ref: s,
|
|
64
|
+
children: a,
|
|
65
|
+
className: r,
|
|
66
|
+
...t
|
|
67
|
+
}) => /* @__PURE__ */ e(
|
|
68
|
+
"div",
|
|
69
|
+
{
|
|
70
|
+
ref: s,
|
|
71
|
+
className: o("line-clamp-1 body-2-semi-bold text-base", r),
|
|
72
|
+
...t,
|
|
73
|
+
children: a
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
y.displayName = "MediaBannerTitle";
|
|
77
|
+
const g = ({
|
|
78
|
+
ref: s,
|
|
79
|
+
children: a,
|
|
80
|
+
className: r,
|
|
81
|
+
...t
|
|
82
|
+
}) => /* @__PURE__ */ e(
|
|
83
|
+
"div",
|
|
84
|
+
{
|
|
85
|
+
ref: s,
|
|
86
|
+
className: o("line-clamp-2 body-3 text-muted", r),
|
|
87
|
+
...t,
|
|
88
|
+
children: a
|
|
89
|
+
}
|
|
90
|
+
);
|
|
91
|
+
g.displayName = "MediaBannerDescription";
|
|
92
|
+
export {
|
|
93
|
+
h as MediaBanner,
|
|
94
|
+
g as MediaBannerDescription,
|
|
95
|
+
y as MediaBannerTitle
|
|
96
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaBanner/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the MediaBanner root component.
|
|
4
|
+
*/
|
|
5
|
+
export type MediaBannerProps = {
|
|
6
|
+
/**
|
|
7
|
+
* URL of the background image displayed on the right side.
|
|
8
|
+
*/
|
|
9
|
+
imageUrl: string;
|
|
10
|
+
/**
|
|
11
|
+
* Optional close action callback.
|
|
12
|
+
*/
|
|
13
|
+
onClose?: () => void;
|
|
14
|
+
/**
|
|
15
|
+
* Optional aria label for the close button.
|
|
16
|
+
*/
|
|
17
|
+
closeAriaLabel?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Custom classname.
|
|
20
|
+
*/
|
|
21
|
+
className?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The banner content (MediaBannerTitle, MediaBannerDescription).
|
|
24
|
+
*/
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
} & Omit<ComponentPropsWithRef<'div'>, 'children'>;
|
|
27
|
+
/**
|
|
28
|
+
* Props for the MediaBannerTitle component.
|
|
29
|
+
*/
|
|
30
|
+
export type MediaBannerTitleProps = {
|
|
31
|
+
/**
|
|
32
|
+
* The title text content.
|
|
33
|
+
*/
|
|
34
|
+
children: ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* Custom classname.
|
|
37
|
+
*/
|
|
38
|
+
className?: string;
|
|
39
|
+
} & ComponentPropsWithRef<'div'>;
|
|
40
|
+
/**
|
|
41
|
+
* Props for the MediaBannerDescription component.
|
|
42
|
+
*/
|
|
43
|
+
export type MediaBannerDescriptionProps = {
|
|
44
|
+
/**
|
|
45
|
+
* The description text content.
|
|
46
|
+
*/
|
|
47
|
+
children: ReactNode;
|
|
48
|
+
/**
|
|
49
|
+
* Custom classname.
|
|
50
|
+
*/
|
|
51
|
+
className?: string;
|
|
52
|
+
} & ComponentPropsWithRef<'div'>;
|
|
53
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/MediaBanner/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,MA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