@20minutes/hela 0.1.80 → 0.1.82

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.
@@ -0,0 +1 @@
1
+ export declare const toggleClass: (target: string, classToToggle: string) => void;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { IconProps } from '../../../components';
3
3
  import { As, AsProps, ColorSystemProps, SpacingSystemProps } from '../../../types';
4
- export declare const buttonVariant: readonly ["primary", "secondary", "tertiary", "ghost", "round"];
4
+ export declare const buttonVariant: readonly ["primary", "secondary", "tertiary", "ghost", "round", "exit"];
5
5
  export type ButtonVariantType = (typeof buttonVariant)[number];
6
6
  export interface ButtonOptions {
7
7
  variant?: ButtonVariantType;
@@ -1,6 +1,5 @@
1
1
  export * from './Ad';
2
2
  export * from './Alert';
3
- export * from './ArticleContent';
4
3
  export * from './Avatar';
5
4
  export * from './Button';
6
5
  export * from './Checkbox';
@@ -1,6 +1,6 @@
1
1
  import { RawDraftContentState } from 'draft-js';
2
2
  import React from 'react';
3
- import { ColorSchemeTheme } from '../../../types';
3
+ import { ColorSchemeTheme } from '../../../../types';
4
4
  export interface ArticleContentProps {
5
5
  content: RawDraftContentState;
6
6
  colorScheme?: ColorSchemeTheme;
@@ -1,3 +1,4 @@
1
- export * from './ArticleHeader';
1
+ export * from './ArticleContent';
2
2
  export * from './ArticleCover';
3
+ export * from './ArticleHeader';
3
4
  export * from './ArticleSummary';
@@ -0,0 +1,7 @@
1
+ import 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 {
5
+ networks: SharingNetwork[];
6
+ }
7
+ export declare const ShareBar: React.FC<ShareBarProps>;
@@ -0,0 +1 @@
1
+ export * from './ShareBar';
@@ -1,11 +1,15 @@
1
1
  import React from 'react';
2
+ import { SharingNetwork } from '../../../components';
2
3
  import { LayoutType, RubricColorType, SpacingSystemProps } from '../../../types';
3
4
  export interface SocialBarProps extends SpacingSystemProps {
4
5
  commentCount: number;
5
6
  commentAnchor?: string;
6
7
  shareCount: number;
8
+ networks?: SharingNetwork[];
7
9
  layout?: LayoutType;
8
10
  variant?: 'advanced' | 'simple';
9
11
  rubricColor?: RubricColorType;
12
+ saveAction?: () => void;
13
+ reportAction?: () => void;
10
14
  }
11
15
  export declare const SocialBar: React.FC<SocialBarProps>;
@@ -18,6 +18,7 @@ export * from './PartnerCards';
18
18
  export * from './ReadAlsoBanner';
19
19
  export * from './RubricCards';
20
20
  export * from './SearchForm';
21
+ export * from './ShareBar';
21
22
  export * from './Signature';
22
23
  export * from './SmartBanner';
23
24
  export * from './SocialBar';