@20minutes/hela 0.1.109 → 0.1.111

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.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type BoxProps } from '../../../../components';
3
- import type { ColorType } from '../../../../types';
3
+ import type { ColorType, SponsorType } from '../../../../types';
4
4
  import { LayoutType } from '../../../../types';
5
5
  export interface ArticleHeaderProps extends BoxProps {
6
6
  title: string;
@@ -8,6 +8,6 @@ export interface ArticleHeaderProps extends BoxProps {
8
8
  layout: LayoutType;
9
9
  lead?: string;
10
10
  color?: ColorType;
11
- logoUrl?: string;
11
+ sponsor?: SponsorType;
12
12
  }
13
13
  export declare const ArticleHeader: React.FC<ArticleHeaderProps>;
@@ -1,10 +1,13 @@
1
1
  import React from 'react';
2
2
  import { type BoxProps } from '../../../../components';
3
- import type { ColorType } from '../../../../types';
3
+ import type { ColorType, SponsorType } from '../../../../types';
4
+ import { LayoutType } from '../../../../types';
4
5
  export interface HeaderPageProps extends BoxProps {
6
+ layout: LayoutType;
5
7
  title: string;
6
8
  subtitle?: React.ReactNode;
7
9
  dividerSectionColor?: ColorType;
8
10
  isExpandable?: boolean;
11
+ sponsor?: SponsorType;
9
12
  }
10
13
  export declare const HeaderPage: React.FC<HeaderPageProps>;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { AvatarProps, FlexProps } from '../../../components';
3
+ import type { SponsorType } from '../../../types';
3
4
  import { LayoutType } from '../../../types';
4
5
  export interface SignatureProps extends FlexProps {
5
6
  avatar?: string;
@@ -10,7 +11,7 @@ export interface SignatureProps extends FlexProps {
10
11
  userlink?: string;
11
12
  authorHighlighted?: boolean;
12
13
  disableAvatar?: boolean;
13
- logoUrl?: string;
14
14
  rubricColor?: AvatarProps['rubricColor'];
15
+ sponsor?: SponsorType;
15
16
  }
16
17
  export declare const Signature: React.FC<SignatureProps>;
@@ -10,5 +10,6 @@ export interface SocialBarProps extends SpacingSystemProps {
10
10
  saveContentId?: string;
11
11
  onReport?: () => void;
12
12
  commentAnchor?: string;
13
+ disableComment?: boolean;
13
14
  }
14
15
  export declare const SocialBar: React.FC<SocialBarProps>;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { FlexProps } from '../../../components';
3
+ import type { SponsorType } from '../../../types';
4
+ export interface SponsorProps extends FlexProps {
5
+ sponsor: SponsorType;
6
+ variant: 'header-desktop' | 'header-mobile' | 'menu' | 'signature';
7
+ hasText?: boolean;
8
+ }
9
+ export declare const Sponsor: React.FC<SponsorProps>;
@@ -0,0 +1 @@
1
+ export * from './Sponsor';
@@ -22,6 +22,7 @@ export * from './ShareBar';
22
22
  export * from './Signature';
23
23
  export * from './SmartBanner';
24
24
  export * from './SocialBar';
25
+ export * from './Sponsor';
25
26
  export * from './SubMenu';
26
27
  export * from './Tabs';
27
28
  export * from './TagBar';
@@ -1,5 +1,5 @@
1
1
  import type { ColorType, IconNameType } from '../types';
2
- export declare const spacingTokenNameList: readonly ("xs" | "0" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "s" | "m" | "l" | "xl" | "xxl" | "xxl-2")[];
2
+ export declare const spacingTokenNameList: readonly ("xs" | "0" | "auto" | "xxs-3" | "xxs-2" | "xxs" | "s" | "m" | "l" | "xl" | "xxl" | "xxl-2" | "xxl-3")[];
3
3
  export declare const colorTokenNameList: readonly ColorType[];
4
4
  export declare const iconTokenNameList: readonly IconNameType[];
5
5
  export declare const radiusTokenNameList: readonly ("xs" | "0" | "xxs-2" | "xxs" | "s" | "m" | "l" | "xl" | "xxl")[];
@@ -564,6 +564,9 @@ export declare const tokenVariables: {
564
564
  'xxl-2': {
565
565
  value: string;
566
566
  };
567
+ 'xxl-3': {
568
+ value: string;
569
+ };
567
570
  };
568
571
  typography: {
569
572
  heading: {