@theoplayer/web-ui 1.8.2 → 1.9.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
@@ -15,6 +15,14 @@ sidebar_custom_props: { 'icon': '📰' }
15
15
  > - 🏠 Internal
16
16
  > - 💅 Polish
17
17
 
18
+ ## v1.9.1 (2024-09-27)
19
+
20
+ - 🐛 Fixed <kbd>Enter</kbd> and <kbd>Space</kbd> keys not working to activate buttons in the UI.
21
+
22
+ ## v1.9.0 (2024-09-06)
23
+
24
+ - 🚀 Added support for THEOplayer 8.0.
25
+
18
26
  ## v1.8.2 (2024-08-29)
19
27
 
20
28
  - 🐛 Fixed blank space below UI when using `<theoplayer-default-ui>`.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * THEOplayer Open Video UI for Web (v1.8.2)
2
+ * THEOplayer Open Video UI for Web (v1.9.1)
3
3
  * License: MIT
4
4
  */
5
5
  import { ChromelessPlayer, VideoQuality, THEOplayerError, MediaTrack, TextTrack, TextTracksList, EdgeStyle, VendorCast, CastState, PlayerConfiguration, SourceDescription } from 'theoplayer/chromeless';
@@ -108,7 +108,11 @@ declare class Button extends HTMLElement {
108
108
  get disabled(): boolean;
109
109
  set disabled(disabled: boolean);
110
110
  attributeChangedCallback(attrName: string, oldValue: any, newValue: any): void;
111
+ private _enable;
112
+ private _disable;
111
113
  private readonly _onClick;
114
+ protected readonly _onKeyDown: (e: KeyboardEvent) => void;
115
+ protected readonly _onKeyUp: (e: KeyboardEvent) => void;
112
116
  /**
113
117
  * Handle a button click.
114
118
  *
@@ -145,6 +149,8 @@ declare class LinkButton extends HTMLElement {
145
149
  set disabled(disabled: boolean);
146
150
  protected setLink(href: string, target: string): void;
147
151
  attributeChangedCallback(attrName: string, oldValue: any, newValue: any): void;
152
+ private _enable;
153
+ private _disable;
148
154
  private readonly _onKeyDown;
149
155
  private readonly _onClick;
150
156
  protected handleClick(): void;