@20minutes/hela 2.5.0 → 2.5.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 +865 -866
- 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/Carousel/Carousel.d.ts +1 -2
- package/dist/src/components/molecules/Carousel/Carousel.stories.d.ts +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { BoxProps, CardSmallProps, HeadingProps, LinkProps, SliderProps } from '../..';
|
|
3
|
-
import { ColorType, LayoutType
|
|
3
|
+
import { ColorType, LayoutType } from '../../../types';
|
|
4
4
|
export interface CarouselProps extends BoxProps {
|
|
5
5
|
articles: CardSmallProps[];
|
|
6
6
|
layout: LayoutType;
|
|
@@ -10,7 +10,6 @@ export interface CarouselProps extends BoxProps {
|
|
|
10
10
|
sliderProps?: Omit<SliderProps, 'itemsGap' | 'layout'>;
|
|
11
11
|
themeColor?: ColorType;
|
|
12
12
|
titleUnderlined?: boolean;
|
|
13
|
-
titleAlignment?: TextAlignType | TypeWithMediaQueriesType<TextAlignType>;
|
|
14
13
|
isSponsored?: boolean;
|
|
15
14
|
seeMoreLink?: LinkProps;
|
|
16
15
|
}
|
|
@@ -7,9 +7,6 @@ declare const meta: {
|
|
|
7
7
|
labelLink: string;
|
|
8
8
|
};
|
|
9
9
|
argTypes: {
|
|
10
|
-
titleAlignment: {
|
|
11
|
-
options: readonly ["left", "center", "right", "justify"];
|
|
12
|
-
};
|
|
13
10
|
themeColor: {
|
|
14
11
|
options: readonly import('../../../types').ColorType[];
|
|
15
12
|
};
|
|
@@ -36,6 +33,9 @@ declare const meta: {
|
|
|
36
33
|
controls: {
|
|
37
34
|
exclude: string[];
|
|
38
35
|
};
|
|
36
|
+
viewport: {
|
|
37
|
+
defaultViewport: string;
|
|
38
|
+
};
|
|
39
39
|
};
|
|
40
40
|
decorators: ((Story: StoryFn) => React.JSX.Element)[];
|
|
41
41
|
};
|
|
@@ -46,8 +46,8 @@ export declare const FourArticles: Story;
|
|
|
46
46
|
export declare const EightArticles: Story;
|
|
47
47
|
export declare const Mobile: Story;
|
|
48
48
|
export declare const WithGamesCards: Story;
|
|
49
|
-
export declare const WithVideosCards: Story;
|
|
50
49
|
export declare const WithGamesCardsMobile: Story;
|
|
50
|
+
export declare const WithVideosCards: Story;
|
|
51
51
|
export declare const WithSportCards: Story;
|
|
52
52
|
export declare const ForMovies: Story;
|
|
53
53
|
export declare const MobileSponsored: Story;
|