@20minutes/hela
Advanced tools
Comparing version 1.6.0 to 1.7.0
import React from 'react'; | ||
import { type BoxProps, type CountdownProps, type MediaProps, type TextProps } from '../../..'; | ||
import { type BoxProps, type CountdownProps, type HeadingProps, type MediaProps, type TextProps } from '../../..'; | ||
import { type ColorType, LayoutType, type SponsorType } from '../../../../types'; | ||
export interface HeaderPageProps extends BoxProps { | ||
layout: LayoutType; | ||
title: string; | ||
heading: HeadingProps; | ||
subtitle?: React.ReactNode; | ||
@@ -14,3 +14,2 @@ dividerSectionColor?: ColorType; | ||
}; | ||
variant?: 'primary' | 'secondary'; | ||
mediaProps?: MediaProps; | ||
@@ -17,0 +16,0 @@ contentProps?: TextProps; |
@@ -8,6 +8,7 @@ import React from 'react'; | ||
layout: LayoutType; | ||
title: string; | ||
heading: { | ||
children: string; | ||
}; | ||
subtitle: string; | ||
isExpandable: boolean; | ||
variant: string; | ||
}; | ||
@@ -42,2 +43,3 @@ argTypes: { | ||
export declare const Overview: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./HeaderPage").HeaderPageProps>; | ||
export declare const WithOtherFontsAndSize: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./HeaderPage").HeaderPageProps>; | ||
export declare const WithExpandButton: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./HeaderPage").HeaderPageProps>; | ||
@@ -49,4 +51,3 @@ export declare const DesktopForDedicatedArea: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./HeaderPage").HeaderPageProps>; | ||
export declare const MobileWithMedia: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./HeaderPage").HeaderPageProps>; | ||
export declare const DesktopSecondary: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./HeaderPage").HeaderPageProps>; | ||
export declare const WithCountdownDesktop: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./HeaderPage").HeaderPageProps>; | ||
export declare const WithCountdownMobile: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, import("./HeaderPage").HeaderPageProps>; |
export * from './HeaderBanner'; | ||
export * from './HeaderEmbed'; | ||
export * from './HeaderMini'; | ||
export * from './HeaderPage'; | ||
export * from './HeaderSideModal'; |
@@ -116,2 +116,5 @@ export declare const tokenVariables: { | ||
}; | ||
embed: { | ||
value: string; | ||
}; | ||
error: { | ||
@@ -118,0 +121,0 @@ value: string; |
{ | ||
"name": "@20minutes/hela", | ||
"version": "1.6.0", | ||
"version": "1.7.0", | ||
"repository": "git@github.com:20minutes/hela.git", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1715334
474
17110