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

Releases: nrkno/core-components

JSX components now have PropTypes

06 Aug 08:54
Compare
Choose a tag to compare

CommonJS NPM modules and fixes

06 Aug 08:54
Compare
Choose a tag to compare
  • Default to CommonJS export - not minified and no source map
  • Remove unnecessary optionalDependencies in all components
  • Fix core-input jumping screen reader bug in Safari on expand
  • Prevent escaping maximised mode on ESC on core-toggle popups
  • Add direct jump to each advanced example in core-input
  • Add X-Requested-With to core-input ajax
  • Add installation note to all components
  • Expose version number in UMD modules
  • Update dependencies
  • Stop core-toggle if event.defaultPrevented

core-tabs: Correct link prevention

23 Jul 10:51
Compare
Choose a tag to compare
  • Only prevent links/clicks if event.preventDefault() was called inside tabs.toggle

core-dialog: autofocus now has priority

23 Jul 09:03
Compare
Choose a tag to compare

core-dialog will now prioritize to focus elements with the autofocus attribute first.

core-scroll: Click events do not trigger after scroll

20 Jul 13:47
Compare
Choose a tag to compare

New documentation

20 Jul 13:47
Compare
Choose a tag to compare
  • New documentation
  • No more core-components.min.js → packages have urls now core-toggle/core-toggle.min.js

core-dialog: fix bug where parent-dialog was used instead of nested dialog when checking top level dialog

28 Jun 11:29
Compare
Choose a tag to compare

Previously, when core-dialog attempted to find the top level dialog it only looked at the z-index of the various dialogs. However, this can cause an error when using nested dialogs. An example scenario could be (although maybe a bit contrived):
Open dialog A1, open nested dialog A2, open dialog B1, call dialog A1 again in order to have it appear above B1. A2 should be the top level dialog now.

core-dialog now considers the relation between dialogs now (if they are nested or not) and returns the correct top level dialog.

core-datepicker: correct isToday in table view

20 Jun 08:46
Compare
Choose a tag to compare
  • core-datepicker could indicate wrong "today" due to timezone-conversions

core-tabs: fix link prevention when tab index 0

20 Jun 08:47
Compare
Choose a tag to compare

core-datepicker: datepicker.click.day event

20 Jun 08:47
Compare
Choose a tag to compare