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

corex-ui / corex / 694796eb5572aff056ba530ff0dfc61424be7e0d
93%

Build:
DEFAULT BRANCH: main
Ran 26 Aug 2026 07:09AM UTC
Jobs 1
Files 192
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

26 Aug 2026 07:09AM UTC coverage: 93.224% (-0.2%) from 93.383%
694796eb5572aff056ba530ff0dfc61424be7e0d

push

github

web-flow
feat: add Corex.Slider for single-thumb and range (#106)

* feat: add Corex.Slider for single-thumb and range

Uncontrolled Zag slider covering one thumb or N thumbs from the value
list, with form gating, JS/server API, design CSS, and demo/e2e coverage
following AngleSlider.

Co-authored-by: Karim Semmoud <karim-semmoud@users.noreply.github.com>

* fix: satisfy Credo and formatter for Slider

Simplify hidden-input attrs, use ~S in assertions, format e2e HEEx/JS
helpers, and order aliases so mix lint and prettier pass.

Co-authored-by: Karim Semmoud <karim-semmoud@users.noreply.github.com>

* fix: ignore Slider JS opaque Dialyzer contracts

Match other components: Phoenix.LiveView.JS.dispatch success typing
trips contract_with_opaque on Slider API helpers.

Co-authored-by: Karim Semmoud <karim-semmoud@users.noreply.github.com>

* fix: make Slider thumbs measurable and add max-width style axis

SSR thumbs now expose role=slider so Zag can measure size before the
first spread (contain alignment was leaving them visibility:hidden and
unfocusable). Wire the fill-host Max width section on the style page.

Co-authored-by: Karim Semmoud <karim-semmoud@users.noreply.github.com>

* fix: dismiss overlays before Slider-related E2E clicks

Open Combobox/DatePicker floating layers were intercepting Wallaby clicks
on the next trigger (playground Select, range anatomy). Close the open
layer first, and stop mapping slider track control to checkbox chrome.

Co-authored-by: Karim Semmoud <karim-semmoud@users.noreply.github.com>

* fix: keep slider thumbs and markers visible after hydration

Zag's default contain alignment hides thumbs and markers until thumbSize
is measured. Seed thumbSize from SSR layout before the machine starts so
hydration does not flash content away.

Also align SSR thumb and marker offsets with Zag's contain positioning
using calc() and --thumb-size, and add regression tests.

Co-authored-by: Karim Semmoud <karim-semmoud@users.noreply.github.com>... (continued)

494 of 544 new or added lines in 4 files covered. (90.81%)

8213 of 8810 relevant lines covered (93.22%)

36.6 hits per line

Uncovered Changes

Lines Coverage ∆ File
35
89.8
lib/components/slider.ex
12
93.44
lib/components/slider/connect.ex
3
86.54
-1.02% lib/components/angle_slider.ex
Jobs
ID Job ID Ran Files Coverage
1 694796eb5572aff056ba530ff0dfc61424be7e0d.1 26 Aug 2026 07:10AM UTC 192
93.22
GitHub Action Run
Source Files on build 694796eb5572aff056ba530ff0dfc61424be7e0d
  • Tree
  • List 192
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 694796eb on github
  • Prev Build on main (#23178A80...)
  • Next Build on main (#4E061B66...)
  • Delete
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