• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

adobe / spectrum-web-components / 33914195521
96%

Build:
DEFAULT BRANCH: main
Ran 04 Sep 2026 08:10PM UTC
Jobs 1
Files 406
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Sep 2026 08:02PM UTC coverage: 96.286% (+0.03%) from 96.253%
33914195521

push

github

web-flow
fix(combobox, breadcrumbs): propagate lang/dir for a single item's language without breaking layout (#6496)

* fix(combobox, breadcrumbs): propagate lang/dir for a single item's language without breaking layout

Previously, setting `lang`/`dir` on a slotted `<sp-menu-item>` (Combobox)
or `<sp-breadcrumb-item>` (Breadcrumbs) had no effect on the rendered
popover/overflow-menu counterpart, since both components synthesize new
elements from extracted data rather than reusing the originals.

- Combobox: forwards `lang`/`dir` from slotted items (or `.options` data)
  onto the rendered popover `<sp-menu-item>`, and now syncs the input's
  own `lang` to the committed option's language for correct pronunciation.
- Breadcrumbs: same propagation for the "More items" overflow menu.
- BreadcrumbItem: forwards `lang`/`dir` to `#item-link` only, so a single
  item's language does not flip its own layout or its separator's
  mirrored chevron. The separator now explicitly tracks the *ambient*
  direction (nearest ancestor `dir`, or the document default) instead of
  inheriting the host's own `dir` attribute via `:dir()`, including live
  updates when an ancestor's `dir` changes after mount, and across the
  shadow-root boundary for the overflow-menu wrapper item.

Along the way, worked around two non-obvious base-class behaviors that
caused regressions mid-fix: `SpectrumElement` overrides `dir` to return
computed CSS direction rather than the attribute (must read
`getAttribute('dir')` for authored values), and CSS `:dir()` resolves
directionality via the attribute chain, independent of the `direction`
property.

Adds Storybook stories (`languageOfParts` / `LanguageOfParts`) and test
coverage for each fix, each verified to fail without its corresponding
code change.

Jira: SWC-2359

fix: refactor `dir` attribute normalization into a utility method

fix(combobox): use correct type shape

Co-Authored-By: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.git... (continued)

6112 of 6556 branches covered (93.23%)

Branch coverage included in aggregate %.

425 of 427 new or added lines in 8 files covered. (99.53%)

38557 of 39836 relevant lines covered (96.79%)

459.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
96.2
-0.09% 1st-gen/packages/breadcrumbs/src/Breadcrumbs.ts
Jobs
ID Job ID Ran Files Coverage
1 33914195521.1 04 Sep 2026 08:10PM UTC 406
96.29
GitHub Action Run
Source Files on build 33914195521
  • Tree
  • List 406
  • Changed 13
  • Source Changed 7
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33914195521
  • 655df6c2 on github
  • Prev Build on main (#33735232193)
  • Next Build on main (#34252229720)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc