softbuilders-react-video-player 1.3.15 → 1.3.17
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -21
- package/dist/components/BufferTracker/index.js +6 -8
- package/dist/components/BufferTracker/index.js.map +1 -1
- package/dist/components/BufferTracker/index.tsx +5 -7
- package/dist/components/CurrentTimeLabel/index.tsx +13 -13
- package/dist/components/CurrentTimeTracker/index.js +7 -9
- package/dist/components/CurrentTimeTracker/index.js.map +1 -1
- package/dist/components/CurrentTimeTracker/index.tsx +7 -9
- package/dist/components/Menu/index.tsx +49 -49
- package/dist/components/SoftBuildersVideoPlayer/index.js +3 -1
- package/dist/components/SoftBuildersVideoPlayer/index.js.map +1 -1
- package/dist/components/SoftBuildersVideoPlayer/index.tsx +3 -1
- package/dist/components/VideoPlayerComponent/index.js +2 -3
- package/dist/components/VideoPlayerComponent/index.js.map +1 -1
- package/dist/components/VideoPlayerComponent/index.tsx +2 -2
- package/dist/components/VideoPlayerComponent/provider.tsx +82 -82
- package/dist/components/VolumeSlider/index.js +10 -21
- package/dist/components/VolumeSlider/index.js.map +1 -1
- package/dist/components/VolumeSlider/index.tsx +16 -28
- package/dist/components/icons/SkillamiIcon.tsx +25 -25
- package/dist/components/icons/SubIcon.tsx +27 -27
- package/dist/components/icons/VolumeHigh.tsx +15 -15
- package/dist/components/icons/VolumeHighIcon.d.ts +3 -0
- package/dist/components/icons/VolumeHighIcon.js +4 -0
- package/dist/components/icons/VolumeHighIcon.js.map +1 -0
- package/dist/components/icons/VolumeHighIcon.tsx +16 -0
- package/dist/components/icons/VolumeIconHigh.d.ts +3 -0
- package/dist/components/icons/VolumeIconHigh.js +4 -0
- package/dist/components/icons/VolumeIconHigh.js.map +1 -0
- package/dist/components/icons/VolumeIconHigh.tsx +16 -0
- package/dist/components/icons/VolumeIconLow copy.d.ts +3 -0
- package/dist/components/icons/VolumeIconLow copy.js +4 -0
- package/dist/components/icons/VolumeIconLow copy.js.map +1 -0
- package/dist/components/icons/VolumeIconLow copy.tsx +17 -0
- package/dist/components/icons/VolumeLow.tsx +14 -14
- package/dist/components/icons/VolumeLowIcon.d.ts +3 -0
- package/dist/components/icons/VolumeLowIcon.js +4 -0
- package/dist/components/icons/VolumeLowIcon.js.map +1 -0
- package/dist/components/icons/VolumeLowIcon.tsx +15 -0
- package/dist/components/icons/VolumeMute.tsx +25 -25
- package/dist/components/icons/VolumeVLow.tsx +14 -14
- package/dist/components/icons/index.ts +20 -20
- package/dist/index.mjs +21 -23
- package/dist/styles/tailwind.css +130 -130
- package/package.json +1 -1
@@ -10,21 +10,11 @@ const VolumeSlider = ({ width = 0, setIsSeeking, handleControlDisplayTimer, volu
|
|
10
10
|
const [volume, setVolume] = useState(0);
|
11
11
|
const [isClicked, setClicked] = useState(false);
|
12
12
|
// Sync volume state with player's volume and mute states
|
13
|
-
// const updateVolumeState = () => {
|
14
|
-
// if (player?.muted && player?.volume) {
|
15
|
-
// const currentVolume = player?.muted()
|
16
|
-
// ? 0
|
17
|
-
// : Number(player?.volume() || 0) * 100;
|
18
|
-
// setVolume(currentVolume);
|
19
|
-
// }
|
20
|
-
// };
|
21
13
|
const updateVolumeState = () => {
|
22
|
-
if (player &&
|
23
|
-
|
24
|
-
typeof player.volume === "function") {
|
25
|
-
const currentVolume = player.muted()
|
14
|
+
if (player && player != null) {
|
15
|
+
const currentVolume = (player === null || player === void 0 ? void 0 : player.muted())
|
26
16
|
? 0
|
27
|
-
: Number(player.volume() || 0) * 100;
|
17
|
+
: Number((player === null || player === void 0 ? void 0 : player.volume()) || 0) * 100;
|
28
18
|
setVolume(currentVolume);
|
29
19
|
}
|
30
20
|
};
|
@@ -32,16 +22,15 @@ const VolumeSlider = ({ width = 0, setIsSeeking, handleControlDisplayTimer, volu
|
|
32
22
|
if (player) {
|
33
23
|
// Initial volume setup
|
34
24
|
updateVolumeState();
|
35
|
-
const handleVolumeChange = () => updateVolumeState();
|
36
25
|
// Listen for volume changes
|
37
|
-
|
38
|
-
player.on("volumechange", handleVolumeChange);
|
39
|
-
// Cleanup event listener on unmount
|
40
|
-
return () => {
|
41
|
-
// player?.off("volumechange", updateVolumeState);
|
42
|
-
player.off("volumechange", handleVolumeChange);
|
43
|
-
};
|
26
|
+
player === null || player === void 0 ? void 0 : player.on("volumechange", updateVolumeState);
|
44
27
|
}
|
28
|
+
// Cleanup event listener on unmount
|
29
|
+
return () => {
|
30
|
+
if (player) {
|
31
|
+
player === null || player === void 0 ? void 0 : player.off("volumechange", updateVolumeState);
|
32
|
+
}
|
33
|
+
};
|
45
34
|
}, [player]);
|
46
35
|
const handleVolumeSliderClick = (e) => {
|
47
36
|
e.stopPropagation();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/VolumeSlider/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/VolumeSlider/index.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,iCAAiC,EAAE,MAAM,kCAAkC,CAAC;AAErF,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGzE,MAAM,GAAG,GAAG,CAAC,EACX,GAAG,GAAG,GAAG,CAAC;AAWZ,MAAM,YAAY,GAAG,CAAC,EACpB,KAAK,GAAG,CAAC,EACT,YAAY,EACZ,yBAAyB,EACzB,mBAAmB,EACnB,SAAS,EACT,WAAW,GACL,EAAE,EAAE;IACV,MAAM,EAAE,MAAM,EAAE,GAAG,iCAAiC,EAAE,CAAC;IACvD,M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;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -1,7 +1,9 @@
|
|
1
1
|
import React, { useEffect, useState } from "react";
|
2
2
|
import Slider from "../Slider";
|
3
3
|
import { useSoftBuildersVideoPlayerContext } from "../VideoPlayerComponent/provider";
|
4
|
+
import { MuteIcon, UnmuteIcon } from "../../images";
|
4
5
|
import { VolumeHigh, VolumeLow, VolumeMute, VolumeVLow } from "../icons";
|
6
|
+
import { set } from "video.js/dist/types/tech/middleware";
|
5
7
|
|
6
8
|
const MIN = 0,
|
7
9
|
MAX = 100;
|
@@ -29,44 +31,28 @@ const VolumeSlider = ({
|
|
29
31
|
const [isClicked, setClicked] = useState(false);
|
30
32
|
|
31
33
|
// Sync volume state with player's volume and mute states
|
32
|
-
// const updateVolumeState = () => {
|
33
|
-
// if (player?.muted && player?.volume) {
|
34
|
-
// const currentVolume = player?.muted()
|
35
|
-
// ? 0
|
36
|
-
// : Number(player?.volume() || 0) * 100;
|
37
|
-
// setVolume(currentVolume);
|
38
|
-
// }
|
39
|
-
// };
|
40
|
-
|
41
34
|
const updateVolumeState = () => {
|
42
|
-
if (
|
43
|
-
player
|
44
|
-
typeof player.muted === "function" &&
|
45
|
-
typeof player.volume === "function"
|
46
|
-
) {
|
47
|
-
const currentVolume = player.muted()
|
35
|
+
if (player && player != null) {
|
36
|
+
const currentVolume = player?.muted()
|
48
37
|
? 0
|
49
|
-
: Number(player
|
38
|
+
: Number(player?.volume() || 0) * 100;
|
50
39
|
setVolume(currentVolume);
|
51
40
|
}
|
52
41
|
};
|
53
|
-
|
54
42
|
useEffect(() => {
|
55
43
|
if (player) {
|
56
44
|
// Initial volume setup
|
57
45
|
updateVolumeState();
|
58
46
|
|
59
|
-
const handleVolumeChange = () => updateVolumeState();
|
60
|
-
|
61
47
|
// Listen for volume changes
|
62
|
-
|
63
|
-
player.on("volumechange", handleVolumeChange);
|
64
|
-
// Cleanup event listener on unmount
|
65
|
-
return () => {
|
66
|
-
// player?.off("volumechange", updateVolumeState);
|
67
|
-
player.off("volumechange", handleVolumeChange);
|
68
|
-
};
|
48
|
+
player?.on("volumechange", updateVolumeState);
|
69
49
|
}
|
50
|
+
// Cleanup event listener on unmount
|
51
|
+
return () => {
|
52
|
+
if (player) {
|
53
|
+
player?.off("volumechange", updateVolumeState);
|
54
|
+
}
|
55
|
+
};
|
70
56
|
}, [player]);
|
71
57
|
const handleVolumeSliderClick = (e: React.MouseEvent<HTMLDivElement>) => {
|
72
58
|
e.stopPropagation();
|
@@ -184,7 +170,7 @@ const VolumeSlider = ({
|
|
184
170
|
onDoubleClick={handleDoubleClick}
|
185
171
|
>
|
186
172
|
{player &&
|
187
|
-
(volume == 0
|
173
|
+
(volume == 0 ? (
|
188
174
|
<VolumeMute
|
189
175
|
className={`sb-w-3 sb-h-3 ${
|
190
176
|
(width < 400 && player?.isFullscreen_ === false) || isTrailer
|
@@ -234,7 +220,9 @@ const VolumeSlider = ({
|
|
234
220
|
} sb-relative`}
|
235
221
|
>
|
236
222
|
<Slider
|
237
|
-
onMouseMove={
|
223
|
+
onMouseMove={
|
224
|
+
onMouseMove
|
225
|
+
}
|
238
226
|
setNoteOpen={setNoteOpen}
|
239
227
|
value={volume}
|
240
228
|
handleValueChange={handleValueChange}
|
@@ -1,25 +1,25 @@
|
|
1
|
-
import type { SVGProps } from "react";
|
2
|
-
const SvgSkillamiIcon = (props: SVGProps<SVGSVGElement>) => (
|
3
|
-
<svg
|
4
|
-
xmlns="http://www.w3.org/2000/svg"
|
5
|
-
fill="none"
|
6
|
-
viewBox="0 0 45 46"
|
7
|
-
width="1em"
|
8
|
-
height="1em"
|
9
|
-
{...props}
|
10
|
-
>
|
11
|
-
<path
|
12
|
-
fill="#fff"
|
13
|
-
d="m22.736 37.857-11.924-3.255-3.194-12.153a.99.99 0 0 0-1.213-.714c-.53.145-.843.7-.7 1.236l3.343 12.715a.991.991 0 0 0 .7.714l12.476 3.406a.985.985 0 0 0 1.213-.713 1.01 1.01 0 0 0-.7-1.236M44.733 25.943 39.51 6.074a1 1 0 0 0-.7-.714L19.308.033a.98.98 0 0 0-.957.26L9.389 9.428a1.02 1.02 0 0 0 0 1.428.976.976 0 0 0 1.402 0l8.56-8.717 18.39 5.024 4.93 18.741-8.56 8.724a1.02 1.02 0 0 0 0 1.428.977.977 0 0 0 1.4 0l8.963-9.133c.249-.254.348-.627.256-.975z"
|
14
|
-
/>
|
15
|
-
<path
|
16
|
-
fill="#fff"
|
17
|
-
d="m24.323 30.829-7.735-2.113-2.074-7.883a.99.99 0 0 0-1.213-.714c-.53.145-.842.7-.7 1.236l2.223 8.445a.991.991 0 0 0 .7.714l8.287 2.265a.985.985 0 0 0 1.212-.714 1.01 1.01 0 0 0-.7-1.236M15.887 15.86l5.573-5.68 4.278 1.168a.985.985 0 0 0 1.213-.714 1.01 1.01 0 0 0-.7-1.236l-4.83-1.32a.98.98 0 0 0-.957.262l-5.979 6.092a1.02 1.02 0 0 0 0 1.428.977.977 0 0 0 1.402 0M29.206 30.858a.976.976 0 0 0 1.4 0l5.98-6.093c.248-.253.348-.627.255-.975l-1.294-4.921a.99.99 0 0 0-1.213-.715c-.53.145-.843.7-.7 1.236l1.145 4.36-5.574 5.68a1.02 1.02 0 0 0 0 1.428"
|
18
|
-
/>
|
19
|
-
<path
|
20
|
-
fill="#F26C21"
|
21
|
-
d="m29.383 36.008-2.99-11 2.745-2.798-1.007-3.83 2.45-2.498 3.76 1.026 3.56-3.628L36.6 8.322l-4.865-1.327-3.56 3.628 1.007 3.831-2.45 2.497-3.76-1.026-2.745 2.799-10.794-3.049-1.007-3.834-4.865-1.327L0 14.142l1.302 4.959 4.865 1.326 2.745-2.798 10.794 3.048 1.007 3.835 3.762 1.025 2.991 11-2.745 2.798 1.302 4.959 4.865 1.326 3.56-3.628-1.302-4.958-3.763-1.03zM32.328 9.25l2.653.725.712 2.704-1.942 1.979-2.653-.725-.712-2.704zM5.573 18.173l-2.653-.725-.711-2.704 1.941-1.979 2.653.725.712 2.704zm16.761 4.686-.71-2.704 1.941-1.979 2.653.725.711 2.704-1.941 1.979zm7.963 20.507-2.653-.725-.711-2.704 1.942-1.979 2.653.725.711 2.704z"
|
22
|
-
/>
|
23
|
-
</svg>
|
24
|
-
);
|
25
|
-
export default SvgSkillamiIcon;
|
1
|
+
import type { SVGProps } from "react";
|
2
|
+
const SvgSkillamiIcon = (props: SVGProps<SVGSVGElement>) => (
|
3
|
+
<svg
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
5
|
+
fill="none"
|
6
|
+
viewBox="0 0 45 46"
|
7
|
+
width="1em"
|
8
|
+
height="1em"
|
9
|
+
{...props}
|
10
|
+
>
|
11
|
+
<path
|
12
|
+
fill="#fff"
|
13
|
+
d="m22.736 37.857-11.924-3.255-3.194-12.153a.99.99 0 0 0-1.213-.714c-.53.145-.843.7-.7 1.236l3.343 12.715a.991.991 0 0 0 .7.714l12.476 3.406a.985.985 0 0 0 1.213-.713 1.01 1.01 0 0 0-.7-1.236M44.733 25.943 39.51 6.074a1 1 0 0 0-.7-.714L19.308.033a.98.98 0 0 0-.957.26L9.389 9.428a1.02 1.02 0 0 0 0 1.428.976.976 0 0 0 1.402 0l8.56-8.717 18.39 5.024 4.93 18.741-8.56 8.724a1.02 1.02 0 0 0 0 1.428.977.977 0 0 0 1.4 0l8.963-9.133c.249-.254.348-.627.256-.975z"
|
14
|
+
/>
|
15
|
+
<path
|
16
|
+
fill="#fff"
|
17
|
+
d="m24.323 30.829-7.735-2.113-2.074-7.883a.99.99 0 0 0-1.213-.714c-.53.145-.842.7-.7 1.236l2.223 8.445a.991.991 0 0 0 .7.714l8.287 2.265a.985.985 0 0 0 1.212-.714 1.01 1.01 0 0 0-.7-1.236M15.887 15.86l5.573-5.68 4.278 1.168a.985.985 0 0 0 1.213-.714 1.01 1.01 0 0 0-.7-1.236l-4.83-1.32a.98.98 0 0 0-.957.262l-5.979 6.092a1.02 1.02 0 0 0 0 1.428.977.977 0 0 0 1.402 0M29.206 30.858a.976.976 0 0 0 1.4 0l5.98-6.093c.248-.253.348-.627.255-.975l-1.294-4.921a.99.99 0 0 0-1.213-.715c-.53.145-.843.7-.7 1.236l1.145 4.36-5.574 5.68a1.02 1.02 0 0 0 0 1.428"
|
18
|
+
/>
|
19
|
+
<path
|
20
|
+
fill="#F26C21"
|
21
|
+
d="m29.383 36.008-2.99-11 2.745-2.798-1.007-3.83 2.45-2.498 3.76 1.026 3.56-3.628L36.6 8.322l-4.865-1.327-3.56 3.628 1.007 3.831-2.45 2.497-3.76-1.026-2.745 2.799-10.794-3.049-1.007-3.834-4.865-1.327L0 14.142l1.302 4.959 4.865 1.326 2.745-2.798 10.794 3.048 1.007 3.835 3.762 1.025 2.991 11-2.745 2.798 1.302 4.959 4.865 1.326 3.56-3.628-1.302-4.958-3.763-1.03zM32.328 9.25l2.653.725.712 2.704-1.942 1.979-2.653-.725-.712-2.704zM5.573 18.173l-2.653-.725-.711-2.704 1.941-1.979 2.653.725.712 2.704zm16.761 4.686-.71-2.704 1.941-1.979 2.653.725.711 2.704-1.941 1.979zm7.963 20.507-2.653-.725-.711-2.704 1.942-1.979 2.653.725.711 2.704z"
|
22
|
+
/>
|
23
|
+
</svg>
|
24
|
+
);
|
25
|
+
export default SvgSkillamiIcon;
|
@@ -1,27 +1,27 @@
|
|
1
|
-
import type { SVGProps } from "react";
|
2
|
-
const SvgSubIcon = (props: SVGProps<SVGSVGElement>) => (
|
3
|
-
<svg
|
4
|
-
xmlns="http://www.w3.org/2000/svg"
|
5
|
-
width="1em"
|
6
|
-
height="1em"
|
7
|
-
fill="none"
|
8
|
-
viewBox="0 0 15 15"
|
9
|
-
{...props}
|
10
|
-
>
|
11
|
-
<path
|
12
|
-
stroke="#D1D5DB"
|
13
|
-
strokeLinecap="round"
|
14
|
-
strokeLinejoin="round"
|
15
|
-
strokeWidth={1.5}
|
16
|
-
d="M1.25 7.5c0-2.487 0-3.731.658-4.561q.159-.2.346-.367c.785-.697 1.96-.697 4.309-.697h1.875c2.349 0 3.523 0 4.307.697q.19.168.347.367c.658.83.658 2.074.658 4.561s0 3.731-.658 4.561q-.157.2-.347.367c-.784.697-1.957.697-4.307.697H6.562c-2.349 0-3.523 0-4.308-.697a3 3 0 0 1-.346-.367c-.658-.83-.658-2.073-.658-4.561"
|
17
|
-
/>
|
18
|
-
<path
|
19
|
-
stroke="#D1D5DB"
|
20
|
-
strokeLinecap="round"
|
21
|
-
strokeLinejoin="round"
|
22
|
-
strokeWidth={1.5}
|
23
|
-
d="M6.563 5.625H6.25c-.582 0-.874 0-1.103.095a1.25 1.25 0 0 0-.677.677c-.095.23-.095.52-.095 1.103 0 .582 0 .874.095 1.103a1.25 1.25 0 0 0 .677.677c.23.095.52.095 1.103.095h.313m4.062-3.75h-.312c-.583 0-.874 0-1.104.095a1.25 1.25 0 0 0-.676.677c-.095.23-.095.52-.095 1.103 0 .582 0 .874.095 1.103a1.25 1.25 0 0 0 .676.677c.23.095.521.095 1.104.095h.312"
|
24
|
-
/>
|
25
|
-
</svg>
|
26
|
-
);
|
27
|
-
export default SvgSubIcon;
|
1
|
+
import type { SVGProps } from "react";
|
2
|
+
const SvgSubIcon = (props: SVGProps<SVGSVGElement>) => (
|
3
|
+
<svg
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
5
|
+
width="1em"
|
6
|
+
height="1em"
|
7
|
+
fill="none"
|
8
|
+
viewBox="0 0 15 15"
|
9
|
+
{...props}
|
10
|
+
>
|
11
|
+
<path
|
12
|
+
stroke="#D1D5DB"
|
13
|
+
strokeLinecap="round"
|
14
|
+
strokeLinejoin="round"
|
15
|
+
strokeWidth={1.5}
|
16
|
+
d="M1.25 7.5c0-2.487 0-3.731.658-4.561q.159-.2.346-.367c.785-.697 1.96-.697 4.309-.697h1.875c2.349 0 3.523 0 4.307.697q.19.168.347.367c.658.83.658 2.074.658 4.561s0 3.731-.658 4.561q-.157.2-.347.367c-.784.697-1.957.697-4.307.697H6.562c-2.349 0-3.523 0-4.308-.697a3 3 0 0 1-.346-.367c-.658-.83-.658-2.073-.658-4.561"
|
17
|
+
/>
|
18
|
+
<path
|
19
|
+
stroke="#D1D5DB"
|
20
|
+
strokeLinecap="round"
|
21
|
+
strokeLinejoin="round"
|
22
|
+
strokeWidth={1.5}
|
23
|
+
d="M6.563 5.625H6.25c-.582 0-.874 0-1.103.095a1.25 1.25 0 0 0-.677.677c-.095.23-.095.52-.095 1.103 0 .582 0 .874.095 1.103a1.25 1.25 0 0 0 .677.677c.23.095.52.095 1.103.095h.313m4.062-3.75h-.312c-.583 0-.874 0-1.104.095a1.25 1.25 0 0 0-.676.677c-.095.23-.095.52-.095 1.103 0 .582 0 .874.095 1.103a1.25 1.25 0 0 0 .676.677c.23.095.521.095 1.104.095h.312"
|
24
|
+
/>
|
25
|
+
</svg>
|
26
|
+
);
|
27
|
+
export default SvgSubIcon;
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import type { SVGProps } from "react";
|
2
|
-
const SvgVolumeHigh = (props: SVGProps<SVGSVGElement>) => (
|
3
|
-
<svg
|
4
|
-
xmlns="http://www.w3.org/2000/svg"
|
5
|
-
width="1em"
|
6
|
-
height="1em"
|
7
|
-
fill="#fff"
|
8
|
-
viewBox="0 0 512 512"
|
9
|
-
{...props}
|
10
|
-
>
|
11
|
-
<path d="M264 416.19a23.92 23.92 0 0 1-14.21-4.69l-.66-.51-91.46-75H88a24 24 0 0 1-24-24V200a24 24 0 0 1 24-24h69.65l91.46-75 .66-.51A24 24 0 0 1 288 119.83v272.34a24 24 0 0 1-24 24ZM352 336a16 16 0 0 1-14.29-23.18c9.49-18.9 14.3-38 14.3-56.82 0-19.36-4.66-37.92-14.25-56.73a16 16 0 0 1 28.5-14.54C378.2 208.16 384 231.47 384 256c0 23.83-6 47.78-17.7 71.18A16 16 0 0 1 352 336" />
|
12
|
-
<path d="M400 384a16 16 0 0 1-13.87-24C405 327.05 416 299.45 416 256c0-44.12-10.94-71.52-29.83-103.95A16 16 0 0 1 413.83 136C434.92 172.16 448 204.88 448 256c0 50.36-13.06 83.24-34.12 120a16 16 0 0 1-13.88 8" />
|
13
|
-
</svg>
|
14
|
-
);
|
15
|
-
export default SvgVolumeHigh;
|
1
|
+
import type { SVGProps } from "react";
|
2
|
+
const SvgVolumeHigh = (props: SVGProps<SVGSVGElement>) => (
|
3
|
+
<svg
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
5
|
+
width="1em"
|
6
|
+
height="1em"
|
7
|
+
fill="#fff"
|
8
|
+
viewBox="0 0 512 512"
|
9
|
+
{...props}
|
10
|
+
>
|
11
|
+
<path d="M264 416.19a23.92 23.92 0 0 1-14.21-4.69l-.66-.51-91.46-75H88a24 24 0 0 1-24-24V200a24 24 0 0 1 24-24h69.65l91.46-75 .66-.51A24 24 0 0 1 288 119.83v272.34a24 24 0 0 1-24 24ZM352 336a16 16 0 0 1-14.29-23.18c9.49-18.9 14.3-38 14.3-56.82 0-19.36-4.66-37.92-14.25-56.73a16 16 0 0 1 28.5-14.54C378.2 208.16 384 231.47 384 256c0 23.83-6 47.78-17.7 71.18A16 16 0 0 1 352 336" />
|
12
|
+
<path d="M400 384a16 16 0 0 1-13.87-24C405 327.05 416 299.45 416 256c0-44.12-10.94-71.52-29.83-103.95A16 16 0 0 1 413.83 136C434.92 172.16 448 204.88 448 256c0 50.36-13.06 83.24-34.12 120a16 16 0 0 1-13.88 8" />
|
13
|
+
</svg>
|
14
|
+
);
|
15
|
+
export default SvgVolumeHigh;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
const SvgSubIcon = (props) => (_jsxs("svg", { fill: "white", width: "1em", height: "1em", viewBox: "0 0 15 15", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("title", { children: "ionicons-v5-g" }), _jsx("path", { d: "M264,416.19a23.92,23.92,0,0,1-14.21-4.69l-.66-.51-91.46-75H88a24,24,0,0,1-24-24V200a24,24,0,0,1,24-24h69.65l91.46-75,.66-.51A24,24,0,0,1,288,119.83V392.17a24,24,0,0,1-24,24Z" }), _jsx("path", { d: "M352,336a16,16,0,0,1-14.29-23.18c9.49-18.9,14.3-38,14.3-56.82,0-19.36-4.66-37.92-14.25-56.73a16,16,0,0,1,28.5-14.54C378.2,208.16,384,231.47,384,256c0,23.83-6,47.78-17.7,71.18A16,16,0,0,1,352,336Z" }), _jsx("path", { d: "M400,384a16,16,0,0,1-13.87-24C405,327.05,416,299.45,416,256c0-44.12-10.94-71.52-29.83-103.95A16,16,0,0,1,413.83,136C434.92,172.16,448,204.88,448,256c0,50.36-13.06,83.24-34.12,120A16,16,0,0,1,400,384Z" })] }));
|
3
|
+
export default SvgSubIcon;
|
4
|
+
//# sourceMappingURL=VolumeHighIcon.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"VolumeHighIcon.js","sourceRoot":"","sources":["../../../src/components/icons/VolumeHighIcon.tsx"],"names":[],"mappings":";AACA,MAAM,UAAU,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CACrD,eACE,IAAI,EAAC,OAAO,EACZ,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,OAAO,EAAC,WAAW,EACnB,KAAK,EAAC,4BAA4B,aAElC,4CAA4B,EAC5B,eAAM,CAAC,EAAC,+KAA+K,GAAG,EAC1L,eAAM,CAAC,EAAC,qMAAqM,GAAG,EAChN,eAAM,CAAC,EAAC,yMAAyM,GAAG,IAChN,CACP,CAAC;AACF,eAAe,UAAU,CAAC"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import type { SVGProps } from "react";
|
2
|
+
const SvgSubIcon = (props: SVGProps<SVGSVGElement>) => (
|
3
|
+
<svg
|
4
|
+
fill="white"
|
5
|
+
width="1em"
|
6
|
+
height="1em"
|
7
|
+
viewBox="0 0 15 15"
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
9
|
+
>
|
10
|
+
<title>ionicons-v5-g</title>
|
11
|
+
<path d="M264,416.19a23.92,23.92,0,0,1-14.21-4.69l-.66-.51-91.46-75H88a24,24,0,0,1-24-24V200a24,24,0,0,1,24-24h69.65l91.46-75,.66-.51A24,24,0,0,1,288,119.83V392.17a24,24,0,0,1-24,24Z" />
|
12
|
+
<path d="M352,336a16,16,0,0,1-14.29-23.18c9.49-18.9,14.3-38,14.3-56.82,0-19.36-4.66-37.92-14.25-56.73a16,16,0,0,1,28.5-14.54C378.2,208.16,384,231.47,384,256c0,23.83-6,47.78-17.7,71.18A16,16,0,0,1,352,336Z" />
|
13
|
+
<path d="M400,384a16,16,0,0,1-13.87-24C405,327.05,416,299.45,416,256c0-44.12-10.94-71.52-29.83-103.95A16,16,0,0,1,413.83,136C434.92,172.16,448,204.88,448,256c0,50.36-13.06,83.24-34.12,120A16,16,0,0,1,400,384Z" />
|
14
|
+
</svg>
|
15
|
+
);
|
16
|
+
export default SvgSubIcon;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
const VolumeIconHeigh = (props) => (_jsxs("svg", { fill: "white", width: "800px", height: "800px", viewBox: "0 0 512 512", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("title", { children: "ionicons-v5-g" }), _jsx("path", { d: "M264,416.19a23.92,23.92,0,0,1-14.21-4.69l-.66-.51-91.46-75H88a24,24,0,0,1-24-24V200a24,24,0,0,1,24-24h69.65l91.46-75,.66-.51A24,24,0,0,1,288,119.83V392.17a24,24,0,0,1-24,24Z" }), _jsx("path", { d: "M352,336a16,16,0,0,1-14.29-23.18c9.49-18.9,14.3-38,14.3-56.82,0-19.36-4.66-37.92-14.25-56.73a16,16,0,0,1,28.5-14.54C378.2,208.16,384,231.47,384,256c0,23.83-6,47.78-17.7,71.18A16,16,0,0,1,352,336Z" }), _jsx("path", { d: "M400,384a16,16,0,0,1-13.87-24C405,327.05,416,299.45,416,256c0-44.12-10.94-71.52-29.83-103.95A16,16,0,0,1,413.83,136C434.92,172.16,448,204.88,448,256c0,50.36-13.06,83.24-34.12,120A16,16,0,0,1,400,384Z" })] }));
|
3
|
+
export default VolumeIconHeigh;
|
4
|
+
//# sourceMappingURL=VolumeIconHigh.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"VolumeIconHigh.js","sourceRoot":"","sources":["../../../src/components/icons/VolumeIconHigh.tsx"],"names":[],"mappings":";AACA,MAAM,eAAe,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CAC1D,eACE,IAAI,EAAC,OAAO,EACZ,KAAK,EAAC,OAAO,EACb,MAAM,EAAC,OAAO,EACd,OAAO,EAAC,aAAa,EACrB,KAAK,EAAC,4BAA4B,aAElC,4CAA4B,EAC5B,eAAM,CAAC,EAAC,+KAA+K,GAAG,EAC1L,eAAM,CAAC,EAAC,qMAAqM,GAAG,EAChN,eAAM,CAAC,EAAC,yMAAyM,GAAG,IAChN,CACP,CAAC;AACF,eAAe,eAAe,CAAC"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import type { SVGProps } from "react";
|
2
|
+
const VolumeIconHeigh = (props: SVGProps<SVGSVGElement>) => (
|
3
|
+
<svg
|
4
|
+
fill="white"
|
5
|
+
width="800px"
|
6
|
+
height="800px"
|
7
|
+
viewBox="0 0 512 512"
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
9
|
+
>
|
10
|
+
<title>ionicons-v5-g</title>
|
11
|
+
<path d="M264,416.19a23.92,23.92,0,0,1-14.21-4.69l-.66-.51-91.46-75H88a24,24,0,0,1-24-24V200a24,24,0,0,1,24-24h69.65l91.46-75,.66-.51A24,24,0,0,1,288,119.83V392.17a24,24,0,0,1-24,24Z" />
|
12
|
+
<path d="M352,336a16,16,0,0,1-14.29-23.18c9.49-18.9,14.3-38,14.3-56.82,0-19.36-4.66-37.92-14.25-56.73a16,16,0,0,1,28.5-14.54C378.2,208.16,384,231.47,384,256c0,23.83-6,47.78-17.7,71.18A16,16,0,0,1,352,336Z" />
|
13
|
+
<path d="M400,384a16,16,0,0,1-13.87-24C405,327.05,416,299.45,416,256c0-44.12-10.94-71.52-29.83-103.95A16,16,0,0,1,413.83,136C434.92,172.16,448,204.88,448,256c0,50.36-13.06,83.24-34.12,120A16,16,0,0,1,400,384Z" />
|
14
|
+
</svg>
|
15
|
+
);
|
16
|
+
export default VolumeIconHeigh;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
const VolumeIconLow = (props) => (_jsx("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 13 12" }, props, { children: _jsx("path", { fill: "#fff", d: "M12.428 9a2.5 2.5 0 0 1-.657 1.053l-1.27 1.214a2.6 2.6 0 0 1-1.1.63V9.5c0-.276.235-.5.523-.5zm.108-6.5V8H9.924c-.864 0-1.567.673-1.567 1.5V12H2.612C1.172 12 0 10.879 0 9.5v-7C0 1.122 1.172 0 2.612 0h7.312c1.44 0 2.612 1.122 2.612 2.5m-8.88 6.25c0-.414-.35-.75-.783-.75s-.784.336-.784.75.351.75.784.75c.432 0 .783-.336.783-.75m0-2.75c0-.414-.35-.75-.783-.75s-.784.336-.784.75.351.75.784.75c.432 0 .783-.336.783-.75m0-2.75c0-.414-.35-.75-.783-.75s-.784.336-.784.75.351.75.784.75c.432 0 .783-.336.783-.75" }) })));
|
3
|
+
export default VolumeIconLow;
|
4
|
+
//# sourceMappingURL=VolumeIconLow%20copy.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"VolumeIconLow copy.js","sourceRoot":"","sources":["../../../src/components/icons/VolumeIconLow copy.tsx"],"names":[],"mappings":";AACA,MAAM,aAAa,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CACxD,4BACE,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,IAAI,EAAC,MAAM,EACX,OAAO,EAAC,WAAW,IACf,KAAK,cAET,eACE,IAAI,EAAC,MAAM,EACX,CAAC,EAAC,ufAAuf,GACzf,IACE,CACP,CAAC;AACF,eAAe,aAAa,CAAC"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import type { SVGProps } from "react";
|
2
|
+
const VolumeIconLow = (props: SVGProps<SVGSVGElement>) => (
|
3
|
+
<svg
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
5
|
+
width="1em"
|
6
|
+
height="1em"
|
7
|
+
fill="none"
|
8
|
+
viewBox="0 0 13 12"
|
9
|
+
{...props}
|
10
|
+
>
|
11
|
+
<path
|
12
|
+
fill="#fff"
|
13
|
+
d="M12.428 9a2.5 2.5 0 0 1-.657 1.053l-1.27 1.214a2.6 2.6 0 0 1-1.1.63V9.5c0-.276.235-.5.523-.5zm.108-6.5V8H9.924c-.864 0-1.567.673-1.567 1.5V12H2.612C1.172 12 0 10.879 0 9.5v-7C0 1.122 1.172 0 2.612 0h7.312c1.44 0 2.612 1.122 2.612 2.5m-8.88 6.25c0-.414-.35-.75-.783-.75s-.784.336-.784.75.351.75.784.75c.432 0 .783-.336.783-.75m0-2.75c0-.414-.35-.75-.783-.75s-.784.336-.784.75.351.75.784.75c.432 0 .783-.336.783-.75m0-2.75c0-.414-.35-.75-.783-.75s-.784.336-.784.75.351.75.784.75c.432 0 .783-.336.783-.75"
|
14
|
+
/>
|
15
|
+
</svg>
|
16
|
+
);
|
17
|
+
export default VolumeIconLow;
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import type { SVGProps } from "react";
|
2
|
-
const SvgVolumeLow = (props: SVGProps<SVGSVGElement>) => (
|
3
|
-
<svg
|
4
|
-
xmlns="http://www.w3.org/2000/svg"
|
5
|
-
width="1em"
|
6
|
-
height="1em"
|
7
|
-
fill="#fff"
|
8
|
-
viewBox="0 0 512 512"
|
9
|
-
{...props}
|
10
|
-
>
|
11
|
-
<path d="M296 416.19a23.92 23.92 0 0 1-14.21-4.69l-.66-.51-91.46-75H120a24 24 0 0 1-24-24V200a24 24 0 0 1 24-24h69.65l91.46-75 .66-.51A24 24 0 0 1 320 119.83v272.34a24 24 0 0 1-24 24ZM384 336a16 16 0 0 1-14.29-23.18c9.49-18.9 14.3-38 14.3-56.82 0-19.36-4.66-37.92-14.25-56.73a16 16 0 0 1 28.5-14.54C410.2 208.16 416 231.47 416 256c0 23.83-6 47.78-17.7 71.18A16 16 0 0 1 384 336" />
|
12
|
-
</svg>
|
13
|
-
);
|
14
|
-
export default SvgVolumeLow;
|
1
|
+
import type { SVGProps } from "react";
|
2
|
+
const SvgVolumeLow = (props: SVGProps<SVGSVGElement>) => (
|
3
|
+
<svg
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
5
|
+
width="1em"
|
6
|
+
height="1em"
|
7
|
+
fill="#fff"
|
8
|
+
viewBox="0 0 512 512"
|
9
|
+
{...props}
|
10
|
+
>
|
11
|
+
<path d="M296 416.19a23.92 23.92 0 0 1-14.21-4.69l-.66-.51-91.46-75H120a24 24 0 0 1-24-24V200a24 24 0 0 1 24-24h69.65l91.46-75 .66-.51A24 24 0 0 1 320 119.83v272.34a24 24 0 0 1-24 24ZM384 336a16 16 0 0 1-14.29-23.18c9.49-18.9 14.3-38 14.3-56.82 0-19.36-4.66-37.92-14.25-56.73a16 16 0 0 1 28.5-14.54C410.2 208.16 416 231.47 416 256c0 23.83-6 47.78-17.7 71.18A16 16 0 0 1 384 336" />
|
12
|
+
</svg>
|
13
|
+
);
|
14
|
+
export default SvgVolumeLow;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
const SvgSubIcon = (props) => (_jsxs("svg", { fill: "white", width: "1em", height: "1em", viewBox: "0 0 15 15", xmlns: "http://www.w3.org/2000/svg", children: [_jsx("title", { children: "ionicons-v5-g" }), _jsx("path", { d: "M296,416.19a23.92,23.92,0,0,1-14.21-4.69l-.66-.51-91.46-75H120a24,24,0,0,1-24-24V200a24,24,0,0,1,24-24h69.65l91.46-75,.66-.51A24,24,0,0,1,320,119.83V392.17a24,24,0,0,1-24,24Z" }), _jsx("path", { d: "M384,336a16,16,0,0,1-14.29-23.18c9.49-18.9,14.3-38,14.3-56.82,0-19.36-4.66-37.92-14.25-56.73a16,16,0,0,1,28.5-14.54C410.2,208.16,416,231.47,416,256c0,23.83-6,47.78-17.7,71.18A16,16,0,0,1,384,336Z" })] }));
|
3
|
+
export default SvgSubIcon;
|
4
|
+
//# sourceMappingURL=VolumeLowIcon.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"VolumeLowIcon.js","sourceRoot":"","sources":["../../../src/components/icons/VolumeLowIcon.tsx"],"names":[],"mappings":";AACA,MAAM,UAAU,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CACrD,eACE,IAAI,EAAC,OAAO,EACZ,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,OAAO,EAAC,WAAW,EACnB,KAAK,EAAC,4BAA4B,aAElC,4CAA4B,EAC5B,eAAM,CAAC,EAAC,gLAAgL,GAAG,EAC3L,eAAM,CAAC,EAAC,qMAAqM,GAAG,IAC5M,CACP,CAAC;AACF,eAAe,UAAU,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import type { SVGProps } from "react";
|
2
|
+
const SvgSubIcon = (props: SVGProps<SVGSVGElement>) => (
|
3
|
+
<svg
|
4
|
+
fill="white"
|
5
|
+
width="1em"
|
6
|
+
height="1em"
|
7
|
+
viewBox="0 0 15 15"
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
9
|
+
>
|
10
|
+
<title>ionicons-v5-g</title>
|
11
|
+
<path d="M296,416.19a23.92,23.92,0,0,1-14.21-4.69l-.66-.51-91.46-75H120a24,24,0,0,1-24-24V200a24,24,0,0,1,24-24h69.65l91.46-75,.66-.51A24,24,0,0,1,320,119.83V392.17a24,24,0,0,1-24,24Z" />
|
12
|
+
<path d="M384,336a16,16,0,0,1-14.29-23.18c9.49-18.9,14.3-38,14.3-56.82,0-19.36-4.66-37.92-14.25-56.73a16,16,0,0,1,28.5-14.54C410.2,208.16,416,231.47,416,256c0,23.83-6,47.78-17.7,71.18A16,16,0,0,1,384,336Z" />
|
13
|
+
</svg>
|
14
|
+
);
|
15
|
+
export default SvgSubIcon;
|
@@ -1,25 +1,25 @@
|
|
1
|
-
import type { SVGProps } from "react";
|
2
|
-
const SvgVolumeMute = (props: SVGProps<SVGSVGElement>) => (
|
3
|
-
<svg
|
4
|
-
xmlns="http://www.w3.org/2000/svg"
|
5
|
-
width="1em"
|
6
|
-
height="1em"
|
7
|
-
fill="#fff"
|
8
|
-
viewBox="0 0 512 512"
|
9
|
-
{...props}
|
10
|
-
>
|
11
|
-
<path
|
12
|
-
d="M416 432 64 80"
|
13
|
-
style={{
|
14
|
-
fill: "none",
|
15
|
-
stroke: "#fff",
|
16
|
-
strokeLinecap: "round",
|
17
|
-
strokeMiterlimit: 10,
|
18
|
-
strokeWidth: 32,
|
19
|
-
}}
|
20
|
-
/>
|
21
|
-
<path d="M243.33 98.86a23.89 23.89 0 0 0-25.55 1.82l-.66.51-28.52 23.35a8 8 0 0 0-.59 11.85l54.33 54.33a8 8 0 0 0 13.66-5.66v-64.49a24.51 24.51 0 0 0-12.67-21.71M251.33 335.29 96.69 180.69A16 16 0 0 0 85.38 176H56a24 24 0 0 0-24 24v112a24 24 0 0 0 24 24h69.76l92 75.31a23.9 23.9 0 0 0 25.87 1.69A24.51 24.51 0 0 0 256 391.45v-44.86a16 16 0 0 0-4.67-11.3M352 256c0-24.56-5.81-47.87-17.75-71.27a16 16 0 1 0-28.5 14.55C315.34 218.06 320 236.62 320 256q0 4-.31 8.13a8 8 0 0 0 2.32 6.25l14.36 14.36a8 8 0 0 0 13.55-4.31A146 146 0 0 0 352 256M416 256c0-51.18-13.08-83.89-34.18-120.06a16 16 0 0 0-27.64 16.12C373.07 184.44 384 211.83 384 256c0 23.83-3.29 42.88-9.37 60.65a8 8 0 0 0 1.9 8.26L389 337.4a8 8 0 0 0 13.13-2.79C411 311.76 416 287.26 416 256" />
|
22
|
-
<path d="M480 256c0-74.25-20.19-121.11-50.51-168.61a16 16 0 1 0-27 17.22C429.82 147.38 448 189.5 448 256c0 46.19-8.43 80.27-22.43 110.53a8 8 0 0 0 1.59 9l11.92 11.92a8 8 0 0 0 12.92-2.16C471.6 344.9 480 305 480 256" />
|
23
|
-
</svg>
|
24
|
-
);
|
25
|
-
export default SvgVolumeMute;
|
1
|
+
import type { SVGProps } from "react";
|
2
|
+
const SvgVolumeMute = (props: SVGProps<SVGSVGElement>) => (
|
3
|
+
<svg
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
5
|
+
width="1em"
|
6
|
+
height="1em"
|
7
|
+
fill="#fff"
|
8
|
+
viewBox="0 0 512 512"
|
9
|
+
{...props}
|
10
|
+
>
|
11
|
+
<path
|
12
|
+
d="M416 432 64 80"
|
13
|
+
style={{
|
14
|
+
fill: "none",
|
15
|
+
stroke: "#fff",
|
16
|
+
strokeLinecap: "round",
|
17
|
+
strokeMiterlimit: 10,
|
18
|
+
strokeWidth: 32,
|
19
|
+
}}
|
20
|
+
/>
|
21
|
+
<path d="M243.33 98.86a23.89 23.89 0 0 0-25.55 1.82l-.66.51-28.52 23.35a8 8 0 0 0-.59 11.85l54.33 54.33a8 8 0 0 0 13.66-5.66v-64.49a24.51 24.51 0 0 0-12.67-21.71M251.33 335.29 96.69 180.69A16 16 0 0 0 85.38 176H56a24 24 0 0 0-24 24v112a24 24 0 0 0 24 24h69.76l92 75.31a23.9 23.9 0 0 0 25.87 1.69A24.51 24.51 0 0 0 256 391.45v-44.86a16 16 0 0 0-4.67-11.3M352 256c0-24.56-5.81-47.87-17.75-71.27a16 16 0 1 0-28.5 14.55C315.34 218.06 320 236.62 320 256q0 4-.31 8.13a8 8 0 0 0 2.32 6.25l14.36 14.36a8 8 0 0 0 13.55-4.31A146 146 0 0 0 352 256M416 256c0-51.18-13.08-83.89-34.18-120.06a16 16 0 0 0-27.64 16.12C373.07 184.44 384 211.83 384 256c0 23.83-3.29 42.88-9.37 60.65a8 8 0 0 0 1.9 8.26L389 337.4a8 8 0 0 0 13.13-2.79C411 311.76 416 287.26 416 256" />
|
22
|
+
<path d="M480 256c0-74.25-20.19-121.11-50.51-168.61a16 16 0 1 0-27 17.22C429.82 147.38 448 189.5 448 256c0 46.19-8.43 80.27-22.43 110.53a8 8 0 0 0 1.59 9l11.92 11.92a8 8 0 0 0 12.92-2.16C471.6 344.9 480 305 480 256" />
|
23
|
+
</svg>
|
24
|
+
);
|
25
|
+
export default SvgVolumeMute;
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import type { SVGProps } from "react";
|
2
|
-
const SvgVolumeVLow = (props: SVGProps<SVGSVGElement>) => (
|
3
|
-
<svg
|
4
|
-
xmlns="http://www.w3.org/2000/svg"
|
5
|
-
width="1em"
|
6
|
-
height="1em"
|
7
|
-
fill="#fff"
|
8
|
-
viewBox="0 0 512 512"
|
9
|
-
{...props}
|
10
|
-
>
|
11
|
-
<path d="M344 416a23.92 23.92 0 0 1-14.21-4.69c-.23-.16-.44-.33-.66-.51l-91.46-74.9H168a24 24 0 0 1-24-24V200.07a24 24 0 0 1 24-24h69.65l91.46-74.9c.22-.18.43-.35.66-.51A24 24 0 0 1 368 120v272a24 24 0 0 1-24 24" />
|
12
|
-
</svg>
|
13
|
-
);
|
14
|
-
export default SvgVolumeVLow;
|
1
|
+
import type { SVGProps } from "react";
|
2
|
+
const SvgVolumeVLow = (props: SVGProps<SVGSVGElement>) => (
|
3
|
+
<svg
|
4
|
+
xmlns="http://www.w3.org/2000/svg"
|
5
|
+
width="1em"
|
6
|
+
height="1em"
|
7
|
+
fill="#fff"
|
8
|
+
viewBox="0 0 512 512"
|
9
|
+
{...props}
|
10
|
+
>
|
11
|
+
<path d="M344 416a23.92 23.92 0 0 1-14.21-4.69c-.23-.16-.44-.33-.66-.51l-91.46-74.9H168a24 24 0 0 1-24-24V200.07a24 24 0 0 1 24-24h69.65l91.46-74.9c.22-.18.43-.35.66-.51A24 24 0 0 1 368 120v272a24 24 0 0 1-24 24" />
|
12
|
+
</svg>
|
13
|
+
);
|
14
|
+
export default SvgVolumeVLow;
|
@@ -1,20 +1,20 @@
|
|
1
|
-
export { default as BackwardIcon } from "./BackwardIcon";
|
2
|
-
export { default as CheckedIcon } from "./CheckedIcon";
|
3
|
-
export { default as ClosedNoteIcon } from "./ClosedNoteIcon";
|
4
|
-
export { default as ForwardIcon } from "./ForwardIcon";
|
5
|
-
export { default as FullScreenIcon } from "./FullScreenIcon";
|
6
|
-
export { default as LeftArrowIcon } from "./LeftArrowIcon";
|
7
|
-
export { default as MuteIcon } from "./MuteIcon";
|
8
|
-
export { default as NoteIcon } from "./NoteIcon";
|
9
|
-
export { default as OpenNoteIcon } from "./OpenNoteIcon";
|
10
|
-
export { default as PauseIcon } from "./PauseIcon";
|
11
|
-
export { default as PlayIcon } from "./PlayIcon";
|
12
|
-
export { default as SettingsIcon } from "./SettingsIcon";
|
13
|
-
export { default as SkillamiIcon } from "./SkillamiIcon";
|
14
|
-
export { default as SubIcon } from "./SubIcon";
|
15
|
-
export { default as SubtitlesIcon } from "./SubtitlesIcon";
|
16
|
-
export { default as UnmuteIcon } from "./UnmuteIcon";
|
17
|
-
export { default as VolumeHigh } from "./VolumeHigh";
|
18
|
-
export { default as VolumeLow } from "./VolumeLow";
|
19
|
-
export { default as VolumeMute } from "./VolumeMute";
|
20
|
-
export { default as VolumeVLow } from "./VolumeVLow";
|
1
|
+
export { default as BackwardIcon } from "./BackwardIcon";
|
2
|
+
export { default as CheckedIcon } from "./CheckedIcon";
|
3
|
+
export { default as ClosedNoteIcon } from "./ClosedNoteIcon";
|
4
|
+
export { default as ForwardIcon } from "./ForwardIcon";
|
5
|
+
export { default as FullScreenIcon } from "./FullScreenIcon";
|
6
|
+
export { default as LeftArrowIcon } from "./LeftArrowIcon";
|
7
|
+
export { default as MuteIcon } from "./MuteIcon";
|
8
|
+
export { default as NoteIcon } from "./NoteIcon";
|
9
|
+
export { default as OpenNoteIcon } from "./OpenNoteIcon";
|
10
|
+
export { default as PauseIcon } from "./PauseIcon";
|
11
|
+
export { default as PlayIcon } from "./PlayIcon";
|
12
|
+
export { default as SettingsIcon } from "./SettingsIcon";
|
13
|
+
export { default as SkillamiIcon } from "./SkillamiIcon";
|
14
|
+
export { default as SubIcon } from "./SubIcon";
|
15
|
+
export { default as SubtitlesIcon } from "./SubtitlesIcon";
|
16
|
+
export { default as UnmuteIcon } from "./UnmuteIcon";
|
17
|
+
export { default as VolumeHigh } from "./VolumeHigh";
|
18
|
+
export { default as VolumeLow } from "./VolumeLow";
|
19
|
+
export { default as VolumeMute } from "./VolumeMute";
|
20
|
+
export { default as VolumeVLow } from "./VolumeVLow";
|