@20minutes/hela 0.1.52 → 0.1.53

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.
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { BoxProps } from '../../../components';
3
- export declare type IconName = '20mn-pub' | 'apple' | 'arrow' | 'bookmark' | 'chevron' | 'close' | 'clover' | 'comment' | 'connect' | 'connected' | 'dailymotion' | 'darkmode' | 'diaporama' | 'diode-rubric-entertainment' | 'diode-leaning' | 'diode-rubric-planet' | 'diode-rubric-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' | 'video' | 'view' | 'youtube' | 'work';
3
+ export declare type IconName = '20mn-pub' | 'apple' | 'arrow' | 'bookmark' | 'chevron' | 'close' | 'clover' | 'comment' | 'connect' | 'connected' | 'dailymotion' | 'darkmode' | 'diaporama' | 'diode-rubric-entertainment' | 'diode-leaning' | 'diode-rubric-planet' | 'diode-rubric-sport' | 'diode' | 'error' | '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' | 'video' | 'view' | 'youtube' | 'work';
4
4
  export declare 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';
5
5
  export interface IconProps extends BoxProps<'div'> {
6
6
  name: IconName | IconHoroscopeName;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { ButtonProps, IconName } from '../../../components';
3
- import { ColorType } from '../../../types';
2
+ import type { ButtonProps, IconName, TextProps } from '../../../components';
3
+ import type { ColorType } from '../../../types';
4
4
  export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
5
5
  label?: string;
6
6
  icon?: IconName;
@@ -9,7 +9,7 @@ export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>
9
9
  iconButtonProps?: ButtonProps;
10
10
  variant?: 'success' | 'error';
11
11
  msg?: string;
12
- variantMsg?: 'default' | 'error' | 'success';
12
+ msgProps?: TextProps;
13
13
  color?: ColorType;
14
14
  }
15
15
  export declare const Input: React.FC<InputProps>;
@@ -1,4 +1,36 @@
1
1
  export declare const tokenVariables: {
2
+ asset: {
3
+ font: {
4
+ 'Oswald-Bold': {
5
+ value: string;
6
+ family: string;
7
+ weight: string;
8
+ style: string;
9
+ extensions: string[];
10
+ };
11
+ 'SourceSerifPro-Regular': {
12
+ value: string;
13
+ family: string;
14
+ weight: string;
15
+ style: string;
16
+ extensions: string[];
17
+ };
18
+ 'SourceSerifPro-Italic': {
19
+ value: string;
20
+ family: string;
21
+ weight: string;
22
+ style: string;
23
+ extensions: string[];
24
+ };
25
+ 'SourceSerifPro-Bold': {
26
+ value: string;
27
+ family: string;
28
+ weight: string;
29
+ style: string;
30
+ extensions: string[];
31
+ };
32
+ };
33
+ };
2
34
  breakpoint: {
3
35
  xs: {
4
36
  value: string;
@@ -55,6 +87,9 @@ export declare const tokenVariables: {
55
87
  red: {
56
88
  value: string;
57
89
  };
90
+ error: {
91
+ value: string;
92
+ };
58
93
  gold: {
59
94
  value: string;
60
95
  };