Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-08-14 | 2.7 kB | |
Release 4.2696.0 source code.tar.gz | 2025-08-14 | 450.6 MB | |
Release 4.2696.0 source code.zip | 2025-08-14 | 454.5 MB | |
Totals: 3 Items | 905.2 MB | 1 |
Ws 386 add nav buttons to pv desktop experience (<a href="https://github.com/bbc/simorgh/pull/13043">#13043)
* isMobile boolean to set player arrow controls on or off
* basic arrows by copilot! [copilot]
* some styling
* square buttons
* buttons 16px from media player
* no cancel icon on hover on disabled button
* move styles into styles file in navButtonColumn
* disabled button style
* unit tests for navigation between video blocks
* added 8px gap between buttons
* fixed button gap, size and added hover effect
* added functionality for keeping border around button when clicked [copilot]
* when disabled removed hover effect
* fixed button border size when focused
* made modal with the addition of navigational button accessible
* refactored and moved up/down arrow svg functions into icons file
* moved main close button before navigation buttons to pass tests
* updated test to set includeNextButton and includePreviousButton to false on desktop and true on mobile
* fixed linting issues
* fixed lonely if statement
* fixed linting
* added unit tests for disabling button when on first and last video
* added test to ensure both buttons enabled when not on first or last video [copilot]
* added unit tests for tabbing and ensuring focus order is correct
* focus behaviour doesnt work as expected in unit test jsdom
* use spacings for rem
* remove comments, the work they mention is done
* refactored pixels to pixelsToRem
* reverted focusable element logic and used :disabled pseudo-class
* added pointerEvents:none for hover effect
* added cursor:auto
* removed cursor auto
* flexDirection in modal style
* removed disabled condition and added units for styling
* removed unnecessary parameters and functions
* reinsted scaling on hover and fixed :disabled pseudo-class
* added &:focus-visible for tabbing with keyboard
* added paddingInlineStart to cater for RTL languages
* prettier
* Use BUMP API methods for prev/next button navigation
* Test fixes
* Re-add enabled
CSS state on buttons
---------
Co-authored-by: Nabeel Khan nabeel.khan@bbc.co.uk
Co-authored-by: Nabeel Khan 145987267+Nabeel1276@users.noreply.github.com
Co-authored-by: Aaron Moore aaron.moore@bbc.co.uk