@sanity/ui 3.0.0-static.28 → 3.0.0-static.29
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/README.md +5 -8
- package/dist/_chunks-cjs/_visual-editing.cjs +66 -66
- package/dist/_chunks-cjs/_visual-editing.cjs.map +1 -1
- package/dist/_chunks-es/_visual-editing.js +67 -67
- package/dist/_chunks-es/_visual-editing.js.map +1 -1
- package/dist/{css.cjs → css/index.cjs} +47 -37
- package/dist/css/index.cjs.map +1 -0
- package/dist/css/index.css +1 -0
- package/dist/{css.d.cts → css/index.d.cts} +13 -3
- package/dist/{css.d.ts → css/index.d.ts} +13 -3
- package/dist/{css.js → css/index.js} +47 -37
- package/dist/css/index.js.map +1 -0
- package/dist/index.cjs +104 -48
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -9
- package/dist/index.d.ts +28 -9
- package/dist/index.js +107 -51
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/src/core/components/autocomplete/autocomplete.tsx +3 -3
- package/src/core/components/toast/toast.tsx +13 -14
- package/src/core/components/toast/toastProvider.tsx +14 -10
- package/src/core/index.ts +1 -0
- package/src/core/primitives/root/Root.tsx +89 -0
- package/src/core/primitives/root/__workshop__/boundary.tsx +5 -0
- package/src/core/primitives/root/__workshop__/index.ts +8 -0
- package/src/core/primitives/root/index.ts +1 -0
- package/src/css/components/toast/toast.css.ts +1 -0
- package/src/css/defaultTheme.css.ts +55 -2
- package/src/css/index.ts +2 -0
- package/src/css/primitives/root/index.ts +2 -0
- package/src/css/primitives/root/root.css.ts +15 -0
- package/src/css/primitives/root/root.ts +17 -0
- package/src/css/primitives/root/types.ts +10 -0
- package/dist/css.cjs.map +0 -1
- package/dist/css.js.map +0 -1
- package/dist/index.css +0 -1
|
@@ -488,9 +488,6 @@ export declare type _CSSThemeWithoutPalette = Omit<CSSTheme, '@layer' | 'color'>
|
|
|
488
488
|
color: Omit<CSSThemeColor, 'palette'>
|
|
489
489
|
}
|
|
490
490
|
|
|
491
|
-
/** @public */
|
|
492
|
-
export declare const defaultTheme: string
|
|
493
|
-
|
|
494
491
|
/** @public */
|
|
495
492
|
export declare function dialog(props: {className?: string}): string | undefined
|
|
496
493
|
|
|
@@ -1220,6 +1217,16 @@ export declare type ResponsiveRuleOptions<K extends string | number> = Record<K,
|
|
|
1220
1217
|
/** @public */
|
|
1221
1218
|
export declare type ResponsiveRules = Record<Breakpoint, string>
|
|
1222
1219
|
|
|
1220
|
+
/** @public */
|
|
1221
|
+
export declare function root(props: RootStyleProps): string | undefined
|
|
1222
|
+
|
|
1223
|
+
/** @public */
|
|
1224
|
+
export declare interface RootStyleProps extends HeightStyleProps {
|
|
1225
|
+
className?: string
|
|
1226
|
+
scheme?: ThemeColorSchemeKey
|
|
1227
|
+
tone?: ThemeColorCardToneKey
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1223
1230
|
/**
|
|
1224
1231
|
* @public
|
|
1225
1232
|
* @deprecated Use `GridTemplateRows` instead
|
|
@@ -1371,6 +1378,9 @@ export declare interface TextStyleProps extends FlexStyleProps, FontStyleProps,
|
|
|
1371
1378
|
size?: ResponsiveProp<TextSize>
|
|
1372
1379
|
}
|
|
1373
1380
|
|
|
1381
|
+
/** @public */
|
|
1382
|
+
export declare const themeClassName: string
|
|
1383
|
+
|
|
1374
1384
|
/**
|
|
1375
1385
|
* Variables to be defined in a theme.
|
|
1376
1386
|
*
|
|
@@ -488,9 +488,6 @@ export declare type _CSSThemeWithoutPalette = Omit<CSSTheme, '@layer' | 'color'>
|
|
|
488
488
|
color: Omit<CSSThemeColor, 'palette'>
|
|
489
489
|
}
|
|
490
490
|
|
|
491
|
-
/** @public */
|
|
492
|
-
export declare const defaultTheme: string
|
|
493
|
-
|
|
494
491
|
/** @public */
|
|
495
492
|
export declare function dialog(props: {className?: string}): string | undefined
|
|
496
493
|
|
|
@@ -1220,6 +1217,16 @@ export declare type ResponsiveRuleOptions<K extends string | number> = Record<K,
|
|
|
1220
1217
|
/** @public */
|
|
1221
1218
|
export declare type ResponsiveRules = Record<Breakpoint, string>
|
|
1222
1219
|
|
|
1220
|
+
/** @public */
|
|
1221
|
+
export declare function root(props: RootStyleProps): string | undefined
|
|
1222
|
+
|
|
1223
|
+
/** @public */
|
|
1224
|
+
export declare interface RootStyleProps extends HeightStyleProps {
|
|
1225
|
+
className?: string
|
|
1226
|
+
scheme?: ThemeColorSchemeKey
|
|
1227
|
+
tone?: ThemeColorCardToneKey
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1223
1230
|
/**
|
|
1224
1231
|
* @public
|
|
1225
1232
|
* @deprecated Use `GridTemplateRows` instead
|
|
@@ -1371,6 +1378,9 @@ export declare interface TextStyleProps extends FlexStyleProps, FontStyleProps,
|
|
|
1371
1378
|
size?: ResponsiveProp<TextSize>
|
|
1372
1379
|
}
|
|
1373
1380
|
|
|
1381
|
+
/** @public */
|
|
1382
|
+
export declare const themeClassName: string
|
|
1383
|
+
|
|
1374
1384
|
/**
|
|
1375
1385
|
* Variables to be defined in a theme.
|
|
1376
1386
|
*
|