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.0.0-rc.2 to 1.0.0-rc.3

11

CHANGELOG.md

@@ -6,3 +6,3 @@ # Change Log

# 1.0.0-rc.2 (2020-08-09)
# 1.0.0-rc.3 (2020-08-30)

@@ -20,2 +20,11 @@ **Note:** Version bump only for package @chakra-ui/theme-tools

# 1.0.0-rc.2 (2020-08-09)
**Note:** Version bump only for package @chakra-ui/theme-tools
# Change Log
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.0.0-rc.1](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/theme-tools@1.0.0-rc.0...@chakra-ui/theme-tools@1.0.0-rc.1) (2020-08-06)

@@ -22,0 +31,0 @@

2

dist/cjs/component.js

@@ -13,3 +13,3 @@ "use strict";

return function (props) {
return props.colorMode === "light" ? light : dark;
return props.colorMode === "dark" ? dark : light;
};

@@ -16,0 +16,0 @@ }

@@ -18,9 +18,2 @@ "use strict";

});
var _styleConfig = require("./style-config");
Object.keys(_styleConfig).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
exports[key] = _styleConfig[key];
});
//# sourceMappingURL=index.js.map
import { runIfFn } from "@chakra-ui/utils";
export { runIfFn };
export function mode(light, dark) {
return props => props.colorMode === "light" ? light : dark;
return props => props.colorMode === "dark" ? dark : light;
}

@@ -6,0 +6,0 @@ export function orient(options) {

export * from "./color";
export * from "./component";
export * from "./style-config";
//# sourceMappingURL=index.js.map
export * from "./color";
export * from "./component";
export * from "./style-config";
{
"name": "@chakra-ui/theme-tools",
"version": "1.0.0-rc.2",
"version": "1.0.0-rc.3",
"description": "Set of helpers that makes theming and styling easier",

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

"dependencies": {
"@chakra-ui/utils": "1.0.0-rc.2",
"@chakra-ui/utils": "1.0.0-rc.3",
"@types/tinycolor2": "1.4.2",

@@ -53,8 +53,8 @@ "tinycolor2": "1.4.1"

"peerDependencies": {
"@chakra-ui/system": "1.0.0-rc.1"
"@chakra-ui/system": "1.0.0-rc.2"
},
"devDependencies": {
"@chakra-ui/system": "1.0.0-rc.2"
"@chakra-ui/system": "1.0.0-rc.3"
},
"gitHead": "c0a55ae7279887996fd2cbfb410476c86793e1bc"
"gitHead": "a0b689f3a2b1589d58e4d9b0c8a9bbd02ed90f6e"
}

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

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