@20minutes/hela 0.1.62 → 0.1.63
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/components/molecules/HeaderMini/HeaderMini.d.ts +13 -0
- package/dist/components/molecules/HeaderMini/index.d.ts +1 -0
- package/dist/components/molecules/index.d.ts +1 -3
- package/dist/components/organisms/Footer/Footer.d.ts +10 -2
- package/dist/components/{molecules/FooterLinks → organisms/Footer}/FooterLinks.d.ts +2 -2
- package/dist/components/{molecules/SocialIcons/SocialIcons.d.ts → organisms/Footer/FooterSocialIcons.d.ts} +2 -2
- package/dist/constants/tokenVariables.d.ts +5 -8
- package/dist/index.es.js +4466 -4400
- package/dist/index.umd.js +57 -57
- package/dist/scss/abstracts/variables/_token-variables.scss +4 -5
- package/dist/scss/abstracts/variables/_variables.scss +8 -10
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/molecules/FooterCategories/FooterCategories.d.ts +0 -13
- package/dist/components/molecules/FooterCategories/index.d.ts +0 -1
- package/dist/components/molecules/FooterLinks/index.d.ts +0 -1
- package/dist/components/molecules/SocialIcons/index.d.ts +0 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ColorSystemProps } from '../../../types';
|
|
3
|
+
export interface HeaderMiniProps {
|
|
4
|
+
headerLinks: {
|
|
5
|
+
name: string;
|
|
6
|
+
categoryLink: string;
|
|
7
|
+
theme?: ColorSystemProps['color'];
|
|
8
|
+
}[];
|
|
9
|
+
isArticlePage?: boolean;
|
|
10
|
+
shortTitle: string;
|
|
11
|
+
headline: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const HeaderMini: React.FC<HeaderMiniProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './HeaderMini';
|
|
@@ -4,9 +4,8 @@ export * from './Card';
|
|
|
4
4
|
export * from './Collapse';
|
|
5
5
|
export * from './Comment';
|
|
6
6
|
export * from './ErrorContent';
|
|
7
|
-
export * from './FooterCategories';
|
|
8
|
-
export * from './FooterLinks';
|
|
9
7
|
export * from './HeaderBanner';
|
|
8
|
+
export * from './HeaderMini';
|
|
10
9
|
export * from './HeaderPage';
|
|
11
10
|
export * from './HeaderSideModal';
|
|
12
11
|
export * from './Horoscope';
|
|
@@ -21,7 +20,6 @@ export * from './SearchForm';
|
|
|
21
20
|
export * from './Signature';
|
|
22
21
|
export * from './SmartBanner';
|
|
23
22
|
export * from './SocialBar';
|
|
24
|
-
export * from './SocialIcons';
|
|
25
23
|
export * from './SubMenu';
|
|
26
24
|
export * from './Tabs';
|
|
27
25
|
export * from './TagBar';
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { LayoutType } from '../../../types';
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import { FooterSocialIconsProps } from './FooterSocialIcons';
|
|
4
|
+
import { FooterLinksProps } from './FooterLinks';
|
|
5
|
+
export interface FooterProps extends Pick<FooterLinksProps, 'footerBar'>, FooterSocialIconsProps {
|
|
5
6
|
layout?: LayoutType;
|
|
6
7
|
logoLink: string;
|
|
8
|
+
categories: {
|
|
9
|
+
name: string;
|
|
10
|
+
links: {
|
|
11
|
+
name: string;
|
|
12
|
+
url: string;
|
|
13
|
+
}[];
|
|
14
|
+
}[];
|
|
7
15
|
copyrightText: string;
|
|
8
16
|
copyrightDescription: string;
|
|
9
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export type
|
|
2
|
+
export type FooterLinkType = {
|
|
3
3
|
id?: string;
|
|
4
4
|
name: string;
|
|
5
5
|
url?: string;
|
|
@@ -8,7 +8,7 @@ export type LinkType = {
|
|
|
8
8
|
export interface FooterLinksProps {
|
|
9
9
|
listClass?: string;
|
|
10
10
|
footerBar: {
|
|
11
|
-
links:
|
|
11
|
+
links: FooterLinkType[];
|
|
12
12
|
}[];
|
|
13
13
|
}
|
|
14
14
|
export declare const FooterLinks: React.FC<FooterLinksProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { IconName } from '../../../components';
|
|
3
|
-
export interface
|
|
3
|
+
export interface FooterSocialIconsProps {
|
|
4
4
|
socialIcons: {
|
|
5
5
|
icons: {
|
|
6
6
|
name: IconName;
|
|
@@ -8,4 +8,4 @@ export interface SocialIconsProps {
|
|
|
8
8
|
}[];
|
|
9
9
|
}[];
|
|
10
10
|
}
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const FooterSocialIcons: React.FC<FooterSocialIconsProps>;
|
|
@@ -74,18 +74,10 @@ export declare const tokenVariables: {
|
|
|
74
74
|
red: {
|
|
75
75
|
value: string;
|
|
76
76
|
};
|
|
77
|
-
cyan: {
|
|
78
|
-
value: string;
|
|
79
|
-
};
|
|
80
77
|
sponsoring: {
|
|
81
78
|
value: string;
|
|
82
79
|
};
|
|
83
80
|
};
|
|
84
|
-
status: {
|
|
85
|
-
error: {
|
|
86
|
-
value: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
81
|
greyscale: {
|
|
90
82
|
black: {
|
|
91
83
|
value: string;
|
|
@@ -118,6 +110,11 @@ export declare const tokenVariables: {
|
|
|
118
110
|
value: string;
|
|
119
111
|
};
|
|
120
112
|
};
|
|
113
|
+
status: {
|
|
114
|
+
error: {
|
|
115
|
+
value: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
121
118
|
rubric: {
|
|
122
119
|
default: {
|
|
123
120
|
value: string;
|