@20minutes/hela 2.6.0 → 2.7.0

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 Mon, 28 Apr 2025 14:44:05 GMT
3
+ * Generated on Tue, 06 May 2025 14:06:58 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 Mon, 28 Apr 2025 14:44:05 GMT
4
+ * Generated on Tue, 06 May 2025 14:06:58 GMT
5
5
  */
6
6
 
7
7
  $jeux: #4742ff !default;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { TabType, TextType } from '../../../types';
2
+ import { ColorType, TabType, TextType } from '../../../types';
3
3
  export interface TabProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
4
4
  name: string;
5
5
  variant?: TabType;
@@ -7,5 +7,6 @@ export interface TabProps extends React.ButtonHTMLAttributes<HTMLButtonElement>
7
7
  isSelected?: boolean;
8
8
  index?: 0 | -1;
9
9
  isNoWrap?: boolean;
10
+ color?: ColorType;
10
11
  }
11
12
  export declare const Tab: React.FC<TabProps>;
@@ -12,6 +12,9 @@ declare const meta: {
12
12
  tabColor: {
13
13
  options: readonly import('../../..').ColorType[];
14
14
  };
15
+ color: {
16
+ options: readonly import('../../..').ColorType[];
17
+ };
15
18
  };
16
19
  };
17
20
  export default meta;
@@ -1,7 +1,9 @@
1
1
  import { default as React } from 'react';
2
+ import { MediaProps } from '../../../..';
2
3
  import { CardType, LayoutType, SpacingSystemProps } from '../../../../../types';
3
4
  export interface CardExtraLargeProps extends CardType, SpacingSystemProps {
4
5
  layout: LayoutType;
5
6
  follows3ColumnsGrid?: boolean;
7
+ mediaSrc?: MediaProps['src'];
6
8
  }
7
9
  export declare const CardExtraLarge: React.FC<CardExtraLargeProps>;
@@ -34,6 +34,7 @@ declare const meta: {
34
34
  export default meta;
35
35
  type Story = StoryObj<typeof meta>;
36
36
  export declare const Desktop: Story;
37
+ export declare const HasVideo: Story;
37
38
  export declare const RubricTemplate: Story;
38
39
  export declare const WithImageCaption: Story;
39
40
  export declare const Mobile: Story;
@@ -1,6 +1,8 @@
1
1
  import { default as React } from 'react';
2
+ import { MediaProps } from '../../../..';
2
3
  import { CardType, LayoutType, SpacingSystemProps } from '../../../../../types';
3
4
  export interface CardLargeProps extends CardType, SpacingSystemProps {
4
5
  layout: LayoutType;
6
+ mediaSrc?: MediaProps['src'];
5
7
  }
6
8
  export declare const CardLarge: React.FC<CardLargeProps>;
@@ -55,3 +55,4 @@ export declare const RubricTemplate: Story;
55
55
  export declare const WithImageCaption: Story;
56
56
  export declare const WithCartridgeInTitle: Story;
57
57
  export declare const Mobile: Story;
58
+ export declare const MobileHasVideo: Story;
@@ -39,4 +39,3 @@ type Story = StoryObj<typeof meta>;
39
39
  export declare const Overview: Story;
40
40
  export declare const IsTransparent: Story;
41
41
  export declare const IsIcon: Story;
42
- export declare const TextIsHiddenUnderBreakpoint: Story;
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ import { BoxProps, ButtonProps } from '../..';
3
+ import { LayoutType } from '../../../types';
4
+ export interface ShowCoverProps extends BoxProps {
5
+ backgroundImage: string;
6
+ foregroundImage: string;
7
+ date: string;
8
+ title: string;
9
+ subtitle: string;
10
+ playButton: ButtonProps;
11
+ layout: LayoutType;
12
+ }
13
+ export declare const ShowCover: React.FC<ShowCoverProps>;
@@ -0,0 +1,48 @@
1
+ import { LayoutType } from '../../../types';
2
+ import { StoryObj } from '@storybook/react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: import('react').FC<import('./ShowCover').ShowCoverProps>;
6
+ argTypes: {
7
+ m?: import('@storybook/csf').InputType | undefined;
8
+ mt?: import('@storybook/csf').InputType | undefined;
9
+ mr?: import('@storybook/csf').InputType | undefined;
10
+ mb?: import('@storybook/csf').InputType | undefined;
11
+ ml?: import('@storybook/csf').InputType | undefined;
12
+ mx?: import('@storybook/csf').InputType | undefined;
13
+ my?: import('@storybook/csf').InputType | undefined;
14
+ p?: import('@storybook/csf').InputType | undefined;
15
+ pt?: import('@storybook/csf').InputType | undefined;
16
+ pr?: import('@storybook/csf').InputType | undefined;
17
+ pb?: import('@storybook/csf').InputType | undefined;
18
+ pl?: import('@storybook/csf').InputType | undefined;
19
+ px?: import('@storybook/csf').InputType | undefined;
20
+ py?: import('@storybook/csf').InputType | undefined;
21
+ borderColor?: import('@storybook/csf').InputType | undefined;
22
+ bg?: import('@storybook/csf').InputType | undefined;
23
+ color?: import('@storybook/csf').InputType | undefined;
24
+ radius?: import('@storybook/csf').InputType | undefined;
25
+ };
26
+ args: {
27
+ backgroundImage: string;
28
+ foregroundImage: string;
29
+ date: string;
30
+ title: string;
31
+ subtitle: string;
32
+ playButton: {
33
+ children: string;
34
+ onClick: import('@storybook/addon-actions').HandlerFunction;
35
+ };
36
+ layout: LayoutType.DESKTOP;
37
+ };
38
+ parameters: {
39
+ layout: string;
40
+ backgrounds: {
41
+ default: string;
42
+ };
43
+ };
44
+ };
45
+ export default meta;
46
+ type Story = StoryObj<typeof meta>;
47
+ export declare const Desktop: Story;
48
+ export declare const Mobile: Story;
@@ -0,0 +1 @@
1
+ export * from './ShowCover';
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { BoxProps, TabProps } from '../..';
3
- import { SpacingSystemProps, TabType } from '../../../types';
3
+ import { ColorType, SpacingSystemProps, TabType } from '../../../types';
4
4
  export interface TabsProps extends BoxProps {
5
5
  tabItems: {
6
6
  name: string;
@@ -14,5 +14,6 @@ export interface TabsProps extends BoxProps {
14
14
  tabItemActive?: string;
15
15
  tabVariant?: TabType;
16
16
  tabProps?: SpacingSystemProps;
17
+ tabTitlesColor?: ColorType;
17
18
  }
18
19
  export declare const Tabs: React.FC<TabsProps>;
@@ -5,6 +5,11 @@ declare const meta: {
5
5
  args: {
6
6
  tabVariant: "primary";
7
7
  };
8
+ argTypes: {
9
+ tabTitlesColor: {
10
+ options: readonly import('../../..').ColorType[];
11
+ };
12
+ };
8
13
  };
9
14
  export default meta;
10
15
  type Story = StoryObj<typeof meta>;
@@ -38,6 +38,7 @@ export * from './SearchBanner';
38
38
  export * from './SearchForm';
39
39
  export * from './SectionTitle';
40
40
  export * from './ShareBar';
41
+ export * from './ShowCover';
41
42
  export * from './Signature';
42
43
  export * from './SmartBanner';
43
44
  export * from './SocialBar';