@digital-b2c/coreui-kit 0.28.3 → 0.28.5
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.cjs +11 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +6 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +1441 -0
- package/dist/index.d.ts +1441 -0
- package/dist/index.mjs +11 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -0
- package/package.json +1 -1
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,1441 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import react__default, { ImgHTMLAttributes, AnchorHTMLAttributes, ReactNode, MouseEventHandler, Ref, HTMLAttributes, ButtonHTMLAttributes, InputHTMLAttributes, PropsWithChildren, JSX, FC, RefObject, CSSProperties } from 'react';
|
|
4
|
+
|
|
5
|
+
interface IPicture {
|
|
6
|
+
src: string;
|
|
7
|
+
alt?: string;
|
|
8
|
+
variant?: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
type SrcOnly = {
|
|
12
|
+
src: string;
|
|
13
|
+
desktop?: never;
|
|
14
|
+
mobile?: never;
|
|
15
|
+
};
|
|
16
|
+
type ResponsiveSources = {
|
|
17
|
+
src?: never;
|
|
18
|
+
desktop: IPicture;
|
|
19
|
+
mobile?: IPicture;
|
|
20
|
+
};
|
|
21
|
+
type PictureProps = ImgHTMLAttributes<HTMLImageElement> & (SrcOnly | ResponsiveSources);
|
|
22
|
+
|
|
23
|
+
declare const svgs: {
|
|
24
|
+
ads: string;
|
|
25
|
+
book: string;
|
|
26
|
+
briefcase: string;
|
|
27
|
+
calendar: string;
|
|
28
|
+
clipboard: string;
|
|
29
|
+
convo: string;
|
|
30
|
+
eye: string;
|
|
31
|
+
globe: string;
|
|
32
|
+
hospital: string;
|
|
33
|
+
library: string;
|
|
34
|
+
location: string;
|
|
35
|
+
marketing: string;
|
|
36
|
+
money: string;
|
|
37
|
+
people: string;
|
|
38
|
+
smile: string;
|
|
39
|
+
tech: string;
|
|
40
|
+
work: string;
|
|
41
|
+
workhome: string;
|
|
42
|
+
pdf: string;
|
|
43
|
+
externalLink: string;
|
|
44
|
+
newIcon: string;
|
|
45
|
+
play: string;
|
|
46
|
+
lock: string;
|
|
47
|
+
quote: string;
|
|
48
|
+
blankCheckbox: string;
|
|
49
|
+
blankCheckboxWhite: string;
|
|
50
|
+
checkedBox: string;
|
|
51
|
+
circleChevronDown: string;
|
|
52
|
+
circleChevronUp: string;
|
|
53
|
+
downBlack: string;
|
|
54
|
+
downWhite: string;
|
|
55
|
+
downChevronBlack: string;
|
|
56
|
+
downChevronWhite: string;
|
|
57
|
+
downloadBlack: string;
|
|
58
|
+
downloadWhite: string;
|
|
59
|
+
filledChevronLeft: string;
|
|
60
|
+
filledChevronRight: string;
|
|
61
|
+
filledChevronUp: string;
|
|
62
|
+
filledChevronUpBlack: string;
|
|
63
|
+
leftWhite: string;
|
|
64
|
+
mailBlack: string;
|
|
65
|
+
rightBlack: string;
|
|
66
|
+
rightWhite: string;
|
|
67
|
+
tiltedRightBlack: string;
|
|
68
|
+
tiltedRightWhite: string;
|
|
69
|
+
upChevronUpWhite: string;
|
|
70
|
+
upChevronWhite: string;
|
|
71
|
+
watchBlack: string;
|
|
72
|
+
watchWhite: string;
|
|
73
|
+
filter: string;
|
|
74
|
+
internalFilter: string;
|
|
75
|
+
search: string;
|
|
76
|
+
grid: string;
|
|
77
|
+
list: string;
|
|
78
|
+
chevronLeftBlack: string;
|
|
79
|
+
chevronRightBlack: string;
|
|
80
|
+
chevronRight: string;
|
|
81
|
+
chevronDefault: string;
|
|
82
|
+
chevronHovered: string;
|
|
83
|
+
chevronSelected: string;
|
|
84
|
+
menuBlack: string;
|
|
85
|
+
menuWhite: string;
|
|
86
|
+
right: string;
|
|
87
|
+
tiltedRight: string;
|
|
88
|
+
xBlack: string;
|
|
89
|
+
xWhite: string;
|
|
90
|
+
user: string;
|
|
91
|
+
};
|
|
92
|
+
type IconType = keyof typeof svgs;
|
|
93
|
+
interface IconProps extends react__default.ComponentPropsWithRef<'svg'> {
|
|
94
|
+
type: IconType;
|
|
95
|
+
size?: number;
|
|
96
|
+
}
|
|
97
|
+
declare const Icon: react__default.FC<IconProps>;
|
|
98
|
+
|
|
99
|
+
interface ICta {
|
|
100
|
+
label?: string;
|
|
101
|
+
url: string;
|
|
102
|
+
isExternal?: boolean;
|
|
103
|
+
}
|
|
104
|
+
interface ICtaLogo extends ICta {
|
|
105
|
+
logo?: IPicture;
|
|
106
|
+
}
|
|
107
|
+
interface ICtaIcon extends ICta {
|
|
108
|
+
icon?: IconType;
|
|
109
|
+
}
|
|
110
|
+
interface ICtaHoverLogo extends ICtaLogo {
|
|
111
|
+
hoverLogo?: IPicture;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
interface BrandsStripProps {
|
|
115
|
+
className?: string;
|
|
116
|
+
variant?: 'light' | 'dark';
|
|
117
|
+
title?: string;
|
|
118
|
+
logos?: PictureProps[];
|
|
119
|
+
cta?: ICta;
|
|
120
|
+
size?: 'small';
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) => react_jsx_runtime.JSX.Element;
|
|
124
|
+
|
|
125
|
+
declare const ButtonVariantReadOnly: readonly ["primary", "secondary", "ghost", "nofill", "grey", "nofillblack", "shiny", "tabbutton", "navnofillblack", "textmenu"];
|
|
126
|
+
type TButtonVariant = (typeof ButtonVariantReadOnly)[number];
|
|
127
|
+
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
128
|
+
variant?: TButtonVariant;
|
|
129
|
+
fullWidth?: boolean;
|
|
130
|
+
href?: string;
|
|
131
|
+
isExternal?: boolean;
|
|
132
|
+
icon?: IconType;
|
|
133
|
+
logo?: IPicture;
|
|
134
|
+
isActive?: boolean;
|
|
135
|
+
renderLink?: (props: AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
136
|
+
children: ReactNode;
|
|
137
|
+
}) => ReactNode;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
declare const Button: React.FC<ButtonProps>;
|
|
141
|
+
|
|
142
|
+
type CardSubtitleProps = {
|
|
143
|
+
children: ReactNode;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
type CardTitleProps = {
|
|
147
|
+
children: ReactNode;
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
interface CardProps {
|
|
151
|
+
className?: string;
|
|
152
|
+
variant?: 'light' | 'dark';
|
|
153
|
+
title?: ReactNode;
|
|
154
|
+
subtitle?: ReactNode;
|
|
155
|
+
icon?: IconType;
|
|
156
|
+
logo?: IPicture;
|
|
157
|
+
cta?: ICtaLogo & ICtaIcon;
|
|
158
|
+
onCtaClick?: MouseEventHandler<HTMLElement>;
|
|
159
|
+
children?: ReactNode;
|
|
160
|
+
ref?: Ref<HTMLDivElement>;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
declare const Card: {
|
|
164
|
+
({ className, variant, title, subtitle, cta, onCtaClick, icon, logo, children, ref, }: CardProps): react_jsx_runtime.JSX.Element;
|
|
165
|
+
displayName: string;
|
|
166
|
+
} & {
|
|
167
|
+
Title: ({ children }: CardTitleProps) => react_jsx_runtime.JSX.Element;
|
|
168
|
+
Subtitle: ({ children }: CardSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
type CountingCardTitleProps = {
|
|
172
|
+
children: ReactNode;
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
interface CountingCardProps {
|
|
176
|
+
className?: string;
|
|
177
|
+
count?: number;
|
|
178
|
+
title?: ReactNode;
|
|
179
|
+
image?: IPicture;
|
|
180
|
+
children?: ReactNode;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) => react_jsx_runtime.JSX.Element) & {
|
|
184
|
+
Title: ({ children }: CountingCardTitleProps) => react_jsx_runtime.JSX.Element;
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
type ResourceView = 'grid' | 'list';
|
|
188
|
+
type ResourceItemType = 'pdf' | 'externalLink' | 'restricted';
|
|
189
|
+
interface ResourceItem {
|
|
190
|
+
title: string;
|
|
191
|
+
bodyText?: ReactNode;
|
|
192
|
+
date: string;
|
|
193
|
+
type: ResourceItemType;
|
|
194
|
+
href: string;
|
|
195
|
+
hasNotification?: boolean;
|
|
196
|
+
category?: string;
|
|
197
|
+
id: string;
|
|
198
|
+
}
|
|
199
|
+
interface ResourceCardItemProps {
|
|
200
|
+
variant?: 'global-search';
|
|
201
|
+
item: ResourceItem;
|
|
202
|
+
view: ResourceView;
|
|
203
|
+
renderLink?: (props: React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
204
|
+
children: React.ReactNode;
|
|
205
|
+
}) => React.ReactNode;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) => react_jsx_runtime.JSX.Element;
|
|
209
|
+
|
|
210
|
+
type FilterOption = 'all' | 'pdf' | 'externalLink';
|
|
211
|
+
type SortOption = 'latest' | 'oldest' | 'az' | 'za';
|
|
212
|
+
interface FilterBarProps {
|
|
213
|
+
view: ResourceView;
|
|
214
|
+
onViewChange: (v: ResourceView) => void;
|
|
215
|
+
isMobile: boolean;
|
|
216
|
+
filterValue: FilterOption;
|
|
217
|
+
onFilterChange: (v: FilterOption) => void;
|
|
218
|
+
sortValue: SortOption;
|
|
219
|
+
onSortChange: (v: SortOption) => void;
|
|
220
|
+
searchValue: string;
|
|
221
|
+
onSearchChange: (v: string) => void;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps): react_jsx_runtime.JSX.Element;
|
|
225
|
+
|
|
226
|
+
type InfoCardSubtitleProps = {
|
|
227
|
+
children: ReactNode;
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
type InfoCardTitleProps = {
|
|
231
|
+
children: ReactNode;
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
declare const Picture: ({ className, ...props }: PictureProps) => react_jsx_runtime.JSX.Element;
|
|
235
|
+
|
|
236
|
+
interface InfoCardProps {
|
|
237
|
+
className?: string;
|
|
238
|
+
icon?: IconType | PictureProps;
|
|
239
|
+
badge?: string;
|
|
240
|
+
title?: ReactNode;
|
|
241
|
+
subtitle?: ReactNode;
|
|
242
|
+
children?: ReactNode;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) => react_jsx_runtime.JSX.Element) & {
|
|
246
|
+
Title: ({ children }: InfoCardTitleProps) => react_jsx_runtime.JSX.Element;
|
|
247
|
+
Subtitle: ({ children }: InfoCardSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
interface ModalProps {
|
|
251
|
+
className?: string;
|
|
252
|
+
/** Applied to the white panel that holds the close button and the content */
|
|
253
|
+
contentClassName?: string;
|
|
254
|
+
isOpen: boolean;
|
|
255
|
+
onClose: () => void;
|
|
256
|
+
ariaLabel?: string;
|
|
257
|
+
closeLabel?: string;
|
|
258
|
+
/** Hides the default close button, e.g. when the content provides its own */
|
|
259
|
+
hideCloseButton?: boolean;
|
|
260
|
+
children?: ReactNode;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
declare const Modal: {
|
|
264
|
+
({ className, contentClassName, isOpen, onClose, ariaLabel, closeLabel, hideCloseButton, children, }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
265
|
+
displayName: string;
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
interface PaginationProps {
|
|
269
|
+
className?: string;
|
|
270
|
+
totalPages: number;
|
|
271
|
+
currentPage: number;
|
|
272
|
+
loop?: boolean;
|
|
273
|
+
hasNumber?: boolean;
|
|
274
|
+
disableArrows?: boolean;
|
|
275
|
+
onPageChange?: (page: number) => void;
|
|
276
|
+
showEllipsis?: boolean;
|
|
277
|
+
siblingCount?: number;
|
|
278
|
+
boundaryCount?: number;
|
|
279
|
+
hidePagesBorder?: boolean;
|
|
280
|
+
renderLink?: (props: AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
281
|
+
page: number;
|
|
282
|
+
children: ReactNode;
|
|
283
|
+
}) => ReactNode;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) => react_jsx_runtime.JSX.Element;
|
|
287
|
+
|
|
288
|
+
interface PracticeCardProps {
|
|
289
|
+
className?: string;
|
|
290
|
+
title?: string;
|
|
291
|
+
cta?: ICta;
|
|
292
|
+
image?: IPicture;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) => react_jsx_runtime.JSX.Element;
|
|
296
|
+
|
|
297
|
+
interface SidebarCategory {
|
|
298
|
+
label: string;
|
|
299
|
+
value?: string;
|
|
300
|
+
extension?: string;
|
|
301
|
+
active?: boolean;
|
|
302
|
+
hasNotification?: boolean;
|
|
303
|
+
}
|
|
304
|
+
interface SidebarProps {
|
|
305
|
+
categories: SidebarCategory[];
|
|
306
|
+
isMobile: boolean;
|
|
307
|
+
onToggle?: () => void;
|
|
308
|
+
selectedIndex: number;
|
|
309
|
+
onSelect: (index: number) => void;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) => react_jsx_runtime.JSX.Element;
|
|
313
|
+
|
|
314
|
+
interface UpcomingEventCardProps {
|
|
315
|
+
className?: string;
|
|
316
|
+
image?: IPicture;
|
|
317
|
+
date?: string;
|
|
318
|
+
title?: string;
|
|
319
|
+
description?: string;
|
|
320
|
+
location?: string;
|
|
321
|
+
cta?: ICta & {
|
|
322
|
+
icon?: IconType;
|
|
323
|
+
};
|
|
324
|
+
direction?: 'vertical' | 'horizontal';
|
|
325
|
+
showImage?: boolean;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) => react_jsx_runtime.JSX.Element;
|
|
329
|
+
|
|
330
|
+
type BadgeBaseProps = {
|
|
331
|
+
children?: ReactNode;
|
|
332
|
+
variant?: 'default';
|
|
333
|
+
size?: 'sm' | 'md';
|
|
334
|
+
icon?: IconProps;
|
|
335
|
+
iconOnly?: boolean;
|
|
336
|
+
live?: 'polite' | 'assertive' | 'off';
|
|
337
|
+
};
|
|
338
|
+
type NonClickableBadgeProps = BadgeBaseProps & HTMLAttributes<HTMLSpanElement> & {
|
|
339
|
+
clickable?: false;
|
|
340
|
+
};
|
|
341
|
+
type ClickableBadgeProps = BadgeBaseProps & ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
342
|
+
clickable: true;
|
|
343
|
+
};
|
|
344
|
+
type BadgeProps = NonClickableBadgeProps | ClickableBadgeProps;
|
|
345
|
+
|
|
346
|
+
declare const Badge: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLButtonElement | HTMLSpanElement>>;
|
|
347
|
+
|
|
348
|
+
interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
|
|
349
|
+
label?: string;
|
|
350
|
+
helperText?: string;
|
|
351
|
+
error?: string;
|
|
352
|
+
startAdornment?: ReactNode;
|
|
353
|
+
endAdornment?: ReactNode;
|
|
354
|
+
endAction?: ReactNode;
|
|
355
|
+
hideLabel?: boolean;
|
|
356
|
+
inputClassName?: string;
|
|
357
|
+
type?: 'text' | 'number' | 'password';
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
declare const Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
|
|
361
|
+
|
|
362
|
+
interface ResponsiveSpan {
|
|
363
|
+
xl?: number;
|
|
364
|
+
lg?: number;
|
|
365
|
+
md?: number;
|
|
366
|
+
ml?: number;
|
|
367
|
+
mm?: number;
|
|
368
|
+
xs?: number;
|
|
369
|
+
}
|
|
370
|
+
interface GridProps extends PropsWithChildren {
|
|
371
|
+
columns?: number;
|
|
372
|
+
gap?: number | string;
|
|
373
|
+
className?: string;
|
|
374
|
+
as?: keyof JSX.IntrinsicElements;
|
|
375
|
+
role?: React.AriaRole;
|
|
376
|
+
ariaLabel?: string;
|
|
377
|
+
ariaLabelledBy?: string;
|
|
378
|
+
}
|
|
379
|
+
interface GridItemProps extends PropsWithChildren {
|
|
380
|
+
colSpan?: ResponsiveSpan;
|
|
381
|
+
rowSpan?: ResponsiveSpan;
|
|
382
|
+
className?: string;
|
|
383
|
+
as?: keyof JSX.IntrinsicElements;
|
|
384
|
+
role?: React.AriaRole;
|
|
385
|
+
ariaLabel?: string;
|
|
386
|
+
ariaLabelledBy?: string;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
interface NewsCardProps {
|
|
390
|
+
type?: 'restricted';
|
|
391
|
+
className?: string;
|
|
392
|
+
id?: string | number;
|
|
393
|
+
image?: IPicture;
|
|
394
|
+
tag: string;
|
|
395
|
+
date: {
|
|
396
|
+
label: string;
|
|
397
|
+
value: string;
|
|
398
|
+
};
|
|
399
|
+
title: string;
|
|
400
|
+
description: string;
|
|
401
|
+
cta?: ICtaIcon;
|
|
402
|
+
direction?: 'horizontal' | 'vertical';
|
|
403
|
+
renderLink?: (props: React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
404
|
+
children: React.ReactNode;
|
|
405
|
+
}) => React.ReactNode;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
declare const NewsCard: ({ type, className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) => react_jsx_runtime.JSX.Element;
|
|
409
|
+
|
|
410
|
+
type BlogPostContentBodyProps = {
|
|
411
|
+
children: ReactNode;
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
interface BlogPostContentProps {
|
|
415
|
+
className?: string;
|
|
416
|
+
children?: ReactNode;
|
|
417
|
+
body?: ReactNode;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) => react_jsx_runtime.JSX.Element) & {
|
|
421
|
+
Body: ({ children }: BlogPostContentBodyProps) => react_jsx_runtime.JSX.Element;
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
interface SearchProps {
|
|
425
|
+
placeholder?: string;
|
|
426
|
+
/** Optional CTA. When it has a `url`, submitting navigates to `${url}?q=<query>`. */
|
|
427
|
+
searchCta?: ICta;
|
|
428
|
+
/** Called with the trimmed query when the search is submitted. */
|
|
429
|
+
onSearch?: (query: string) => void;
|
|
430
|
+
/**
|
|
431
|
+
* `pill` renders the persistent pill style; `expandable` (default) renders an
|
|
432
|
+
* icon button that expands into the input on click.
|
|
433
|
+
*/
|
|
434
|
+
variant?: 'expandable' | 'pill';
|
|
435
|
+
className?: string;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
declare const Search: ({ placeholder, searchCta, onSearch, variant, className, }: SearchProps) => react_jsx_runtime.JSX.Element;
|
|
439
|
+
|
|
440
|
+
interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
441
|
+
isExternal?: boolean;
|
|
442
|
+
renderLink?: (props: AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
443
|
+
children: ReactNode;
|
|
444
|
+
}) => ReactNode;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) => react_jsx_runtime.JSX.Element;
|
|
448
|
+
|
|
449
|
+
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
450
|
+
children: ReactNode;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
declare const Container: react.ForwardRefExoticComponent<ContainerProps & react.RefAttributes<HTMLDivElement>>;
|
|
454
|
+
|
|
455
|
+
type ConditionalWrapperProps = {
|
|
456
|
+
condition: boolean;
|
|
457
|
+
wrapper?: FC<{
|
|
458
|
+
children: ReactNode;
|
|
459
|
+
} & Record<string, unknown>>;
|
|
460
|
+
fallback?: FC<{
|
|
461
|
+
children: ReactNode;
|
|
462
|
+
} & Record<string, unknown>>;
|
|
463
|
+
} & Record<string, unknown>;
|
|
464
|
+
|
|
465
|
+
declare const ConditionalWrapper: React.FC<PropsWithChildren<ConditionalWrapperProps>>;
|
|
466
|
+
|
|
467
|
+
type TextElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'div' | 'span';
|
|
468
|
+
interface TextProps extends HTMLAttributes<HTMLElement> {
|
|
469
|
+
tag?: TextElement;
|
|
470
|
+
children: ReactNode;
|
|
471
|
+
className?: string;
|
|
472
|
+
promoteToH1?: boolean;
|
|
473
|
+
ref?: Ref<HTMLElement>;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
declare const Text: {
|
|
477
|
+
({ tag, promoteToH1, ref, children, ...props }: TextProps): react_jsx_runtime.JSX.Element;
|
|
478
|
+
displayName: string;
|
|
479
|
+
};
|
|
480
|
+
|
|
481
|
+
type IColTextMenuItem = ICta;
|
|
482
|
+
interface ColTextMenuProps extends IColTextMenuItem {
|
|
483
|
+
className?: string;
|
|
484
|
+
renderLink?: AnchorProps['renderLink'];
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
declare const ColTextMenu: {
|
|
488
|
+
({ label, url, isExternal, className, renderLink, }: ColTextMenuProps): react_jsx_runtime.JSX.Element;
|
|
489
|
+
displayName: string;
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
interface UserMenuItem {
|
|
493
|
+
label: string;
|
|
494
|
+
/** Renders the item as a link. */
|
|
495
|
+
url?: string;
|
|
496
|
+
isExternal?: boolean;
|
|
497
|
+
/** Called when the item is activated. */
|
|
498
|
+
onClick?: () => void;
|
|
499
|
+
/** `danger` renders the item in the notification-red treatment (e.g. Log out). */
|
|
500
|
+
variant?: 'default' | 'danger';
|
|
501
|
+
}
|
|
502
|
+
interface UserMenuUser {
|
|
503
|
+
/** Display name shown next to the avatar. */
|
|
504
|
+
label: string;
|
|
505
|
+
/** Optional link the button navigates to (used when `menuItems` is empty). */
|
|
506
|
+
url?: string;
|
|
507
|
+
isExternal?: boolean;
|
|
508
|
+
/** Optional avatar image; falls back to a default user icon. */
|
|
509
|
+
avatar?: IPicture;
|
|
510
|
+
/** Items shown in the dropdown menu opened by the button. */
|
|
511
|
+
menuItems?: UserMenuItem[];
|
|
512
|
+
}
|
|
513
|
+
interface UserMenuProps {
|
|
514
|
+
user: UserMenuUser;
|
|
515
|
+
className?: string;
|
|
516
|
+
/** Opens the menu above the button instead of below (e.g. in a footer). */
|
|
517
|
+
dropUp?: boolean;
|
|
518
|
+
/** Stretches the button to fill the width of its container. */
|
|
519
|
+
fullWidth?: boolean;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Reusable user / account button.
|
|
524
|
+
*
|
|
525
|
+
* - With `menuItems`, renders a button that toggles a dropdown menu (closes on
|
|
526
|
+
* Escape or outside interaction).
|
|
527
|
+
* - Without `menuItems`, renders a plain link (when `url` is set) or button.
|
|
528
|
+
*/
|
|
529
|
+
declare const UserMenu: ({ user, className, dropUp, fullWidth }: UserMenuProps) => react_jsx_runtime.JSX.Element;
|
|
530
|
+
|
|
531
|
+
interface LoaderProps {
|
|
532
|
+
className?: string;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
declare const Loader: {
|
|
536
|
+
({ className }: LoaderProps): react_jsx_runtime.JSX.Element;
|
|
537
|
+
displayName: string;
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
interface BrandCardProps {
|
|
541
|
+
id?: string;
|
|
542
|
+
theme?: string;
|
|
543
|
+
title: string;
|
|
544
|
+
subtitle: string;
|
|
545
|
+
image: IPicture;
|
|
546
|
+
className?: string;
|
|
547
|
+
animationSettings: {
|
|
548
|
+
triggerRef?: RefObject<HTMLElement | null>;
|
|
549
|
+
to: number;
|
|
550
|
+
suffix?: string;
|
|
551
|
+
duration?: number;
|
|
552
|
+
};
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
declare const BrandCard: ({ theme, title, subtitle, image, animationSettings, className, }: BrandCardProps) => react_jsx_runtime.JSX.Element;
|
|
556
|
+
|
|
557
|
+
interface SelectOption {
|
|
558
|
+
label: string;
|
|
559
|
+
value?: string;
|
|
560
|
+
}
|
|
561
|
+
interface SelectProps {
|
|
562
|
+
options: SelectOption[];
|
|
563
|
+
value?: string;
|
|
564
|
+
onChange?: (value?: string) => void;
|
|
565
|
+
placeholder?: string;
|
|
566
|
+
disabled?: boolean;
|
|
567
|
+
className?: string;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
declare const Select: ({ options, value, onChange, placeholder, disabled, className, }: SelectProps) => react_jsx_runtime.JSX.Element;
|
|
571
|
+
|
|
572
|
+
interface IconTeamCardProps$1 {
|
|
573
|
+
id?: string;
|
|
574
|
+
className?: string;
|
|
575
|
+
photo?: IPicture;
|
|
576
|
+
name: string;
|
|
577
|
+
contact: ReactNode;
|
|
578
|
+
cta?: ICtaLogo;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
declare const IconTeamCard: ({ className, name, contact, cta, photo }: IconTeamCardProps$1) => react_jsx_runtime.JSX.Element;
|
|
582
|
+
|
|
583
|
+
type CardCarouselFootnoteProps = {
|
|
584
|
+
children: ReactNode;
|
|
585
|
+
};
|
|
586
|
+
|
|
587
|
+
type CardCarouselSubtitleProps = {
|
|
588
|
+
children: ReactNode;
|
|
589
|
+
};
|
|
590
|
+
|
|
591
|
+
type CardCarouselTitleProps = {
|
|
592
|
+
children: ReactNode;
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
interface CardCarouselItem extends CardProps {
|
|
596
|
+
/** Blurs the card content, used as a teaser for gated modules */
|
|
597
|
+
isLocked?: boolean;
|
|
598
|
+
/** Opens the video in a modal on cta click instead of following the cta url */
|
|
599
|
+
videoUrl?: string;
|
|
600
|
+
}
|
|
601
|
+
interface CardCarouselProps {
|
|
602
|
+
className?: string;
|
|
603
|
+
title?: ReactNode;
|
|
604
|
+
subtitle?: ReactNode;
|
|
605
|
+
/** Disclaimer rendered below the carousel */
|
|
606
|
+
footnote?: ReactNode;
|
|
607
|
+
cards?: CardCarouselItem[];
|
|
608
|
+
theme?: 'dark' | 'light';
|
|
609
|
+
ariaLabel?: string;
|
|
610
|
+
children?: ReactNode;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
declare const CardCarousel: (({ className, title, subtitle, footnote, cards, theme, ariaLabel, children, }: CardCarouselProps) => react_jsx_runtime.JSX.Element | null) & {
|
|
614
|
+
Title: ({ children }: CardCarouselTitleProps) => react_jsx_runtime.JSX.Element;
|
|
615
|
+
Subtitle: ({ children }: CardCarouselSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
616
|
+
Footnote: ({ children }: CardCarouselFootnoteProps) => react_jsx_runtime.JSX.Element;
|
|
617
|
+
};
|
|
618
|
+
|
|
619
|
+
type CardCollectionSubtitleProps = {
|
|
620
|
+
children: ReactNode;
|
|
621
|
+
};
|
|
622
|
+
|
|
623
|
+
type CardCollectionTitleProps = {
|
|
624
|
+
children: ReactNode;
|
|
625
|
+
};
|
|
626
|
+
|
|
627
|
+
interface CardCollectionProps {
|
|
628
|
+
className?: string;
|
|
629
|
+
variant?: 'default' | 'threeCols' | 'fourCols' | 'examCard' | 'cardCarousel';
|
|
630
|
+
title?: ReactNode;
|
|
631
|
+
subtitle?: ReactNode;
|
|
632
|
+
cards?: CardProps[];
|
|
633
|
+
children?: ReactNode;
|
|
634
|
+
ctaLabel?: string;
|
|
635
|
+
theme?: 'dark' | 'light';
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) => react_jsx_runtime.JSX.Element) & {
|
|
639
|
+
Title: ({ children }: CardCollectionTitleProps) => react_jsx_runtime.JSX.Element;
|
|
640
|
+
Subtitle: ({ children }: CardCollectionSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
641
|
+
};
|
|
642
|
+
|
|
643
|
+
type ContactModuleSubtitleProps = {
|
|
644
|
+
children: ReactNode;
|
|
645
|
+
};
|
|
646
|
+
|
|
647
|
+
type ContactModuleTitleProps = {
|
|
648
|
+
children: ReactNode;
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
interface ContactModuleProps {
|
|
652
|
+
className?: string;
|
|
653
|
+
children?: ReactNode;
|
|
654
|
+
image?: IPicture;
|
|
655
|
+
title?: ReactNode;
|
|
656
|
+
subtitle?: ReactNode;
|
|
657
|
+
ctas?: ICta[];
|
|
658
|
+
blurred?: boolean;
|
|
659
|
+
animateBlur?: boolean;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) => react_jsx_runtime.JSX.Element) & {
|
|
663
|
+
Title: ({ children }: ContactModuleTitleProps) => react_jsx_runtime.JSX.Element;
|
|
664
|
+
Subtitle: ({ children }: ContactModuleSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
interface IFooterLink {
|
|
668
|
+
label: string;
|
|
669
|
+
href: string;
|
|
670
|
+
isExternal?: boolean;
|
|
671
|
+
}
|
|
672
|
+
interface IFooterSupporter {
|
|
673
|
+
image: IPicture;
|
|
674
|
+
href?: string;
|
|
675
|
+
}
|
|
676
|
+
interface IFooterSupportGroup {
|
|
677
|
+
title: string;
|
|
678
|
+
subtitle: string;
|
|
679
|
+
}
|
|
680
|
+
interface FooterProps {
|
|
681
|
+
className?: string;
|
|
682
|
+
supporters?: IFooterSupporter[];
|
|
683
|
+
navigationLinks?: IFooterLink[];
|
|
684
|
+
disclaimer?: ReactNode;
|
|
685
|
+
copyright?: ReactNode;
|
|
686
|
+
children?: ReactNode;
|
|
687
|
+
supportContacts?: IFooterSupportGroup[];
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
691
|
+
|
|
692
|
+
type HeroBannerSubtitleProps = {
|
|
693
|
+
children: ReactNode;
|
|
694
|
+
};
|
|
695
|
+
|
|
696
|
+
type HeroBannerTitleProps = {
|
|
697
|
+
children: ReactNode;
|
|
698
|
+
};
|
|
699
|
+
|
|
700
|
+
interface HeroBannerProps {
|
|
701
|
+
className?: string;
|
|
702
|
+
variant?: 'pageHeroBanner' | 'bannerPodcast' | 'mainHeroBanner';
|
|
703
|
+
title?: ReactNode;
|
|
704
|
+
subtitle?: ReactNode;
|
|
705
|
+
backgroundImage?: PictureProps;
|
|
706
|
+
logo?: PictureProps & {
|
|
707
|
+
variant?: string;
|
|
708
|
+
};
|
|
709
|
+
cta?: ICtaLogo[];
|
|
710
|
+
ctaLogo?: ICtaHoverLogo[];
|
|
711
|
+
brands?: BrandsStripProps;
|
|
712
|
+
promoteToH1?: boolean;
|
|
713
|
+
children?: ReactNode;
|
|
714
|
+
type?: 'internal' | 'external';
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, type, children, }: HeroBannerProps) => react_jsx_runtime.JSX.Element) & {
|
|
718
|
+
Title: ({ children }: HeroBannerTitleProps) => react_jsx_runtime.JSX.Element;
|
|
719
|
+
Subtitle: ({ children }: HeroBannerSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
720
|
+
};
|
|
721
|
+
|
|
722
|
+
interface HeroBannerCarouselItem {
|
|
723
|
+
title: string;
|
|
724
|
+
body: ReactNode;
|
|
725
|
+
image: PictureProps;
|
|
726
|
+
ctas: ICtaLogo[];
|
|
727
|
+
isNewItem?: boolean;
|
|
728
|
+
hideOverlayOnMobile?: boolean;
|
|
729
|
+
}
|
|
730
|
+
interface HeroBannerCarouselProps {
|
|
731
|
+
className?: string;
|
|
732
|
+
items?: HeroBannerCarouselItem[];
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
declare const HeroBannerCarousel: ({ className, items }: HeroBannerCarouselProps) => react_jsx_runtime.JSX.Element | null;
|
|
736
|
+
|
|
737
|
+
interface InternalBrandsTabProps {
|
|
738
|
+
title?: string;
|
|
739
|
+
className?: string;
|
|
740
|
+
subTitle?: React.ReactNode;
|
|
741
|
+
tabs?: {
|
|
742
|
+
tabTitle?: string;
|
|
743
|
+
topContent?: {
|
|
744
|
+
title?: string;
|
|
745
|
+
longText: React.ReactNode;
|
|
746
|
+
cta?: ICtaLogo;
|
|
747
|
+
rightSideText?: React.ReactNode;
|
|
748
|
+
};
|
|
749
|
+
bottomContent?: {
|
|
750
|
+
title?: string;
|
|
751
|
+
icon?: IPicture;
|
|
752
|
+
textList: React.ReactNode;
|
|
753
|
+
quote?: React.ReactNode;
|
|
754
|
+
};
|
|
755
|
+
}[];
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
declare const InternalBrandsTab: (props: InternalBrandsTabProps) => react_jsx_runtime.JSX.Element;
|
|
759
|
+
|
|
760
|
+
type MiniBannerGoBackProps = {
|
|
761
|
+
children: ReactNode;
|
|
762
|
+
};
|
|
763
|
+
|
|
764
|
+
type MiniBannerSubtitleProps = {
|
|
765
|
+
children: ReactNode;
|
|
766
|
+
};
|
|
767
|
+
|
|
768
|
+
type MiniBannerTitleProps = {
|
|
769
|
+
children: ReactNode;
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
interface MiniBannerProps {
|
|
773
|
+
className?: string;
|
|
774
|
+
variant?: 'default' | 'miniBannerNoBG' | 'miniBannerTextLeft';
|
|
775
|
+
logo?: IPicture;
|
|
776
|
+
background?: PictureProps;
|
|
777
|
+
pretitle?: ReactNode;
|
|
778
|
+
title?: ReactNode;
|
|
779
|
+
subtitle?: ReactNode;
|
|
780
|
+
cta?: ICtaLogo[];
|
|
781
|
+
goBackProps?: {
|
|
782
|
+
icon?: {
|
|
783
|
+
src: string;
|
|
784
|
+
alt: string;
|
|
785
|
+
};
|
|
786
|
+
link?: {
|
|
787
|
+
isExternal?: boolean;
|
|
788
|
+
href: string;
|
|
789
|
+
title?: string;
|
|
790
|
+
};
|
|
791
|
+
};
|
|
792
|
+
promoteToH1?: boolean;
|
|
793
|
+
children?: ReactNode;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, promoteToH1, children, }: MiniBannerProps) => react_jsx_runtime.JSX.Element) & {
|
|
797
|
+
Title: ({ children }: MiniBannerTitleProps) => react_jsx_runtime.JSX.Element;
|
|
798
|
+
Subtitle: ({ children }: MiniBannerSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
799
|
+
GoBack: ({ children }: MiniBannerGoBackProps) => react_jsx_runtime.JSX.Element;
|
|
800
|
+
};
|
|
801
|
+
|
|
802
|
+
type MiniSectionCtaSubtitleProps = {
|
|
803
|
+
children: ReactNode;
|
|
804
|
+
};
|
|
805
|
+
|
|
806
|
+
type MiniSectionCtaTitleProps = {
|
|
807
|
+
children: ReactNode;
|
|
808
|
+
};
|
|
809
|
+
|
|
810
|
+
interface MiniSectionCtaProps {
|
|
811
|
+
className?: string;
|
|
812
|
+
variant?: 'headerCTA' | 'BgColorBlack' | 'BgColorGrey' | 'infoCallout' | 'miniTextCenterCta' | 'bgGradientGrey';
|
|
813
|
+
theme?: 'dark' | 'light' | 'gray' | 'gradientGrey';
|
|
814
|
+
cta?: ICta;
|
|
815
|
+
title?: ReactNode;
|
|
816
|
+
subtitle?: ReactNode;
|
|
817
|
+
children?: ReactNode;
|
|
818
|
+
moduleStyles?: {
|
|
819
|
+
color?: string;
|
|
820
|
+
backgroundColor?: string;
|
|
821
|
+
mobileBackgroundColor?: string;
|
|
822
|
+
};
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, moduleStyles, children, }: MiniSectionCtaProps) => react_jsx_runtime.JSX.Element) & {
|
|
826
|
+
Title: ({ children }: MiniSectionCtaTitleProps) => react_jsx_runtime.JSX.Element;
|
|
827
|
+
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
828
|
+
};
|
|
829
|
+
|
|
830
|
+
type NavigationUserMenuFallbackProps = {
|
|
831
|
+
children: ReactNode;
|
|
832
|
+
};
|
|
833
|
+
|
|
834
|
+
interface BaseNavItem {
|
|
835
|
+
title: string;
|
|
836
|
+
description: string;
|
|
837
|
+
}
|
|
838
|
+
interface NavLink {
|
|
839
|
+
type: 'link';
|
|
840
|
+
cta?: ICta;
|
|
841
|
+
/** Marks the item as the current page (adds the active treatment). */
|
|
842
|
+
isActive?: boolean;
|
|
843
|
+
variant?: 'subMenuSpacer';
|
|
844
|
+
}
|
|
845
|
+
interface NavDropdown extends BaseNavItem {
|
|
846
|
+
type: 'dropdown';
|
|
847
|
+
items: NavItem[];
|
|
848
|
+
cta?: ICta;
|
|
849
|
+
/** Marks the item as the current page (adds the active treatment). */
|
|
850
|
+
isActive?: boolean;
|
|
851
|
+
}
|
|
852
|
+
/** A single top-level navigation entry, shared by the external and internal navigation. */
|
|
853
|
+
type NavItem = NavLink | NavDropdown;
|
|
854
|
+
/**
|
|
855
|
+
* Brand bar colors shown in the top strip of the navigation.
|
|
856
|
+
*/
|
|
857
|
+
interface NavigationBrandBar {
|
|
858
|
+
backgroundColor: string;
|
|
859
|
+
}
|
|
860
|
+
interface NavigationProps extends PropsWithChildren {
|
|
861
|
+
className?: string;
|
|
862
|
+
variant?: 'external' | 'internal' | '' | null;
|
|
863
|
+
transparent?: boolean;
|
|
864
|
+
mainLogo?: string;
|
|
865
|
+
logoAlt?: string;
|
|
866
|
+
homeCta?: string;
|
|
867
|
+
loginCta?: ICta;
|
|
868
|
+
rightButton?: ICta;
|
|
869
|
+
navigationItems?: {
|
|
870
|
+
items: NavItem[];
|
|
871
|
+
};
|
|
872
|
+
user?: UserMenuUser;
|
|
873
|
+
searchPlaceholder?: string;
|
|
874
|
+
searchCta?: ICta;
|
|
875
|
+
onSearch?: (query: string) => void;
|
|
876
|
+
brandBars?: NavigationBrandBar[];
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
declare const Navigation: ((props: NavigationProps) => react_jsx_runtime.JSX.Element) & {
|
|
880
|
+
UserMenuFallback: ({ children }: NavigationUserMenuFallbackProps) => react_jsx_runtime.JSX.Element;
|
|
881
|
+
};
|
|
882
|
+
|
|
883
|
+
type PracticePathCardsFooterProps = {
|
|
884
|
+
children: ReactNode;
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
type PracticePathCardsSubtitleProps = {
|
|
888
|
+
children: ReactNode;
|
|
889
|
+
};
|
|
890
|
+
|
|
891
|
+
type PracticePathCardsTitleProps = {
|
|
892
|
+
children: ReactNode;
|
|
893
|
+
};
|
|
894
|
+
|
|
895
|
+
interface PracticePathCardsProps {
|
|
896
|
+
className?: string;
|
|
897
|
+
children?: ReactNode;
|
|
898
|
+
cards?: PracticeCardProps[];
|
|
899
|
+
title?: ReactNode;
|
|
900
|
+
subtitle?: ReactNode;
|
|
901
|
+
footer?: ReactNode;
|
|
902
|
+
cta?: ICta;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) => react_jsx_runtime.JSX.Element) & {
|
|
906
|
+
Title: ({ children }: PracticePathCardsTitleProps) => react_jsx_runtime.JSX.Element;
|
|
907
|
+
Subtitle: ({ children }: PracticePathCardsSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
908
|
+
Footer: ({ children }: PracticePathCardsFooterProps) => react_jsx_runtime.JSX.Element;
|
|
909
|
+
};
|
|
910
|
+
|
|
911
|
+
type Teaser5050With3TextTitleProps = {
|
|
912
|
+
children: ReactNode;
|
|
913
|
+
};
|
|
914
|
+
|
|
915
|
+
interface Teaser5050With3TextProps {
|
|
916
|
+
className?: string;
|
|
917
|
+
variant?: 'left' | 'right';
|
|
918
|
+
title?: ReactNode;
|
|
919
|
+
cards?: InfoCardProps[];
|
|
920
|
+
image?: PictureProps;
|
|
921
|
+
children?: ReactNode;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) => react_jsx_runtime.JSX.Element) & {
|
|
925
|
+
Title: ({ children }: Teaser5050With3TextTitleProps) => react_jsx_runtime.JSX.Element;
|
|
926
|
+
};
|
|
927
|
+
|
|
928
|
+
type Teaser5050WithCtaSubtitleProps = {
|
|
929
|
+
children: ReactNode;
|
|
930
|
+
};
|
|
931
|
+
|
|
932
|
+
type Teaser5050WithCtaTitleProps = {
|
|
933
|
+
children: ReactNode;
|
|
934
|
+
};
|
|
935
|
+
|
|
936
|
+
interface Teaser5050WithCtaProps {
|
|
937
|
+
className?: string;
|
|
938
|
+
variant?: 'left' | 'right';
|
|
939
|
+
title?: ReactNode;
|
|
940
|
+
subtitle?: ReactNode;
|
|
941
|
+
ctas: ICtaLogo[];
|
|
942
|
+
image?: PictureProps;
|
|
943
|
+
children?: ReactNode;
|
|
944
|
+
moduleStyles?: {
|
|
945
|
+
color?: string;
|
|
946
|
+
backgroundColor?: string;
|
|
947
|
+
};
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, moduleStyles, }: Teaser5050WithCtaProps) => react_jsx_runtime.JSX.Element) & {
|
|
951
|
+
Title: ({ children }: Teaser5050WithCtaTitleProps) => react_jsx_runtime.JSX.Element;
|
|
952
|
+
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
953
|
+
};
|
|
954
|
+
|
|
955
|
+
type Media5050LeftSubtitleProps = {
|
|
956
|
+
children: ReactNode;
|
|
957
|
+
};
|
|
958
|
+
|
|
959
|
+
type Media5050LeftTitleProps = {
|
|
960
|
+
children: ReactNode;
|
|
961
|
+
};
|
|
962
|
+
|
|
963
|
+
interface Media5050LeftProps {
|
|
964
|
+
className?: string;
|
|
965
|
+
heading?: string;
|
|
966
|
+
eyebrow?: string;
|
|
967
|
+
title?: string;
|
|
968
|
+
longText?: ReactNode;
|
|
969
|
+
ctas?: ICtaHoverLogo[];
|
|
970
|
+
image?: PictureProps;
|
|
971
|
+
children?: ReactNode;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
declare const Media5050Left: (({ className, heading, eyebrow, title, longText, ctas, image, children, }: Media5050LeftProps) => react_jsx_runtime.JSX.Element) & {
|
|
975
|
+
Title: ({ children }: Media5050LeftTitleProps) => react_jsx_runtime.JSX.Element;
|
|
976
|
+
Subtitle: ({ children }: Media5050LeftSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
977
|
+
};
|
|
978
|
+
|
|
979
|
+
type EventListEmptyProps = {
|
|
980
|
+
children: ReactNode;
|
|
981
|
+
};
|
|
982
|
+
|
|
983
|
+
type EventListTitleProps = {
|
|
984
|
+
children: ReactNode;
|
|
985
|
+
};
|
|
986
|
+
|
|
987
|
+
interface EventListProps extends PropsWithChildren {
|
|
988
|
+
className?: string;
|
|
989
|
+
title?: ReactNode;
|
|
990
|
+
items: UpcomingEventCardProps[];
|
|
991
|
+
cta?: ICta & {
|
|
992
|
+
icon?: IconType;
|
|
993
|
+
};
|
|
994
|
+
backgroundColor?: 'light' | 'dark' | 'gray';
|
|
995
|
+
variant?: 'internalEventList';
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) => react_jsx_runtime.JSX.Element) & {
|
|
999
|
+
Title: ({ children }: EventListTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1000
|
+
Empty: ({ children }: EventListEmptyProps) => react_jsx_runtime.JSX.Element;
|
|
1001
|
+
};
|
|
1002
|
+
|
|
1003
|
+
type TextEventRichTextProps = {
|
|
1004
|
+
children: ReactNode;
|
|
1005
|
+
};
|
|
1006
|
+
|
|
1007
|
+
type TextEventTitleProps = {
|
|
1008
|
+
children: ReactNode;
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
type TTextEventVariants = 'table-center' | undefined | null | '';
|
|
1012
|
+
interface TextEventProps {
|
|
1013
|
+
className?: string;
|
|
1014
|
+
title?: string;
|
|
1015
|
+
richText?: ReactNode;
|
|
1016
|
+
variant?: TTextEventVariants;
|
|
1017
|
+
children?: ReactNode;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
declare const TextEvent: ((props: TextEventProps) => react_jsx_runtime.JSX.Element) & {
|
|
1021
|
+
Title: ({ children }: TextEventTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1022
|
+
RichText: ({ children }: TextEventRichTextProps) => react_jsx_runtime.JSX.Element;
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
type TextBodyBodyProps = {
|
|
1026
|
+
children: ReactNode;
|
|
1027
|
+
};
|
|
1028
|
+
|
|
1029
|
+
type TextBodyTitleProps = {
|
|
1030
|
+
children: ReactNode;
|
|
1031
|
+
};
|
|
1032
|
+
|
|
1033
|
+
interface TextBodyProps {
|
|
1034
|
+
className?: string;
|
|
1035
|
+
variant?: 'table-center' | 'ArticleBigPadding';
|
|
1036
|
+
title?: string;
|
|
1037
|
+
titleAlign?: string;
|
|
1038
|
+
body?: ReactNode;
|
|
1039
|
+
children?: ReactNode;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
declare const TextBody: ((props: TextBodyProps) => react_jsx_runtime.JSX.Element) & {
|
|
1043
|
+
Title: ({ children }: TextBodyTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1044
|
+
Body: ({ children }: TextBodyBodyProps) => react_jsx_runtime.JSX.Element;
|
|
1045
|
+
};
|
|
1046
|
+
|
|
1047
|
+
type TextCenterCtaInBottomSubtitleProps = {
|
|
1048
|
+
children: ReactNode;
|
|
1049
|
+
};
|
|
1050
|
+
|
|
1051
|
+
type TextCenterCtaInBottomTitleProps = {
|
|
1052
|
+
children: ReactNode;
|
|
1053
|
+
};
|
|
1054
|
+
|
|
1055
|
+
interface TextCenterCtaInBottomProps {
|
|
1056
|
+
className?: string;
|
|
1057
|
+
variant?: 'textCenterCTA' | 'textCenterButtonLogoBar';
|
|
1058
|
+
buttonVariant?: 'buttonBlack';
|
|
1059
|
+
title?: ReactNode;
|
|
1060
|
+
subtitle?: ReactNode;
|
|
1061
|
+
ctas?: ICtaHoverLogo[];
|
|
1062
|
+
children?: ReactNode;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
declare const TextCenterCtaInBottom: (({ className, variant, buttonVariant, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) => react_jsx_runtime.JSX.Element) & {
|
|
1066
|
+
Title: ({ children }: TextCenterCtaInBottomTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1067
|
+
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
1068
|
+
};
|
|
1069
|
+
|
|
1070
|
+
interface ResourcesGridListProps {
|
|
1071
|
+
className?: string;
|
|
1072
|
+
items?: ResourceItem[];
|
|
1073
|
+
categories?: SidebarCategory[];
|
|
1074
|
+
defaultView?: ResourceView;
|
|
1075
|
+
defaultFilter?: FilterOption;
|
|
1076
|
+
defaultSort?: SortOption;
|
|
1077
|
+
children?: ReactNode;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) => react_jsx_runtime.JSX.Element;
|
|
1081
|
+
|
|
1082
|
+
type BlogCardGridTitleProps = {
|
|
1083
|
+
children: ReactNode;
|
|
1084
|
+
};
|
|
1085
|
+
|
|
1086
|
+
interface BlogCardGridProps extends PropsWithChildren {
|
|
1087
|
+
className?: string;
|
|
1088
|
+
title?: ReactNode;
|
|
1089
|
+
items: NewsCardProps[];
|
|
1090
|
+
cta?: ICtaIcon;
|
|
1091
|
+
backgroundColor?: CSSProperties['backgroundColor'];
|
|
1092
|
+
hasContainer?: boolean;
|
|
1093
|
+
gridProps?: GridProps;
|
|
1094
|
+
gridItemProps?: GridItemProps;
|
|
1095
|
+
renderLink?: (props: React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
1096
|
+
children: React.ReactNode;
|
|
1097
|
+
}) => React.ReactNode;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) => react_jsx_runtime.JSX.Element) & {
|
|
1101
|
+
Title: ({ children }: BlogCardGridTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1102
|
+
};
|
|
1103
|
+
|
|
1104
|
+
type FeaturedNewsHighlightsTitleProps = {
|
|
1105
|
+
children: ReactNode;
|
|
1106
|
+
};
|
|
1107
|
+
|
|
1108
|
+
interface FeaturedNewsHighlightsProps extends PropsWithChildren {
|
|
1109
|
+
variant?: 'home';
|
|
1110
|
+
className?: string;
|
|
1111
|
+
title?: ReactNode;
|
|
1112
|
+
items: NewsCardProps[];
|
|
1113
|
+
cta?: ICtaIcon;
|
|
1114
|
+
backgroundColor?: CSSProperties['backgroundColor'];
|
|
1115
|
+
hasContainer?: boolean;
|
|
1116
|
+
renderLink?: (props: React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
1117
|
+
children: React.ReactNode;
|
|
1118
|
+
}) => React.ReactNode;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) => react_jsx_runtime.JSX.Element) & {
|
|
1122
|
+
Title: ({ children }: FeaturedNewsHighlightsTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1123
|
+
};
|
|
1124
|
+
|
|
1125
|
+
type NewsCardListPaginationProps = {
|
|
1126
|
+
children: ReactNode;
|
|
1127
|
+
};
|
|
1128
|
+
|
|
1129
|
+
interface NewsCardListProps extends PropsWithChildren {
|
|
1130
|
+
className?: string;
|
|
1131
|
+
items: NewsCardProps[];
|
|
1132
|
+
backgroundColor?: CSSProperties['backgroundColor'];
|
|
1133
|
+
searchValue?: string;
|
|
1134
|
+
onSearchChange?: (value: string) => void;
|
|
1135
|
+
onSearchSubmit?: (value: string) => void;
|
|
1136
|
+
searchInputProps?: InputProps;
|
|
1137
|
+
currentPage?: number;
|
|
1138
|
+
renderLink?: (props: React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
1139
|
+
children: React.ReactNode;
|
|
1140
|
+
}) => React.ReactNode;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) => react_jsx_runtime.JSX.Element) & {
|
|
1144
|
+
Pagination: ({ children }: NewsCardListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
1145
|
+
};
|
|
1146
|
+
|
|
1147
|
+
type BlogPostBodyProps = {
|
|
1148
|
+
children: ReactNode;
|
|
1149
|
+
};
|
|
1150
|
+
|
|
1151
|
+
type BlogPostTitleProps = {
|
|
1152
|
+
children: ReactNode;
|
|
1153
|
+
};
|
|
1154
|
+
|
|
1155
|
+
interface BlogPostProps extends PropsWithChildren, Omit<NewsCardProps, 'description' | 'cta' | 'direction'> {
|
|
1156
|
+
description: ReactNode;
|
|
1157
|
+
relatedArticles?: NewsCardProps[];
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) => react_jsx_runtime.JSX.Element) & {
|
|
1161
|
+
Title: ({ children }: BlogPostTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1162
|
+
Body: ({ children }: BlogPostBodyProps) => react_jsx_runtime.JSX.Element;
|
|
1163
|
+
};
|
|
1164
|
+
|
|
1165
|
+
type BlogSearchResultsListPaginationProps = {
|
|
1166
|
+
children: ReactNode;
|
|
1167
|
+
};
|
|
1168
|
+
|
|
1169
|
+
type BlogSearchResultsListSearchProps = {
|
|
1170
|
+
children: ReactNode;
|
|
1171
|
+
};
|
|
1172
|
+
|
|
1173
|
+
interface BlogSearchResultsListProps extends PropsWithChildren {
|
|
1174
|
+
className?: string;
|
|
1175
|
+
searchResult?: ReactNode;
|
|
1176
|
+
items: NewsCardProps[];
|
|
1177
|
+
searchValue: string;
|
|
1178
|
+
onSearchChange: (value: string) => void;
|
|
1179
|
+
onSearchSubmit: (value: string) => void;
|
|
1180
|
+
searchInputProps?: InputProps;
|
|
1181
|
+
renderLink?: (props: React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
1182
|
+
children: React.ReactNode;
|
|
1183
|
+
}) => React.ReactNode;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) => react_jsx_runtime.JSX.Element) & {
|
|
1187
|
+
Search: ({ children }: BlogSearchResultsListSearchProps) => react_jsx_runtime.JSX.Element;
|
|
1188
|
+
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
1189
|
+
};
|
|
1190
|
+
|
|
1191
|
+
type GlobalSearchResultsListPaginationProps = {
|
|
1192
|
+
children: ReactNode;
|
|
1193
|
+
};
|
|
1194
|
+
|
|
1195
|
+
type GlobalSearchResultsListSearchProps = {
|
|
1196
|
+
children: ReactNode;
|
|
1197
|
+
};
|
|
1198
|
+
|
|
1199
|
+
interface GlobalSearchResultsListProps extends PropsWithChildren {
|
|
1200
|
+
className?: string;
|
|
1201
|
+
searchResult?: ReactNode;
|
|
1202
|
+
items: ResourceItem[];
|
|
1203
|
+
renderLink?: (props: React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
1204
|
+
children: React.ReactNode;
|
|
1205
|
+
}) => React.ReactNode;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) => react_jsx_runtime.JSX.Element) & {
|
|
1209
|
+
Search: ({ children }: GlobalSearchResultsListSearchProps) => react_jsx_runtime.JSX.Element;
|
|
1210
|
+
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
1211
|
+
};
|
|
1212
|
+
|
|
1213
|
+
type TextCenterWithMediaTitleProps = {
|
|
1214
|
+
children: ReactNode;
|
|
1215
|
+
};
|
|
1216
|
+
|
|
1217
|
+
interface TextCenterWithMediaProps {
|
|
1218
|
+
className?: string;
|
|
1219
|
+
title?: ReactNode;
|
|
1220
|
+
thumbnail?: string;
|
|
1221
|
+
videoUrl?: string;
|
|
1222
|
+
loop?: boolean;
|
|
1223
|
+
mute?: boolean;
|
|
1224
|
+
hideControl?: boolean;
|
|
1225
|
+
autoPlay?: boolean;
|
|
1226
|
+
children?: ReactNode;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) => react_jsx_runtime.JSX.Element) & {
|
|
1230
|
+
Title: ({ children }: TextCenterWithMediaTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1231
|
+
};
|
|
1232
|
+
|
|
1233
|
+
interface QuoteSectionBlockItem {
|
|
1234
|
+
bodyText: ReactNode;
|
|
1235
|
+
displayPhoto: IPicture;
|
|
1236
|
+
displayName: string;
|
|
1237
|
+
jobTitle?: string;
|
|
1238
|
+
jobTitleLogo?: IPicture;
|
|
1239
|
+
}
|
|
1240
|
+
interface QuoteSectionBlockProps {
|
|
1241
|
+
className?: string;
|
|
1242
|
+
title?: string;
|
|
1243
|
+
viewtype?: string;
|
|
1244
|
+
items?: QuoteSectionBlockItem[];
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
declare const QuoteSectionBlock: ({ className, title, viewtype, items, }: QuoteSectionBlockProps) => react_jsx_runtime.JSX.Element | null;
|
|
1248
|
+
|
|
1249
|
+
type PageLoaderLogoProps = {
|
|
1250
|
+
children: ReactNode;
|
|
1251
|
+
};
|
|
1252
|
+
|
|
1253
|
+
interface PageLoaderProps extends PropsWithChildren {
|
|
1254
|
+
className?: string;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
declare const PageLoader: (({ className, children }: PageLoaderProps) => react_jsx_runtime.JSX.Element) & {
|
|
1258
|
+
Logo: ({ children }: PageLoaderLogoProps) => react_jsx_runtime.JSX.Element;
|
|
1259
|
+
};
|
|
1260
|
+
|
|
1261
|
+
interface ITwoColTextMenuSection {
|
|
1262
|
+
title: string;
|
|
1263
|
+
items: IColTextMenuItem[];
|
|
1264
|
+
}
|
|
1265
|
+
interface TwoColTextMenuProps {
|
|
1266
|
+
className?: string;
|
|
1267
|
+
/** Accessible label for the navigation landmark. */
|
|
1268
|
+
ariaLabel?: string;
|
|
1269
|
+
sections: ITwoColTextMenuSection[];
|
|
1270
|
+
renderLink?: AnchorProps['renderLink'];
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
declare const TwoColTextMenu: {
|
|
1274
|
+
({ className, ariaLabel, sections, renderLink, }: TwoColTextMenuProps): react_jsx_runtime.JSX.Element | null;
|
|
1275
|
+
displayName: string;
|
|
1276
|
+
};
|
|
1277
|
+
|
|
1278
|
+
type LocationsBrandCardsTextProps = {
|
|
1279
|
+
children: ReactNode;
|
|
1280
|
+
};
|
|
1281
|
+
|
|
1282
|
+
interface LocationsBrandCardsProps extends PropsWithChildren {
|
|
1283
|
+
className?: string;
|
|
1284
|
+
title: string;
|
|
1285
|
+
subtitle?: string | ReactNode;
|
|
1286
|
+
image: IPicture;
|
|
1287
|
+
cards: BrandCardProps[];
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
declare const LocationsBrandCards: (({ className, title, subtitle, image, cards, children, }: LocationsBrandCardsProps) => react_jsx_runtime.JSX.Element) & {
|
|
1291
|
+
Text: ({ children }: LocationsBrandCardsTextProps) => react_jsx_runtime.JSX.Element;
|
|
1292
|
+
};
|
|
1293
|
+
|
|
1294
|
+
interface BrandTab {
|
|
1295
|
+
trigger: {
|
|
1296
|
+
default: string | {
|
|
1297
|
+
src: string;
|
|
1298
|
+
alt: string;
|
|
1299
|
+
};
|
|
1300
|
+
active: string | {
|
|
1301
|
+
src: string;
|
|
1302
|
+
alt: string;
|
|
1303
|
+
};
|
|
1304
|
+
};
|
|
1305
|
+
content?: {
|
|
1306
|
+
title?: string;
|
|
1307
|
+
description: React.ReactNode | string;
|
|
1308
|
+
logo?: IPicture;
|
|
1309
|
+
textColor?: string;
|
|
1310
|
+
}[];
|
|
1311
|
+
image?: IPicture;
|
|
1312
|
+
cta?: ICtaLogo;
|
|
1313
|
+
theme: string;
|
|
1314
|
+
}
|
|
1315
|
+
interface BrandsTabProps {
|
|
1316
|
+
title?: string;
|
|
1317
|
+
className?: string;
|
|
1318
|
+
subtitle?: React.ReactNode;
|
|
1319
|
+
tabs?: BrandTab[];
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
declare const BrandsTab: (props: BrandsTabProps) => react_jsx_runtime.JSX.Element;
|
|
1323
|
+
|
|
1324
|
+
interface TimelineCard {
|
|
1325
|
+
logo?: IPicture;
|
|
1326
|
+
text: string;
|
|
1327
|
+
}
|
|
1328
|
+
interface TimelineCardsProps {
|
|
1329
|
+
className?: string;
|
|
1330
|
+
captionText?: string;
|
|
1331
|
+
cards?: TimelineCard[];
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
declare const TimelineCards: ({ captionText, cards, className }: TimelineCardsProps) => react_jsx_runtime.JSX.Element;
|
|
1335
|
+
|
|
1336
|
+
interface PodcastCardProps {
|
|
1337
|
+
id?: string;
|
|
1338
|
+
className?: string;
|
|
1339
|
+
badge: string;
|
|
1340
|
+
date: string;
|
|
1341
|
+
title: string;
|
|
1342
|
+
description: string | ReactNode;
|
|
1343
|
+
cta: {
|
|
1344
|
+
label: string;
|
|
1345
|
+
logoCta: (ICta & {
|
|
1346
|
+
default: IPicture;
|
|
1347
|
+
active: IPicture;
|
|
1348
|
+
})[];
|
|
1349
|
+
};
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
interface PodcastGridCardsProps {
|
|
1353
|
+
className?: string;
|
|
1354
|
+
title?: string;
|
|
1355
|
+
items?: PodcastCardProps[];
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
declare const PodcastGridCards: ({ title, items, className }: PodcastGridCardsProps) => react_jsx_runtime.JSX.Element;
|
|
1359
|
+
|
|
1360
|
+
type TextFootnoteBodyProps = {
|
|
1361
|
+
children: ReactNode;
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
type TextFootnoteTitleProps = {
|
|
1365
|
+
children: ReactNode;
|
|
1366
|
+
};
|
|
1367
|
+
|
|
1368
|
+
interface TextFootnoteProps {
|
|
1369
|
+
className?: string;
|
|
1370
|
+
title?: string;
|
|
1371
|
+
titleAlign?: string;
|
|
1372
|
+
body?: ReactNode;
|
|
1373
|
+
children?: ReactNode;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
declare const TextFootnote: ((props: TextFootnoteProps) => react_jsx_runtime.JSX.Element) & {
|
|
1377
|
+
Title: ({ children }: TextFootnoteTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1378
|
+
Body: ({ children }: TextFootnoteBodyProps) => react_jsx_runtime.JSX.Element;
|
|
1379
|
+
};
|
|
1380
|
+
|
|
1381
|
+
interface Faq$1 {
|
|
1382
|
+
title: string;
|
|
1383
|
+
body: string | ReactNode;
|
|
1384
|
+
}
|
|
1385
|
+
interface FaqProps {
|
|
1386
|
+
title?: string;
|
|
1387
|
+
className?: string;
|
|
1388
|
+
subtitle?: React.ReactNode;
|
|
1389
|
+
items?: Faq$1[];
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
declare const Faq: (props: FaqProps) => react_jsx_runtime.JSX.Element;
|
|
1393
|
+
|
|
1394
|
+
type IconTeamCardProps = {
|
|
1395
|
+
children: ReactNode;
|
|
1396
|
+
};
|
|
1397
|
+
|
|
1398
|
+
type IconTeamSelectProps = {
|
|
1399
|
+
children: ReactNode;
|
|
1400
|
+
};
|
|
1401
|
+
|
|
1402
|
+
interface IconTeamProps extends PropsWithChildren {
|
|
1403
|
+
className?: string;
|
|
1404
|
+
title: string;
|
|
1405
|
+
subtitle?: string;
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
declare const IconTeam: (({ className, title, subtitle, children }: IconTeamProps) => react_jsx_runtime.JSX.Element) & {
|
|
1409
|
+
Select: ({ children }: IconTeamSelectProps) => react_jsx_runtime.JSX.Element;
|
|
1410
|
+
Card: ({ children }: IconTeamCardProps) => react_jsx_runtime.JSX.Element;
|
|
1411
|
+
};
|
|
1412
|
+
|
|
1413
|
+
/** Tracks the current browser path, updating on back/forward navigation. */
|
|
1414
|
+
declare const useActivePath: () => string;
|
|
1415
|
+
|
|
1416
|
+
type IntersectionObserverOptions = {
|
|
1417
|
+
threshold?: number | number[];
|
|
1418
|
+
rootMargin?: string;
|
|
1419
|
+
};
|
|
1420
|
+
type UseIntersectionObserverProps = {
|
|
1421
|
+
animateOnce?: boolean;
|
|
1422
|
+
options?: IntersectionObserverOptions;
|
|
1423
|
+
};
|
|
1424
|
+
type IntersectionObserverResult<T extends Element> = {
|
|
1425
|
+
observeRef: React.RefObject<T | null>;
|
|
1426
|
+
isVisible: boolean;
|
|
1427
|
+
};
|
|
1428
|
+
declare function useIntersectionObserver<T extends Element = Element>({ animateOnce, options, }?: UseIntersectionObserverProps): IntersectionObserverResult<T>;
|
|
1429
|
+
|
|
1430
|
+
declare const useIsAtTop: () => boolean;
|
|
1431
|
+
|
|
1432
|
+
type SlotComponent = React.ComponentType<any>;
|
|
1433
|
+
type SlotMap = Record<string, SlotComponent>;
|
|
1434
|
+
/**
|
|
1435
|
+
* Resolves compound component slots from children.
|
|
1436
|
+
* Allows components like <Component.Title> and <Component.Subtitle>
|
|
1437
|
+
* to be extracted into named slots.
|
|
1438
|
+
*/
|
|
1439
|
+
declare function resolveCompoundSlots(children: ReactNode, slots: SlotMap): Record<string, ReactNode>;
|
|
1440
|
+
|
|
1441
|
+
export { Anchor, type AnchorProps, Badge, type BadgeProps, BlogCardGrid, type BlogCardGridProps, BlogPost, BlogPostContent, type BlogPostContentProps, type BlogPostProps, BlogSearchResultsList, type BlogSearchResultsListProps, BrandCard, type BrandCardProps, BrandsStrip, type BrandsStripProps, BrandsTab, type BrandsTabProps, Button, type ButtonProps, Card, CardCarousel, type CardCarouselItem, type CardCarouselProps, CardCollection, type CardCollectionProps, type CardProps, ColTextMenu, type ColTextMenuProps, ConditionalWrapper, type ConditionalWrapperProps, ContactModule, type ContactModuleProps, Container, type ContainerProps, CountingCard, type CountingCardProps, EventList, type EventListProps, Faq, type FaqProps, FeaturedNewsHighlights, type FeaturedNewsHighlightsProps, FilterBar, type FilterBarProps, type FilterOption, Footer, type FooterProps, GlobalSearchResultsList, type GlobalSearchResultsListProps, type GridItemProps, type GridProps, HeroBanner, HeroBannerCarousel, type HeroBannerCarouselProps, type HeroBannerProps, type IColTextMenuItem, type ICta, type ICtaHoverLogo, type ICtaIcon, type ICtaLogo, type IFooterSupportGroup, type IPicture, type ITwoColTextMenuSection, Icon, IconTeam, IconTeamCard, type IconTeamCardProps$1 as IconTeamCardProps, type IconTeamProps, type IconType, InfoCard, type InfoCardProps, Input, type InputProps, InternalBrandsTab, type InternalBrandsTabProps, type UserMenuItem as InternalNavMenuItem, Loader, type LoaderProps, LocationsBrandCards, type LocationsBrandCardsProps, Media5050Left, type Media5050LeftProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, Modal, type ModalProps, type NavItem, Navigation, type NavigationBrandBar, type NavigationProps, type UserMenuUser as NavigationUser, NewsCard, NewsCardList, type NewsCardListProps, type NewsCardProps, PageLoader, type PageLoaderProps, Pagination, type PaginationProps, Picture, type PictureProps, PodcastGridCards, type PodcastGridCardsProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, QuoteSectionBlock, type QuoteSectionBlockProps, ResourceCardItem, type ResourceCardItemProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, Search, type SearchProps, Select, type SelectProps, Sidebar, type SidebarCategory, type SidebarProps, type SortOption, type TButtonVariant, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, Text, TextBody, type TextBodyProps, TextCenterCtaInBottom, type TextCenterCtaInBottomProps, TextCenterWithMedia, type TextCenterWithMediaProps, TextEvent, type TextEventProps, TextFootnote, type TextFootnoteProps, type TextProps, TimelineCards, type TimelineCardsProps, TwoColTextMenu, type TwoColTextMenuProps, UpcomingEventCard, type UpcomingEventCardProps, UserMenu, type UserMenuItem, type UserMenuProps, type UserMenuUser, resolveCompoundSlots, svgs, useActivePath, useIntersectionObserver, useIsAtTop };
|