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

Releases: nrkno/core-components

[email protected]

29 Sep 12:36
Compare
Choose a tag to compare

[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]

16 Sep 11:28
Compare
Choose a tag to compare

[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

Available here

  • 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

27 Apr 07:26
Compare
Choose a tag to compare

[email protected]: Bare reagér på venstre-klikk

07 Apr 07:48
Compare
Choose a tag to compare

[email protected]: Respektér z-index hvis satt

31 Mar 11:07
Compare
Choose a tag to compare
  • 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

04 Mar 10:50
Compare
Choose a tag to compare

[email protected]: IE11 remove hot-fix

03 Mar 09:41
Compare
Choose a tag to compare
v7.1.8

Patch core-dialog

[email protected]: Remove generated backdrops from DOM on unmount

03 Mar 09:31
Compare
Choose a tag to compare

core-*: Patch bump for memory leak fix

19 Nov 11:00
Compare
Choose a tag to compare
  • Updates custom2react dependency for memory leak fix

[email protected]: Fix SVG closest bug in IE11

28 Oct 08:39
Compare
Choose a tag to compare
  • Fixes a non-critical bug where click events on SVG elements in IE11 ends up in shadow SVG DOM instead if real DOM.