Commit Graph

2001 Commits

Author SHA1 Message Date
github-actions[bot] f8133940ac Version Packages (#10857)
ci(changesets): version packages

Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
2026-07-19 16:30:04 +02:00
Segun Adebayo bf6fbf7275 fix: update changeset version 2026-07-19 16:00:06 +02:00
dfedoryshchev e503f8d9f4 fix: correct css prop usage in Bleed component (#10885) 2026-07-11 19:15:14 +02:00
sanjibani e7431f1c9e fix(docs): replace Stack.Separator with standalone Separator in migration guide (#10881) (#10884)
* fix(docs): replace Stack.Separator with standalone Separator in migration guide

The StackDivider section in the v2-to-v3 migration guide told users
to migrate to `Stack.Separator`, which is not a valid export from
`@chakra-ui/react` - `Stack` is not a compound/namespaced component
in v3 and never exposed `Separator` as a property. Users following
the guide encountered runtime `Cannot read properties of undefined`
errors and TS `Property 'Separator' does not exist on type 'Stack'`.

Replaced both references (StackDivider section and Stack Props example)
with the standalone `Separator` component documented at
https://chakra-ui.com/docs/components/separator. Added the import
statement in the StackDivider example to match the Separator docs
style; the Stack Props example keeps the inline-style so the diff
stays scoped to the property rename.

Closes #10881

* chore: add changeset for Stack.Separator docs fix

---------

Co-authored-by: sanjibani <18418553+sanjibani@users.noreply.github.com>
2026-07-09 17:05:58 +02:00
Segun Adebayo 0fe305592d perf(react): cache compiled recipes and memoize variant resolution
Recipe components (Button, Badge, Skeleton, etc.) previously recompiled
their recipe and re-resolved variant styles per instance/render, which
dominated render time in large lists and tables.

- Cache compiled recipes per system instance, keyed by recipe key
- Memoize cva/sva variant resolution so results are referentially stable
- Drop the per-instance structuredClone of recipe configs
- Fix recipe merging so it no longer throws or mutates source configs
- Use tsgo (@typescript/native-preview) for faster typecheck
2026-07-06 14:27:33 +02:00
dfedoryshchev e882dc0e71 fix: correct css prop usage in Float component (#10879) 2026-07-04 13:30:29 +02:00
Segun Adebayo 1de9c58314 chore(cli): replace node-fetch with native fetch API
Node 22+ provides a global fetch, so node-fetch is no longer needed.
HTTPS_PROXY support moves from https-proxy-agent (the `agent` option) to
undici's ProxyAgent via the standard `dispatcher` option, centralized in
a small request() helper. Also drops the now-unused node-fetch dependency
from apps/www, removing the deprecated transitive node-domexception.

Resolves discussion #10039.
2026-06-27 15:33:48 +02:00
dfedoryshchev c4e79c122a fix: forward the rel attribute on LinkOverlay (#10873) 2026-06-27 14:40:53 +02:00
Abdul Wahab Khan Arib f32a160162 feat(overlay): add has() method to createOverlay return (#10868)
* feat(overlay): add has() method to createOverlay return

* docs: changeset

---------

Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
2026-06-23 23:36:05 +02:00
dfedoryshchev b5de5e246b fix: correct className usage in Image component (#10863) 2026-06-20 09:27:12 +02:00
dfedoryshchev 6f102700bd fix: correct css prop usage in Checkmark component (#10859) 2026-06-18 20:07:36 +02:00
dfedoryshchev f53e46a182 fix: correct css prop usage in WrapItem component (#10860) 2026-06-18 20:06:52 +02:00
Segun Adebayo 129c50ff9b fix(checkbox-card, radio-card): prevent clipping of checked ring by using inset shadow 2026-06-11 20:45:22 +02:00
Segun Adebayo f4e6377564 chore(panda-preset): sync theme from @chakra-ui/react 2026-06-11 19:35:55 +02:00
Segun Adebayo 39ef8b542b fix(build): support Windows path resolution in build scripts and CLI 2026-06-11 19:35:45 +02:00
Bernd Busse f8b356ce83 chore(cli): migrate from deprecated tsconfck to get-tsconfig (#10823)
* chore(cli): migrate from deprecated tsconfck to get-tsconfig

* refactor(cli): skip unresolvable tsconfig references and expand test coverage

---------

Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
2026-06-11 19:05:49 +02:00
Segun Adebayo 2ed9026862 fix(floating-panel): docs and component 2026-06-11 17:54:01 +02:00
Segun Adebayo dd9fa1c44b chore(deps): update Node.js engine requirement and pnpm version 2026-06-11 17:40:39 +02:00
github-actions[bot] 3c000274c5 Version Packages (#10802)
ci(changesets): version packages

Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
Co-authored-by: Adebesin Tolulope (Lope) <adebesintolulope80@gmail.com>
2026-06-10 15:14:47 +01:00
Adebesin Tolulope (Lope) 238e20a41a chore(deps): update @ark-ui/react to 5.37.2 (#10847)
* chore(deps): update @ark-ui/react to 5.37.2

Bumps @ark-ui/react 5.36.2 -> 5.37.2 (pulls newer @zag-js internally).
Aligns @internationalized/date to 3.12.2 in the compositions app to match
the version the updated Zag date-utils resolves to. Adds a minor changeset
scoped to the Chakra-supported components affected by the Ark release.

* docs(changeset): tighten ark 5.37.2 changeset per review

Make it concise; drop DateInput-specific entries (Chakra has no DateInput),
Drawer (Chakra's Drawer is built on Ark Dialog, not the Ark Drawer machine),
FloatingPanel type re-exports, and the declaration-path fix.
2026-06-09 20:21:23 +02:00
Rayan Salhab 025b974464 fix(cli): clarify invalid typegen system exports (#10825)
Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com>
2026-05-24 22:01:08 +02:00
Segun Adebayo 06b5f022db fix: semantic token lookup 2026-05-22 07:55:06 +01:00
Kevin Dev 🇷🇼 1ef580069c feat: float panel component (#10752)
* feat: implementation for float panel component with storybook

* feat: doc floating panel

* fix: minor changes on the ui

* chore: add changeset

* refactor: cleanup code

* refactor: rework examples

* fix: next version

* refactor: cleanup examples

* chore: update

* docs: prep for docs

---------

Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
2026-05-20 16:56:27 +01:00
Segun Adebayo 43a016d32f fix: remove DatePicker placeholder color override to align with global styling 2026-05-15 15:52:21 +01:00
Segun Adebayo 82b26bea60 fix: update Link component to use focusVisibleRing for improved accessibility 2026-05-15 15:48:23 +01:00
Segun Adebayo 1bbdd8608c fix(react): allow default variants on broad recipe definitions 2026-05-01 19:42:55 +02:00
Takahiro Kato 27e0489960 fix: normalize nested token overrides when merging default theme (#10801) 2026-05-01 19:16:22 +02:00
Rayan Salhab 7a97cf9f35 fix(react): preserve semantic token condition metadata (#10799)
Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com>
2026-05-01 19:07:42 +02:00
github-actions[bot] 975bd3685e Version Packages (#10677)
ci(changesets): version packages

Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
2026-04-22 18:12:05 +02:00
Segun Adebayo d041e108d2 build: use lower ark-ui version for now 2026-04-21 12:23:57 +02:00
Segun Adebayo 16f8329acc fix: reject invalid css unit decimals (#10785)
The length regex in `isCssUnit` had an unescaped `.`, which matched any
single character and accepted malformed values like `1a5rem` and `1-5rem`.
Escape it to a literal period and add regression coverage.

Co-Authored-By: Bojun Chai <Bojun-Vvibe@users.noreply.github.com>
2026-04-20 22:44:01 +02:00
Segun Adebayo af36e215b0 fix: regression and bump ark-ui 2026-04-20 22:39:10 +02:00
Samuel José Haro 581c7d12f0 fix: correct css prop usage in GridItem component (#10781)
* fix: correct css prop usage in GridItem component

* docs: changeset

---------

Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
2026-04-20 14:20:34 +02:00
Segun Adebayo e9f04d4a6d fix: backdrop stacking index 2026-04-10 17:01:47 +02:00
Segun Adebayo 39e3db3eb5 fix(tokens): resolve array shorthand for fonts, shadows, gradients, animations, and easings 2026-04-08 17:22:20 +02:00
Nweke Charles a7c1ffbf04 fix: let date picker content use natural height (#10765) 2026-04-08 11:04:39 +02:00
Segun Adebayo d5be01ae4b feat(cli): add new commands 2026-04-05 23:16:43 +02:00
Segun Adebayo 6bad1b7f67 fix: overlay + strict mode 2026-04-05 23:16:43 +02:00
Segun Adebayo 1b1f545aeb fix: pagination value text 2026-03-24 16:42:01 +02:00
Segun Adebayo 3da73c35b6 fix: missing slot recipe 2026-03-23 14:37:25 +02:00
Ivica Batinić d2b7decc32 refactor(react): improve useBreakpoint and useBreakpointValue types with BreakpointName (#10721)
* feat(react): improve `useBreakpoint` types with `BreakpointName`

* docs: changeset

---------

Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
2026-03-23 14:26:22 +02:00
Segun Adebayo 5f30ddb61d refactor: use-previous 2026-03-04 18:09:01 +00:00
Segun Adebayo 6d22000916 fix: changeset 2026-03-04 18:04:13 +00:00
Segun Adebayo a98e042f1b Refactor slide animations to use CSS variables (#10675)
* Refactor slide animations to use CSS variables

Changed the slide animations to use CSS variables so you can control how far things slide from outside the component.

Added CSS variables for all the slide animations:

```css
--slide-from-top-distance
--slide-from-bottom-distance
--slide-from-left-distance
--slide-from-right-distance
--slide-to-top-distance
--slide-to-bottom-distance
--slide-to-left-distance
--slide-to-right-distance
```

Still defaults to 0.5rem if you don't set anything.

Example:
```tsx
<Float placement="top-end" offsetY="0.5" offsetX="-1">
    <Presence
        present={showCounter}
        css={{
            '--slide-from-bottom-distance': '0.1rem',
            '--slide-to-bottom-distance': '0.1rem',
        }}
        animationName={{
            _open: 'slide-from-bottom, fade-in',
            _closed: 'slide-to-bottom, fade-out',
        }}
        animationDuration="fast"
    >
        <Badge size="2xs" variant="solid">
            {count}
        </Badge>
    </Presence>
</Float>
```

* fix: correct slide keyframe direction and add changeset

---------

Co-authored-by: Ivica Batinić <ivicabatinic123@gmail.com>
2026-03-04 14:26:33 +00:00
Segun Adebayo c53f298296 fix: serialize fn + global css 2026-03-04 14:04:23 +00:00
github-actions[bot] 88e5f9fbf2 Version Packages (#10641)
ci(changesets): version packages

Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
2026-03-03 14:53:07 +00:00
Segun Adebayo d5e7073c4b refactor: recharts and charts package 2026-03-03 11:15:22 +00:00
Kevin Dev 🇷🇼 f11219da7f feat: add datepicker (#10597)
* feat: date picker implementation

* feat(date-picker): add more examples to the date picker

* feat(datepicker): add more examples to the datepicker

* feat(datepicker): add more examples to the datepicker examples

* feat(datepicker): removed the button css

* refactor: refactored the codebase and added the value attribute

* refactor: refactored the codebase

* refactor: refactored the mulitselection

* refactor: refactored to a detailed documentation

* refactor: added minor references

* fix: minor refactory to the codeabse

* fix: added calendar examples

* fix: added calendar padding

* fix: added margin to the calendar

* fix: fixed dependecies

* fix: fixed eslint error

* fix: fixed duplications jscodeshift

* feat: added minor examples to the story book

* refactor: datepicker

* refactor: examples

* chore: add time grid example

* docs: fix build

* docs: refactor

* refactor: update DatePicker examples

* docs: refactor

* refactor: examples and recipe

* refactor: examples

* refactor: examples

* refactor: examples and recipe

* fix: typecheck

* refactor: examples and recipe

* refactor: rename examples

* chore: rework storybook

* chore: bump ark-ui

* chore: add more examples

* docs: changeset

* docs: update

* docs: update

* docs: update

* docs: restructure

* docs: fix ts error

* docs: refactor

* revert: sidebar raf

* fix: type imports

* refactor: update scroll spy logic and improve TOC component

* chore: bump ark ui

* chore: update @ark-ui/react to version 5.34.0 and bump related dependencies

* refactor: simplify example

* docs: ready

---------

Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
2026-02-27 02:33:55 +00:00
Segun Adebayo be18f13c10 fix: checkbox group component type 2026-02-24 20:35:43 +00:00
Segun Adebayo a3c5396794 fix: improve codemod 2026-02-19 18:40:49 +00:00