fix(deps): update dependency bits-ui to ^0.22.0 #39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.9.8
->^0.22.0
Release Notes
huntabyte/bits-ui (bits-ui)
v0.22.0
Compare Source
Minor Changes
v0.21.16
Compare Source
Patch Changes
v0.21.15
Compare Source
Patch Changes
fix:
Select
typeahead prop (#666)fix: Accordion item disabled reactivity (#668)
v0.21.14
Compare Source
Patch Changes
fix(Date Pickers): expose
portal
prop (#652)fix(Pagination): call
onPageChange
after setting thepage
(#657)fix(Date Range Picker): expose missing props (#651)
v0.21.13
Compare Source
Patch Changes
exactOptionalPropertyTypes
(#621)v0.21.12
Compare Source
Patch Changes
nonpassive
modifier totouchmove
andtouchstart
events (#591)v0.21.11
Compare Source
Patch Changes
dir
props for rtl support (#531)v0.21.10
Compare Source
Patch Changes
v0.21.9
Compare Source
Patch Changes
<Button>
(#550)v0.21.8
Compare Source
Patch Changes
fix: Updated
ComboboxLabelProps
to useHTMLLabelAttributes
(#544)fix: ContentProps type (#545)
v0.21.7
Compare Source
Patch Changes
v0.21.6
Compare Source
Patch Changes
v0.21.5
Compare Source
Patch Changes
v0.21.4
Compare Source
Patch Changes
v0.21.3
Compare Source
Patch Changes
v0.21.2
Patch Changes
v0.21.1
Patch Changes
v0.21.0
Compare Source
Minor Changes
touchedInput
(#417)Patch Changes
v0.20.1
Compare Source
Patch Changes
v0.20.0
Compare Source
Minor Changes
Expose
open
andonOpenChange
props toDatePicker.Root
component (#404)Forward
pointerenter
events fromMenu
items (#403)Patch Changes
contextmenu
event type toMouseEvent
(#402)v0.19.7
Compare Source
Patch Changes
CustomEventHandler
(#389) (#398)v0.19.6
Compare Source
Patch Changes
v0.19.5
Compare Source
Patch Changes
Button.Props
type resolution issue (#381)v0.19.4
Compare Source
Patch Changes
@melt-ui/svelte
tov0.75.3
for portal and floating bug fixes (#379)v0.19.3
Compare Source
Patch Changes
v0.19.2
Compare Source
Patch Changes
v0.19.1
Compare Source
Patch Changes
v0.19.0
Compare Source
Minor Changes
Patch Changes
aria-controls
was applied to trigger when content wasn't rendered yet (#367)v0.18.6
Compare Source
Patch Changes
v0.18.5
Compare Source
Patch Changes
v0.18.4
Compare Source
Patch Changes
v0.18.3
Compare Source
Patch Changes
v0.18.2
Compare Source
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
Compare Source
Patch Changes
v0.18.0
Compare Source
Minor Changes
v0.17.0
Compare Source
Minor Changes
ticks
andthumbs
are now arrays of builders passed via theSlider.Root
s slot props and must be passed to the individualSlider.Thumb
andSlider.Tick
components (#309)Patch Changes
v0.16.0
Compare Source
Minor Changes
touch
events onDialog.Content
&AlertDialog.Content
components (#300)v0.15.1
Compare Source
Patch Changes
v0.15.0
Compare Source
Minor Changes
feat: expose
isSelected
slot prop fromSelect.Item
(#285)feat: adds
data-placeholder
attribute toSelect.Value
when no value is selected / when the placeholder is being displayed (#284)Patch Changes
v0.14.0
Compare Source
Minor Changes
Progress: update
value
type to includenull
for'indeterminate'
state (#272)Menubar: move
preventScroll
prop fromMenubar.Menu
toMenubar.Root
(#272)Date Field: add
readonlySegments
prop to specify certain segments as readonly (#272)Patch Changes
Date Range Field: add
readonlySegments
prop 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
Compare Source
Patch Changes
v0.13.5
Compare Source
Patch Changes
v0.13.4
Compare Source
Patch Changes
v0.13.3
Compare Source
Patch Changes
v0.13.2
Compare Source
Patch Changes
v0.13.1
Compare Source
Patch Changes
v0.13.0
Compare Source
Minor Changes
Patch Changes
v0.12.0
Compare Source
Minor Changes
el
prop for all components to allow binding & interacting with the underlying element (#244)v0.11.8
Compare Source
Patch Changes
v0.11.7
Compare Source
Patch Changes
fix: bug with select menus inside popovers not restoring scroll (#209)
add
closeOnItemClick
prop to menu components (#209)v0.11.6
Compare Source
Patch Changes
feat: add
Pagination
component (#223)feat: add Toolbar component (#219)
v0.11.5
Compare Source
Patch Changes
months
type & range calendarnumberOfMonths
prop (#224)v0.11.4
Compare Source
Patch Changes
multiple
value bindings (#221)v0.11.3
Compare Source
Patch Changes
Select
component (#217)v0.11.2
Compare Source
Patch Changes
SelectProps
type (#214)v0.11.1
Compare Source
Patch Changes
v0.11.0
Compare Source
Minor Changes
Date
toDay
in Calendar components (#210)v0.10.3
Compare Source
Patch Changes
initialFocus
prop to autofocus dates on mount (#207)v0.10.2
Compare Source
Patch Changes
data-selected
attribute (#205)v0.10.1
Compare Source
Patch Changes
Builder
type to support all Melt UI builders (#201)v0.10.0
Compare Source
PR Reference: #184
New Components
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!
Select Component
multiple
behavior (closes #188 & #121)onChange
from firing on init / multiple times (closes #73)items
array to be used for type inferenceFloating Components
arrowSize
prop fromRoot
components in favor of passing it directly to theArrow
componentsIndicator Components (Checkbox & Radio)
Indicator
components for checkbox/radio items to a similar API / underlying elementMisc Improvements
data-
attributes to all components for easier global stylingasChild
prop to all components that we render an element for to allow for more flexibility in element structure & scoped stylesMajor 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
propThe
positioning
prop is confusing and has been something I've wanted to change since I rapidly released this project. It's applied to theRoot
component which is not intuitive considering it's not actually positioning theRoot
component but theContent
component, so I've decided to remove it in favor of individual props on theContent
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 totrue
and 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:Components Impacted:
Context Menu
,Dropdown Menu
,Link Preview
,Popover
,Select
&Tooltip
Move
arrowSize
propCurrently, the
arrowSize
prop is applied to theRoot
component of several floating components. Similar to thepositioning
prop, this is not intuitive and I've decided to move it to theArrow
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:v0.9.9
Compare Source
Patch Changes
onChange
functions 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.
This PR was generated by Mend Renovate. View the repository job log.