@chakra-ui/theme-tools
Advanced tools
Comparing version 1.0.0-rc.5 to 1.0.0-rc.6
@@ -6,2 +6,10 @@ # Change Log | ||
# 1.0.0-rc.6 (2020-10-25) | ||
**Note:** Version bump only for package @chakra-ui/theme-tools | ||
# 1.0.0-rc.5 (2020-09-27) | ||
@@ -8,0 +16,0 @@ |
@@ -14,3 +14,3 @@ "use strict"; | ||
}, config)).sort(function (a, b) { | ||
return parseInt(a[1]) > parseInt(b[1]) ? 1 : -1; | ||
return parseInt(a[1], 10) > parseInt(b[1], 10) ? 1 : -1; | ||
})); | ||
@@ -17,0 +17,0 @@ return Object.assign(Object.values(sorted), sorted); |
@@ -218,3 +218,3 @@ "use strict"; | ||
for (var i = 0; i < str.length; i++) { | ||
for (var i = 0; i < str.length; i += 1) { | ||
hash = str.charCodeAt(i) + ((hash << 5) - hash); | ||
@@ -226,3 +226,3 @@ hash = hash & hash; | ||
for (var j = 0; j < 3; j++) { | ||
for (var j = 0; j < 3; j += 1) { | ||
var value = hash >> j * 8 & 255; | ||
@@ -239,3 +239,3 @@ color += ("00" + value.toString(16)).substr(-2); | ||
for (var i = 0; i < str.length; i++) { | ||
for (var i = 0; i < str.length; i += 1) { | ||
index = str.charCodeAt(i) + ((index << 5) - index); | ||
@@ -242,0 +242,0 @@ index = index & index; |
@@ -9,2 +9,3 @@ "use strict"; | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _color[key]) return; | ||
exports[key] = _color[key]; | ||
@@ -17,2 +18,3 @@ }); | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _component[key]) return; | ||
exports[key] = _component[key]; | ||
@@ -25,4 +27,5 @@ }); | ||
if (key === "default" || key === "__esModule") return; | ||
if (key in exports && exports[key] === _breakpoints[key]) return; | ||
exports[key] = _breakpoints[key]; | ||
}); | ||
//# sourceMappingURL=index.js.map |
@@ -7,5 +7,5 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
base: "0em" | ||
}, config)).sort((a, b) => parseInt(a[1]) > parseInt(b[1]) ? 1 : -1)); | ||
}, config)).sort((a, b) => parseInt(a[1], 10) > parseInt(b[1], 10) ? 1 : -1)); | ||
return Object.assign(Object.values(sorted), sorted); | ||
}; | ||
//# sourceMappingURL=breakpoints.js.map |
@@ -137,3 +137,3 @@ import Color from "tinycolor2"; | ||
for (var i = 0; i < str.length; i++) { | ||
for (var i = 0; i < str.length; i += 1) { | ||
hash = str.charCodeAt(i) + ((hash << 5) - hash); | ||
@@ -145,3 +145,3 @@ hash = hash & hash; | ||
for (var j = 0; j < 3; j++) { | ||
for (var j = 0; j < 3; j += 1) { | ||
var value = hash >> j * 8 & 255; | ||
@@ -158,3 +158,3 @@ color += ("00" + value.toString(16)).substr(-2); | ||
for (var i = 0; i < str.length; i++) { | ||
for (var i = 0; i < str.length; i += 1) { | ||
index = str.charCodeAt(i) + ((index << 5) - index); | ||
@@ -161,0 +161,0 @@ index = index & index; |
{ | ||
"name": "@chakra-ui/theme-tools", | ||
"version": "1.0.0-rc.5", | ||
"version": "1.0.0-rc.6", | ||
"description": "Set of helpers that makes theming and styling easier", | ||
@@ -19,2 +19,8 @@ "keywords": [ | ||
"typings": "dist/types/index.d.ts", | ||
"exports": { | ||
".": { | ||
"require": "./dist/cjs/index.js", | ||
"default": "./dist/esm/index.js" | ||
} | ||
}, | ||
"files": [ | ||
@@ -48,3 +54,3 @@ "dist" | ||
"dependencies": { | ||
"@chakra-ui/utils": "1.0.0-rc.5", | ||
"@chakra-ui/utils": "1.0.0-rc.6", | ||
"@types/tinycolor2": "1.4.2", | ||
@@ -54,8 +60,8 @@ "tinycolor2": "1.4.1" | ||
"peerDependencies": { | ||
"@chakra-ui/system": "1.0.0-rc.3" | ||
"@chakra-ui/system": ">=1.0.0-rc.5" | ||
}, | ||
"devDependencies": { | ||
"@chakra-ui/system": "1.0.0-rc.5" | ||
"@chakra-ui/system": "1.0.0-rc.6" | ||
}, | ||
"gitHead": "b5c8482b778b19f27ea1d6c8ab6d5ed39c664afa" | ||
"gitHead": "e55b45840d1edc821ad0bb45632535333be5bb86" | ||
} |
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
Sorry, the diff of this file is not supported yet
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
53742
532
+ Added@chakra-ui/anatomy@2.2.2(transitive)
+ Added@chakra-ui/color-mode@2.2.0(transitive)
+ Added@chakra-ui/object-utils@2.1.0(transitive)
+ Added@chakra-ui/react-use-safe-layout-effect@2.1.0(transitive)
+ Added@chakra-ui/react-utils@2.0.12(transitive)
+ Added@chakra-ui/shared-utils@2.0.5(transitive)
+ Added@chakra-ui/styled-system@2.9.2(transitive)
+ Added@chakra-ui/system@2.6.2(transitive)
+ Added@chakra-ui/theme@3.3.1(transitive)
+ Added@chakra-ui/theme-tools@2.1.2(transitive)
+ Added@chakra-ui/theme-utils@2.0.21(transitive)
+ Added@chakra-ui/utils@1.0.0-rc.62.0.15(transitive)
+ Added@emotion/babel-plugin@11.12.0(transitive)
+ Added@emotion/cache@11.13.1(transitive)
+ Added@emotion/hash@0.9.2(transitive)
+ Added@emotion/is-prop-valid@1.3.0(transitive)
+ Added@emotion/memoize@0.9.0(transitive)
+ Added@emotion/react@11.13.3(transitive)
+ Added@emotion/serialize@1.3.1(transitive)
+ Added@emotion/sheet@1.4.0(transitive)
+ Added@emotion/styled@11.13.0(transitive)
+ Added@emotion/unitless@0.10.0(transitive)
+ Added@emotion/use-insertion-effect-with-fallbacks@1.1.0(transitive)
+ Added@emotion/utils@1.4.0(transitive)
+ Added@emotion/weak-memoize@0.4.0(transitive)
+ Added@types/lodash.mergewith@4.6.7(transitive)
+ Addedbabel-plugin-macros@3.1.0(transitive)
+ Addedcolor2k@2.0.3(transitive)
+ Addedcosmiconfig@7.1.0(transitive)
+ Addedcsstype@3.1.3(transitive)
+ Addedescape-string-regexp@4.0.0(transitive)
+ Addedframesync@6.1.2(transitive)
+ Addedhoist-non-react-statics@3.3.2(transitive)
+ Addedreact@17.0.218.3.1(transitive)
+ Addedreact-fast-compare@3.2.2(transitive)
+ Addedstylis@4.2.0(transitive)
+ Addedtslib@2.4.0(transitive)
- Removed@chakra-ui/color-mode@1.0.0-rc.3(transitive)
- Removed@chakra-ui/hooks@1.0.0-rc.3(transitive)
- Removed@chakra-ui/styled-system@1.0.0-rc.3(transitive)
- Removed@chakra-ui/system@1.0.0-rc.3(transitive)
- Removed@chakra-ui/utils@1.0.0-rc.5(transitive)
- Removed@emotion/cache@10.0.29(transitive)
- Removed@emotion/core@10.0.35(transitive)
- Removed@emotion/css@10.0.27(transitive)
- Removed@emotion/hash@0.8.0(transitive)
- Removed@emotion/is-prop-valid@0.8.8(transitive)
- Removed@emotion/memoize@0.7.4(transitive)
- Removed@emotion/serialize@0.11.16(transitive)
- Removed@emotion/sheet@0.9.4(transitive)
- Removed@emotion/styled@10.0.27(transitive)
- Removed@emotion/styled-base@10.3.0(transitive)
- Removed@emotion/stylis@0.8.5(transitive)
- Removed@emotion/unitless@0.7.5(transitive)
- Removed@emotion/utils@0.11.3(transitive)
- Removed@emotion/weak-memoize@0.2.5(transitive)
- Removed@reach/auto-id@0.11.0(transitive)
- Removed@reach/utils@0.11.0(transitive)
- Removed@styled-system/core@5.1.2(transitive)
- Removed@types/lodash.merge@4.6.6(transitive)
- Removed@types/warning@3.0.3(transitive)
- Removedbabel-plugin-emotion@10.2.2(transitive)
- Removedbabel-plugin-macros@2.8.0(transitive)
- Removedbabel-plugin-syntax-jsx@6.18.0(transitive)
- Removedcompute-scroll-into-view@1.0.14(transitive)
- Removedcopy-to-clipboard@3.3.1(transitive)
- Removedcosmiconfig@6.0.0(transitive)
- Removedcsstype@2.6.213.0.3(transitive)
- Removedlodash.merge@4.6.2(transitive)
- Removedmemoize-one@5.1.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-dom@16.14.0(transitive)
- Removedreact-fast-compare@3.2.0(transitive)
- Removedscheduler@0.19.1(transitive)
- Removedtoggle-selection@1.0.6(transitive)
- Removedtslib@2.7.0(transitive)
- Removedwarning@4.0.3(transitive)
Updated@chakra-ui/utils@1.0.0-rc.6