@popmenu/audio-player 0.34.0 → 0.37.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 +29 -16
- package/build/index.es.js.map +1 -1
- package/build/index.js +29 -16
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -34,6 +34,7 @@ require('@material-ui/core/InputAdornment');
|
|
|
34
34
|
require('@material-ui/core/LinearProgress');
|
|
35
35
|
require('@material-ui/core/List');
|
|
36
36
|
require('@material-ui/core/ListItem');
|
|
37
|
+
require('@material-ui/core/ListItemAvatar');
|
|
37
38
|
require('@material-ui/core/ListItemIcon');
|
|
38
39
|
require('@material-ui/core/ListItemSecondaryAction');
|
|
39
40
|
require('@material-ui/core/ListItemText');
|
|
@@ -173,10 +174,10 @@ var classNames$1 = classnames$1.exports;
|
|
|
173
174
|
|
|
174
175
|
var _path$i;
|
|
175
176
|
|
|
176
|
-
function _extends$
|
|
177
|
+
function _extends$I() { _extends$I = 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$I.apply(this, arguments); }
|
|
177
178
|
|
|
178
179
|
function SvgPause(props) {
|
|
179
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
180
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$I({
|
|
180
181
|
viewBox: "0 0 16 16",
|
|
181
182
|
fill: "none",
|
|
182
183
|
strokeLinecap: "round",
|
|
@@ -191,10 +192,10 @@ function SvgPause(props) {
|
|
|
191
192
|
|
|
192
193
|
var _path$h;
|
|
193
194
|
|
|
194
|
-
function _extends$
|
|
195
|
+
function _extends$H() { _extends$H = 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$H.apply(this, arguments); }
|
|
195
196
|
|
|
196
197
|
function SvgPlay(props) {
|
|
197
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
198
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$H({
|
|
198
199
|
viewBox: "0 0 16 16",
|
|
199
200
|
fill: "none",
|
|
200
201
|
strokeLinecap: "round",
|
|
@@ -209,10 +210,10 @@ function SvgPlay(props) {
|
|
|
209
210
|
|
|
210
211
|
var _path$f;
|
|
211
212
|
|
|
212
|
-
function _extends$
|
|
213
|
+
function _extends$E() { _extends$E = 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$E.apply(this, arguments); }
|
|
213
214
|
|
|
214
215
|
function SvgVolumeDown(props) {
|
|
215
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
216
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$E({
|
|
216
217
|
viewBox: "0 0 16 16",
|
|
217
218
|
fill: "none",
|
|
218
219
|
strokeLinecap: "round",
|
|
@@ -227,10 +228,10 @@ function SvgVolumeDown(props) {
|
|
|
227
228
|
|
|
228
229
|
var _path$e;
|
|
229
230
|
|
|
230
|
-
function _extends$
|
|
231
|
+
function _extends$D() { _extends$D = 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$D.apply(this, arguments); }
|
|
231
232
|
|
|
232
233
|
function SvgVolumeMute(props) {
|
|
233
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
234
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$D({
|
|
234
235
|
viewBox: "0 0 16 16",
|
|
235
236
|
fill: "none",
|
|
236
237
|
strokeLinecap: "round",
|
|
@@ -245,10 +246,10 @@ function SvgVolumeMute(props) {
|
|
|
245
246
|
|
|
246
247
|
var _path$d;
|
|
247
248
|
|
|
248
|
-
function _extends$
|
|
249
|
+
function _extends$C() { _extends$C = 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$C.apply(this, arguments); }
|
|
249
250
|
|
|
250
251
|
function SvgVolumeOff(props) {
|
|
251
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
252
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$C({
|
|
252
253
|
viewBox: "0 0 16 16",
|
|
253
254
|
fill: "none",
|
|
254
255
|
strokeLinecap: "round",
|
|
@@ -263,10 +264,10 @@ function SvgVolumeOff(props) {
|
|
|
263
264
|
|
|
264
265
|
var _path$c;
|
|
265
266
|
|
|
266
|
-
function _extends$
|
|
267
|
+
function _extends$B() { _extends$B = 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$B.apply(this, arguments); }
|
|
267
268
|
|
|
268
269
|
function SvgVolumeUp(props) {
|
|
269
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
270
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$B({
|
|
270
271
|
viewBox: "0 0 16 16",
|
|
271
272
|
fill: "none",
|
|
272
273
|
strokeLinecap: "round",
|
|
@@ -319,10 +320,10 @@ function __rest(s, e) {
|
|
|
319
320
|
|
|
320
321
|
var _path$F;
|
|
321
322
|
|
|
322
|
-
function _extends$
|
|
323
|
+
function _extends$1g() { _extends$1g = 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$1g.apply(this, arguments); }
|
|
323
324
|
|
|
324
325
|
function SvgUser(props) {
|
|
325
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
326
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1g({
|
|
326
327
|
viewBox: "0 0 16 16",
|
|
327
328
|
fill: "none",
|
|
328
329
|
strokeLinecap: "round",
|
|
@@ -732,7 +733,7 @@ Link.defaultProps = {
|
|
|
732
733
|
};
|
|
733
734
|
Link.displayName = 'Link';
|
|
734
735
|
|
|
735
|
-
var useStyles = core.makeStyles(function (_a) {
|
|
736
|
+
var useStyles$1 = core.makeStyles(function (_a) {
|
|
736
737
|
var spacing = _a.spacing;
|
|
737
738
|
return ({
|
|
738
739
|
root: {
|
|
@@ -746,7 +747,7 @@ var useStyles = core.makeStyles(function (_a) {
|
|
|
746
747
|
});
|
|
747
748
|
var Paper = React.forwardRef(function (props, ref) {
|
|
748
749
|
var legacyStyles = props.legacyStyles, restProps = __rest(props, ["legacyStyles"]);
|
|
749
|
-
var classes = useStyles(props);
|
|
750
|
+
var classes = useStyles$1(props);
|
|
750
751
|
return React__default['default'].createElement(core.Paper, __assign({}, ref, { classes: __assign({}, (legacyStyles && classes)) }, restProps));
|
|
751
752
|
});
|
|
752
753
|
Paper.displayName = 'Paper';
|
|
@@ -761,6 +762,18 @@ var Radio = React.forwardRef(function (props, ref) {
|
|
|
761
762
|
});
|
|
762
763
|
Radio.displayName = 'Radio';
|
|
763
764
|
|
|
765
|
+
core.makeStyles(function () { return ({
|
|
766
|
+
slider: {
|
|
767
|
+
scrollSnapType: 'x mandatory',
|
|
768
|
+
},
|
|
769
|
+
slide: {
|
|
770
|
+
scrollSnapAlign: 'center',
|
|
771
|
+
scrollSnapStop: 'always',
|
|
772
|
+
flexBasis: 300,
|
|
773
|
+
flexShrink: 0,
|
|
774
|
+
},
|
|
775
|
+
}); });
|
|
776
|
+
|
|
764
777
|
styles.makeStyles(function () { return ({
|
|
765
778
|
textfield: {
|
|
766
779
|
background: function (props) { return (props.backgroundTransparency ? '#FFFFFF44' : 'none'); },
|