@20minutes/hela 0.1.30 → 0.1.31

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.
@@ -0,0 +1,765 @@
1
+ /// <reference types="react" />
2
+ import * as React$1 from 'react';
3
+ import React__default, { useLayoutEffect as useLayoutEffect$1, SVGProps } from 'react';
4
+ import { themeList, mediaQueriesList, flexDirectionList, flexWrapList, justifyContentList, alignContentList, alignItemsList, flexBasisList, alignSelfList } from '@/constants';
5
+ import { tokenVariables } from '@/constants/tokenVariables';
6
+ import { SpacingType as SpacingType$1, TypeWithMediaQueriesType as TypeWithMediaQueriesType$1, SpacingSystemProps as SpacingSystemProps$1, ColorSystemProps as ColorSystemProps$1, ColorType as ColorType$1, TypeWithThemeType as TypeWithThemeType$1, AlignItemsType as AlignItemsType$1, AlignContentType as AlignContentType$1, JustifyContentType as JustifyContentType$1, AlignSelfType as AlignSelfType$1, ColorSchemeTheme as ColorSchemeTheme$1, IconSizeType as IconSizeType$1, PolymorphicProps as PolymorphicProps$1, SystemProps as SystemProps$1, FlexOrGridBoxSystemProps as FlexOrGridBoxSystemProps$1, FlexDirectionType as FlexDirectionType$1, FlexWrapType as FlexWrapType$1, FlexBasisType as FlexBasisType$1, FlexOrGridBoxItemSystemProps as FlexOrGridBoxItemSystemProps$1, TabType as TabType$1, LayoutType as LayoutType$1 } from '@/types';
7
+ import { MediaQueryType as MediaQueryType$1 } from '@/types/MediaQueryType';
8
+ import { ThemeType as ThemeType$1 } from '@/types/ThemeType';
9
+ import { IconName as IconName$1, FlexProps as FlexProps$1, BoxProps as BoxProps$1, ButtonProps as ButtonProps$1, CardHeaderProps as CardHeaderProps$1, SignatureProps as SignatureProps$1, SocialBarProps as SocialBarProps$1, CardSmallProps as CardSmallProps$1, IconHoroscopeName as IconHoroscopeName$1, HoroscopeTopicCardProps as HoroscopeTopicCardProps$1, InfoBannerProps as InfoBannerProps$1, HeaderBannerProps as HeaderBannerProps$1, LinkProps as LinkProps$1, CardMediumProps as CardMediumProps$1, TagProps as TagProps$1, CardOverviewProps as CardOverviewProps$1, CardExtraSmallProps as CardExtraSmallProps$1, FooterCategoriesProps as FooterCategoriesProps$1, FooterLinksProps as FooterLinksProps$1, SocialIconsProps as SocialIconsProps$1 } from '@/components';
10
+ import { RawDraftContentState } from 'draft-js';
11
+ import { FlexProps as FlexProps$2 } from '@/components/atoms';
12
+
13
+ declare const enum LayoutType {
14
+ MOBILE = "mobile",
15
+ DESKTOP = "desktop"
16
+ }
17
+
18
+ declare global {
19
+ interface Window {
20
+ layout: LayoutType;
21
+ }
22
+ }
23
+
24
+ type ColorSchemeBrand = 'magazine' | 'prduction' | 'c2c';
25
+ type ColorSchemeTheme = 'primary' | 'direct' | 'entertainment' | 'planet' | 'sport' | 'default' | 'economy' | 'community' | 'weird' | 'partner' | 'media' | 'hightech' | 'summer';
26
+ type ColorSchemeGeneric = 'white' | 'black';
27
+ type Color = ColorSchemeBrand | ColorSchemeTheme | ColorSchemeGeneric;
28
+
29
+ type IconSizeType = 'default' | 'big';
30
+
31
+ type PolymorphicProps<C extends React$1.ElementType> = {
32
+ as?: C;
33
+ children?: React$1.ReactNode;
34
+ } & React$1.ComponentPropsWithoutRef<C>;
35
+
36
+ type PolymorphicRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>['ref'];
37
+
38
+ type TabType = 'default' | 'secondary';
39
+
40
+ type ThemeType = typeof themeList[number];
41
+
42
+ type SpacingType = keyof typeof tokenVariables['spacing'];
43
+ type ColorType = keyof typeof tokenVariables['color']['generic'] | `rubric-${keyof typeof tokenVariables['color']['rubric']}` | `subtype-${keyof typeof tokenVariables['color']['subtype']}`;
44
+
45
+ type MediaQueryType = typeof mediaQueriesList[number];
46
+
47
+ interface MarginSystemProps {
48
+ m?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
49
+ mt?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
50
+ mr?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
51
+ mb?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
52
+ ml?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
53
+ mx?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
54
+ my?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
55
+ }
56
+ interface PaddingSystemProps {
57
+ p?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
58
+ pt?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
59
+ pr?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
60
+ pb?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
61
+ pl?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
62
+ px?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
63
+ py?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
64
+ }
65
+ interface SpacingSystemProps extends MarginSystemProps, PaddingSystemProps {
66
+ }
67
+
68
+ interface SystemProps extends SpacingSystemProps$1, ColorSystemProps$1 {
69
+ }
70
+
71
+ interface ColorSystemProps {
72
+ bg?: ColorType$1 | TypeWithThemeType$1<ColorType$1>;
73
+ color?: ColorType$1 | TypeWithThemeType$1<ColorType$1>;
74
+ }
75
+
76
+ interface FlexOrGridBoxSystemProps {
77
+ alignItems?: AlignItemsType$1 | TypeWithMediaQueriesType$1<AlignItemsType$1>;
78
+ alignContent?: AlignContentType$1 | TypeWithMediaQueriesType$1<AlignContentType$1>;
79
+ justifyContent?: JustifyContentType$1 | TypeWithMediaQueriesType$1<JustifyContentType$1>;
80
+ gap?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
81
+ gapX?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
82
+ gapY?: SpacingType$1 | TypeWithMediaQueriesType$1<SpacingType$1>;
83
+ }
84
+
85
+ interface FlexOrGridBoxItemSystemProps {
86
+ align?: AlignSelfType$1 | TypeWithMediaQueriesType$1<AlignSelfType$1>;
87
+ }
88
+
89
+ type TypeWithModifierType<TModifierType extends string, TPropValue> = Partial<Record<TModifierType, TPropValue>>;
90
+ type TypeWithMediaQueriesType<T> = TypeWithModifierType<MediaQueryType$1, T>;
91
+ type TypeWithThemeType<T> = TypeWithModifierType<ThemeType$1, T>;
92
+
93
+ type FlexDirectionType = typeof flexDirectionList[number];
94
+ type FlexWrapType = typeof flexWrapList[number];
95
+ type JustifyContentType = typeof justifyContentList[number];
96
+ type AlignContentType = typeof alignContentList[number];
97
+ type AlignItemsType = typeof alignItemsList[number];
98
+ type FlexBasisType = typeof flexBasisList[number];
99
+ type AlignSelfType = typeof alignSelfList[number];
100
+
101
+ declare const useLayoutEffect: typeof useLayoutEffect$1;
102
+
103
+ interface AdProps {
104
+ adUnitCompletePath: string;
105
+ classes?: string;
106
+ lazyload?: {
107
+ delayed: boolean;
108
+ distanceVisible?: number;
109
+ };
110
+ variant?: 'ATF' | 'BAN' | 'PAVE' | 'HEADER' | 'ARTICLE';
111
+ adMention?: boolean;
112
+ }
113
+ declare const Ad: React$1.FC<AdProps>;
114
+
115
+ interface AlertProps {
116
+ variant?: 'success' | 'warning' | 'error';
117
+ title: string;
118
+ description?: string;
119
+ fill?: boolean;
120
+ className?: string;
121
+ icon?: IconName$1;
122
+ iconSize?: number | number[];
123
+ iconClassNames?: string;
124
+ }
125
+ declare const Alert: React$1.FC<AlertProps>;
126
+
127
+ interface AvatarProps {
128
+ img: string;
129
+ alt?: string;
130
+ }
131
+ declare const Avatar: React$1.FC<AvatarProps>;
132
+
133
+ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
134
+ variant?: 'primary' | 'secondary' | 'simple' | 'navigation' | 'social';
135
+ children?: React$1.ReactNode;
136
+ icon?: IconName$1;
137
+ iconClassNames?: string;
138
+ iconSize?: number | number[];
139
+ }
140
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
141
+
142
+ interface CheckboxProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
143
+ label?: string;
144
+ }
145
+ declare const Checkbox: React$1.FC<CheckboxProps>;
146
+
147
+ interface DividerProps extends FlexProps$1 {
148
+ text?: string;
149
+ }
150
+ declare const Divider: React$1.FC<DividerProps>;
151
+
152
+ interface DividerSectionProps extends React$1.HTMLAttributes<HTMLDivElement> {
153
+ hasIcon?: boolean;
154
+ colorScheme?: ColorSchemeTheme$1;
155
+ iconSize?: IconSizeType$1;
156
+ hasShiftedIcon?: boolean;
157
+ hasMaxWidth?: boolean;
158
+ }
159
+ declare const DividerSection: React$1.FC<DividerSectionProps>;
160
+
161
+ type IconName = '20mn-pub' | 'apple' | 'arrow' | 'bookmark' | 'chevron' | 'close' | 'clover' | 'comment' | 'connect' | 'connected' | 'dailymotion' | 'darkmode' | 'diode-entertainment' | 'diode-leaning' | 'diode-planet' | 'diode-sport' | 'diode' | 'facebook' | 'flipboard' | 'googleplay' | 'health' | 'heart' | 'horoscope' | 'home' | 'instagram' | 'jeux' | 'journal' | 'local' | 'logo' | 'menu' | 'mood' | 'newsletters' | 'not-found' | 'notification' | 'podcast' | 'report' | 'search' | 'server-error' | 'share' | 'signin-facebook' | 'signin-google' | 'snapchat' | 'star' | 'tiktok' | 'twitter' | 'valide' | 'view' | 'youtube' | 'work';
162
+ type IconHoroscopeName = 'horoscope-belier' | 'horoscope-taureau' | 'horoscope-gemeaux' | 'horoscope-cancer' | 'horoscope-lion' | 'horoscope-vierge' | 'horoscope-balance' | 'horoscope-scorpion' | 'horoscope-sagittaire' | 'horoscope-capricorne' | 'horoscope-verseau' | 'horoscope-poissons' | 'horoscope-buffle' | 'horoscope-cheval' | 'horoscope-chevre' | 'horoscope-chien' | 'horoscope-cochon' | 'horoscope-coq' | 'horoscope-dragon' | 'horoscope-lapin' | 'horoscope-rat' | 'horoscope-serpent' | 'horoscope-singe' | 'horoscope-tigre';
163
+ interface IconProps extends Omit<React$1.SVGAttributes<SVGElement>, 'width' | 'height'> {
164
+ className?: string;
165
+ name: IconName | IconHoroscopeName;
166
+ size?: number | number[];
167
+ withBorder?: boolean;
168
+ isRounded?: boolean;
169
+ }
170
+ declare const Icon: React$1.FC<IconProps>;
171
+
172
+ declare const SvgSprite: (props: SVGProps<SVGSVGElement>) => JSX.Element;
173
+
174
+ interface ImgProps extends BoxProps$1 {
175
+ src: string;
176
+ defaultFormat: string;
177
+ formats?: string[];
178
+ sizes?: string;
179
+ alt?: string;
180
+ }
181
+ declare const Img: React$1.FC<ImgProps>;
182
+
183
+ type BoxProps<C extends React$1.ElementType = 'div'> = PolymorphicProps$1<C> & SystemProps$1;
184
+ declare const Box: React$1.ForwardRefExoticComponent<Pick<BoxProps<React$1.ElementType<any>>, string | number | symbol> & React$1.RefAttributes<unknown>>;
185
+
186
+ declare const colsNumberGridList: readonly [2, 3, 4, 6, 12, "2-of-3"];
187
+ type ColsNumberGridType = typeof colsNumberGridList[number];
188
+ interface GridProps extends BoxProps$1, FlexOrGridBoxSystemProps$1 {
189
+ colsNumber?: ColsNumberGridType | TypeWithMediaQueriesType$1<ColsNumberGridType>;
190
+ }
191
+ declare const Grid: React$1.FC<GridProps>;
192
+
193
+ type FlexProps<C extends React$1.ElementType = 'div'> = {
194
+ inline?: boolean | TypeWithMediaQueriesType$1<boolean>;
195
+ direction?: FlexDirectionType$1 | TypeWithMediaQueriesType$1<FlexDirectionType$1>;
196
+ wrap?: FlexWrapType$1 | TypeWithMediaQueriesType$1<FlexWrapType$1>;
197
+ children?: React$1.ReactNode;
198
+ } & BoxProps$1<C> & FlexOrGridBoxSystemProps$1;
199
+ declare const Flex: <C extends React$1.ElementType<any> = "div">({ inline, direction, wrap, as, children, ...boxProps }: FlexProps<C>) => React$1.ReactElement<any, any> | null;
200
+
201
+ type FlexItemProps<C extends React$1.ElementType = 'div'> = {
202
+ basis?: FlexBasisType$1 | TypeWithMediaQueriesType$1<FlexBasisType$1>;
203
+ children?: React$1.ReactNode;
204
+ } & BoxProps$1<C> & FlexOrGridBoxItemSystemProps$1;
205
+ declare const FlexItem: <C extends React$1.ElementType<any> = "div">({ basis, children, as, ...boxProps }: FlexItemProps<C>) => React$1.ReactElement<any, any> | null;
206
+
207
+ declare const InlineSeparator: React$1.FC<BoxProps>;
208
+
209
+ interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
210
+ label?: string;
211
+ icon?: IconName$1;
212
+ positionIcon?: 'left' | 'right';
213
+ isIconButton?: boolean;
214
+ iconButtonProps?: ButtonProps$1;
215
+ variant?: 'success' | 'error';
216
+ msg?: string;
217
+ variantMsg?: 'default' | 'error' | 'success';
218
+ }
219
+ declare const Input: React$1.FC<InputProps>;
220
+
221
+ interface LabelProps extends FlexProps$1 {
222
+ children: React$1.ReactNode;
223
+ hasDot?: boolean;
224
+ isUppercase?: boolean;
225
+ }
226
+ declare const Label: React$1.FC<LabelProps>;
227
+
228
+ interface LabelSectionProps {
229
+ children: React$1.ReactNode;
230
+ }
231
+ declare const LabelSection: React$1.FC<LabelSectionProps>;
232
+
233
+ interface LinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement> {
234
+ children: React$1.ReactNode;
235
+ variant?: 'default' | 'primary-button' | 'secondary-button';
236
+ isTargetBlank?: boolean;
237
+ isNofollow?: boolean;
238
+ isSponsored?: boolean;
239
+ }
240
+ declare const Link: React$1.FC<LinkProps>;
241
+
242
+ type MetaTagProps = 'name' | 'property' | 'content';
243
+ interface MetaProps {
244
+ metas: {
245
+ [key in MetaTagProps]?: string;
246
+ }[];
247
+ title: string;
248
+ canonical?: string;
249
+ robots?: {
250
+ index: string;
251
+ follow: string;
252
+ };
253
+ }
254
+ declare const Meta: React$1.FC<MetaProps>;
255
+
256
+ interface ModalProps extends React$1.HTMLAttributes<HTMLDivElement> {
257
+ dialogId: string;
258
+ children: React$1.ReactNode;
259
+ variant?: 'center' | 'left' | 'right';
260
+ contentClassName?: string;
261
+ isStandalone?: boolean;
262
+ onClickOverlay?: React$1.MouseEventHandler<HTMLDivElement>;
263
+ }
264
+ declare const Modal: React$1.FC<ModalProps>;
265
+
266
+ declare function Pipe(): JSX.Element;
267
+
268
+ interface ReadAlsoProps {
269
+ title: string;
270
+ link: string;
271
+ label: string;
272
+ isNofollow: boolean;
273
+ isSponsored: boolean;
274
+ isTargetBlank: boolean;
275
+ }
276
+ declare const ReadAlso: React$1.FC<ReadAlsoProps>;
277
+
278
+ interface ScrollProgressBarProps extends React$1.HTMLAttributes<HTMLDivElement> {
279
+ colorScheme?: ColorSchemeTheme$1;
280
+ hasLimit?: boolean;
281
+ variant?: 'article-mobile';
282
+ }
283
+ declare const ScrollProgressBar: React$1.FC<ScrollProgressBarProps>;
284
+
285
+ interface SectionProps {
286
+ inner?: boolean;
287
+ children: React$1.ReactNode;
288
+ }
289
+ declare const Section: React$1.FC<SectionProps>;
290
+
291
+ interface SelectProps extends React$1.SelectHTMLAttributes<HTMLSelectElement> {
292
+ options: {
293
+ value: string;
294
+ title: string;
295
+ }[];
296
+ label?: string;
297
+ placeholder?: string;
298
+ }
299
+ declare const Select: React$1.FC<SelectProps>;
300
+
301
+ interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement> {
302
+ variant: 'button' | 'icon' | 'connexion';
303
+ }
304
+ declare const Skeleton: React$1.FC<SkeletonProps>;
305
+
306
+ interface SwitchProps {
307
+ id?: string;
308
+ className?: string;
309
+ label?: string;
310
+ isChecked?: boolean;
311
+ }
312
+ declare const Switch: React$1.ForwardRefExoticComponent<SwitchProps & React$1.RefAttributes<HTMLButtonElement>>;
313
+
314
+ interface SwitchDarkModeProps {
315
+ id?: string;
316
+ label?: string;
317
+ isChecked?: boolean;
318
+ }
319
+ declare const SwitchDarkMode: ({ id, label, isChecked }: SwitchDarkModeProps) => JSX.Element;
320
+
321
+ interface TabProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
322
+ variant?: TabType$1;
323
+ name: string;
324
+ colorScheme?: ColorSchemeTheme$1;
325
+ isSelected?: boolean;
326
+ index?: 0 | -1;
327
+ }
328
+ declare const Tab: React$1.FC<TabProps>;
329
+
330
+ interface TabPanelProps {
331
+ name: string;
332
+ children: React$1.ReactNode;
333
+ isHidden?: boolean;
334
+ }
335
+ declare const TabPanel: React$1.FC<TabPanelProps>;
336
+
337
+ interface TagProps extends Omit<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, 'id'> {
338
+ children?: React$1.ReactNode;
339
+ id?: number;
340
+ link?: string;
341
+ variant?: 'primary' | 'secondary' | 'breadcrumb';
342
+ colorScheme?: ColorSchemeTheme$1;
343
+ }
344
+ declare const Tag: React$1.FC<TagProps>;
345
+
346
+ interface TypographyProps<HTMLElementType> extends React$1.HTMLAttributes<Partial<HTMLElementType>> {
347
+ as?: keyof HTMLElementType;
348
+ color?: ColorSchemeTheme$1;
349
+ children?: React$1.ReactNode;
350
+ }
351
+
352
+ type HeadingHTMLElementType = Pick<JSX.IntrinsicElements, 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'>;
353
+ interface HeadingProps extends TypographyProps<HeadingHTMLElementType> {
354
+ variant?: 'default' | 'secondary';
355
+ }
356
+ declare const Heading: React$1.FC<HeadingProps>;
357
+
358
+ type TextHTMLElementType = Pick<JSX.IntrinsicElements, 'p' | 'span' | 'strong' | 'em'>;
359
+ interface TextProps extends TypographyProps<TextHTMLElementType> {
360
+ variant?: 'default' | 'secondary';
361
+ }
362
+ declare const Text: React$1.FC<TextProps>;
363
+
364
+ interface ArticleContentProps {
365
+ content: RawDraftContentState;
366
+ colorScheme?: ColorSchemeTheme$1;
367
+ }
368
+ declare const ArticleContent: React$1.FC<ArticleContentProps>;
369
+
370
+ interface ArticleHeaderProps {
371
+ title: string;
372
+ lead: string;
373
+ label: string;
374
+ colorScheme?: ColorType$1;
375
+ rightImageUrl?: string;
376
+ }
377
+ declare const ArticleHeader: React$1.FC<ArticleHeaderProps>;
378
+
379
+ interface ArticleImageCoverProps {
380
+ src: string;
381
+ caption: string;
382
+ isCaptionInside?: boolean;
383
+ layout?: LayoutType$1;
384
+ }
385
+ declare const ArticleImageCover: React$1.FC<ArticleImageCoverProps>;
386
+
387
+ interface ArticleSummaryProps {
388
+ summary: RawDraftContentState;
389
+ colorScheme?: ColorSchemeTheme$1;
390
+ }
391
+ declare const ArticleSummary: React$1.FC<ArticleSummaryProps>;
392
+
393
+ interface ArticleVideoCoverProps {
394
+ src: string;
395
+ caption: string;
396
+ }
397
+ declare const ArticleVideoCover: React$1.FC<ArticleVideoCoverProps>;
398
+
399
+ interface BreadcrumbProps {
400
+ rubric: {
401
+ label: string;
402
+ link?: string;
403
+ };
404
+ parentRubric?: {
405
+ label: string;
406
+ link?: string;
407
+ };
408
+ tags?: {
409
+ label: string;
410
+ link?: string;
411
+ }[];
412
+ colorScheme?: ColorSchemeTheme$1;
413
+ layout?: LayoutType$1;
414
+ }
415
+ declare const Breadcrumb: React$1.FC<BreadcrumbProps>;
416
+
417
+ interface CardProps extends FlexProps$2 {
418
+ link: string;
419
+ children: React__default.ReactNode;
420
+ }
421
+ declare const Card: React__default.FC<CardProps>;
422
+
423
+ interface CardExtraLargeProps {
424
+ link: string;
425
+ cardHeaderProps: CardHeaderProps$1;
426
+ title: string;
427
+ summary: string;
428
+ cover: string;
429
+ signatureProps: SignatureProps$1;
430
+ socialBarProps: SocialBarProps$1;
431
+ layout?: LayoutType$1;
432
+ }
433
+ declare const CardExtraLarge: React__default.FC<CardExtraLargeProps>;
434
+
435
+ interface CardExtraSmallProps {
436
+ link: string;
437
+ cardHeaderProps: CardHeaderProps$1;
438
+ title: string;
439
+ cover: string;
440
+ socialBarProps?: SocialBarProps$1;
441
+ }
442
+ declare const CardExtraSmall: React__default.FC<CardExtraSmallProps>;
443
+
444
+ interface CardHeaderProps extends BoxProps$1 {
445
+ headline: string;
446
+ color?: ColorType$1;
447
+ subheader?: string;
448
+ }
449
+ declare const CardHeader: React__default.FC<CardHeaderProps>;
450
+
451
+ interface CardLargeProps {
452
+ link: string;
453
+ headline: string;
454
+ color: ColorType$1;
455
+ title: string;
456
+ summary: string;
457
+ cover: string;
458
+ signatureProps: SignatureProps$1;
459
+ socialBarProps: SocialBarProps$1;
460
+ layout?: LayoutType$1;
461
+ }
462
+ declare const CardLarge: React__default.FC<CardLargeProps>;
463
+
464
+ interface CardMediumProps {
465
+ link: string;
466
+ cardHeaderProps: CardHeaderProps$1;
467
+ title: string;
468
+ cover: string;
469
+ socialBarProps?: SocialBarProps$1;
470
+ layout?: LayoutType$1;
471
+ }
472
+ declare const CardMedium: React__default.FC<CardMediumProps>;
473
+
474
+ interface CardMostReadProps {
475
+ link: string;
476
+ cardHeaderProps: CardHeaderProps$1;
477
+ cover?: string;
478
+ title: string;
479
+ index: string;
480
+ summary?: string;
481
+ viewCount?: number;
482
+ layout?: LayoutType$1;
483
+ isSimplified: boolean;
484
+ withBorder: boolean;
485
+ }
486
+ declare const CardMostRead: React$1.FC<CardMostReadProps>;
487
+
488
+ interface CardOverviewProps {
489
+ cover: string;
490
+ link: string;
491
+ headline: string;
492
+ title: string;
493
+ colorScheme?: ColorType$1;
494
+ }
495
+ declare function CardOverview({ link, cover, headline, title, colorScheme }: CardOverviewProps): JSX.Element;
496
+
497
+ interface CardSmallProps {
498
+ link: string;
499
+ cardHeaderProps: CardHeaderProps$1;
500
+ title: string;
501
+ cover: string;
502
+ layout?: LayoutType$1;
503
+ }
504
+ declare const CardSmall: React__default.FC<CardSmallProps>;
505
+
506
+ interface CategoryCardsProps {
507
+ articles: CardSmallProps$1[];
508
+ label: string;
509
+ layout?: LayoutType$1;
510
+ }
511
+ declare const CategoryCards: React$1.FC<CategoryCardsProps>;
512
+
513
+ interface CollapseProps extends React$1.HTMLAttributes<HTMLDivElement> {
514
+ headingClass?: string;
515
+ listClass?: string;
516
+ title: string;
517
+ iconClass?: string;
518
+ btnClass?: string;
519
+ isOpen?: boolean;
520
+ index: number;
521
+ }
522
+ declare const Collapse: React$1.FC<CollapseProps>;
523
+
524
+ interface ErrorContentProps {
525
+ statusCode: '404' | '500';
526
+ }
527
+ declare const ErrorContent: React$1.FC<ErrorContentProps>;
528
+
529
+ interface FooterCategoriesProps {
530
+ layout?: LayoutType$1;
531
+ categories: {
532
+ name: string;
533
+ links: {
534
+ name: string;
535
+ url: string;
536
+ }[];
537
+ }[];
538
+ }
539
+ declare const FooterCategories: React$1.FC<FooterCategoriesProps>;
540
+
541
+ interface FooterLinksProps {
542
+ listClass?: string;
543
+ footerBar: {
544
+ links: {
545
+ name: string;
546
+ url: string;
547
+ javascript?: string;
548
+ }[];
549
+ }[];
550
+ }
551
+ declare const FooterLinks: React$1.FC<FooterLinksProps>;
552
+
553
+ interface HeaderBannerProps {
554
+ title: string;
555
+ subtitle: string;
556
+ icon?: IconHoroscopeName$1;
557
+ variant?: 'lightBlue' | 'darkBlue' | 'yellow' | 'orange' | 'transparent';
558
+ classname?: string;
559
+ }
560
+ declare const HeaderBanner: React$1.FC<HeaderBannerProps>;
561
+
562
+ interface HeaderPageProps {
563
+ title: string;
564
+ subtitle?: string | RawDraftContentState;
565
+ colorScheme?: ColorSchemeTheme$1;
566
+ isExpandable?: boolean;
567
+ }
568
+ declare const HeaderPage: React$1.FC<HeaderPageProps>;
569
+
570
+ interface HeaderSideModalProps extends ButtonProps$1 {
571
+ dialogId: string;
572
+ ariaLabel?: string;
573
+ modalIconSize?: number | number[];
574
+ }
575
+ declare const HeaderSideModal: React$1.FC<HeaderSideModalProps>;
576
+
577
+ interface HoroscopeContentProps {
578
+ topics: HoroscopeTopicCardProps$1[];
579
+ infoBannerProps: InfoBannerProps$1;
580
+ }
581
+ declare const HoroscopeContent: React$1.FC<HoroscopeContentProps>;
582
+
583
+ interface HoroscopeHomepageContentProps {
584
+ signsContent: {
585
+ heading: HeaderBannerProps$1;
586
+ topics: HoroscopeTopicCardProps$1[];
587
+ link: LinkProps$1;
588
+ }[];
589
+ layout?: LayoutType$1;
590
+ }
591
+ declare const HoroscopeHomepageContent: React$1.FC<HoroscopeHomepageContentProps>;
592
+
593
+ interface HoroscopeTilesProps {
594
+ horoscopeSignsList: {
595
+ label: string;
596
+ slug: string;
597
+ url: string;
598
+ }[];
599
+ }
600
+ declare const HoroscopeTiles: React$1.FC<HoroscopeTilesProps>;
601
+
602
+ interface HoroscopeTopicCardProps {
603
+ icon: IconName$1;
604
+ title: string;
605
+ content: string;
606
+ withBorder?: boolean;
607
+ classnames?: string;
608
+ }
609
+ declare const HoroscopeTopicCard: React$1.FC<HoroscopeTopicCardProps>;
610
+
611
+ interface InfoBannerProps extends React$1.HTMLAttributes<HTMLDivElement> {
612
+ title: string;
613
+ description: string;
614
+ }
615
+ declare const InfoBanner: React$1.FC<InfoBannerProps>;
616
+
617
+ interface LiveCardsProps {
618
+ articles: CardMediumProps$1[];
619
+ layout?: LayoutType$1;
620
+ }
621
+ declare const LiveCards: React$1.FC<LiveCardsProps>;
622
+
623
+ interface MenuProps {
624
+ categories: {
625
+ name: string;
626
+ categoryLink?: string;
627
+ theme?: ColorSchemeTheme$1;
628
+ links: LinkProps$1[];
629
+ tags?: TagProps$1[];
630
+ }[];
631
+ tagsActu: TagProps$1[];
632
+ layout: LayoutType$1;
633
+ searchFormUrl?: string;
634
+ }
635
+ declare const Menu: React$1.FC<MenuProps>;
636
+
637
+ interface MostReadArticlesProps {
638
+ tabItems: {
639
+ name: string;
640
+ title: string;
641
+ body: {
642
+ rubricSlug: string;
643
+ rubricName: string;
644
+ title: string;
645
+ url: string;
646
+ }[];
647
+ }[];
648
+ tabItemActive?: string;
649
+ }
650
+ declare const MostReadArticles: React$1.FC<MostReadArticlesProps>;
651
+
652
+ interface NewsletterProps extends React$1.HTMLAttributes<HTMLDivElement> {
653
+ title: string;
654
+ description: string;
655
+ placeholder: string;
656
+ buttonLabel: string;
657
+ checkboxLabel: string;
658
+ colorScheme?: Extract<ColorSchemeTheme$1, 'planet' | 'sport' | 'entertainment'>;
659
+ layout?: LayoutType$1;
660
+ }
661
+ declare const Newsletter: React$1.FC<NewsletterProps>;
662
+
663
+ interface OverviewBarProps {
664
+ articles: CardOverviewProps$1[];
665
+ layout?: LayoutType$1;
666
+ }
667
+ declare function OverviewBar({ articles, layout }: OverviewBarProps): JSX.Element;
668
+
669
+ interface PartnerCardsProps {
670
+ columns: {
671
+ label: string;
672
+ articles: CardMediumProps$1[] | CardExtraSmallProps$1[];
673
+ }[];
674
+ }
675
+ declare const PartnerCards: React$1.FC<PartnerCardsProps>;
676
+
677
+ interface SearchFormProps extends React$1.HTMLAttributes<HTMLFormElement> {
678
+ id: string;
679
+ url: string;
680
+ className?: string;
681
+ }
682
+ declare const SearchForm: React$1.FC<SearchFormProps>;
683
+
684
+ interface SignatureProps extends FlexProps$1 {
685
+ avatar: string;
686
+ username: string;
687
+ publishedAt: string;
688
+ editedAt: string;
689
+ userlink?: string;
690
+ }
691
+ declare const Signature: React$1.FC<SignatureProps>;
692
+
693
+ interface SmartBannerProps {
694
+ icon: IconName$1;
695
+ iconClassNames?: string;
696
+ iconSize?: number | number[];
697
+ className?: string;
698
+ }
699
+ declare const SmartBanner: React$1.FC<SmartBannerProps>;
700
+
701
+ interface SocialBarProps extends BoxProps$1 {
702
+ layout?: LayoutType$1;
703
+ variant?: 'advanced' | 'simple';
704
+ commentCount: number;
705
+ shareCount: number;
706
+ colorScheme?: ColorSchemeTheme$1;
707
+ }
708
+ declare function SocialBar({ variant, commentCount, shareCount, colorScheme, layout, ...boxProps }: SocialBarProps): JSX.Element;
709
+
710
+ interface SocialIconsProps {
711
+ socialIcons: {
712
+ icons: {
713
+ name: IconName$1;
714
+ url: string;
715
+ }[];
716
+ }[];
717
+ }
718
+ declare const SocialIcons: React$1.FC<SocialIconsProps>;
719
+
720
+ interface TabsProps {
721
+ tabItems: {
722
+ name: string;
723
+ title: string;
724
+ content: React$1.ReactNode;
725
+ }[];
726
+ tabItemActive?: string;
727
+ tabVariant?: TabType$1;
728
+ }
729
+ declare const Tabs: React$1.FC<TabsProps>;
730
+
731
+ interface TagBarProps extends React$1.HTMLAttributes<HTMLDivElement> {
732
+ tags: TagProps$1[];
733
+ }
734
+ declare const TagBar: React$1.FC<TagBarProps>;
735
+
736
+ interface TilesProps extends LinkProps$1 {
737
+ icon: IconName$1;
738
+ iconClassNames?: string;
739
+ iconSize?: number | number[];
740
+ className?: string;
741
+ }
742
+ declare const Tiles: React$1.FC<TilesProps>;
743
+
744
+ interface FooterProps extends FooterCategoriesProps$1, FooterLinksProps$1, SocialIconsProps$1 {
745
+ layout: LayoutType$1;
746
+ }
747
+ declare const Footer: React$1.FC<FooterProps>;
748
+
749
+ interface HeaderDesktopProps {
750
+ headerLinks: {
751
+ name: string;
752
+ url: string;
753
+ theme?: string;
754
+ }[];
755
+ dividerColor?: ColorSchemeTheme$1;
756
+ logoLink: string;
757
+ searchFormUrl: string;
758
+ }
759
+
760
+ interface HeaderProps extends HeaderDesktopProps {
761
+ layout: LayoutType$1;
762
+ }
763
+ declare const Header: React$1.FC<HeaderProps>;
764
+
765
+ export { Ad, AdProps, Alert, AlertProps, AlignContentType, AlignItemsType, AlignSelfType, ArticleContent, ArticleContentProps, ArticleHeader, ArticleHeaderProps, ArticleImageCover, ArticleImageCoverProps, ArticleSummary, ArticleSummaryProps, ArticleVideoCover, ArticleVideoCoverProps, Avatar, AvatarProps, Box, BoxProps, Breadcrumb, BreadcrumbProps, Button, ButtonProps, Card, CardExtraLarge, CardExtraLargeProps, CardExtraSmall, CardExtraSmallProps, CardHeader, CardHeaderProps, CardLarge, CardLargeProps, CardMedium, CardMediumProps, CardMostRead, CardMostReadProps, CardOverview, CardOverviewProps, CardProps, CardSmall, CardSmallProps, CategoryCards, CategoryCardsProps, Checkbox, CheckboxProps, Collapse, CollapseProps, Color, ColorSchemeBrand, ColorSchemeGeneric, ColorSchemeTheme, ColorSystemProps, ColorType, ColsNumberGridType, Divider, DividerProps, DividerSection, DividerSectionProps, ErrorContent, ErrorContentProps, Flex, FlexBasisType, FlexDirectionType, FlexItem, FlexItemProps, FlexOrGridBoxItemSystemProps, FlexOrGridBoxSystemProps, FlexProps, FlexWrapType, Footer, FooterCategories, FooterCategoriesProps, FooterLinks, FooterLinksProps, FooterProps, Grid, GridProps, Header, HeaderBanner, HeaderBannerProps, HeaderPage, HeaderPageProps, HeaderProps, HeaderSideModal, HeaderSideModalProps, Heading, HeadingProps, HoroscopeContent, HoroscopeContentProps, HoroscopeHomepageContent, HoroscopeHomepageContentProps, HoroscopeTiles, HoroscopeTilesProps, HoroscopeTopicCard, HoroscopeTopicCardProps, Icon, IconHoroscopeName, IconName, IconProps, IconSizeType, Img, ImgProps, InfoBanner, InfoBannerProps, InlineSeparator, Input, InputProps, JustifyContentType, Label, LabelProps, LabelSection, LabelSectionProps, LayoutType, Link, LinkProps, LiveCards, LiveCardsProps, MarginSystemProps, MediaQueryType, Menu, MenuProps, Meta, MetaProps, Modal, ModalProps, MostReadArticles, MostReadArticlesProps, Newsletter, NewsletterProps, OverviewBar, OverviewBarProps, PaddingSystemProps, PartnerCards, PartnerCardsProps, Pipe, PolymorphicProps, PolymorphicRef, ReadAlso, ReadAlsoProps, ScrollProgressBar, ScrollProgressBarProps, SearchForm, SearchFormProps, Section, SectionProps, Select, SelectProps, Signature, SignatureProps, Skeleton, SkeletonProps, SmartBanner, SmartBannerProps, SocialBar, SocialBarProps, SocialIcons, SocialIconsProps, SpacingSystemProps, SpacingType, SvgSprite, Switch, SwitchDarkMode, SwitchDarkModeProps, SwitchProps, SystemProps, Tab, TabPanel, TabPanelProps, TabProps, TabType, Tabs, TabsProps, Tag, TagBar, TagBarProps, TagProps, Text, TextProps, ThemeType, Tiles, TilesProps, TypeWithMediaQueriesType, TypeWithModifierType, TypeWithThemeType, colsNumberGridList, useLayoutEffect };