@20minutes/hela
Advanced tools
Comparing version 1.16.5 to 1.17.0
import { default as React } from 'react'; | ||
import { IconProps } from '../..'; | ||
import { As, AsProps, ColorSystemProps, SpacingSystemProps } from '../../../types'; | ||
export declare const buttonVariant: readonly ["primary", "secondary", "tertiary", "has-dark-bg", "ghost", "round", "round-has-white-bg", "close", "link"]; | ||
export declare const buttonVariant: readonly ["primary", "secondary", "tertiary", "has-dark-bg", "ghost", "round", "round-has-white-bg", "close", "link", "half-opacity-dark-bg"]; | ||
export type ButtonVariantType = (typeof buttonVariant)[number]; | ||
@@ -10,4 +10,6 @@ export interface ButtonOptions { | ||
iconProps?: IconProps; | ||
counter?: number; | ||
isCentered?: boolean; | ||
} | ||
export type ButtonProps<T extends As = 'button'> = ButtonOptions & SpacingSystemProps & ColorSystemProps & AsProps<T>; | ||
export declare const Button: import('../../../types').ComponentWithAs<"button", ButtonProps<"button">>; |
@@ -22,4 +22,5 @@ import { default as React } from 'react'; | ||
imgProps?: ImgProps; | ||
imagesNumber?: number; | ||
videoIs16by9?: boolean; | ||
} | ||
export declare const Media: React.FC<MediaProps>; |
@@ -76,1 +76,9 @@ import { default as React } from 'react'; | ||
}; | ||
export declare const WithSlideshowButton: { | ||
args: { | ||
src: string; | ||
caption: string; | ||
imagesNumber: number; | ||
onClick: import('@storybook/addon-actions').HandlerFunction; | ||
}; | ||
}; |
@@ -31,2 +31,3 @@ export * from './AlertInfoBanner'; | ||
export * from './PercentageBar'; | ||
export * from './Prose'; | ||
export * from './ReadAlsoBanner'; | ||
@@ -33,0 +34,0 @@ export * from './SearchBanner'; |
{ | ||
"name": "@20minutes/hela", | ||
"version": "1.16.5", | ||
"version": "1.17.0", | ||
"repository": "git@github.com:20minutes/hela.git", | ||
@@ -75,3 +75,3 @@ "license": "MIT", | ||
"@20minutes/eslint-config": "^1.2.6", | ||
"@aws-sdk/client-s3": "3.637.0", | ||
"@aws-sdk/client-s3": "3.645.0", | ||
"@csstools/postcss-sass": "^5.1.1", | ||
@@ -90,3 +90,3 @@ "@octokit/core": "5.1.0", | ||
"@types/merge-stream": "^1.1.5", | ||
"@types/node": "^22.5.2", | ||
"@types/node": "^22.5.4", | ||
"@types/react": "^18.3.4", | ||
@@ -104,6 +104,6 @@ "@types/react-dom": "^18.3.0", | ||
"eslint-plugin-babel": "^5.3.1", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-jsx-a11y": "^6.9.0", | ||
"eslint-plugin-import": "^2.30.0", | ||
"eslint-plugin-jsx-a11y": "^6.10.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"eslint-plugin-react": "^7.35.1", | ||
"eslint-plugin-react": "^7.35.2", | ||
"eslint-plugin-simple-import-sort": "^12.1.1", | ||
@@ -114,3 +114,3 @@ "eslint-plugin-storybook": "^0.8.0", | ||
"lint-staged": "^15.2.10", | ||
"postcss": "^8.4.44", | ||
"postcss": "^8.4.45", | ||
"postcss-inline-svg": "^6.0.0", | ||
@@ -125,3 +125,3 @@ "postcss-scss": "^4.0.9", | ||
"rollup-plugin-visualizer": "^5.12.0", | ||
"sass": "^1.77.8", | ||
"sass": "^1.78.0", | ||
"storybook": "^8.2.9", | ||
@@ -135,4 +135,4 @@ "style-dictionary": "^3.9.2", | ||
"typescript": "^4.9.5", | ||
"vite": "^5.4.2", | ||
"vite-plugin-dts": "^4.1.0", | ||
"vite": "^5.4.3", | ||
"vite-plugin-dts": "^4.2.1", | ||
"vite-tsconfig-paths": "^5.0.1", | ||
@@ -139,0 +139,0 @@ "vitest": "^2.0.5" |
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
4805783
497
39159