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
[email protected]
[email protected]
Fixes
- Remove prop definition of popup for React/JSX
popup
now renders as an HTML-attribute on the underlying custom-element for more consistent behavior.
Docs
- Update some inconsistencies in the docs for the popup -attribute
- Use
type="button"
in examples
[email protected]
[email protected]
Features
- Support data-for attribute
[email protected]
Fixes
- Use offsetHeight/Width to determine element visibility
Features
- Support data-for attribute
[email protected]
Fixes
- Abort handlers if removed from DOM
- Remove use of will-change: scroll-position
Features
- Support data-for attribute
[email protected]
Fixes
- Reset internals in disconnectedCallback after eventlistener cleanup
- Abort mutation and onAjaxSend callbacks if disconnectedCallback has been called
Features
- Add
highlight
attribute
Tests
- Add test-cases for highlight-attribute
[email protected]
Fixes
- Abort updates on children if removed from DOM
- Handle missing value for panel in getter
- Allow setting selected tab to zero
Features
- Support data-for attribute
- Add support for changes to tabs aka dynamic tabs
Tests
- Expand testcases for core-tabs
- Add case for selection of first tab by index
- Add dynamic children test for core-tabs
[email protected]
Fixes
- Add props-declaration of popup to react/jsx -version
Features
- Support data-for attribute
- Add support for attribute
autoposition
Tests
- Add assertion of aria-label change on select when changing target value
- Simulate clicks more explicitly using protractor $ for core-toggle
- Add test for autoposition
[email protected]
Internals
- Banner with version and copyright in all built files to simplify debugging
- Rollup now uses terser- instead of uglify-plugin
- Changed to @rollup namespace for various devdependencies
- Improved steps executed for version publishing to npm
- We now build, test and lint before setting version
- Remote tests use crossbrowsertesting
- Local tests no longer require browserstack credentials
Docs
- core-components: Reorder docs entry for testing
- core-dialog: Add link for ease of manual testing focus in docs dialog
- core-suggest: Add README-entry for highlight-attribute
- core-tabs: Add dynamic example to readme
- core-toggle: Note requirement of popup-attribute for select behavior
[email protected]: Fikser z-index problem i Safari 12
v7.1.12 Patch core-dialog
[email protected]: Bare reagér på venstre-klikk
v7.1.11 Patch core-scroll
[email protected]: Respektér z-index hvis satt
- Hvis man setter z-index via CSS eller JS på en dialog vil den nå ikke lenger loope igjennom alle noder og finne høyeste z-index. Performance fiks.
[email protected]: Preserve embedded markup inside button with popup option
v7.1.9 Patch core-toggle
[email protected]: IE11 remove hot-fix
v7.1.8 Patch core-dialog
[email protected]: Remove generated backdrops from DOM on unmount
v7.1.7 Patch core-dialog
core-*: Patch bump for memory leak fix
- Updates custom2react dependency for memory leak fix
[email protected]: Fix SVG closest bug in IE11
- Fixes a non-critical bug where click events on SVG elements in IE11 ends up in shadow SVG DOM instead if real DOM.