@sanity/ui 2.0.0-beta.11 → 2.0.0-beta.13

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": "2.0.0-beta.11",
3
+ "version": "2.0.0-beta.13",
4
4
  "sideEffects": false,
5
5
  "types": "./dist/index.d.ts",
6
6
  "source": "./exports/index.ts",
@@ -149,17 +149,15 @@ export const Button = forwardRef(function Button(
149
149
  )}
150
150
 
151
151
  {text && (
152
- <Box flex={iconRight ? 1 : undefined}>
153
- <Text
154
- muted={muted}
155
- align={textAlign}
156
- size={fontSize}
157
- textOverflow="ellipsis"
158
- weight={button.textWeight}
159
- >
160
- {text}
161
- </Text>
162
- </Box>
152
+ <Text
153
+ muted={muted}
154
+ align={textAlign}
155
+ size={fontSize}
156
+ textOverflow="ellipsis"
157
+ weight={button.textWeight}
158
+ >
159
+ {text}
160
+ </Text>
163
161
  )}
164
162
 
165
163
  {iconRight && (
@@ -24,7 +24,7 @@ export const defaultThemeConfig: Omit<RootTheme_v2, 'color' | 'font'> = {
24
24
  focusRing: {offset: -1, width: 1},
25
25
  shadow: {outline: OUTLINE_WIDTH},
26
26
  },
27
- container: [480, 640, 960, 1280, 1600, 1920],
27
+ container: [320, 640, 960, 1280, 1600, 1920],
28
28
  media: [360, 600, 900, 1200, 1800, 2400],
29
29
  layer: {
30
30
  dialog: {zOffset: 600},