@popmenu/audio-player 0.31.0 → 0.32.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 CHANGED
@@ -132,109 +132,109 @@ var classnames$1 = {exports: {}};
132
132
 
133
133
  var classNames$1 = classnames$1.exports;
134
134
 
135
- var _path$h;
135
+ var _path$i;
136
136
 
137
- function _extends$A() { _extends$A = 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$A.apply(this, arguments); }
137
+ 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); }
138
138
 
139
139
  function SvgPause(props) {
140
- return /*#__PURE__*/React.createElement("svg", _extends$A({
140
+ return /*#__PURE__*/React.createElement("svg", _extends$C({
141
141
  viewBox: "0 0 16 16",
142
142
  fill: "none",
143
143
  strokeLinecap: "round",
144
144
  strokeLinejoin: "round",
145
145
  width: "1em",
146
146
  height: "1em"
147
- }, props), _path$h || (_path$h = /*#__PURE__*/React.createElement("path", {
147
+ }, props), _path$i || (_path$i = /*#__PURE__*/React.createElement("path", {
148
148
  d: "M6.667 2.667H4v10.666h2.667V2.666zm5.333 0H9.333v10.666H12V2.666z",
149
149
  stroke: "currentColor"
150
150
  })));
151
151
  }
152
152
 
153
- var _path$g;
153
+ var _path$h;
154
154
 
155
- function _extends$z() { _extends$z = 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$z.apply(this, arguments); }
155
+ 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); }
156
156
 
157
157
  function SvgPlay(props) {
158
- return /*#__PURE__*/React.createElement("svg", _extends$z({
158
+ return /*#__PURE__*/React.createElement("svg", _extends$B({
159
159
  viewBox: "0 0 16 16",
160
160
  fill: "none",
161
161
  strokeLinecap: "round",
162
162
  strokeLinejoin: "round",
163
163
  width: "1em",
164
164
  height: "1em"
165
- }, props), _path$g || (_path$g = /*#__PURE__*/React.createElement("path", {
165
+ }, props), _path$h || (_path$h = /*#__PURE__*/React.createElement("path", {
166
166
  d: "M3.333 2l9.334 6-9.334 6V2z",
167
167
  stroke: "currentColor"
168
168
  })));
169
169
  }
170
170
 
171
- var _path$e;
171
+ var _path$f;
172
172
 
173
- 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); }
173
+ 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); }
174
174
 
175
175
  function SvgVolumeDown(props) {
176
- return /*#__PURE__*/React.createElement("svg", _extends$w({
176
+ return /*#__PURE__*/React.createElement("svg", _extends$y({
177
177
  viewBox: "0 0 16 16",
178
178
  fill: "none",
179
179
  strokeLinecap: "round",
180
180
  strokeLinejoin: "round",
181
181
  width: "1em",
182
182
  height: "1em"
183
- }, props), _path$e || (_path$e = /*#__PURE__*/React.createElement("path", {
183
+ }, props), _path$f || (_path$f = /*#__PURE__*/React.createElement("path", {
184
184
  d: "M8.999 3.333L5.665 6H3v4h2.666L9 12.667V3.333zm3.026 2.307a3.333 3.333 0 010 4.714",
185
185
  stroke: "currentColor"
186
186
  })));
187
187
  }
188
188
 
189
- var _path$d;
189
+ var _path$e;
190
190
 
191
- function _extends$v() { _extends$v = 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$v.apply(this, arguments); }
191
+ function _extends$x() { _extends$x = 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$x.apply(this, arguments); }
192
192
 
193
193
  function SvgVolumeMute(props) {
194
- return /*#__PURE__*/React.createElement("svg", _extends$v({
194
+ return /*#__PURE__*/React.createElement("svg", _extends$x({
195
195
  viewBox: "0 0 16 16",
196
196
  fill: "none",
197
197
  strokeLinecap: "round",
198
198
  strokeLinejoin: "round",
199
199
  width: "1em",
200
200
  height: "1em"
201
- }, props), _path$d || (_path$d = /*#__PURE__*/React.createElement("path", {
201
+ }, props), _path$e || (_path$e = /*#__PURE__*/React.createElement("path", {
202
202
  d: "M7.333 3.333L4 6H1.333v4H4l3.333 2.667V3.333z",
203
203
  stroke: "currentColor"
204
204
  })));
205
205
  }
206
206
 
207
- var _path$c;
207
+ var _path$d;
208
208
 
209
- function _extends$u() { _extends$u = 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$u.apply(this, arguments); }
209
+ 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); }
210
210
 
211
211
  function SvgVolumeOff(props) {
212
- return /*#__PURE__*/React.createElement("svg", _extends$u({
212
+ return /*#__PURE__*/React.createElement("svg", _extends$w({
213
213
  viewBox: "0 0 16 16",
214
214
  fill: "none",
215
215
  strokeLinecap: "round",
216
216
  strokeLinejoin: "round",
217
217
  width: "1em",
218
218
  height: "1em"
219
- }, props), _path$c || (_path$c = /*#__PURE__*/React.createElement("path", {
219
+ }, props), _path$d || (_path$d = /*#__PURE__*/React.createElement("path", {
220
220
  d: "M7.333 3.333L4 6H1.333v4H4l3.333 2.667V3.333zm8 2.667l-4 4m0-4l4 4",
221
221
  stroke: "currentColor"
222
222
  })));
223
223
  }
224
224
 
225
- var _path$b;
225
+ var _path$c;
226
226
 
227
- 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); }
227
+ function _extends$v() { _extends$v = 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$v.apply(this, arguments); }
228
228
 
229
229
  function SvgVolumeUp(props) {
230
- return /*#__PURE__*/React.createElement("svg", _extends$t({
230
+ return /*#__PURE__*/React.createElement("svg", _extends$v({
231
231
  viewBox: "0 0 16 16",
232
232
  fill: "none",
233
233
  strokeLinecap: "round",
234
234
  strokeLinejoin: "round",
235
235
  width: "1em",
236
236
  height: "1em"
237
- }, props), _path$b || (_path$b = /*#__PURE__*/React.createElement("path", {
237
+ }, props), _path$c || (_path$c = /*#__PURE__*/React.createElement("path", {
238
238
  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",
239
239
  stroke: "currentColor"
240
240
  })));
@@ -597,18 +597,7 @@ var useTypographyStyles = makeStyles$1(function (theme) {
597
597
  var Typography = forwardRef(function (props, ref) {
598
598
  props.weight; props.color; var restProps = __rest(props, ["weight", "color"]);
599
599
  var classes = useTypographyStyles(__assign({}, props));
600
- var variantMapping = {
601
- h1: 'h1',
602
- h2: 'h2',
603
- h3: 'h3',
604
- h4: 'h4',
605
- h5: 'h5',
606
- h6: 'h6',
607
- subtitle1: 'p',
608
- subtitle2: 'p',
609
- body1: 'p',
610
- body2: 'p',
611
- };
600
+ var variantMapping = { subtitle1: 'p' };
612
601
  return React__default.createElement(Typography$1, __assign({ ref: ref, classes: classes, variantMapping: variantMapping }, restProps));
613
602
  });
614
603
  Typography.displayName = 'Typography';