@20minutes/hela
Advanced tools
Comparing version 1.13.7 to 1.13.8
import { BoxProps, ButtonVariantType } from '../..'; | ||
import { ColorType, LayoutType, SpacingType } from '../../../types'; | ||
export type SliderType = 'default' | 'three-columns-articles' | 'rubrics' | 'games'; | ||
export type SliderType = 'default' | 'three-columns-articles' | 'rubrics' | 'games' | 'videos'; | ||
export interface SliderOptions { | ||
@@ -6,0 +6,0 @@ layout: LayoutType; |
@@ -5,5 +5,5 @@ import { BoxProps } from '../..'; | ||
export interface TagOptions { | ||
variant?: 'primary' | 'secondary' | 'breadcrumb'; | ||
variant?: 'primary' | 'secondary' | 'ternary' | 'breadcrumb'; | ||
} | ||
export type TagProps<T extends As = 'a'> = TagOptions & BoxProps<T>; | ||
export declare const Tag: import('../../../types').ComponentWithAs<"div", TagProps<"a">>; |
@@ -58,2 +58,15 @@ import { default as React } from 'react'; | ||
}; | ||
export declare const Ternary: { | ||
args: { | ||
id: string; | ||
variant: string; | ||
color: string; | ||
children: React.JSX.Element; | ||
}; | ||
parameters: { | ||
backgrounds: { | ||
default: string; | ||
}; | ||
}; | ||
}; | ||
export declare const Breadcrumb: { | ||
@@ -60,0 +73,0 @@ args: { |
@@ -8,3 +8,4 @@ export * from './CardExtraLarge'; | ||
export * from './CardSmall'; | ||
export * from './CardVideoSmall'; | ||
export * from './CardTiny'; | ||
export * from './CardWithSummary'; |
@@ -17,3 +17,4 @@ import { default as React } from 'react'; | ||
seeMoreLink?: LinkProps; | ||
sliderItemVariant?: 'article' | 'video'; | ||
} | ||
export declare const Carousel: React.FC<CarouselProps>; |
@@ -70,2 +70,25 @@ import { CardSmallProps } from '../..'; | ||
}; | ||
export declare const WithVideosCards: { | ||
render: import('@storybook/types').AnnotatedStoryFn<import('@storybook/react/dist/types-bf5e6555').R, import('../..').CarouselProps>; | ||
args: { | ||
label: string; | ||
labelLink: undefined; | ||
headingProps: { | ||
color: string; | ||
size: string; | ||
}; | ||
sliderProps: { | ||
buttonsVariant: string; | ||
sliderVariant: string; | ||
}; | ||
articles: CardSmallProps[]; | ||
layout: LayoutType; | ||
titleUnderlined: boolean; | ||
}; | ||
parameters: { | ||
backgrounds: { | ||
default: string; | ||
}; | ||
}; | ||
}; | ||
export declare const WithGamesCardsMobile: { | ||
@@ -72,0 +95,0 @@ render: import('@storybook/types').AnnotatedStoryFn<import('@storybook/react/dist/types-bf5e6555').R, import('../..').CarouselProps>; |
@@ -8,3 +8,7 @@ import { default as React } from 'react'; | ||
searchFormProps: SearchFormProps; | ||
breadcrumbProps?: { | ||
label: string; | ||
link: string; | ||
}[]; | ||
} | ||
export declare const SearchBanner: React.FC<SearchBannerProps>; |
@@ -1,2 +0,2 @@ | ||
declare const _default: import('@storybook/types').ComponentAnnotations<import('@storybook/react/dist/types-bf5e6555').R, import('./SearchBanner').SearchBannerProps>; | ||
declare const _default: import('@storybook/types').ComponentAnnotations<import('@storybook/react/dist/types-bf5e6555').R, import('../..').SearchBannerProps>; | ||
export default _default; | ||
@@ -14,1 +14,9 @@ export declare const Mobile: { | ||
export declare const Desktop: {}; | ||
export declare const WithBreadcrumb: { | ||
args: { | ||
breadcrumbProps: { | ||
label: string; | ||
link: string; | ||
}[]; | ||
}; | ||
}; |
{ | ||
"name": "@20minutes/hela", | ||
"version": "1.13.7", | ||
"version": "1.13.8", | ||
"repository": "git@github.com:20minutes/hela.git", | ||
@@ -78,9 +78,9 @@ "license": "MIT", | ||
"@octokit/core": "5.1.0", | ||
"@storybook/addon-actions": "^8.1.9", | ||
"@storybook/addon-essentials": "^8.1.9", | ||
"@storybook/addon-links": "^8.1.9", | ||
"@storybook/blocks": "^8.1.9", | ||
"@storybook/addon-actions": "^8.1.10", | ||
"@storybook/addon-essentials": "^8.1.10", | ||
"@storybook/addon-links": "^8.1.10", | ||
"@storybook/blocks": "^8.1.10", | ||
"@storybook/csf": "0.1.2", | ||
"@storybook/react": "^8.1.9", | ||
"@storybook/react-vite": "^8.1.9", | ||
"@storybook/react": "^8.1.10", | ||
"@storybook/react-vite": "^8.1.10", | ||
"@svgr/cli": "^8.1.0", | ||
@@ -90,7 +90,7 @@ "@testing-library/dom": "^10.0.0", | ||
"@types/merge-stream": "^1.1.5", | ||
"@types/node": "^20.14.2", | ||
"@types/node": "^20.14.4", | ||
"@types/react": "^18.3.3", | ||
"@types/react-dom": "^18.3.0", | ||
"@typescript-eslint/eslint-plugin": "^7.13.0", | ||
"@typescript-eslint/parser": "^7.13.0", | ||
"@typescript-eslint/eslint-plugin": "^7.13.1", | ||
"@typescript-eslint/parser": "^7.13.1", | ||
"@vitejs/plugin-react": "^4.3.1", | ||
@@ -123,4 +123,4 @@ "autoprefixer": "^10.4.19", | ||
"rollup-plugin-visualizer": "^5.12.0", | ||
"sass": "^1.77.5", | ||
"storybook": "^8.1.9", | ||
"sass": "^1.77.6", | ||
"storybook": "^8.1.10", | ||
"style-dictionary": "^3.9.2", | ||
@@ -127,0 +127,0 @@ "stylelint": "^15.11.0", |
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
2321146
532
25520