@sanity/ui 1.3.2 → 1.3.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/ui",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "sideEffects": false,
5
5
  "types": "./dist/index.d.ts",
6
6
  "source": "./src/index.ts",
@@ -50,45 +50,45 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@floating-ui/react-dom": "1.1.1",
53
- "@sanity/color": "^2.2.3",
54
- "@sanity/icons": "^2.2.2",
55
- "csstype": "^3.1.1",
56
- "framer-motion": "^10.0.0",
53
+ "@sanity/color": "^2.2.5",
54
+ "@sanity/icons": "^2.3.1",
55
+ "csstype": "^3.1.2",
56
+ "framer-motion": "^10.12.16",
57
57
  "react-refractor": "^2.1.7"
58
58
  },
59
59
  "devDependencies": {
60
- "@babel/core": "^7.20.12",
61
- "@babel/preset-env": "^7.20.2",
62
- "@babel/preset-react": "^7.18.6",
63
- "@babel/preset-typescript": "^7.18.6",
64
- "@commitlint/cli": "^17.4.4",
65
- "@commitlint/config-conventional": "^17.4.4",
60
+ "@babel/core": "^7.22.1",
61
+ "@babel/preset-env": "^7.22.4",
62
+ "@babel/preset-react": "^7.22.3",
63
+ "@babel/preset-typescript": "^7.21.5",
64
+ "@commitlint/cli": "^17.6.5",
65
+ "@commitlint/config-conventional": "^17.6.5",
66
66
  "@juggle/resize-observer": "^3.4.0",
67
- "@sanity/pkg-utils": "^2.2.13",
68
- "@sanity/semantic-release-preset": "^4.1.0",
67
+ "@sanity/pkg-utils": "^2.3.2",
68
+ "@sanity/semantic-release-preset": "^4.1.1",
69
69
  "@sanity/ui-workshop": "^1.2.1",
70
- "@testing-library/dom": "^9.0.0",
70
+ "@testing-library/dom": "^9.3.0",
71
71
  "@testing-library/jest-dom": "^5.16.5",
72
72
  "@testing-library/react": "^14.0.0",
73
- "@types/jest": "^29.4.0",
73
+ "@types/jest": "^29.5.2",
74
74
  "@types/jest-axe": "^3.5.5",
75
- "@types/node": "^18.14.0",
76
- "@types/react": "^18.0.28",
77
- "@types/react-dom": "^18.0.11",
78
- "@types/react-is": "^17.0.3",
75
+ "@types/node": "^18.16.16",
76
+ "@types/react": "^18.2.9",
77
+ "@types/react-dom": "^18.2.4",
78
+ "@types/react-is": "^18.2.0",
79
79
  "@types/refractor": "^3.0.2",
80
80
  "@types/styled-components": "^5.1.26",
81
- "@types/testing-library__jest-dom": "^5.14.5",
82
- "@typescript-eslint/eslint-plugin": "^5.52.0",
83
- "@typescript-eslint/parser": "^5.52.0",
81
+ "@types/testing-library__jest-dom": "^5.14.6",
82
+ "@typescript-eslint/eslint-plugin": "^5.59.9",
83
+ "@typescript-eslint/parser": "^5.59.9",
84
84
  "commitizen": "^4.3.0",
85
- "cypress": "^12.8.1",
86
- "cypress-real-events": "^1.7.6",
85
+ "cypress": "^12.14.0",
86
+ "cypress-real-events": "^1.8.1",
87
87
  "cz-conventional-changelog": "^3.3.0",
88
- "esbuild": "^0.17.12",
88
+ "esbuild": "^0.17.19",
89
89
  "esbuild-register": "^3.4.2",
90
- "eslint": "^8.34.0",
91
- "eslint-config-prettier": "^8.6.0",
90
+ "eslint": "^8.42.0",
91
+ "eslint-config-prettier": "^8.8.0",
92
92
  "eslint-plugin-import": "^2.27.5",
93
93
  "eslint-plugin-jsx-a11y": "^6.7.1",
94
94
  "eslint-plugin-prettier": "^4.2.1",
@@ -96,22 +96,22 @@
96
96
  "eslint-plugin-react-hooks": "^4.6.0",
97
97
  "http-server": "^14.1.1",
98
98
  "husky": "^8.0.3",
99
- "jest": "^29.4.3",
100
- "jest-axe": "^7.0.0",
101
- "jest-environment-jsdom": "^29.4.3",
102
- "lint-staged": "^13.1.2",
103
- "module-alias": "^2.2.2",
99
+ "jest": "^29.5.0",
100
+ "jest-axe": "^7.0.1",
101
+ "jest-environment-jsdom": "^29.5.0",
102
+ "lint-staged": "^13.2.2",
103
+ "module-alias": "^2.2.3",
104
104
  "npm-run-all": "^4.1.5",
105
- "prettier": "^2.8.4",
105
+ "prettier": "^2.8.8",
106
106
  "react": "^18.2.0",
107
107
  "react-dom": "^18.2.0",
108
108
  "react-is": "^18.2.0",
109
- "rimraf": "^5.0.0",
110
- "semantic-release": "^21.0.0",
109
+ "rimraf": "^5.0.1",
110
+ "semantic-release": "^21.0.3",
111
111
  "start-server-and-test": "^2.0.0",
112
- "styled-components": "^5.3.9",
113
- "tsconfig-paths": "^4.1.2",
114
- "typescript": "^5.0.0"
112
+ "styled-components": "^5.3.11",
113
+ "tsconfig-paths": "^4.2.0",
114
+ "typescript": "^5.1.3"
115
115
  },
116
116
  "peerDependencies": {
117
117
  "react": "^18",
@@ -109,6 +109,7 @@ const DialogCardRoot = styled(Card)`
109
109
  min-height: 0;
110
110
  max-height: 100%;
111
111
  overflow: hidden;
112
+ overflow: clip;
112
113
  `
113
114
 
114
115
  const DialogLayout = styled(Flex)`
@@ -6,6 +6,7 @@ const SanityUploadButton = styled(Button).attrs({forwardedAs: 'label'})`
6
6
  & input {
7
7
  -webkit-appearance: none;
8
8
  overflow: hidden;
9
+ overflow: clip;
9
10
  top: 0;
10
11
  left: 0;
11
12
  width: 100%;
@@ -39,6 +39,7 @@ const SpanWithTextOverflow = styled.span`
39
39
  white-space: nowrap;
40
40
  text-overflow: ellipsis;
41
41
  overflow: hidden;
42
+ overflow: clip;
42
43
  `
43
44
 
44
45
  /**
@@ -36,6 +36,7 @@ const SpanWithTextOverflow = styled.span`
36
36
  white-space: nowrap;
37
37
  text-overflow: ellipsis;
38
38
  overflow: hidden;
39
+ overflow: clip;
39
40
  `
40
41
 
41
42
  /**
@@ -39,6 +39,7 @@ const SpanWithTextOverflow = styled.span`
39
39
  white-space: nowrap;
40
40
  text-overflow: ellipsis;
41
41
  overflow: hidden;
42
+ overflow: clip;
42
43
  `
43
44
 
44
45
  /**
@@ -15,6 +15,7 @@ const Root = styled.div`
15
15
  height: 0;
16
16
  position: absolute;
17
17
  overflow: hidden;
18
+ overflow: clip;
18
19
  `
19
20
 
20
21
  /**