Comparing version 0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0 to 0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0
@@ -17,3 +17,4 @@ 'use strict'; | ||
fontWeight: 'body', | ||
variant: 'styles' | ||
variant: 'styles', | ||
...props.sx | ||
} | ||
@@ -67,8 +68,2 @@ }); | ||
}); | ||
Object.defineProperty(exports, 'Styled', { | ||
enumerable: true, | ||
get: function () { | ||
return mdx.Styled; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'Themed', { | ||
@@ -75,0 +70,0 @@ enumerable: true, |
@@ -17,3 +17,4 @@ 'use strict'; | ||
fontWeight: 'body', | ||
variant: 'styles' | ||
variant: 'styles', | ||
...props.sx | ||
} | ||
@@ -67,8 +68,2 @@ }); | ||
}); | ||
Object.defineProperty(exports, 'Styled', { | ||
enumerable: true, | ||
get: function () { | ||
return mdx.Styled; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'Themed', { | ||
@@ -75,0 +70,0 @@ enumerable: true, |
import { jsx as jsx$1 } from '@theme-ui/core'; | ||
export { __ThemeUIContext, createElement, merge, useThemeUI } from '@theme-ui/core'; | ||
export { InitializeColorMode, useColorMode } from '@theme-ui/color-modes'; | ||
export { Styled, Themed, components } from '@theme-ui/mdx'; | ||
export { Themed, components } from '@theme-ui/mdx'; | ||
export { ThemeProvider } from '@theme-ui/theme-provider'; | ||
@@ -14,3 +14,4 @@ export * from '@theme-ui/components'; | ||
fontWeight: 'body', | ||
variant: 'styles' | ||
variant: 'styles', | ||
...props.sx | ||
} | ||
@@ -17,0 +18,0 @@ }); |
{ | ||
"name": "theme-ui", | ||
"version": "0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0", | ||
"version": "0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0", | ||
"description": "The Design Graph Framework", | ||
@@ -15,8 +15,8 @@ "source": "src/index.ts", | ||
"dependencies": { | ||
"@theme-ui/color-modes": "0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0", | ||
"@theme-ui/components": "0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0", | ||
"@theme-ui/core": "0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0", | ||
"@theme-ui/css": "0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0", | ||
"@theme-ui/mdx": "0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0", | ||
"@theme-ui/theme-provider": "0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0" | ||
"@theme-ui/color-modes": "0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0", | ||
"@theme-ui/components": "0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0", | ||
"@theme-ui/core": "0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0", | ||
"@theme-ui/css": "0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0", | ||
"@theme-ui/mdx": "0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0", | ||
"@theme-ui/theme-provider": "0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0" | ||
}, | ||
@@ -42,3 +42,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "3a5e2f116604255e6a5ed7a42571fce8d4c77983" | ||
"gitHead": "dea7765d1cd2654d72a13c583520900860600370" | ||
} |
@@ -116,3 +116,3 @@ <p align="center"> | ||
```sh | ||
npm install theme-ui @emotion/react @emotion/styled @mdx-js/react | ||
npm install theme-ui @emotion/react @mdx-js/react | ||
``` | ||
@@ -119,0 +119,0 @@ |
@@ -1,2 +0,6 @@ | ||
import { jsx as coreJsx, ThemeUIJSX } from '@theme-ui/core' | ||
import { | ||
jsx as coreJsx, | ||
ThemeUIJSX, | ||
type ThemeUIStyleObject, | ||
} from '@theme-ui/core' | ||
export { | ||
@@ -27,3 +31,3 @@ __ThemeUIContext, | ||
export { useColorMode, InitializeColorMode } from '@theme-ui/color-modes' | ||
export { Themed, Styled, components } from '@theme-ui/mdx' | ||
export { Themed, components } from '@theme-ui/mdx' | ||
export { ThemeProvider } from '@theme-ui/theme-provider' | ||
@@ -33,3 +37,5 @@ export * from '@theme-ui/components' | ||
export const BaseStyles = (props: Record<string, unknown>) => | ||
export const BaseStyles = ( | ||
props: Record<string, unknown> & { sx?: ThemeUIStyleObject } | ||
) => | ||
jsx('div', { | ||
@@ -42,2 +48,3 @@ ...props, | ||
variant: 'styles', | ||
...props.sx, | ||
}, | ||
@@ -56,6 +63,4 @@ }) | ||
extends ThemeUIJSX.ElementChildrenAttribute {} | ||
export type LibraryManagedAttributes< | ||
C, | ||
P | ||
> = ThemeUIJSX.LibraryManagedAttributes<C, P> | ||
export type LibraryManagedAttributes<C, P> = | ||
ThemeUIJSX.LibraryManagedAttributes<C, P> | ||
export interface IntrinsicAttributes | ||
@@ -62,0 +67,0 @@ extends ThemeUIJSX.IntrinsicAttributes {} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
175545
1270
1
+ Added@theme-ui/color-modes@0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0(transitive)
+ Added@theme-ui/components@0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0(transitive)
+ Added@theme-ui/core@0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0(transitive)
+ Added@theme-ui/css@0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0(transitive)
+ Added@theme-ui/mdx@0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0(transitive)
+ Added@theme-ui/parse-props@0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0(transitive)
+ Added@theme-ui/theme-provider@0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0(transitive)
- Removed@emotion/is-prop-valid@1.3.1(transitive)
- Removed@emotion/styled@11.13.0(transitive)
- Removed@theme-ui/color-modes@0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0(transitive)
- Removed@theme-ui/components@0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0(transitive)
- Removed@theme-ui/core@0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0(transitive)
- Removed@theme-ui/css@0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0(transitive)
- Removed@theme-ui/mdx@0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0(transitive)
- Removed@theme-ui/parse-props@0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0(transitive)
- Removed@theme-ui/theme-provider@0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0(transitive)
Updated@theme-ui/color-modes@0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0
Updated@theme-ui/components@0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0
Updated@theme-ui/core@0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0
Updated@theme-ui/css@0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0
Updated@theme-ui/mdx@0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0
Updated@theme-ui/theme-provider@0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0