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

@theme-ui/preset-base

Package Overview
Dependencies
Maintainers
3
Versions
422
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@theme-ui/preset-base - npm Package Compare versions

Comparing version 0.3.2-alpha.10 to 0.3.4

69

dist/index.esm.js

@@ -1,19 +0,50 @@

function _extends() {
_extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return obj;
}
return target;
};
function ownKeys(object, enumerableOnly) {
var keys = Object.keys(object);
return _extends.apply(this, arguments);
if (Object.getOwnPropertySymbols) {
var symbols = Object.getOwnPropertySymbols(object);
if (enumerableOnly) symbols = symbols.filter(function (sym) {
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
});
keys.push.apply(keys, symbols);
}
return keys;
}
function _objectSpread2(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
if (i % 2) {
ownKeys(Object(source), true).forEach(function (key) {
_defineProperty(target, key, source[key]);
});
} else if (Object.getOwnPropertyDescriptors) {
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
} else {
ownKeys(Object(source)).forEach(function (key) {
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
});
}
}
return target;
}
var heading = {

@@ -55,18 +86,18 @@ color: 'text',

},
h1: _extends({}, heading, {
h1: _objectSpread2({}, heading, {
fontSize: 5
}),
h2: _extends({}, heading, {
h2: _objectSpread2({}, heading, {
fontSize: 4
}),
h3: _extends({}, heading, {
h3: _objectSpread2({}, heading, {
fontSize: 3
}),
h4: _extends({}, heading, {
h4: _objectSpread2({}, heading, {
fontSize: 2
}),
h5: _extends({}, heading, {
h5: _objectSpread2({}, heading, {
fontSize: 1
}),
h6: _extends({}, heading, {
h6: _objectSpread2({}, heading, {
fontSize: 0

@@ -73,0 +104,0 @@ }),

@@ -1,19 +0,50 @@

function _extends() {
_extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return obj;
}
return target;
};
function ownKeys(object, enumerableOnly) {
var keys = Object.keys(object);
return _extends.apply(this, arguments);
if (Object.getOwnPropertySymbols) {
var symbols = Object.getOwnPropertySymbols(object);
if (enumerableOnly) symbols = symbols.filter(function (sym) {
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
});
keys.push.apply(keys, symbols);
}
return keys;
}
function _objectSpread2(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
if (i % 2) {
ownKeys(Object(source), true).forEach(function (key) {
_defineProperty(target, key, source[key]);
});
} else if (Object.getOwnPropertyDescriptors) {
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
} else {
ownKeys(Object(source)).forEach(function (key) {
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
});
}
}
return target;
}
var heading = {

@@ -55,18 +86,18 @@ color: 'text',

},
h1: _extends({}, heading, {
h1: _objectSpread2({}, heading, {
fontSize: 5
}),
h2: _extends({}, heading, {
h2: _objectSpread2({}, heading, {
fontSize: 4
}),
h3: _extends({}, heading, {
h3: _objectSpread2({}, heading, {
fontSize: 3
}),
h4: _extends({}, heading, {
h4: _objectSpread2({}, heading, {
fontSize: 2
}),
h5: _extends({}, heading, {
h5: _objectSpread2({}, heading, {
fontSize: 1
}),
h6: _extends({}, heading, {
h6: _objectSpread2({}, heading, {
fontSize: 0

@@ -73,0 +104,0 @@ }),

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.presetBase = {}));
(factory((global.presetBase = {})));
}(this, (function (exports) {
function _extends() {
_extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return obj;
}
return target;
};
function ownKeys(object, enumerableOnly) {
var keys = Object.keys(object);
return _extends.apply(this, arguments);
if (Object.getOwnPropertySymbols) {
var symbols = Object.getOwnPropertySymbols(object);
if (enumerableOnly) symbols = symbols.filter(function (sym) {
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
});
keys.push.apply(keys, symbols);
}
return keys;
}
function _objectSpread2(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
if (i % 2) {
ownKeys(Object(source), true).forEach(function (key) {
_defineProperty(target, key, source[key]);
});
} else if (Object.getOwnPropertyDescriptors) {
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
} else {
ownKeys(Object(source)).forEach(function (key) {
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
});
}
}
return target;
}
var heading = {

@@ -60,18 +91,18 @@ color: 'text',

},
h1: _extends({}, heading, {
h1: _objectSpread2({}, heading, {
fontSize: 5
}),
h2: _extends({}, heading, {
h2: _objectSpread2({}, heading, {
fontSize: 4
}),
h3: _extends({}, heading, {
h3: _objectSpread2({}, heading, {
fontSize: 3
}),
h4: _extends({}, heading, {
h4: _objectSpread2({}, heading, {
fontSize: 2
}),
h5: _extends({}, heading, {
h5: _objectSpread2({}, heading, {
fontSize: 1
}),
h6: _extends({}, heading, {
h6: _objectSpread2({}, heading, {
fontSize: 0

@@ -78,0 +109,0 @@ }),

{
"name": "@theme-ui/preset-base",
"version": "0.3.2-alpha.10+80ad9af6",
"version": "0.3.4",
"main": "dist/index.js",

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

},
"gitHead": "80ad9af6483a680fb703d5ebd7b8564d06e7d6c7"
"gitHead": "7840f829dea27b554c5cd1cb00470770fceca2eb"
}

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