Skip to content

Latest commit

 

History

History
894 lines (632 loc) · 29.7 KB

CHANGELOG.md

File metadata and controls

894 lines (632 loc) · 29.7 KB

Change Log

2.2.2

Patch Changes

  • #8014 6d12ea81f Thanks @CalleEklund! - Set the standard color for toasts and alerts to a slightly darker color to make i WCAG compatible
  • Updated dependencies []:
    • @chakra-ui/icon@3.2.0
    • @chakra-ui/spinner@2.1.0

2.2.1

Patch Changes

  • Updated dependencies [3aaf0c3b1]:
    • @chakra-ui/icon@3.2.0
    • @chakra-ui/spinner@2.1.0

2.2.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/spinner@2.1.0
    • @chakra-ui/icon@3.1.0
    • @chakra-ui/react-context@2.1.0

2.1.0

Minor Changes

  • 559edf420 Thanks @segunadebayo! - Add data-status attribute to all alert component parts to allow for better finegrained styling

Patch Changes

  • Updated dependencies []:
    • @chakra-ui/icon@3.0.16
    • @chakra-ui/spinner@2.0.13

2.0.18

Patch Changes

  • Updated dependencies [62454c154]:
    • @chakra-ui/react-context@2.0.8
    • @chakra-ui/icon@3.0.16
    • @chakra-ui/spinner@2.0.13

2.0.17

Patch Changes

2.0.16

Patch Changes

  • ddbb1b4c4 Thanks @segunadebayo! - Bump all packages

  • Updated dependencies [ddbb1b4c4]:

    • @chakra-ui/icon@3.0.16
    • @chakra-ui/spinner@2.0.13
    • @chakra-ui/react-context@2.0.7
    • @chakra-ui/shared-utils@2.0.5

2.0.15

Patch Changes

  • Updated dependencies [c483d859d]:
    • @chakra-ui/icon@3.0.15
    • @chakra-ui/spinner@2.0.12

2.0.14

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/icon@3.0.14
    • @chakra-ui/spinner@2.0.12
    • @chakra-ui/react-context@2.0.6
    • @chakra-ui/shared-utils@2.0.4

2.0.13

Patch Changes

  • Updated dependencies [8c2af79fa]:
    • @chakra-ui/icon@3.0.13
    • @chakra-ui/spinner@2.0.11

2.0.12

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/icon@3.0.12
    • @chakra-ui/spinner@2.0.11
    • @chakra-ui/react-context@2.0.5

2.0.11

Patch Changes

2.0.10

Patch Changes

  • #6666 3e1b3f6b6 Thanks @TylerAPfledderer! - Add missing component/function docs and relative docsite links.

    Ensures that all Components, functions, and hooks that have detailed pages on the Chakra site have corresponding JSDocs and links back to the docsite via IDE intellisense.

    Includes adding or fixing links within these docs to related WAI-ARIA patterns.

  • Updated dependencies [3e1b3f6b6]:

    • @chakra-ui/icon@3.0.10
    • @chakra-ui/spinner@2.0.9

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 [445661955]:
    • @chakra-ui/react-context@2.0.3
    • @chakra-ui/icon@3.0.9
    • @chakra-ui/spinner@2.0.9

2.0.8

Patch Changes

  • Force release

  • Updated dependencies []:

    • @chakra-ui/react-context@2.0.2
    • @chakra-ui/icon@3.0.8
    • @chakra-ui/spinner@2.0.8

2.0.7

Patch Changes

  • #6466 99af1e29f Thanks @segunadebayo! - Refactor to reduce bundle size

  • Updated dependencies [70872f2c2]:

    • @chakra-ui/react-context@2.0.1
    • @chakra-ui/icon@3.0.7
    • @chakra-ui/spinner@2.0.7

2.0.6

Patch Changes

  • Force new release

  • Updated dependencies []:

    • @chakra-ui/icon@3.0.6
    • @chakra-ui/react-utils@2.0.3
    • @chakra-ui/spinner@2.0.6
    • @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/icon@3.0.5
    • @chakra-ui/react-utils@2.0.2
    • @chakra-ui/spinner@2.0.5
    • @chakra-ui/utils@2.0.5

2.0.4

Patch Changes

  • Updated dependencies [c11743b47]:
    • @chakra-ui/utils@2.0.4
    • @chakra-ui/icon@3.0.4
    • @chakra-ui/spinner@2.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 [36ef37d58, 6c15ec2c2]:
    • @chakra-ui/utils@2.0.3
    • @chakra-ui/icon@3.0.3
    • @chakra-ui/spinner@2.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]:
    • @chakra-ui/icon@3.0.2
    • @chakra-ui/react-utils@2.0.1
    • @chakra-ui/spinner@2.0.2
    • @chakra-ui/utils@2.0.2

2.0.1

Patch Changes

  • #6079 703ff594f Thanks @chr-ge! - Improve TS doc comments to include the @defaultvalue for prop types

  • Updated dependencies [f77e3c98f, 703ff594f]:

    • @chakra-ui/utils@2.0.1
    • @chakra-ui/spinner@2.0.1
    • @chakra-ui/icon@3.0.1

2.0.0

Major Changes

Patch Changes

  • #5951 c81db13ce Thanks @haneenmahd! - The AlertIcon component accepts custom icons as React children

    <AlertIcon>
      <MyCustomIcon />
    </AlertIcon>
  • Updated dependencies [c390af485, ed692c0ae, 41b3119f5]:

    • @chakra-ui/icon@3.0.0
    • @chakra-ui/react-utils@2.0.0
    • @chakra-ui/spinner@2.0.0
    • @chakra-ui/utils@2.0.0

2.0.0-next.3

Major Changes

Patch Changes

  • Updated dependencies [ed692c0ae]:
    • @chakra-ui/icon@3.0.0-next.2
    • @chakra-ui/react-utils@2.0.0-next.2
    • @chakra-ui/spinner@2.0.0-next.2
    • @chakra-ui/utils@2.0.0-next.2

2.0.0-next.2

Patch Changes

  • #5951 c81db13ce Thanks @haneenmahd! - The AlertIcon component accepts custom icons as React children

    <AlertIcon>
      <MyCustomIcon />
    </AlertIcon>

2.0.0-next.1

Major Changes

Patch Changes

  • Updated dependencies [41b3119f5]:
    • @chakra-ui/icon@3.0.0-next.1
    • @chakra-ui/react-utils@2.0.0-next.1
    • @chakra-ui/spinner@2.0.0-next.1
    • @chakra-ui/utils@2.0.0-next.1

2.0.0-next.0

Major Changes

Patch Changes

  • Updated dependencies [c390af485]:
    • @chakra-ui/icon@3.0.0-next.0
    • @chakra-ui/react-utils@2.0.0-next.0
    • @chakra-ui/spinner@2.0.0-next.0
    • @chakra-ui/system@2.0.0-next.0
    • @chakra-ui/utils@2.0.0-next.0

1.3.7

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/icon@2.0.5
    • @chakra-ui/react-utils@1.2.3
    • @chakra-ui/utils@1.10.4

1.3.6

Patch Changes

  • Updated dependencies [a870e6b94, c2bcba11c]:
    • @chakra-ui/utils@1.10.3
    • @chakra-ui/icon@2.0.4

1.3.5

Patch Changes

  • #5536 a503acabe Thanks @TimKolberger! - Bumped patch version for every package to fix release process.

  • Updated dependencies [a503acabe]:

    • @chakra-ui/icon@2.0.3
    • @chakra-ui/react-utils@1.2.2
    • @chakra-ui/utils@1.10.2

1.3.4

Patch Changes

  • Updated dependencies [24b4333d0]:
    • @chakra-ui/utils@1.10.1
    • @chakra-ui/icon@2.0.2

1.3.3

Patch Changes

  • Updated dependencies [1537a725f]:
    • @chakra-ui/utils@1.10.0
    • @chakra-ui/icon@2.0.1

1.3.2

Patch Changes

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

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/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/icon@1.2.0
    • @chakra-ui/react-utils@1.2.0
    • @chakra-ui/utils@1.9.0

1.2.9

Patch Changes

  • Updated dependencies [cd0893c56]:
    • @chakra-ui/utils@1.8.4
    • @chakra-ui/icon@1.1.13

1.2.8

Patch Changes

  • Updated dependencies [c06d242c6, 5b4d8ef24]:
    • @chakra-ui/utils@1.8.3
    • @chakra-ui/icon@1.1.12

1.2.7

Patch Changes

  • Updated dependencies [4c1071969, 43f66097b]:
    • @chakra-ui/utils@1.8.2
    • @chakra-ui/icon@1.1.11

1.2.6

Patch Changes

  • Updated dependencies [4a1e4d93b]:
    • @chakra-ui/utils@1.8.1
    • @chakra-ui/icon@1.1.10

1.2.5

Patch Changes

1.2.4

Patch Changes

  • Updated dependencies [82f08867f, e9ac4cc76]:
    • @chakra-ui/react-utils@1.1.2
    • @chakra-ui/utils@1.7.0
    • @chakra-ui/icon@1.1.8

1.2.3

Patch Changes

  • Updated dependencies [0974e547c, 59ea894a7]:
    • @chakra-ui/utils@1.6.0
    • @chakra-ui/icon@1.1.7

1.2.2

Patch Changes

  • Updated dependencies [8b5eb9654]:
    • @chakra-ui/utils@1.5.2
    • @chakra-ui/icon@1.1.6

1.2.1

Patch Changes

1.2.0

Minor Changes

Patch Changes

  • Updated dependencies [a58b724e9, b724a9dd9]:
    • @chakra-ui/utils@1.5.0
    • @chakra-ui/react-utils@1.1.0
    • @chakra-ui/icon@1.1.4

1.1.3

Patch Changes

  • Updated dependencies [e748219f3, 91ef14839]:
    • @chakra-ui/utils@1.4.0
    • @chakra-ui/icon@1.1.3

1.1.2

Patch Changes

  • Updated dependencies [87cc23e14]:
    • @chakra-ui/utils@1.3.0
    • @chakra-ui/icon@1.1.2

1.1.1

Patch Changes

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

  • Updated dependencies [90c7a4fbf]:
    • @chakra-ui/icon@1.1.0

1.0.4

Patch Changes

  • Updated dependencies [8b87406c]:
    • @chakra-ui/utils@1.1.0
    • @chakra-ui/icon@1.0.3

1.0.3

Patch Changes

  • Updated dependencies [e73878ee]:
    • @chakra-ui/utils@1.0.2
    • @chakra-ui/icon@1.0.2

1.0.2

Patch Changes

  • c73cce25 #2726 Thanks @dodas! - Alert now respects the colorScheme property. You can set it to override the color scheme that is by default determined by the status property.

1.0.1

Patch Changes

  • Updated dependencies [5c482483]:
    • @chakra-ui/utils@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/alert

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/alert

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

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

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

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

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

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

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

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

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/alert

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

  • variables: drop unused imports (552b2e9)

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/alert

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/alert

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/alert

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)

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

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