@sanity/ui 2.0.0-alpha.1 → 2.0.0-alpha.2

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.d.ts CHANGED
@@ -344,9 +344,18 @@ export declare interface BaseTheme<Styles extends {} = {}> {
344
344
  textWeight: ThemeFontWeightKey
345
345
  focusRing: FocusRing
346
346
  }
347
+ card: {
348
+ focusRing: FocusRing
349
+ }
347
350
  color: ThemeColorSchemes
348
351
  container: number[]
352
+ /** @deprecated Use component-specific `focusRing` values instead */
353
+ focusRing: {
354
+ offset: number
355
+ width: number
356
+ }
349
357
  fonts: ThemeFonts
358
+ input: ThemeInput
350
359
  /**
351
360
  * THIS API MAY BE UNSTABLE. DO NOT USE IN PRODUCTION.
352
361
  * @beta
@@ -356,10 +365,6 @@ export declare interface BaseTheme<Styles extends {} = {}> {
356
365
  radius: number[]
357
366
  shadows: Array<ThemeShadow | null>
358
367
  space: number[]
359
- input: ThemeInput
360
- card: {
361
- focusRing: FocusRing
362
- }
363
368
  styles?: Styles
364
369
  }
365
370
 
package/dist/index.esm.js CHANGED
@@ -3121,6 +3121,10 @@ const studioTheme = {
3121
3121
  },
3122
3122
  color,
3123
3123
  container: [320, 640, 960, 1280, 1600, 1920],
3124
+ focusRing: {
3125
+ offset: 1,
3126
+ width: 2
3127
+ },
3124
3128
  fonts,
3125
3129
  media: [360, 600, 900, 1200, 1800, 2400],
3126
3130
  radius: [0, 1, 3, 6, 9, 12, 21],