Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@theme-ui/components

Package Overview
Dependencies
Maintainers
2
Versions
437
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@theme-ui/components - npm Package Compare versions

Comparing version 0.4.0-alpha.0 to 0.4.0-alpha.1

2

dist/index.esm.js

@@ -75,3 +75,3 @@ import { css, get } from '@theme-ui/css';

var Text = React.forwardRef(function (props, ref) { return React.createElement( Box, Object.assign({}, { ref: ref }, props, { __themeKey: "text" })); });
var Text = React.forwardRef(function (props, ref) { return React.createElement( Box, Object.assign({}, { ref: ref, variant: "default" }, props, { __themeKey: "text" })); });

@@ -78,0 +78,0 @@ var Heading = React.forwardRef(function (props, ref) { return React.createElement( Box, Object.assign({}, { ref: ref, as: "h2", variant: "heading" }, props, { __themeKey: "text", __css: {

@@ -77,3 +77,3 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

var Text = React.forwardRef(function (props, ref) { return React.createElement( Box, Object.assign({}, { ref: ref }, props, { __themeKey: "text" })); });
var Text = React.forwardRef(function (props, ref) { return React.createElement( Box, Object.assign({}, { ref: ref, variant: "default" }, props, { __themeKey: "text" })); });

@@ -80,0 +80,0 @@ var Heading = React.forwardRef(function (props, ref) { return React.createElement( Box, Object.assign({}, { ref: ref, as: "h2", variant: "heading" }, props, { __themeKey: "text", __css: {

@@ -77,3 +77,3 @@ (function (global, factory) {

var Text = React.forwardRef(function (props, ref) { return React.createElement( Box, Object.assign({}, { ref: ref }, props, { __themeKey: "text" })); });
var Text = React.forwardRef(function (props, ref) { return React.createElement( Box, Object.assign({}, { ref: ref, variant: "default" }, props, { __themeKey: "text" })); });

@@ -80,0 +80,0 @@ var Heading = React.forwardRef(function (props, ref) { return React.createElement( Box, Object.assign({}, { ref: ref, as: "h2", variant: "heading" }, props, { __themeKey: "text", __css: {

{
"name": "@theme-ui/components",
"version": "0.4.0-alpha.0",
"version": "0.4.0-alpha.1",
"main": "dist/index.js",

@@ -17,3 +17,3 @@ "module": "dist/index.esm.js",

"@styled-system/space": "^5.1.2",
"@theme-ui/css": "^0.4.0-alpha.0"
"@theme-ui/css": "^0.4.0-alpha.1"
},

@@ -28,3 +28,3 @@ "peerDependencies": {

"license": "MIT",
"gitHead": "fbdd88ea280c0d9880d39a114cb6d19f0d4da2ca"
"gitHead": "3017092f4790b1f83259ce2f638619906840dd51"
}

@@ -6,2 +6,4 @@

**Note:** *This package is included in the main `theme-ui` package and a separate installation is not required.*
```sh

@@ -8,0 +10,0 @@ npm i @theme-ui/components

@@ -5,3 +5,3 @@ import React from 'react'

export const Text = React.forwardRef((props, ref) => (
<Box ref={ref} {...props} __themeKey="text" />
<Box ref={ref} variant="default" {...props} __themeKey="text" />
))

@@ -66,2 +66,5 @@ import React from 'react'

text: {
default: {
fontSize: 3,
},
heading: {

@@ -68,0 +71,0 @@ fontSize: 5,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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