@popmenu/audio-player 0.49.0 → 0.51.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.es.js
CHANGED
|
@@ -135,10 +135,10 @@ var classNames$1 = classnames$1.exports;
|
|
|
135
135
|
|
|
136
136
|
var _path$j;
|
|
137
137
|
|
|
138
|
-
function _extends$
|
|
138
|
+
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); }
|
|
139
139
|
|
|
140
140
|
function SvgPause(props) {
|
|
141
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
141
|
+
return /*#__PURE__*/React.createElement("svg", _extends$Y({
|
|
142
142
|
viewBox: "0 0 16 16",
|
|
143
143
|
fill: "none",
|
|
144
144
|
strokeLinecap: "round",
|
|
@@ -153,10 +153,10 @@ function SvgPause(props) {
|
|
|
153
153
|
|
|
154
154
|
var _path$i;
|
|
155
155
|
|
|
156
|
-
function _extends$
|
|
156
|
+
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); }
|
|
157
157
|
|
|
158
158
|
function SvgPlay(props) {
|
|
159
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
159
|
+
return /*#__PURE__*/React.createElement("svg", _extends$W({
|
|
160
160
|
viewBox: "0 0 16 16",
|
|
161
161
|
fill: "none",
|
|
162
162
|
strokeLinecap: "round",
|
|
@@ -171,10 +171,10 @@ function SvgPlay(props) {
|
|
|
171
171
|
|
|
172
172
|
var _path$g;
|
|
173
173
|
|
|
174
|
-
function _extends$
|
|
174
|
+
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); }
|
|
175
175
|
|
|
176
176
|
function SvgVolumeDown(props) {
|
|
177
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
177
|
+
return /*#__PURE__*/React.createElement("svg", _extends$T({
|
|
178
178
|
viewBox: "0 0 16 16",
|
|
179
179
|
fill: "none",
|
|
180
180
|
strokeLinecap: "round",
|
|
@@ -189,10 +189,10 @@ function SvgVolumeDown(props) {
|
|
|
189
189
|
|
|
190
190
|
var _path$f;
|
|
191
191
|
|
|
192
|
-
function _extends$
|
|
192
|
+
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); }
|
|
193
193
|
|
|
194
194
|
function SvgVolumeMute(props) {
|
|
195
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
195
|
+
return /*#__PURE__*/React.createElement("svg", _extends$S({
|
|
196
196
|
viewBox: "0 0 16 16",
|
|
197
197
|
fill: "none",
|
|
198
198
|
strokeLinecap: "round",
|
|
@@ -207,10 +207,10 @@ function SvgVolumeMute(props) {
|
|
|
207
207
|
|
|
208
208
|
var _path$e;
|
|
209
209
|
|
|
210
|
-
function _extends$
|
|
210
|
+
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); }
|
|
211
211
|
|
|
212
212
|
function SvgVolumeOff(props) {
|
|
213
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
213
|
+
return /*#__PURE__*/React.createElement("svg", _extends$R({
|
|
214
214
|
viewBox: "0 0 16 16",
|
|
215
215
|
fill: "none",
|
|
216
216
|
strokeLinecap: "round",
|
|
@@ -225,10 +225,10 @@ function SvgVolumeOff(props) {
|
|
|
225
225
|
|
|
226
226
|
var _path$d;
|
|
227
227
|
|
|
228
|
-
function _extends$
|
|
228
|
+
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); }
|
|
229
229
|
|
|
230
230
|
function SvgVolumeUp(props) {
|
|
231
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
231
|
+
return /*#__PURE__*/React.createElement("svg", _extends$Q({
|
|
232
232
|
viewBox: "0 0 16 16",
|
|
233
233
|
fill: "none",
|
|
234
234
|
strokeLinecap: "round",
|
|
@@ -279,19 +279,19 @@ function __rest(s, e) {
|
|
|
279
279
|
return t;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
var _path$
|
|
282
|
+
var _path$E;
|
|
283
283
|
|
|
284
|
-
function _extends$
|
|
284
|
+
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); }
|
|
285
285
|
|
|
286
286
|
function SvgUser(props) {
|
|
287
|
-
return /*#__PURE__*/React.createElement("svg", _extends$
|
|
287
|
+
return /*#__PURE__*/React.createElement("svg", _extends$1w({
|
|
288
288
|
viewBox: "0 0 16 16",
|
|
289
289
|
fill: "none",
|
|
290
290
|
strokeLinecap: "round",
|
|
291
291
|
strokeLinejoin: "round",
|
|
292
292
|
width: "1em",
|
|
293
293
|
height: "1em"
|
|
294
|
-
}, props), _path$
|
|
294
|
+
}, props), _path$E || (_path$E = /*#__PURE__*/React.createElement("path", {
|
|
295
295
|
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",
|
|
296
296
|
stroke: "currentColor"
|
|
297
297
|
})));
|
|
@@ -492,6 +492,27 @@ Avatar.defaultProps = {
|
|
|
492
492
|
};
|
|
493
493
|
Avatar.displayName = 'Avatar';
|
|
494
494
|
|
|
495
|
+
makeStyles$1(function (theme) { return ({
|
|
496
|
+
circle: {
|
|
497
|
+
backgroundColor: theme.palette.grey[300],
|
|
498
|
+
borderRadius: '50%',
|
|
499
|
+
height: theme.spacing(0.65),
|
|
500
|
+
width: theme.spacing(0.65),
|
|
501
|
+
margin: theme.spacing(1) + "px 0 " + theme.spacing(1) + "px " + theme.spacing(1) + "px",
|
|
502
|
+
},
|
|
503
|
+
container: {
|
|
504
|
+
border: "1px solid " + theme.palette.secondary.light,
|
|
505
|
+
borderRadius: theme.spacing(0.5),
|
|
506
|
+
flexGrow: 1,
|
|
507
|
+
},
|
|
508
|
+
titleBar: {
|
|
509
|
+
display: 'flex',
|
|
510
|
+
flexDirection: 'row',
|
|
511
|
+
borderBottom: "1px solid " + theme.palette.secondary.light,
|
|
512
|
+
width: '100%',
|
|
513
|
+
},
|
|
514
|
+
}); });
|
|
515
|
+
|
|
495
516
|
var useButtonStyles = makeStyles$1(function () { return ({
|
|
496
517
|
root: {
|
|
497
518
|
minWidth: 'unset',
|