@20minutes/tyr 2.1.2 → 2.1.4
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 +2556 -2544
- package/dist/index.umd.js +70 -70
- package/dist/src/components/organisms/HomePage/EntertainmentCarousel/EntertainmentCarousel.d.ts +9 -0
- package/dist/src/components/organisms/HomePage/EntertainmentCarousel/EntertainmentCarousel.stories.d.ts +22 -0
- package/dist/src/components/organisms/HomePage/EntertainmentCarousel/index.d.ts +1 -0
- package/dist/src/components/organisms/HomePage/index.d.ts +1 -1
- package/dist/src/pages/HomePage/HomePage.d.ts +1 -0
- package/dist/src/pages/HomePage/HomePage.stories.d.ts +3 -2
- package/dist/src/types/ComponentConfig.d.ts +2 -1
- package/package.json +2 -2
- package/dist/src/components/organisms/HomePage/MoviesCarousel/MoviesCarousel.d.ts +0 -8
- package/dist/src/components/organisms/HomePage/MoviesCarousel/MoviesCarousel.stories.d.ts +0 -20
- package/dist/src/components/organisms/HomePage/MoviesCarousel/index.d.ts +0 -1
package/dist/src/components/organisms/HomePage/EntertainmentCarousel/EntertainmentCarousel.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BoxProps, CardSmallProps, LayoutType, LinkProps } from '@20minutes/hela';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface EntertainmentCarouselProps extends BoxProps {
|
|
4
|
+
layout: LayoutType;
|
|
5
|
+
label: string;
|
|
6
|
+
seeMoreLink: LinkProps;
|
|
7
|
+
items?: CardSmallProps[];
|
|
8
|
+
}
|
|
9
|
+
export declare const EntertainmentCarousel: React.FC<EntertainmentCarouselProps>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { EntertainmentCarouselProps } from './EntertainmentCarousel';
|
|
3
|
+
import { StoryFn, StoryObj } from '@storybook/react';
|
|
4
|
+
export declare const defaultArgs: EntertainmentCarouselProps;
|
|
5
|
+
declare const meta: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: React.FC<EntertainmentCarouselProps>;
|
|
8
|
+
args: EntertainmentCarouselProps;
|
|
9
|
+
parameters: {
|
|
10
|
+
controls: {
|
|
11
|
+
exclude: string[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
decorators: ((Story: StoryFn) => React.JSX.Element)[];
|
|
15
|
+
excludeStories: string[];
|
|
16
|
+
};
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof meta>;
|
|
19
|
+
export declare const MoviesMobile: Story;
|
|
20
|
+
export declare const MoviesDesktop: Story;
|
|
21
|
+
export declare const TheatreMobile: Story;
|
|
22
|
+
export declare const TheatreDesktop: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EntertainmentCarousel';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export * from './ArticlesBlock';
|
|
2
2
|
export * from './ArticlesTopBlock';
|
|
3
3
|
export * from './CityByCityBlock';
|
|
4
|
+
export * from './EntertainmentCarousel';
|
|
4
5
|
export * from './ExtraSmallArticlesBlock';
|
|
5
6
|
export * from './GamesCarousel';
|
|
6
7
|
export * from './HomeTopBlock';
|
|
7
8
|
export * from './LocalNews';
|
|
8
|
-
export * from './MoviesCarousel';
|
|
9
9
|
export * from './PartnersBlock';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HeaderProps, LayoutType, MostReadArticlesProps, OverviewBarProps } from '@20minutes/hela';
|
|
2
2
|
import { default as React } from 'react';
|
|
3
|
-
import { ArticlesBlockProps, ArticlesTopBlockProps, CardsListProps, CityByCityBlockProps, GamesCarouselProps, HomeTopBlockProps, LocalNewsProps, MetaProps,
|
|
3
|
+
import { ArticlesBlockProps, ArticlesTopBlockProps, CardsListProps, CityByCityBlockProps, EntertainmentCarouselProps, GamesCarouselProps, HomeTopBlockProps, LocalNewsProps, MetaProps, TvBlockProps } from '../../components';
|
|
4
4
|
import { StoryObj } from '@storybook/react';
|
|
5
5
|
declare const meta: {
|
|
6
6
|
title: string;
|
|
@@ -55,7 +55,8 @@ declare const meta: {
|
|
|
55
55
|
purchaseGuide: React.FunctionComponentElement<ArticlesBlockProps>;
|
|
56
56
|
cityByCity: React.FunctionComponentElement<CityByCityBlockProps>;
|
|
57
57
|
partners: React.FunctionComponentElement<import('@20minutes/hela').ThreeColumnsArticlesProps>;
|
|
58
|
-
movies: React.FunctionComponentElement<
|
|
58
|
+
movies: React.FunctionComponentElement<EntertainmentCarouselProps>;
|
|
59
|
+
streamingTv: React.FunctionComponentElement<EntertainmentCarouselProps>;
|
|
59
60
|
headerMini?: React.ReactNode;
|
|
60
61
|
menu: React.ReactNode;
|
|
61
62
|
adTopPage?: React.ReactNode;
|
|
@@ -127,7 +127,8 @@ export declare const enum ComponentNameHome {
|
|
|
127
127
|
HOME_PURCHASE_GUIDE = "home/purchase-guide",
|
|
128
128
|
HOME_CITY_BY_CITY = "home/city-by-city",
|
|
129
129
|
HOME_PARTNERS = "home/partners",
|
|
130
|
-
HOME_MOVIES = "home/movies"
|
|
130
|
+
HOME_MOVIES = "home/movies",
|
|
131
|
+
HOME_STREAMING_TV = "home/streaming-tv"
|
|
131
132
|
}
|
|
132
133
|
export declare const enum ComponentNameHoroscope {
|
|
133
134
|
HOROSCOPE_JSON_LD_BREADCRUMB = "horoscope/json-ld-breadcrumb",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@20minutes/tyr",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+ssh://git@github.com/20minutes/tyr.git"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@20minutes/eslint-config": "^1.2.6",
|
|
69
|
-
"@aws-sdk/client-s3": "3.
|
|
69
|
+
"@aws-sdk/client-s3": "3.743.0",
|
|
70
70
|
"@babel/core": "^7.26.7",
|
|
71
71
|
"@babel/eslint-parser": "^7.26.5",
|
|
72
72
|
"@eslint/compat": "^1.2.6",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BoxProps, CardSmallProps, LayoutType, LinkProps } from '@20minutes/hela';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
export interface MoviesCarouselProps extends BoxProps {
|
|
4
|
-
layout: LayoutType;
|
|
5
|
-
seeMoreLink: LinkProps;
|
|
6
|
-
movies?: CardSmallProps[];
|
|
7
|
-
}
|
|
8
|
-
export declare const MoviesCarousel: React.FC<MoviesCarouselProps>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { MoviesCarouselProps } from './MoviesCarousel';
|
|
3
|
-
import { StoryFn, StoryObj } from '@storybook/react';
|
|
4
|
-
export declare const defaultArgs: MoviesCarouselProps;
|
|
5
|
-
declare const meta: {
|
|
6
|
-
title: string;
|
|
7
|
-
component: React.FC<MoviesCarouselProps>;
|
|
8
|
-
args: MoviesCarouselProps;
|
|
9
|
-
parameters: {
|
|
10
|
-
controls: {
|
|
11
|
-
exclude: string[];
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
decorators: ((Story: StoryFn) => React.JSX.Element)[];
|
|
15
|
-
excludeStories: string[];
|
|
16
|
-
};
|
|
17
|
-
export default meta;
|
|
18
|
-
type Story = StoryObj<typeof meta>;
|
|
19
|
-
export declare const Mobile: Story;
|
|
20
|
-
export declare const Desktop: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './MoviesCarousel';
|