Update dependency com.composables:composeunstyled-primitives to v2#1180
Open
renovate[bot] wants to merge 1 commit into
Open
Update dependency com.composables:composeunstyled-primitives to v2#1180renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
1.49.9→2.0.0Release Notes
composablehorizons/compose-unstyled (com.composables:composeunstyled-primitives)
v2.0.0Compare Source
Added
to add the full library to your codebase.
composeunstyled-primitivescontinues to aggregate allprimitives for users who prefer a single dependency.
composeunstyled-anchored,composeunstyled-bottom-sheet,composeunstyled-build-modifier,composeunstyled-button,composeunstyled-checkbox,composeunstyled-colored-indication,composeunstyled-dialog,composeunstyled-disclosure,composeunstyled-dropdown-menu,composeunstyled-escape-handler,composeunstyled-focus-ring,composeunstyled-icon,composeunstyled-modal,composeunstyled-modal-bottom-sheet,composeunstyled-outline,composeunstyled-portal,composeunstyled-progress,composeunstyled-radio-group,composeunstyled-scrim,composeunstyled-scrollbars,composeunstyled-separators,composeunstyled-slider,composeunstyled-stack,composeunstyled-tab-group,composeunstyled-text-field,composeunstyled-toggle-switch,composeunstyled-tooltip,composeunstyled-tri-state-checkbox,and
composeunstyled-window-container-size.without having to manage platform-specific modal lifecycles directly.
PortalHostandPortalfor rendering content into a same-window portal without changingparent layout.
Scrimas a scoped modal primitive.Sheetas the measured bottom sheet panel andUnstyledBottomSheetas the bottom sheetcontainer.
BottomSheetStateandModalBottomSheetStateconstructors so design systems can wrapprimitive state in their own state objects.
2.3.20and Compose Multiplatform1.11.0-alpha01.Removed
composeunstyledartifact is removed. Usecomposeunstyled-primitivesfor the aggregatedependency, or depend on the individual modules you need.
downgrade to the latest 1.x.x version and use
ReplaceWith()to smoothly migrate to the latestAPIs.
com.composables.corepackage.ComposeUnstyledFlags.Changed
LocalContentColororLocalTextStyle; users are responsible for styling primitives with their theming API of choice.Text,LocalContentColor,LocalTextStyle,ProvideContentColor, andProvideTextStyleto the theming module.BottomSheetAPI has been reworked and split into two composables.UnstyledBottomSheetworks as the area in which the bottom sheet can move on, while the
Sheetdoes the actualrendering.
bottom sheets can use a separate dismiss animation spec.
Sheetcomposable anymore. It reusesBottomSheet'sSheetAPI.overlayslot for passing any dimming overlay such as ascrim.
ModalBottomSheetProperties.offsetForIme.UnstyledDialogvisibility is now controlled by avisibleparameter, andDialogPanelsupportsan optional
paneTitlefor accessibility.UnstyledDisclosureis now controlled byexpandedandonExpandedChange.UnstyledDropdownMenunow uses scopedDropdownMenuPanelandMenuItemAPIs, supports anchoredside/alignment offsets, and supports Home/End keyboard navigation inside menus.
UnstyledTooltipnow uses a scopedTooltipPanelAPI withTooltipPlacementinstead ofarrow-specific parameters.
UnstyledTabGroupnow uses generic tab keys and scopedTabList,Tab, andTabPanelAPIs.UnstyledTextFieldnow usesTextFieldState, exposes a scopedTextInputslot, and passesthrough the newer
BasicTextFieldtransformation, line limit, keyboard, layout, and scrollparameters.
UnstyledSlidernow exposestrackandthumbslots withSliderState, supports horizontal andvertical orientations, reverse direction, stepped values, keyboard control, and custom thumb sizing.
(
CheckedIndicator,StateIndicator, andSelectedIndicator) that receive the primitiveinteraction source.
RadioButtontoRadioGroupScope.UnstyledSwitchand the scopedSwitchThumbAPI.ScrollbarState.The
ScrollAreacontainer was removed so scrollbars do not impose layout or styling choices.ThumbVisibilitycontrol.Design systems are now responsible for arranging primitive slots and indicators.
Fixed
handling separate.
(#78)
your content is scrollable. (#134)
state, preventing the modal window from being removed before animated fragments finish exiting.
Configuration
📅 Schedule: (UTC)
🚦 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.