github chakra-ui/chakra-ui @chakra-ui/tooltip@1.1.0

latest releases: @chakra-ui/system@2.6.2, @chakra-ui/styled-system@2.9.2, @chakra-ui/storybook-addon@5.1.0...
3 years ago

Minor Changes

  • 14be4be2c
    #3210 Thanks
    @segunadebayo! - Add support for forwarding
    props to the underlying Portal component. Pass the portalProps prop to
    achive this.

    The 2 props you can pass to the portalProps are:

    • containerRef: ref for the element where to mount the portal
    • appendToParentPortal: If false, it'll opt out of portal nesting
    <Modal portalProps={{ containerRef: ref }}>
      <ModalOverlay />
      <ModalContent>
        <Box>Modal content</Box>
        <Tooltip portalProps={{ appendToParentPortal: false }}>
          Some tooltip
        </Tooltip>
      </ModalContent>
    </Modal>
  • 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
    [b572bceed,
    e41e6b81b]:
    • @chakra-ui/hooks@1.1.3
    • @chakra-ui/portal@1.1.0
    • @chakra-ui/popper@1.1.2

Don't miss a new chakra-ui release

NewReleases is sending notifications on new releases.