@sanity/color-input 3.0.1 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/lib/{src/index.d.ts → index.d.ts} +0 -0
- package/lib/index.esm.js +489 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +505 -1
- package/lib/index.js.map +1 -1
- package/package.json +28 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/color-input",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Color input",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"author": "Sanity.io <hello@sanity.io>",
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
26
|
-
"types": "./lib/
|
|
26
|
+
"types": "./lib/index.d.ts",
|
|
27
27
|
"source": "./src/index.ts",
|
|
28
28
|
"import": "./lib/index.esm.js",
|
|
29
29
|
"require": "./lib/index.js",
|
|
@@ -34,24 +34,24 @@
|
|
|
34
34
|
"main": "./lib/index.js",
|
|
35
35
|
"module": "./lib/index.esm.js",
|
|
36
36
|
"source": "./src/index.ts",
|
|
37
|
-
"types": "./lib/
|
|
37
|
+
"types": "./lib/index.d.ts",
|
|
38
38
|
"files": [
|
|
39
|
-
"src",
|
|
40
39
|
"lib",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
40
|
+
"sanity.json",
|
|
41
|
+
"src",
|
|
42
|
+
"v2-incompatible.js"
|
|
43
43
|
],
|
|
44
44
|
"scripts": {
|
|
45
45
|
"prebuild": "npm run clean && plugin-kit verify-package --silent && pkg-utils",
|
|
46
|
-
"build": "pkg-utils build --strict",
|
|
46
|
+
"build": "run-s clean && plugin-kit verify-package --silent && pkg-utils build --strict && pkg-utils --strict",
|
|
47
47
|
"clean": "rimraf lib",
|
|
48
48
|
"compile": "tsc --noEmit",
|
|
49
|
-
"format": "prettier
|
|
49
|
+
"format": "prettier --write --cache --ignore-unknown .",
|
|
50
50
|
"link-watch": "plugin-kit link-watch",
|
|
51
51
|
"lint": "eslint .",
|
|
52
52
|
"prepare": "husky install",
|
|
53
|
-
"prepublishOnly": "
|
|
54
|
-
"watch": "pkg-utils watch"
|
|
53
|
+
"prepublishOnly": "run-s build",
|
|
54
|
+
"watch": "pkg-utils watch --strict"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@sanity/icons": "^2.0.0",
|
|
@@ -63,34 +63,38 @@
|
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@commitlint/cli": "^17.2.0",
|
|
65
65
|
"@commitlint/config-conventional": "^17.2.0",
|
|
66
|
-
"@sanity/pkg-utils": "^1.
|
|
67
|
-
"@sanity/plugin-kit": "^
|
|
66
|
+
"@sanity/pkg-utils": "^2.1.0",
|
|
67
|
+
"@sanity/plugin-kit": "^3.1.1",
|
|
68
68
|
"@sanity/semantic-release-preset": "^2.0.2",
|
|
69
|
+
"@types/react": "^18.0.26",
|
|
69
70
|
"@types/react-color": "^2.17.6",
|
|
70
71
|
"@types/styled-components": "^5.1.25",
|
|
71
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
72
|
-
"@typescript-eslint/parser": "^5.
|
|
73
|
-
"eslint": "^8.
|
|
74
|
-
"eslint-config-prettier": "^8.
|
|
72
|
+
"@typescript-eslint/eslint-plugin": "^5.48.0",
|
|
73
|
+
"@typescript-eslint/parser": "^5.48.0",
|
|
74
|
+
"eslint": "^8.31.0",
|
|
75
|
+
"eslint-config-prettier": "^8.6.0",
|
|
75
76
|
"eslint-config-sanity": "^6.0.0",
|
|
76
77
|
"eslint-plugin-prettier": "^4.2.1",
|
|
77
|
-
"eslint-plugin-react": "^7.31.
|
|
78
|
+
"eslint-plugin-react": "^7.31.11",
|
|
78
79
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
79
80
|
"husky": "^8.0.1",
|
|
80
81
|
"lint-staged": "^13.0.3",
|
|
81
|
-
"
|
|
82
|
+
"npm-run-all": "^4.1.5",
|
|
83
|
+
"prettier": "^2.8.1",
|
|
82
84
|
"prettier-plugin-packagejson": "^2.3.0",
|
|
83
|
-
"react": "^18",
|
|
85
|
+
"react": "^18.2.0",
|
|
86
|
+
"react-dom": "^18.2.0",
|
|
87
|
+
"react-is": "^18.2.0",
|
|
84
88
|
"rimraf": "^3.0.2",
|
|
85
|
-
"sanity": "^3.
|
|
89
|
+
"sanity": "^3.1.4",
|
|
86
90
|
"semantic-release": "^19.0.3",
|
|
87
|
-
"styled-components": "^5.
|
|
88
|
-
"typescript": "^4.
|
|
91
|
+
"styled-components": "^5.3.6",
|
|
92
|
+
"typescript": "^4.9.4"
|
|
89
93
|
},
|
|
90
94
|
"peerDependencies": {
|
|
91
95
|
"react": "^18",
|
|
92
|
-
"sanity": "^3
|
|
93
|
-
"styled-components": "^5.2
|
|
96
|
+
"sanity": "^3",
|
|
97
|
+
"styled-components": "^5.2"
|
|
94
98
|
},
|
|
95
99
|
"engines": {
|
|
96
100
|
"node": ">=14"
|