Commit Graph

16 Commits

Author SHA1 Message Date
maoyingjie ff7c4ee45a feat: migrate public DateRangePicker with shared range field and calendar owners 2026-10-26 23:05:36 +08:00
maoyingjie 9a69f92233 feat: migrate public DatePicker with shared field and calendar owners 2026-10-26 22:01:27 +08:00
maoyingjie 07f6aeadb6 feat: migrate RangeCalendar public components and demos 2026-10-26 21:25:25 +08:00
maoyingjie dbcce1871e chore: reduce migration history and streamline validation workflow 2026-10-26 09:47:31 +08:00
maoyingjie 647c39035d merge: integrate public collection picker migration
# Conflicts:
#	AGENTS.md
#	docs/compatibility.md
#	docs/upstream.md
#	docs/verification.md
#	package.json
#	packages/styles/src/index.ts
#	packages/vue/src/index.ts
#	packages/vue/src/types.ts
#	tests/package/README.md
2026-10-25 20:55:18 +08:00
maoyingjie 50ad3ca180 fix(collection): close the six review gaps in filtering and virtual focus
- Keep the composite input focused on real pointer presses: cancel the default
  focus transfer for plain row presses only, leaving nested controls and already
  cancelled callers alone.
- Drive the virtual window, total height, reveal index and aria positions from
  the visible subset, and render the empty channel when filtering removes every
  row. Non-virtualized rows stay mounted and are hidden, so their text and
  accepted selection survive.
- Scroll mounted rows for reveal/focus outside virtualization, wait for a
  virtualized row to mount (frame-based, bounded), and drop reveal requests that
  filtering, closing or unmounting made obsolete.
- Stop overwriting caller `hidden`: mergeProps deletes an earlier key when a
  later value is undefined, so the filter now only adds `hidden` when the caller
  did not set it.
- Share keyboard modality through an optional `keyboardIntent` ref so a pointer
  press no longer leaves the active row without data-focus-visible.
- Give the verification harness instance-unique ids and derive
  aria-activedescendant from open state, mounted id and filter visibility.

Adds the reviewer probe plus eight regressions, and a virtualized harness
instance for the browser smoke of filtering plus window/height/positions.
2026-10-25 16:28:33 +08:00
maoyingjie db18d0d3da feat: establish composed color field and input group protocols 2026-10-25 15:20:02 +08:00
maoyingjie 1b972a78ba feat(collection): add optional filtering and virtual focus for composite pickers
ComboBox and Autocomplete need two capabilities the collection protocol did not
express: filtering a collection by an external input value, and keeping DOM focus
in the composite's input while an active option is tracked for
aria-activedescendant.

Both are opt-in members on CollectionOwner plus optionId/reveal on the owned
collection. Standalone ListBox and Select provide none of them and keep their
previous behaviour: DOM focus still moves into the list, one roving tab stop, no
row filtering.

Filtered rows stay mounted with data-filtered (display:none) so their text and
accepted selection survive; only display, aria positions and keyboard navigation
see the visible subset. Under virtual focus the list never takes DOM focus,
never exposes a roving tab stop, and leaves keyboard handling to the composite;
reveal() scrolls a virtualized window and waits for the row to mount before the
composite reads its id.

Includes the playground verification page, a ten-case suite and the B02a section
of the migration report.
2026-10-25 14:53:49 +08:00
maoyingjie 712b6c6037 feat: establish color slider geometry and picker composition 2026-10-25 14:37:48 +08:00
maoyingjie a042f5c44c feat: establish shared color channel and text input protocols 2026-10-25 14:20:12 +08:00
maoyingjie 57d7cbb2d6 feat: establish shared color state and area interaction foundation 2026-10-25 11:10:47 +08:00
maoyingjie cfc97fdc07 feat: establish shared calendar range selection foundation 2026-10-25 10:22:22 +08:00
maoyingjie 50f561a758 fix: reveal Select focus after floating positioning 2026-10-23 22:47:36 +08:00
maoyingjie 99df0f1c91 feat: migrate ScrollShadow and Tabs with docs and keyboard support 2026-10-23 00:25:45 +08:00
maoyingjie 2b4ac04df1 feat: migrate Modal Popover and Tooltip with shared overlay foundation 2026-10-22 23:39:51 +08:00
maoyingjie 9d40dc0ecb feat: initialize Vue component library and aligned documentation 2026-10-21 09:06:28 +08:00