@chakra-ui/form-control
Advanced tools
Comparing version 1.4.0-next.0 to 1.4.0
# Change Log | ||
## 1.4.0-next.0 | ||
## 1.4.0 | ||
@@ -41,11 +41,13 @@ ### Minor Changes | ||
- Updated dependencies | ||
* [`4981d9898`](https://github.com/chakra-ui/chakra-ui/commit/4981d9898641be3904367ef917560fef3b362720) | ||
[#4538](https://github.com/chakra-ui/chakra-ui/pull/4538) Thanks | ||
[@takethefake](https://github.com/takethefake)! - if an `aria-describedby` | ||
property is passed it will be joined with the id's from helper-text and | ||
error-message instead of being overwritten. | ||
* Updated dependencies | ||
[[`4c1071969`](https://github.com/chakra-ui/chakra-ui/commit/4c1071969a9b41a952b374f9990ac0bb89d24fa0), | ||
[`d3d85956c`](https://github.com/chakra-ui/chakra-ui/commit/d3d85956c776b4768cfe21dabcf9292e01875d74), | ||
[`43f66097b`](https://github.com/chakra-ui/chakra-ui/commit/43f66097b39f1c37a4627dd6ca8a85555f35b95c)]: | ||
- @chakra-ui/utils@1.8.2-next.0 | ||
- @chakra-ui/system@1.7.2-next.0 | ||
- @chakra-ui/hooks@1.5.5-next.0 | ||
- @chakra-ui/icon@1.1.11-next.0 | ||
- @chakra-ui/react-utils@1.1.3-next.0 | ||
- @chakra-ui/utils@1.8.2 | ||
- @chakra-ui/hooks@1.5.5 | ||
- @chakra-ui/icon@1.1.11 | ||
@@ -52,0 +54,0 @@ ## 1.3.8 |
@@ -57,3 +57,3 @@ "use strict"; | ||
var labelIds = []; // Error message must be described first in all scenarios. | ||
var labelIds = props["aria-describedby"] ? [props["aria-describedby"]] : []; // Error message must be described first in all scenarios. | ||
@@ -60,0 +60,0 @@ if (field != null && field.hasFeedbackText && field != null && field.isInvalid) { |
@@ -53,3 +53,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); } | ||
var labelIds = []; // Error message must be described first in all scenarios. | ||
var labelIds = props["aria-describedby"] ? [props["aria-describedby"]] : []; // Error message must be described first in all scenarios. | ||
@@ -56,0 +56,0 @@ if (field != null && field.hasFeedbackText && field != null && field.isInvalid) { |
{ | ||
"name": "@chakra-ui/form-control", | ||
"version": "1.4.0-next.0", | ||
"version": "1.4.0", | ||
"description": "React component to provide validation states to form fields", | ||
@@ -59,15 +59,15 @@ "keywords": [ | ||
"dependencies": { | ||
"@chakra-ui/hooks": "1.5.5-next.0", | ||
"@chakra-ui/icon": "1.1.11-next.0", | ||
"@chakra-ui/react-utils": "1.1.3-next.0", | ||
"@chakra-ui/utils": "1.8.2-next.0" | ||
"@chakra-ui/hooks": "1.5.5", | ||
"@chakra-ui/icon": "1.1.11", | ||
"@chakra-ui/react-utils": "1.1.2", | ||
"@chakra-ui/utils": "1.8.2" | ||
}, | ||
"devDependencies": { | ||
"@chakra-ui/system": "1.7.2-next.0", | ||
"@chakra-ui/system": "1.7.2", | ||
"react": "^17.0.1" | ||
}, | ||
"peerDependencies": { | ||
"@chakra-ui/system": ">=1.7.2-next.0", | ||
"@chakra-ui/system": ">=1.0.0", | ||
"react": ">=16.8.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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
123072
0
+ Added@chakra-ui/hooks@1.5.5(transitive)
+ Added@chakra-ui/icon@1.1.11(transitive)
+ Added@chakra-ui/react-utils@1.1.2(transitive)
+ Added@chakra-ui/utils@1.8.2(transitive)
- Removed@chakra-ui/hooks@1.5.5-next.0(transitive)
- Removed@chakra-ui/icon@1.1.11-next.0(transitive)
- Removed@chakra-ui/react-utils@1.1.3-next.0(transitive)
- Removed@chakra-ui/utils@1.8.2-next.0(transitive)
Updated@chakra-ui/hooks@1.5.5
Updated@chakra-ui/icon@1.1.11
Updated@chakra-ui/react-utils@1.1.2
Updated@chakra-ui/utils@1.8.2