@appquality/unguess-design-system 3.1.42-player → 3.1.45
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 +26 -0
- package/build/index.js +15 -1
- package/build/stories/theme/index.d.ts +4 -9
- package/package.json +1 -1
- package/yarn-error.log +0 -13958
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
# v3.1.42 (Thu Aug 24 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Improve fullscreen experience of player [#263](https://github.com/AppQuality/unguess-design-system/pull/263) ([@cannarocks](https://github.com/cannarocks))
|
|
6
|
+
- New-player-with-old-skin [#262](https://github.com/AppQuality/unguess-design-system/pull/262) ([@cannarocks](https://github.com/cannarocks))
|
|
7
|
+
|
|
8
|
+
#### Authors: 1
|
|
9
|
+
|
|
10
|
+
- Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# v3.1.4 (Wed Aug 23 2023)
|
|
15
|
+
|
|
16
|
+
#### 🐛 Bug Fix
|
|
17
|
+
|
|
18
|
+
- Add streaming support to player component [#261](https://github.com/AppQuality/unguess-design-system/pull/261) ([@cannarocks](https://github.com/cannarocks))
|
|
19
|
+
- New-player-with-old-skin [#260](https://github.com/AppQuality/unguess-design-system/pull/260) ([@cannarocks](https://github.com/cannarocks))
|
|
20
|
+
|
|
21
|
+
#### Authors: 1
|
|
22
|
+
|
|
23
|
+
- Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
1
27
|
# v3.1.3 (Wed Aug 16 2023)
|
|
2
28
|
|
|
3
29
|
#### 🐛 Bug Fix
|
package/build/index.js
CHANGED
|
@@ -4389,10 +4389,24 @@ const FullScreenButton = ({ container, }) => {
|
|
|
4389
4389
|
}
|
|
4390
4390
|
return false;
|
|
4391
4391
|
}), [ref]);
|
|
4392
|
+
React.useEffect(() => {
|
|
4393
|
+
if (ref) {
|
|
4394
|
+
ref.addEventListener("fullscreenchange", () => {
|
|
4395
|
+
setFullScreen(!!document.fullscreenElement);
|
|
4396
|
+
});
|
|
4397
|
+
}
|
|
4398
|
+
return () => {
|
|
4399
|
+
if (ref) {
|
|
4400
|
+
ref.removeEventListener("fullscreenchange", () => {
|
|
4401
|
+
setFullScreen(!!document.fullscreenElement);
|
|
4402
|
+
});
|
|
4403
|
+
}
|
|
4404
|
+
};
|
|
4405
|
+
}, [ref]);
|
|
4392
4406
|
return (jsxRuntime.jsx(IconButton, Object.assign({ isBright: true, onClick: (e) => {
|
|
4393
4407
|
handleFullScreen();
|
|
4394
4408
|
e.stopPropagation();
|
|
4395
|
-
}, disabled: !canGoFullScreen() }, { children: document.fullscreenElement || isFullScreen ? jsxRuntime.jsx(SvgMinimizeStroke, {}) : jsxRuntime.jsx(SvgMaximizeStroke, {}) })));
|
|
4409
|
+
}, disabled: !canGoFullScreen() }, { children: document.fullscreenElement || isFullScreen ? (jsxRuntime.jsx(SvgMinimizeStroke, {})) : (jsxRuntime.jsx(SvgMaximizeStroke, {})) })));
|
|
4396
4410
|
};
|
|
4397
4411
|
|
|
4398
4412
|
const ControlsWrapper = styled__default["default"].div `
|
|
@@ -300,16 +300,11 @@ declare const theme: {
|
|
|
300
300
|
"&:hover"?: {
|
|
301
301
|
borderColor: string | undefined;
|
|
302
302
|
color: string | undefined;
|
|
303
|
-
backgroundColor: string;
|
|
304
|
-
"& svg"?: undefined;
|
|
305
|
-
} | {
|
|
306
|
-
backgroundColor: string;
|
|
307
|
-
color: string | undefined;
|
|
308
|
-
borderColor?: undefined;
|
|
303
|
+
backgroundColor: string | undefined;
|
|
309
304
|
"& svg"?: undefined;
|
|
310
305
|
} | {
|
|
311
306
|
backgroundColor: string | undefined;
|
|
312
|
-
color: string;
|
|
307
|
+
color: string | undefined;
|
|
313
308
|
borderColor?: undefined;
|
|
314
309
|
"& svg"?: undefined;
|
|
315
310
|
} | {
|
|
@@ -352,13 +347,13 @@ declare const theme: {
|
|
|
352
347
|
"&:hover"?: {
|
|
353
348
|
borderColor: string | undefined;
|
|
354
349
|
color: string | undefined;
|
|
355
|
-
backgroundColor: string;
|
|
350
|
+
backgroundColor: string | undefined;
|
|
356
351
|
} | {
|
|
357
352
|
backgroundColor: string | undefined;
|
|
358
353
|
borderColor?: undefined;
|
|
359
354
|
color?: undefined;
|
|
360
355
|
} | {
|
|
361
|
-
backgroundColor: string;
|
|
356
|
+
backgroundColor: string | undefined;
|
|
362
357
|
color: string | undefined;
|
|
363
358
|
borderColor?: undefined;
|
|
364
359
|
} | {
|