sveltekit-ai-chatbot
sveltekit-ai-chatbot copied to clipboard
fix(deps): update dependency bits-ui to ^0.22.0
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| bits-ui | ^0.9.8 -> ^0.22.0 |
Release Notes
huntabyte/bits-ui (bits-ui)
v0.22.0
Minor Changes
- Resolves peer dependency issues for Svelte 5 projects (#868)
v0.21.16
Patch Changes
- fix: Changed svelte event handlers in favor of CustomEventHandler (#536)
v0.21.15
Patch Changes
v0.21.14
Patch Changes
-
fix(Date Pickers): expose
portalprop (#652) -
fix(Pagination): call
onPageChangeafter setting thepage(#657) -
fix(Date Range Picker): expose missing props (#651)
v0.21.13
Patch Changes
- fix: compatibility with
exactOptionalPropertyTypes(#621)
v0.21.12
Patch Changes
- Add
nonpassivemodifier totouchmoveandtouchstartevents (#591)
v0.21.11
Patch Changes
- fix: use the
dirprops for rtl support (#531)
v0.21.10
Patch Changes
- fix: allow overriding the combobox input id (#553)
v0.21.9
Patch Changes
- feat: forward additional events from
<Button>(#550)
v0.21.8
Patch Changes
v0.21.7
Patch Changes
- chore: Updated a11y warnings for better Svelte 5 compatibility (#529)
v0.21.6
Patch Changes
- chore: update peer deps to include Svelte 5 (#525)
v0.21.5
Patch Changes
- chore: Replaced all self-closing non-void elements (#518)
v0.21.4
Patch Changes
- Fix binding button element (#473)
v0.21.3
Patch Changes
- fix: toolbar onValueChange firing (#448)
v0.21.2
Patch Changes
- chore: refactor types (#434)
v0.21.1
Patch Changes
- fix: context menu closeOnItemClick (#421)
v0.21.0
Minor Changes
- feat: Combobox
touchedInput(#417)
Patch Changes
- fix: touched input default value (#419)
v0.20.1
Patch Changes
- Update melt to v0.76.2 (#414)
v0.20.0
Minor Changes
-
Expose
openandonOpenChangeprops toDatePicker.Rootcomponent (#404) -
Forward
pointerenterevents fromMenuitems (#403)
Patch Changes
- Change
contextmenuevent type toMouseEvent(#402)
v0.19.7
Patch Changes
v0.19.6
Patch Changes
- Update Melt UI to v0.76.0
v0.19.5
Patch Changes
- Button: fixed
Button.Propstype resolution issue (#381)
v0.19.4
Patch Changes
- Updated
@melt-ui/sveltetov0.75.3for portal and floating bug fixes (#379)
v0.19.3
Patch Changes
- fixed path aliases causing errors (#374)
v0.19.2
Patch Changes
- fix: Adjusted internal import aliases to fix the malformed package build (#371)
v0.19.1
Patch Changes
- Scroll Area: simplify API (#369)
v0.19.0
Minor Changes
- New Component: Scroll Area (#367)
Patch Changes
- Popover: fixed bug where
aria-controlswas applied to trigger when content wasn't rendered yet (#367)
v0.18.6
Patch Changes
- Menu Radio Group: fixed equality issue in change function condition (#362)
v0.18.5
Patch Changes
v0.18.4
Patch Changes
- fix: Export types for PIN Input and Toolbar (#355)
v0.18.3
Patch Changes
- fix: Updated internal import paths to support modern module resolution strategies (#352)
v0.18.2
Patch Changes
-
Toolbar: forward click events from buttons and links (#343)
-
Floating/Modal Components: improve handling of interact outside events (#344)
-
Dialogs: Fix bug where dragging outside of dialog would close it (#344)
v0.18.1
Patch Changes
- Export Combobox types (#329)
v0.18.0
Minor Changes
v0.17.0
Minor Changes
- Slider:
ticksandthumbsare now arrays of builders passed via theSlider.Roots slot props and must be passed to the individualSlider.ThumbandSlider.Tickcomponents (#309)
Patch Changes
- Menubar: fixed bug preventing submenus from being disabled (#309)
v0.16.0
Minor Changes
- feat: forward/expose
touchevents onDialog.Content&AlertDialog.Contentcomponents (#300)
v0.15.1
Patch Changes
- fix: floating arrow shifting content (#291)
v0.15.0
Minor Changes
-
feat: expose
isSelectedslot prop fromSelect.Item(#285) -
feat: adds
data-placeholderattribute toSelect.Valuewhen no value is selected / when the placeholder is being displayed (#284)
Patch Changes
- fix: expose missing Floating UI content props (#278)
v0.14.0
Minor Changes
-
Progress: update
valuetype to includenullfor'indeterminate'state (#272) -
Menubar: move
preventScrollprop fromMenubar.MenutoMenubar.Root(#272) -
Date Field: add
readonlySegmentsprop to specify certain segments as readonly (#272)
Patch Changes
-
Date Range Field: add
readonlySegmentsprop to specify certain segments as 'readonly' to the user (#272) -
chore: array comparison perf improvements (#229)
-
Alert Dialog: Fix bug with exit transitions (#272)
v0.13.6
Patch Changes
- fix: bug with exit transitions (#268)
v0.13.5
Patch Changes
- fix: bug with tooltip arrow causing it to increase offset on each toggle (#264)
v0.13.4
Patch Changes
- fix: pagination prop reactivity (#262)
v0.13.3
Patch Changes
- fix: date picker context issue (#260)
v0.13.2
Patch Changes
- fix: improve tree-shaking (#257)
v0.13.1
Patch Changes
- fix: issues with tree shaking (#255)
v0.13.0
Minor Changes
-
- Forward pointerdown pointerup & pointermove events for AlertDialog.Content and Dialog.Content (#249)
- Update Melt UI and add onOutsideClick prop to components that handle outside clicks. You can override the default behavior of closing the component by calling event.preventDefault() within that handler.
- Added RTL support for the Slider via the dir prop which can be set to "ltr" | "rtl" defaulting to "ltr"
Patch Changes
- fix: Set aspect ratio prop optional as default value is setted (#238)
v0.12.0
Minor Changes
- Expose
elprop for all components to allow binding & interacting with the underlying element (#244)
v0.11.8
Patch Changes
- feat: add PIN Input component (#227)
v0.11.7
Patch Changes
-
fix: bug with select menus inside popovers not restoring scroll (#209)
-
add
closeOnItemClickprop to menu components (#209)
v0.11.6
Patch Changes
v0.11.5
Patch Changes
- fix: calendar
monthstype & range calendarnumberOfMonthsprop (#224)
v0.11.4
Patch Changes
- Fix: bugs with reactive slot props &
multiplevalue bindings (#221)
v0.11.3
Patch Changes
- fix: generic type inference for
Selectcomponent (#217)
v0.11.2
Patch Changes
- fix: exported
SelectPropstype (#214)
v0.11.1
Patch Changes
- feat: readonly startValue prop (#212)
v0.11.0
Minor Changes
- breaking: rename
DatetoDayin Calendar components (#210)
v0.10.3
Patch Changes
- Calendar & Range Calendar: add
initialFocusprop to autofocus dates on mount (#207)
v0.10.2
Patch Changes
- fix: calendar
data-selectedattribute (#205)
v0.10.1
Patch Changes
- fix: Update
Buildertype to support all Melt UI builders (#201)
v0.10.0
PR Reference: #184
New Components
- [x] Calendar - Presents a calendar view tailored for selecting dates.
- [x] Range Calendar - Presents a calendar view tailored for selecting date ranges.
- [x] Date Picker - Facilitates the selection of dates through an input and calendar-based interface.
- [x] Date Range Picker - Facilitates the selection of date ranges through an input and calendar-based interface.
- [x] Date Field - Enables users to input specific dates within a designated field.
- [x] Date Range Field - Enables users to input specific date ranges within a designated field.
Improvements
Docs Overhaul & Redesign ✨
bits-ui.com has been completely redesigned by the incredible Pavel Stianko / Bitworks, who refuses to be paid for this work as he wants to contribute to the Svelte community just as I do. I'm incredibly grateful for his work and I hope you all enjoy the new docs!
- [x] API references for all components
- [x] At least 1 example for each component (more to come)
Select Component
- [x] fix numerous bugs with
multiplebehavior (closes #188 & #121) - [x] prevent
onChangefrom firing on init / multiple times (closes #73) - [x] add the ability to pass in a custom
itemsarray to be used for type inference
Floating Components
- [x] improve positioning behavior (closes #161)
- [x] Remove
arrowSizeprop fromRootcomponents in favor of passing it directly to theArrowcomponents
Indicator Components (Checkbox & Radio)
- [x] Standardize the
Indicatorcomponents for checkbox/radio items to a similar API / underlying element
Misc Improvements
- [x] Apply
data-attributes to all components for easier global styling - [x] Add
asChildprop to all components that we render an element for to allow for more flexibility in element structure & scoped styles - [x] Export individual prop types from the library for cleaner imports
Major Breaking Changes
As you're all probably aware, anything pre-1.0 is subject to breaking changes, but this release will introduce a few more than usual, so I wanted to call them out here and provide some guidance on how to migrate.
Replace positioning prop
The positioning prop is confusing and has been something I've wanted to change since I rapidly released this project. It's applied to the Root component which is not intuitive considering it's not actually positioning the Root component but the Content component, so I've decided to remove it in favor of individual props on the Content components of your floating components (see "Components Impacted" below).
The props you can now use to adjust the positioning of your floating content components are:
side- the preferred side of the trigger the content should be positioned against ("top","right","bottom","left")sideOffset- the offset in pixels from the preferred side. This is useful when you want to position your content a little further away from the triggeralign- the preferred alignment of the content relative to the trigger ("start","center","end")alignOffset- the offset in pixels from the preferred alignment.avoidCollisions- whether or not the content should avoid collisions with the viewport, which defaults totrueand is what causes the content to flip sides when it's too close to the edge of the viewport.collisionBoundary- The boundary element to check for collisions against. Defaults to the viewport.collisionPadding- The amount of padding to apply to the collision boundary, which determines how close the content can get to the edge of the boundary before it flips sides.fitViewport- Whether or not the content should be forced to fit within the viewport.sameWidth- Whether or not the content should be forced to be the same width as the trigger.strategy- The positioning strategy to use for the floating element.overlap- Whether or not the floating element can overlap the trigger.
These props are applied to the Content components.
For example, if you wanted to position a Popover component to the right of the trigger, you would now do something like this:
<script lang="ts">
import { Popover } from "bits-ui";
</script>
<Popover.Root>
<Popover.Trigger>Open</Popover.Trigger>
<Popover.Content side="right" align="start">
Content Here
</Popover.Content>
</Popover.Root>
Components Impacted: Context Menu, Dropdown Menu, Link Preview, Popover, Select & Tooltip
Move arrowSize prop
Currently, the arrowSize prop is applied to the Root component of several floating components. Similar to the positioning prop, this is not intuitive and I've decided to move it to the Arrow component of the floating components.
For example, if you wanted to change the size of the arrow on a Tooltip component, you would now do something like this:
<script lang="ts">
import { Tooltip } from "bits-ui";
</script>
<Tooltip.Root>
<Tooltip.Trigger>Open</Tooltip.Trigger>
<Tooltip.Content>
<Tooltip.Arrow size={8} />
</Tooltip.Content>
</Tooltip.Root>
v0.9.9
Patch Changes
- fix: bug where menu
onChangefunctions were being called before change (#191)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| sveltekit-ai-chatbot | Oct 21, 2025 5:38pm |