@20minutes/hela 2.2.2 → 2.2.3

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 Wed, 26 Feb 2025 09:21:54 GMT
3
+ * Generated on Fri, 28 Feb 2025 13:50:05 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 Wed, 26 Feb 2025 09:21:54 GMT
4
+ * Generated on Fri, 28 Feb 2025 13:50:05 GMT
5
5
  */
6
6
 
7
7
  $jeux: #4742ff !default;
@@ -1,9 +1,9 @@
1
1
  import { default as React } from 'react';
2
- import { TabType } from '../../../types';
2
+ import { TabType, TextType } from '../../../types';
3
3
  export interface TabProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
4
4
  name: string;
5
5
  variant?: TabType;
6
- tabColor?: 'default' | 'direct' | 'entertainment';
6
+ tabColor?: TextType['color'];
7
7
  isSelected?: boolean;
8
8
  index?: 0 | -1;
9
9
  isNoWrap?: boolean;
@@ -3,11 +3,16 @@ declare const meta: {
3
3
  title: string;
4
4
  component: import('react').FC<import('./Tab').TabProps>;
5
5
  args: {
6
- variant: "default";
7
- tabColor: "default";
6
+ variant: "primary";
7
+ tabColor: string;
8
8
  isSelected: false;
9
9
  index: -1;
10
10
  };
11
+ argTypes: {
12
+ tabColor: {
13
+ options: readonly import('../../..').ColorType[];
14
+ };
15
+ };
11
16
  };
12
17
  export default meta;
13
18
  type Story = StoryObj<typeof meta>;
@@ -3,5 +3,6 @@ import { BoxProps } from '../../..';
3
3
  import { CardImageType } from '../../../../types';
4
4
  export interface CardImageProps extends CardImageType, BoxProps {
5
5
  withShadow?: boolean;
6
+ isFavorite?: boolean;
6
7
  }
7
8
  export declare const CardImage: React.FC<CardImageProps>;
@@ -9,6 +9,9 @@ declare const meta: {
9
9
  };
10
10
  };
11
11
  argTypes: {
12
+ isFavorite: {
13
+ control: "boolean";
14
+ };
12
15
  m?: import('@storybook/csf').InputType | undefined;
13
16
  mt?: import('@storybook/csf').InputType | undefined;
14
17
  mr?: import('@storybook/csf').InputType | undefined;
@@ -44,3 +47,4 @@ export declare const WithMediumCaption: Story;
44
47
  export declare const WithSmallCaption: Story;
45
48
  export declare const SmallRound: Story;
46
49
  export declare const WithTitle: Story;
50
+ export declare const WithFavoriteOption: Story;
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
- import { FlexProps } from '../../..';
3
- import { ColorType, IconNameType, LayoutType, ThemeColorType } from '../../../../types';
4
- export interface SocialBarItemProps extends FlexProps {
2
+ import { FlexProps } from '../..';
3
+ import { ColorType, IconNameType, LayoutType, ThemeColorType } from '../../../types';
4
+ export interface IconItemProps extends FlexProps {
5
5
  iconName: IconNameType;
6
6
  variant: 'primary' | 'secondary';
7
7
  count?: number;
@@ -15,5 +15,6 @@ export interface SocialBarItemProps extends FlexProps {
15
15
  isHighlighted?: boolean;
16
16
  isInToolbar?: boolean;
17
17
  color?: ColorType;
18
+ iconSize?: number | number[];
18
19
  }
19
- export declare const SocialBarItem: React.FC<SocialBarItemProps>;
20
+ export declare const IconItem: React.FC<IconItemProps>;
@@ -1,12 +1,12 @@
1
1
  import { default as React } from 'react';
2
- import { LayoutType } from '../../../../types';
2
+ import { LayoutType } from '../../../types';
3
3
  import { StoryObj } from '@storybook/react';
4
4
  declare const meta: {
5
5
  title: string;
6
- component: React.FC<import('./SocialBarItem').SocialBarItemProps>;
6
+ component: React.FC<import('./IconItem').IconItemProps>;
7
7
  argTypes: {
8
8
  countColor: {
9
- options: readonly import('../../../../types').ColorType[];
9
+ options: readonly import('../../../types').ColorType[];
10
10
  };
11
11
  m?: import('@storybook/csf').InputType | undefined;
12
12
  mt?: import('@storybook/csf').InputType | undefined;
@@ -0,0 +1 @@
1
+ export * from './IconItem';
@@ -3,7 +3,7 @@ declare const meta: {
3
3
  title: string;
4
4
  component: import('react').FC<import('./Tabs').TabsProps>;
5
5
  args: {
6
- tabVariant: "default";
6
+ tabVariant: "primary";
7
7
  };
8
8
  };
9
9
  export default meta;
@@ -16,6 +16,7 @@ export * from './ErrorContent';
16
16
  export * from './Events';
17
17
  export * from './Header';
18
18
  export * from './Horoscope';
19
+ export * from './IconItem';
19
20
  export * from './InfoBanner';
20
21
  export * from './Legend';
21
22
  export * from './ListWithDiode';
@@ -8,7 +8,7 @@ declare const meta: {
8
8
  tabItems: ({
9
9
  name: string;
10
10
  title: string;
11
- tabColor: "direct";
11
+ tabColor: string;
12
12
  body: ({
13
13
  themeColor: string;
14
14
  rubricName: string;
@@ -236,6 +236,9 @@ export declare const tokenVariables: {
236
236
  star: {
237
237
  value: string;
238
238
  };
239
+ 'star-outlined': {
240
+ value: string;
241
+ };
239
242
  tiktok: {
240
243
  value: string;
241
244
  };
@@ -1 +1 @@
1
- export type TabType = 'default' | 'secondary';
1
+ export type TabType = 'primary' | 'secondary';