@popmenu/audio-player 0.49.0 → 0.50.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 +37 -16
- package/build/index.es.js.map +1 -1
- package/build/index.js +37 -16
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -174,10 +174,10 @@ var classNames$1 = classnames$1.exports;
|
|
|
174
174
|
|
|
175
175
|
var _path$j;
|
|
176
176
|
|
|
177
|
-
function _extends$
|
|
177
|
+
function _extends$Y() { _extends$Y = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Y.apply(this, arguments); }
|
|
178
178
|
|
|
179
179
|
function SvgPause(props) {
|
|
180
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
180
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$Y({
|
|
181
181
|
viewBox: "0 0 16 16",
|
|
182
182
|
fill: "none",
|
|
183
183
|
strokeLinecap: "round",
|
|
@@ -192,10 +192,10 @@ function SvgPause(props) {
|
|
|
192
192
|
|
|
193
193
|
var _path$i;
|
|
194
194
|
|
|
195
|
-
function _extends$
|
|
195
|
+
function _extends$W() { _extends$W = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$W.apply(this, arguments); }
|
|
196
196
|
|
|
197
197
|
function SvgPlay(props) {
|
|
198
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
198
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$W({
|
|
199
199
|
viewBox: "0 0 16 16",
|
|
200
200
|
fill: "none",
|
|
201
201
|
strokeLinecap: "round",
|
|
@@ -210,10 +210,10 @@ function SvgPlay(props) {
|
|
|
210
210
|
|
|
211
211
|
var _path$g;
|
|
212
212
|
|
|
213
|
-
function _extends$
|
|
213
|
+
function _extends$T() { _extends$T = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$T.apply(this, arguments); }
|
|
214
214
|
|
|
215
215
|
function SvgVolumeDown(props) {
|
|
216
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
216
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$T({
|
|
217
217
|
viewBox: "0 0 16 16",
|
|
218
218
|
fill: "none",
|
|
219
219
|
strokeLinecap: "round",
|
|
@@ -228,10 +228,10 @@ function SvgVolumeDown(props) {
|
|
|
228
228
|
|
|
229
229
|
var _path$f;
|
|
230
230
|
|
|
231
|
-
function _extends$
|
|
231
|
+
function _extends$S() { _extends$S = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$S.apply(this, arguments); }
|
|
232
232
|
|
|
233
233
|
function SvgVolumeMute(props) {
|
|
234
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
234
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$S({
|
|
235
235
|
viewBox: "0 0 16 16",
|
|
236
236
|
fill: "none",
|
|
237
237
|
strokeLinecap: "round",
|
|
@@ -246,10 +246,10 @@ function SvgVolumeMute(props) {
|
|
|
246
246
|
|
|
247
247
|
var _path$e;
|
|
248
248
|
|
|
249
|
-
function _extends$
|
|
249
|
+
function _extends$R() { _extends$R = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$R.apply(this, arguments); }
|
|
250
250
|
|
|
251
251
|
function SvgVolumeOff(props) {
|
|
252
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
252
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$R({
|
|
253
253
|
viewBox: "0 0 16 16",
|
|
254
254
|
fill: "none",
|
|
255
255
|
strokeLinecap: "round",
|
|
@@ -264,10 +264,10 @@ function SvgVolumeOff(props) {
|
|
|
264
264
|
|
|
265
265
|
var _path$d;
|
|
266
266
|
|
|
267
|
-
function _extends$
|
|
267
|
+
function _extends$Q() { _extends$Q = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$Q.apply(this, arguments); }
|
|
268
268
|
|
|
269
269
|
function SvgVolumeUp(props) {
|
|
270
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
270
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$Q({
|
|
271
271
|
viewBox: "0 0 16 16",
|
|
272
272
|
fill: "none",
|
|
273
273
|
strokeLinecap: "round",
|
|
@@ -318,19 +318,19 @@ function __rest(s, e) {
|
|
|
318
318
|
return t;
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
var _path$
|
|
321
|
+
var _path$E;
|
|
322
322
|
|
|
323
|
-
function _extends$
|
|
323
|
+
function _extends$1w() { _extends$1w = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1w.apply(this, arguments); }
|
|
324
324
|
|
|
325
325
|
function SvgUser(props) {
|
|
326
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
326
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1w({
|
|
327
327
|
viewBox: "0 0 16 16",
|
|
328
328
|
fill: "none",
|
|
329
329
|
strokeLinecap: "round",
|
|
330
330
|
strokeLinejoin: "round",
|
|
331
331
|
width: "1em",
|
|
332
332
|
height: "1em"
|
|
333
|
-
}, props), _path$
|
|
333
|
+
}, props), _path$E || (_path$E = /*#__PURE__*/React__namespace.createElement("path", {
|
|
334
334
|
d: "M13.333 14v-1.333A2.667 2.667 0 0010.667 10H5.333a2.667 2.667 0 00-2.666 2.667V14M8 7.333A2.667 2.667 0 108 2a2.667 2.667 0 000 5.333z",
|
|
335
335
|
stroke: "currentColor"
|
|
336
336
|
})));
|
|
@@ -531,6 +531,27 @@ Avatar.defaultProps = {
|
|
|
531
531
|
};
|
|
532
532
|
Avatar.displayName = 'Avatar';
|
|
533
533
|
|
|
534
|
+
styles.makeStyles(function (theme) { return ({
|
|
535
|
+
circle: {
|
|
536
|
+
backgroundColor: theme.palette.grey[300],
|
|
537
|
+
borderRadius: '50%',
|
|
538
|
+
height: theme.spacing(0.65),
|
|
539
|
+
width: theme.spacing(0.65),
|
|
540
|
+
margin: theme.spacing(1) + "px 0 " + theme.spacing(1) + "px " + theme.spacing(1) + "px",
|
|
541
|
+
},
|
|
542
|
+
container: {
|
|
543
|
+
border: "1px solid " + theme.palette.secondary.light,
|
|
544
|
+
borderRadius: theme.spacing(0.5),
|
|
545
|
+
flexGrow: 1,
|
|
546
|
+
},
|
|
547
|
+
titleBar: {
|
|
548
|
+
display: 'flex',
|
|
549
|
+
flexDirection: 'row',
|
|
550
|
+
borderBottom: "1px solid " + theme.palette.secondary.light,
|
|
551
|
+
width: '100%',
|
|
552
|
+
},
|
|
553
|
+
}); });
|
|
554
|
+
|
|
534
555
|
var useButtonStyles = styles.makeStyles(function () { return ({
|
|
535
556
|
root: {
|
|
536
557
|
minWidth: 'unset',
|