@20minutes/hela 2.17.9 → 2.18.1

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.
@@ -56,7 +56,7 @@ $political-parties-colors: (
56
56
  'union-extreme-droite': #00152a,
57
57
  'divers-extreme-droite': #031322,
58
58
 
59
- 'divers': #818181,
59
+ 'divers': #c0c0c0,
60
60
  'changement-citoyen': #818181,
61
61
  'decidons-nous-meme': #818181,
62
62
  'parti-animaliste': #818181,
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 18 Mar 2026 15:34:24 GMT
3
+ * Generated on Fri, 20 Mar 2026 15:30:43 GMT
4
4
  */
5
5
 
6
6
  $token-variables: (
@@ -1,12 +1,11 @@
1
1
  import { default as React } from 'react';
2
2
  import { BoxProps } from '../..';
3
- import { ThemeColorType } from '../../../types';
3
+ import { ColorType, PoliticalPartiesColorsType } from '../../../types';
4
4
  export interface AvatarProps extends BoxProps {
5
5
  img?: string;
6
6
  alt?: string;
7
- themeColor?: ThemeColorType;
7
+ color?: ColorType | PoliticalPartiesColorsType;
8
8
  variant?: 'xsmall' | 'small' | 'default' | 'big';
9
- withBorder?: boolean;
10
9
  streakBadge?: number;
11
10
  }
12
11
  export declare const Avatar: React.FC<AvatarProps>;
@@ -1,14 +1,14 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
- component: import('react').FC<import('../..').AvatarProps>;
4
+ component: import('react').FC<import('./Avatar').AvatarProps>;
5
5
  args: {
6
6
  img: string;
7
7
  alt: string;
8
8
  variant: "default";
9
9
  };
10
10
  argTypes: {
11
- themeColor: {
11
+ color: {
12
12
  options: string[];
13
13
  };
14
14
  variant: {
@@ -30,7 +30,6 @@ declare const meta: {
30
30
  py?: import('@storybook/csf').InputType | undefined;
31
31
  borderColor?: import('@storybook/csf').InputType | undefined;
32
32
  bg?: import('@storybook/csf').InputType | undefined;
33
- color?: import('@storybook/csf').InputType | undefined;
34
33
  radius?: import('@storybook/csf').InputType | undefined;
35
34
  };
36
35
  parameters: {
@@ -1,5 +1,5 @@
1
1
  import { BoxProps } from '../..';
2
- import { IconNameOfHoroscopeSignType, IconNameType } from '../../../types';
2
+ import { ColorSystemProps, IconNameOfHoroscopeSignType, IconNameType, PoliticalPartiesColorsType } from '../../../types';
3
3
  export declare const rotationList: readonly ["quarter", "half", "three-quarter"];
4
4
  type RotationListType = (typeof rotationList)[number];
5
5
  export declare const borderSizeList: readonly ["small", "medium", "big"];
@@ -11,7 +11,8 @@ export interface IconOptions {
11
11
  border?: BorderSizeListType;
12
12
  rotation?: RotationListType;
13
13
  svgTitle?: string;
14
+ color?: ColorSystemProps['color'] | PoliticalPartiesColorsType;
14
15
  }
15
- export type IconProps = IconOptions & BoxProps;
16
+ export type IconProps = IconOptions & Omit<BoxProps, 'color'>;
16
17
  export declare const Icon: import('../../../types').ComponentWithAs<"div", IconProps>;
17
18
  export {};
@@ -4,6 +4,6 @@ import { AvatarType } from '../../../types/AvatarType';
4
4
  export interface AvatarGroupProps extends FlexProps {
5
5
  avatars: AvatarType[];
6
6
  maxAvatar?: number;
7
- themeColor?: AvatarProps['themeColor'];
7
+ themeColor?: AvatarProps['color'];
8
8
  }
9
9
  export declare const AvatarGroup: React.FC<AvatarGroupProps>;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { BoxProps } from '../../../..';
3
+ export interface CardSkeletonProps extends BoxProps {
4
+ variant: 'medium' | 'extra-small';
5
+ }
6
+ export declare const CardSkeleton: React.FC<CardSkeletonProps>;
@@ -1,26 +1,11 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
- component: import('../../..').ComponentWithAs<"div", import('./Icon').IconProps>;
4
+ component: import('react').FC<import('./CardSkeleton').CardSkeletonProps>;
5
5
  args: {
6
- name: "home";
7
- size: number;
8
- isRounded: false;
9
- svgTitle: string;
6
+ variant: "medium";
10
7
  };
11
8
  argTypes: {
12
- name: {
13
- control: "select";
14
- options: string[];
15
- };
16
- rotation: {
17
- control: "select";
18
- options: readonly ["quarter", "half", "three-quarter"];
19
- };
20
- border: {
21
- control: "select";
22
- options: readonly ["small", "medium", "big"];
23
- };
24
9
  m?: import('@storybook/csf').InputType | undefined;
25
10
  mt?: import('@storybook/csf').InputType | undefined;
26
11
  mr?: import('@storybook/csf').InputType | undefined;
@@ -48,8 +33,5 @@ declare const meta: {
48
33
  };
49
34
  export default meta;
50
35
  type Story = StoryObj<typeof meta>;
51
- export declare const Overview: Story;
52
- export declare const WithBorder: Story;
53
- export declare const WithBgColor: Story;
54
- export declare const Rounded: Story;
55
- export declare const Circle: Story;
36
+ export declare const Medium: Story;
37
+ export declare const ExtraSmall: Story;
@@ -0,0 +1 @@
1
+ export * from './CardSkeleton';
@@ -11,6 +11,7 @@ export * from './CardNotification';
11
11
  export * from './CardOverview';
12
12
  export * from './CardProduct';
13
13
  export * from './CardSideImage';
14
+ export * from './CardSkeleton';
14
15
  export * from './CardSmall';
15
16
  export * from './CardTiny';
16
17
  export * from './CardVertical';
@@ -5,6 +5,7 @@ export interface SearchBannerProps {
5
5
  layout: LayoutType;
6
6
  searchFormProps: SearchFormProps;
7
7
  title?: HeadingProps['children'];
8
+ titleHref?: string;
8
9
  breadcrumbProps?: {
9
10
  label: string;
10
11
  link: string;
@@ -12,7 +12,7 @@ export interface SignatureProps extends FlexProps {
12
12
  userlink?: string;
13
13
  authorHighlighted?: boolean;
14
14
  disableAvatar?: boolean;
15
- themeColor?: AvatarProps['themeColor'];
15
+ themeColor?: AvatarProps['color'];
16
16
  sponsor?: SponsorType;
17
17
  }
18
18
  export declare const Signature: React.FC<SignatureProps>;
@@ -1,4 +1,6 @@
1
+ import { AvatarProps } from '../components';
1
2
  export interface AvatarType {
2
3
  title: string;
3
4
  path?: string;
5
+ color?: AvatarProps['color'];
4
6
  }