react-admin-color-picker
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "react-admin-color-picker", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "<ColorInput> and <ColorField> components for react-admin (v4). Forked from vascofg/react-admin-color-input.", | ||
"main": "lib/index.js", | ||
"module": "lib/index.esm.js", | ||
"types": "lib/index.d.ts", | ||
"main": "./lib/cjs/index.js", | ||
"module": "./lib/esm/index.js", | ||
"types": "./lib/esm/index.d.ts", | ||
"files": [ | ||
@@ -30,4 +30,2 @@ "LICENSE", | ||
"@mui/material": "^5.8.5", | ||
"@rollup/plugin-commonjs": "^22.0.0", | ||
"@rollup/plugin-node-resolve": "^13.3.0", | ||
"@types/lodash": "^4.14.182", | ||
@@ -37,13 +35,15 @@ "@types/node": "^18.0.0", | ||
"@types/react-color": "^3.0.6", | ||
"copyfiles": "^2.4.1", | ||
"postcss": "^8.4.14", | ||
"ra-core": "^4.1.5", | ||
"react": "^18.2.0", | ||
"rollup": "^2.75.7", | ||
"rollup-plugin-peer-deps-external": "^2.2.4", | ||
"rollup-plugin-postcss": "^4.0.2", | ||
"rollup-plugin-typescript2": "^0.32.1", | ||
"rimraf": "^3.0.2", | ||
"typescript": "^4.7.4" | ||
}, | ||
"scripts": { | ||
"build": "rollup -c" | ||
"build": "yarn clean && yarn build:esm && yarn build:cjs && yarn copy-files", | ||
"build:esm": "tsc", | ||
"build:cjs": "tsc --module commonjs --outDir lib/cjs", | ||
"clean": "rimraf lib/", | ||
"copy-files": "copyfiles -u 1 src/**/*.html src/**/*.css lib/esm && copyfiles -u 1 src/**/*.html src/**/*.css lib/cjs" | ||
}, | ||
@@ -50,0 +50,0 @@ "peerDependencies": { |
@@ -1,2 +0,2 @@ | ||
# `<ColorInput> and <ColorField> compatible with react-admin v4` | ||
# `<ColorInput>` and `<ColorField>` compatible with react-admin v4 | ||
@@ -35,3 +35,3 @@ A color picker for [react-admin](https://github.com/marmelab/react-admin) (v4) using [React Color](http://casesandberg.github.io/react-color/), a collection of color pickers. | ||
import { ColorField, ColorInput } from 'react-admin-color-input'; | ||
import { ColorField, ColorInput } from 'react-admin-color-picker'; | ||
@@ -38,0 +38,0 @@ export const PostShow = () => ( |
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
11
9
13531
184
1