⚡️ Simple, Modular & Accessible UI Components for your React Applications
#8153
7b6e66a
Thanks @segunadebayo! - Prepares the ground
for the next version Chakra that leverages Ark UI.
User Facing
Infrastructure
jest
to vitest
tsup
to custom rollup
setup for better bundling strategy#8121
170198f
Thanks @kkieninger! - ### Fixed
accentColor
property to style propsasChild
in chakra factorytoastStore
from toast
componentframer-motion
to allow for skipAnimationspreserveScrollBarGap
Redesign the component themes and anatomy
#8393
623e558
Thanks @segunadebayo! - - Integrate Ark UI
components to reduce maintenance surface.
FileUpload
componenttrigger=hover
in favor of HoverCard
Tooltip
, Popover
and HoverCard
with those from Ark UI#8218
a89c598
Thanks @segunadebayo! - Add support for
custom theme conditions or pseudo props via theme.conditions
// theme.ts
const theme = extendTheme({
conditions: {
_closed: "[data-state='closed']", // pseudo prop
},
})
This allows you to use the pseudo prop in your components
<Box data-state="closed" _closed={{ bg: "red.200" }}>
This box is closed
</Box>
For TypeScript users, you need to use the Chakra CLI to generate the types for your custom conditions.
pnpm chakra-cli tokens src/theme/index.ts
#8218
a89c598
Thanks @segunadebayo! - Add support for
_open
and _closed
pseudo props for styling their respective selectors.
_open
: &[data-state=open], &[open]
_closed
: &[data-state=closed]
_groupOpen
: [data-group][data-state=open] &
_groupClosed
: [data-group][data-state=closed] &
Extend the existing pseudo props to support new selectors`
_placeholder
now supports &[data-placeholder]
_placeholderShow
now supports &[data-placeholder-shown]
_fullscreen
now supports &[data-fullscreen]
_empty
now supports &[data-empty]
_expanded
now supports &[data-state=expanded]
_checked
now supports &[data-state-checked]
4168094f3
]:
4168094f3
Thanks @hirotomoyamada! - Fixed a bug
where hueRotate
and backdropHueRotate
were not working.#8109
4340dbda4
Thanks @TylerAPfledderer! - Bumps
Storybook deps to latest (7.5.3) and updates the tooling
useAddonState
api hook. However, this hook is not reliable to persistent allow toggling of
boolean state. Replaces this hook with React's useState
as this state is a
primitive.makeDecorator
function to make this addon more like an
official Storybook addon.4168094f3
]: