@mmb-digital/ds-lilly
Advanced tools
Comparing version 0.0.1-alpha.5 to 0.0.1-alpha.6
@@ -10,2 +10,3 @@ import React, { SyntheticEvent } from 'react' | ||
childrenTheme?: Theme | ||
/** Name of Icon */ | ||
iconName?: IconNameType | ||
@@ -23,23 +24,18 @@ /** Convert item to a button component */ | ||
/** Unique ID for automatic testing */ | ||
testId: string | ||
testId?: string | ||
/** Name of item */ | ||
title: string | ||
} | ||
declare const MenuItem: { | ||
({ | ||
children, | ||
childrenTheme, | ||
iconName, | ||
isButton, | ||
isIconRight, | ||
liTheme, | ||
linkTo, | ||
onClick, | ||
testId, | ||
title | ||
}: Props): JSX.Element | ||
defaultProps: { | ||
testId: string | ||
} | ||
} | ||
declare const MenuItem: ({ | ||
children, | ||
childrenTheme, | ||
iconName, | ||
isButton, | ||
isIconRight, | ||
liTheme, | ||
linkTo, | ||
onClick, | ||
testId, | ||
title | ||
}: Props) => JSX.Element | ||
export default MenuItem |
@@ -0,1 +1,2 @@ | ||
export * from './App' | ||
export * from './Header' |
{ | ||
"name": "@mmb-digital/ds-lilly", | ||
"version": "0.0.1-alpha.5", | ||
"version": "0.0.1-alpha.6", | ||
"description": "MMB LILLY design system", | ||
"scripts": { | ||
"build": "webpack -p --mode production", | ||
"build": "yarn generate:icons && webpack -p --mode production", | ||
"build-storybook": "build-storybook", | ||
@@ -19,3 +19,3 @@ "clean": "shx rm -rf dist", | ||
"generate:index": "node ./scripts/createIndex", | ||
"generate:icons": "node ./scripts/processIcons", | ||
"generate:icons": "node ./scripts/processIcons && svgstore -o src/svg/iconsSprite.svg dist/svg/**/*.svg --inline", | ||
"generate:comp": "plop --plopfile ./scripts/plopfile.js && yarn generate:index" | ||
@@ -80,2 +80,4 @@ }, | ||
"husky": "^4.2.5", | ||
"imagemin": "^7.0.1", | ||
"imagemin-svgo": "^8.0.0", | ||
"jest": "^25.2.4", | ||
@@ -93,2 +95,3 @@ "jest-junit": "^10.0.0", | ||
"svgo": "^1.3.2", | ||
"svgstore-cli": "^2.0.0", | ||
"ts-jest": "^25.3.0", | ||
@@ -95,0 +98,0 @@ "ts-loader": "^6.2.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
629027
44
289
16
0
65