@20minutes/hela 2.23.0 → 2.23.2
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/atoms/RadioButton/RadioButton.d.ts +1 -1
- package/dist/components/molecules/Tiles/Tiles.d.ts +9 -2
- package/dist/constants/tokenVariables.d.ts +16 -0
- package/dist/index.es.js +524 -438
- package/dist/index.umd.cjs +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
export interface RadioButtonProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
3
3
|
label?: string;
|
|
4
|
-
variant?: 'warning';
|
|
4
|
+
variant?: 'warning' | 'green';
|
|
5
5
|
}
|
|
6
6
|
export declare const RadioButton: React.FC<RadioButtonProps>;
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { FlexProps, IconProps, TextProps } from '../..';
|
|
3
|
-
import { MarginSystemProps } from '../../../types';
|
|
3
|
+
import { ColorType, MarginSystemProps } from '../../../types';
|
|
4
4
|
export interface TilesProps extends Pick<FlexProps, 'className'>, MarginSystemProps {
|
|
5
|
-
href: string;
|
|
6
5
|
iconProps: IconProps;
|
|
7
6
|
children: TextProps['children'];
|
|
7
|
+
href?: string;
|
|
8
8
|
hasDot?: boolean;
|
|
9
|
+
inputProps?: React.InputHTMLAttributes<HTMLInputElement> & {
|
|
10
|
+
bg?: ColorType;
|
|
11
|
+
selectedBg?: ColorType;
|
|
12
|
+
color?: ColorType;
|
|
13
|
+
selectedColor?: ColorType;
|
|
14
|
+
};
|
|
15
|
+
isSquare?: boolean;
|
|
9
16
|
}
|
|
10
17
|
export declare const Tiles: React.FC<TilesProps>;
|
|
@@ -83,6 +83,10 @@ export declare const tokenVariables: {
|
|
|
83
83
|
value: string;
|
|
84
84
|
key: string;
|
|
85
85
|
};
|
|
86
|
+
cinema: {
|
|
87
|
+
value: string;
|
|
88
|
+
key: string;
|
|
89
|
+
};
|
|
86
90
|
clock: {
|
|
87
91
|
value: string;
|
|
88
92
|
key: string;
|
|
@@ -183,6 +187,10 @@ export declare const tokenVariables: {
|
|
|
183
187
|
value: string;
|
|
184
188
|
key: string;
|
|
185
189
|
};
|
|
190
|
+
gaming: {
|
|
191
|
+
value: string;
|
|
192
|
+
key: string;
|
|
193
|
+
};
|
|
186
194
|
ghost: {
|
|
187
195
|
value: string;
|
|
188
196
|
key: string;
|
|
@@ -307,6 +315,10 @@ export declare const tokenVariables: {
|
|
|
307
315
|
value: string;
|
|
308
316
|
key: string;
|
|
309
317
|
};
|
|
318
|
+
nourriture: {
|
|
319
|
+
value: string;
|
|
320
|
+
key: string;
|
|
321
|
+
};
|
|
310
322
|
'olympic-flame': {
|
|
311
323
|
value: string;
|
|
312
324
|
key: string;
|
|
@@ -391,6 +403,10 @@ export declare const tokenVariables: {
|
|
|
391
403
|
value: string;
|
|
392
404
|
key: string;
|
|
393
405
|
};
|
|
406
|
+
sport: {
|
|
407
|
+
value: string;
|
|
408
|
+
key: string;
|
|
409
|
+
};
|
|
394
410
|
'star-outlined': {
|
|
395
411
|
value: string;
|
|
396
412
|
key: string;
|