@20minutes/hela 0.1.88 → 0.1.89

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.
@@ -3,10 +3,10 @@ import type { ColorType } from '../../../../types';
3
3
  import { LayoutType } from '../../../../types';
4
4
  export interface ArticleHeaderProps {
5
5
  title: string;
6
- lead: string;
7
6
  label: string;
8
- color?: ColorType;
9
- rightImageUrl?: string;
10
7
  layout: LayoutType;
8
+ lead?: string;
9
+ color?: ColorType;
10
+ logoUrl?: string;
11
11
  }
12
12
  export declare const ArticleHeader: React.FC<ArticleHeaderProps>;
@@ -5,5 +5,6 @@ export interface ReadAlsoBannerProps {
5
5
  layout: LayoutType;
6
6
  articles: Exclude<CardSmallProps, CardImageProps>[];
7
7
  willNotReduceAtScroll?: boolean;
8
+ limitTop?: number;
8
9
  }
9
10
  export declare const ReadAlsoBanner: React.FC<ReadAlsoBannerProps>;
@@ -2,6 +2,6 @@ import React from 'react';
2
2
  import type { SpacingSystemProps } from '../../../types';
3
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
4
  export interface ShareBarProps extends SpacingSystemProps {
5
- networks: SharingNetwork[];
5
+ networks?: SharingNetwork[];
6
6
  }
7
7
  export declare const ShareBar: React.FC<ShareBarProps>;
@@ -10,5 +10,6 @@ export interface SignatureProps extends FlexProps {
10
10
  authorHighlighted?: boolean;
11
11
  disableAvatar?: boolean;
12
12
  rubricColor?: RubricColorType;
13
+ logoUrl?: string;
13
14
  }
14
15
  export declare const Signature: React.FC<SignatureProps>;
@@ -1,16 +1,13 @@
1
1
  import React from 'react';
2
- import type { SharingNetwork } from '../../../components';
3
- import type { RubricColorType, SpacingSystemProps } from '../../../types';
4
- import { LayoutType } from '../../../types';
2
+ import { type SharingNetwork } from '../../../components';
3
+ import type { SpacingSystemProps } from '../../../types';
5
4
  export interface SocialBarProps extends SpacingSystemProps {
6
5
  commentCount: number;
7
- commentAnchor?: string;
8
6
  shareCount: number;
7
+ variant?: 'horizontal' | 'vertical' | 'card';
9
8
  networks?: SharingNetwork[];
10
- layout?: LayoutType;
11
- variant?: 'advanced' | 'simple';
12
- rubricColor?: RubricColorType;
13
- reportAction?: () => void;
14
9
  saveContentId?: string;
10
+ onReport?: () => void;
11
+ commentAnchor?: string;
15
12
  }
16
13
  export declare const SocialBar: React.FC<SocialBarProps>;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { FlexProps, IconName, SharingNetwork } from '../../../../components';
3
+ import type { RubricColorType } from '../../../../types';
4
+ export interface SocialBarItemProps extends FlexProps {
5
+ iconName: IconName;
6
+ variant: 'primary' | 'secondary';
7
+ count?: number;
8
+ rubricColor?: RubricColorType;
9
+ sharingNetworks?: SharingNetwork[];
10
+ anchor?: string;
11
+ dataId?: string;
12
+ }
13
+ export declare const SocialBarItem: React.FC<SocialBarItemProps>;
@@ -0,0 +1 @@
1
+ export * from './SocialBarItem';