@popmenu/audio-player 0.28.0 → 0.29.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 +59 -58
- package/build/index.es.js.map +1 -1
- package/build/index.js +59 -58
- package/build/index.js.map +1 -1
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -171,111 +171,111 @@ var classnames$1 = {exports: {}};
|
|
|
171
171
|
|
|
172
172
|
var classNames$1 = classnames$1.exports;
|
|
173
173
|
|
|
174
|
-
var _path$
|
|
174
|
+
var _path$V;
|
|
175
175
|
|
|
176
|
-
function _extends$
|
|
176
|
+
function _extends$1n() { _extends$1n = 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$1n.apply(this, arguments); }
|
|
177
177
|
|
|
178
178
|
function SvgPause(props) {
|
|
179
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
179
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1n({
|
|
180
180
|
viewBox: "0 0 16 16",
|
|
181
|
+
fill: "none",
|
|
181
182
|
strokeLinecap: "round",
|
|
182
183
|
strokeLinejoin: "round",
|
|
183
|
-
stroke: "currentColor",
|
|
184
184
|
width: "1em",
|
|
185
|
-
height: "1em"
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
185
|
+
height: "1em"
|
|
186
|
+
}, props), _path$V || (_path$V = /*#__PURE__*/React__namespace.createElement("path", {
|
|
187
|
+
d: "M6.667 2.667H4v10.666h2.667V2.666zm5.333 0H9.333v10.666H12V2.666z",
|
|
188
|
+
stroke: "currentColor"
|
|
189
189
|
})));
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
var _path$
|
|
192
|
+
var _path$T;
|
|
193
193
|
|
|
194
|
-
function _extends$
|
|
194
|
+
function _extends$1l() { _extends$1l = 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$1l.apply(this, arguments); }
|
|
195
195
|
|
|
196
196
|
function SvgPlay(props) {
|
|
197
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
197
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$1l({
|
|
198
198
|
viewBox: "0 0 16 16",
|
|
199
|
+
fill: "none",
|
|
199
200
|
strokeLinecap: "round",
|
|
200
201
|
strokeLinejoin: "round",
|
|
201
|
-
stroke: "currentColor",
|
|
202
202
|
width: "1em",
|
|
203
|
-
height: "1em"
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
203
|
+
height: "1em"
|
|
204
|
+
}, props), _path$T || (_path$T = /*#__PURE__*/React__namespace.createElement("path", {
|
|
205
|
+
d: "M3.333 2l9.334 6-9.334 6V2z",
|
|
206
|
+
stroke: "currentColor"
|
|
207
207
|
})));
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
var _path$
|
|
210
|
+
var _path$L;
|
|
211
211
|
|
|
212
|
-
function _extends$
|
|
212
|
+
function _extends$18() { _extends$18 = 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$18.apply(this, arguments); }
|
|
213
213
|
|
|
214
214
|
function SvgVolumeDown(props) {
|
|
215
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
215
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$18({
|
|
216
216
|
viewBox: "0 0 16 16",
|
|
217
|
+
fill: "none",
|
|
217
218
|
strokeLinecap: "round",
|
|
218
219
|
strokeLinejoin: "round",
|
|
219
|
-
stroke: "currentColor",
|
|
220
220
|
width: "1em",
|
|
221
|
-
height: "1em"
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
221
|
+
height: "1em"
|
|
222
|
+
}, props), _path$L || (_path$L = /*#__PURE__*/React__namespace.createElement("path", {
|
|
223
|
+
d: "M8.999 3.333L5.665 6H3v4h2.666L9 12.667V3.333zm3.026 2.307a3.333 3.333 0 010 4.714",
|
|
224
|
+
stroke: "currentColor"
|
|
225
225
|
})));
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
var _path$
|
|
228
|
+
var _path$K;
|
|
229
229
|
|
|
230
|
-
function _extends$
|
|
230
|
+
function _extends$17() { _extends$17 = 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$17.apply(this, arguments); }
|
|
231
231
|
|
|
232
232
|
function SvgVolumeMute(props) {
|
|
233
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
233
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$17({
|
|
234
234
|
viewBox: "0 0 16 16",
|
|
235
|
+
fill: "none",
|
|
235
236
|
strokeLinecap: "round",
|
|
236
237
|
strokeLinejoin: "round",
|
|
237
|
-
stroke: "currentColor",
|
|
238
238
|
width: "1em",
|
|
239
|
-
height: "1em"
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
239
|
+
height: "1em"
|
|
240
|
+
}, props), _path$K || (_path$K = /*#__PURE__*/React__namespace.createElement("path", {
|
|
241
|
+
d: "M7.333 3.333L4 6H1.333v4H4l3.333 2.667V3.333z",
|
|
242
|
+
stroke: "currentColor"
|
|
243
243
|
})));
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
var _path$
|
|
246
|
+
var _path$J;
|
|
247
247
|
|
|
248
|
-
function _extends$
|
|
248
|
+
function _extends$16() { _extends$16 = 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$16.apply(this, arguments); }
|
|
249
249
|
|
|
250
250
|
function SvgVolumeOff(props) {
|
|
251
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
251
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$16({
|
|
252
252
|
viewBox: "0 0 16 16",
|
|
253
|
+
fill: "none",
|
|
253
254
|
strokeLinecap: "round",
|
|
254
255
|
strokeLinejoin: "round",
|
|
255
|
-
stroke: "currentColor",
|
|
256
256
|
width: "1em",
|
|
257
|
-
height: "1em"
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
257
|
+
height: "1em"
|
|
258
|
+
}, props), _path$J || (_path$J = /*#__PURE__*/React__namespace.createElement("path", {
|
|
259
|
+
d: "M7.333 3.333L4 6H1.333v4H4l3.333 2.667V3.333zm8 2.667l-4 4m0-4l4 4",
|
|
260
|
+
stroke: "currentColor"
|
|
261
261
|
})));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
var _path$
|
|
264
|
+
var _path$I;
|
|
265
265
|
|
|
266
|
-
function _extends$
|
|
266
|
+
function _extends$15() { _extends$15 = 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$15.apply(this, arguments); }
|
|
267
267
|
|
|
268
268
|
function SvgVolumeUp(props) {
|
|
269
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
269
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$15({
|
|
270
270
|
viewBox: "0 0 16 16",
|
|
271
|
+
fill: "none",
|
|
271
272
|
strokeLinecap: "round",
|
|
272
273
|
strokeLinejoin: "round",
|
|
273
|
-
stroke: "currentColor",
|
|
274
274
|
width: "1em",
|
|
275
|
-
height: "1em"
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
275
|
+
height: "1em"
|
|
276
|
+
}, props), _path$I || (_path$I = /*#__PURE__*/React__namespace.createElement("path", {
|
|
277
|
+
d: "M7.333 3.333L4 6H1.333v4H4l3.333 2.667V3.333zm5.38-.046a6.667 6.667 0 010 9.426M10.36 5.64a3.333 3.333 0 010 4.713",
|
|
278
|
+
stroke: "currentColor"
|
|
279
279
|
})));
|
|
280
280
|
}
|
|
281
281
|
|
|
@@ -317,21 +317,21 @@ function __rest(s, e) {
|
|
|
317
317
|
return t;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
var _path$
|
|
320
|
+
var _path$1W;
|
|
321
321
|
|
|
322
|
-
function _extends$
|
|
322
|
+
function _extends$31() { _extends$31 = 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$31.apply(this, arguments); }
|
|
323
323
|
|
|
324
324
|
function SvgUser(props) {
|
|
325
|
-
return /*#__PURE__*/React__namespace.createElement("svg", _extends$
|
|
325
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends$31({
|
|
326
326
|
viewBox: "0 0 16 16",
|
|
327
|
+
fill: "none",
|
|
327
328
|
strokeLinecap: "round",
|
|
328
329
|
strokeLinejoin: "round",
|
|
329
|
-
stroke: "currentColor",
|
|
330
330
|
width: "1em",
|
|
331
|
-
height: "1em"
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
331
|
+
height: "1em"
|
|
332
|
+
}, props), _path$1W || (_path$1W = /*#__PURE__*/React__namespace.createElement("path", {
|
|
333
|
+
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",
|
|
334
|
+
stroke: "currentColor"
|
|
335
335
|
})));
|
|
336
336
|
}
|
|
337
337
|
|
|
@@ -661,8 +661,9 @@ var variantMap = {
|
|
|
661
661
|
|
|
662
662
|
var Typography = React.forwardRef(function (props, ref) {
|
|
663
663
|
props.weight; var _a = props.variant, variant = _a === void 0 ? 'body1' : _a; props.color; var restProps = __rest(props, ["weight", "variant", "color"]);
|
|
664
|
-
var
|
|
665
|
-
var
|
|
664
|
+
var validatedVariant = Object.keys(variantMap).includes(variant) ? variant : 'body1';
|
|
665
|
+
var classes = useTypographyStyles(__assign(__assign({}, props), { variant: validatedVariant }));
|
|
666
|
+
var component = variantMap[validatedVariant];
|
|
666
667
|
return React__default['default'].createElement(core.Typography, __assign({ component: component, ref: ref, classes: classes }, restProps, { variant: "inherit" }));
|
|
667
668
|
});
|
|
668
669
|
Typography.displayName = 'Typography';
|