@chakra-ui/system
Advanced tools
Comparing version 2.5.8 to 2.6.0
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -21,2 +22,6 @@ var __create = Object.create; | ||
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, | ||
@@ -109,5 +114,14 @@ mod | ||
return new Proxy(styled, { | ||
/** | ||
* @example | ||
* const Div = chakra("div") | ||
* const WithChakra = chakra(AnotherComponent) | ||
*/ | ||
apply(target, thisArg, argArray) { | ||
return styled(...argArray); | ||
}, | ||
/** | ||
* @example | ||
* <chakra.div /> | ||
*/ | ||
get(_, element) { | ||
@@ -126,1 +140,2 @@ if (!cache.has(element)) { | ||
}); | ||
//# sourceMappingURL=factory.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -34,1 +35,2 @@ var __defProp = Object.defineProperty; | ||
}); | ||
//# sourceMappingURL=forward-ref.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -97,1 +98,2 @@ var __defProp = Object.defineProperty; | ||
}); | ||
//# sourceMappingURL=hooks.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -22,2 +23,6 @@ var __create = Object.create; | ||
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, | ||
@@ -295,5 +300,14 @@ mod | ||
return new Proxy(styled, { | ||
/** | ||
* @example | ||
* const Div = chakra("div") | ||
* const WithChakra = chakra(AnotherComponent) | ||
*/ | ||
apply(target, thisArg, argArray) { | ||
return styled(...argArray); | ||
}, | ||
/** | ||
* @example | ||
* <chakra.div /> | ||
*/ | ||
get(_, element) { | ||
@@ -328,3 +342,6 @@ if (!cache.has(element)) { | ||
useTheme, | ||
useToken | ||
useToken, | ||
...require("@chakra-ui/color-mode"), | ||
...require("@chakra-ui/styled-system") | ||
}); | ||
//# sourceMappingURL=index.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -85,1 +86,2 @@ var __defProp = Object.defineProperty; | ||
}); | ||
//# sourceMappingURL=providers.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -53,1 +54,2 @@ var __defProp = Object.defineProperty; | ||
}); | ||
//# sourceMappingURL=should-forward-prop.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -21,2 +22,6 @@ var __create = Object.create; | ||
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, | ||
@@ -108,1 +113,2 @@ mod | ||
}); | ||
//# sourceMappingURL=system.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -19,1 +20,2 @@ var __defProp = Object.defineProperty; | ||
module.exports = __toCommonJS(system_types_exports); | ||
//# sourceMappingURL=system.types.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -41,1 +42,2 @@ var __defProp = Object.defineProperty; | ||
}); | ||
//# sourceMappingURL=system.utils.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -21,2 +22,6 @@ var __create = Object.create; | ||
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, | ||
@@ -112,1 +117,2 @@ mod | ||
}); | ||
//# sourceMappingURL=use-style-config.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -43,1 +44,2 @@ var __defProp = Object.defineProperty; | ||
}); | ||
//# sourceMappingURL=use-theme.js.map |
{ | ||
"name": "@chakra-ui/system", | ||
"version": "2.5.8", | ||
"version": "2.6.0", | ||
"description": "Chakra UI system primitives", | ||
@@ -36,6 +36,6 @@ "keywords": [ | ||
"react-fast-compare": "3.2.1", | ||
"@chakra-ui/color-mode": "2.1.12", | ||
"@chakra-ui/color-mode": "2.2.0", | ||
"@chakra-ui/object-utils": "2.1.0", | ||
"@chakra-ui/react-utils": "2.0.12", | ||
"@chakra-ui/theme-utils": "2.0.18", | ||
"@chakra-ui/theme-utils": "2.0.19", | ||
"@chakra-ui/styled-system": "2.9.1", | ||
@@ -55,13 +55,5 @@ "@chakra-ui/utils": "2.0.15" | ||
"clean-package": "2.2.0", | ||
"@chakra-ui/theme": "3.1.2" | ||
"@chakra-ui/theme": "3.2.0" | ||
}, | ||
"clean-package": "../../../clean-package.config.json", | ||
"tsup": { | ||
"clean": true, | ||
"target": "es2019", | ||
"format": [ | ||
"cjs", | ||
"esm" | ||
] | ||
}, | ||
"module": "dist/index.mjs", | ||
@@ -68,0 +60,0 @@ "types": "dist/index.d.ts", |
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
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
145916
76
1744
+ Added@chakra-ui/anatomy@2.2.0(transitive)
+ Added@chakra-ui/color-mode@2.2.0(transitive)
+ Added@chakra-ui/react-use-safe-layout-effect@2.1.0(transitive)
+ Added@chakra-ui/theme@3.2.0(transitive)
+ Added@chakra-ui/theme-tools@2.1.0(transitive)
+ Added@chakra-ui/theme-utils@2.0.19(transitive)
- Removed@chakra-ui/anatomy@2.1.2(transitive)
- Removed@chakra-ui/color-mode@2.1.12(transitive)
- Removed@chakra-ui/react-use-safe-layout-effect@2.0.5(transitive)
- Removed@chakra-ui/theme@3.1.2(transitive)
- Removed@chakra-ui/theme-tools@2.0.18(transitive)
- Removed@chakra-ui/theme-utils@2.0.18(transitive)
Updated@chakra-ui/color-mode@2.2.0