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-datepicker: better month and leap year handeling
- More info in the
simple-date-parse
release https://github.com/nrkno/simple-date-parse/releases/tag/v1.0.3
core-toggle: skip aria-label for popups with no explainer text
core-input: auto open if focused on init, add onAjaxBeforeSend to JSX
core-input: Fix hasAttribute bug on keyboard events
v5.1.4 5.1.4
core-tabs: JSX now accepts falsey React elements
v5.1.3 5.1.3
core-input: avoid onFilter when using ajax parameter
v5.1.2 5.1.2
core-progress: fix for setting value 0
v5.1.1 5.1.1
core-toggle: support popup: true
v5.1.0 5.1.0
core-toggle: Now with select-mode
@nrk/core-toggle
has enhanced accessibility by usingpopup: String
instead ofpopup: true
- For instance:
popup: 'Distriktsvelger'
- New event:
toggle.select
allows you to listen for clicks on interactive elements inside a toggle coreToggle(element, { value: String })
allows you to set HTML of toggle button (keeping screen reader hints in sync)
core-progress / core-dialog patches
@nrk/core-progress
now behaves in IE even when changingmax
attribute@nrk/core-dialog
now bubles focus events from correct element also in Firefox and Safari