Socket
Socket
Sign inDemoInstall

theme-ui

Package Overview
Dependencies
Maintainers
4
Versions
495
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

theme-ui - npm Package Compare versions

Comparing version 0.13.2--canary.2068.3a5e2f116604255e6a5ed7a42571fce8d4c77983.0 to 0.14.0--canary.2043.dea7765d1cd2654d72a13c583520900860600370.0

9

dist/theme-ui.cjs.dev.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc