@chakra-ui/theme-utils
Advanced tools
Comparing version 0.0.0-dev-20230531085907 to 0.0.0-dev-20230711204333
@@ -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": "0.0.0-dev-20230531085907", | ||
"version": "0.0.0-dev-20230711204333", | ||
"description": "", | ||
@@ -35,4 +35,4 @@ "keywords": [ | ||
"lodash.mergewith": "4.6.2", | ||
"@chakra-ui/styled-system": "0.0.0-dev-20230531085907", | ||
"@chakra-ui/theme": "0.0.0-dev-20230531085907", | ||
"@chakra-ui/styled-system": "2.9.1", | ||
"@chakra-ui/theme": "0.0.0-dev-20230711204333", | ||
"@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
48739
1290
+ Added@chakra-ui/anatomy@0.0.0-dev-20230711204333(transitive)
+ Added@chakra-ui/styled-system@2.9.1(transitive)
+ Added@chakra-ui/theme@0.0.0-dev-20230711204333(transitive)
+ Added@chakra-ui/theme-tools@0.0.0-dev-20230711204333(transitive)
- Removed@chakra-ui/anatomy@2.1.2(transitive)
- Removed@chakra-ui/styled-system@0.0.0-dev-20230531085907(transitive)
- Removed@chakra-ui/theme@0.0.0-dev-20230531085907(transitive)
- Removed@chakra-ui/theme-tools@0.0.0-dev-20230531085907(transitive)