Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Releases: nrkno/core-components

core-dialog: Allow undefined OPENER

18 Sep 11:04
Compare
Choose a tag to compare
  • When the user exits a core-dialog, we try to move focus back to original position
  • If this element "OPENER" is removed, core-dialog will no longer throw an Error

core-datepicker: aria-pressed › data-core-datepicker-selected

10 Sep 14:14
Compare
Choose a tag to compare
  • @nrk/core-datepicker now uses data-core-datepicker-selected as attribute for indicating selected date instead of aria-pressed due to screen reader inconsistencies

core-input: move focus to input element

10 Sep 14:13
Compare
Choose a tag to compare
  • @nrk/core-input: Arrowing up from results list can now move focus to input element

core-dialog + core-toggle: UU fixes

10 Sep 14:12
Compare
Choose a tag to compare
  • @nrk/core-dialog now lets screen reader move focus out of open dialog, and back in, without jumping to autofocus element
  • @nrk/core-toggle now uses data-haspopup instead of aria-haspopup due to inconsistent behaviour in Windows based screen readers

Fix hasAttribute exception

29 Aug 10:34
Compare
Choose a tag to compare
  • Fix for #104 - exception when falsly trying to run document.hasAttribute(UUID)

core-scroll: Also hide scrollbar on Android

17 Aug 06:38
Compare
Choose a tag to compare
  • Android shows scrollbar also outside overflow: hidden
  • We now add custom CSS to hide this

core-scroll: Consistent size regardless of scrollbar

14 Aug 13:19
Compare
Choose a tag to compare
  • Adding correlating padding to make up for space taken/not taken by scrollbars

core-scroll: Allow small movements within clicks

14 Aug 13:17
Compare
Choose a tag to compare
  • Previously, even 1px movement counted as a "drag" making it hard to put links in @nrk/core-scoll
  • Now there is a 10px threshold before preventing clicks

core-scroll: Aslo hide scrollbars on MacOSX

10 Aug 11:07
Compare
Choose a tag to compare
  • Added fallback for OSX where scrollbars are "0" pixels tall because of auto-hiding

core-scroll: reinitialize when new JSX children and add scroll.click event

07 Aug 13:20
Compare
Choose a tag to compare