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.0Release Notes
huntabyte/bits-ui (bits-ui)
v0.22.0Compare Source
Minor Changes
v0.21.16Compare Source
Patch Changes
v0.21.15Compare Source
Patch Changes
fix:
Selecttypeahead prop (#666)fix: Accordion item disabled reactivity (#668)
v0.21.14Compare Source
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.13Compare Source
Patch Changes
exactOptionalPropertyTypes(#621)v0.21.12Compare Source
Patch Changes
nonpassivemodifier totouchmoveandtouchstartevents (#591)v0.21.11Compare Source
Patch Changes
dirprops for rtl support (#531)v0.21.10Compare Source
Patch Changes
v0.21.9Compare Source
Patch Changes
<Button>(#550)v0.21.8Compare Source
Patch Changes
fix: Updated
ComboboxLabelPropsto useHTMLLabelAttributes(#544)fix: ContentProps type (#545)
v0.21.7Compare Source
Patch Changes
v0.21.6Compare Source
Patch Changes
v0.21.5Compare Source
Patch Changes
v0.21.4Compare Source
Patch Changes
v0.21.3Compare Source
Patch Changes
v0.21.2Patch Changes
v0.21.1Patch Changes
v0.21.0Compare Source
Minor Changes
touchedInput(#417)Patch Changes
v0.20.1Compare Source
Patch Changes
v0.20.0Compare Source
Minor Changes
Expose
openandonOpenChangeprops toDatePicker.Rootcomponent (#404)Forward
pointerenterevents fromMenuitems (#403)Patch Changes
contextmenuevent type toMouseEvent(#402)v0.19.7Compare Source
Patch Changes
CustomEventHandler(#389) (#398)v0.19.6Compare Source
Patch Changes
v0.19.5Compare Source
Patch Changes
Button.Propstype resolution issue (#381)v0.19.4Compare Source
Patch Changes
@melt-ui/sveltetov0.75.3for portal and floating bug fixes (#379)v0.19.3Compare Source
Patch Changes
v0.19.2Compare Source
Patch Changes
v0.19.1Compare Source
Patch Changes
v0.19.0Compare Source
Minor Changes
Patch Changes
aria-controlswas applied to trigger when content wasn't rendered yet (#367)v0.18.6Compare Source
Patch Changes
v0.18.5Compare Source
Patch Changes
v0.18.4Compare Source
Patch Changes
v0.18.3Compare Source
Patch Changes
v0.18.2Compare 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.1Compare Source
Patch Changes
v0.18.0Compare Source
Minor Changes
v0.17.0Compare Source
Minor Changes
ticksandthumbsare now arrays of builders passed via theSlider.Roots slot props and must be passed to the individualSlider.ThumbandSlider.Tickcomponents (#309)Patch Changes
v0.16.0Compare Source
Minor Changes
touchevents onDialog.Content&AlertDialog.Contentcomponents (#300)v0.15.1Compare Source
Patch Changes
v0.15.0Compare Source
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
v0.14.0Compare Source
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.6Compare Source
Patch Changes
v0.13.5Compare Source
Patch Changes
v0.13.4Compare Source
Patch Changes
v0.13.3Compare Source
Patch Changes
v0.13.2Compare Source
Patch Changes
v0.13.1Compare Source
Patch Changes
v0.13.0Compare Source
Minor Changes
Patch Changes
v0.12.0Compare Source
Minor Changes
elprop for all components to allow binding & interacting with the underlying element (#244)v0.11.8Compare Source
Patch Changes
v0.11.7Compare Source
Patch Changes
fix: bug with select menus inside popovers not restoring scroll (#209)
add
closeOnItemClickprop to menu components (#209)v0.11.6Compare Source
Patch Changes
feat: add
Paginationcomponent (#223)feat: add Toolbar component (#219)
v0.11.5Compare Source
Patch Changes
monthstype & range calendarnumberOfMonthsprop (#224)v0.11.4Compare Source
Patch Changes
multiplevalue bindings (#221)v0.11.3Compare Source
Patch Changes
Selectcomponent (#217)v0.11.2Compare Source
Patch Changes
SelectPropstype (#214)v0.11.1Compare Source
Patch Changes
v0.11.0Compare Source
Minor Changes
DatetoDayin Calendar components (#210)v0.10.3Compare Source
Patch Changes
initialFocusprop to autofocus dates on mount (#207)v0.10.2Compare Source
Patch Changes
data-selectedattribute (#205)v0.10.1Compare Source
Patch Changes
Buildertype to support all Melt UI builders (#201)v0.10.0Compare 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
multiplebehavior (closes #188 & #121)onChangefrom firing on init / multiple times (closes #73)itemsarray to be used for type inferenceFloating Components
arrowSizeprop fromRootcomponents in favor of passing it directly to theArrowcomponentsIndicator Components (Checkbox & Radio)
Indicatorcomponents for checkbox/radio items to a similar API / underlying elementMisc Improvements
data-attributes to all components for easier global stylingasChildprop 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
positioningpropThe
positioningprop is confusing and has been something I've wanted to change since I rapidly released this project. It's applied to theRootcomponent which is not intuitive considering it's not actually positioning theRootcomponent but theContentcomponent, so I've decided to remove it in favor of individual props on theContentcomponents 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
Contentcomponents.For example, if you wanted to position a
Popovercomponent to the right of the trigger, you would now do something like this:Components Impacted:
Context Menu,Dropdown Menu,Link Preview,Popover,Select&TooltipMove
arrowSizepropCurrently, the
arrowSizeprop is applied to theRootcomponent of several floating components. Similar to thepositioningprop, this is not intuitive and I've decided to move it to theArrowcomponent of the floating components.For example, if you wanted to change the size of the arrow on a
Tooltipcomponent, you would now do something like this:v0.9.9Compare Source
Patch Changes
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.
This PR was generated by Mend Renovate. View the repository job log.