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-progress: new component

28 Nov 15:00
Compare
Choose a tag to compare

core-toggle: bugfix popup closing iOS

07 Nov 23:22
Compare
Choose a tag to compare

Added fix for iOS to close core-toggle with {popup: true} - also on "non-clickable" elements
See more in #138

core-dialog: bugfix for Microsoft Edge

02 Nov 14:33
Compare
Choose a tag to compare
  • transitionend can bubble to document, this caused issues in Microsoft Edge

core-scroll revert 120 and add documentation

22 Oct 12:27
Compare
Choose a tag to compare
  • @nrk/core-scroll also triggers native scroll event, this is now documented
  • This makes settings introduced in #120 redundant :)

Bugfix: Core dialog

18 Oct 07:53
Compare
Choose a tag to compare

z-index limit for the backdrop at 2000000000 to avoid overflowing z-index caused by browser extensions. More info at: https://techjunkie.com/maximum-z-index-value

Bugfix: Core scroll

17 Oct 12:30
Compare
Choose a tag to compare

Support elements that needs mousedown. <input>, <textarea> etc. now works inside core-scroll

Bugfixes core-toggle + core-datepicker

15 Oct 08:55
Compare
Choose a tag to compare
  • core-datepicker: language settings now also works in React
  • core-toggle: Fixed automatically collapsing <select> in core-toggle popups

core-scroll: adjust throttle speed

05 Oct 14:33
Compare
Choose a tag to compare

It is now possible to adjust the throttling speed on the scroll.change event. This can be done by passing in a third parameter to core-scroll with e.g.: { scrollMs: 100}

core-dialog + core-datepicker uu fixes

24 Sep 08:25
Compare
Choose a tag to compare
  • @nrk/core-dialog: now respects event.defaultPrevented when trying to close with ESC
  • @nrk/core-datepicker: spells out full date in grid with screen readers
  • @nrk/core-datepicker: removed unneeded aria-disabled
  • @nrk/core-datepicker: autofocuses current date in grid

core-toggle autofocus + core-input ajax.beforeSend

24 Sep 08:22
Compare
Choose a tag to compare
  • @nrk/core-toggle: Added support for [autofocus] attribute in content
  • @nrk/core-toggle: Added support for aria-controls for more flexible markup
  • @nrk/core-input: Added input.ajax.beforeSend event to support customized ajax requests