@theoplayer/web-ui 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @theoplayer/web-ui
2
2
 
3
+ ## 2.1.1
4
+
5
+ ### 🐛 Issues
6
+
7
+ - Fixed `<theoplayer-time-range>` repeatedly triggering seeks when updating its value from the player's current time, which caused noticeable stutters on Safari.
8
+
3
9
  ## 2.1.0
4
10
 
5
11
  ### ✨ Features
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * THEOplayer Open Video UI for Web (v2.1.0)
2
+ * THEOplayer Open Video UI for Web (v2.1.1)
3
3
  * License: MIT
4
4
  */
5
5
  import * as lit from 'lit';
@@ -1041,6 +1041,15 @@ declare abstract class Range extends LitElement {
1041
1041
  */
1042
1042
  get value(): number;
1043
1043
  set value(value: number);
1044
+ /**
1045
+ * The current value.
1046
+ *
1047
+ * Setting this property does *not* trigger {@link handleInput}.
1048
+ * This should be used when synchronizing the range with external state,
1049
+ * e.g. when updating the value of a time range with the player's current time.
1050
+ */
1051
+ protected get rawValue(): number;
1052
+ protected set rawValue(value: number);
1044
1053
  /**
1045
1054
  * The minimum allowed value.
1046
1055
  */