@sanity/ui 4.0.0-static.6 → 4.0.0-static.8

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": "4.0.0-static.6",
3
+ "version": "4.0.0-static.8",
4
4
  "keywords": [
5
5
  "react",
6
6
  "ui",
@@ -157,6 +157,7 @@
157
157
  "autoprefixer": "^10.4.21",
158
158
  "babel-plugin-react-compiler": "19.1.0-rc.2",
159
159
  "browserslist": "^4.25.1",
160
+ "browserslist-config-baseline": "^0.4.0",
160
161
  "cac": "^6.7.14",
161
162
  "commitizen": "^4.3.1",
162
163
  "cssnano": "^7.1.0",
@@ -137,11 +137,15 @@ export const image: string = _style(layers.primitives, {
137
137
  })
138
138
 
139
139
  globalStyle(`${image} img`, {
140
- display: 'block',
141
- width: '100%',
142
- height: '100%',
143
- objectFit: 'cover',
144
- borderRadius: 'inherit',
140
+ '@layer': {
141
+ [layers.primitives]: {
142
+ display: 'block',
143
+ width: '100%',
144
+ height: '100%',
145
+ objectFit: 'cover',
146
+ borderRadius: 'inherit',
147
+ },
148
+ },
145
149
  })
146
150
 
147
151
  export const imageOutline: string = _style(layers.primitives, {