@20minutes/hela 0.1.86 → 0.1.88

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,12 +1,15 @@
1
1
  import type { BoxProps } from '../../../components';
2
+ import type { ColorType, SpacingType } from '../../../types';
2
3
  import { LayoutType } from '../../../types';
3
- import type { SpacingType } from '../../../types';
4
- export type SliderType = 'default' | 'partners' | 'rubrics';
4
+ export type SliderType = 'default' | 'partners' | 'rubrics' | 'overviewbar';
5
5
  export interface SliderOptions {
6
6
  layout: LayoutType;
7
7
  itemsGap?: SpacingType;
8
8
  buttonsBackground?: 'primary' | 'secondary';
9
9
  sliderVariant?: SliderType;
10
+ colorVariant?: ColorType;
11
+ auto?: boolean;
12
+ delay?: number;
10
13
  }
11
14
  export type SliderProps = SliderOptions & BoxProps;
12
15
  export declare const Slider: import('../../../types').ComponentWithAs<"div", SliderProps>;
@@ -4,7 +4,6 @@ import type { ColorType } from '../../../types';
4
4
  export interface HeaderPageProps extends BoxProps {
5
5
  title: string;
6
6
  subtitle?: React.ReactNode;
7
- subtitleIsString?: boolean;
8
7
  dividerSectionColor?: ColorType;
9
8
  isExpandable?: boolean;
10
9
  }
@@ -1,7 +1,9 @@
1
1
  import type { CardOverviewProps } from '../../../components';
2
+ import type { ColorType } from '../../../types';
2
3
  import { LayoutType } from '../../../types';
3
4
  export interface OverviewBarProps {
4
5
  articles: CardOverviewProps[];
5
6
  layout: LayoutType;
7
+ colorVariant?: ColorType;
6
8
  }
7
- export declare function OverviewBar({ articles, layout }: OverviewBarProps): JSX.Element;
9
+ export declare function OverviewBar({ articles, layout, colorVariant, }: OverviewBarProps): JSX.Element;
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import type { CardSmallProps } from '../../../components';
2
+ import type { CardImageProps, CardSmallProps } from '../../../components';
3
3
  import type { LayoutType } from '../../../types';
4
4
  export interface ReadAlsoBannerProps {
5
5
  layout: LayoutType;
6
- articles: CardSmallProps[];
6
+ articles: Exclude<CardSmallProps, CardImageProps>[];
7
7
  willNotReduceAtScroll?: boolean;
8
8
  }
9
9
  export declare const ReadAlsoBanner: React.FC<ReadAlsoBannerProps>;