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

IgniteUI / igniteui-webcomponents / 23137424857
98%

Build:
DEFAULT BRANCH: master
Ran 16 Mar 2026 09:47AM UTC
Jobs 1
Files 198
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

16 Mar 2026 09:44AM UTC coverage: 98.311% (-0.005%) from 98.316%
23137424857

push

github

web-flow
refactor(splitter): Improved ARIA semantics and code organization (#2145)

Replace `[start-collapsed]` / `[end-collapsed]` reflected attributes with
CSS custom states via ElementInternals (`addInternalsController`). Collapsed
panes are now exposed as `:state(start-collapsed)` / `:state(end-collapsed)`,
keeping the public API surface clean.

- Extract internal types (`PanePosition`, `SplitterPaneState`, `PaneResizeSnapshot`,
  `SplitterResizeState`, event maps) into a dedicated `types.ts` module
- Embed `StyleInfo` directly in `SplitterPaneState` to eliminate separate
  `_startPaneInternalStyles` / `_endPaneInternalStyles` / `_barInternalStyles` fields
- Replace mutation-by-spread with direct property assignment on pane state objects
- Rename `_barRef` → `_separatorRef` for semantic clarity; remove `_updateCursor()`
  (cursor now set inline via `styleMap` in `_renderSeparator()`)
- Unify `_handleExpanderStartAction` / `_handleExpanderEndAction` into
  `_handleExpanderAction(pane)` and simplify `_resolvePartNames`
- Add `_isCollapsed(which)`, `_getPaneState(which)`, and `_isHorizontal` helpers
  to reduce repetitive conditionals
- Extract `_renderSeparator()` and `_renderAccessibleLabel()` render helpers;
  add an `igc-visually-hidden` label announcing current collapse state to assistive
  tech; set `aria-labelledby` on the separator element
- Pass pre-computed `totalSize` into `_createPaneState`, `_setMinMaxInPx`,
  `_setPaneMinMaxSizes`, etc. to avoid redundant `getBoundingClientRect` calls
- Register `IgcVisuallyHiddenComponent` as a sub-dependency
- Extract `KEYBOARD_RESIZE_STEP = 10` constant
- Update base SCSS and all spec assertions to use `:state(...)` selectors
- Expand Storybook: add `Vertical`, `WithConstraints`, and `ProgrammaticCollapse`
  stories; improve all control and component descriptions; fix `NestedSplitters`
  to pass inner splitters directly into named slots

Co-authored-by: Bozhidara Pachilova <35433937+ddaribo@users.noreply.github.com>

5539 of 5828 branches covered (95.04%)

Branch coverage included in aggregate %.

354 of 356 new or added lines in 1 file covered. (99.44%)

1 existing line in 1 file now uncovered.

38289 of 38753 relevant lines covered (98.8%)

1533.81 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
97.52
-0.21% src/components/splitter/splitter.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
97.52
-0.21% src/components/splitter/splitter.ts
Jobs
ID Job ID Ran Files Coverage
1 23137424857.1 16 Mar 2026 09:47AM UTC 198
98.31
GitHub Action Run
Source Files on build 23137424857
  • Tree
  • List 198
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23137424857
  • fa49ac2d on github
  • Prev Build on master (#23133388949)
  • Next Build on master (#23152916948)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc