@20minutes/hela
Advanced tools
Comparing version 1.11.2 to 1.12.0
import { default as React } from 'react'; | ||
import { BoxProps } from '../../..'; | ||
import { PoliticalPartyType } from '../../../../types'; | ||
interface PoliticalPartyResult { | ||
name: string; | ||
export interface PoliticalPartyResult { | ||
politicalParty: PoliticalPartyType; | ||
seats: number; | ||
color: string; | ||
} | ||
@@ -13,2 +13,1 @@ export interface HalfDonutProps extends Omit<BoxProps, 'results'> { | ||
export declare const HalfDonut: React.FC<HalfDonutProps>; | ||
export {}; |
@@ -0,4 +1,7 @@ | ||
import { HalfDonutProps } from './HalfDonut'; | ||
declare const _default: { | ||
title: string; | ||
component: import('react').FC<import('./HalfDonut').HalfDonutProps>; | ||
component: import('react').FC<HalfDonutProps>; | ||
args: HalfDonutProps; | ||
argTypes: { | ||
@@ -31,10 +34,2 @@ m?: import('@storybook/csf').InputType | undefined; | ||
export default _default; | ||
export declare const Overview: { | ||
args: { | ||
results: { | ||
name: string; | ||
seats: number; | ||
color: string; | ||
}[]; | ||
}; | ||
}; | ||
export declare const Overview: {}; |
export * from './HalfDonut'; | ||
export * from './Legend'; | ||
export * from './MapDepartments'; |
import { default as React } from 'react'; | ||
import { GridProps } from '../../..'; | ||
import { PoliticalPartyType } from '../../../../types'; | ||
interface LegendOptions { | ||
export interface LegendOptions { | ||
name: string; | ||
seats: number; | ||
color: string; | ||
color: PoliticalPartyType['color']; | ||
subLegend?: string; | ||
} | ||
@@ -13,2 +14,1 @@ export interface LegendProps extends GridProps { | ||
export declare const Legend: React.FC<LegendProps>; | ||
export {}; |
@@ -0,4 +1,7 @@ | ||
import { LegendProps } from './Legend'; | ||
declare const _default: { | ||
title: string; | ||
component: import('react').FC<import('./Legend').LegendProps>; | ||
component: import('react').FC<LegendProps>; | ||
args: LegendProps; | ||
argTypes: { | ||
@@ -31,10 +34,2 @@ m?: import('@storybook/csf').InputType | undefined; | ||
export default _default; | ||
export declare const Overview: { | ||
args: { | ||
items: { | ||
name: string; | ||
seats: number; | ||
color: string; | ||
}[]; | ||
}; | ||
}; | ||
export declare const Overview: {}; |
@@ -10,3 +10,3 @@ export * from './AsProps'; | ||
export * from './MessageType'; | ||
export * from './PoliticalPartiesColorsType'; | ||
export * from './PoliticalPartiesType'; | ||
export * from './SponsorType'; | ||
@@ -13,0 +13,0 @@ export * from './SystemProps'; |
{ | ||
"name": "@20minutes/hela", | ||
"version": "1.11.2", | ||
"version": "1.12.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.583.0", | ||
"@aws-sdk/client-s3": "3.587.0", | ||
"@csstools/postcss-sass": "^5.1.1", | ||
@@ -121,3 +121,3 @@ "@octokit/core": "5.1.0", | ||
"rollup-plugin-visualizer": "^5.12.0", | ||
"sass": "^1.77.3", | ||
"sass": "^1.77.4", | ||
"storybook": "^8.0.8", | ||
@@ -124,0 +124,0 @@ "style-dictionary": "^3.9.2", |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
1807276
513
22464
65