@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.
@@ -5,7 +5,7 @@ export type CardNewsletterProps = Omit<FlexProps<'div'>, 'title'> & {
5
5
  id: string;
6
6
  description: string;
7
7
  imgUrl: string;
8
- label: string;
8
+ label?: string;
9
9
  title: string;
10
10
  externalLink?: string;
11
11
  withBorderBottom?: boolean;
@@ -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-tempo' | 'logo-tv' | 'logo-games';
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 { SpacingSystemProps } from '../../../types';
3
- export type SharingNetwork = 'blogger' | 'delicious' | 'digg' | 'email' | 'facebook' | 'flipboard' | 'google' | 'linkedin' | 'livejournal' | 'mailru' | 'meneame' | 'messenger' | 'oknoklassniki' | 'pinterest' | 'print' | 'reddit' | 'sharethis' | 'sms' | 'stumbleupon' | 'tumblr' | 'twitter' | 'vk' | 'wechat' | 'weibo' | 'whatsapp' | 'xing';
4
- export interface ShareBarProps extends SpacingSystemProps {
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-tempo' | 'logo-tv' | 'logo-games';
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-tempo': {
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;