@20minutes/hela 0.1.56 → 0.1.58

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,7 @@
1
- import * as React from 'react';
2
1
  import { FlexProps } from '../../../components';
3
- export interface DividerProps extends FlexProps {
2
+ export interface DividerOptions {
4
3
  text?: string;
4
+ thickness?: 'thin' | 'thick';
5
5
  }
6
- export declare const Divider: React.FC<DividerProps>;
6
+ export type DividerProps = DividerOptions & FlexProps;
7
+ export declare const Divider: import("../../..").ComponentWithAs<"div", DividerProps>;
@@ -1,5 +1,7 @@
1
1
  import React from 'react';
2
+ import { HeadingProps } from '../../../../components';
2
3
  import { CardType, SpacingSystemProps } from '../../../../types';
3
4
  export interface CardSmallProps extends CardType, SpacingSystemProps {
5
+ headingProps?: Pick<HeadingProps, 'color' | 'weight'>;
4
6
  }
5
7
  export declare const CardSmall: React.FC<CardSmallProps>;
@@ -6,6 +6,6 @@ export interface PartnerCardsProps {
6
6
  label: string;
7
7
  articles: CardMediumProps[] | CardExtraSmallProps[];
8
8
  }[];
9
- layout: LayoutType;
9
+ layout?: LayoutType;
10
10
  }
11
11
  export declare const PartnerCards: React.FC<PartnerCardsProps>;
@@ -1,9 +1,10 @@
1
1
  import * as React from 'react';
2
2
  import { CardSmallProps } from '../../../components';
3
- import { LayoutType } from '../../../types';
3
+ import { LayoutType, RubricColorType } from '../../../types';
4
4
  export interface RubricCardsProps {
5
5
  articles: CardSmallProps[];
6
6
  label: string;
7
+ rubricColor?: RubricColorType;
7
8
  layout?: LayoutType;
8
9
  }
9
10
  export declare const RubricCards: React.FC<RubricCardsProps>;