Changelog

Version 1.5.008/02/2025
fixDialog

Fixed pointerdown issue with modal dialogs.

featureDropdown

Added sc-dropdown-scroll-area component to have feature parity with popovers and selects.

Version 1.4.606/11/2025
improvementPopover

Changed default behavior of trigger: Closes the popover when it is currently open.

Version 1.4.506/05/2025
fixTabs

The onValueChange event is triggered twice per click instead of one.

improvementPopover

Added anchor-id to popovers to override the internal ids.

Version 1.4.404/24/2025
fixDialog

Fixed situation where dialogs were unrendered, but body scroll was still prevented.

fixContext Menu

onOpenChange did not work properly when context menu was closed.

featureContext Menu

Added link item to context menu.

Version 1.4.304/12/2025
improvementToast Provider

Added data key to showToast action to provide arbitrary data to a toast.

improvementDialog

Added role attribute to sc-dialog-content to change the dialog's role.

Version 1.4.204/02/2025
improvementSelect

Added onFocusChange event to the select component.

Version 1.4.103/28/2025
fixPopover

Click outside listener did not fire for position fixed in non-modal mode.

Version 1.4.003/16/2025
featureAccordion

Added accordion icon component as a visual indicator for the accordion's state.

featureCollapsible

Added collapsible icon component as a visual indicator for the collapsible's state.

Version 1.3.203/13/2025
fixTooltip

The attribute disable-hoverable-content was not working correctly.

Version 1.3.103/04/2025
improvementTooltip

Added disabled option to the tooltip.

Version 1.3.003/03/2025
featureDropdown

Added link item to include regular links in dropdowns.

featureMenubar

Added link item to include regular links in a menubar.

Version 1.2.903/01/2025
fixSlider

The initial values of the slider thumbs were not displayed when no min and max values were specified.

Version 1.2.802/22/2025
fixDialog

The dialog scroll area did not respond in certain edge cases on desktop browsers.

fixSelect

Hidden select elements, which are required in forms, were focusable.

Version 1.2.702/18/2025
fixDialog

Dialog click outside listener fired occasionally on clicks inside the dialog.

Version 1.2.602/17/2025
improvementPopover

Added trigger-keys attribute and events for onClick and onKeydown to sc-popover-trigger.

fixTabs

Attribute aria-selected was not set for tabs-trigger and trigger tabindexes were not updated correctly on trigger click.

fixTrigger Button Context

Attribute aria-expanded was incorrectly set to "undefined" instead of being omitted when not needed.

Version 1.2.502/13/2025
fixAvatar

Avatar image remained rendered after src was changed and the fallback was displayed.

fixScroll Area Behavior

In certain situations, scroll on desktop was not prevented correctly.

fixPortal

Handled corner cases where pointer events were not prevented.

improvementPopover

Added role to sc-popover-scroll-area.

Version 1.2.402/12/2025
improvementSelect

Added onSelect event to sc-select-item.

improvementPopovers

Improved click-outside handling and event prevention in modal mode for all dropdown, select, and popover components.

Version 1.2.302/11/2025
fixCheckbox

In controlled mode, the checkbox state and indicator display could get out of sync when clicking rapidly and frequently.

fixModal Portal

Added stop propagation to the modal portal, ensuring proper behavior for nested modals.

Version 1.2.202/09/2025
improvementProvider

Exposed the array of open modals in the sc-provider.

Version 1.2.102/06/2025
fixSelect

The Escape keydown event did not have a stop propagation. This led to issues with selects in dialogs.

Version 1.2.002/05/2025
featureSelect

Added multi-select functionality to the select component.

Version 1.1.202/04/2025
fixScroll Area

Enabled horizontal scrolling in all scroll area components.

Version 1.1.102/01/2025
fixPopover

Fixed an issue where the popover sometimes did not receive focus and did not listen for the Escape keydown.

Version 1.1.001/15/2025
featureToast

Added a flexible toast component with a central provider.

Version 1.0.001/01/2025
featureInitial Release

This is the first release of the package. Includes more than 25 ARIA-compliant primitives that can be used in any toddle project.

made for toddle