Socket
Socket
Sign inDemoInstall

@types/theme-ui

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/theme-ui - npm Package Compare versions

Comparing version 0.2.8 to 0.3.0

29

theme-ui/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for theme-ui 0.2
// Type definitions for theme-ui 0.3
// Project: https://github.com/system-ui/theme-ui#readme

@@ -9,20 +9,17 @@ // Definitions by: Erik Stockmeier <https://github.com/erikdstock>

// Prateek Kathal <https://github.com/prateekkathal>
// Piotr Monwid-Olechnowicz <https://github.com/hasparus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.1
// TypeScript Version: 3.5
import { ResponsiveStyleValue, SystemStyleObject } from '@styled-system/css';
import { SystemStyleObject } from '@styled-system/css';
import * as CSS from 'csstype';
import * as React from 'react';
import { lineHeight, Theme as StyledSystemTheme } from 'styled-system';
import { Theme as StyledSystemTheme } from 'styled-system';
import { Interpolation, SerializedStyles } from '@emotion/serialize';
export * from '@theme-ui/components';
export {};
type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;
type ObjectOrArray<T> = T[] | { [K: string]: T | ObjectOrArray<T> };
interface Object<T> {
[k: string]: T | Object<T>;
}
export interface ThemeProviderProps<Theme> {

@@ -43,3 +40,3 @@ theme: Partial<Theme> | ((outerTheme: Theme) => Theme);

* typically light and dark are used for applications with a dark mode. The
* initialColorMode key is required to enable color modes and will be used as
* initialColorModeName key is required to enable color modes and will be used as
* the name for the root color palette.

@@ -94,3 +91,3 @@ */

*/
initialColorMode?: string;
initialColorModeName?: string;

@@ -103,3 +100,3 @@ /**

* Nested color modes can provide overrides when used in conjunction with
* `Theme.initialColorMode and `useColorMode()`
* `Theme.initialColorModeName and `useColorMode()`
*/

@@ -164,10 +161,2 @@ modes?: {

export const Box: SxComponent;
export const Container: SxComponent;
export const Flex: SxComponent;
export const Header: SxComponent;
export const Footer: SxComponent;
export const Layout: SxComponent;
export const Main: SxComponent;
export interface IntrinsicSxElements {

@@ -174,0 +163,0 @@ p: JSX.IntrinsicElements['p'] & SxProps;

{
"name": "@types/theme-ui",
"version": "0.2.8",
"version": "0.3.0",
"description": "TypeScript definitions for theme-ui",

@@ -36,2 +36,7 @@ "license": "MIT",

"githubUsername": "prateekkathal"
},
{
"name": "Piotr Monwid-Olechnowicz",
"url": "https://github.com/hasparus",
"githubUsername": "hasparus"
}

@@ -52,6 +57,7 @@ ],

"@types/styled-system__css": "*",
"@types/theme-ui__components": "*",
"csstype": "^2.6.6"
},
"typesPublisherContentHash": "6550b2c7a20f11c3fef3efd9287be73774dabe7180619d4d86da58026f18b5a2",
"typeScriptVersion": "3.1"
"typesPublisherContentHash": "e81a289215e3cc59a2c2a0f718077e81e9a0d6fc8547281a2bf53c6dac6dad00",
"typeScriptVersion": "3.5"
}

@@ -11,7 +11,7 @@ # Installation

### Additional Details
* Last updated: Thu, 30 Jan 2020 20:00:06 GMT
* Dependencies: [@types/styled-system__css](https://npmjs.com/package/@types/styled-system__css), [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/react](https://npmjs.com/package/@types/react), [@types/styled-system](https://npmjs.com/package/@types/styled-system), [@types/emotion__serialize](https://npmjs.com/package/@types/emotion__serialize)
* Last updated: Thu, 30 Jan 2020 21:23:43 GMT
* Dependencies: [@types/styled-system__css](https://npmjs.com/package/@types/styled-system__css), [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/react](https://npmjs.com/package/@types/react), [@types/styled-system](https://npmjs.com/package/@types/styled-system), [@types/emotion__serialize](https://npmjs.com/package/@types/emotion__serialize), [@types/theme-ui__components](https://npmjs.com/package/@types/theme-ui__components)
* Global values: none
# Credits
These definitions were written by Erik Stockmeier (https://github.com/erikdstock), Ifiok Jr. (https://github.com/ifiokjr), Brian Andrews (https://github.com/sbardian), Rodrigo Pombo (https://github.com/pomber), Justin Hall (https://github.com/wKovacs64), and Prateek Kathal (https://github.com/prateekkathal).
These definitions were written by Erik Stockmeier (https://github.com/erikdstock), Ifiok Jr. (https://github.com/ifiokjr), Brian Andrews (https://github.com/sbardian), Rodrigo Pombo (https://github.com/pomber), Justin Hall (https://github.com/wKovacs64), Prateek Kathal (https://github.com/prateekkathal), and Piotr Monwid-Olechnowicz (https://github.com/hasparus).
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