@20minutes/hela 2.17.7 → 2.17.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.
- package/dist/index.es.js +9277 -10768
- package/dist/index.umd.cjs +1 -1
- package/dist/js/scripts.es.js +671 -586
- package/dist/js/scripts.umd.cjs +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/src/components/atoms/Ad/Ad.stories.d.ts +1 -2
- package/dist/src/components/atoms/Alert/Alert.stories.d.ts +2 -3
- package/dist/src/components/atoms/Avatar/Avatar.stories.d.ts +1 -2
- package/dist/src/components/atoms/Button/Button.d.ts +1 -1
- package/dist/src/components/atoms/Checkbox/Checkbox.stories.d.ts +2 -2
- package/dist/src/components/atoms/Icon/Icon.stories.d.ts +1 -0
- package/dist/src/components/atoms/Icon/SvgSprite.d.ts +1 -2
- package/dist/src/components/atoms/IconTooltip/IconTooltip.stories.d.ts +1 -2
- package/dist/src/components/atoms/Iframe/Iframe.d.ts +1 -1
- package/dist/src/components/atoms/Iframe/Iframe.stories.d.ts +1 -1
- package/dist/src/components/atoms/Img/Img.stories.d.ts +1 -2
- package/dist/src/components/atoms/Input/Input.stories.d.ts +1 -1
- package/dist/src/components/atoms/LabelSection/LabelSection.stories.d.ts +2 -3
- package/dist/src/components/atoms/Layout/Flex/Flex.stories.d.ts +1 -2
- package/dist/src/components/atoms/Layout/Grid/Grid.stories.d.ts +2 -3
- package/dist/src/components/atoms/Layout/index.d.ts +1 -1
- package/dist/src/components/atoms/Link/Link.d.ts +1 -1
- package/dist/src/components/atoms/Link/Link.stories.d.ts +2 -3
- package/dist/src/components/atoms/Modal/Modal.stories.d.ts +1 -2
- package/dist/src/components/atoms/RadioButton/RadioButton.stories.d.ts +1 -1
- package/dist/src/components/atoms/ScrollToTopButton/ScrollToTopButton.stories.d.ts +164 -165
- package/dist/src/components/atoms/Slider/Slider.stories.d.ts +2 -3
- package/dist/src/components/atoms/Textarea/Textarea.stories.d.ts +1 -1
- package/dist/src/components/atoms/Typography/index.d.ts +1 -1
- package/dist/src/components/atoms/index.d.ts +1 -1
- package/dist/src/components/molecules/Article/ArticleHeader/ArticleHeader.stories.d.ts +1 -1
- package/dist/src/components/molecules/Article/ArticleSummary/ArticleSummary.stories.d.ts +2 -3
- package/dist/src/components/molecules/Article/Media/Media.stories.d.ts +1 -1
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.stories.d.ts +3 -4
- package/dist/src/components/molecules/Calendar/Calendar.stories.d.ts +1 -1
- package/dist/src/components/molecules/Card/CardContainer/CardContainer.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/CardImage/CardImage.stories.d.ts +1 -2
- package/dist/src/components/molecules/Card/CardTitle/CardTitle.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardExtraLarge/CardExtraLarge.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardExtraSmall/CardExtraSmall.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardFrame/CardFrame.stories.d.ts +1 -1
- package/dist/src/components/molecules/Card/Templates/CardLarge/CardLarge.stories.d.ts +1 -1
- package/dist/src/components/molecules/Card/Templates/CardLarge/CardLargeLive/CardLargeLive.stories.d.ts +1 -1
- package/dist/src/components/molecules/Card/Templates/CardMedium/CardMedium.stories.d.ts +1 -2
- package/dist/src/components/molecules/Card/Templates/CardMost/CardMost.stories.d.ts +1 -1
- package/dist/src/components/molecules/Card/Templates/CardMovie/CardMovie.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardNotification/CardNotification.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardSideImage/CardSideImage.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardSmall/CardSmall.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardVertical/CardVertical.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardVideo/CardVideo.stories.d.ts +3 -4
- package/dist/src/components/molecules/Card/Templates/CardVideoSmall/CardVideoSmall.stories.d.ts +2 -3
- package/dist/src/components/molecules/Card/Templates/CardWithSummary/CardWithSummary.stories.d.ts +1 -1
- package/dist/src/components/molecules/Carousel/Carousel.stories.d.ts +2 -3
- package/dist/src/components/molecules/Chart/HalfDonut/HalfDonut.stories.d.ts +1 -1
- package/dist/src/components/molecules/Comment/Comment.stories.d.ts +1 -1
- package/dist/src/components/molecules/Comment/CommentButton.stories.d.ts +1 -1
- package/dist/src/components/molecules/Comment/CommentCount.stories.d.ts +1 -1
- package/dist/src/components/molecules/DarkModeSwitch/DarkModeSwitch.stories.d.ts +2 -2
- package/dist/src/components/molecules/DiscoverList/DiscoverList.stories.d.ts +165 -166
- package/dist/src/components/molecules/Elections/SearchBanner/SearchBanner.d.ts +0 -1
- package/dist/src/components/molecules/Elections/SearchBanner/SearchBanner.stories.d.ts +1 -2
- package/dist/src/components/molecules/EmojiToolbar/EmojiToolbar.stories.d.ts +1 -1
- package/dist/src/components/molecules/Expandable/Expandable.stories.d.ts +2 -3
- package/dist/src/components/molecules/Header/HeaderMini/HeaderMini.stories.d.ts +2 -2
- package/dist/src/components/molecules/Header/HeaderPage/HeaderPage.stories.d.ts +2 -3
- package/dist/src/components/molecules/ImageSlider/ImageSlider.stories.d.ts +1 -1
- package/dist/src/components/molecules/InfoBanner/InfoBanner.stories.d.ts +2 -3
- package/dist/src/components/molecules/Legend/Legend.stories.d.ts +1 -1
- package/dist/src/components/molecules/ListWithDiode/ListWithDiode.stories.d.ts +2 -3
- package/dist/src/components/molecules/Live/LiveQuestion/LiveQuestion.stories.d.ts +1 -1
- package/dist/src/components/molecules/LogoutButton/LogoutButton.stories.d.ts +1 -1
- package/dist/src/components/molecules/Maps/MapDepartments/MapDepartments.stories.d.ts +3 -4
- package/dist/src/components/molecules/Maps/MapDistricts/MapDistricts.stories.d.ts +3 -4
- package/dist/src/components/molecules/Maps/MapEurope/MapEurope.stories.d.ts +3 -4
- package/dist/src/components/molecules/Maps/MapTownsByDepartments/MapTownsByDepartments.d.ts +1 -2
- package/dist/src/components/molecules/Maps/MapTownsByDepartments/MapTownsByDepartments.stories.d.ts +1 -1
- package/dist/src/components/molecules/MediaLink/MediaLink.stories.d.ts +1 -1
- package/dist/src/components/molecules/Menu/Menu.stories.d.ts +2 -2
- package/dist/src/components/molecules/MenuList/MenuList.stories.d.ts +3 -4
- package/dist/src/components/molecules/Newsletter/Newsletter.stories.d.ts +1 -2
- package/dist/src/components/molecules/OrderedListWithNumber/OrderedListWithNumber.stories.d.ts +2 -3
- package/dist/src/components/molecules/React/ReactButton.d.ts +4 -1
- package/dist/src/components/molecules/React/ReactButton.stories.d.ts +4 -1
- package/dist/src/components/molecules/ReadAlsoBanner/ReadAlsoBanner.stories.d.ts +2 -3
- package/dist/src/components/molecules/ShowCover/ShowCover.stories.d.ts +1 -1
- package/dist/src/components/molecules/Signature/Signature.stories.d.ts +1 -1
- package/dist/src/components/molecules/SubMenu/SubMenu.stories.d.ts +1 -1
- package/dist/src/components/molecules/Table/Table.stories.d.ts +2 -3
- package/dist/src/components/molecules/TagBar/TagBar.stories.d.ts +2 -3
- package/dist/src/components/molecules/TextTooltip/TextTooltip.stories.d.ts +1 -2
- package/dist/src/components/molecules/Timeline/Timeline.stories.d.ts +2 -3
- package/dist/src/components/molecules/UserPanel/UserPanel.stories.d.ts +2 -2
- package/dist/src/components/molecules/VerticalTimeline/VerticalTimeline.stories.d.ts +165 -166
- package/dist/src/components/molecules/index.d.ts +1 -1
- package/dist/src/components/organisms/Elections/ElectionsResult.stories.d.ts +1 -1
- package/dist/src/components/organisms/Footer/Footer.stories.d.ts +2 -2
- package/dist/src/components/organisms/Header/Header.stories.d.ts +2 -2
- package/dist/src/components/organisms/MostReadArticles/MostReadArticles.stories.d.ts +2 -3
- package/dist/src/components/organisms/MostWatchVideos/MostWatchVideos.stories.d.ts +2 -3
- package/dist/src/components/organisms/PhotoSwipeGallery/PhotoSwipeGallery.stories.d.ts +1 -1
- package/dist/src/components/organisms/ThreeColumnsArticles/ThreeColumnsArticles.stories.d.ts +3 -4
- package/dist/src/constants/cssProperties/index.d.ts +1 -1
- package/dist/src/constants/index.d.ts +6 -6
- package/dist/src/constants/storybook/flexBoxSystemPropsControls.d.ts +1 -1
- package/dist/src/constants/storybook/flexItemBoxSystemPropsControls.d.ts +1 -1
- package/dist/src/constants/storybook/index.d.ts +6 -6
- package/dist/src/constants/storybook/spacingSystemPropsControls.d.ts +1 -1
- package/dist/src/constants/storybook/systemPropsControls.d.ts +1 -1
- package/dist/src/constants/systemProps/index.d.ts +1 -1
- package/dist/src/helpers/systemPropsHelper/index.d.ts +8 -8
- package/dist/src/helpers/townSprite.d.ts +8 -0
- package/dist/src/index.d.ts +2 -2
- package/dist/src/types/ComponentWithAs.d.ts +4 -4
- package/dist/src/types/CssProperties/index.d.ts +1 -1
- package/dist/src/types/SystemProps/index.d.ts +4 -4
- package/dist/src/types/index.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +18 -29
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { LayoutType } from '../../../types';
|
|
3
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { LayoutType } from '../../../types';
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
5
|
component: import('../../../types').ComponentWithAs<"div", import('../..').SliderProps>;
|
|
@@ -13,7 +12,7 @@ declare const meta: {
|
|
|
13
12
|
colorVariant: "ultramarine";
|
|
14
13
|
auto: false;
|
|
15
14
|
delay: number;
|
|
16
|
-
children:
|
|
15
|
+
children: import("react/jsx-runtime").JSX.Element[];
|
|
17
16
|
};
|
|
18
17
|
argTypes: {
|
|
19
18
|
buttonsVariant: {
|
|
@@ -23,8 +23,8 @@ export * from './Pipe';
|
|
|
23
23
|
export * from './RadioButton';
|
|
24
24
|
export * from './Rating';
|
|
25
25
|
export * from './ReadAlso';
|
|
26
|
-
export * from './ScrollToTopButton';
|
|
27
26
|
export * from './ScrollProgressBar';
|
|
27
|
+
export * from './ScrollToTopButton';
|
|
28
28
|
export * from './Section';
|
|
29
29
|
export * from './Select';
|
|
30
30
|
export * from './Skeleton';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
|
-
component:
|
|
4
|
+
component: import('react').FC<import('../../..').ArticleSummaryProps>;
|
|
6
5
|
args: {
|
|
7
6
|
title: string;
|
|
8
|
-
summary:
|
|
7
|
+
summary: import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
};
|
|
10
9
|
argTypes: {
|
|
11
10
|
rubricColor: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
1
2
|
import { default as React } from 'react';
|
|
2
3
|
import { LayoutType } from '../../../../types';
|
|
3
4
|
import { MediaSourceType } from '../../../../types/MediaSourceType';
|
|
4
|
-
import { StoryObj } from '@storybook/react-vite';
|
|
5
5
|
declare const meta: {
|
|
6
6
|
title: string;
|
|
7
7
|
component: React.FC<import('./Media').MediaProps>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { LayoutType } from '../../../types';
|
|
3
1
|
import { StoryFn, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { LayoutType } from '../../../types';
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
|
-
component:
|
|
5
|
+
component: import('react').FC<import('./Breadcrumb').BreadcrumbProps>;
|
|
7
6
|
args: {
|
|
8
7
|
layout: LayoutType.DESKTOP;
|
|
9
8
|
};
|
|
@@ -44,7 +43,7 @@ declare const meta: {
|
|
|
44
43
|
exclude: string[];
|
|
45
44
|
};
|
|
46
45
|
};
|
|
47
|
-
decorators: ((Story: StoryFn) =>
|
|
46
|
+
decorators: ((Story: StoryFn) => import("react/jsx-runtime").JSX.Element)[];
|
|
48
47
|
};
|
|
49
48
|
export default meta;
|
|
50
49
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { StoryFn, StoryObj } from '@storybook/react-vite';
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
4
|
component: import('../../../..').ComponentWithAs<"div", import('../../..').CardContainerProps<"div">>;
|
|
6
5
|
args: {
|
|
7
6
|
link: string;
|
|
8
|
-
children:
|
|
7
|
+
children: import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
direction: "column";
|
|
10
9
|
};
|
|
11
|
-
decorators: ((Story: StoryFn) =>
|
|
10
|
+
decorators: ((Story: StoryFn) => import("react/jsx-runtime").JSX.Element)[];
|
|
12
11
|
parameters: {
|
|
13
12
|
controls: {
|
|
14
13
|
exclude: string[];
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
|
-
component:
|
|
4
|
+
component: import('react').FC<import('./CardImage').CardImageProps>;
|
|
6
5
|
parameters: {
|
|
7
6
|
controls: {
|
|
8
7
|
exclude: string[];
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { StoryFn, StoryObj } from '@storybook/react-vite';
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
|
-
component:
|
|
4
|
+
component: import('react').FC<import('./CardTitle').CardTitleProps>;
|
|
6
5
|
args: {
|
|
7
6
|
children: string;
|
|
8
7
|
as: "h1";
|
|
@@ -39,7 +38,7 @@ declare const meta: {
|
|
|
39
38
|
control: "select";
|
|
40
39
|
};
|
|
41
40
|
};
|
|
42
|
-
decorators: ((Story: StoryFn) =>
|
|
41
|
+
decorators: ((Story: StoryFn) => import("react/jsx-runtime").JSX.Element)[];
|
|
43
42
|
};
|
|
44
43
|
export default meta;
|
|
45
44
|
type Story = StoryObj<typeof meta>;
|
package/dist/src/components/molecules/Card/Templates/CardExtraLarge/CardExtraLarge.stories.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { CardExtraLargeProps } from './CardExtraLarge';
|
|
3
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { CardExtraLargeProps } from './CardExtraLarge';
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
|
-
component:
|
|
5
|
+
component: import('react').FC<CardExtraLargeProps>;
|
|
7
6
|
args: CardExtraLargeProps;
|
|
8
7
|
argTypes: {
|
|
9
8
|
m?: import('@storybook/csf').InputType | undefined;
|
package/dist/src/components/molecules/Card/Templates/CardExtraSmall/CardExtraSmall.stories.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { LayoutType } from '../../../../../types';
|
|
3
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { LayoutType } from '../../../../../types';
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
|
-
component:
|
|
5
|
+
component: import('react').FC<import('../../../..').CardExtraSmallProps>;
|
|
7
6
|
args: {
|
|
8
7
|
link: string;
|
|
9
8
|
title: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LayoutType } from '../../../../../../types';
|
|
2
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { LayoutType } from '../../../../../../types';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: import('react').FC<import('./CardLargeLive').CardLargeLiveProps>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
|
-
component:
|
|
4
|
+
component: import('react').FC<import('../../../..').CardMediumProps>;
|
|
6
5
|
args: {
|
|
7
6
|
link: string;
|
|
8
7
|
title: string;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { CardMovieProps } from './CardMovie';
|
|
3
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { CardMovieProps } from './CardMovie';
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
|
-
component:
|
|
5
|
+
component: import('react').FC<CardMovieProps>;
|
|
7
6
|
args: CardMovieProps;
|
|
8
7
|
argTypes: {
|
|
9
8
|
m?: import('@storybook/csf').InputType | undefined;
|
package/dist/src/components/molecules/Card/Templates/CardNotification/CardNotification.stories.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
|
-
component:
|
|
4
|
+
component: import('react').FC<import('../../../..').CardNotificationProps>;
|
|
6
5
|
args: {
|
|
7
6
|
linkButton: {
|
|
8
7
|
onClick: () => void;
|
|
@@ -13,7 +12,7 @@ declare const meta: {
|
|
|
13
12
|
};
|
|
14
13
|
title: string;
|
|
15
14
|
summaryProps: {
|
|
16
|
-
children:
|
|
15
|
+
children: import("react/jsx-runtime").JSX.Element;
|
|
17
16
|
};
|
|
18
17
|
};
|
|
19
18
|
parameters: {
|
package/dist/src/components/molecules/Card/Templates/CardSideImage/CardSideImage.stories.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { CardSideImageProps } from './CardSideImage';
|
|
3
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { CardSideImageProps } from './CardSideImage';
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
|
-
component:
|
|
5
|
+
component: import('react').FC<CardSideImageProps>;
|
|
7
6
|
args: CardSideImageProps;
|
|
8
7
|
argTypes: {
|
|
9
8
|
m?: import('@storybook/csf').InputType | undefined;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { StoryContext, StoryFn, StoryObj } from '@storybook/react-vite';
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
|
-
component:
|
|
4
|
+
component: import('react').FC<import('./CardSmall').CardSmallProps>;
|
|
6
5
|
args: {
|
|
7
6
|
link: string;
|
|
8
7
|
title: string;
|
|
@@ -40,7 +39,7 @@ declare const meta: {
|
|
|
40
39
|
exclude: string[];
|
|
41
40
|
};
|
|
42
41
|
};
|
|
43
|
-
decorators: ((Story: StoryFn, context: StoryContext) =>
|
|
42
|
+
decorators: ((Story: StoryFn, context: StoryContext) => import("react/jsx-runtime").JSX.Element)[];
|
|
44
43
|
};
|
|
45
44
|
export default meta;
|
|
46
45
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { StoryFn, StoryObj } from '@storybook/react-vite';
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
|
-
component:
|
|
4
|
+
component: import('react').FC<import('./CardVertical').CardVerticalProps>;
|
|
6
5
|
args: {
|
|
7
6
|
link: string;
|
|
8
7
|
title: string;
|
|
@@ -35,7 +34,7 @@ declare const meta: {
|
|
|
35
34
|
exclude: string[];
|
|
36
35
|
};
|
|
37
36
|
};
|
|
38
|
-
decorators: ((Story: StoryFn) =>
|
|
37
|
+
decorators: ((Story: StoryFn) => import("react/jsx-runtime").JSX.Element)[];
|
|
39
38
|
};
|
|
40
39
|
export default meta;
|
|
41
40
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { MediaSourceType } from '../../../../../types';
|
|
3
1
|
import { StoryFn, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { MediaSourceType } from '../../../../../types';
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
|
-
component:
|
|
5
|
+
component: import('react').FC<import('./CardVideo').CardVideoProps>;
|
|
7
6
|
argTypes: {
|
|
8
7
|
m?: import('@storybook/csf').InputType | undefined;
|
|
9
8
|
mt?: import('@storybook/csf').InputType | undefined;
|
|
@@ -35,7 +34,7 @@ declare const meta: {
|
|
|
35
34
|
videoIs16by9: true;
|
|
36
35
|
};
|
|
37
36
|
};
|
|
38
|
-
decorators: ((Story: StoryFn) =>
|
|
37
|
+
decorators: ((Story: StoryFn) => import("react/jsx-runtime").JSX.Element)[];
|
|
39
38
|
};
|
|
40
39
|
export default meta;
|
|
41
40
|
type Story = StoryObj<typeof meta>;
|
package/dist/src/components/molecules/Card/Templates/CardVideoSmall/CardVideoSmall.stories.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { StoryContext, StoryFn, StoryObj } from '@storybook/react-vite';
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
|
-
component:
|
|
4
|
+
component: import('react').FC<import('./CardVideoSmall').CardVideoSmallProps>;
|
|
6
5
|
args: {
|
|
7
6
|
link: string;
|
|
8
7
|
title: string;
|
|
@@ -35,7 +34,7 @@ declare const meta: {
|
|
|
35
34
|
exclude: string[];
|
|
36
35
|
};
|
|
37
36
|
};
|
|
38
|
-
decorators: ((Story: StoryFn, context: StoryContext) =>
|
|
37
|
+
decorators: ((Story: StoryFn, context: StoryContext) => import("react/jsx-runtime").JSX.Element)[];
|
|
39
38
|
};
|
|
40
39
|
export default meta;
|
|
41
40
|
type Story = StoryObj<typeof meta>;
|
package/dist/src/components/molecules/Card/Templates/CardWithSummary/CardWithSummary.stories.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LayoutType } from '../../../../../types';
|
|
2
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { LayoutType } from '../../../../../types';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: import('react').FC<import('./CardWithSummary').CardWithSummaryProps>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { StoryFn, StoryObj } from '@storybook/react-vite';
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
|
-
component:
|
|
4
|
+
component: import('react').FC<import('../..').CarouselProps>;
|
|
6
5
|
args: {
|
|
7
6
|
labelLink: string;
|
|
8
7
|
};
|
|
@@ -34,7 +33,7 @@ declare const meta: {
|
|
|
34
33
|
exclude: string[];
|
|
35
34
|
};
|
|
36
35
|
};
|
|
37
|
-
decorators: ((Story: StoryFn) =>
|
|
36
|
+
decorators: ((Story: StoryFn) => import("react/jsx-runtime").JSX.Element)[];
|
|
38
37
|
};
|
|
39
38
|
export default meta;
|
|
40
39
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { StoryFn, StoryObj } from '@storybook/react-vite';
|
|
1
2
|
import { default as React } from 'react';
|
|
2
3
|
import { DarkModeSwitchProps } from '../..';
|
|
3
|
-
import { StoryFn, StoryObj } from '@storybook/react-vite';
|
|
4
4
|
declare const meta: {
|
|
5
5
|
title: string;
|
|
6
6
|
component: React.FC<DarkModeSwitchProps & import('../..').SwitchOptions>;
|
|
7
7
|
args: DarkModeSwitchProps;
|
|
8
|
-
decorators: ((Story: StoryFn) =>
|
|
8
|
+
decorators: ((Story: StoryFn) => import("react/jsx-runtime").JSX.Element)[];
|
|
9
9
|
};
|
|
10
10
|
export default meta;
|
|
11
11
|
type Story = StoryObj<typeof meta>;
|