Skip to content

Releases: iansan5653/dom-input-range

v2.0.1

23 May 14:11
9187480
Compare
Choose a tag to compare

Adds an exports.default field to the package manifest so that Jest can find and transform the module to CommonJS.

v2.0.0

22 Apr 16:44
84b7f30
Compare
Choose a tag to compare

Replaces the InputStyleCloneElement custom element with a new InputStyleClone class. This no longer uses a custom element under the hood, avoiding issues with conflicting custom element registration. The underlying clone element can still be accessed using InputStyleClone#element.

There are no migration steps required for consumers using only the InputRange API. Consumers relying on the InputStyleCloneElement API will need to migrate to InputStyleClone.

v1.2.0

24 Sep 20:07
5e51f15
Compare
Choose a tag to compare

What's Changed

  • Allow InputStyleCloneElement to be constructed directly (#6). This fixes errors thrown when cloning the element and also allows for direct construction when using the registry is not possible:

    const clone = new InputStyleCloneElement()
    clone.connect(targetInputElement)

Full Changelog: v1.1.6...v1.2.0

v1.1.6

22 May 18:30
c06ae33
Compare
Choose a tag to compare
  • Fix error thrown when element already registered (on soft navigation) in #4

Full Changelog: v1.1.5...v1.1.6

v1.1.5

10 May 15:25
ad4bfbb
Compare
Choose a tag to compare

What's Changed

  • Fix RTL/alternative text directions support in #3

Full Changelog: v1.1.4...v1.1.5

v1.1.4

09 May 17:03
9c96031
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.3...v1.1.4

v1.1.3

02 Apr 14:58
8832705
Compare
Choose a tag to compare

Fixes a bug where the clone element would intercept pointer events and prevent the user from interacting witht the underlying input

v1.1.2

21 Mar 20:32
1cfcaad
Compare
Choose a tag to compare

Improve input event handling to react faster, so that consumers can also react to input events and work with updated information

v1.1.1

23 Feb 19:18
e29ce62
Compare
Choose a tag to compare
  • Update documentation
  • Slightly tweak how changes to the input are handled by triggering layout recalculations on value changes

v1.1.0

22 Feb 20:32
b83d689
Compare
Choose a tag to compare

Bug Fixes

  • Fixes layout discrepancies in Firefox, particularly when a vertical scrollbar is visible, and makes logic more robust to avoid any potential future errors

New Features

  • Adds a new exported class that was previously internal: InputStyleCloneElement. This custom element clones and syncs with an input or textarea element pixel for pixel in order to operate on the contents of that input. This lower-level API may be useful in some cases where InputRange is insufficient.

Full Changelog: v1.0.3...1.1.0