storybook-color-picker
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -14,3 +14,3 @@ "use strict"; | ||
var _utils = require("../utils"); | ||
var _utils = require("../utils/utils"); | ||
@@ -17,0 +17,0 @@ var _colors = _interopRequireDefault(require("./colors")); |
@@ -8,3 +8,3 @@ var _templateObject, _templateObject2; | ||
import { css, jsx } from '@emotion/react'; | ||
import { transformPalette } from "../utils"; | ||
import { transformPalette } from "../utils/utils"; | ||
import Colors from './colors'; | ||
@@ -11,0 +11,0 @@ /** @jsx jsx */ |
{ | ||
"name": "storybook-color-picker", | ||
"description": "Custom palette color picker addon for storybook", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"author": "Adrian_Bielawski", | ||
@@ -24,3 +24,3 @@ "main": "dist/cjs/index.js", | ||
"build:watch": "concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"test": "jest --watch", | ||
"storybook": "start-storybook -p 6006", | ||
@@ -46,5 +46,11 @@ "start": "concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"", | ||
"@storybook/react": "^6.2.9", | ||
"babel-loader": "^8.2.2" | ||
}, | ||
"peerDependencies": { | ||
"@testing-library/react": "^12.0.0", | ||
"@types/jest": "^26.0.23", | ||
"babel-jest": "^27.0.5", | ||
"babel-loader": "^8.2.2", | ||
"enzyme": "^3.11.0", | ||
"enzyme-adapter-react-16": "^1.15.6", | ||
"enzyme-to-json": "^3.6.2", | ||
"jest": "^27.0.5", | ||
"jest-environment-jsdom-global": "^2.0.4", | ||
"react": "^17.0.2", | ||
@@ -57,12 +63,21 @@ "react-dom": "^17.0.2" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/adrianbielawski/storybook-color-picker/issues" | ||
}, | ||
"homepage": "https://github.com/adrianbielawski/storybook-color-picker#readme", | ||
"keywords": [ | ||
"storybook-addons", | ||
"essentials", | ||
"design", | ||
"style", | ||
"storybook", | ||
"addon", | ||
"color", | ||
"picker" | ||
"picker", | ||
"palette" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/adrianbielawski/storybook-color-picker/issues" | ||
}, | ||
"homepage": "https://github.com/adrianbielawski/storybook-color-picker#readme" | ||
"storybook": { | ||
"displayName": "Color picker", | ||
"icon": "https://user-images.githubusercontent.com/57548494/123546997-dbd10500-d756-11eb-9935-2c74087f295e.png" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # storybook-color-picker | ||
An addon for Storybook that allows you to quickly find and copy to clipboard any color from your custom color palette. | ||
An addon for a Storybook that allows you to quickly find and copy to clipboard any color from your custom color palette. | ||
@@ -18,3 +18,3 @@ ![storybook-color-picker](./assets/readme-image.png) | ||
In your .storybook folder find main.js file and add this addon like below | ||
In your `.storybook` folder find `main.js` file and add this addon like below | ||
@@ -32,3 +32,3 @@ ```tsx | ||
In your .storybook folder find preview.js file and add your color palette to parameters like below. | ||
In your `.storybook` folder find `preview.js` file and add your color palette to parameters like below. | ||
Scroll down to find out how your corol palette must look like. | ||
@@ -35,0 +35,0 @@ |
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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
45812
7
37
662
0
0
16