diff --git a/.changeset/a-dropdownmenu-no-longer-rewrites-its-trigger-s--83je.md b/.changeset/a-dropdownmenu-no-longer-rewrites-its-trigger-s--83je.md index bf2d4867a8654..ab62038d2b049 100644 --- a/.changeset/a-dropdownmenu-no-longer-rewrites-its-trigger-s--83je.md +++ b/.changeset/a-dropdownmenu-no-longer-rewrites-its-trigger-s--83je.md @@ -2,5 +2,5 @@ '@astryxdesign/core': patch --- -[fix] `DropdownMenu` no longer rewrites its trigger's style on every render. Its trigger refs, and the trigger ref `usePopover` returns, now stay the same function when the popover's `onShow` or `onHide` changes, so React stops detaching and reattaching the trigger, and a tooltip anchored to the same trigger keeps its place. Triggers that take `usePopover`'s ref directly (ComplexSelector's built-in trigger, DateTimeInput's date field and Breadcrumbs) get the stable ref too. +[fix] `DropdownMenu` no longer rewrites its trigger's style on every render. Its trigger refs, and the trigger ref `usePopover` returns, now stay the same function when the popover's `onShow` or `onHide` changes, so React stops detaching and reattaching the trigger, and a tooltip anchored to the same trigger keeps its place. Triggers that take `usePopover`'s ref directly (ComplexSelector's built-in trigger, DateTimeInput's date field and Breadcrumbs) get the stable ref too. (#9130) @vjeux diff --git a/.changeset/a-popover-in-a-document-picture-in-picture-windo-9gwo.md b/.changeset/a-popover-in-a-document-picture-in-picture-windo-9gwo.md index 3b5bb08c9d390..47c5d47809b44 100644 --- a/.changeset/a-popover-in-a-document-picture-in-picture-windo-9gwo.md +++ b/.changeset/a-popover-in-a-document-picture-in-picture-windo-9gwo.md @@ -2,5 +2,5 @@ '@astryxdesign/core': patch --- -[fix] A `Popover` in a Document Picture-in-Picture window now scrolls once that window gets too short for it or its content grows past it, instead of being cut off: it measures its overflow from the window it renders in, not the page. +[fix] A `Popover` in a Document Picture-in-Picture window now scrolls once that window gets too short for it or its content grows past it, instead of being cut off: it measures its overflow from the window it renders in, not the page. (#9098) @vjeux diff --git a/.changeset/animated-layout-retarget-drawn-place.md b/.changeset/animated-layout-retarget-drawn-place.md index 6fa3a737a6e7f..30880b925015b 100644 --- a/.changeset/animated-layout-retarget-drawn-place.md +++ b/.changeset/animated-layout-retarget-drawn-place.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] In Safari, content already gliding after a layout change no longer jumps ahead when a second change retargets it, such as a row that moves again while it is still moving, or a row inside a card that is itself gliding: the new glide started up to about 3 px ahead of where the row was drawn, more the later in its frame the change was made. A gliding element's place before a change is now read on the clock of every glide that carries it, its own and its gliding containers', so the new glide starts where the old one is drawn. +[fix] In Safari, content already gliding after a layout change no longer jumps ahead when a second change retargets it, such as a row that moves again while it is still moving, or a row inside a card that is itself gliding: the new glide started up to about 3 px ahead of where the row was drawn, more the later in its frame the change was made. A gliding element's place before a change is now read on the clock of every glide that carries it, its own and its gliding containers', so the new glide starts where the old one is drawn. (#9327) @vjeux diff --git a/.changeset/animator-retire-at-frame.md b/.changeset/animator-retire-at-frame.md index 662d20525c985..db8e482cf4144 100644 --- a/.changeset/animator-retire-at-frame.md +++ b/.changeset/animator-retire-at-frame.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: the touch presentations' animator rechecks a finished animation's end in frame callbacks, starting a frame before it and looking again while up to two frames remain, instead of only on timers that a loaded page can run a frame or two late, so the frame that reaches the curve's end drops the animation before it paints, unless the timer that starts those rechecks itself runs more than a frame late. The timers remain for a page that draws no frames. Not exported from the package entry point. +[chore] Internal: the touch presentations' animator rechecks a finished animation's end in frame callbacks, starting a frame before it and looking again while up to two frames remain, instead of only on timers that a loaded page can run a frame or two late, so the frame that reaches the curve's end drops the animation before it paints, unless the timer that starts those rechecks itself runs more than a frame late. The timers remain for a page that draws no frames. Not exported from the package entry point. (#9285) @vjeux diff --git a/.changeset/animator-retire-look-per-animation.md b/.changeset/animator-retire-look-per-animation.md index c9b5ca0706122..4aa960fcb484a 100644 --- a/.changeset/animator-retire-look-per-animation.md +++ b/.changeset/animator-retire-look-per-animation.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: the touch presentations' animator keeps each animation's frame-callback recheck of its curve's end its own, so a recheck still waiting for a replaced animation no longer stands in for the next animation's, which then fell back to its timer. Not exported from the package entry point. +[chore] Internal: the touch presentations' animator keeps each animation's frame-callback recheck of its curve's end its own, so a recheck still waiting for a replaced animation no longer stands in for the next animation's, which then fell back to its timer. Not exported from the package entry point. (#9325) @vjeux diff --git a/.changeset/animator-start-at-commit-frame.md b/.changeset/animator-start-at-commit-frame.md index 2782464c48562..aa4e57d2d4df2 100644 --- a/.changeset/animator-start-at-commit-frame.md +++ b/.changeset/animator-start-at-commit-frame.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: the touch presentations' animator starts a call from rest, made in a task, at the first frame after it when the browser has not yet told the page that start (Chromium reports a compositor's start a frame or more later), so a retarget or a rebase in that window continues from the value on screen instead of replaying the curve from its start. A call made in a frame callback, or one whose first frame comes after a block, keeps the browser's start. Not exported from the package entry point. +[chore] Internal: the touch presentations' animator starts a call from rest, made in a task, at the first frame after it when the browser has not yet told the page that start (Chromium reports a compositor's start a frame or more later), so a retarget or a rebase in that window continues from the value on screen instead of replaying the curve from its start. A call made in a frame callback, or one whose first frame comes after a block, keeps the browser's start. Not exported from the package entry point. (#9255) @vjeux diff --git a/.changeset/announce-has-replace.md b/.changeset/announce-has-replace.md index af82854a154df..ba56a1d7409c2 100644 --- a/.changeset/announce-has-replace.md +++ b/.changeset/announce-has-replace.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[feat] useAnnounce takes an optional `{hasReplace: true}`. An instance created with it states one current state, such as a search's result count: each message it writes withdraws that instance's previous message while it has not been spoken yet, whatever their politeness, and is spoken at its own politeness, so input faster than a frame (a barcode scanner, dictation, automation) says only the latest. Messages from other instances, and from instances without it, still join. MultiSelector sends its result count, its create row and its empty-search message through such an instance, so fast typing no longer says `1 result Create "Urg" Create "Urge" …`; its selection changes keep their own instance and still join. This follows spec:AST-086 FR9 and FR13 (#9070). +[feat] useAnnounce takes an optional `{hasReplace: true}`. An instance created with it states one current state, such as a search's result count: each message it writes withdraws that instance's previous message while it has not been spoken yet, whatever their politeness, and is spoken at its own politeness, so input faster than a frame (a barcode scanner, dictation, automation) says only the latest. Messages from other instances, and from instances without it, still join. MultiSelector sends its result count, its create row and its empty-search message through such an instance, so fast typing no longer says `1 result Create "Urg" Create "Urge" …`; its selection changes keep their own instance and still join. This follows spec:AST-086 FR9 and FR13 (#9070). (#8640) @vjeux diff --git a/.changeset/appshell-layout-root.md b/.changeset/appshell-layout-root.md index ad88b3f7eeb55..1d63f95a02814 100644 --- a/.changeset/appshell-layout-root.md +++ b/.changeset/appshell-layout-root.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] `AppShell` is a layout root: the layout values its ancestors pass down stop at its root, so it lays out the same inside a padded `Card`, a `Section` or a `Layout` as at the page root. Before, its internal Layout escaped a padded host's padding on all four sides, so in a padded `Card` that clips its overflow the shell's logo was cut at the inline start and its navigation and content at the other edges. A caller's own props and styles on `AppShell` still apply; theme, color mode, direction and translations keep inheriting. +[fix] `AppShell` is a layout root: the layout values its ancestors pass down stop at its root, so it lays out the same inside a padded `Card`, a `Section` or a `Layout` as at the page root. Before, its internal Layout escaped a padded host's padding on all four sides, so in a padded `Card` that clips its overflow the shell's logo was cut at the inline start and its navigation and content at the other edges. A caller's own props and styles on `AppShell` still apply; theme, color mode, direction and translations keep inheriting. (#9418) @cixzhang @duytbp diff --git a/.changeset/appshell-main-keyboard-scroll.md b/.changeset/appshell-main-keyboard-scroll.md index 5e42c2123eafa..0e77c6174d7ec 100644 --- a/.changeset/appshell-main-keyboard-scroll.md +++ b/.changeset/appshell-main-keyboard-scroll.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] With `height="fill"`, AppShell's main region can be scrolled from the keyboard when its content overflows and has nothing focusable (WCAG 2.1.1 Keyboard). Before, main was only the skip link's target (`tabIndex={-1}`): Tab passed it by, so long text, a report or a read-only page could not be scrolled without a pointer. Now, while main scrolls overflowing content, it is a stop in the tab order and keyboard focus on it draws the standard focus ring, inset; in an elevated shell with a top nav and an inline side nav, main then takes the surface's rounded top-start corner so the ring follows it. Tab entry moves on when the first focusable element inside main is a plain link or button; otherwise main is one stop before it. A main region that fits, and `height="auto"` (where the page scrolls), are unchanged. +[fix] With `height="fill"`, AppShell's main region can be scrolled from the keyboard when its content overflows and has nothing focusable (WCAG 2.1.1 Keyboard). Before, main was only the skip link's target (`tabIndex={-1}`): Tab passed it by, so long text, a report or a read-only page could not be scrolled without a pointer. Now, while main scrolls overflowing content, it is a stop in the tab order and keyboard focus on it draws the standard focus ring, inset; in an elevated shell with a top nav and an inline side nav, main then takes the surface's rounded top-start corner so the ring follows it. Tab entry moves on when the first focusable element inside main is a plain link or button; otherwise main is one stop before it. A main region that fits, and `height="auto"` (where the page scrolls), are unchanged. (#8111) @vjeux diff --git a/.changeset/appshell-main-release-on-detach.md b/.changeset/appshell-main-release-on-detach.md index 95ddac03c0d1f..f37bd388290ac 100644 --- a/.changeset/appshell-main-release-on-detach.md +++ b/.changeset/appshell-main-release-on-detach.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] AppShell drops an unmount Effect that repeated the release main's ref already performs; main's overflow observation and keyboard delegation are still released on unmount. No behavior changes. +[chore] AppShell drops an unmount Effect that repeated the release main's ref already performs; main's overflow observation and keyboard delegation are still released on unmount. No behavior changes. (#9262) @cixzhang diff --git a/.changeset/ast-085-dateinput.md b/.changeset/ast-085-dateinput.md index 8de849488b461..e16fdebddc713 100644 --- a/.changeset/ast-085-dateinput.md +++ b/.changeset/ast-085-dateinput.md @@ -2,5 +2,5 @@ '@astryxdesign/core': patch --- -[fix] DateInput ignores selections from an already-open disabled picker and blocks Reset's value change and month navigation while disabled, without dismissing the picker or moving focus. +[fix] DateInput ignores selections from an already-open disabled picker and blocks Reset's value change and month navigation while disabled, without dismissing the picker or moving focus. (#8813) @korkt-kim diff --git a/.changeset/ast-085-daterangeinput.md b/.changeset/ast-085-daterangeinput.md index 95162cd9ea494..5f733e66a2162 100644 --- a/.changeset/ast-085-daterangeinput.md +++ b/.changeset/ast-085-daterangeinput.md @@ -2,5 +2,5 @@ '@astryxdesign/core': patch --- -[fix] DateRangeInput ignores calendar and preset commits after its open picker becomes disabled, without dismissing the picker or moving focus. Presets reflect the field's disabled state and reason. Enabled selection, clear behavior, and loading-only dismissal remain unchanged. +[fix] DateRangeInput ignores calendar and preset commits after its open picker becomes disabled, without dismissing the picker or moving focus. Presets reflect the field's disabled state and reason. Enabled selection, clear behavior, and loading-only dismissal remain unchanged. (#9155) @korkt-kim diff --git a/.changeset/ast-085-multiselector.md b/.changeset/ast-085-multiselector.md index c90d60d366ef9..7b6953d6fc1a1 100644 --- a/.changeset/ast-085-multiselector.md +++ b/.changeset/ast-085-multiselector.md @@ -2,5 +2,5 @@ '@astryxdesign/core': patch --- -[fix] MultiSelector blocks selection and creation callbacks and Actions when it becomes disabled while its panel is open, without removing the focused control. +[fix] MultiSelector blocks selection and creation callbacks and Actions when it becomes disabled while its panel is open, without removing the focused control. (#9152) @korkt-kim diff --git a/.changeset/ast-085-selector.md b/.changeset/ast-085-selector.md index 82bff288b5c79..b64bd06483523 100644 --- a/.changeset/ast-085-selector.md +++ b/.changeset/ast-085-selector.md @@ -2,5 +2,5 @@ '@astryxdesign/core': patch --- -[fix] Selector ignores option selections after it becomes disabled, including selections from an already-open popup and pointer gestures started while enabled. Its trigger remains focusable and disabled values remain excluded from forms. +[fix] Selector ignores option selections after it becomes disabled, including selections from an already-open popup and pointer gestures started while enabled. Its trigger remains focusable and disabled values remain excluded from forms. (#9137) @korkt-kim diff --git a/.changeset/avatar-initials-forced-colors.md b/.changeset/avatar-initials-forced-colors.md index 9b18bcbd5c7f7..cb54e716afbcc 100644 --- a/.changeset/avatar-initials-forced-colors.md +++ b/.changeset/avatar-initials-forced-colors.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] In forced colors (Windows High Contrast), a lone `Avatar`'s initials and default person icon now take the color around them, as the browser forces it, instead of always showing CanvasText: inside a control that paints itself disabled they show GrayText. Faces inside an `AvatarGroup` keep CanvasText on the group's ring. Outside forced colors nothing changes. +[fix] In forced colors (Windows High Contrast), a lone `Avatar`'s initials and default person icon now take the color around them, as the browser forces it, instead of always showing CanvasText: inside a control that paints itself disabled they show GrayText. Faces inside an `AvatarGroup` keep CanvasText on the group's ring. Outside forced colors nothing changes. (#8819) @cixzhang diff --git a/.changeset/badge-grows-with-text.md b/.changeset/badge-grows-with-text.md index 6bd50e4bc94a1..f194ee7901117 100644 --- a/.changeset/badge-grows-with-text.md +++ b/.changeset/badge-grows-with-text.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] Badge: a badge with a label is now never shorter than one line of that label. With a larger text size, a badge's label grew while the badge kept its fixed height, so the label spilled out of the pill and white text on a colored badge became unreadable. The badge now grows with its label. At the default size nothing changes, a theme that sets the badge's height keeps that height there while its badges still grow with larger text, a color-only badge keeps its size at every text size, and a badge still shrinks and truncates in a container too narrow for it. +[fix] Badge: a badge with a label is now never shorter than one line of that label. With a larger text size, a badge's label grew while the badge kept its fixed height, so the label spilled out of the pill and white text on a colored badge became unreadable. The badge now grows with its label. At the default size nothing changes, a theme that sets the badge's height keeps that height there while its badges still grow with larger text, a color-only badge keeps its size at every text size, and a badge still shrinks and truncates in a container too narrow for it. (#8236) @vjeux diff --git a/.changeset/bottom-sheet-drag-detent-flash.md b/.changeset/bottom-sheet-drag-detent-flash.md index e3509361e3619..83870b7cce283 100644 --- a/.changeset/bottom-sheet-drag-detent-flash.md +++ b/.changeset/bottom-sheet-drag-detent-flash.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] Dragging a `BottomSheet` with snap points up from a shorter detent, or back down past it, no longer flashes the sheet away from the finger. For one frame the sheet jumped by the height its scrolling area gives up at that detent (about half the screen at a half-height stop) and then snapped back. The height and position now change in the same frame. +[fix] Dragging a `BottomSheet` with snap points up from a shorter detent, or back down past it, no longer flashes the sheet away from the finger. For one frame the sheet jumped by the height its scrolling area gives up at that detent (about half the screen at a half-height stop) and then snapped back. The height and position now change in the same frame. (#9193) @cixzhang diff --git a/.changeset/bottom-sheet-nested-sheet-drag.md b/.changeset/bottom-sheet-nested-sheet-drag.md index fe2e95f00b4bf..f0ac29f50caa9 100644 --- a/.changeset/bottom-sheet-nested-sheet-drag.md +++ b/.changeset/bottom-sheet-nested-sheet-drag.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] A BottomSheet opened from inside another sheet's content drags down to dismiss on its own. The covered sheet underneath no longer takes the gesture, so dragging the top sheet's grabber no longer moves or dismisses the sheet beneath it. +[fix] A BottomSheet opened from inside another sheet's content drags down to dismiss on its own. The covered sheet underneath no longer takes the gesture, so dragging the top sheet's grabber no longer moves or dismisses the sheet beneath it. (#8820) @imdreamrunner diff --git a/.changeset/bottomsheet-checklist-full-row-click.md b/.changeset/bottomsheet-checklist-full-row-click.md index 7b70db02f07ae..343b87c1408a5 100644 --- a/.changeset/bottomsheet-checklist-full-row-click.md +++ b/.changeset/bottomsheet-checklist-full-row-click.md @@ -2,5 +2,5 @@ '@astryxdesign/cli': patch --- -[fix] BottomSheet checklist examples use CheckboxList so the whole row toggles, not just the label +[fix] BottomSheet checklist examples use CheckboxList so the whole row toggles, not just the label (#9533) @divyanshudhruv diff --git a/.changeset/bottomsheet-comment-cleanup-2.md b/.changeset/bottomsheet-comment-cleanup-2.md index 03453ddf35e7d..bf170c06eb631 100644 --- a/.changeset/bottomsheet-comment-cleanup-2.md +++ b/.changeset/bottomsheet-comment-cleanup-2.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[docs] Source comments in the BottomSheet gesture and mobile keyboard code are shorter and explain only non-obvious reasons. Nothing a consumer imports or renders changes. +[docs] Source comments in the BottomSheet gesture and mobile keyboard code are shorter and explain only non-obvious reasons. Nothing a consumer imports or renders changes. (#9524) @cixzhang diff --git a/.changeset/bottomsheet-comment-cleanup.md b/.changeset/bottomsheet-comment-cleanup.md index 6cea1a82a2b76..5837a9f7cc19a 100644 --- a/.changeset/bottomsheet-comment-cleanup.md +++ b/.changeset/bottomsheet-comment-cleanup.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[docs] Source comments in BottomSheet and BottomSheetSwitcher are shorter and explain only non-obvious reasons. Nothing a consumer imports or renders changes. +[docs] Source comments in BottomSheet and BottomSheetSwitcher are shorter and explain only non-obvious reasons. Nothing a consumer imports or renders changes. (#9523) @cixzhang diff --git a/.changeset/build-readme-next-font-babel.md b/.changeset/build-readme-next-font-babel.md index 9ebdb878cff11..7ab1edf914e01 100644 --- a/.changeset/build-readme-next-font-babel.md +++ b/.changeset/build-readme-next-font-babel.md @@ -2,6 +2,6 @@ '@astryxdesign/build': patch --- -[docs] The Next.js setup in the README says that its Babel config turns off SWC, which `next/font` needs, so a fresh `create-next-app` layout must drop its `next/font` import before the webpack source build will compile. +[docs] The Next.js setup in the README says that its Babel config turns off SWC, which `next/font` needs, so a fresh `create-next-app` layout must drop its `next/font` import before the webpack source build will compile. (#9439) @cixzhang diff --git a/.changeset/build-stylex-cross-file-consts.md b/.changeset/build-stylex-cross-file-consts.md index 736b20da4327d..3dd3d09748850 100644 --- a/.changeset/build-stylex-cross-file-consts.md +++ b/.changeset/build-stylex-cross-file-consts.md @@ -2,6 +2,6 @@ '@astryxdesign/build': patch --- -[fix] `astryxStylex` resolves `defineConsts` values read from another file. With the `{stylexOptions}` form (the one Storybook uses), a file that read only constants from a `.stylex.ts` module lost that import once StyleX compiled it, so the constants never reached the CSS: a constant used as a media-query key failed the build ("Invalid empty selector") and one used as a value shipped as a custom property nothing declares. In either form, a constant defined on the other side of the layer split, or in an Astryx package (compiled with the library class-name prefix) and read from an app file (compiled with its own), stayed unresolved. +[fix] `astryxStylex` resolves `defineConsts` values read from another file. With the `{stylexOptions}` form (the one Storybook uses), a file that read only constants from a `.stylex.ts` module lost that import once StyleX compiled it, so the constants never reached the CSS: a constant used as a media-query key failed the build ("Invalid empty selector") and one used as a value shipped as a custom property nothing declares. In either form, a constant defined on the other side of the layer split, or in an Astryx package (compiled with the library class-name prefix) and read from an app file (compiled with its own), stayed unresolved. (#8075) @vjeux diff --git a/.changeset/build-stylex-undefined-variables.md b/.changeset/build-stylex-undefined-variables.md index f96458edef47e..0a3267f9c0ab9 100644 --- a/.changeset/build-stylex-undefined-variables.md +++ b/.changeset/build-stylex-undefined-variables.md @@ -2,6 +2,6 @@ '@astryxdesign/build': patch --- -[feat] A production build with `astryxStylex` warns when its stylesheet reads a StyleX-generated custom property that nothing declares, naming the variable and the rule that reads it. It checks the class-name prefixes the build uses, `stylexOverrides.classNamePrefix` included, and never reports a custom property an app declares in its own CSS. +[feat] A production build with `astryxStylex` warns when its stylesheet reads a StyleX-generated custom property that nothing declares, naming the variable and the rule that reads it. It checks the class-name prefixes the build uses, `stylexOverrides.classNamePrefix` included, and never reports a custom property an app declares in its own CSS. (#8075) @vjeux diff --git a/.changeset/calendar-standalone-month-capital.md b/.changeset/calendar-standalone-month-capital.md index bb88bd0f0f511..241af588a3333 100644 --- a/.changeset/calendar-standalone-month-capital.md +++ b/.changeset/calendar-standalone-month-capital.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] Calendar, DateInput, DateTimeInput: a month label that stands alone starts with a capital where the locale capitalizes one. In Spanish, French, Italian, Dutch, Polish, Russian and Ukrainian, Calendar's heading read "octubre de 2026"; it now reads "Octubre de 2026", following CLDR's stand-alone capitalization, as the weekday headers already use CLDR's stand-alone names. A two-month view capitalizes both months, and each month grid's name, the touch date fields' month headings and `useCalendarNavigation`'s `monthYearLabel` do the same. Dates in running text, such as a field's value, are unchanged, and so is every locale CLDR does not capitalize, Vietnamese included. +[fix] Calendar, DateInput, DateTimeInput: a month label that stands alone starts with a capital where the locale capitalizes one. In Spanish, French, Italian, Dutch, Polish, Russian and Ukrainian, Calendar's heading read "octubre de 2026"; it now reads "Octubre de 2026", following CLDR's stand-alone capitalization, as the weekday headers already use CLDR's stand-alone names. A two-month view capitalizes both months, and each month grid's name, the touch date fields' month headings and `useCalendarNavigation`'s `monthYearLabel` do the same. Dates in running text, such as a field's value, are unchanged, and so is every locale CLDR does not capitalize, Vietnamese included. (#9371) @cixzhang diff --git a/.changeset/carousel-scroll-area-name.md b/.changeset/carousel-scroll-area-name.md index eba964bdd7a43..6b05b004fcd27 100644 --- a/.changeset/carousel-scroll-area-name.md +++ b/.changeset/carousel-scroll-area-name.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] Carousel's scroll area is a group named like the carousel, so a screen-reader user who tabs onto it hears where they are. It is a tab stop only while its content overflows; a carousel that fits no longer adds an empty stop. +[fix] Carousel's scroll area is a group named like the carousel, so a screen-reader user who tabs onto it hears where they are. It is a tab stop only while its content overflows; a carousel that fits no longer adds an empty stop. (#8155) @vjeux diff --git a/.changeset/chat-pasted-text-token-tap.md b/.changeset/chat-pasted-text-token-tap.md index cba19d9aae519..66054d15a23e6 100644 --- a/.changeset/chat-pasted-text-token-tap.md +++ b/.changeset/chat-pasted-text-token-tap.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] ChatComposerInput: a tap on a pasted-text token opens its preview without raising the keyboard. Before, the tap that opened the preview also focused the composer around the token and placed the caret in it, which on a phone raises the on-screen keyboard over the preview. Now a tap by finger or pen stops at the token, so touch reaches the preview and its Expand action without the keyboard covering them, the operable path `architecture:interaction-modality` INV4 asks of every modality; a mouse click on the token still places the caret in the composer, and hover still opens the preview. +[fix] ChatComposerInput: a tap on a pasted-text token opens its preview without raising the keyboard. Before, the tap that opened the preview also focused the composer around the token and placed the caret in it, which on a phone raises the on-screen keyboard over the preview. Now a tap by finger or pen stops at the token, so touch reaches the preview and its Expand action without the keyboard covering them, the operable path `architecture:interaction-modality` INV4 asks of every modality; a mouse click on the token still places the caret in the composer, and hover still opens the preview. (#9189) @vjeux diff --git a/.changeset/chatcomposer-surface-press.md b/.changeset/chatcomposer-surface-press.md index 608d7fd0add2b..d86063452e7f9 100644 --- a/.changeset/chatcomposer-surface-press.md +++ b/.changeset/chatcomposer-surface-press.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] A click inside an open Tooltip or HoverCard in a ChatComposer's body no longer moves focus to the composer's input. A click on the body's empty space still focuses it. +[fix] A click inside an open Tooltip or HoverCard in a ChatComposer's body no longer moves focus to the composer's input. A click on the body's empty space still focuses it. (#9375) @cixzhang diff --git a/.changeset/chatcomposer-trigger-press-keeps-menu.md b/.changeset/chatcomposer-trigger-press-keeps-menu.md index c172ebf8fe834..ca502751c6436 100644 --- a/.changeset/chatcomposer-trigger-press-keeps-menu.md +++ b/.changeset/chatcomposer-trigger-press-keeps-menu.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] A press in a ChatComposerInput's own editor no longer closes its open trigger menu (the `@` mention or `/` command list). Clicking inside the query keeps the menu showing; a click that moves the caret out of the query, a press anywhere else on the page and Escape still close it. +[fix] A press in a ChatComposerInput's own editor no longer closes its open trigger menu (the `@` mention or `/` command list). Clicking inside the query keeps the menu showing; a click that moves the caret out of the query, a press anywhere else on the page and Escape still close it. (#9503) @cixzhang diff --git a/.changeset/chatmessage-avatar-rule-linear.md b/.changeset/chatmessage-avatar-rule-linear.md index 4b9304f2d7a94..ed69b6e6f6f80 100644 --- a/.changeset/chatmessage-avatar-rule-linear.md +++ b/.changeset/chatmessage-avatar-rule-linear.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] Safari no longer slows down as a page fills a container with many children because of ChatMessage's avatar-spacing rule. The avatar's top spacing beside a named bubble is now judged from the message itself instead of from its siblings. It looks exactly as before. +[fix] Safari no longer slows down as a page fills a container with many children because of ChatMessage's avatar-spacing rule. The avatar's top spacing beside a named bubble is now judged from the message itself instead of from its siblings. It looks exactly as before. (#9438) @cixzhang diff --git a/.changeset/checkboxlist-disabled-reason-describes-each-checkbox.md b/.changeset/checkboxlist-disabled-reason-describes-each-checkbox.md index b78aff00f02ee..23dfa2fe1a3ee 100644 --- a/.changeset/checkboxlist-disabled-reason-describes-each-checkbox.md +++ b/.changeset/checkboxlist-disabled-reason-describes-each-checkbox.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] CheckboxList: a group disabled with a `disabledMessage` gives that reason to each checkbox as its description (`aria-describedby`), as well as to the group, so a screen reader announces it on the focused checkbox. A row's own description comes first. +[fix] CheckboxList: a group disabled with a `disabledMessage` gives that reason to each checkbox as its description (`aria-describedby`), as well as to the group, so a screen reader announces it on the focused checkbox. A row's own description comes first. (#9168) @vjeux diff --git a/.changeset/cli-ambient-files-read-once.md b/.changeset/cli-ambient-files-read-once.md index 678feab05fcfe..5982369832b99 100644 --- a/.changeset/cli-ambient-files-read-once.md +++ b/.changeset/cli-ambient-files-read-once.md @@ -2,6 +2,6 @@ '@astryxdesign/cli': patch --- -[perf] Calling `integrationComponentConflicts()` or `integrationCheck()` from `@astryxdesign/cli/api` more than once in one process now reads each TypeScript file a package's `tsconfig.json` includes once while the file is unchanged, instead of on every call. A single `astryx doctor integration components` or `astryx integration check` run is unchanged. +[perf] Calling `integrationComponentConflicts()` or `integrationCheck()` from `@astryxdesign/cli/api` more than once in one process now reads each TypeScript file a package's `tsconfig.json` includes once while the file is unchanged, instead of on every call. A single `astryx doctor integration components` or `astryx integration check` run is unchanged. (#9422) @vjeux diff --git a/.changeset/cli-search-shared-gather.md b/.changeset/cli-search-shared-gather.md index ad205c3cb1bdc..e9429951b3b51 100644 --- a/.changeset/cli-search-shared-gather.md +++ b/.changeset/cli-search-shared-gather.md @@ -2,5 +2,5 @@ '@astryxdesign/cli': patch --- -[perf] `search()` shares a catalog gather that is still running: searches that start together in one long-running process, such as a docs site's search right after it starts, now gather once instead of once each +[perf] `search()` shares a catalog gather that is still running: searches that start together in one long-running process, such as a docs site's search right after it starts, now gather once instead of once each (#9460) @cixzhang diff --git a/.changeset/click-guard.md b/.changeset/click-guard.md index 7376b26fef796..007d011a066d0 100644 --- a/.changeset/click-guard.md +++ b/.changeset/click-guard.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: the gesture recognizers and the menu press model share one guard for the browser's click after a gesture that already acted, swallowing it for 400ms or until the next press. Keyboard and assistive-technology clicks (`detail` 0) always pass. +[chore] Internal: the gesture recognizers and the menu press model share one guard for the browser's click after a gesture that already acted, swallowing it for 400ms or until the next press. Keyboard and assistive-technology clicks (`detail` 0) always pass. (#8360) @vjeux diff --git a/.changeset/clickablecard-disabled-router-link.md b/.changeset/clickablecard-disabled-router-link.md index 8fd253d7081d5..a107dc8f2f3c3 100644 --- a/.changeset/clickablecard-disabled-router-link.md +++ b/.changeset/clickablecard-disabled-router-link.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] ClickableCard: a disabled link card no longer passes an undefined `href` to the router link component, and a focused link card keeps focus when its disabled state changes. +[fix] ClickableCard: a disabled link card no longer passes an undefined `href` to the router link component, and a focused link card keeps focus when its disabled state changes. (#8659) @divyanshudhruv diff --git a/.changeset/codeblock-rtl-collapse-chevron.md b/.changeset/codeblock-rtl-collapse-chevron.md index ea1da415f7609..75ff7d4cf936c 100644 --- a/.changeset/codeblock-rtl-collapse-chevron.md +++ b/.changeset/codeblock-rtl-collapse-chevron.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] CodeBlock: in right-to-left layouts the collapsed disclosure chevron now points toward the inline end (left), as other disclosure chevrons do. Expanded, it still points down. +[fix] CodeBlock: in right-to-left layouts the collapsed disclosure chevron now points toward the inline end (left), as other disclosure chevrons do. Expanded, it still points down. (#9294) @cixzhang diff --git a/.changeset/collapsible-close-keeps-focus.md b/.changeset/collapsible-close-keeps-focus.md index 1ff0a4c541e38..cc6f64eb6077e 100644 --- a/.changeset/collapsible-close-keeps-focus.md +++ b/.changeset/collapsible-close-keeps-focus.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] When a `Collapsible` closes while keyboard focus is inside its content, for example from an owner-set `isOpen` or a group's value, focus moves to its trigger. Before, focus fell to the page, so a keyboard or screen-reader user lost their place (WCAG 2.2 SC 2.4.3). Focus anywhere else is not moved. +[fix] When a `Collapsible` closes while keyboard focus is inside its content, for example from an owner-set `isOpen` or a group's value, focus moves to its trigger. Before, focus fell to the page, so a keyboard or screen-reader user lost their place (WCAG 2.2 SC 2.4.3). Focus anywhere else is not moved. (#9250) @cixzhang @duytbp diff --git a/.changeset/combobox-aria-required.md b/.changeset/combobox-aria-required.md index 456bda467851b..fd09fc47748be 100644 --- a/.changeset/combobox-aria-required.md +++ b/.changeset/combobox-aria-required.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] `Typeahead` and `Tokenizer` expose their state on the combobox (WCAG 2.2 SC 4.1.2; `component:FormLayout` FR5 and AR2). Before, the combobox had no `aria-required`, so under `FormLayout defaultOptionality="required"`, where the visible "Required" marker is hidden, a screen reader announced a required field as optional; and an error status showed its message with no `aria-invalid`. Now the combobox sets `aria-required` for the resolved required state and `aria-invalid` for an error status. A caller's own `aria-required` or `aria-invalid` still applies when the field's own state is off. +[fix] `Typeahead` and `Tokenizer` expose their state on the combobox (WCAG 2.2 SC 4.1.2; `component:FormLayout` FR5 and AR2). Before, the combobox had no `aria-required`, so under `FormLayout defaultOptionality="required"`, where the visible "Required" marker is hidden, a screen reader announced a required field as optional; and an error status showed its message with no `aria-invalid`. Now the combobox sets `aria-required` for the resolved required state and `aria-invalid` for an error status. A caller's own `aria-required` or `aria-invalid` still applies when the field's own state is off. (#9034) @cixzhang @duytbp diff --git a/.changeset/command-palette-pending-empty.md b/.changeset/command-palette-pending-empty.md index 002142569341e..8933215722942 100644 --- a/.changeset/command-palette-pending-empty.md +++ b/.changeset/command-palette-pending-empty.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] CommandPalette no longer shows its "Type to search" text after you have typed. While the first search is still loading, the list stays empty and the field's loading spinner shows; the no-results text appears once that search finishes with nothing. Clearing the field brings "Type to search" back. +[fix] CommandPalette no longer shows its "Type to search" text after you have typed. While the first search is still loading, the list stays empty and the field's loading spinner shows; the no-results text appears once that search finishes with nothing. Clearing the field brings "Type to search" back. (#9420) @cixzhang diff --git a/.changeset/comments-error-announcement-key.md b/.changeset/comments-error-announcement-key.md index 1e229c06ff737..4536bb0dfbe29 100644 --- a/.changeset/comments-error-announcement-key.md +++ b/.changeset/comments-error-announcement-key.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] Comments: the failure announcement spoken for a Comments error banner now comes from the `@astryx.comments.errorAnnouncement` locale entry, so it can be translated like the rest of the component's messages. +[fix] Comments: the failure announcement spoken for a Comments error banner now comes from the `@astryx.comments.errorAnnouncement` locale entry, so it can be translated like the rest of the component's messages. (#7902) @HelloOjasMutreja diff --git a/.changeset/complex-selector-popup-cap-and-chevron.md b/.changeset/complex-selector-popup-cap-and-chevron.md index 2e476d55752a2..144b357d7725d 100644 --- a/.changeset/complex-selector-popup-cap-and-chevron.md +++ b/.changeset/complex-selector-popup-cap-and-chevron.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] ComplexSelector's popup content keeps its last rows clear of a bottom bar the app declares through `LayerProvider`'s `inset`, instead of scrolling them underneath it, and its chevron turns at once when the person prefers reduced motion instead of animating its rotation. +[fix] ComplexSelector's popup content keeps its last rows clear of a bottom bar the app declares through `LayerProvider`'s `inset`, instead of scrolling them underneath it, and its chevron turns at once when the person prefers reduced motion instead of animating its rotation. (#8551) @cixzhang diff --git a/.changeset/complexselector-tooltip-status.md b/.changeset/complexselector-tooltip-status.md index 3535547356b82..0013a0711b6d7 100644 --- a/.changeset/complexselector-tooltip-status.md +++ b/.changeset/complexselector-tooltip-status.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] ComplexSelector: with `statusVariant="tooltip"` the status message is no longer lost. The trigger row now shows the status icon as a focusable info-tip button that reveals the message on hover, keyboard focus, or tap, and the trigger is described by that message instead of pointing at an element that did not exist. Pressing the info-tip does not open the popup. +[fix] ComplexSelector: with `statusVariant="tooltip"` the status message is no longer lost. The trigger row now shows the status icon as a focusable info-tip button that reveals the message on hover, keyboard focus, or tap, and the trigger is described by that message instead of pointing at an element that did not exist. Pressing the info-tip does not open the popup. (#9026) @cixzhang diff --git a/.changeset/component-specs-move-to-docs.md b/.changeset/component-specs-move-to-docs.md index 1ff3470acdf54..13f9c27467da0 100644 --- a/.changeset/component-specs-move-to-docs.md +++ b/.changeset/component-specs-move-to-docs.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[docs] Component specs are no longer shipped inside the npm package; they live in the repo at `docs/specs/components/`, one folder per component, beside each platform's spec. `astryx swizzle` no longer copies the component's spec file into your project. Nothing a consumer imports or renders changes. +[docs] Component specs are no longer shipped inside the npm package; they live in the repo at `docs/specs/components/`, one folder per component, beside each platform's spec. `astryx swizzle` no longer copies the component's spec file into your project. Nothing a consumer imports or renders changes. (#9007) @cixzhang diff --git a/.changeset/context-menu-spring-roles.md b/.changeset/context-menu-spring-roles.md index 228c92fdc1621..ee256e1844891 100644 --- a/.changeset/context-menu-spring-roles.md +++ b/.changeset/context-menu-spring-roles.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: the touch motion tables register the three context-menu springs spec:AST-094 FR4 names (`springs.contextMenuLift`, `springs.contextMenuDismiss` and `springs.contextMenuMorph`, a new row at response 0.3 s and damping ratio 0.8) as internal motion roles, so the registered roles are FR4's again. Nothing public changes: themes do not set motion roles, and no shipped component reads these springs yet. +[chore] Internal: the touch motion tables register the three context-menu springs spec:AST-094 FR4 names (`springs.contextMenuLift`, `springs.contextMenuDismiss` and `springs.contextMenuMorph`, a new row at response 0.3 s and damping ratio 0.8) as internal motion roles, so the registered roles are FR4's again. Nothing public changes: themes do not set motion roles, and no shipped component reads these springs yet. (#9432) @vjeux diff --git a/.changeset/contextmenu-mounts-at-first-open.md b/.changeset/contextmenu-mounts-at-first-open.md index db50892a8ebce..c41b21a36827f 100644 --- a/.changeset/contextmenu-mounts-at-first-open.md +++ b/.changeset/contextmenu-mounts-at-first-open.md @@ -2,5 +2,5 @@ '@astryxdesign/core': patch --- -[fix] A context menu that was never opened no longer mounts its menu surface; it mounts at the first open and shows as it attaches. A Table whose cells carry context menus (row expansion gives every body cell one) showed its first rows after a minute or more at 2,000 rows in Safari; it now shows them in a few seconds. +[fix] A context menu that was never opened no longer mounts its menu surface; it mounts at the first open and shows as it attaches. A Table whose cells carry context menus (row expansion gives every body cell one) showed its first rows after a minute or more at 2,000 rows in Safari; it now shows them in a few seconds. (#9278) @vjeux diff --git a/.changeset/core-single-bundle-init-order.md b/.changeset/core-single-bundle-init-order.md index 2385a514638af..1a571115ee547 100644 --- a/.changeset/core-single-bundle-init-order.md +++ b/.changeset/core-single-bundle-init-order.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] An app bundled into one esbuild file (no code splitting, as no-build pages are) no longer crashes on first render with a TypeError such as "Cannot read properties of undefined (reading 'useId')" or "(reading 'useEffect')", for example when it uses `List` or `Button`. Code-split apps are unchanged and still load Core's lazy modules on demand. +[fix] An app bundled into one esbuild file (no code splitting, as no-build pages are) no longer crashes on first render with a TypeError such as "Cannot read properties of undefined (reading 'useId')" or "(reading 'useEffect')", for example when it uses `List` or `Button`. Code-split apps are unchanged and still load Core's lazy modules on demand. (#9055) @cixzhang @duytbp diff --git a/.changeset/date-input-calendar-mounts-when-open.md b/.changeset/date-input-calendar-mounts-when-open.md index bfa2989e40888..812adf33bd519 100644 --- a/.changeset/date-input-calendar-mounts-when-open.md +++ b/.changeset/date-input-calendar-mounts-when-open.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] DateInput, DateRangeInput and DateTimeInput no longer build their calendar while the popover is closed. Each closed field used to mount a full month grid at page load and keep it updated, so a form with many date fields paid that cost per field. The calendar now mounts when the popover opens and opens on the field's current value. Opening, focus and dismissal are unchanged. +[fix] DateInput, DateRangeInput and DateTimeInput no longer build their calendar while the popover is closed. Each closed field used to mount a full month grid at page load and keep it updated, so a form with many date fields paid that cost per field. The calendar now mounts when the popover opens and opens on the field's current value. Opening, focus and dismissal are unchanged. (#8902) @harjothkhara diff --git a/.changeset/dateinput-input-press-keeps-calendar.md b/.changeset/dateinput-input-press-keeps-calendar.md index 2a440d04baca8..ee40da70d2fb2 100644 --- a/.changeset/dateinput-input-press-keeps-calendar.md +++ b/.changeset/dateinput-input-press-keeps-calendar.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] A press in a DateInput's own text input, on its clear button or on its label no longer closes its open calendar. Clicking into the date text to fix a digit keeps the calendar showing; a press anywhere else on the page and Escape still close it, and moving focus from anywhere in the field (its text, clear button or calendar button) to another field now closes it too. +[fix] A press in a DateInput's own text input, on its clear button or on its label no longer closes its open calendar. Clicking into the date text to fix a digit keeps the calendar showing; a press anywhere else on the page and Escape still close it, and moving focus from anywhere in the field (its text, clear button or calendar button) to another field now closes it too. (#9433) @cixzhang diff --git a/.changeset/datetimeinput-time-press-keeps-list.md b/.changeset/datetimeinput-time-press-keeps-list.md index e4be642eb2fb1..ea0402b78ae10 100644 --- a/.changeset/datetimeinput-time-press-keeps-list.md +++ b/.changeset/datetimeinput-time-press-keeps-list.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] A press in a DateTimeInput's own time input no longer closes its open list of preset times. Clicking into the time text to fix a digit keeps the list showing; a press anywhere else on the page, moving focus away and Escape still close it. +[fix] A press in a DateTimeInput's own time input no longer closes its open list of preset times. Clicking into the time text to fix a digit keeps the list showing; a press anywhere else on the page, moving focus away and Escape still close it. (#9459) @cixzhang diff --git a/.changeset/dialog-second-document-focus-return.md b/.changeset/dialog-second-document-focus-return.md index 7cbe1296c8026..02eca39e92cde 100644 --- a/.changeset/dialog-second-document-focus-return.md +++ b/.changeset/dialog-second-document-focus-return.md @@ -2,5 +2,5 @@ '@astryxdesign/core': patch --- -[fix] A `Dialog` rendered into a same-origin iframe through a portal now returns focus, when it closes, to the control in the iframe that opened it, as it does in the page. +[fix] A `Dialog` rendered into a same-origin iframe through a portal now returns focus, when it closes, to the control in the iframe that opened it, as it does in the page. (#8381) @vjeux diff --git a/.changeset/diff-viewer-large-change-keys.md b/.changeset/diff-viewer-large-change-keys.md index 7d70269468fc6..b9fb3a1e87efb 100644 --- a/.changeset/diff-viewer-large-change-keys.md +++ b/.changeset/diff-viewer-large-change-keys.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[feat] Adds three `@astryx.diffViewer.*` keys to the `en` catalog for the lab `DiffViewer`'s large-change fold: its "Large change: N lines" label and its Show full diff / Hide full diff button. No existing string changes; locales without a translation fall back to English. +[feat] Adds three `@astryx.diffViewer.*` keys to the `en` catalog for the lab `DiffViewer`'s large-change fold: its "Large change: N lines" label and its Show full diff / Hide full diff button. No existing string changes; locales without a translation fall back to English. (#9462) @cixzhang diff --git a/.changeset/disabled-field-focus-forced-colors.md b/.changeset/disabled-field-focus-forced-colors.md index 7360a86084ae8..bf19b96731a6b 100644 --- a/.changeset/disabled-field-focus-forced-colors.md +++ b/.changeset/disabled-field-focus-forced-colors.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] A disabled field that keeps its tab stop (TextInput, TextArea, NumberInput, Typeahead, Tokenizer, Selector, MultiSelector, and DateInput, TimeInput, DateRangeInput and DateTimeInput on every surface: popover, native and bottom sheet) now shows keyboard focus under forced colors, such as Windows High Contrast. Its focus border takes the system Highlight color there, as enabled fields' does. Nothing changes outside forced colors. +[fix] A disabled field that keeps its tab stop (TextInput, TextArea, NumberInput, Typeahead, Tokenizer, Selector, MultiSelector, and DateInput, TimeInput, DateRangeInput and DateTimeInput on every surface: popover, native and bottom sheet) now shows keyboard focus under forced colors, such as Windows High Contrast. Its focus border takes the system Highlight color there, as enabled fields' does. Nothing changes outside forced colors. (#9410) @cixzhang diff --git a/.changeset/disabled-row-link-no-destination.md b/.changeset/disabled-row-link-no-destination.md index f6a3389f38628..79bcb37b5cf29 100644 --- a/.changeset/disabled-row-link-no-destination.md +++ b/.changeset/disabled-row-link-no-destination.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] A disabled `Item`, `ListItem` or `TreeList` row with an `href` no longer navigates from a screen reader, Enter, or a link menu. Its link now has no `href`, `target` or `rel`, as a disabled `Link` does, and it keeps the link role. +[fix] A disabled `Item`, `ListItem` or `TreeList` row with an `href` no longer navigates from a screen reader, Enter, or a link menu. Its link now has no `href`, `target` or `rel`, as a disabled `Link` does, and it keeps the link role. (#9056) @cixzhang @duytbp diff --git a/.changeset/drawer-non-modal-page-scroll.md b/.changeset/drawer-non-modal-page-scroll.md index 8420ed1f59781..47b1cc4f9b6d0 100644 --- a/.changeset/drawer-non-modal-page-scroll.md +++ b/.changeset/drawer-non-modal-page-scroll.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] Under a finger in Chrome, the page beside an open non-modal `Drawer` (`hasScrim={false}`) scrolls again. The panel clipped its content with `overflow: hidden`, which made it a scroll container, and Chrome held a drag on the page beside it in that container's overscroll containment, so the page did not move. It now clips with `overflow: clip`, which clips the same way without a scroll container. The panel's content area still scrolls on its own, and a modal drawer is unchanged. +[fix] Under a finger in Chrome, the page beside an open non-modal `Drawer` (`hasScrim={false}`) scrolls again. The panel clipped its content with `overflow: hidden`, which made it a scroll container, and Chrome held a drag on the page beside it in that container's overscroll containment, so the page did not move. It now clips with `overflow: clip`, which clips the same way without a scroll container. The panel's content area still scrolls on its own, and a modal drawer is unchanged. (#8636) @vjeux diff --git a/.changeset/dropdown-menu-docs-accuracy.md b/.changeset/dropdown-menu-docs-accuracy.md index 4889cb0afdd86..2301b3e3310ab 100644 --- a/.changeset/dropdown-menu-docs-accuracy.md +++ b/.changeset/dropdown-menu-docs-accuracy.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] The development warning for passing both `button` and `renderTrigger` to `DropdownMenu` now names `renderTrigger`; it named a `trigger` prop that does not exist. The docs match the component too: `button` is mutually exclusive with `renderTrigger`, the private menu radius defaults to `--radius-container`, and a disabled `DropdownMenuCheckboxItem` or `DropdownMenuRadioItem` takes no focus — the arrow keys, typeahead, and the pointer highlight skip it — while it stays in the accessibility tree as disabled. +[fix] The development warning for passing both `button` and `renderTrigger` to `DropdownMenu` now names `renderTrigger`; it named a `trigger` prop that does not exist. The docs match the component too: `button` is mutually exclusive with `renderTrigger`, the private menu radius defaults to `--radius-container`, and a disabled `DropdownMenuCheckboxItem` or `DropdownMenuRadioItem` takes no focus — the arrow keys, typeahead, and the pointer highlight skip it — while it stays in the accessibility tree as disabled. (#7517) @cixzhang diff --git a/.changeset/dropdown-menu-forced-colors-focus.md b/.changeset/dropdown-menu-forced-colors-focus.md index b5b4b36f067f9..c9fde41f289a2 100644 --- a/.changeset/dropdown-menu-forced-colors-focus.md +++ b/.changeset/dropdown-menu-forced-colors-focus.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] A keyboard-focused `DropdownMenu` row now shows the standard focus ring, drawn inside the row, in every color mode. Rows showed focus only with a translucent background, which forced colors (Windows High Contrast and similar modes) replace with the page color, so a keyboard user there could not tell which row Enter would activate. The ring follows the last input: after a key press it marks the focused row, including a row the mouse then moves focus to; after a mouse or touch press it does not show. Action, destructive, checkbox, radio and sub-menu rows all show it, including in `ContextMenu` and breadcrumb menus. A `ContextMenu` opened by right-click or long-press focuses its first row without the ring; one opened from the keyboard shows it. +[fix] A keyboard-focused `DropdownMenu` row now shows the standard focus ring, drawn inside the row, in every color mode. Rows showed focus only with a translucent background, which forced colors (Windows High Contrast and similar modes) replace with the page color, so a keyboard user there could not tell which row Enter would activate. The ring follows the last input: after a key press it marks the focused row, including a row the mouse then moves focus to; after a mouse or touch press it does not show. Action, destructive, checkbox, radio and sub-menu rows all show it, including in `ContextMenu` and breadcrumb menus. A `ContextMenu` opened by right-click or long-press focuses its first row without the ring; one opened from the keyboard shows it. (#7517) @cixzhang diff --git a/.changeset/dropdown-menu-popover-presentation-theming.md b/.changeset/dropdown-menu-popover-presentation-theming.md index 11e32ab2ce468..a9743f91149eb 100644 --- a/.changeset/dropdown-menu-popover-presentation-theming.md +++ b/.changeset/dropdown-menu-popover-presentation-theming.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] The anchored `DropdownMenu` now reflects `data-presentation="popover"` on its `dropdown-menu` target, as the bottom sheet already reflected `bottom-sheet`. A theme rule written for `presentation:popover`, which the docs list as a visual prop of that target, now applies. +[fix] The anchored `DropdownMenu` now reflects `data-presentation="popover"` on its `dropdown-menu` target, as the bottom sheet already reflected `bottom-sheet`. A theme rule written for `presentation:popover`, which the docs list as a visual prop of that target, now applies. (#7517) @cixzhang diff --git a/.changeset/dropdown-menu-sheet-trigger-ref.md b/.changeset/dropdown-menu-sheet-trigger-ref.md index 8dcefe9da96e8..486dca3555303 100644 --- a/.changeset/dropdown-menu-sheet-trigger-ref.md +++ b/.changeset/dropdown-menu-sheet-trigger-ref.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] `DropdownMenu` and `MoreMenu` now forward the caller's ref to the trigger button in the bottom-sheet presentation (`architecture:public-component-api` INV8). Before, `presentation="bottom-sheet"`, or `presentation="adaptive"` on a compact touch screen, replaced the `button.ref` (and the `ref` that `MoreMenu` passes) with an internal ref, so a caller's ref stayed empty. The popover presentation already forwarded it. Apps need no code change. +[fix] `DropdownMenu` and `MoreMenu` now forward the caller's ref to the trigger button in the bottom-sheet presentation (`architecture:public-component-api` INV8). Before, `presentation="bottom-sheet"`, or `presentation="adaptive"` on a compact touch screen, replaced the `button.ref` (and the `ref` that `MoreMenu` passes) with an internal ref, so a caller's ref stayed empty. The popover presentation already forwarded it. Apps need no code change. (#8898) @parinith-web diff --git a/.changeset/dropdown-section-submenu.md b/.changeset/dropdown-section-submenu.md index 2f8e37b7189c3..b1f14f086179b 100644 --- a/.changeset/dropdown-section-submenu.md +++ b/.changeset/dropdown-section-submenu.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] `DropdownMenu`, `MoreMenu` and `ContextMenu` render a submenu for a data item with nested `items` inside a `{type: 'section'}`, as they do at the top level. Before, such an item rendered as a plain row with no flyout and no `aria-haspopup`, although its type allows nested `items` there; the bottom sheet on a phone already showed it as a submenu. +[fix] `DropdownMenu`, `MoreMenu` and `ContextMenu` render a submenu for a data item with nested `items` inside a `{type: 'section'}`, as they do at the top level. Before, such an item rendered as a plain row with no flyout and no `aria-haspopup`, although its type allows nested `items` there; the bottom sheet on a phone already showed it as a submenu. (#8858) @cixzhang diff --git a/.changeset/edge-reveal-reversal.md b/.changeset/edge-reveal-reversal.md index 0c9e5fe2561f8..8d7b8119b4f80 100644 --- a/.changeset/edge-reveal-reversal.md +++ b/.changeset/edge-reveal-reversal.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] With an `animatedLayout` handle, a Collapsible or a TreeList row closed while it opens, or opened again while it closes, continues from what it shows: the content's edge stays on the content after it on every frame, instead of jumping back to fully shown or hidden. Under Reduce Motion with a touch pointer, where the content cross-fades instead, a reversal still starts its fade over. +[fix] With an `animatedLayout` handle, a Collapsible or a TreeList row closed while it opens, or opened again while it closes, continues from what it shows: the content's edge stays on the content after it on every frame, instead of jumping back to fully shown or hidden. Under Reduce Motion with a touch pointer, where the content cross-fades instead, a reversal still starts its fade over. (#8721) @vjeux diff --git a/.changeset/export-field-status-placement.md b/.changeset/export-field-status-placement.md index 3c906ab109789..688ec996dc93d 100644 --- a/.changeset/export-field-status-placement.md +++ b/.changeset/export-field-status-placement.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] Field: `FieldStatusPlacement`, the type of every field control's `statusVariant` (`'attached' | 'detached' | 'tooltip'`), is exported from `@astryxdesign/core` and `@astryxdesign/core/Field`, so a wrapper component can type a `statusVariant` prop it forwards. +[fix] Field: `FieldStatusPlacement`, the type of every field control's `statusVariant` (`'attached' | 'detached' | 'tooltip'`), is exported from `@astryxdesign/core` and `@astryxdesign/core/Field`, so a wrapper component can type a `statusVariant` prop it forwards. (#9368) @cixzhang diff --git a/.changeset/field-focus-forced-colors.md b/.changeset/field-focus-forced-colors.md index abd5cd105f8be..4b7c58863c838 100644 --- a/.changeset/field-focus-forced-colors.md +++ b/.changeset/field-focus-forced-colors.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] Enabled Field inputs (TextInput, TextArea, NumberInput, Selector, MultiSelector, Typeahead, Tokenizer, and the date and time inputs) now show keyboard focus under forced colors, such as Windows High Contrast. Forced colors drop the inset focus shadow and repaint every border in one system color, so a focused field looked the same as one at rest. A focused field's border now takes the system Highlight color there, with or without a status. Disabled fields, which stay focusable, don't get it yet. Nothing changes outside forced colors. +[fix] Enabled Field inputs (TextInput, TextArea, NumberInput, Selector, MultiSelector, Typeahead, Tokenizer, and the date and time inputs) now show keyboard focus under forced colors, such as Windows High Contrast. Forced colors drop the inset focus shadow and repaint every border in one system color, so a focused field looked the same as one at rest. A focused field's border now takes the system Highlight color there, with or without a status. Disabled fields, which stay focusable, don't get it yet. Nothing changes outside forced colors. (#9392) @cixzhang diff --git a/.changeset/field-status-long-token-wrap.md b/.changeset/field-status-long-token-wrap.md index 279af5e55047a..1301b47355339 100644 --- a/.changeset/field-status-long-token-wrap.md +++ b/.changeset/field-status-long-token-wrap.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] FieldStatus wraps a long unbroken word in a validation message, such as an email address or URL echoed from the field, inside the message box instead of painting it past the field's edge where its end could not be read. +[fix] FieldStatus wraps a long unbroken word in a validation message, such as an email address or URL echoed from the field, inside the message box instead of painting it past the field's edge where its end could not be read. (#9126) @cixzhang diff --git a/.changeset/fieldlabel-info-icon-tap.md b/.changeset/fieldlabel-info-icon-tap.md index db84de8dbf5c2..c0e1176dde6de 100644 --- a/.changeset/fieldlabel-info-icon-tap.md +++ b/.changeset/fieldlabel-info-icon-tap.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[feat] FieldLabel: a tap on the label's info icon (`labelTooltip`) opens its help without also toggling or focusing the control (`component:FieldLabel` FR9). Before, the tap that opened the help also activated the label's control, as a tap anywhere on a native label does: on a touch screen it focused the field, raising the keyboard, or toggled the switch or checkbox the label names, an unintended second action. Now a tap by finger or pen opens the help alone; a mouse click on the icon still activates the control like the rest of the label, and hover still shows the help. +[feat] FieldLabel: a tap on the label's info icon (`labelTooltip`) opens its help without also toggling or focusing the control (`component:FieldLabel` FR9). Before, the tap that opened the help also activated the label's control, as a tap anywhere on a native label does: on a touch screen it focused the field, raising the keyboard, or toggled the switch or checkbox the label names, an unintended second action. Now a tap by finger or pen opens the help alone; a mouse click on the icon still activates the control like the rest of the label, and hover still shows the help. (#9089) @vjeux diff --git a/.changeset/fields-keep-field-label-with-caller-labelledby.md b/.changeset/fields-keep-field-label-with-caller-labelledby.md index 5b25a28a1390a..4ba73c7436faa 100644 --- a/.changeset/fields-keep-field-label-with-caller-labelledby.md +++ b/.changeset/fields-keep-field-label-with-caller-labelledby.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] TextArea, Typeahead and Tokenizer: a caller's `aria-labelledby` no longer replaces the field's own label. Before, it was the only name the control had, so `label="Notes" aria-labelledby="billing-heading"` named the textarea "Billing". Now the caller's ids follow the field's own label ("Notes Billing"), as TextInput, NumberInput, Selector and MultiSelector already do. A Typeahead inside an InputGroup, which ignored the caller's ids altogether, is now named by the group, its label, then the caller's ids. The visible label stays in the accessible name (WCAG 2.2 SC 2.5.3 Label in Name; `family:input-fields` FR10.1). Fields without a caller `aria-labelledby` are unchanged. No API changes. +[fix] TextArea, Typeahead and Tokenizer: a caller's `aria-labelledby` no longer replaces the field's own label. Before, it was the only name the control had, so `label="Notes" aria-labelledby="billing-heading"` named the textarea "Billing". Now the caller's ids follow the field's own label ("Notes Billing"), as TextInput, NumberInput, Selector and MultiSelector already do. A Typeahead inside an InputGroup, which ignored the caller's ids altogether, is now named by the group, its label, then the caller's ids. The visible label stays in the accessible name (WCAG 2.2 SC 2.5.3 Label in Name; `family:input-fields` FR10.1). Fields without a caller `aria-labelledby` are unchanged. No API changes. (#8862) @HelloOjasMutreja diff --git a/.changeset/fieldstatus-tooltip-deprecated.md b/.changeset/fieldstatus-tooltip-deprecated.md index ca5dcd9961832..e5c03087ee164 100644 --- a/.changeset/fieldstatus-tooltip-deprecated.md +++ b/.changeset/fieldstatus-tooltip-deprecated.md @@ -2,7 +2,7 @@ '@astryxdesign/core': patch --- -[feat] FieldStatus: the `tooltip` variant is deprecated and is removed in the next minor release. FieldStatus has no tooltip presentation: a direct `` draws a plain message box with no tooltip, and your editor now marks it deprecated. To show a status message from a field's on-field icon, set `statusVariant="tooltip"` on the field control instead; that stays supported. +[feat] FieldStatus: the `tooltip` variant is deprecated and is removed in the next minor release. FieldStatus has no tooltip presentation: a direct `` draws a plain message box with no tooltip, and your editor now marks it deprecated. To show a status message from a field's on-field icon, set `statusVariant="tooltip"` on the field control instead; that stays supported. (#9196) Before: diff --git a/.changeset/file-input-tooltip-status-reachable.md b/.changeset/file-input-tooltip-status-reachable.md index 552104885fb3f..cf92c0c8f36f4 100644 --- a/.changeset/file-input-tooltip-status-reachable.md +++ b/.changeset/file-input-tooltip-status-reachable.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] FileInput with `statusVariant="tooltip"` keeps its status button, and the message it reveals, in dropzone mode and while the field is busy (loading or uploading), instead of dropping it and leaving the field's description pointing at nothing. +[fix] FileInput with `statusVariant="tooltip"` keeps its status button, and the message it reveals, in dropzone mode and while the field is busy (loading or uploading), instead of dropping it and leaving the field's description pointing at nothing. (#9134) @cixzhang diff --git a/.changeset/fileinput-caller-aria-on-trigger.md b/.changeset/fileinput-caller-aria-on-trigger.md index 5bb8b5269dccb..3cf1661b523f2 100644 --- a/.changeset/fileinput-caller-aria-on-trigger.md +++ b/.changeset/fileinput-caller-aria-on-trigger.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] FileInput: a caller's `aria-describedby` and other `aria-*` props now reach the trigger button, the field's focusable control. Before they were set only on the hidden native input, which is `aria-hidden` and never focused, so `aria-describedby="hint"` was never read ("Report" announced without "PDF only, up to 10 MB"). The caller's ids are now joined to the trigger's own description ids, first. The props the trigger composes itself (`aria-label`, `aria-labelledby`, `aria-invalid`, `aria-busy`, `aria-disabled`, `aria-hidden`) are not copied. See `family:input-fields` FR10.1. No API changes. +[fix] FileInput: a caller's `aria-describedby` and other `aria-*` props now reach the trigger button, the field's focusable control. Before they were set only on the hidden native input, which is `aria-hidden` and never focused, so `aria-describedby="hint"` was never read ("Report" announced without "PDF only, up to 10 MB"). The caller's ids are now joined to the trigger's own description ids, first. The props the trigger composes itself (`aria-label`, `aria-labelledby`, `aria-invalid`, `aria-busy`, `aria-disabled`, `aria-hidden`) are not copied. See `family:input-fields` FR10.1. No API changes. (#9031) @HelloOjasMutreja diff --git a/.changeset/fileinput-dropzone-status-variant-docs.md b/.changeset/fileinput-dropzone-status-variant-docs.md index c374e9ef22555..bf6f5d83634ac 100644 --- a/.changeset/fileinput-dropzone-status-variant-docs.md +++ b/.changeset/fileinput-dropzone-status-variant-docs.md @@ -2,5 +2,5 @@ '@astryxdesign/core': patch --- -[docs] FileInput's `statusVariant` docs say that dropzone mode does not support `attached`; use `detached` or `tooltip` there. Rendering is unchanged in this release. From the next minor release, a dropzone resolves `attached` to `detached` and defaults to it. +[docs] FileInput's `statusVariant` docs say that dropzone mode does not support `attached`; use `detached` or `tooltip` there. Rendering is unchanged in this release. From the next minor release, a dropzone resolves `attached` to `detached` and defaults to it. (#9258) @cixzhang diff --git a/.changeset/fileinput-every-rejection.md b/.changeset/fileinput-every-rejection.md index bbd5f9bb6bf34..a4646418de078 100644 --- a/.changeset/fileinput-every-rejection.md +++ b/.changeset/fileinput-every-rejection.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] When several picked or dropped files break `accept` or `maxSize`, `FileInput` names every rejected file and why in its status message, not only the first (WCAG 2.2 SC 3.3.1). The messages are listed in the active locale. Going over `maxFiles` still reports the limit, "Maximum N files allowed". +[fix] When several picked or dropped files break `accept` or `maxSize`, `FileInput` names every rejected file and why in its status message, not only the first (WCAG 2.2 SC 3.3.1). The messages are listed in the active locale. Going over `maxFiles` still reports the limit, "Maximum N files allowed". (#9043) @cixzhang @duytbp diff --git a/.changeset/fileinput-prettier-format.md b/.changeset/fileinput-prettier-format.md index ac74b4d498f41..bf5135f373044 100644 --- a/.changeset/fileinput-prettier-format.md +++ b/.changeset/fileinput-prettier-format.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] FileInput's source is formatted with the repository's Prettier settings. No behavior changes. +[chore] FileInput's source is formatted with the repository's Prettier settings. No behavior changes. (#9263) @cixzhang diff --git a/.changeset/fileinput-slider-form-required.md b/.changeset/fileinput-slider-form-required.md index 7fbd0b9d1170d..c7cd2cc59ac58 100644 --- a/.changeset/fileinput-slider-form-required.md +++ b/.changeset/fileinput-slider-form-required.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] Inside ``, FileInput and Slider now tell screen readers they are required even without their own `isRequired`, like the other fields. `isOptional` still opts a field out. +[fix] Inside ``, FileInput and Slider now tell screen readers they are required even without their own `isRequired`, like the other fields. `isOptional` still opts a field out. (#9053) @cixzhang diff --git a/.changeset/gesture-arena-moving-cancel.md b/.changeset/gesture-arena-moving-cancel.md index 5b7e52cad131a..1c3cd4400d367 100644 --- a/.changeset/gesture-arena-moving-cancel.md +++ b/.changeset/gesture-arena-moving-cancel.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: a gesture that cancels itself on a finger's move (a long press dragged past its tolerance) keeps that finger claimed until it lifts, so the page never takes the drag over midway; a resting finger is still given back when its gesture is cancelled. Not exported from the package entry point. +[chore] Internal: a gesture that cancels itself on a finger's move (a long press dragged past its tolerance) keeps that finger claimed until it lifts, so the page never takes the drag over midway; a resting finger is still given back when its gesture is cancelled. Not exported from the package entry point. (#8076) @vjeux diff --git a/.changeset/gesture-browser-negotiation.md b/.changeset/gesture-browser-negotiation.md index 1be0500883217..68bcccd3ee18f 100644 --- a/.changeset/gesture-browser-negotiation.md +++ b/.changeset/gesture-browser-negotiation.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: touch-action derivation, the native scroll probe and haptics for the gesture system. Not exported from the package entry point; no component uses them yet. +[chore] Internal: touch-action derivation, the native scroll probe and haptics for the gesture system. Not exported from the package entry point; no component uses them yet. (#8071) @vjeux diff --git a/.changeset/gesture-doc-comments-placement.md b/.changeset/gesture-doc-comments-placement.md index 617529f6744a8..f1fd7ff18622e 100644 --- a/.changeset/gesture-doc-comments-placement.md +++ b/.changeset/gesture-doc-comments-placement.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[docs] The gesture arena's and the gesture host's internal doc comments sit on the declarations they describe. +[docs] The gesture arena's and the gesture host's internal doc comments sit on the declarations they describe. (#9114) @vjeux diff --git a/.changeset/gesture-hook-fixes.md b/.changeset/gesture-hook-fixes.md index 87f08a0948e31..aa6bf419252d1 100644 --- a/.changeset/gesture-hook-fixes.md +++ b/.changeset/gesture-hook-fixes.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: the gesture hooks call nothing back after unmount; `usePressTracker` brakes with the host by default and keeps one tracker, so an option change or a new ref never drops a press in progress; the recognizer's arena plumbing is `protected`. Not exported from the package entry point. +[chore] Internal: the gesture hooks call nothing back after unmount; `usePressTracker` brakes with the host by default and keeps one tracker, so an option change or a new ref never drops a press in progress; the recognizer's arena plumbing is `protected`. Not exported from the package entry point. (#8360) @vjeux diff --git a/.changeset/gesture-host-fixes.md b/.changeset/gesture-host-fixes.md index 3609238c3dd63..6777f5888d3d0 100644 --- a/.changeset/gesture-host-fixes.md +++ b/.changeset/gesture-host-fixes.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: gesture host fixes from review. A claimed pen holds only its own stylus touches, and a finger is matched to its scroller, its target and a moving element along the flat tree, through slots and shadow roots. Not exported from the package entry point. +[chore] Internal: gesture host fixes from review. A claimed pen holds only its own stylus touches, and a finger is matched to its scroller, its target and a moving element along the flat tree, through slots and shadow roots. Not exported from the package entry point. (#8360) @vjeux diff --git a/.changeset/gesture-host-owner.md b/.changeset/gesture-host-owner.md index c4e1adeb8b6eb..60d3c4adbb787 100644 --- a/.changeset/gesture-host-owner.md +++ b/.changeset/gesture-host-owner.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: the gesture host becomes the one document-level touch owner: the finger count, touch gates, and a kept press for continuous-tracking controls, whose element gets `touch-action: manipulation`. A scroll lock's page hold and the finger-scroll watch keep their own listeners and ask the host only about the touches it owns. A second finger fails a one-finger pan that has not claimed, so the page can pinch. A scroll-edge pan holds a lone finger from the first move that pulls away from an edge every scroller under it is at, so those moves are cancelled before it begins; with a second finger anywhere on the screen the page keeps its pinch. A press tracker whose hold acts (a stepper's hold-repeat) can bring a selection lock for its presses, as a recognizer can. Internal, for the touch components that adopt them; not exported from the package entry point. +[chore] Internal: the gesture host becomes the one document-level touch owner: the finger count, touch gates, and a kept press for continuous-tracking controls, whose element gets `touch-action: manipulation`. A scroll lock's page hold and the finger-scroll watch keep their own listeners and ask the host only about the touches it owns. A second finger fails a one-finger pan that has not claimed, so the page can pinch. A scroll-edge pan holds a lone finger from the first move that pulls away from an edge every scroller under it is at, so those moves are cancelled before it begins; with a second finger anywhere on the screen the page keeps its pinch. A press tracker whose hold acts (a stepper's hold-repeat) can bring a selection lock for its presses, as a recognizer can. Internal, for the touch components that adopt them; not exported from the package entry point. (#8360) @vjeux diff --git a/.changeset/gesture-host.md b/.changeset/gesture-host.md index 5b0b9fd7c24e1..4ea55a31270b3 100644 --- a/.changeset/gesture-host.md +++ b/.changeset/gesture-host.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: the gesture system's DOM host (claims, click suppression, the browser's takeover, the pointer behind a contact), serving a mouse, a pen and a finger alike, with no page listener while idle where the primary pointer is fine. Not exported from the package entry point; no component uses it yet. +[chore] Internal: the gesture system's DOM host (claims, click suppression, the browser's takeover, the pointer behind a contact), serving a mouse, a pen and a finger alike, with no page listener while idle where the primary pointer is fine. Not exported from the package entry point; no component uses it yet. (#8071) @vjeux diff --git a/.changeset/gesture-press-tracking.md b/.changeset/gesture-press-tracking.md index e964301a5737f..4c83c724ea76f 100644 --- a/.changeset/gesture-press-tracking.md +++ b/.changeset/gesture-press-tracking.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: UIControl press tracking with control and cell profiles and the gesture hooks. Not exported from the package entry point. +[chore] Internal: UIControl press tracking with control and cell profiles and the gesture hooks. Not exported from the package entry point. (#8076) @vjeux diff --git a/.changeset/gesture-readme.md b/.changeset/gesture-readme.md index 9a6293b811b68..8cbcaf8cab1ed 100644 --- a/.changeset/gesture-readme.md +++ b/.changeset/gesture-readme.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: the gesture system's README for component authors, with its browser proof in Chromium and WebKit. +[chore] Internal: the gesture system's README for component authors, with its browser proof in Chromium and WebKit. (#8076) @vjeux diff --git a/.changeset/gesture-recognizer-fixes.md b/.changeset/gesture-recognizer-fixes.md index 9e6754a78d733..dc0e550d68459 100644 --- a/.changeset/gesture-recognizer-fixes.md +++ b/.changeset/gesture-recognizer-fixes.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: gesture recognizer and arena fixes from review; a pan claims nothing before it begins at 10 pt; one velocity tracker for every gesture (`spec:AST-100`: UIKit's measured blend, a scrolling surface's release through the pan's `scrollVelocity()`, and FR2's release rules). Not exported from the package entry point. +[chore] Internal: gesture recognizer and arena fixes from review; a pan claims nothing before it begins at 10 pt; one velocity tracker for every gesture (`spec:AST-100`: UIKit's measured blend, a scrolling surface's release through the pan's `scrollVelocity()`, and FR2's release rules). Not exported from the package entry point. (#8360) @vjeux diff --git a/.changeset/gesture-swipe-pinch-edge.md b/.changeset/gesture-swipe-pinch-edge.md index 27c89e43232eb..d51274a1da956 100644 --- a/.changeset/gesture-swipe-pinch-edge.md +++ b/.changeset/gesture-swipe-pinch-edge.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: swipe, pinch and screen-edge pan gesture recognizers. Not exported from the package entry point; no component uses them yet. +[chore] Internal: swipe, pinch and screen-edge pan gesture recognizers. Not exported from the package entry point; no component uses them yet. (#8061) @vjeux diff --git a/.changeset/gesture-watcher.md b/.changeset/gesture-watcher.md index bec7cd286e49d..24a12934e7788 100644 --- a/.changeset/gesture-watcher.md +++ b/.changeset/gesture-watcher.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: a recognizer created with `claimsTouches: false` is a watcher: passive listeners only, simultaneous with every recognizer, and it follows a touch the browser takes for a scroll to the lift. Not exported from the package entry point. +[chore] Internal: a recognizer created with `claimsTouches: false` is a watcher: passive listeners only, simultaneous with every recognizer, and it follows a touch the browser takes for a scroll to the lift. Not exported from the package entry point. (#8360) @vjeux diff --git a/.changeset/gestures-every-pointer.md b/.changeset/gestures-every-pointer.md index bd76644fd6dff..4bbff436f63a0 100644 --- a/.changeset/gestures-every-pointer.md +++ b/.changeset/gestures-every-pointer.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: with the gesture host serving every pointer, a press tracker takes a mouse press as a press, painting at once with no scroll brake (AST-094 FR11); a finger's or a pen's hold that does something keeps text unselected under any primary pointer, a touchscreen laptop's included, while a mouse keeps its released behavior (FR41); a finger is read once where the browser sends Touch Events without exposing `ontouchstart`; and `perEventPointer`, from before FR43, is accepted and does nothing. Not exported from the package entry point. +[chore] Internal: with the gesture host serving every pointer, a press tracker takes a mouse press as a press, painting at once with no scroll brake (AST-094 FR11); a finger's or a pen's hold that does something keeps text unselected under any primary pointer, a touchscreen laptop's included, while a mouse keeps its released behavior (FR41); a finger is read once where the browser sends Touch Events without exposing `ontouchstart`; and `perEventPointer`, from before FR43, is accepted and does nothing. Not exported from the package entry point. (#8360) @vjeux diff --git a/.changeset/grid-align-justify-default-docs.md b/.changeset/grid-align-justify-default-docs.md index 9d933c6f4c9bc..5167520abfa68 100644 --- a/.changeset/grid-align-justify-default-docs.md +++ b/.changeset/grid-align-justify-default-docs.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[docs] Grid's `align` and `justify` docs no longer claim a `'stretch'` default. Unset, they leave the browser default, `normal`, which stretches items that have no natural size or aspect ratio. Rendering is unchanged. +[docs] Grid's `align` and `justify` docs no longer claim a `'stretch'` default. Unset, they leave the browser default, `normal`, which stretches items that have no natural size or aspect ratio. Rendering is unchanged. (#9347) @cixzhang diff --git a/.changeset/grid-span-audit-docs.md b/.changeset/grid-span-audit-docs.md index c2f919815e00d..53adb7348ca0f 100644 --- a/.changeset/grid-span-audit-docs.md +++ b/.changeset/grid-span-audit-docs.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[docs] GridSpan: document the `xstyle`, `className`, `style`, and `ref` props, including that a set `columns` or `rows` replaces the same grid placement in `style`. +[docs] GridSpan: document the `xstyle`, `className`, `style`, and `ref` props, including that a set `columns` or `rows` replaces the same grid placement in `style`. (#9312) @cixzhang diff --git a/.changeset/group-last-member-linear-in-webkit.md b/.changeset/group-last-member-linear-in-webkit.md index d2e17020caabc..2ae3d2214a3f2 100644 --- a/.changeset/group-last-member-linear-in-webkit.md +++ b/.changeset/group-last-member-linear-in-webkit.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] ButtonGroup and InputGroup: the rule that rounds a group's last member no longer slows down filling a container in WebKit (as measured), on any page, groups or not. In WebKit, inserting 10,000 children into one element took about 1.15 s with the old rule on the page and about 10 ms with the new one. Corners look exactly as before: only the last member, skipping trailing popovers, templates and dialogs, rounds its trailing corners. +[fix] ButtonGroup and InputGroup: the rule that rounds a group's last member no longer slows down filling a container in WebKit (as measured), on any page, groups or not. In WebKit, inserting 10,000 children into one element took about 1.15 s with the old rule on the page and about 10 ms with the new one. Corners look exactly as before: only the last member, skipping trailing popovers, templates and dialogs, rounds its trailing corners. (#9394) @cixzhang diff --git a/.changeset/heading-audit-docs.md b/.changeset/heading-audit-docs.md index a865ea249aab3..f8ab60864cc95 100644 --- a/.changeset/heading-audit-docs.md +++ b/.changeset/heading-audit-docs.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[docs] Heading: document the `xstyle`, `className`, `style`, and `ref` props, including that a `maxLines` above 1 replaces any `WebkitLineClamp` passed in `style`. +[docs] Heading: document the `xstyle`, `className`, `style`, and `ref` props, including that a `maxLines` above 1 replaces any `WebkitLineClamp` passed in `style`. (#9328) @cixzhang diff --git a/.changeset/heading-menu-accessible-name.md b/.changeset/heading-menu-accessible-name.md index 159ef4afcf13f..ac3e328d0288a 100644 --- a/.changeset/heading-menu-accessible-name.md +++ b/.changeset/heading-menu-accessible-name.md @@ -2,5 +2,5 @@ '@astryxdesign/core': patch --- -[fix] Include the visible heading in SideNavHeading and TopNavHeading menu button names, with or without heading links. Keep the translated generic name when TopNavHeading has no heading. +[fix] Include the visible heading in SideNavHeading and TopNavHeading menu button names, with or without heading links. Keep the translated generic name when TopNavHeading has no heading. (#9329) @korkt-kim diff --git a/.changeset/hide-numberinput-s-compact-stepper-buttons-on-co-6epw.md b/.changeset/hide-numberinput-s-compact-stepper-buttons-on-co-6epw.md index c10efe60bb296..f0e32728afbd1 100644 --- a/.changeset/hide-numberinput-s-compact-stepper-buttons-on-co-6epw.md +++ b/.changeset/hide-numberinput-s-compact-stepper-buttons-on-co-6epw.md @@ -2,7 +2,7 @@ '@astryxdesign/core': patch --- -[feat] Adapt NumberInput's compact steppers to primary-pointer precision: hide them on coarse pointers and restore the field's themed end padding. Fine-pointer steppers are unchanged. +[feat] Adapt NumberInput's compact steppers to primary-pointer precision: hide them on coarse pointers and restore the field's themed end padding. Fine-pointer steppers are unchanged. (#8015) Compatibility: this is a non-breaking presentation adaptation. The public props and exports, numeric value and callback contracts, validation, direct entry, and keyboard stepping remain unchanged; existing NumberInput calls require no source or configuration migration. Coarse-pointer users enter the value directly instead of using the compact visual stepper aids. diff --git a/.changeset/hooks-comment-cleanup-2.md b/.changeset/hooks-comment-cleanup-2.md index b9c9dcf0cc5db..4c85eac46642b 100644 --- a/.changeset/hooks-comment-cleanup-2.md +++ b/.changeset/hooks-comment-cleanup-2.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[docs] More source comments in the core hooks are shorter and explain only non-obvious reasons. Nothing a consumer imports or renders changes. +[docs] More source comments in the core hooks are shorter and explain only non-obvious reasons. Nothing a consumer imports or renders changes. (#9520) @cixzhang diff --git a/.changeset/hooks-comment-cleanup.md b/.changeset/hooks-comment-cleanup.md index 6338ca2848836..83672ac2e6454 100644 --- a/.changeset/hooks-comment-cleanup.md +++ b/.changeset/hooks-comment-cleanup.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[docs] Source comments in the core hooks are shorter and explain only non-obvious reasons. A few hook doc comments are reworded. Nothing a consumer imports or renders changes. +[docs] Source comments in the core hooks are shorter and explain only non-obvious reasons. A few hook doc comments are reworded. Nothing a consumer imports or renders changes. (#9514) @cixzhang diff --git a/.changeset/hover-card-audit-docs.md b/.changeset/hover-card-audit-docs.md index f93ac664a59c9..85256a1e8c43e 100644 --- a/.changeset/hover-card-audit-docs.md +++ b/.changeset/hover-card-audit-docs.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[docs] HoverCard: document the `xstyle`, `className`, `style`, and `isOpen` props in every doc language, say that a text trigger is wrapped for you and an element trigger needs no ref, and say that `hasHoverIndication` applies to text triggers only. +[docs] HoverCard: document the `xstyle`, `className`, `style`, and `isOpen` props in every doc language, say that a text trigger is wrapped for you and an element trigger needs no ref, and say that `hasHoverIndication` applies to text triggers only. (#9536) @cixzhang diff --git a/.changeset/hover-layers-disabled-reason-tap.md b/.changeset/hover-layers-disabled-reason-tap.md index f1ad87acf81db..d29874452a48e 100644 --- a/.changeset/hover-layers-disabled-reason-tap.md +++ b/.changeset/hover-layers-disabled-reason-tap.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] Tooltip and HoverCard: a tap on a disabled `Button`, `IconButton` or `ToggleButton`, or a disabled menu item, now opens the tooltip that explains why it is disabled, and nothing activates. Before, with `touchTrigger="auto"` (the default), the tap counted as the control's own action, so on a touch screen the disabled reason could not be reached (`spec:AST-085` FR5, `architecture:interaction-modality` INV4). An `aria-disabled` control now performs no action, and a tap on a label for a disabled control opens its reason too. A tap on a disabled control inside another acting trigger, such as an option row or a link-role card, now opens that trigger's tooltip or hover card. Taps on enabled controls, `touchTrigger="tap"` and `"none"`, and mouse hover are unchanged. +[fix] Tooltip and HoverCard: a tap on a disabled `Button`, `IconButton` or `ToggleButton`, or a disabled menu item, now opens the tooltip that explains why it is disabled, and nothing activates. Before, with `touchTrigger="auto"` (the default), the tap counted as the control's own action, so on a touch screen the disabled reason could not be reached (`spec:AST-085` FR5, `architecture:interaction-modality` INV4). An `aria-disabled` control now performs no action, and a tap on a label for a disabled control opens its reason too. A tap on a disabled control inside another acting trigger, such as an option row or a link-role card, now opens that trigger's tooltip or hover card. Taps on enabled controls, `touchTrigger="tap"` and `"none"`, and mouse hover are unchanged. (#8207) @vjeux diff --git a/.changeset/hstack-audit-docs.md b/.changeset/hstack-audit-docs.md index eb915dc195519..94b6dd4a832af 100644 --- a/.changeset/hstack-audit-docs.md +++ b/.changeset/hstack-audit-docs.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[docs] HStack: say that items follow the writing direction (right to left in RTL), that an explicit `hAlign` or `vAlign` wins over its `justify` or `align` alias, and document the `className`, `style`, and `ref` props. +[docs] HStack: say that items follow the writing direction (right to left in RTL), that an explicit `hAlign` or `vAlign` wins over its `justify` or `align` alias, and document the `className`, `style`, and `ref` props. (#9540) @cixzhang diff --git a/.changeset/input-stream-recognizers.md b/.changeset/input-stream-recognizers.md index f836fbddad4b5..79575a3a8940c 100644 --- a/.changeset/input-stream-recognizers.md +++ b/.changeset/input-stream-recognizers.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: the gesture recognizers hear page-wide input through the same shared stream on the window's capture phase, so an app's window-capture `stopPropagation`, or a document-capture `stopImmediatePropagation` registered before Core, no longer hides a touch from them; a recognizer that must claim a touch mid-gesture still needs the touch to reach its element. Each event type's listener is passive unless a subscriber cancels it (the gesture host's `touchend` and `contextmenu` while a claiming recognizer or press tracker is attached, the page hold's `touchmove` while it holds, and the click guard's `click` while it is armed, and from the menu press model's first arm on), so a page of pressables registers no listener that can hold a scroll. +[chore] Internal: the gesture recognizers hear page-wide input through the same shared stream on the window's capture phase, so an app's window-capture `stopPropagation`, or a document-capture `stopImmediatePropagation` registered before Core, no longer hides a touch from them; a recognizer that must claim a touch mid-gesture still needs the touch to reach its element. Each event type's listener is passive unless a subscriber cancels it (the gesture host's `touchend` and `contextmenu` while a claiming recognizer or press tracker is attached, the page hold's `touchmove` while it holds, and the click guard's `click` while it is armed, and from the menu press model's first arm on), so a page of pressables registers no listener that can hold a scroll. (#8360) @vjeux diff --git a/.changeset/input-stream.md b/.changeset/input-stream.md index a55f98ee0c8c0..ffb68af8567f0 100644 --- a/.changeset/input-stream.md +++ b/.changeset/input-stream.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] Touch press feedback now hears scrolls and page hides on the window's capture phase, where its pointer listeners already were. Under an app's window-capture `stopPropagation`, or a document-capture `stopImmediatePropagation` registered before Core, a finger's pressed look now ends when the content under it scrolls, and every pressed look ends when the page is hidden. +[fix] Touch press feedback now hears scrolls and page hides on the window's capture phase, where its pointer listeners already were. Under an app's window-capture `stopPropagation`, or a document-capture `stopImmediatePropagation` registered before Core, a finger's pressed look now ends when the content under it scrolls, and every pressed look ends when the page is hidden. (#8360) @vjeux diff --git a/.changeset/interaction-overlay-styles-xstyle-type.md b/.changeset/interaction-overlay-styles-xstyle-type.md index b1b3e21f296a9..e380364725a3d 100644 --- a/.changeset/interaction-overlay-styles-xstyle-type.md +++ b/.changeset/interaction-overlay-styles-xstyle-type.md @@ -2,5 +2,5 @@ '@astryxdesign/core': patch --- -[fix] TypeScript users applying `interactionOverlayStyles` through an Astryx component's `xstyle` no longer get a type error. The touch-press properties of each variant (`animationName`, `animationDuration`, `animationTimingFunction`, `animationFillMode`, and the colour variants' `backgroundImage`) now carry their CSS value types instead of `unknown`. The generated CSS is unchanged. +[fix] TypeScript users applying `interactionOverlayStyles` through an Astryx component's `xstyle` no longer get a type error. The touch-press properties of each variant (`animationName`, `animationDuration`, `animationTimingFunction`, `animationFillMode`, and the colour variants' `backgroundImage`) now carry their CSS value types instead of `unknown`. The generated CSS is unchanged. (#9440) @cixzhang diff --git a/.changeset/inv23-dead-duplicate-private-selectors.md b/.changeset/inv23-dead-duplicate-private-selectors.md index 16ebbbbeb35fb..dcc22f3501826 100644 --- a/.changeset/inv23-dead-duplicate-private-selectors.md +++ b/.changeset/inv23-dead-duplicate-private-selectors.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[chore] Internal: ChatLayout drops a scrollbar style rule whose condition nothing ever set, and Popover, Table and the press feedback controller each read an internal marker through one shared name instead of a second hand-typed copy. No visible or behavioral change. +[chore] Internal: ChatLayout drops a scrollbar style rule whose condition nothing ever set, and Popover, Table and the press feedback controller each read an internal marker through one shared name instead of a second hand-typed copy. No visible or behavioral change. (#9256) @cixzhang diff --git a/.changeset/item-swipe-entry-focusable-disabled.md b/.changeset/item-swipe-entry-focusable-disabled.md index 0b7644404f4a4..7210e62a41b00 100644 --- a/.changeset/item-swipe-entry-focusable-disabled.md +++ b/.changeset/item-swipe-entry-focusable-disabled.md @@ -2,6 +2,6 @@ '@astryxdesign/core': patch --- -[fix] A disabled swipe action on an `Item` row now stays focusable while the row is swiped open. Before, it rendered a `