@popmenu/audio-player 0.92.0 → 0.94.0
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/build/index.es.js +42 -3
- package/build/index.es.js.map +1 -1
- package/build/index.js +41 -2
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { createElement, forwardRef, useRef, useState, useReducer, useEffect, useMemo } from 'react';
|
|
2
|
+
import React__default, { createElement, forwardRef, createContext, useRef, useState, useReducer, useEffect, useMemo } from 'react';
|
|
3
3
|
import { makeStyles, Typography as Typography$1, Link as Link$1, Paper as Paper$1, useTheme, Box, Popper, Grow, Slider } from '@material-ui/core';
|
|
4
4
|
import '@material-ui/lab/Alert';
|
|
5
5
|
import '@material-ui/core/AppBar';
|
|
@@ -782,7 +782,7 @@ Link.defaultProps = {
|
|
|
782
782
|
};
|
|
783
783
|
Link.displayName = 'Link';
|
|
784
784
|
|
|
785
|
-
var useStyles = makeStyles(function (_a) {
|
|
785
|
+
var useStyles$4 = makeStyles(function (_a) {
|
|
786
786
|
var spacing = _a.spacing;
|
|
787
787
|
return ({
|
|
788
788
|
root: {
|
|
@@ -796,7 +796,7 @@ var useStyles = makeStyles(function (_a) {
|
|
|
796
796
|
});
|
|
797
797
|
var Paper = forwardRef(function (props, ref) {
|
|
798
798
|
var legacyStyles = props.legacyStyles, restProps = __rest(props, ["legacyStyles"]);
|
|
799
|
-
var classes = useStyles(props);
|
|
799
|
+
var classes = useStyles$4(props);
|
|
800
800
|
return React__default.createElement(Paper$1, __assign({}, ref, { classes: __assign({}, (legacyStyles && classes)) }, restProps));
|
|
801
801
|
});
|
|
802
802
|
Paper.displayName = 'Paper';
|
|
@@ -949,6 +949,45 @@ makeStyles(function (theme) { return ({
|
|
|
949
949
|
},
|
|
950
950
|
}); });
|
|
951
951
|
|
|
952
|
+
makeStyles(function () { return ({
|
|
953
|
+
root: {
|
|
954
|
+
display: 'flex',
|
|
955
|
+
flexDirection: 'column',
|
|
956
|
+
alignItems: 'center',
|
|
957
|
+
gridGap: 16,
|
|
958
|
+
},
|
|
959
|
+
}); });
|
|
960
|
+
|
|
961
|
+
var FollowerAuthenticationDialogContext = createContext(null);
|
|
962
|
+
FollowerAuthenticationDialogContext.Provider;
|
|
963
|
+
|
|
964
|
+
makeStyles(function () { return ({
|
|
965
|
+
form: {
|
|
966
|
+
display: 'flex',
|
|
967
|
+
flexDirection: 'column',
|
|
968
|
+
alignItems: 'center',
|
|
969
|
+
width: '100%',
|
|
970
|
+
gridGap: 16,
|
|
971
|
+
},
|
|
972
|
+
}); });
|
|
973
|
+
|
|
974
|
+
makeStyles(function () { return ({
|
|
975
|
+
main: {
|
|
976
|
+
width: '100%',
|
|
977
|
+
display: 'flex',
|
|
978
|
+
flexDirection: 'column',
|
|
979
|
+
gridGap: 16,
|
|
980
|
+
},
|
|
981
|
+
}); });
|
|
982
|
+
|
|
983
|
+
makeStyles(function () { return ({
|
|
984
|
+
root: {
|
|
985
|
+
position: 'absolute',
|
|
986
|
+
top: 0,
|
|
987
|
+
right: 0,
|
|
988
|
+
},
|
|
989
|
+
}); });
|
|
990
|
+
|
|
952
991
|
var AUDIO_PLAYER_EVENT_TYPES;
|
|
953
992
|
(function (AUDIO_PLAYER_EVENT_TYPES) {
|
|
954
993
|
AUDIO_PLAYER_EVENT_TYPES["TOGGLE_PLAYBACK"] = "TOGGLE_PLAYBACK";
|