@sanity/ui 1.0.1 → 1.1.0-beta.1
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/dist/{index.esm.js → index.cjs} +936 -808
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +809 -933
- package/dist/index.js.map +1 -1
- package/package.json +30 -28
- package/dist/index.esm.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
+
"type": "module",
|
|
2
3
|
"name": "@sanity/ui",
|
|
3
|
-
"version": "1.0.1",
|
|
4
|
+
"version": "1.1.0-beta.1",
|
|
4
5
|
"sideEffects": false,
|
|
5
6
|
"types": "./dist/index.d.ts",
|
|
6
7
|
"source": "./src/index.ts",
|
|
7
|
-
"module": "./dist/index.
|
|
8
|
-
"main": "./dist/index.
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"main": "./dist/index.cjs",
|
|
9
10
|
"exports": {
|
|
10
11
|
".": {
|
|
11
12
|
"types": "./dist/index.d.ts",
|
|
12
13
|
"source": "./src/index.ts",
|
|
13
|
-
"import": "./dist/index.
|
|
14
|
-
"require": "./dist/index.
|
|
15
|
-
"default": "./dist/index.
|
|
14
|
+
"import": "./dist/index.js",
|
|
15
|
+
"require": "./dist/index.cjs",
|
|
16
|
+
"default": "./dist/index.js"
|
|
16
17
|
},
|
|
17
18
|
"./package.json": "./package.json"
|
|
18
19
|
},
|
|
@@ -40,50 +41,50 @@
|
|
|
40
41
|
"test": "jest",
|
|
41
42
|
"test:browser": "start-server-and-test 'run-s workshop:build workshop:start' http://localhost:1337 'run-s cypress:run'",
|
|
42
43
|
"watch": "pkg watch --strict",
|
|
43
|
-
"workshop:build": "node -r esbuild-register -r tsconfig-paths/register scripts/build",
|
|
44
|
-
"workshop:dev": "node -r esbuild-register -r tsconfig-paths/register scripts/dev",
|
|
44
|
+
"workshop:build": "node --loader esbuild-register/loader -r esbuild-register -r tsconfig-paths/register scripts/build",
|
|
45
|
+
"workshop:dev": "node --loader esbuild-register/loader -r esbuild-register -r tsconfig-paths/register scripts/dev",
|
|
45
46
|
"workshop:start": "http-server -a localhost -c-0 -p 1337 -s -P http://localhost:1337/index.html? dist"
|
|
46
47
|
},
|
|
47
48
|
"dependencies": {
|
|
48
|
-
"@floating-ui/react-dom": "^1.0.
|
|
49
|
+
"@floating-ui/react-dom": "^1.0.1",
|
|
49
50
|
"@sanity/color": "^2.1.20",
|
|
50
|
-
"@sanity/icons": "^2.
|
|
51
|
+
"@sanity/icons": "^2.1.0",
|
|
51
52
|
"csstype": "^3.1.1",
|
|
52
|
-
"framer-motion": "^7.
|
|
53
|
+
"framer-motion": "^7.10.2",
|
|
53
54
|
"react-refractor": "^2.1.7"
|
|
54
55
|
},
|
|
55
56
|
"devDependencies": {
|
|
56
|
-
"@babel/core": "^7.20.
|
|
57
|
+
"@babel/core": "^7.20.5",
|
|
57
58
|
"@babel/preset-env": "^7.20.2",
|
|
58
59
|
"@babel/preset-react": "^7.18.6",
|
|
59
60
|
"@babel/preset-typescript": "^7.18.6",
|
|
60
61
|
"@commitlint/cli": "^17.3.0",
|
|
61
62
|
"@commitlint/config-conventional": "^17.3.0",
|
|
62
63
|
"@juggle/resize-observer": "^3.4.0",
|
|
63
|
-
"@sanity/pkg-utils": "
|
|
64
|
-
"@sanity/semantic-release-preset": "^2.0.
|
|
64
|
+
"@sanity/pkg-utils": "2.0.0-beta.1",
|
|
65
|
+
"@sanity/semantic-release-preset": "^2.0.4",
|
|
65
66
|
"@sanity/ui-workshop": "^1.0.1",
|
|
66
67
|
"@testing-library/dom": "^8.19.0",
|
|
67
68
|
"@testing-library/jest-dom": "^5.16.5",
|
|
68
69
|
"@testing-library/react": "^13.4.0",
|
|
69
|
-
"@types/jest": "^29.2.
|
|
70
|
+
"@types/jest": "^29.2.4",
|
|
70
71
|
"@types/jest-axe": "^3.5.5",
|
|
71
|
-
"@types/node": "^18.11.
|
|
72
|
-
"@types/react": "^18.0.
|
|
72
|
+
"@types/node": "^18.11.16",
|
|
73
|
+
"@types/react": "^18.0.26",
|
|
73
74
|
"@types/react-dom": "^18.0.9",
|
|
74
75
|
"@types/react-is": "^17.0.3",
|
|
75
76
|
"@types/refractor": "^3.0.2",
|
|
76
77
|
"@types/styled-components": "^5.1.26",
|
|
77
78
|
"@types/testing-library__jest-dom": "^5.14.5",
|
|
78
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
79
|
-
"@typescript-eslint/parser": "^5.
|
|
80
|
-
"commitizen": "^4.2.
|
|
79
|
+
"@typescript-eslint/eslint-plugin": "^5.46.1",
|
|
80
|
+
"@typescript-eslint/parser": "^5.46.1",
|
|
81
|
+
"commitizen": "^4.2.6",
|
|
81
82
|
"cypress": "^11.2.0",
|
|
82
83
|
"cypress-real-events": "^1.7.4",
|
|
83
84
|
"cz-conventional-changelog": "^3.3.0",
|
|
84
|
-
"esbuild": "^0.
|
|
85
|
-
"esbuild-register": "^3.4.
|
|
86
|
-
"eslint": "^8.
|
|
85
|
+
"esbuild": "^0.16.7",
|
|
86
|
+
"esbuild-register": "^3.4.2",
|
|
87
|
+
"eslint": "^8.29.0",
|
|
87
88
|
"eslint-config-prettier": "^8.5.0",
|
|
88
89
|
"eslint-plugin-import": "^2.26.0",
|
|
89
90
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
@@ -95,19 +96,19 @@
|
|
|
95
96
|
"jest": "^29.3.1",
|
|
96
97
|
"jest-axe": "^7.0.0",
|
|
97
98
|
"jest-environment-jsdom": "^29.3.1",
|
|
98
|
-
"lint-staged": "^13.0
|
|
99
|
+
"lint-staged": "^13.1.0",
|
|
99
100
|
"module-alias": "^2.2.2",
|
|
100
101
|
"npm-run-all": "^4.1.5",
|
|
101
|
-
"prettier": "^2.8.
|
|
102
|
+
"prettier": "^2.8.1",
|
|
102
103
|
"react": "^18.2.0",
|
|
103
104
|
"react-dom": "^18.2.0",
|
|
104
105
|
"react-is": "^18.2.0",
|
|
105
106
|
"rimraf": "^3.0.2",
|
|
106
107
|
"semantic-release": "^19.0.5",
|
|
107
|
-
"start-server-and-test": "^1.
|
|
108
|
+
"start-server-and-test": "^1.15.2",
|
|
108
109
|
"styled-components": "^5.3.6",
|
|
109
|
-
"tsconfig-paths": "^4.1.
|
|
110
|
-
"typescript": "^4.9.
|
|
110
|
+
"tsconfig-paths": "^4.1.1",
|
|
111
|
+
"typescript": "^4.9.4"
|
|
111
112
|
},
|
|
112
113
|
"peerDependencies": {
|
|
113
114
|
"react": "^18",
|
|
@@ -151,6 +152,7 @@
|
|
|
151
152
|
"branches": [
|
|
152
153
|
"+([0-9])?(.{+([0-9]),x}).x",
|
|
153
154
|
"main",
|
|
155
|
+
"next",
|
|
154
156
|
{
|
|
155
157
|
"name": "beta",
|
|
156
158
|
"prerelease": true
|