Socket
Socket
Sign inDemoInstall

@theme-ui/theme-provider

Package Overview
Dependencies
Maintainers
2
Versions
421
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@theme-ui/theme-provider - npm Package Compare versions

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

8

dist/index.esm.js

@@ -51,2 +51,4 @@ import { jsx, useThemeUI, ThemeProvider } from '@theme-ui/core';

borderColor: 'colors',
caretColor: 'colors',
opacity: 'opacities',
margin: 'space',

@@ -124,2 +126,8 @@ marginTop: 'space',

if (typeof value !== 'number' || value >= 0) {
if (typeof value === 'string' && value.startsWith('-')) {
var valueWithoutMinus = value.substring(1);
var n$1 = get(scale, valueWithoutMinus, valueWithoutMinus);
return "-" + n$1;
}
return get(scale, value, value);

@@ -126,0 +134,0 @@ }

@@ -51,2 +51,4 @@ var core = require('@theme-ui/core');

borderColor: 'colors',
caretColor: 'colors',
opacity: 'opacities',
margin: 'space',

@@ -124,2 +126,8 @@ marginTop: 'space',

if (typeof value !== 'number' || value >= 0) {
if (typeof value === 'string' && value.startsWith('-')) {
var valueWithoutMinus = value.substring(1);
var n$1 = get(scale, valueWithoutMinus, valueWithoutMinus);
return "-" + n$1;
}
return get(scale, value, value);

@@ -126,0 +134,0 @@ }

@@ -51,2 +51,4 @@ (function (global, factory) {

borderColor: 'colors',
caretColor: 'colors',
opacity: 'opacities',
margin: 'space',

@@ -124,2 +126,8 @@ marginTop: 'space',

if (typeof value !== 'number' || value >= 0) {
if (typeof value === 'string' && value.startsWith('-')) {
var valueWithoutMinus = value.substring(1);
var n$1 = get(scale, valueWithoutMinus, valueWithoutMinus);
return "-" + n$1;
}
return get(scale, value, value);

@@ -126,0 +134,0 @@ }

10

package.json
{
"name": "@theme-ui/theme-provider",
"version": "0.4.0-alpha.0",
"version": "0.4.0-highlight.0",
"main": "dist/index.js",

@@ -13,5 +13,5 @@ "module": "dist/index.esm.js",

"@emotion/core": "^10.0.0",
"@theme-ui/color-modes": "^0.4.0-alpha.0",
"@theme-ui/core": "^0.4.0-alpha.0",
"@theme-ui/mdx": "^0.4.0-alpha.0"
"@theme-ui/color-modes": "^0.4.0-highlight.0",
"@theme-ui/core": "^0.4.0-highlight.0",
"@theme-ui/mdx": "^0.4.0-highlight.0"
},

@@ -24,3 +24,3 @@ "repository": "system-ui/theme-ui",

},
"gitHead": "fbdd88ea280c0d9880d39a114cb6d19f0d4da2ca"
"gitHead": "cff2e5f6d9ce1658de5ba1a81d10fdd5bbcf9d1e"
}

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