@sanity/ui 3.0.0-static.17 → 3.0.0-static.18

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/css.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import {AvatarSize} from '@sanity/ui/theme'
2
- import {ColorTintKey} from '@sanity/color'
2
+ import type {ColorTintKey} from '@sanity/color'
3
3
  import {ContainerWidth} from '@sanity/ui/theme'
4
4
  import {default as CSS_2} from 'csstype'
5
5
  import {FontCodeSize} from '@sanity/ui/theme'
@@ -7,7 +7,7 @@ import {FontHeadingSize} from '@sanity/ui/theme'
7
7
  import {FontLabelSize} from '@sanity/ui/theme'
8
8
  import {FontTextSize} from '@sanity/ui/theme'
9
9
  import {FontWeight} from '@sanity/ui/theme'
10
- import {Hue} from '@sanity/ui/theme'
10
+ import type {Hue} from '@sanity/ui/theme'
11
11
  import {Radius} from '@sanity/ui/theme'
12
12
  import {RootTheme} from '@sanity/ui/theme'
13
13
  import {Shadow} from '@sanity/ui/theme'
@@ -17,7 +17,7 @@ import {ThemeColorAvatarColorKey} from '@sanity/ui/theme'
17
17
  import {ThemeColorCardToneKey} from '@sanity/ui/theme'
18
18
  import {ThemeColorSchemeKey} from '@sanity/ui/theme'
19
19
  import {ThemeColorStateToneKey} from '@sanity/ui/theme'
20
- import {Tint} from '@sanity/ui/theme'
20
+ import type {Tint} from '@sanity/ui/theme'
21
21
 
22
22
  /** @public */
23
23
  export declare function animatedSpinnerIcon(): string | undefined
@@ -126,8 +126,12 @@ export declare interface BoxStyleProps
126
126
  /** @public */
127
127
  export declare function breadcrumbs(): string | undefined
128
128
 
129
+ /** @public */
130
+ export declare type Breakpoint = keyof typeof BREAKPOINTS
131
+
129
132
  /** @public */
130
133
  export declare const BREAKPOINTS: {
134
+ 0: number
131
135
  1: number
132
136
  2: number
133
137
  3: number
package/dist/css.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import {AvatarSize} from '@sanity/ui/theme'
2
- import {ColorTintKey} from '@sanity/color'
2
+ import type {ColorTintKey} from '@sanity/color'
3
3
  import {ContainerWidth} from '@sanity/ui/theme'
4
4
  import {default as CSS_2} from 'csstype'
5
5
  import {FontCodeSize} from '@sanity/ui/theme'
@@ -7,7 +7,7 @@ import {FontHeadingSize} from '@sanity/ui/theme'
7
7
  import {FontLabelSize} from '@sanity/ui/theme'
8
8
  import {FontTextSize} from '@sanity/ui/theme'
9
9
  import {FontWeight} from '@sanity/ui/theme'
10
- import {Hue} from '@sanity/ui/theme'
10
+ import type {Hue} from '@sanity/ui/theme'
11
11
  import {Radius} from '@sanity/ui/theme'
12
12
  import {RootTheme} from '@sanity/ui/theme'
13
13
  import {Shadow} from '@sanity/ui/theme'
@@ -17,7 +17,7 @@ import {ThemeColorAvatarColorKey} from '@sanity/ui/theme'
17
17
  import {ThemeColorCardToneKey} from '@sanity/ui/theme'
18
18
  import {ThemeColorSchemeKey} from '@sanity/ui/theme'
19
19
  import {ThemeColorStateToneKey} from '@sanity/ui/theme'
20
- import {Tint} from '@sanity/ui/theme'
20
+ import type {Tint} from '@sanity/ui/theme'
21
21
 
22
22
  /** @public */
23
23
  export declare function animatedSpinnerIcon(): string | undefined
@@ -126,8 +126,12 @@ export declare interface BoxStyleProps
126
126
  /** @public */
127
127
  export declare function breadcrumbs(): string | undefined
128
128
 
129
+ /** @public */
130
+ export declare type Breakpoint = keyof typeof BREAKPOINTS
131
+
129
132
  /** @public */
130
133
  export declare const BREAKPOINTS: {
134
+ 0: number
131
135
  1: number
132
136
  2: number
133
137
  3: number
package/dist/css.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { COLOR_HUES, COLOR_TINTS, color } from "@sanity/color";
2
2
  import { SPACE, SHADOW, RADIUS, FONT_TEXT_SIZE, FONT_LABEL_SIZE, FONT_HEADING_SIZE, FONT_CODE_SIZE, THEME_COLOR_CARD_TONES, AVATAR_SIZE, THEME_COLOR_STATE_TONES, HUES, TINTS, THEME_COLOR_AVATAR_COLORS, THEME_COLOR_SCHEMES as THEME_COLOR_SCHEMES$1, renderColor } from "@sanity/ui/theme";
3
3
  const BREAKPOINTS = {
4
+ 0: 0,
4
5
  1: 360,
5
6
  2: 600,
6
7
  3: 900,