Version Packages#53
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
Deploying catenary with
|
| Latest commit: |
643d8d4
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e5cddba4.catenary-5bw.pages.dev |
| Branch Preview URL: | https://changeset-release-main.catenary-5bw.pages.dev |
4ac6bfe to
643d8d4
Compare
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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@interline-io/catenary@0.7.0
Minor Changes
#52
e3c3dc5Thanks @drewda! - Layered Escape dismissal and cat-modal fixes. Escape pressed while a popup (cat-dropdown menu, cat-datepicker calendar) is open inside a cat-modal closed both at once, destroying in-progress form state.src/util/dismiss-stack.ts): a single document keydown listener dismisses only the topmost open layer per Escape press. cat-modal, cat-dropdown, and cat-datepicker register through it (viauseDismissablePopupfor the popups); cat-taginput continues to self-consume Escape on its input. A popup inside a modal now closes on the first Escape and the modal on the second. A non-closable modal still registers a layer, so it swallows Escape rather than letting it dismiss a surface beneath it.cat-modal also gains:
modelValuealready true, not only when it transitions open.display:noneetc.) so Tab no longer dead-ends on them.modal-card-bodybecomes a focusable named region (tabindex="0",role="region", labeled by the title) so keyboard users can scroll it; Safari does not make scroll containers focusable automatically. Overflow is tracked with a ResizeObserver while open.#54
3ad066cThanks @drewda! -cat-dropdownandcat-datepickerrender their popups (menu, calendar) in the browser top layer via the Popover API, so they are no longer clipped by an ancestor withoverflow: auto/hidden. The most visible case: a dropdown or datepicker inside a scrollablecat-modalbody had its menu/calendar cut off at the modal's edge. This brings the two widgets in line withcat-tooltip(top-layer since 0.3.0).src/util/anchored-popover.tscomposable: shows the popup withshowPopover()(popover="manual", so it does not light-dismiss outside the components' own handling), positions it with fixed viewport coordinates computed from the trigger's box, flips the vertical side when the preferred side lacks room, clamps to the viewport, and repositions on scroll (capture phase, so scrolling any ancestor works) and resize. The popup stays in place in the DOM, so scoped styles,aria-controls/aria-activedescendant, focus management, and click-outside containment (root.contains()) are unchanged.computePopoverPosition) with unit tests.