@20minutes/hela 2.16.7 → 2.16.9

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
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 26 Feb 2026 10:22:40 GMT
3
+ * Generated on Fri, 27 Feb 2026 13:27:55 GMT
4
4
  */
5
5
 
6
6
  $token-variables: (
@@ -1,7 +1,7 @@
1
1
 
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Thu, 26 Feb 2026 10:22:40 GMT
4
+ * Generated on Fri, 27 Feb 2026 13:27:55 GMT
5
5
  */
6
6
 
7
7
  $jeux: #4742ff !default;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- export interface IconTooltipProps {
2
+ export interface IconTooltipProps extends React.HTMLAttributes<HTMLSpanElement> {
3
3
  text: string;
4
4
  }
5
5
  export declare const IconTooltip: React.FC<IconTooltipProps>;
@@ -5,7 +5,6 @@ export interface LabelProps extends SystemProps, Pick<BoxProps, 'className'> {
5
5
  children: React.ReactNode;
6
6
  hasDot?: boolean;
7
7
  isUppercase?: boolean;
8
- hasBigLineHeight?: boolean;
9
8
  textProps?: TextProps;
10
9
  size?: TextSizeType | TypeWithMediaQueriesType<TextSizeType>;
11
10
  style?: React.CSSProperties;
@@ -1,3 +1,4 @@
1
+ import { LayoutType } from '../../../../../types';
1
2
  import { StoryObj } from '@storybook/react-vite';
2
3
  declare const meta: {
3
4
  title: string;
@@ -17,6 +18,7 @@ declare const meta: {
17
18
  cover: string;
18
19
  };
19
20
  socialBarProps: {
21
+ layout: LayoutType.DESKTOP;
20
22
  commentCount: number;
21
23
  shareCount: number;
22
24
  contentLegacyId: string;
@@ -1,3 +1,4 @@
1
+ import { LayoutType } from '../../../../../../types';
1
2
  import { StoryObj } from '@storybook/react-vite';
2
3
  declare const meta: {
3
4
  title: string;
@@ -17,6 +18,7 @@ declare const meta: {
17
18
  cover: string;
18
19
  };
19
20
  socialBarProps: {
21
+ layout: LayoutType.DESKTOP;
20
22
  commentCount: number;
21
23
  shareCount: number;
22
24
  contentLegacyId: string;
@@ -1,3 +1,4 @@
1
+ import { LayoutType } from '../../../../../types';
1
2
  import { StoryObj } from '@storybook/react-vite';
2
3
  declare const meta: {
3
4
  title: string;
@@ -18,10 +19,10 @@ declare const meta: {
18
19
  children: string;
19
20
  };
20
21
  socialBarProps: {
22
+ layout: LayoutType.DESKTOP;
21
23
  commentCount: number;
22
24
  shareCount: number;
23
- variant: "horizontal";
24
- disableComment: false;
25
+ contentLegacyId: string;
25
26
  };
26
27
  };
27
28
  argTypes: {
@@ -1,10 +1,11 @@
1
1
  import { default as React } from 'react';
2
2
  import { EmojiReaction, FlexProps } from '../..';
3
3
  import { ReactionContent } from '../../../constants/emojiConfig';
4
- import { ColorType, ThemeColorType } from '../../../types';
4
+ import { ColorType, LayoutType, ThemeColorType } from '../../../types';
5
5
  export interface SocialBarProps extends FlexProps {
6
6
  commentCount: number;
7
7
  shareCount: number;
8
+ layout: LayoutType;
8
9
  reactionCount?: number;
9
10
  variant?: 'horizontal' | 'vertical' | 'card';
10
11
  countColor?: ColorType;
@@ -10,7 +10,7 @@ declare const meta: {
10
10
  };
11
11
  argTypes: {
12
12
  countColor: {
13
- options: readonly import('../../..').ColorType[];
13
+ options: readonly import('../../../types').ColorType[];
14
14
  };
15
15
  themeColor: {
16
16
  options: string[];
@@ -30,8 +30,8 @@ declare const meta: {
30
30
  };
31
31
  export default meta;
32
32
  type Story = StoryObj<typeof meta>;
33
- export declare const Default: Story;
34
- export declare const FullWeek: Story;
35
33
  export declare const FirstDay: Story;
36
- export declare const LongStreak: Story;
37
- export declare const TwoDays: Story;
34
+ export declare const FourDays: Story;
35
+ export declare const WeekStreak: Story;
36
+ export declare const EightDaysStreak: Story;
37
+ export declare const NineDaysStreak: Story;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { BoxProps, PercentageBarProps } from '../..';
3
- import { PoliticalPartiesColorsType } from '../../../types';
3
+ import { LayoutType, PoliticalPartiesColorsType } from '../../../types';
4
4
  export interface ElectedMemberProps {
5
5
  title: string;
6
6
  firstName: string;
@@ -8,6 +8,7 @@ export interface ElectedMemberProps {
8
8
  }
9
9
  export interface ElectionsResultProps extends BoxProps {
10
10
  label: string;
11
+ layout: LayoutType;
11
12
  result?: PercentageBarProps['percentage'];
12
13
  candidate?: {
13
14
  title: 'M.' | 'Mme';
@@ -1,9 +1,11 @@
1
+ import { LayoutType } from '../../../types';
1
2
  import { StoryObj } from '@storybook/react-vite';
2
3
  declare const meta: {
3
4
  title: string;
4
5
  component: import('react').FC<import('./ElectionsResult').ElectionsResultProps>;
5
6
  args: {
6
7
  label: string;
8
+ layout: LayoutType.DESKTOP;
7
9
  result: number;
8
10
  votes: number;
9
11
  };
@@ -39,6 +41,9 @@ declare const meta: {
39
41
  export default meta;
40
42
  type Story = StoryObj<typeof meta>;
41
43
  export declare const Overview: Story;
42
- export declare const WithRankingNumber: Story;
43
- export declare const WithRankingNumberAndStatus: Story;
44
- export declare const WithRankingNumberAndAvatar: Story;
44
+ export declare const WithRanking: Story;
45
+ export declare const WithRankingAndStatus: Story;
46
+ export declare const WithRankingStatusAndAvatar: Story;
47
+ export declare const WithRankingStatusAndAvatarOnMobile: Story;
48
+ export declare const WithStatusAndAvatar: Story;
49
+ export declare const WithStatusAndAvatarOnMobile: Story;