Skip to content

v4.1.0

Choose a tag to compare

@github-actions github-actions released this 11 Jul 21:02
· 3 commits to canary since this release

reshaped

Minor Changes

  • c04a1b5 Thanks @blvdmitry! - Added LoaderText component

  • #648 144bbda Thanks @blvdmitry! - ScrollArea: Added fade prop that displays a fade mask on the sides of the area that can be scrolled towards

  • #650 c2ec999 Thanks @blvdmitry! - View: Added insetInline and insetBlock props with support for the "center" keyword value for centering absolutely positioned elements

Patch Changes

  • b79f40c Thanks @blvdmitry! - Skeleton: Updated opacity animation

  • #651 db93fa8 Thanks @blvdmitry! - Button.Group: Fixed the outline group border being masked by a highlighted button when the highlight color is fully opaque, by rendering the group border above highlighted buttons in the stacking context

  • #629 c702867 Thanks @blvdmitry! - Calendar: Fixed day cell placement being misaligned for firstWeekDay values of 2 or more

  • #627 d93d512 Thanks @blvdmitry! - Calendar: Fixed month navigation skipping months when the anchor date is on a high day-of-month (e.g. the 31st)

  • #635 de3c452 Thanks @blvdmitry! - Carousel: Fixed controls stealing focus to the opposite arrow when scrolling to an edge

  • #636 84790ef Thanks @blvdmitry! - Select: Fixed listbox accessibility by giving the custom dropdown a listbox role and exposing selection state with aria-selected and aria-multiselectable

  • #634 1ccfb6f Thanks @blvdmitry! - Slider: Fixed an uncontrolled default value of 0 being ignored and falling back to min/max

  • #633 72eb897 Thanks @blvdmitry! - Slider: Fixed the range max thumb not swapping with the min thumb when the min thumb is at 0

  • #632 7bad3b6 Thanks @blvdmitry! - Toast: Fixed the focus trap leaking on unmount, which could leave focus trapped after the toast was gone

  • #630 2b4d1fc Thanks @blvdmitry! - Toast: Fixed a stray "0" being rendered when the toast has no actions

  • #631 7e5d376 Thanks @blvdmitry! - Toast: Fixed the auto-dismiss timer not being cleared on unmount, which could fire hide/remove for an already-removed toast

  • 4de5654 Thanks @blvdmitry! - Accordion: Added position relative to the content

  • 6ff6216 Thanks @blvdmitry! - Popover: Change default borderRadius to medium

  • 6f84fc5 Thanks @blvdmitry! - Updated dark mode color values for better contrast

  • f37c8e2 Thanks @blvdmitry! - ScrollArea: fixed stretching of the ScrollArea direct children to 100% of its height

  • 1bb445b Thanks @blvdmitry! - Updated animation variables

  • #648 144bbda Thanks @blvdmitry! - Table: Fade mask for the horizontally scrollable content is now rendered with CSS scroll-driven animations instead of JS scroll tracking

  • 2805140 Thanks @blvdmitry! - View: zIndex prop now accepts the z-index token names (relative, absolute, fixed) in addition to numeric values

  • Updated dependencies [4aaa491, 0b67118, 64b1574, 193948e, 52cb0a4, 8acb35b, 6f84fc5]:

    • @reshaped/utilities@4.1.0
    • @reshaped/theming@4.1.0

@reshaped/theming

Patch Changes

@reshaped/utilities

Patch Changes

  • #640 4aaa491 Thanks @blvdmitry! - lockScroll: Fixed stacked/nested scroll locks releasing the scroll prematurely by reference-counting locks per container

  • #639 0b67118 Thanks @blvdmitry! - lockScroll: Fixed scrollbar-width compensation not being applied when locking a scrollable container, which caused a layout shift

  • #641 64b1574 Thanks @blvdmitry! - StyleCache: reset() used to restore and clear the entire cache, which let one scroll lock wipe the saved styles of another still-active lock. It now takes a required element and restores only that one. set() is also a no-op when the element is already cached, so locking an already-locked element keeps its original styles intact.

  • #638 193948e Thanks @blvdmitry! - TrapFocus: Trapping a container with no focusable content now defers instead of bailing — once focusable content is added (e.g. async-loaded dialog content) the focus is trapped automatically, as long as no other trap was triggered in the meantime. Also fixed the observer leaking in this case

  • 52cb0a4 Thanks @blvdmitry! - Flyout: Improved handling the edge cases when none of the sides fit the flyout