Skip to content

docs(select-menu/input-menu): use grouped items in items type example#278

Merged
IgorShevchik merged 1 commit into
mainfrom
sync/nuxt-17196ec
Jul 15, 2026
Merged

docs(select-menu/input-menu): use grouped items in items type example#278
IgorShevchik merged 1 commit into
mainfrom
sync/nuxt-17196ec

Conversation

@IgorShevchik

Copy link
Copy Markdown
Collaborator

Syncs upstream nuxt/ui commit 17196ecdocs(select-menu/input-menu): use grouped items in items type example.

What

In the items-type example, restructures the flat items list into an array of arrays (one sub-array per label group), and adds a ::note to all three docs: "When using label items as group headings, pass an array of arrays so a label gets filtered out together with its group when searching."

b24ui port

  • input-menu.md / select-menu.md — grouped the Fruits / Vegetables label headings into sub-arrays. b24ui's examples carry an extra intra-Fruits type: 'separator' (a fork demo detail), preserved inside the Fruits sub-array. Added the note.
  • listbox.md — b24ui's listbox items example already uses the grouped (array-of-arrays) format, so it only gains the note.

Docs-content (Markdown) only.

Verify (CI=true)

dev:prepare · lint · typecheck · test · build — all green. Suite 5485 passed / 6 skipped (unchanged; docs-content only).

Ledger: cursor advanced to 17196ec; previous entry fe5bb23 reconciled to PR #277.

🤖 Generated with Claude Code


Generated by Claude Code

… (17196ec)

Restructure the flat items example in input-menu.md and select-menu.md
into an array of arrays (one sub-array per label group), and add a note
to input-menu/listbox/select-menu explaining that label group headings
should be grouped so a label filters out with its group. b24ui's listbox
example already uses the grouped format, so it only gains the note.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JS8ypVfQSFzYVZzkTHhURb
@IgorShevchik IgorShevchik merged commit 97e7e3d into main Jul 15, 2026
1 check passed
@IgorShevchik IgorShevchik deleted the sync/nuxt-17196ec branch July 15, 2026 06:20
IgorShevchik added a commit that referenced this pull request Jul 15, 2026
…9) (#279)

Syncs upstream nuxt/ui commit f951529 (#6723) — wrap looping animate-*
utilities in the motion-safe: variant and add motion-reduce: fallbacks so
animations honor the user's prefers-reduced-motion setting.

- chat-messages.ts: bounce indicator dots → motion-safe:
- chat-shimmer.ts: shimmer + rtl-shimmer → motion-safe:; base gains
  motion-reduce:bg-none motion-reduce:text-muted
- progress.ts: all 10 indicator animations (incl. fork-extra
  progressbar-loading / -vertical) → motion-safe:; base indicator gains
  motion-reduce:data-[state=indeterminate]:animate-pulse
- table.ts: all 5 loading thead animations (incl. fork-extra
  progressbar-loading) → motion-safe:; base loading thead gains
  motion-reduce:after:inset-x-0 motion-reduce:after:animate-pulse
- docs: reduced-motion ::tip added to chat-shimmer / progress / table
- Marquee N/A (b24ui has no Marquee component)

Snapshots regenerated (118 across 14 spec files — ChatTool/ChatReasoning
embed ChatShimmer, Toast embeds Progress). Suite: 5485 passed / 6 skipped.

Ledger: cursor → f951529; previous entry 17196ec reconciled to PR #278.


Claude-Session: https://claude.ai/code/session_01JS8ypVfQSFzYVZzkTHhURb

Co-authored-by: Shevchik Igor <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants