muxinc / media-chrome

Custom elements (web components) for making audio and video player controls that look great in your website or app.
https://media-chrome.org
MIT License
1.77k stars 71 forks source link

feat: add option-selected part for selected option elements #724

Closed AdamJaggard closed 1 year ago

AdamJaggard commented 1 year ago

Allows you to select only selected options via css ::part(selected-option) as ::part doesn't support combining with other selectors like [aria-selected="true"].

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
media-chrome ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 18, 2023 2:04pm
media-chrome-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 18, 2023 2:04pm
codecov[bot] commented 1 year ago

Codecov Report

Merging #724 (618054c) into main (bc95f55) will increase coverage by 0.01%. Report is 2 commits behind head on main. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #724      +/-   ##
==========================================
+ Coverage   80.02%   80.03%   +0.01%     
==========================================
  Files          53       53              
  Lines        9908     9913       +5     
==========================================
+ Hits         7929     7934       +5     
  Misses       1979     1979              
Files Changed Coverage Δ
src/js/experimental/media-captions-selectmenu.js 100.00% <100.00%> (ø)
src/js/experimental/media-chrome-option.js 96.01% <100.00%> (+0.10%) :arrow_up:
.../js/experimental/media-playback-rate-selectmenu.js 100.00% <100.00%> (ø)
src/js/experimental/media-rendition-selectmenu.js 100.00% <100.00%> (ø)