Skip to content

@kobalte/core@2.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 21:59
e3b5697

Major Changes

  • 7388d92: Kobalte 2.0: rebuilt for Solid 2.0 (solid-js and @solidjs/web ^2.0.0 peers). See the migration guide in the docs.

Patch Changes

  • cea6e54: Accordion: fall back to the default id and shouldFocusWrap when they are passed as undefined. Solid 2's merge keeps an explicit undefined, so id={undefined} on an item or trigger left the trigger without an id and broke aria-labelledby, and shouldFocusWrap={undefined} turned focus wrapping off.

  • ba72109: Breadcrumbs: fall back to the default separator and translations when they are passed as undefined. Solid 2's merge keeps an explicit undefined, so translations={undefined} threw and separator={undefined} rendered an empty separator.

  • d40f260: Remove STRICT_READ_UNTRACKED dev warnings in Combobox and Select when options are reactive, and when a non-modal Select restores focus to its trigger on close.

  • 7388d92: Solid 2 effect fixes.
    New Calendar, DatePicker, DateField, Card, Statistic and Divider components.

  • 8eddd29: Fix STRICT_READ_UNTRACKED warnings on Solid 2.

  • fb335ce: Call Resizable.Panel onCollapse / onExpand from an effect instead of from inside a memo, so the callbacks can update signals without Solid 2 rejecting the write (REACTIVE_WRITE_IN_OWNED_SCOPE).

  • 7388d92: fix: solid 2 read untracked calls
    New Steps component

  • ba6b1df: Solid peer dependencies are solid-js@^2.0.0 and @solidjs/web@^2.0.0.

  • 3716445: Update Solid 2 primitive dependencies to preserve hydration owner IDs for client-only effects and settled callbacks. This fixes hydration mismatches in components including Tabs with Indicator, expanded Accordion, and open Popover.

  • af0153b: Prepare for the stable Solid 2.0 release: use lowercase DOM attributes (inputmode, autocomplete, spellcheck, contenteditable, readonly, tabindex) in render props and read the OTP field input ref in the compute phase of its render effect.

    Fix TimeField crashing on render in Solid 2: effect callbacks no longer return setter values as cleanups, and TimeField.Segment no longer creates a focus signal inside an effect callback.

  • 317383e: Tabs: link panels to their trigger with aria-labelledby on the first render and in server-rendered HTML, and pick up custom trigger/content ids once they are registered.

  • 6eb5a0c: Scroll the focused item into view only within the collection's own scroll container again, as on 0.13, instead of calling the native scrollIntoView, which also scrolled the window, e.g. to every Tabs when it mounted.

  • 1ece99c: Fix untracked reactive reads, undefined id fallbacks, and initial undefined controlled values in FormControl and TextField.

  • Updated dependencies [7388d92]

  • Updated dependencies [ba6b1df]

  • Updated dependencies [3716445]

  • Updated dependencies [6eb5a0c]

    • @kobalte/utils@2.0.0