@sanity/ui 2.0.0-alpha.7 → 2.0.0-alpha.8
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.cjs.mjs +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.esm.js +4075 -72
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4075 -71
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/theme/lib/theme/color/_legacy/createColorTheme.ts +7 -0
- package/src/theme/lib/theme/color/_legacy/index.ts +1 -0
- package/src/theme/lib/theme/color/_legacy/legacyColor.ts +3997 -0
- package/src/theme/lib/theme/color/cssVariables/cardVariables.ts +4 -8
- package/src/theme/lib/theme/color/cssVariables/cssVars.test.ts +1 -1
- package/src/theme/lib/theme/color/index.ts +1 -0
- package/src/theme/themeProvider.tsx +2 -1
package/dist/index.cjs.mjs
CHANGED
|
@@ -75,6 +75,7 @@ export const _raf2 = cjs._raf2;
|
|
|
75
75
|
export const _responsive = cjs._responsive;
|
|
76
76
|
export const attemptFocus = cjs.attemptFocus;
|
|
77
77
|
export const containsOrEqualsElement = cjs.containsOrEqualsElement;
|
|
78
|
+
export const createColorTheme = cjs.createColorTheme;
|
|
78
79
|
export const createCssVars = cjs.createCssVars;
|
|
79
80
|
export const cssVars = cjs.cssVars;
|
|
80
81
|
export const focusFirstDescendant = cjs.focusFirstDescendant;
|
package/dist/index.d.ts
CHANGED
|
@@ -632,6 +632,12 @@ export declare interface ContainerProps extends BoxProps, ResponsiveWidthProps {
|
|
|
632
632
|
*/
|
|
633
633
|
export declare function containsOrEqualsElement(element: HTMLElement, node: Node): boolean
|
|
634
634
|
|
|
635
|
+
/**
|
|
636
|
+
* @internal
|
|
637
|
+
* @deprecated Use studioTheme instead.
|
|
638
|
+
*/
|
|
639
|
+
export declare function createColorTheme(): null
|
|
640
|
+
|
|
635
641
|
/**
|
|
636
642
|
* @beta
|
|
637
643
|
*/
|