@20minutes/hela 2.21.10 → 2.21.12
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/assets/scripts/countdown.d.ts +1 -2
- package/dist/components/atoms/Icon/SvgSprite.d.ts +1 -1
- package/dist/components/atoms/Iframe/Iframe.d.ts +1 -1
- package/dist/components/atoms/Tag/Tag.d.ts +1 -1
- package/dist/components/molecules/Countdown/Countdown.d.ts +2 -1
- package/dist/components/molecules/Header/HeaderMini/HeaderMini.d.ts +1 -1
- package/dist/components/molecules/Maps/MapTownsByDepartments/MapTownsByDepartments.d.ts +1 -1
- package/dist/components/molecules/Sponsor/Sponsor.d.ts +1 -0
- package/dist/components/organisms/Ranking/Ranking.d.ts +1 -1
- package/dist/constants/tokenVariables.d.ts +8 -4
- package/dist/index.es.js +952 -880
- package/dist/index.umd.cjs +1 -1
- package/dist/js/scripts.es.js +316 -309
- package/dist/js/scripts.umd.cjs +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/style.css +1 -1
- package/dist/types/Window.d.ts +0 -7
- package/package.json +14 -14
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const listenerOfCountdown: (counter: keyof CountersType, targetID: string) => void;
|
|
1
|
+
export declare const listenerOfCountdown: () => void;
|
|
@@ -5,4 +5,4 @@ export interface IframeProps extends BoxProps {
|
|
|
5
5
|
htmlIframeProps: React.IframeHTMLAttributes<HTMLIFrameElement>;
|
|
6
6
|
ratio?: 'auto' | 'square' | 'video' | 'landscape' | 'portrait';
|
|
7
7
|
}
|
|
8
|
-
export declare function Iframe({ title, ratio, htmlIframeProps, ...boxProps }: IframeProps):
|
|
8
|
+
export declare function Iframe({ title, ratio, htmlIframeProps, ...boxProps }: IframeProps): React.JSX.Element;
|
|
@@ -4,7 +4,7 @@ export interface TagOptions {
|
|
|
4
4
|
variant?: 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'quinary' | 'span' | 'transparent';
|
|
5
5
|
}
|
|
6
6
|
export interface TagSize {
|
|
7
|
-
size?: '
|
|
7
|
+
size?: 'small';
|
|
8
8
|
}
|
|
9
9
|
export type TagProps<T extends As = 'a'> = TagOptions & TagSize & BoxProps<T>;
|
|
10
10
|
export declare const Tag: import('../../../types').ComponentWithAs<"div", TagProps<"a">>;
|
|
@@ -4,7 +4,8 @@ import { LayoutType } from '../../../types';
|
|
|
4
4
|
import { CountdownItemProps } from './CountdownItem';
|
|
5
5
|
export interface CountdownProps extends FlexProps {
|
|
6
6
|
title: string;
|
|
7
|
-
|
|
7
|
+
endDate: string;
|
|
8
|
+
id?: string;
|
|
8
9
|
iconName?: IconOptions['name'];
|
|
9
10
|
layout: LayoutType;
|
|
10
11
|
colorItemCounter?: CountdownItemProps['colorCounter'];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { FlexProps, HeaderProps } from '../../..';
|
|
3
3
|
import { ThemeColorType } from '../../../../types';
|
|
4
|
-
export interface HeaderMiniProps extends Pick<HeaderProps, 'logoHref' | 'headerLinks'>, FlexProps {
|
|
4
|
+
export interface HeaderMiniProps extends Pick<HeaderProps, 'logoHref' | 'headerLinks' | 'layout'>, FlexProps {
|
|
5
5
|
isArticlePage?: boolean;
|
|
6
6
|
shortTitle?: string;
|
|
7
7
|
isHidden?: boolean;
|
|
@@ -27,5 +27,5 @@ export interface MapTownsByDepartmentsProps extends BoxProps {
|
|
|
27
27
|
townsSprite?: string;
|
|
28
28
|
className?: string;
|
|
29
29
|
}
|
|
30
|
-
export declare const MapTownsByDepartments: ({ layout, resultsPerTown, departmentsPaths, dromsConfig, townsSprite, className, ...boxProps }: MapTownsByDepartmentsProps) => import("react
|
|
30
|
+
export declare const MapTownsByDepartments: ({ layout, resultsPerTown, departmentsPaths, dromsConfig, townsSprite, className, ...boxProps }: MapTownsByDepartmentsProps) => import("react").JSX.Element;
|
|
31
31
|
export {};
|
|
@@ -5,5 +5,6 @@ export interface SponsorProps extends FlexProps {
|
|
|
5
5
|
sponsor: SponsorType;
|
|
6
6
|
variant: 'header-dedicated-desktop' | 'header-dedicated-mobile' | 'header-sponsored-desktop' | 'header-sponsored-mobile' | 'menu' | 'signature';
|
|
7
7
|
hasText?: boolean;
|
|
8
|
+
isInline?: boolean;
|
|
8
9
|
}
|
|
9
10
|
export declare const Sponsor: React.FC<SponsorProps>;
|
|
@@ -14,5 +14,5 @@ export interface RankingProps extends BoxProps {
|
|
|
14
14
|
layout: LayoutType;
|
|
15
15
|
playerData?: RankingPlayer[];
|
|
16
16
|
}
|
|
17
|
-
export declare const Ranking: ({ playerData, layout, ...boxProps }: RankingProps) => import("react
|
|
17
|
+
export declare const Ranking: ({ playerData, layout, children, ...boxProps }: RankingProps) => import("react").JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -43,10 +43,6 @@ export declare const tokenVariables: {
|
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
icon: {
|
|
46
|
-
'20mn-pub': {
|
|
47
|
-
value: string;
|
|
48
|
-
key: string;
|
|
49
|
-
};
|
|
50
46
|
apple: {
|
|
51
47
|
value: string;
|
|
52
48
|
key: string;
|
|
@@ -243,6 +239,10 @@ export declare const tokenVariables: {
|
|
|
243
239
|
value: string;
|
|
244
240
|
key: string;
|
|
245
241
|
};
|
|
242
|
+
lock: {
|
|
243
|
+
value: string;
|
|
244
|
+
key: string;
|
|
245
|
+
};
|
|
246
246
|
logo: {
|
|
247
247
|
value: string;
|
|
248
248
|
key: string;
|
|
@@ -327,6 +327,10 @@ export declare const tokenVariables: {
|
|
|
327
327
|
value: string;
|
|
328
328
|
key: string;
|
|
329
329
|
};
|
|
330
|
+
'pub-20mn': {
|
|
331
|
+
value: string;
|
|
332
|
+
key: string;
|
|
333
|
+
};
|
|
330
334
|
puzzle: {
|
|
331
335
|
value: string;
|
|
332
336
|
key: string;
|