@20minutes/hela 2.21.5 → 2.21.7
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/Card/Templates/CardNewsletter/CardNewletter.d.ts +1 -1
- package/dist/components/molecules/Header/HeaderMini/HeaderMini.d.ts +1 -1
- package/dist/components/molecules/ShareBar/ShareBar.d.ts +8 -3
- package/dist/components/molecules/UserPanel/UserPanel.d.ts +2 -1
- package/dist/components/organisms/Header/Header.d.ts +1 -1
- package/dist/constants/tokenVariables.d.ts +17 -1
- package/dist/index.es.js +3159 -3242
- package/dist/index.umd.cjs +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/style.css +1 -1
- package/package.json +18 -20
|
@@ -6,6 +6,6 @@ export interface HeaderMiniProps extends Pick<HeaderProps, 'logoHref' | 'headerL
|
|
|
6
6
|
shortTitle?: string;
|
|
7
7
|
isHidden?: boolean;
|
|
8
8
|
themeColor?: ThemeColorType | 'grey-300';
|
|
9
|
-
logoName?: 'logo' | 'logo-
|
|
9
|
+
logoName?: 'logo' | 'logo-instant' | 'logo-tv' | 'logo-games';
|
|
10
10
|
}
|
|
11
11
|
export declare const HeaderMini: React.FC<HeaderMiniProps>;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export type SharingNetwork = '
|
|
4
|
-
export interface ShareBarProps extends
|
|
2
|
+
import { BoxProps } from '../../atoms';
|
|
3
|
+
export type SharingNetwork = 'email' | 'facebook' | 'flipboard' | 'linkedin' | 'messenger' | 'pinterest' | 'print' | 'twitter';
|
|
4
|
+
export interface ShareBarProps extends Omit<BoxProps, 'children'> {
|
|
5
5
|
networks?: SharingNetwork[];
|
|
6
|
+
url?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
media?: string;
|
|
10
|
+
facebookAppId?: string;
|
|
6
11
|
}
|
|
7
12
|
export declare const ShareBar: React.FC<ShareBarProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { LinkProps, StreakBlockProps } from '../..';
|
|
2
|
+
import { AlertProps, LinkProps, StreakBlockProps } from '../..';
|
|
3
3
|
export interface UserPanelProps {
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
navigationLinks: LinkProps[];
|
|
@@ -11,5 +11,6 @@ export interface UserPanelProps {
|
|
|
11
11
|
};
|
|
12
12
|
streak?: StreakBlockProps;
|
|
13
13
|
darkmodeOption?: boolean;
|
|
14
|
+
warningMessage?: Pick<AlertProps, 'title' | 'description' | 'children'>;
|
|
14
15
|
}
|
|
15
16
|
export declare const UserPanel: React.FC<UserPanelProps>;
|
|
@@ -12,7 +12,7 @@ export interface HeaderProps {
|
|
|
12
12
|
layout?: LayoutType;
|
|
13
13
|
themeColor?: ThemeColorType;
|
|
14
14
|
isHidden?: boolean;
|
|
15
|
-
logoName?: 'logo' | 'logo-
|
|
15
|
+
logoName?: 'logo' | 'logo-instant' | 'logo-tv' | 'logo-games';
|
|
16
16
|
showOpenButton?: boolean;
|
|
17
17
|
isCurrentPageHome?: boolean;
|
|
18
18
|
backhref?: string;
|
|
@@ -167,6 +167,10 @@ export declare const tokenVariables: {
|
|
|
167
167
|
value: string;
|
|
168
168
|
key: string;
|
|
169
169
|
};
|
|
170
|
+
email: {
|
|
171
|
+
value: string;
|
|
172
|
+
key: string;
|
|
173
|
+
};
|
|
170
174
|
facebook: {
|
|
171
175
|
value: string;
|
|
172
176
|
key: string;
|
|
@@ -231,6 +235,10 @@ export declare const tokenVariables: {
|
|
|
231
235
|
value: string;
|
|
232
236
|
key: string;
|
|
233
237
|
};
|
|
238
|
+
linkedin: {
|
|
239
|
+
value: string;
|
|
240
|
+
key: string;
|
|
241
|
+
};
|
|
234
242
|
local: {
|
|
235
243
|
value: string;
|
|
236
244
|
key: string;
|
|
@@ -243,7 +251,7 @@ export declare const tokenVariables: {
|
|
|
243
251
|
value: string;
|
|
244
252
|
key: string;
|
|
245
253
|
};
|
|
246
|
-
'logo-
|
|
254
|
+
'logo-instant': {
|
|
247
255
|
value: string;
|
|
248
256
|
key: string;
|
|
249
257
|
};
|
|
@@ -259,6 +267,10 @@ export declare const tokenVariables: {
|
|
|
259
267
|
value: string;
|
|
260
268
|
key: string;
|
|
261
269
|
};
|
|
270
|
+
messenger: {
|
|
271
|
+
value: string;
|
|
272
|
+
key: string;
|
|
273
|
+
};
|
|
262
274
|
mood: {
|
|
263
275
|
value: string;
|
|
264
276
|
key: string;
|
|
@@ -303,6 +315,10 @@ export declare const tokenVariables: {
|
|
|
303
315
|
value: string;
|
|
304
316
|
key: string;
|
|
305
317
|
};
|
|
318
|
+
pinterest: {
|
|
319
|
+
value: string;
|
|
320
|
+
key: string;
|
|
321
|
+
};
|
|
306
322
|
printer: {
|
|
307
323
|
value: string;
|
|
308
324
|
key: string;
|