@20minutes/hela 2.8.4 → 2.8.5
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 +2047 -1983
- package/dist/index.umd.js +2 -2
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/src/components/molecules/Card/Templates/CardExtraLarge/CardExtraLarge.d.ts +2 -1
- package/dist/src/components/molecules/Card/Templates/CardExtraLarge/CardExtraLarge.stories.d.ts +1 -0
- package/dist/src/components/molecules/Card/Templates/CardSideImage/CardSideImage.d.ts +7 -0
- package/dist/src/components/molecules/Card/Templates/CardSideImage/CardSideImage.stories.d.ts +36 -0
- package/dist/src/components/molecules/Card/Templates/CardSideImage/index.d.ts +1 -0
- package/dist/src/components/molecules/Card/Templates/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { MediaProps } from '../../../..';
|
|
2
|
+
import { LinkProps, MediaProps } from '../../../..';
|
|
3
3
|
import { CardType, LayoutType, SpacingSystemProps } from '../../../../../types';
|
|
4
4
|
export interface CardExtraLargeProps extends CardType, SpacingSystemProps {
|
|
5
5
|
layout: LayoutType;
|
|
6
6
|
follows3ColumnsGrid?: boolean;
|
|
7
7
|
mediaSrc?: MediaProps['src'];
|
|
8
|
+
linkProps?: LinkProps;
|
|
8
9
|
}
|
|
9
10
|
export declare const CardExtraLarge: React.FC<CardExtraLargeProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { LinkProps } from '../../../..';
|
|
3
|
+
import { CardType, SpacingSystemProps } from '../../../../../types';
|
|
4
|
+
export interface CardSideImageProps extends CardType, SpacingSystemProps {
|
|
5
|
+
linkProps?: LinkProps;
|
|
6
|
+
}
|
|
7
|
+
export declare const CardSideImage: React.FC<CardSideImageProps>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CardSideImageProps } from './CardSideImage';
|
|
3
|
+
import { StoryObj } from '@storybook/react';
|
|
4
|
+
declare const meta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: React.FC<CardSideImageProps>;
|
|
7
|
+
args: CardSideImageProps;
|
|
8
|
+
argTypes: {
|
|
9
|
+
m?: import('@storybook/csf').InputType | undefined;
|
|
10
|
+
mt?: import('@storybook/csf').InputType | undefined;
|
|
11
|
+
mr?: import('@storybook/csf').InputType | undefined;
|
|
12
|
+
mb?: import('@storybook/csf').InputType | undefined;
|
|
13
|
+
ml?: import('@storybook/csf').InputType | undefined;
|
|
14
|
+
mx?: import('@storybook/csf').InputType | undefined;
|
|
15
|
+
my?: import('@storybook/csf').InputType | undefined;
|
|
16
|
+
p?: import('@storybook/csf').InputType | undefined;
|
|
17
|
+
pt?: import('@storybook/csf').InputType | undefined;
|
|
18
|
+
pr?: import('@storybook/csf').InputType | undefined;
|
|
19
|
+
pb?: import('@storybook/csf').InputType | undefined;
|
|
20
|
+
pl?: import('@storybook/csf').InputType | undefined;
|
|
21
|
+
px?: import('@storybook/csf').InputType | undefined;
|
|
22
|
+
py?: import('@storybook/csf').InputType | undefined;
|
|
23
|
+
borderColor?: import('@storybook/csf').InputType | undefined;
|
|
24
|
+
bg?: import('@storybook/csf').InputType | undefined;
|
|
25
|
+
color?: import('@storybook/csf').InputType | undefined;
|
|
26
|
+
radius?: import('@storybook/csf').InputType | undefined;
|
|
27
|
+
};
|
|
28
|
+
parameters: {
|
|
29
|
+
controls: {
|
|
30
|
+
exclude: string[];
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export default meta;
|
|
35
|
+
type Story = StoryObj<typeof meta>;
|
|
36
|
+
export declare const Desktop: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CardSideImage';
|