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
JSX components now have PropTypes
v2.0.5 2.0.5
CommonJS NPM modules and fixes
- 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
- Only prevent links/clicks if
event.preventDefault()
was called insidetabs.toggle
core-dialog: autofocus now has priority
core-dialog
will now prioritize to focus elements with the autofocus
attribute first.
core-scroll: Click events do not trigger after scroll
New documentation
- New documentation
- No more
core-components.min.js
→ packages have urls nowcore-toggle/core-toggle.min.js
core-dialog: fix bug where parent-dialog was used instead of nested dialog when checking top level dialog
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
- core-datepicker could indicate wrong "today" due to timezone-conversions
core-tabs: fix link prevention when tab index 0
v1.5.1 1.5.1
core-datepicker: datepicker.click.day event
v1.5.0 1.5.0