This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
Releases: nrkno/core-components
Releases · nrkno/core-components
core-scroll: prevent links when movement has occured
v1.3.3 1.3.3
core-scroll: margin and cursor
- Include margin when calculating item coordinates
- Only show
grab
cursor when scrolling is available
coreTogge: Only handle closing on open popups
v1.3.1 1.3.1
coreScroll: Friction option and resize listener
v1.3.0 1.3.0
coreTabs: Remove tabindex on tabpanels
- Aria 1.1 states tabpanels should have
tabindex="0"
, but testing shows this is experienced as a unfamiliar pattern, so we remove it for now
Bugfixes
- Correctly return Array of elements on all vanilla components
- Allow adjacent DOM inside JSX components to remain unchanged
Make coreTabs able to re-use panels
coreTabs
can all now link to the same panel element, for DOM re-usage
coreTabs supporting custom DOM structure
coreTabs
now supports other structures by respectingaria-controls
on tab elements- See documentation FAQ: https://static.nrk.no/core-components/latest/#tabs
coreDialog add support for IE9
v1.1.2 1.1.2
Fix dispatchEvent to avoid infinite loops
- Fix infinite loop caused by preventing a custom event, and calling it again before initial event bubbling has finished
- Affects
coreToggle