@chakra-ui/color-mode
Advanced tools
Comparing version 1.0.0-next.1 to 1.0.0-next.2
# 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-next.2 (2020-06-22) | ||
### Bug Fixes | ||
* [#891](https://github.com/chakra-ui/chakra-ui/issues/891) ([e107acc](https://github.com/chakra-ui/chakra-ui/commit/e107acc8487898a965b0d695c1da71f46fc56d5e)) | ||
* case sensitivity issues in packages ([b423cd8](https://github.com/chakra-ui/chakra-ui/commit/b423cd88f0ede7e37b9a9eaec63cacfc1e9e5221)) | ||
* ts issue with sx prop ([d3b1340](https://github.com/chakra-ui/chakra-ui/commit/d3b1340cb255937927b4d4c56ce218141570b951)) | ||
* **color-mode:** sync value prop with state for controlled modes ([00881d4](https://github.com/chakra-ui/chakra-ui/commit/00881d4c592374e2015639acefdd7153cc5f872a)) | ||
# Change Log | ||
All notable changes to this project will be documented in this file. See | ||
@@ -4,0 +23,0 @@ [Conventional Commits](https://conventionalcommits.org) for commit guidelines. |
@@ -24,3 +24,3 @@ "use strict"; | ||
var ColorModeContext = React.createContext(["light", _utils.noop]); | ||
var ColorModeContext = /*#__PURE__*/React.createContext(["light", _utils.noop]); | ||
exports.ColorModeContext = ColorModeContext; | ||
@@ -27,0 +27,0 @@ |
@@ -7,3 +7,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
import useColorModeState from "./use-color-mode-state"; | ||
export var ColorModeContext = React.createContext(["light", noop]); | ||
export var ColorModeContext = /*#__PURE__*/React.createContext(["light", noop]); | ||
@@ -10,0 +10,0 @@ if (__DEV__) { |
{ | ||
"name": "@chakra-ui/color-mode", | ||
"version": "1.0.0-next.1", | ||
"version": "1.0.0-next.2", | ||
"description": "React component and hooks for handling light and dark mode.", | ||
@@ -53,4 +53,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@chakra-ui/hooks": "^1.0.0-next.1", | ||
"@chakra-ui/utils": "^1.0.0-next.1" | ||
"@chakra-ui/hooks": "^1.0.0-next.2", | ||
"@chakra-ui/utils": "^1.0.0-next.2" | ||
}, | ||
@@ -61,3 +61,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "cabbf345518d70d446bf95410872f1a0c947ccd5" | ||
"gitHead": "c5b51e43e9dff400f8bba7da7ffd135f5d33628b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
61687