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

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.7",
4
4
  "keywords": [
5
5
  "react",
6
6
  "ui",
@@ -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, {