Version 2.5.5

v2.5.5

@chakra-ui/alert@2.1.0#

Minor Changes#

Patch Changes#

  • Updated dependencies

@chakra-ui/styled-system@2.8.0#

Minor Changes#

  • 93d3119a6 Thanks @segunadebayo! - Add new defineCssVars helper to improve the experience of authoring a set of css variables for a component theme.

    import { defineCssVars } from "@chakra-ui/react"
    // defines the `--badge-bg`, `--badge-border`, and `--badge-size` (with a 1rem fallback)
    const vars = defineCssVars("badge", ["bg", "border", ["size", "1rem"]])
    const style = {
    bg: vars.bg.reference,
    [vars.bg.variable]: "colors.red.500",
    [vars.border.variable]: "colors.red.300",
    }

Patch Changes#

@chakra-ui/accordion@2.1.11#

Patch Changes#

@chakra-ui/avatar@2.2.8#

Patch Changes#

@chakra-ui/button@2.0.18#

Patch Changes#

@chakra-ui/checkbox@2.2.14#

Patch Changes#

@chakra-ui/css-reset@2.1.1#

Patch Changes#

@chakra-ui/icons@2.0.18#

Patch Changes#

@chakra-ui/layout@2.1.18#

Patch Changes#

@chakra-ui/menu@2.1.12#

Patch Changes#

@chakra-ui/modal@2.2.11#

Patch Changes#

@chakra-ui/provider@2.2.2#

Patch Changes#

@chakra-ui/react@2.5.5#

Patch Changes#

@chakra-ui/switch@2.0.26#

Patch Changes#

@chakra-ui/theme@3.0.1#

Patch Changes#

@chakra-ui/toast@6.1.1#

Patch Changes#

  • 4eac402bd Thanks @segunadebayo! - Fix issue where zIndex was hardcoded in toast component by providing a css variable --toast-z-index for better override experience.

    You can set the toast's zIndex globally by setting a value for the --toast-z-index. The default value for this variable is 5500

    const theme = extendTheme({
    styles: {
    global: {
    "--toast-z-index": 10,
    },
    },
    })
  • Updated dependencies [93d3119a6, 6a3c8435d, 559edf420, 93d3119a6, cc8477505, 68ceb28ae, fe882dc2f]

@chakra-ui/transition@2.0.16#

Patch Changes#

@chakra-ui/system@2.5.5#

Patch Changes#

@chakra-ui/next-js@2.1.2#

Patch Changes#

@chakra-ui/theme-utils@2.0.15#

Patch Changes#

@chakra-ui/test-utils@2.0.39#

Patch Changes#

Proudly made inNigeria by Segun Adebayo

Deployed by â–² Vercel