@uswitch/spark.utils
Advanced tools
Comparing version 0.5.10 to 0.6.0
@@ -12,4 +12,2 @@ "use strict"; | ||
var _spark = require("@uswitch/spark.themes"); | ||
var _react = require("react"); | ||
@@ -24,4 +22,3 @@ | ||
var EveryTheme = function EveryTheme(_ref) { | ||
var _ref$themes = _ref.themes, | ||
themes = _ref$themes === void 0 ? _spark.mainThemes : _ref$themes, | ||
var themes = _ref.themes, | ||
children = _ref.children; | ||
@@ -28,0 +25,0 @@ return (0, _jsxRuntime.jsx)(_react.Fragment, { |
import _slicedToArray from "@babel/runtime/helpers/slicedToArray"; | ||
import { mainThemes } from '@uswitch/spark.themes'; | ||
import { Fragment } from 'react'; | ||
@@ -9,4 +8,3 @@ import { Themed } from 'theme-ui'; | ||
export var EveryTheme = function EveryTheme(_ref) { | ||
var _ref$themes = _ref.themes, | ||
themes = _ref$themes === void 0 ? mainThemes : _ref$themes, | ||
var themes = _ref.themes, | ||
children = _ref.children; | ||
@@ -13,0 +11,0 @@ return _jsx(Fragment, { |
{ | ||
"name": "@uswitch/spark.utils", | ||
"version": "0.5.10", | ||
"version": "0.6.0", | ||
"description": "", | ||
@@ -20,4 +20,4 @@ "repository": "https://github.com/uswitch/spark", | ||
"@theme-ui/color": "^0.9.1", | ||
"@uswitch/spark.stack": "^0.5.10", | ||
"@uswitch/spark.themes": "^0.5.10", | ||
"@uswitch/spark.stack": "^0.6.0", | ||
"@uswitch/spark.themes": "^0.6.0", | ||
"@uswitch/trustyle.bankrate-theme": "^2.25.20", | ||
@@ -38,3 +38,3 @@ "@uswitch/trustyle.broadband-deals-theme": "^1.16.8", | ||
}, | ||
"gitHead": "e742463443958eeff8ecfb8ab8e4141987422546" | ||
"gitHead": "87847f3bc48e80cbb114277eff02b4d4cb2e3bf6" | ||
} |
@@ -1,2 +0,1 @@ | ||
import { mainThemes } from '@uswitch/spark.themes' | ||
import { Fragment } from 'react' | ||
@@ -7,3 +6,3 @@ import { Themed } from 'theme-ui' | ||
export const EveryTheme = ({ themes = mainThemes, children }) => ( | ||
export const EveryTheme = ({ themes, children }) => ( | ||
<Fragment> | ||
@@ -10,0 +9,0 @@ {Object.entries(themes).map(([themeName, theme]) => ( |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
95482
2302
+ Added@uswitch/spark.stack@0.6.4(transitive)
+ Added@uswitch/spark.themes@0.6.4(transitive)
- Removed@uswitch/spark.stack@0.5.10(transitive)
- Removed@uswitch/spark.themes@0.5.10(transitive)
Updated@uswitch/spark.stack@^0.6.0
Updated@uswitch/spark.themes@^0.6.0