@20minutes/hela
Advanced tools
Comparing version 0.1.184 to 0.1.185
import React from 'react'; | ||
import { type SignatureProps, type SocialBarProps } from '../../../..'; | ||
import { type CardType, LayoutType, type SpacingSystemProps } from '../../../../../types'; | ||
export interface CardExtraLargeProps extends CardType, SpacingSystemProps { | ||
layout: LayoutType; | ||
signatureProps?: SignatureProps; | ||
socialBarProps?: SocialBarProps; | ||
follows3ColumnsGrid?: boolean; | ||
} | ||
export declare const CardExtraLarge: React.FC<CardExtraLargeProps>; |
import React from 'react'; | ||
import { type BoxProps, type SocialBarProps } from '../../../..'; | ||
import { type BoxProps } from '../../../..'; | ||
import { type CardType, LayoutType, type SystemProps } from '../../../../../types'; | ||
export interface CardExtraSmallProps extends CardType, SystemProps, Pick<BoxProps, 'className'> { | ||
layout?: LayoutType; | ||
socialBarProps?: SocialBarProps; | ||
} | ||
export declare const CardExtraSmall: React.FC<CardExtraSmallProps>; |
import React from 'react'; | ||
import { type SignatureProps, type SocialBarProps } from '../../../..'; | ||
import { type CardType, LayoutType, type SpacingSystemProps } from '../../../../../types'; | ||
export interface CardLargeProps extends CardType, SpacingSystemProps { | ||
layout: LayoutType; | ||
signatureProps?: SignatureProps; | ||
socialBarProps?: SocialBarProps; | ||
} | ||
export declare const CardLarge: React.FC<CardLargeProps>; |
@@ -17,11 +17,3 @@ import React from 'react'; | ||
}; | ||
summaryProps: { | ||
children: string; | ||
}; | ||
socialBarProps: { | ||
saveContentId: string; | ||
}; | ||
signatureProps: { | ||
publishedAt: undefined; | ||
editedAt: undefined; | ||
avatars: { | ||
@@ -33,5 +25,8 @@ title: string; | ||
layout: LayoutType; | ||
authorHighlighted: boolean; | ||
disableAvatar: boolean; | ||
}; | ||
socialBarProps: { | ||
commentCount: number; | ||
shareCount: number; | ||
saveContentId: string; | ||
}; | ||
}; | ||
@@ -38,0 +33,0 @@ argTypes: { |
import React from 'react'; | ||
import { type BoxProps, type SocialBarProps } from '../../../..'; | ||
import { type BoxProps } from '../../../..'; | ||
import type { CardType, SystemProps } from '../../../../../types'; | ||
export interface CardMediumProps extends CardType, SystemProps, Pick<BoxProps, 'className'> { | ||
socialBarProps?: SocialBarProps; | ||
} | ||
export declare const CardMedium: React.FC<CardMediumProps>; |
@@ -7,2 +7,2 @@ import React from 'react'; | ||
} | ||
export declare function CardOverview({ link, cardImageProps, cardHeaderProps, cardTitleProps, title, labelBg, ...props }: CardOverviewProps): React.JSX.Element; | ||
export declare const CardOverview: React.FC<CardOverviewProps>; |
@@ -1,5 +0,5 @@ | ||
import { CardOverview } from './CardOverview'; | ||
import React from 'react'; | ||
declare const _default: { | ||
title: string; | ||
component: typeof CardOverview; | ||
component: React.FC<import("./CardOverview").CardOverviewProps>; | ||
args: { | ||
@@ -6,0 +6,0 @@ link: string; |
import React from 'react'; | ||
import { type SocialBarProps } from '../../../..'; | ||
import { type CardType, LayoutType, type SpacingSystemProps } from '../../../../../types'; | ||
export interface CardWithSummaryProps extends CardType, SpacingSystemProps { | ||
layout: LayoutType; | ||
socialBarProps?: SocialBarProps; | ||
} | ||
export declare const CardWithSummary: React.FC<CardWithSummaryProps>; |
@@ -19,4 +19,4 @@ import React from 'react'; | ||
children: string; | ||
socialBarProps: Partial<import("@storybook/types").Args> | undefined; | ||
}; | ||
socialBarProps: Partial<import("@storybook/types").Args> | undefined; | ||
}; | ||
@@ -23,0 +23,0 @@ argTypes: { |
import React from 'react'; | ||
import type { SubMenuProps } from '../..'; | ||
import { LayoutType } from '../../../types'; | ||
import { type HeaderDesktopProps } from './HeaderDesktop'; | ||
export interface HeaderProps extends HeaderDesktopProps { | ||
export interface HeaderProps { | ||
logohref: string; | ||
searchformurl: string; | ||
headerLinks: SubMenuProps[]; | ||
logoIsHeading?: boolean; | ||
layout?: LayoutType; | ||
} | ||
export declare const Header: React.FC<HeaderProps>; |
@@ -7,3 +7,4 @@ import React from 'react'; | ||
headerLinks: SubMenuProps[]; | ||
logoIsHeading?: boolean; | ||
} | ||
export declare const HeaderDesktop: React.FC<HeaderDesktopProps>; |
import React from 'react'; | ||
export interface HeaderMobileProps { | ||
logohref: string; | ||
logoIsHeading?: boolean; | ||
} | ||
export declare const HeaderMobile: React.FC<HeaderMobileProps>; |
export * from './Header'; | ||
export * from './HeaderDesktop'; | ||
export * from './HeaderMobile'; |
@@ -1,2 +0,2 @@ | ||
import type { CardFooterProps, CardHeaderProps, CardTitleProps, IconProps, TextProps } from '../components'; | ||
import type { CardFooterProps, CardHeaderProps, CardTitleProps, IconProps, SignatureProps, SocialBarProps, TextProps } from '../components'; | ||
import type { TextSizeType, TextType } from '.'; | ||
@@ -37,2 +37,4 @@ export interface CardHeaderType { | ||
cardFooterProps?: CardFooterProps; | ||
signatureProps?: SignatureProps; | ||
socialBarProps?: SocialBarProps; | ||
} |
{ | ||
"name": "@20minutes/hela", | ||
"version": "0.1.184", | ||
"version": "0.1.185", | ||
"repository": "git@github.com:20minutes/hela.git", | ||
@@ -38,3 +38,3 @@ "license": "MIT", | ||
"copy-scss-output-dist": "ts-node bin/copyScssOutputDist", | ||
"build:library": "vite build --mode library && vite build --mode scripts && yarn copy-scss-output-dist", | ||
"build:library": "vite build --mode library && rm -rf dist/tests dist/.storybook dist/bin && vite build --mode scripts && yarn copy-scss-output-dist", | ||
"build:local": "NODE_ENV=development yarn build:library && yarn pack -f 20minutes-hela-dev-$(date +\"%s\").tgz && npx serv -p 8181", | ||
@@ -75,3 +75,3 @@ "storybook": "storybook dev -p 6006", | ||
"@20minutes/eslint-config": "^1.2.6", | ||
"@aws-sdk/client-s3": "3.504.0", | ||
"@aws-sdk/client-s3": "3.507.0", | ||
"@babel/core": "^7.23.9", | ||
@@ -90,9 +90,9 @@ "@babel/eslint-parser": "^7.23.10", | ||
"@svgr/cli": "^8.1.0", | ||
"@testing-library/react": "^14.2.0", | ||
"@testing-library/react": "^14.2.1", | ||
"@types/merge-stream": "^1.1.5", | ||
"@types/node": "^20.11.14", | ||
"@types/react": "^18.2.48", | ||
"@types/node": "^20.11.16", | ||
"@types/react": "^18.2.54", | ||
"@types/react-dom": "^18.2.18", | ||
"@typescript-eslint/eslint-plugin": "^6.20.0", | ||
"@typescript-eslint/parser": "^6.20.0", | ||
"@typescript-eslint/eslint-plugin": "^6.21.0", | ||
"@typescript-eslint/parser": "^6.21.0", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
@@ -115,6 +115,6 @@ "@whitespace/storybook-addon-html": "^5.1.6", | ||
"eslint-plugin-storybook": "^0.6.15", | ||
"husky": "^9.0.7", | ||
"husky": "^9.0.10", | ||
"jsdom": "^24.0.0", | ||
"lint-staged": "^15.2.1", | ||
"postcss": "^8.4.33", | ||
"lint-staged": "^15.2.2", | ||
"postcss": "^8.4.34", | ||
"postcss-inline-svg": "^6.0.0", | ||
@@ -121,0 +121,0 @@ "postcss-scss": "^4.0.9", |
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
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
1648055
24
459
16279