@20minutes/hela 0.1.107 → 0.1.109
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/components/molecules/Card/CardTitle/CardTitle.d.ts +1 -1
- package/dist/components/molecules/Card/Templates/CardExtraSmall/CardExtraSmall.d.ts +1 -2
- package/dist/components/molecules/ContactDetailsBlock/ContactDetailsBlock.d.ts +11 -0
- package/dist/components/molecules/ContactDetailsBlock/index.d.ts +1 -0
- package/dist/components/molecules/MostReadArticles/MostReadArticles.d.ts +1 -2
- package/dist/components/molecules/index.d.ts +1 -0
- package/dist/constants/cssProperties/typography.d.ts +1 -1
- package/dist/constants/tokenVariables.d.ts +10 -0
- package/dist/index.es.js +1984 -1919
- package/dist/index.umd.js +2 -2
- package/dist/js/scripts.es.js +84 -82
- package/dist/js/scripts.umd.js +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +2 -1
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/style.css +1 -1
- package/package.json +9 -9
|
@@ -2,6 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import type { BoxProps, HeadingProps } from '../../../../components';
|
|
3
3
|
export interface CardTitleProps extends Pick<HeadingProps, 'as' | 'size' | 'fontFamily' | 'weight' | 'children'>, BoxProps {
|
|
4
4
|
cartridge?: 'exclusive' | 'alert' | 'live';
|
|
5
|
-
|
|
5
|
+
maxRows?: 3 | 4 | 5;
|
|
6
6
|
}
|
|
7
7
|
export declare const CardTitle: React.FC<CardTitleProps>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { BoxProps, SocialBarProps } from '../../../../../components';
|
|
3
|
-
import type { CardType,
|
|
3
|
+
import type { CardType, SystemProps } from '../../../../../types';
|
|
4
4
|
import { LayoutType } from '../../../../../types';
|
|
5
5
|
export interface CardExtraSmallProps extends CardType, SystemProps, Pick<BoxProps, 'className'> {
|
|
6
6
|
layout: LayoutType;
|
|
7
7
|
socialBarProps?: SocialBarProps;
|
|
8
|
-
contentGap?: FlexOrGridBoxSystemProps['gap'];
|
|
9
8
|
}
|
|
10
9
|
export declare const CardExtraSmall: React.FC<CardExtraSmallProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { FlexProps } from '../../../components/atoms';
|
|
3
|
+
import { LayoutType } from '../../../types';
|
|
4
|
+
export interface ContactDetailsBlockProps extends FlexProps {
|
|
5
|
+
adressName?: string;
|
|
6
|
+
adress?: string[];
|
|
7
|
+
phoneNumber?: string;
|
|
8
|
+
mail?: string;
|
|
9
|
+
layout?: LayoutType;
|
|
10
|
+
}
|
|
11
|
+
export declare const ContactDetailsBlock: React.FC<ContactDetailsBlockProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ContactDetailsBlock';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { BoxProps } from '../../../components';
|
|
3
|
-
import type {
|
|
3
|
+
import type { LayoutType } from '../../../types';
|
|
4
4
|
export interface MostReadArticlesProps extends BoxProps {
|
|
5
5
|
tabItems: {
|
|
6
6
|
name: string;
|
|
@@ -16,6 +16,5 @@ export interface MostReadArticlesProps extends BoxProps {
|
|
|
16
16
|
}[];
|
|
17
17
|
tabItemActive?: string;
|
|
18
18
|
layout: LayoutType;
|
|
19
|
-
cardTitleProps?: CardType['cardTitleProps'];
|
|
20
19
|
}
|
|
21
20
|
export declare const MostReadArticles: React.FC<MostReadArticlesProps>;
|
|
@@ -2,6 +2,6 @@ export declare const textDecorationList: readonly ["underline", "dotted", "wavy"
|
|
|
2
2
|
export declare const textAlignList: readonly ["left", "center", "right", "justify"];
|
|
3
3
|
export declare const textTransformList: readonly ["capitalize", "uppercase", "lowercase"];
|
|
4
4
|
export declare const fontFamilyTokenNameList: readonly ("oswald" | "source-serif-pro")[];
|
|
5
|
-
export declare const fontWeightTokenNameList: readonly ("regular" | "bold")[];
|
|
5
|
+
export declare const fontWeightTokenNameList: readonly ("regular" | "semi-bold" | "bold")[];
|
|
6
6
|
export declare const headingSizeTokenNameList: readonly ("xs" | "xxs-2" | "xxs" | "s" | "m" | "l" | "xl" | "xxl" | "xxl-2")[];
|
|
7
7
|
export declare const textSizeTokenNameList: readonly ("xs" | "xxs-3" | "xxs-2" | "xxs" | "s" | "m" | "l" | "xl" | "xxl")[];
|
|
@@ -29,6 +29,13 @@ export declare const tokenVariables: {
|
|
|
29
29
|
style: string;
|
|
30
30
|
extensions: string[];
|
|
31
31
|
};
|
|
32
|
+
'SourceSerifPro-SemiBold': {
|
|
33
|
+
value: string;
|
|
34
|
+
family: string;
|
|
35
|
+
weight: string;
|
|
36
|
+
style: string;
|
|
37
|
+
extensions: string[];
|
|
38
|
+
};
|
|
32
39
|
};
|
|
33
40
|
icon: {
|
|
34
41
|
'20mn-achat': {
|
|
@@ -473,6 +480,9 @@ export declare const tokenVariables: {
|
|
|
473
480
|
regular: {
|
|
474
481
|
value: string;
|
|
475
482
|
};
|
|
483
|
+
'semi-bold': {
|
|
484
|
+
value: string;
|
|
485
|
+
};
|
|
476
486
|
bold: {
|
|
477
487
|
value: string;
|
|
478
488
|
};
|