@20minutes/hela 2.6.1 → 2.7.1
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 +2428 -2295
- 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/atoms/SkipLink/SkipLink.d.ts +4 -0
- package/dist/src/components/atoms/SkipLink/SkipLink.stories.d.ts +12 -0
- package/dist/src/components/atoms/SkipLink/index.d.ts +1 -0
- package/dist/src/components/molecules/Card/Templates/CardExtraLarge/CardExtraLarge.d.ts +2 -0
- package/dist/src/components/molecules/Card/Templates/CardExtraLarge/CardExtraLarge.stories.d.ts +1 -0
- package/dist/src/components/molecules/Card/Templates/CardLarge/CardLarge.d.ts +2 -0
- package/dist/src/components/molecules/Card/Templates/CardLarge/CardLarge.stories.d.ts +1 -0
- package/dist/src/components/molecules/ShowCover/ShowCover.d.ts +13 -0
- package/dist/src/components/molecules/ShowCover/ShowCover.stories.d.ts +48 -0
- package/dist/src/components/molecules/ShowCover/index.d.ts +1 -0
- package/dist/src/components/molecules/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +16 -16
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
component: import('react').ForwardRefExoticComponent<import('react').AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
3
|
+
children: import('react').ReactNode;
|
|
4
|
+
} & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
5
|
+
title: string;
|
|
6
|
+
args: {
|
|
7
|
+
href: string;
|
|
8
|
+
children: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const Default: {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SkipLink';
|
|
@@ -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>;
|
package/dist/src/components/molecules/Card/Templates/CardExtraLarge/CardExtraLarge.stories.d.ts
CHANGED
|
@@ -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>;
|
|
@@ -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';
|