Skip to content

Latest commit

 

History

History
1315 lines (971 loc) · 45.9 KB

CHANGELOG.md

File metadata and controls

1315 lines (971 loc) · 45.9 KB

Change Log

2.1.2

Patch Changes

  • Updated dependencies [389ff6184]:
    • @chakra-ui/form-control@2.2.0
    • @chakra-ui/icon@3.2.0

2.1.1

Patch Changes

  • Updated dependencies [3aaf0c3b1]:
    • @chakra-ui/icon@3.2.0
    • @chakra-ui/form-control@2.1.1

2.1.0

Minor Changes

  • 754d9d4f4 Thanks @segunadebayo! - To improve support for the App Router, all components and hooks are exported with the "use client" directive.

Patch Changes

  • 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

2.0.19

Patch Changes

  • Updated dependencies [62454c154, 8474beb85]:
    • @chakra-ui/react-context@2.0.8
    • @chakra-ui/form-control@2.0.18
    • @chakra-ui/icon@3.0.16

2.0.18

Patch Changes

  • #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

2.0.17

Patch Changes

  • 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

2.0.16

Patch Changes

  • Updated dependencies [c483d859d]:
    • @chakra-ui/icon@3.0.15
    • @chakra-ui/form-control@2.0.15

2.0.15

Patch Changes

  • #7154 2d7398a01 Thanks @segunadebayo! - ## All components

    Improved 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 classic React import
    • Moved tsup config to package.json since it's very minimal
    • Removed clean-package.config.json in favor of the package.json property
    • Fixed issue where Storybook addon (dark mode and RTL) was not working
  • 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

2.0.14

Patch Changes

  • Updated dependencies [8c2af79fa, 67ef76e32]:
    • @chakra-ui/icon@3.0.13
    • @chakra-ui/react-types@2.0.5
    • @chakra-ui/form-control@2.0.13

2.0.13

Patch Changes

  • #6945 75eaba929 Thanks @anddoutoi! - Fix issue where using @chakra-ui/react in a TypeScript project with "type": "module" in package.json and "moduleResolution": "Node16" in tsconfig.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

2.0.12

Patch Changes

  • #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

2.0.11

Patch Changes

  • 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

2.0.10

Patch Changes

  • Updated dependencies [3e1b3f6b6]:
    • @chakra-ui/form-control@2.0.10
    • @chakra-ui/icon@3.0.10

2.0.9

Patch Changes

  • #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

2.0.8

Patch Changes

  • 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

2.0.7

Patch Changes

  • 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

2.0.6

Patch Changes

  • 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

2.0.5

Patch Changes

  • #6356 1839e22eb Thanks @segunadebayo! - - Force release due to change in build configuration
    • Update package main and module entries
  • 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

2.0.4

Patch Changes

  • 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

2.0.3

Patch Changes

  • #6281 8bfeefbb5 Thanks @ShumRain! - Export useStyles equivalent for multipart component styles. Accordion exports useAccordionStyles, Alert exports useAlertStyles, 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

2.0.2

Patch Changes

  • #6137 7de782f04 Thanks @Patrick-Ullrich! - Improve error messaging around style provider factory by creating a custom createStylesContext 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

2.0.1

Patch Changes

  • 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

2.0.0

Major Changes

  • #5828 1a47fd27e Thanks @segunadebayo! - ### Remove deprecations

    Affected components or packages:

    Button, Icon Button, Input, NumberInput, Radio, Checkbox, Select

    • Removed the isFullWidth deprecation. Use width=full or width=100%

    Checkbox

    • Removed defaultIsChecked. Use defaultChecked

    Color mode

    • Removed references to --chakra-ui-color-mode. Use data-theme property instead

    Hooks

    • Removed useEventCallback hook

    Input / NumberInput

    • Removed the isFullWidth deprecation. Use width=full or width=100%

    Grid

    • Removed the area prop from Grid component. Should be passed to the GridItem instead.

    Styled system

    • Removed the d style prop. Use display instead.
    • Removed the isTruncated style prop. Use noOfLines={1} instead.

    Theme

    • Removed deprecated types.

Patch Changes

2.0.0-next.3

Major Changes

Patch Changes

  • 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

2.0.0-next.2

Patch Changes

  • 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

2.0.0-next.1

Major Changes

Patch Changes

  • 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

2.0.0-next.0

Major Changes

  • #5828 1a47fd27e Thanks @segunadebayo! - ### Remove deprecations

    Affected components or packages:

    Button, Icon Button, Input, NumberInput, Radio, Checkbox, Select

    • Removed the isFullWidth deprecation. Use width=full or width=100%

    Checkbox

    • Removed defaultIsChecked. Use defaultChecked

    Color mode

    • Removed references to --chakra-ui-color-mode. Use data-theme property instead

    Hooks

    • Removed useEventCallback hook

    Input / NumberInput

    • Removed the isFullWidth deprecation. Use width=full or width=100%

    Grid

    • Removed the area prop from Grid component. Should be passed to the GridItem instead.

    Styled system

    • Removed the d style prop. Use display instead.
    • Removed the isTruncated style prop. Use noOfLines={1} instead.

    Theme

    • Removed deprecated types.

Patch Changes

  • 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

1.4.7

Patch Changes

  • Updated dependencies [56b7e198b, a3b04dc1a]:
    • @chakra-ui/form-control@1.6.0
    • @chakra-ui/hooks@1.9.1
    • @chakra-ui/counter@1.2.10

1.4.6

Patch Changes

  • Updated dependencies [73a06ae8c]:
    • @chakra-ui/hooks@1.9.0
    • @chakra-ui/counter@1.2.9
    • @chakra-ui/form-control@1.5.10

1.4.5

Patch Changes

  • Updated dependencies [5cd5cff35]:
    • @chakra-ui/hooks@1.8.5
    • @chakra-ui/counter@1.2.8
    • @chakra-ui/form-control@1.5.9

1.4.4

Patch Changes

  • 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

1.4.3

Patch Changes

  • 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

1.4.2

Patch Changes

  • #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

1.4.1

Patch Changes

  • 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

1.4.0

Minor Changes

Patch Changes

  • #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

1.3.3

Patch Changes

  • Updated dependencies [801008e27, 8a0e5bdbc]:
    • @chakra-ui/hooks@1.7.2
    • @chakra-ui/form-control@1.5.3
    • @chakra-ui/counter@1.2.2

1.3.2

Patch Changes

  • Updated dependencies [17400aff6]:
    • @chakra-ui/icon@2.0.0
    • @chakra-ui/form-control@1.5.2

1.3.1

Patch Changes

  • #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

1.3.0

Minor Changes

  • #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 to dist/esm and dist/cjs keeping the same file structure. The new build system merges all files in src and transpiles to a single esm and cjs 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.

Patch Changes

  • 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

1.2.12

Patch Changes

  • 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

1.2.11

Patch Changes

  • 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

1.2.10

Patch Changes

  • Updated dependencies [28af4c030]:
    • @chakra-ui/hooks@1.6.0
    • @chakra-ui/form-control@1.4.1
    • @chakra-ui/counter@1.1.9

1.2.9

Patch Changes

  • 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

1.2.8

Patch Changes

  • 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

1.2.7

Patch Changes

  • 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

1.2.6

Patch Changes

  • 4a7f8dab7 Thanks @segunadebayo! - Fix warning with scroll listener when allowMouseWheel is passed

  • Updated dependencies [620f0b7d7]:

    • @chakra-ui/form-control@1.3.6

1.2.5

Patch Changes

  • 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

1.2.4

Patch Changes

  • 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

1.2.3

Patch Changes

  • 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

1.2.2

Patch Changes

  • 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

1.2.1

Patch Changes

  • 38706f731 Thanks @segunadebayo! - Replace withFlushSync 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

1.2.0

Minor Changes

Patch Changes

  • 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 from NumberInput instead.
    • Call setFocused.on with ReactDOM.flushSync to prevent concurrent mode issue where setting state in onFocus affects onChange event handler.
  • 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

1.1.3

Patch Changes

  • 9c143bfe5 Thanks @segunadebayo! - Update focus utils to use nextTick option since its default value is now false in the focus utils

    @internal use only

  • 96139067d #3551 Thanks @segunadebayo! - Add root to number input parts and update right to insetEnd 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

1.1.2

Patch Changes

  • 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

1.1.1

Patch Changes

  • 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

1.1.0

Minor Changes

  • 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

Patch Changes

  • ab788323d #3181 Thanks @with-heart! - Resolved an issue where blurring NumberInputField did not clamp the value using the precision 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

1.0.6

Patch Changes

  • Updated dependencies [002a4361]:
    • @chakra-ui/hooks@1.1.2
    • @chakra-ui/counter@1.0.5
    • @chakra-ui/form-control@1.1.3

1.0.5

Patch Changes

  • Updated dependencies [02855588]:
    • @chakra-ui/hooks@1.1.1
    • @chakra-ui/counter@1.0.4
    • @chakra-ui/form-control@1.1.2

1.0.4

Patch Changes

  • 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

1.0.3

Patch Changes

  • 730a2da1 Thanks @segunadebayo! - ## Pin Input

    🐛 Bug Fix

    • Fix issue where copy-paste doesn't work for pin-input

    Number Input

    🐛 Bug Fix

    • 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 the ref passed to NumberInputField with the internal state.

    System

    🚀 Feature

    Add support for custom shouldForwardProp function in the chakra factory function.

  • d1bd91e1 Thanks @segunadebayo! - ## 🐛 Bug Fix

    We've made it possible to override the type and pattern props passed to NumberInputField or getInputProps. 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

1.0.2

Patch Changes

  • e1b095cd #2217 Thanks @silltho! - feat(number-input): uses props of wrapping form-control

    This change enables NumberInput to automatically derive various values from a surrounding FormControl if found, similar to Input and Select.

  • Updated dependencies [ff10bcec]:

    • @chakra-ui/form-control@1.0.2

1.0.1

Patch Changes

  • 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.

1.0.0 (2020-11-13)

Note: Version bump only for package @chakra-ui/number-input

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.0.0-rc.8 (2020-10-29)

Bug Fixes

  • toast: allow custom render in update (eb8bff9), closes #2362

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.0.0-rc.7 (2020-10-25)

Note: Version bump only for package @chakra-ui/number-input

1.0.0-rc.6 (2020-10-25)

Note: Version bump only for package @chakra-ui/number-input

1.0.0-rc.5 (2020-09-27)

Note: Version bump only for package @chakra-ui/number-input

1.0.0-rc.4 (2020-09-25)

Note: Version bump only for package @chakra-ui/number-input

1.0.0-rc.3 (2020-08-30)

Note: Version bump only for package @chakra-ui/number-input

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.0.0-rc.2 (2020-08-09)

Note: Version bump only for package @chakra-ui/number-input

Change Log

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)

Bug Fixes

  • stack key issue and yarn2 deps issue (d6cb6b8)

Change Log

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

Change Log

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

Change Log

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

Change Log

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)

Bug Fixes

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.0.0-next.4 (2020-07-01)

Bug Fixes

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.0.0-next.3 (2020-06-28)

Bug Fixes

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.0.0-next.2 (2020-06-21)

Bug Fixes