Socket
Socket
Sign inDemoInstall

@chakra-ui/theme-tools

Package Overview
Dependencies
Maintainers
4
Versions
479
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/theme-tools - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

13

CHANGELOG.md
# Change Log
## 1.2.3
### Patch Changes
- [`cd0893c56`](https://github.com/chakra-ui/chakra-ui/commit/cd0893c561d8c72b69db7c03d10adae752468a4f)
[#4873](https://github.com/chakra-ui/chakra-ui/pull/4873) Thanks
[@Nfinished](https://github.com/Nfinished)! - fix: always use fromEntries
polyfill from @chakra-ui/utils #4872
- Updated dependencies
[[`cd0893c56`](https://github.com/chakra-ui/chakra-ui/commit/cd0893c561d8c72b69db7c03d10adae752468a4f)]:
- @chakra-ui/utils@1.8.4
## 1.2.2

@@ -4,0 +17,0 @@

6

dist/cjs/anatomy.js

@@ -7,2 +7,4 @@ "use strict";

var _utils = require("@chakra-ui/utils");
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }

@@ -96,3 +98,3 @@

function get() {
var value = Object.fromEntries(Object.entries(this.map).map(function (_ref) {
var value = (0, _utils.fromEntries)(Object.entries(this.map).map(function (_ref) {
var key = _ref[0],

@@ -111,3 +113,3 @@ part = _ref[1];

get: function get() {
var value = Object.fromEntries(Object.entries(this.map).map(function (_ref2) {
var value = (0, _utils.fromEntries)(Object.entries(this.map).map(function (_ref2) {
var key = _ref2[0],

@@ -114,0 +116,0 @@ part = _ref2[1];

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
import { fromEntries } from "@chakra-ui/utils";
/**

@@ -7,2 +8,3 @@ * Used to define the anatomy/parts of a component in a way that provides

*/
export class Anatomy {

@@ -79,3 +81,3 @@ constructor(name) {

get selectors() {
var value = Object.fromEntries(Object.entries(this.map).map((_ref) => {
var value = fromEntries(Object.entries(this.map).map((_ref) => {
var [key, part] = _ref;

@@ -92,3 +94,3 @@ return [key, part.selector];

get classNames() {
var value = Object.fromEntries(Object.entries(this.map).map((_ref2) => {
var value = fromEntries(Object.entries(this.map).map((_ref2) => {
var [key, part] = _ref2;

@@ -95,0 +97,0 @@ return [key, part.className];

{
"name": "@chakra-ui/theme-tools",
"version": "1.2.2",
"version": "1.2.3",
"description": "Set of helpers that makes theming and styling easier",

@@ -54,3 +54,3 @@ "keywords": [

"dependencies": {
"@chakra-ui/utils": "1.8.3",
"@chakra-ui/utils": "1.8.4",
"@ctrl/tinycolor": "^3.4.0"

@@ -62,4 +62,4 @@ },

"devDependencies": {
"@chakra-ui/system": "1.7.4"
"@chakra-ui/system": "1.7.6"
}
}

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc