Skip to content

feat(core): add item endContent slots - #2802

Merged
cixzhang merged 1 commit into
mainfrom
navi/feat/dropdown-item-end-content
Jun 13, 2026
Merged

feat(core): add item endContent slots#2802
cixzhang merged 1 commit into
mainfrom
navi/feat/dropdown-item-end-content

Conversation

@cixzhang

@cixzhang cixzhang commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add endContent to XDSDropdownMenuItem and XDSSelectorOption
  • remove the old trailing-content children prop while XDS is still prerelease
  • update XDSContextMenuItem docs to reflect the inherited endContent slot
  • add the migrate-item-children-to-endcontent codemod for XDSDropdownMenuItem, XDSContextMenuItem, and XDSSelectorOption
  • migrate the existing Schedule view selector usage by running the new codemod

Validation

  • pnpm test packages/cli/src/codemods/transforms/v0.0.15/__tests__/migrate-item-children-to-endcontent.test.mjs packages/core/src/DropdownMenu/XDSDropdownMenu.test.tsx packages/core/src/ContextMenu/XDSContextMenu.test.tsx packages/core/src/Selector/XDSSelector.test.tsx packages/cli/src/codemods/__tests__/registry.test.mjs packages/cli/src/commands/upgrade.test.mjs
  • pnpm -F @xds/core typecheck
  • pnpm -F @xds/core typecheck:docs
  • pnpm -F @xds/docsite generate
  • pnpm check:sync
  • pnpm check:package-boundaries
  • pnpm -F @xds/core build
  • node packages/cli/bin/xds.mjs upgrade --codemod migrate-item-children-to-endcontent --path packages/lab/src/Schedule/plugins --apply migrated the local usage

@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
xds-sandbox Ignored Ignored Jun 13, 2026 3:55am

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jun 12, 2026
@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

🚀 Vercel Preview Deployment

Status ✅ Deployed
Preview Open Preview
Commit 1d1beec
Inspect Vercel Dashboard
Workflow View Logs

No authentication required — anyone with the link can view the preview.

@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

PR Analysis Report

📚 Storybook Preview

View Storybook for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

🧪 Sandbox Preview

View Sandbox for this PR
GitHub Pages may take up to a minute to hydrate after deploy.

No new or modified components detected.

Bundle Size Summary

Package Size (ESM) Size (CJS) Gzipped
@xds/core N/A 4.5KB 0B

Accessibility Audit

Status: No accessibility violations detected.


Generated by PR Enrichment workflow | Storybook | Sandbox | View full report

@cixzhang
cixzhang force-pushed the navi/feat/dropdown-item-end-content branch from 4a1fb6d to 38f69db Compare June 12, 2026 23:36
@cixzhang
cixzhang force-pushed the navi/feat/dropdown-item-end-content branch from 38f69db to 1d1beec Compare June 13, 2026 03:55
@cixzhang
cixzhang merged commit 74c7e46 into main Jun 13, 2026
22 checks passed
cixzhang added a commit that referenced this pull request Jun 21, 2026
cixzhang added a commit that referenced this pull request Jun 21, 2026
@cixzhang
cixzhang deleted the navi/feat/dropdown-item-end-content branch June 21, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant