@chakra-ui/theme-utils
Advanced tools
Comparing version 2.0.18 to 2.0.19
@@ -21,2 +21,6 @@ "use strict"; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
// If the importer is in node compatibility mode or this is not an ESM | ||
// file that has been converted to a CommonJS file using a Babel- | ||
// compatible transform (i.e. "__esModule" has not been set), then set | ||
// "default" to the CommonJS "module.exports" for node compatibility. | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
@@ -47,3 +51,5 @@ mod | ||
let activeTheme = extensions[extensions.length - 1]; | ||
if ((0, import_theme.isChakraTheme)(activeTheme) && overrides.length > 1) { | ||
if ((0, import_theme.isChakraTheme)(activeTheme) && // this ensures backward compatibility | ||
// previously only `extendTheme(override, activeTheme?)` was allowed | ||
overrides.length > 1) { | ||
overrides = overrides.slice(0, overrides.length - 1); | ||
@@ -50,0 +56,0 @@ } else { |
@@ -21,2 +21,6 @@ "use strict"; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
// If the importer is in node compatibility mode or this is not an ESM | ||
// file that has been converted to a CommonJS file using a Babel- | ||
// compatible transform (i.e. "__esModule" has not been set), then set | ||
// "default" to the CommonJS "module.exports" for node compatibility. | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
@@ -53,3 +57,5 @@ mod | ||
let activeTheme = extensions[extensions.length - 1]; | ||
if ((0, import_theme.isChakraTheme)(activeTheme) && overrides.length > 1) { | ||
if ((0, import_theme.isChakraTheme)(activeTheme) && // this ensures backward compatibility | ||
// previously only `extendTheme(override, activeTheme?)` was allowed | ||
overrides.length > 1) { | ||
overrides = overrides.slice(0, overrides.length - 1); | ||
@@ -56,0 +62,0 @@ } else { |
@@ -21,2 +21,6 @@ "use strict"; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
// If the importer is in node compatibility mode or this is not an ESM | ||
// file that has been converted to a CommonJS file using a Babel- | ||
// compatible transform (i.e. "__esModule" has not been set), then set | ||
// "default" to the CommonJS "module.exports" for node compatibility. | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
@@ -53,3 +57,5 @@ mod | ||
let activeTheme = extensions[extensions.length - 1]; | ||
if ((0, import_theme.isChakraTheme)(activeTheme) && overrides.length > 1) { | ||
if ((0, import_theme.isChakraTheme)(activeTheme) && // this ensures backward compatibility | ||
// previously only `extendTheme(override, activeTheme?)` was allowed | ||
overrides.length > 1) { | ||
overrides = overrides.slice(0, overrides.length - 1); | ||
@@ -56,0 +62,0 @@ } else { |
@@ -21,2 +21,6 @@ "use strict"; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
// If the importer is in node compatibility mode or this is not an ESM | ||
// file that has been converted to a CommonJS file using a Babel- | ||
// compatible transform (i.e. "__esModule" has not been set), then set | ||
// "default" to the CommonJS "module.exports" for node compatibility. | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
@@ -48,3 +52,5 @@ mod | ||
let activeTheme = extensions[extensions.length - 1]; | ||
if ((0, import_theme.isChakraTheme)(activeTheme) && overrides.length > 1) { | ||
if ((0, import_theme.isChakraTheme)(activeTheme) && // this ensures backward compatibility | ||
// previously only `extendTheme(override, activeTheme?)` was allowed | ||
overrides.length > 1) { | ||
overrides = overrides.slice(0, overrides.length - 1); | ||
@@ -51,0 +57,0 @@ } else { |
@@ -21,2 +21,6 @@ "use strict"; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
// If the importer is in node compatibility mode or this is not an ESM | ||
// file that has been converted to a CommonJS file using a Babel- | ||
// compatible transform (i.e. "__esModule" has not been set), then set | ||
// "default" to the CommonJS "module.exports" for node compatibility. | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
@@ -47,3 +51,5 @@ mod | ||
let activeTheme = extensions[extensions.length - 1]; | ||
if ((0, import_theme.isChakraTheme)(activeTheme) && overrides.length > 1) { | ||
if ((0, import_theme.isChakraTheme)(activeTheme) && // this ensures backward compatibility | ||
// previously only `extendTheme(override, activeTheme?)` was allowed | ||
overrides.length > 1) { | ||
overrides = overrides.slice(0, overrides.length - 1); | ||
@@ -50,0 +56,0 @@ } else { |
@@ -21,2 +21,6 @@ "use strict"; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
// If the importer is in node compatibility mode or this is not an ESM | ||
// file that has been converted to a CommonJS file using a Babel- | ||
// compatible transform (i.e. "__esModule" has not been set), then set | ||
// "default" to the CommonJS "module.exports" for node compatibility. | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
@@ -48,3 +52,5 @@ mod | ||
let activeTheme = extensions[extensions.length - 1]; | ||
if ((0, import_theme.isChakraTheme)(activeTheme) && overrides.length > 1) { | ||
if ((0, import_theme.isChakraTheme)(activeTheme) && // this ensures backward compatibility | ||
// previously only `extendTheme(override, activeTheme?)` was allowed | ||
overrides.length > 1) { | ||
overrides = overrides.slice(0, overrides.length - 1); | ||
@@ -51,0 +57,0 @@ } else { |
@@ -21,2 +21,6 @@ "use strict"; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
// If the importer is in node compatibility mode or this is not an ESM | ||
// file that has been converted to a CommonJS file using a Babel- | ||
// compatible transform (i.e. "__esModule" has not been set), then set | ||
// "default" to the CommonJS "module.exports" for node compatibility. | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
@@ -48,3 +52,5 @@ mod | ||
let activeTheme = extensions[extensions.length - 1]; | ||
if ((0, import_theme.isChakraTheme)(activeTheme) && overrides.length > 1) { | ||
if ((0, import_theme.isChakraTheme)(activeTheme) && // this ensures backward compatibility | ||
// previously only `extendTheme(override, activeTheme?)` was allowed | ||
overrides.length > 1) { | ||
overrides = overrides.slice(0, overrides.length - 1); | ||
@@ -51,0 +57,0 @@ } else { |
{ | ||
"name": "@chakra-ui/theme-utils", | ||
"version": "2.0.18", | ||
"version": "2.0.19", | ||
"description": "", | ||
@@ -36,3 +36,3 @@ "keywords": [ | ||
"@chakra-ui/styled-system": "2.9.1", | ||
"@chakra-ui/theme": "3.1.2", | ||
"@chakra-ui/theme": "3.2.0", | ||
"@chakra-ui/shared-utils": "2.0.5" | ||
@@ -39,0 +39,0 @@ }, |
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
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
48702
1290
+ Added@chakra-ui/anatomy@2.2.0(transitive)
+ Added@chakra-ui/theme@3.2.0(transitive)
+ Added@chakra-ui/theme-tools@2.1.0(transitive)
- Removed@chakra-ui/anatomy@2.1.2(transitive)
- Removed@chakra-ui/theme@3.1.2(transitive)
- Removed@chakra-ui/theme-tools@2.0.18(transitive)
Updated@chakra-ui/theme@3.2.0