- Updated dependencies
[
389ff6184
]:- @chakra-ui/form-control@2.2.0
- @chakra-ui/icon@3.2.0
- Updated dependencies
[
3aaf0c3b1
]:- @chakra-ui/icon@3.2.0
- @chakra-ui/form-control@2.1.1
754d9d4f4
Thanks @segunadebayo! - To improve support for the App Router, all components and hooks are exported with the"use client"
directive.
- Updated dependencies
[
754d9d4f4
]:- @chakra-ui/react-use-safe-layout-effect@2.1.0
- @chakra-ui/react-use-event-listener@2.1.0
- @chakra-ui/form-control@2.1.0
- @chakra-ui/react-use-update-effect@2.1.0
- @chakra-ui/react-use-callback-ref@2.1.0
- @chakra-ui/react-use-merge-refs@2.1.0
- @chakra-ui/counter@2.1.0
- @chakra-ui/react-use-interval@2.1.0
- @chakra-ui/icon@3.1.0
- @chakra-ui/react-context@2.1.0
- Updated dependencies
[
62454c154
,8474beb85
]:- @chakra-ui/react-context@2.0.8
- @chakra-ui/form-control@2.0.18
- @chakra-ui/icon@3.0.16
- #7248
c57b00f80
Thanks @segunadebayo! - - Improved JS Doc comments to include default values- Fixed regression in exported components
- Updated dependencies
[
c57b00f80
]:- @chakra-ui/counter@2.0.14
- @chakra-ui/form-control@2.0.17
-
ddbb1b4c4
Thanks @segunadebayo! - Bump all packages -
Updated dependencies [
ddbb1b4c4
]:- @chakra-ui/counter@2.0.13
- @chakra-ui/form-control@2.0.16
- @chakra-ui/icon@3.0.16
- @chakra-ui/react-context@2.0.7
- @chakra-ui/react-use-callback-ref@2.0.7
- @chakra-ui/react-use-event-listener@2.0.7
- @chakra-ui/react-use-interval@2.0.5
- @chakra-ui/react-use-merge-refs@2.0.7
- @chakra-ui/react-use-safe-layout-effect@2.0.5
- @chakra-ui/react-use-update-effect@2.0.7
- @chakra-ui/react-types@2.0.7
- @chakra-ui/shared-utils@2.0.5
- Updated dependencies
[
c483d859d
]:- @chakra-ui/icon@3.0.15
- @chakra-ui/form-control@2.0.15
-
#7154
2d7398a01
Thanks @segunadebayo! - ## All componentsImproved the bundling setup for all components.
- Switched to the
.mjs
file extension for correct ESM behavior - Switched to the latest
tsup
will uses automatic JSX runtime detection removing the need for manually inject classicReact
import - Moved
tsup
config topackage.json
since it's very minimal - Removed
clean-package.config.json
in favor of thepackage.json
property - Fixed issue where Storybook addon (dark mode and RTL) was not working
- Switched to the
-
Updated dependencies [
2d7398a01
]:- @chakra-ui/counter@2.0.12
- @chakra-ui/form-control@2.0.14
- @chakra-ui/icon@3.0.14
- @chakra-ui/react-context@2.0.6
- @chakra-ui/react-use-callback-ref@2.0.6
- @chakra-ui/react-use-event-listener@2.0.6
- @chakra-ui/react-use-interval@2.0.4
- @chakra-ui/react-use-merge-refs@2.0.6
- @chakra-ui/react-use-safe-layout-effect@2.0.4
- @chakra-ui/react-use-update-effect@2.0.6
- @chakra-ui/react-types@2.0.6
- @chakra-ui/shared-utils@2.0.4
- Updated dependencies
[
8c2af79fa
,67ef76e32
]:- @chakra-ui/icon@3.0.13
- @chakra-ui/react-types@2.0.5
- @chakra-ui/form-control@2.0.13
- #6945
75eaba929
Thanks @anddoutoi! - Fix issue where using@chakra-ui/react
in a TypeScript project with"type": "module"
inpackage.json
and"moduleResolution": "Node16"
intsconfig.json
cannot find the types. - Updated dependencies
[
75eaba929
]:- @chakra-ui/counter@2.0.11
- @chakra-ui/form-control@2.0.12
- @chakra-ui/icon@3.0.12
- @chakra-ui/react-context@2.0.5
- @chakra-ui/react-use-callback-ref@2.0.5
- @chakra-ui/react-use-event-listener@2.0.5
- @chakra-ui/react-use-interval@2.0.3
- @chakra-ui/react-use-merge-refs@2.0.5
- @chakra-ui/react-use-safe-layout-effect@2.0.3
- @chakra-ui/react-use-update-effect@2.0.5
- @chakra-ui/react-types@2.0.4
- #6678
82edc7274
Thanks @anubra266! - Fix number input e character
-
#6648
9de39921b
Thanks @cschroeter! - Declare package exports @see https://webpack.js.org/guides/package-exports/ -
Updated dependencies [
9de39921b
]:- @chakra-ui/counter@2.0.10
- @chakra-ui/form-control@2.0.11
- @chakra-ui/icon@3.0.11
- @chakra-ui/react-context@2.0.4
- @chakra-ui/react-use-callback-ref@2.0.4
- @chakra-ui/react-use-event-listener@2.0.4
- @chakra-ui/react-use-interval@2.0.2
- @chakra-ui/react-use-merge-refs@2.0.4
- @chakra-ui/react-use-safe-layout-effect@2.0.2
- @chakra-ui/react-use-update-effect@2.0.4
-
ef722cac8
Thanks @segunadebayo! - Fix issue where input spins unexpectedly on right clicking the increment or decrement button with a pointer.Now, only left click (or primary button) will trigger a value change.
-
Updated dependencies []:
- @chakra-ui/form-control@2.0.10
- @chakra-ui/icon@3.0.10
- Updated dependencies
[
3e1b3f6b6
]:- @chakra-ui/form-control@2.0.10
- @chakra-ui/icon@3.0.10
- #6508
445661955
Thanks @anubra266! - - Initial release of react hooks- Refactor all packages to reduce bundle size
- Refactor code for proper prop doc generatation
- Updated dependencies
[
96bf71998
,445661955
]:- @chakra-ui/counter@2.0.9
- @chakra-ui/react-context@2.0.3
- @chakra-ui/react-use-callback-ref@2.0.3
- @chakra-ui/react-use-event-listener@2.0.3
- @chakra-ui/react-use-interval@2.0.1
- @chakra-ui/react-use-merge-refs@2.0.3
- @chakra-ui/react-use-safe-layout-effect@2.0.1
- @chakra-ui/react-use-update-effect@2.0.3
- @chakra-ui/form-control@2.0.9
- @chakra-ui/icon@3.0.9
- @chakra-ui/react-types@2.0.3
-
Force release
-
Updated dependencies []:
- @chakra-ui/counter@2.0.8
- @chakra-ui/form-control@2.0.8
- @chakra-ui/hooks@2.0.8
- @chakra-ui/icon@3.0.8
- @chakra-ui/react-utils@2.0.5
- @chakra-ui/utils@2.0.8
- Updated dependencies
[
dffc18b17
,04ff824ac
,99af1e29f
]:- @chakra-ui/utils@2.0.7
- @chakra-ui/hooks@2.0.7
- @chakra-ui/counter@2.0.7
- @chakra-ui/form-control@2.0.7
- @chakra-ui/icon@3.0.7
- @chakra-ui/react-utils@2.0.4
-
Force new release
-
Updated dependencies []:
- @chakra-ui/counter@2.0.6
- @chakra-ui/form-control@2.0.6
- @chakra-ui/hooks@2.0.6
- @chakra-ui/icon@3.0.6
- @chakra-ui/react-utils@2.0.3
- @chakra-ui/utils@2.0.6
- #6356
1839e22eb
Thanks @segunadebayo! - - Force release due to change in build configuration- Update package
main
andmodule
entries
- Update package
- Updated dependencies
[
1839e22eb
]:- @chakra-ui/counter@2.0.5
- @chakra-ui/form-control@2.0.5
- @chakra-ui/hooks@2.0.5
- @chakra-ui/icon@3.0.5
- @chakra-ui/react-utils@2.0.2
- @chakra-ui/utils@2.0.5
- Updated dependencies
[
c11743b47
]:- @chakra-ui/utils@2.0.4
- @chakra-ui/counter@2.0.4
- @chakra-ui/form-control@2.0.4
- @chakra-ui/hooks@2.0.4
- @chakra-ui/icon@3.0.4
- #6281
8bfeefbb5
Thanks @ShumRain! - ExportuseStyles
equivalent for multipart component styles. Accordion exportsuseAccordionStyles
, Alert exportsuseAlertStyles
, and so on. - Updated dependencies
[
8bfeefbb5
,36ef37d58
,6c15ec2c2
]:- @chakra-ui/form-control@2.0.3
- @chakra-ui/utils@2.0.3
- @chakra-ui/counter@2.0.3
- @chakra-ui/hooks@2.0.3
- @chakra-ui/icon@3.0.3
06f29f8cd
Thanks @segunadebayo! - Bump all packages to resolve deps issues
- #6137
7de782f04
Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a customcreateStylesContext
function. - Updated dependencies
[
06f29f8cd
,7de782f04
]:- @chakra-ui/counter@2.0.2
- @chakra-ui/form-control@2.0.2
- @chakra-ui/hooks@2.0.2
- @chakra-ui/icon@3.0.2
- @chakra-ui/react-utils@2.0.1
- @chakra-ui/utils@2.0.2
- Updated dependencies
[
f77e3c98f
]:- @chakra-ui/utils@2.0.1
- @chakra-ui/counter@2.0.1
- @chakra-ui/form-control@2.0.1
- @chakra-ui/hooks@2.0.1
- @chakra-ui/icon@3.0.1
- #5879
c390af485
Thanks @TimKolberger! - Bump all packages to next major for Chakra UI version 2.
- #5989
ed692c0ae
Thanks @TimKolberger! - Omitsrc
directory from being published to npm
-
#5828
1a47fd27e
Thanks @segunadebayo! - ### Remove deprecationsAffected components or packages:
Button, Icon Button, Input, NumberInput, Radio, Checkbox, Select
- Removed the
isFullWidth
deprecation. Usewidth=full
orwidth=100%
Checkbox
- Removed
defaultIsChecked
. UsedefaultChecked
Color mode
- Removed references to
--chakra-ui-color-mode
. Usedata-theme
property instead
Hooks
- Removed
useEventCallback
hook
Input / NumberInput
- Removed the
isFullWidth
deprecation. Usewidth=full
orwidth=100%
Grid
- Removed the
area
prop fromGrid
component. Should be passed to theGridItem
instead.
Styled system
- Removed the
d
style prop. Usedisplay
instead. - Removed the
isTruncated
style prop. UsenoOfLines={1}
instead.
Theme
- Removed deprecated types.
- Removed the
- #5882
41b3119f5
Thanks @TimKolberger! - Bump peer dependency to React and ReactDOM to >=18
- Updated dependencies
[
c390af485
,ed692c0ae
,1a47fd27e
,8991ac13e
,41b3119f5
,d32aea176
]:- @chakra-ui/counter@2.0.0
- @chakra-ui/form-control@2.0.0
- @chakra-ui/hooks@2.0.0
- @chakra-ui/icon@3.0.0
- @chakra-ui/react-utils@2.0.0
- @chakra-ui/utils@2.0.0
- #5989
ed692c0ae
Thanks @TimKolberger! - Omitsrc
directory from being published to npm
- Updated dependencies
[
ed692c0ae
]:- @chakra-ui/counter@2.0.0-next.3
- @chakra-ui/form-control@2.0.0-next.3
- @chakra-ui/hooks@2.0.0-next.3
- @chakra-ui/icon@3.0.0-next.2
- @chakra-ui/react-utils@2.0.0-next.2
- @chakra-ui/utils@2.0.0-next.2
- Updated dependencies
[
8991ac13e
,d32aea176
]:- @chakra-ui/hooks@2.0.0-next.2
- @chakra-ui/counter@2.0.0-next.2
- @chakra-ui/form-control@2.0.0-next.2
- #5882
41b3119f5
Thanks @TimKolberger! - Bump peer depencency to React and ReactDOM to >=18
- Updated dependencies
[
41b3119f5
]:- @chakra-ui/counter@2.0.0-next.1
- @chakra-ui/form-control@2.0.0-next.1
- @chakra-ui/hooks@2.0.0-next.1
- @chakra-ui/icon@3.0.0-next.1
- @chakra-ui/react-utils@2.0.0-next.1
- @chakra-ui/utils@2.0.0-next.1
- #5879
c390af485
Thanks @TimKolberger! - Bump all packages to next major for Chakra UI version 2.
-
#5828
1a47fd27e
Thanks @segunadebayo! - ### Remove deprecationsAffected components or packages:
Button, Icon Button, Input, NumberInput, Radio, Checkbox, Select
- Removed the
isFullWidth
deprecation. Usewidth=full
orwidth=100%
Checkbox
- Removed
defaultIsChecked
. UsedefaultChecked
Color mode
- Removed references to
--chakra-ui-color-mode
. Usedata-theme
property instead
Hooks
- Removed
useEventCallback
hook
Input / NumberInput
- Removed the
isFullWidth
deprecation. Usewidth=full
orwidth=100%
Grid
- Removed the
area
prop fromGrid
component. Should be passed to theGridItem
instead.
Styled system
- Removed the
d
style prop. Usedisplay
instead. - Removed the
isTruncated
style prop. UsenoOfLines={1}
instead.
Theme
- Removed deprecated types.
- Removed the
- Updated dependencies
[
c390af485
,1a47fd27e
]:- @chakra-ui/counter@2.0.0-next.0
- @chakra-ui/form-control@2.0.0-next.0
- @chakra-ui/hooks@2.0.0-next.0
- @chakra-ui/icon@3.0.0-next.0
- @chakra-ui/react-utils@2.0.0-next.0
- @chakra-ui/system@2.0.0-next.0
- @chakra-ui/utils@2.0.0-next.0
- Updated dependencies
[
56b7e198b
,a3b04dc1a
]:- @chakra-ui/form-control@1.6.0
- @chakra-ui/hooks@1.9.1
- @chakra-ui/counter@1.2.10
- Updated dependencies
[
73a06ae8c
]:- @chakra-ui/hooks@1.9.0
- @chakra-ui/counter@1.2.9
- @chakra-ui/form-control@1.5.10
- Updated dependencies
[
5cd5cff35
]:- @chakra-ui/hooks@1.8.5
- @chakra-ui/counter@1.2.8
- @chakra-ui/form-control@1.5.9
e1fe48cbe
Thanks @TimKolberger! - Bumped patch version for every package to fix release process. Root cause was a bug in our CI configuration.- Updated dependencies
[
e1fe48cbe
]:- @chakra-ui/counter@1.2.7
- @chakra-ui/form-control@1.5.8
- @chakra-ui/hooks@1.8.4
- @chakra-ui/icon@2.0.5
- @chakra-ui/react-utils@1.2.3
- @chakra-ui/utils@1.10.4
- Updated dependencies
[
a870e6b94
,c2bcba11c
]:- @chakra-ui/utils@1.10.3
- @chakra-ui/icon@2.0.4
- @chakra-ui/counter@1.2.6
- @chakra-ui/form-control@1.5.7
- @chakra-ui/hooks@1.8.3
-
#5536
a503acabe
Thanks @TimKolberger! - Bumped patch version for every package to fix release process. -
Updated dependencies [
a503acabe
]:- @chakra-ui/counter@1.2.5
- @chakra-ui/form-control@1.5.6
- @chakra-ui/hooks@1.8.2
- @chakra-ui/icon@2.0.3
- @chakra-ui/react-utils@1.2.2
- @chakra-ui/utils@1.10.2
- Updated dependencies
[
24b4333d0
,f149c6c9a
]:- @chakra-ui/utils@1.10.1
- @chakra-ui/form-control@1.5.5
- @chakra-ui/counter@1.2.4
- @chakra-ui/hooks@1.8.1
- @chakra-ui/icon@2.0.2
- #4982
7a136f5a8
Thanks @segunadebayo! - Add support for customformat
,parse
and character validation callbacks.
- #4982
e4f5ee819
Thanks @segunadebayo! - Fix issue where number input doesn't leave the spinning state when inc/dec button is disabled - Updated dependencies
[
cbad002e7
,6e259a1f7
,1537a725f
]:- @chakra-ui/hooks@1.8.0
- @chakra-ui/utils@1.10.0
- @chakra-ui/form-control@1.5.4
- @chakra-ui/icon@2.0.1
- @chakra-ui/counter@1.2.3
- Updated dependencies
[
801008e27
,8a0e5bdbc
]:- @chakra-ui/hooks@1.7.2
- @chakra-ui/form-control@1.5.3
- @chakra-ui/counter@1.2.2
- Updated dependencies
[
17400aff6
]:- @chakra-ui/icon@2.0.0
- @chakra-ui/form-control@1.5.2
- #5075
b28142946
Thanks @cschroeter! - Update babel config to transpile soruces for older browsers. This fixes issues with CRA and Storybook. - Updated dependencies
[
b28142946
]:- @chakra-ui/counter@1.2.1
- @chakra-ui/form-control@1.5.1
- @chakra-ui/hooks@1.7.1
- @chakra-ui/icon@1.2.1
- @chakra-ui/react-utils@1.2.1
- @chakra-ui/utils@1.9.1
-
#4991
6095eaf9a
Thanks @segunadebayo! - Update build system we use from a custom babel cli setup to preconstruct.The previous build system transpiles the code in
src
directory todist/esm
anddist/cjs
keeping the same file structure. The new build system merges all files insrc
and transpiles to a singleesm
andcjs
file.Potential Breaking Change: The side effect of this is that, if you imported any function, component or hook using the undocumented approach like
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"
, you'll notice that the this doesn't work anymore.Here's how to resolve it:
// Won't work 🎇 import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" // Works ✅ import { useOutsideClick } from "@chakra-ui/hooks"
If this affected your project, we recommend that you import hooks, functions or components the way it's shown in the documentation. This will help keep your project future-proof.
- Updated dependencies
[
6095eaf9a
]:- @chakra-ui/counter@1.2.0
- @chakra-ui/form-control@1.5.0
- @chakra-ui/hooks@1.7.0
- @chakra-ui/icon@1.2.0
- @chakra-ui/react-utils@1.2.0
- @chakra-ui/utils@1.9.0
- Updated dependencies
[
5fe9b552b
,cd0893c56
]:- @chakra-ui/hooks@1.6.2
- @chakra-ui/utils@1.8.4
- @chakra-ui/counter@1.1.11
- @chakra-ui/form-control@1.4.3
- @chakra-ui/icon@1.1.13
- Updated dependencies
[
c06d242c6
,a9d1dc4ac
,5b4d8ef24
]:- @chakra-ui/utils@1.8.3
- @chakra-ui/hooks@1.6.1
- @chakra-ui/counter@1.1.10
- @chakra-ui/form-control@1.4.2
- @chakra-ui/icon@1.1.12
- Updated dependencies
[
28af4c030
]:- @chakra-ui/hooks@1.6.0
- @chakra-ui/form-control@1.4.1
- @chakra-ui/counter@1.1.9
-
4c1071969
#4437 Thanks @Toxiapo! - Remove code that was added as a workaround for pre-releases of React concurrent mode. -
Updated dependencies [
4c1071969
,4981d9898
,ff4dc7c38
,43f66097b
]:- @chakra-ui/form-control@1.4.0
- @chakra-ui/utils@1.8.2
- @chakra-ui/counter@1.1.8
- @chakra-ui/hooks@1.5.5
- @chakra-ui/icon@1.1.11
- Updated dependencies
[
4a1e4d93b
]:- @chakra-ui/utils@1.8.1
- @chakra-ui/counter@1.1.7
- @chakra-ui/form-control@1.3.8
- @chakra-ui/hooks@1.5.4
- @chakra-ui/icon@1.1.10
-
afb9b3cfa
#4103 Thanks @with-heart! - Update transitions to use theme tokens and remove outline transitions -
Updated dependencies [
aa374ffcb
]:- @chakra-ui/hooks@1.5.3
- @chakra-ui/counter@1.1.6
- @chakra-ui/form-control@1.3.7
-
4a7f8dab7
Thanks @segunadebayo! - Fix warning with scroll listener whenallowMouseWheel
is passed -
Updated dependencies [
620f0b7d7
]:- @chakra-ui/form-control@1.3.6
- Updated dependencies
[
d0f50a46e
,b479ff22e
,07d15eab4
,d0f50a46e
]:- @chakra-ui/utils@1.8.0
- @chakra-ui/hooks@1.5.2
- @chakra-ui/counter@1.1.5
- @chakra-ui/form-control@1.3.5
- @chakra-ui/icon@1.1.9
- Updated dependencies
[
82f08867f
,e9ac4cc76
]:- @chakra-ui/react-utils@1.1.2
- @chakra-ui/utils@1.7.0
- @chakra-ui/form-control@1.3.4
- @chakra-ui/hooks@1.5.1
- @chakra-ui/counter@1.1.4
- @chakra-ui/icon@1.1.8
- Updated dependencies
[
0974e547c
,59ea894a7
,384902e35
]:- @chakra-ui/utils@1.6.0
- @chakra-ui/hooks@1.5.0
- @chakra-ui/counter@1.1.3
- @chakra-ui/form-control@1.3.3
- @chakra-ui/icon@1.1.7
- Updated dependencies
[
8b5eb9654
,d1532f0b7
]:- @chakra-ui/utils@1.5.2
- @chakra-ui/hooks@1.4.0
- @chakra-ui/counter@1.1.2
- @chakra-ui/form-control@1.3.2
- @chakra-ui/icon@1.1.6
-
38706f731
Thanks @segunadebayo! - ReplacewithFlushSync
with microtask callback to prevent ReactDOM warning. -
Updated dependencies [
87a03b320
,1a04a41bd
,e481ba491
,d86a0f6b4
]:- @chakra-ui/react-utils@1.1.1
- @chakra-ui/utils@1.5.1
- @chakra-ui/form-control@1.3.1
- @chakra-ui/hooks@1.3.1
- @chakra-ui/counter@1.1.1
- @chakra-ui/icon@1.1.5
b724a9dd9
#3674 Thanks @codebender828! - Extract all React based utilities and types into@chakra-ui/react-utils
-
fa9350eff
#3689 Thanks @segunadebayo! - ### useNumberInput- Forward
aria-*
props to the input element. - Fix issue where
onChange
was called on mount. - Fix issue where
onBlur
was called twice. - Memoize all callback props
onFocus
,onBlur
,getAriaValueText
- Refactor implicit
useFormControl
logic to be called fromNumberInput
instead. - Call
setFocused.on
withReactDOM.flushSync
to prevent concurrent mode issue where setting state inonFocus
affectsonChange
event handler.
- Forward
-
Updated dependencies [
623e782e8
,a58b724e9
,f9b1a2a9b
,b724a9dd9
,3cc77ce60
,fa9350eff
,428593906
]:- @chakra-ui/hooks@1.3.0
- @chakra-ui/utils@1.5.0
- @chakra-ui/counter@1.1.0
- @chakra-ui/form-control@1.3.0
- @chakra-ui/react-utils@1.1.0
- @chakra-ui/icon@1.1.4
-
9c143bfe5
Thanks @segunadebayo! - Update focus utils to usenextTick
option since its default value is now false in the focus utils@internal
use only
96139067d
#3551 Thanks @segunadebayo! - Addroot
to number input parts and updateright
toinsetEnd
for it to work in RTL.- Updated dependencies
[
e748219f3
,9c143bfe5
,91ef14839
]:- @chakra-ui/hooks@1.2.0
- @chakra-ui/utils@1.4.0
- @chakra-ui/form-control@1.2.3
- @chakra-ui/icon@1.1.3
- @chakra-ui/counter@1.0.9
- Updated dependencies
[
83ae62905
,87cc23e14
]:- @chakra-ui/hooks@1.1.5
- @chakra-ui/utils@1.3.0
- @chakra-ui/form-control@1.2.2
- @chakra-ui/icon@1.1.2
- @chakra-ui/counter@1.0.8
- Updated dependencies
[
ff4a36bca
,483687237
,61962345c
]:- @chakra-ui/utils@1.2.0
- @chakra-ui/form-control@1.2.1
- @chakra-ui/icon@1.1.1
- @chakra-ui/counter@1.0.7
- @chakra-ui/hooks@1.1.4
90c7a4fbf
#3092 Thanks @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
- Fixed a type issue where pseudo style props like
ab788323d
#3181 Thanks @with-heart! - Resolved an issue where blurringNumberInputField
did not clamp the value using theprecision
prop- Updated dependencies
[
90c7a4fbf
,b572bceed
]:- @chakra-ui/form-control@1.2.0
- @chakra-ui/icon@1.1.0
- @chakra-ui/hooks@1.1.3
- @chakra-ui/counter@1.0.6
- Updated dependencies
[
002a4361
]:- @chakra-ui/hooks@1.1.2
- @chakra-ui/counter@1.0.5
- @chakra-ui/form-control@1.1.3
- Updated dependencies
[
02855588
]:- @chakra-ui/hooks@1.1.1
- @chakra-ui/counter@1.0.4
- @chakra-ui/form-control@1.1.2
- Updated dependencies
[
4ae55fa3
,8b87406c
,8b87406c
,8b87406c
]:- @chakra-ui/form-control@1.1.1
- @chakra-ui/hooks@1.1.0
- @chakra-ui/utils@1.1.0
- @chakra-ui/counter@1.0.3
- @chakra-ui/icon@1.0.3
-
730a2da1
Thanks @segunadebayo! - ## Pin Input- Fix issue where copy-paste doesn't work for pin-input
-
Fix issue where number input doesn't work when using with form libraries that use
ref
as entry point to setting initial values (e.g React hook form).We improved
useNumberInput
to sync the initial values in theref
passed toNumberInputField
with the internal state.
Add support for custom
shouldForwardProp
function in thechakra
factory function.
-
d1bd91e1
Thanks @segunadebayo! - ## 🐛 Bug FixWe've made it possible to override the
type
andpattern
props passed toNumberInputField
orgetInputProps
. Fixed [#2755]<NumberInput> <NumberInputField type="number" pattern="-?[0-9]*" /> </NumberInput>
-
Updated dependencies [
b8df0bf4
,123aaf59
,e73878ee
,29c0e45e
]:- @chakra-ui/form-control@1.1.0
- @chakra-ui/utils@1.0.2
- @chakra-ui/icon@1.0.2
- @chakra-ui/counter@1.0.2
- @chakra-ui/hooks@1.0.2
-
e1b095cd
#2217 Thanks @silltho! - feat(number-input): uses props of wrapping form-controlThis change enables
NumberInput
to automatically derive various values from a surroundingFormControl
if found, similar toInput
andSelect
. -
Updated dependencies [
ff10bcec
]:- @chakra-ui/form-control@1.0.2
- Updated dependencies
[
5c482483
,204ff7e3
]:- @chakra-ui/utils@1.0.1
- @chakra-ui/hooks@1.0.1
- @chakra-ui/counter@1.0.1
- @chakra-ui/icon@1.0.1
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Version bump only for package @chakra-ui/number-input
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Version bump only for package @chakra-ui/number-input
Note: Version bump only for package @chakra-ui/number-input
Note: Version bump only for package @chakra-ui/number-input
Note: Version bump only for package @chakra-ui/number-input
Note: Version bump only for package @chakra-ui/number-input
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
Note: Version bump only for package @chakra-ui/number-input
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.0.0-rc.1 (2020-08-06)
- stack key issue and yarn2 deps issue (d6cb6b8)
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.0.0-rc.0 (2020-07-26)
Note: Version bump only for package @chakra-ui/number-input
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.0.0-next.7 (2020-07-26)
Note: Version bump only for package @chakra-ui/number-input
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.0.0-next.6 (2020-07-15)
Note: Version bump only for package @chakra-ui/number-input
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.0.0-next.5 (2020-07-15)
- build issue (1be70b2)
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.