@chakra-ui/form-control
Advanced tools
Comparing version 1.1.3 to 1.2.0
# Change Log | ||
## 1.2.0 | ||
### Minor Changes | ||
- [`90c7a4fbf`](https://github.com/chakra-ui/chakra-ui/commit/90c7a4fbfde69c01395ffe2876d7348dd72ea65a) | ||
[#3092](https://github.com/chakra-ui/chakra-ui/pull/3092) Thanks | ||
[@TimKolberger](https://github.com/TimKolberger)! - - Improved theme typing in | ||
order to provide a better autocomplete experience | ||
- Fixed a type issue where pseudo style props like `_hover` and `_active` | ||
didn't allow regular css properties | ||
### Patch Changes | ||
- Updated dependencies | ||
[[`90c7a4fbf`](https://github.com/chakra-ui/chakra-ui/commit/90c7a4fbfde69c01395ffe2876d7348dd72ea65a), | ||
[`b572bceed`](https://github.com/chakra-ui/chakra-ui/commit/b572bceedd9fb0c41c65118f0d9ba672791932ca)]: | ||
- @chakra-ui/icon@1.1.0 | ||
- @chakra-ui/hooks@1.1.3 | ||
## 1.1.3 | ||
@@ -4,0 +23,0 @@ |
@@ -28,3 +28,3 @@ "use strict"; | ||
* Used to provide feedback about an invalid input, | ||
* and suggest clear instrctions on how to fix it. | ||
* and suggest clear instructions on how to fix it. | ||
*/ | ||
@@ -31,0 +31,0 @@ var FormErrorMessage = /*#__PURE__*/(0, _system.forwardRef)(function (passedProps, ref) { |
@@ -12,3 +12,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); } | ||
* Used to provide feedback about an invalid input, | ||
* and suggest clear instrctions on how to fix it. | ||
* and suggest clear instructions on how to fix it. | ||
*/ | ||
@@ -15,0 +15,0 @@ export var FormErrorMessage = /*#__PURE__*/forwardRef((passedProps, ref) => { |
@@ -74,3 +74,3 @@ import { ThemingProps, HTMLChakraProps } from "@chakra-ui/system"; | ||
export { useFormControlContext }; | ||
export interface FormControlProps extends HTMLChakraProps<"div">, ThemingProps, FormControlContext { | ||
export interface FormControlProps extends HTMLChakraProps<"div">, ThemingProps<"FormControl">, FormControlContext { | ||
} | ||
@@ -77,0 +77,0 @@ /** |
import { IconProps } from "@chakra-ui/icon"; | ||
import { HTMLChakraProps, ThemingProps } from "@chakra-ui/system"; | ||
export interface FormErrorMessageProps extends HTMLChakraProps<"div">, ThemingProps { | ||
export interface FormErrorMessageProps extends HTMLChakraProps<"div">, ThemingProps<"FormErrorMessage"> { | ||
} | ||
/** | ||
* Used to provide feedback about an invalid input, | ||
* and suggest clear instrctions on how to fix it. | ||
* and suggest clear instructions on how to fix it. | ||
*/ | ||
@@ -9,0 +9,0 @@ export declare const FormErrorMessage: import("@chakra-ui/system").ComponentWithAs<"div", FormErrorMessageProps>; |
@@ -12,3 +12,3 @@ import { HTMLChakraProps, ThemingProps } from "@chakra-ui/system"; | ||
}; | ||
export interface FormLabelProps extends HTMLChakraProps<"label">, ThemingProps { | ||
export interface FormLabelProps extends HTMLChakraProps<"label">, ThemingProps<"FormLabel"> { | ||
/** | ||
@@ -15,0 +15,0 @@ * @type React.ReactElement |
{ | ||
"name": "@chakra-ui/form-control", | ||
"version": "1.1.3", | ||
"version": "1.2.0", | ||
"description": "React component to provide validation states to form fields", | ||
@@ -58,8 +58,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@chakra-ui/hooks": "1.1.2", | ||
"@chakra-ui/icon": "1.0.3", | ||
"@chakra-ui/hooks": "1.1.3", | ||
"@chakra-ui/icon": "1.1.0", | ||
"@chakra-ui/utils": "1.1.0" | ||
}, | ||
"devDependencies": { | ||
"@chakra-ui/system": "1.1.7", | ||
"@chakra-ui/system": "1.2.0", | ||
"react": "^17.0.1" | ||
@@ -66,0 +66,0 @@ }, |
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
100966
+ Added@chakra-ui/hooks@1.1.3(transitive)
+ Added@chakra-ui/icon@1.1.0(transitive)
- Removed@chakra-ui/hooks@1.1.2(transitive)
- Removed@chakra-ui/icon@1.0.3(transitive)
Updated@chakra-ui/hooks@1.1.3
Updated@chakra-ui/icon@1.1.0