@micromag/viewer 0.3.345 → 0.3.347
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/assets/css/styles.css +8 -8
- package/es/index.js +167 -103
- package/lib/index.js +167 -103
- package/package.json +10 -10
package/lib/index.js
CHANGED
|
@@ -220,8 +220,8 @@ function useScreenInteraction() {
|
|
|
220
220
|
|
|
221
221
|
var styles$g = {"container":"micromag-viewer-buttons-button-container","asLink":"micromag-viewer-buttons-button-asLink","icon":"micromag-viewer-buttons-button-icon","label":"micromag-viewer-buttons-button-label","withIcon":"micromag-viewer-buttons-button-withIcon","right":"micromag-viewer-buttons-button-right","icon-right":"micromag-viewer-buttons-button-icon-right","withIconColumns":"micromag-viewer-buttons-button-withIconColumns","linkDisabled":"micromag-viewer-buttons-button-linkDisabled"};
|
|
222
222
|
|
|
223
|
-
var _excluded$
|
|
224
|
-
var propTypes$
|
|
223
|
+
var _excluded$9 = ["type", "theme", "size", "href", "external", "direct", "target", "label", "children", "focusable", "active", "icon", "iconPosition", "disabled", "loading", "disableOnLoading", "withoutTheme", "asLink", "onClick", "className", "iconClassName", "labelClassName", "refButton"];
|
|
224
|
+
var propTypes$o = {
|
|
225
225
|
type: PropTypes__default["default"].string,
|
|
226
226
|
theme: core.PropTypes.buttonTheme,
|
|
227
227
|
size: core.PropTypes.buttonSize,
|
|
@@ -249,7 +249,7 @@ var propTypes$n = {
|
|
|
249
249
|
})])
|
|
250
250
|
};
|
|
251
251
|
|
|
252
|
-
var defaultProps$
|
|
252
|
+
var defaultProps$o = {
|
|
253
253
|
type: 'button',
|
|
254
254
|
theme: null,
|
|
255
255
|
size: null,
|
|
@@ -299,7 +299,7 @@ var Button = function Button(_ref) {
|
|
|
299
299
|
iconClassName = _ref.iconClassName,
|
|
300
300
|
labelClassName = _ref.labelClassName,
|
|
301
301
|
refButton = _ref.refButton,
|
|
302
|
-
props = _objectWithoutProperties__default["default"](_ref, _excluded$
|
|
302
|
+
props = _objectWithoutProperties__default["default"](_ref, _excluded$9);
|
|
303
303
|
var finalLabel = label || children;
|
|
304
304
|
var text = finalLabel !== null ? /*#__PURE__*/React__default["default"].createElement(components.Label, null, finalLabel) : null;
|
|
305
305
|
var hasChildren = label !== null && children !== null;
|
|
@@ -357,40 +357,43 @@ var Button = function Button(_ref) {
|
|
|
357
357
|
tabIndex: focusable ? '0' : '-1'
|
|
358
358
|
}), content);
|
|
359
359
|
};
|
|
360
|
-
Button.propTypes = propTypes$
|
|
361
|
-
Button.defaultProps = defaultProps$
|
|
360
|
+
Button.propTypes = propTypes$o;
|
|
361
|
+
Button.defaultProps = defaultProps$o;
|
|
362
362
|
|
|
363
|
-
var styles$f = {"container":"micromag-viewer-buttons-icon-button-container","
|
|
363
|
+
var styles$f = {"container":"micromag-viewer-buttons-icon-button-container","label":"micromag-viewer-buttons-icon-button-label","icon":"micromag-viewer-buttons-icon-button-icon"};
|
|
364
364
|
|
|
365
|
-
var _excluded$
|
|
366
|
-
var propTypes$
|
|
365
|
+
var _excluded$8 = ["iconClassName", "className"];
|
|
366
|
+
var propTypes$n = {
|
|
367
|
+
iconClassName: PropTypes__default["default"].string,
|
|
367
368
|
className: PropTypes__default["default"].string
|
|
368
369
|
};
|
|
369
|
-
var defaultProps$
|
|
370
|
+
var defaultProps$n = {
|
|
371
|
+
iconClassName: null,
|
|
370
372
|
className: null
|
|
371
373
|
};
|
|
372
374
|
var IconButton = function IconButton(_ref) {
|
|
373
|
-
var
|
|
374
|
-
|
|
375
|
+
var iconClassName = _ref.iconClassName,
|
|
376
|
+
className = _ref.className,
|
|
377
|
+
props = _objectWithoutProperties__default["default"](_ref, _excluded$8);
|
|
375
378
|
return /*#__PURE__*/React__default["default"].createElement(Button, Object.assign({
|
|
376
379
|
className: classNames__default["default"]([styles$f.container, _defineProperty__default["default"]({}, className, className !== null)]),
|
|
377
380
|
labelClassName: styles$f.label,
|
|
378
|
-
iconClassName: styles$f.icon
|
|
381
|
+
iconClassName: classNames__default["default"]([styles$f.icon, _defineProperty__default["default"]({}, iconClassName, iconClassName !== null)])
|
|
379
382
|
}, props));
|
|
380
383
|
};
|
|
381
|
-
IconButton.propTypes = propTypes$
|
|
382
|
-
IconButton.defaultProps = defaultProps$
|
|
384
|
+
IconButton.propTypes = propTypes$n;
|
|
385
|
+
IconButton.defaultProps = defaultProps$n;
|
|
383
386
|
|
|
384
|
-
var _excluded$
|
|
385
|
-
var propTypes$
|
|
387
|
+
var _excluded$7 = ["className"];
|
|
388
|
+
var propTypes$m = {
|
|
386
389
|
className: PropTypes__default["default"].string
|
|
387
390
|
};
|
|
388
|
-
var defaultProps$
|
|
391
|
+
var defaultProps$m = {
|
|
389
392
|
className: null
|
|
390
393
|
};
|
|
391
|
-
var CloseButton = function CloseButton(_ref) {
|
|
394
|
+
var CloseButton$1 = function CloseButton(_ref) {
|
|
392
395
|
var className = _ref.className,
|
|
393
|
-
props = _objectWithoutProperties__default["default"](_ref, _excluded$
|
|
396
|
+
props = _objectWithoutProperties__default["default"](_ref, _excluded$7);
|
|
394
397
|
var intl = reactIntl.useIntl();
|
|
395
398
|
return /*#__PURE__*/React__default["default"].createElement(IconButton, Object.assign({
|
|
396
399
|
className: classNames__default["default"]([_defineProperty__default["default"]({}, className, className !== null)]),
|
|
@@ -412,6 +415,61 @@ var CloseButton = function CloseButton(_ref) {
|
|
|
412
415
|
}))
|
|
413
416
|
}, props));
|
|
414
417
|
};
|
|
418
|
+
CloseButton$1.propTypes = propTypes$m;
|
|
419
|
+
CloseButton$1.defaultProps = defaultProps$m;
|
|
420
|
+
|
|
421
|
+
var _excluded$6 = ["className"];
|
|
422
|
+
var propTypes$l = {
|
|
423
|
+
className: PropTypes__default["default"].string
|
|
424
|
+
};
|
|
425
|
+
var defaultProps$l = {
|
|
426
|
+
className: null
|
|
427
|
+
};
|
|
428
|
+
var CloseButton = function CloseButton(_ref) {
|
|
429
|
+
var className = _ref.className,
|
|
430
|
+
props = _objectWithoutProperties__default["default"](_ref, _excluded$6);
|
|
431
|
+
var intl = reactIntl.useIntl();
|
|
432
|
+
return /*#__PURE__*/React__default["default"].createElement(IconButton, Object.assign({
|
|
433
|
+
className: classNames__default["default"]([_defineProperty__default["default"]({}, className, className !== null)]),
|
|
434
|
+
label: intl.formatMessage({
|
|
435
|
+
id: "dj/p/q",
|
|
436
|
+
defaultMessage: [{
|
|
437
|
+
"type": 0,
|
|
438
|
+
"value": "Close"
|
|
439
|
+
}]
|
|
440
|
+
}),
|
|
441
|
+
icon: /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
442
|
+
width: "19",
|
|
443
|
+
height: "23",
|
|
444
|
+
viewBox: "0 0 19 23",
|
|
445
|
+
fill: "none",
|
|
446
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
447
|
+
}, /*#__PURE__*/React__default["default"].createElement("mask", {
|
|
448
|
+
id: "path-1-inside-1_560_19911",
|
|
449
|
+
fill: "currentColor"
|
|
450
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
451
|
+
d: "M0 7C0 4.79086 1.79086 3 4 3H12C14.2091 3 16 4.79086 16 7V19C16 21.2091 14.2091 23 12 23H4C1.79086 23 0 21.2091 0 19V7Z"
|
|
452
|
+
})), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
453
|
+
d: "M0 3H16H0ZM16 19C16 21.7614 13.7614 24 11 24H4C1.23858 24 -1 21.7614 -1 19H1C1 20.6569 2.34315 22 4 22H12C14.2091 22 16 20.6569 16 19ZM4 24C1.23858 24 -1 21.7614 -1 19V8C-1 5.23858 1.23858 3 4 3C2.34315 3 1 4.79086 1 7V19C1 20.6569 2.34315 22 4 22V24ZM16 3V23V3Z",
|
|
454
|
+
fill: "currentColor",
|
|
455
|
+
mask: "url(#path-1-inside-1_560_19911)"
|
|
456
|
+
}), /*#__PURE__*/React__default["default"].createElement("rect", {
|
|
457
|
+
x: "3.5",
|
|
458
|
+
y: "0.5",
|
|
459
|
+
width: "15",
|
|
460
|
+
height: "19",
|
|
461
|
+
rx: "2.5",
|
|
462
|
+
stroke: "currentColor"
|
|
463
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
464
|
+
d: "M7.35333 6.35333L14.6467 13.6467",
|
|
465
|
+
stroke: "currentColor",
|
|
466
|
+
strokeLinejoin: "round"
|
|
467
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
468
|
+
d: "M7.35333 13.6467L14.6467 6.35333",
|
|
469
|
+
stroke: "white"
|
|
470
|
+
}))
|
|
471
|
+
}, props));
|
|
472
|
+
};
|
|
415
473
|
CloseButton.propTypes = propTypes$l;
|
|
416
474
|
CloseButton.defaultProps = defaultProps$l;
|
|
417
475
|
|
|
@@ -440,15 +498,27 @@ var MenuButton = function MenuButton(_ref) {
|
|
|
440
498
|
}),
|
|
441
499
|
iconPosition: "right",
|
|
442
500
|
icon: /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
501
|
+
width: "19",
|
|
502
|
+
height: "23",
|
|
503
|
+
viewBox: "0 0 19 23",
|
|
504
|
+
fill: "none",
|
|
505
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
506
|
+
}, /*#__PURE__*/React__default["default"].createElement("mask", {
|
|
507
|
+
id: "path-1-inside-1_572_15622",
|
|
447
508
|
fill: "currentColor"
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
509
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
510
|
+
d: "M0 7C0 4.79086 1.79086 3 4 3H12C14.2091 3 16 4.79086 16 7V19C16 21.2091 14.2091 23 12 23H4C1.79086 23 0 21.2091 0 19V7Z"
|
|
511
|
+
})), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
512
|
+
d: "M0 3H16H0ZM16 19C16 21.7614 13.7614 24 11 24H4C1.23858 24 -1 21.7614 -1 19H1C1 20.6569 2.34315 22 4 22H12C14.2091 22 16 20.6569 16 19ZM4 24C1.23858 24 -1 21.7614 -1 19V8C-1 5.23858 1.23858 3 4 3C2.34315 3 1 4.79086 1 7V19C1 20.6569 2.34315 22 4 22V24ZM16 3V23V3Z",
|
|
513
|
+
fill: "currentColor",
|
|
514
|
+
mask: "url(#path-1-inside-1_572_15622)"
|
|
515
|
+
}), /*#__PURE__*/React__default["default"].createElement("rect", {
|
|
516
|
+
x: "3.5",
|
|
517
|
+
y: "0.5",
|
|
518
|
+
width: "15",
|
|
519
|
+
height: "19",
|
|
520
|
+
rx: "2.5",
|
|
521
|
+
stroke: "currentColor"
|
|
452
522
|
}))
|
|
453
523
|
}, props));
|
|
454
524
|
};
|
|
@@ -477,15 +547,21 @@ var ShareButton = function ShareButton(_ref) {
|
|
|
477
547
|
}),
|
|
478
548
|
iconPosition: "left",
|
|
479
549
|
icon: /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
550
|
+
width: "16",
|
|
551
|
+
height: "22",
|
|
552
|
+
viewBox: "0 0 16 22",
|
|
553
|
+
fill: "none",
|
|
554
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
555
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
556
|
+
fillRule: "evenodd",
|
|
557
|
+
clipRule: "evenodd",
|
|
558
|
+
d: "M7.55806 0.183058C7.80213 -0.0610194 8.19786 -0.0610194 8.44194 0.183058L12.4194 4.16053C12.6635 4.40461 12.6635 4.80034 12.4194 5.04442C12.1753 5.2885 11.7796 5.2885 11.5355 5.04442L8.625 2.13388V11.25H7.375V2.13388L4.46446 5.04442C4.22039 5.2885 3.82466 5.2885 3.58058 5.04442C3.3365 4.80034 3.3365 4.40461 3.58058 4.16053L7.55806 0.183058Z",
|
|
559
|
+
fill: "currentColor"
|
|
560
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
561
|
+
fillRule: "evenodd",
|
|
562
|
+
clipRule: "evenodd",
|
|
563
|
+
d: "M16 18.25V10.25C16 8.59315 14.6569 7.25 13 7.25C14.1046 7.25 15 8.59315 15 10.25V18.25C15 19.3546 14.1046 20.25 13 20.25H3C1.89543 20.25 1 19.3546 1 18.25V10.25C1 8.59315 1.89543 7.25 3 7.25C1.34315 7.25 0 8.59315 0 10.25V18.25C0 19.9069 1.34315 21.25 3 21.25H13C14.6569 21.25 16 19.9069 16 18.25Z",
|
|
484
564
|
fill: "currentColor"
|
|
485
|
-
}, /*#__PURE__*/React__default["default"].createElement("polygon", {
|
|
486
|
-
points: "8.5 14.5 1.5 14.5 1.5 8 0 8 0 16 10 16 10 8 8.5 8 8.5 14.5"
|
|
487
|
-
}), /*#__PURE__*/React__default["default"].createElement("polygon", {
|
|
488
|
-
points: "9.62 4.62 5 0 0.38 4.62 1.44 5.68 4.25 2.87 4.25 11.26 5.75 11.26 5.75 2.87 8.56 5.68 9.62 4.62"
|
|
489
565
|
}))
|
|
490
566
|
}, props));
|
|
491
567
|
};
|
|
@@ -1579,7 +1655,7 @@ var ViewerMenu = function ViewerMenu(_ref) {
|
|
|
1579
1655
|
iconPosition: "left",
|
|
1580
1656
|
focusable: !shareOpened
|
|
1581
1657
|
}),
|
|
1582
|
-
toggledButton: /*#__PURE__*/React__default["default"].createElement(CloseButton, {
|
|
1658
|
+
toggledButton: /*#__PURE__*/React__default["default"].createElement(CloseButton$1, {
|
|
1583
1659
|
className: styles$6.menuButton,
|
|
1584
1660
|
onClick: onCloseShare,
|
|
1585
1661
|
theme: menuTheme,
|
|
@@ -1815,17 +1891,17 @@ var ArrowHint = function ArrowHint(_ref) {
|
|
|
1815
1891
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1816
1892
|
className: styles$3.inner
|
|
1817
1893
|
}, /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
1818
|
-
|
|
1894
|
+
width: "20",
|
|
1895
|
+
height: "14",
|
|
1896
|
+
viewBox: "0 0 20 14",
|
|
1897
|
+
fill: "none",
|
|
1819
1898
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
viewBox: "0 0 10 16",
|
|
1899
|
+
className: styles$3.arrow
|
|
1900
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
1901
|
+
fillRule: "evenodd",
|
|
1902
|
+
clipRule: "evenodd",
|
|
1903
|
+
d: "M13.353 0.371014L19.319 6.33704C19.6851 6.70314 19.6851 7.29671 19.319 7.66282L13.353 13.6288C12.9869 13.9949 12.3933 13.9949 12.0272 13.6288C11.6611 13.2627 11.6611 12.6692 12.0272 12.3031L16.3929 7.9374H0V6.06246H16.3929L12.0272 1.6968C11.6611 1.33069 11.6611 0.737119 12.0272 0.371014C12.3933 0.0049094 12.9869 0.0049094 13.353 0.371014Z",
|
|
1826
1904
|
fill: "currentColor"
|
|
1827
|
-
}, /*#__PURE__*/React__default["default"].createElement("polygon", {
|
|
1828
|
-
points: "9.62 4.62 5 0 0.38 4.62 1.44 5.68 4.25 2.87 4.25 14.39 5.75 14.39 5.75 2.87 8.56 5.68 9.62 4.62"
|
|
1829
1905
|
}))));
|
|
1830
1906
|
};
|
|
1831
1907
|
ArrowHint.propTypes = propTypes$6;
|
|
@@ -2164,39 +2240,33 @@ function PlaybackControls(_ref) {
|
|
|
2164
2240
|
var isCollapsed = controls && !controlsVisible && playing || !controls && mediaHasAudio;
|
|
2165
2241
|
var icon = playing ? /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
2166
2242
|
className: styles$1.icon,
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
height: "16px",
|
|
2173
|
-
viewBox: "0 0 10 16",
|
|
2174
|
-
xmlSpace: "preserve"
|
|
2243
|
+
width: "14",
|
|
2244
|
+
height: "18",
|
|
2245
|
+
viewBox: "0 0 14 18",
|
|
2246
|
+
fill: "none",
|
|
2247
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
2175
2248
|
}, /*#__PURE__*/React__default["default"].createElement("rect", {
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
height: "9.69"
|
|
2249
|
+
width: "6",
|
|
2250
|
+
height: "18",
|
|
2251
|
+
rx: "2",
|
|
2252
|
+
fill: color
|
|
2181
2253
|
}), /*#__PURE__*/React__default["default"].createElement("rect", {
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2254
|
+
x: "8",
|
|
2255
|
+
width: "6",
|
|
2256
|
+
height: "18",
|
|
2257
|
+
rx: "2",
|
|
2258
|
+
fill: color
|
|
2187
2259
|
})) : /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
2188
|
-
|
|
2260
|
+
width: "20",
|
|
2261
|
+
height: "23",
|
|
2262
|
+
viewBox: "0 0 20 23",
|
|
2263
|
+
fill: "none",
|
|
2189
2264
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2190
|
-
|
|
2191
|
-
x: "0px",
|
|
2192
|
-
y: "0px",
|
|
2193
|
-
width: "10px",
|
|
2194
|
-
height: "16px",
|
|
2195
|
-
viewBox: "0 0 10 16",
|
|
2196
|
-
xmlSpace: "preserve"
|
|
2265
|
+
className: styles$1.icon
|
|
2197
2266
|
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2267
|
+
d: "M16.25 12.5574L2.74999 20.3516C1.74999 20.9289 0.499993 20.2073 0.499993 19.0526L0.499994 3.4641C0.499994 2.3094 1.74999 1.58771 2.74999 2.16506L16.25 9.95929C17.25 10.5366 17.25 11.98 16.25 12.5574Z",
|
|
2198
2268
|
fill: color,
|
|
2199
|
-
|
|
2269
|
+
stroke: color
|
|
2200
2270
|
}));
|
|
2201
2271
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
2202
2272
|
className: classNames__default["default"]([styles$1.container, (_ref4 = {}, _defineProperty__default["default"](_ref4, className, className !== null), _defineProperty__default["default"](_ref4, styles$1.withPlayPause, controls && !seekBarOnly), _defineProperty__default["default"](_ref4, styles$1.withMute, hasMedia || controls), _defineProperty__default["default"](_ref4, styles$1.withSeekBar, controls), _defineProperty__default["default"](_ref4, styles$1.withSeekBarOnly, seekBarOnly), _defineProperty__default["default"](_ref4, styles$1.isCollapsed, isCollapsed), _defineProperty__default["default"](_ref4, styles$1.isMuted, muted), _defineProperty__default["default"](_ref4, collapsedClassName, collapsedClassName !== null && isCollapsed), _ref4)])
|
|
@@ -2247,42 +2317,36 @@ function PlaybackControls(_ref) {
|
|
|
2247
2317
|
onClick: muted ? onUnmute : onMute,
|
|
2248
2318
|
focusable: controlsVisible || mediaHasAudio,
|
|
2249
2319
|
icon: muted ? /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
2320
|
+
width: "26",
|
|
2321
|
+
height: "26",
|
|
2322
|
+
viewBox: "0 0 26 26",
|
|
2323
|
+
fill: "none",
|
|
2250
2324
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2251
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2252
|
-
x: "0px",
|
|
2253
|
-
y: "0px",
|
|
2254
|
-
width: "10px",
|
|
2255
|
-
height: "16px",
|
|
2256
|
-
viewBox: "0 0 10 16",
|
|
2257
|
-
xmlSpace: "preserve",
|
|
2258
2325
|
className: styles$1.icon
|
|
2259
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
2263
|
-
|
|
2264
|
-
|
|
2326
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2327
|
+
d: "M7.09929 8.77987H1C0.447715 8.77987 0 9.22758 0 9.77987V15.7799C0 16.3322 0.447715 16.7799 1 16.7799H7.1076C7.35984 16.7799 7.60276 16.8752 7.78768 17.0467L14.3199 23.1062C14.9599 23.6999 16 23.246 16 22.3731V3.00199C16 2.12221 14.9458 1.67117 14.3095 2.2787L7.78983 8.50316C7.6038 8.68077 7.35649 8.77987 7.09929 8.77987Z",
|
|
2328
|
+
fill: color
|
|
2329
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2330
|
+
fillRule: "evenodd",
|
|
2331
|
+
clipRule: "evenodd",
|
|
2332
|
+
d: "M20.8536 13.3946L23 15.5411L23.7071 14.834L21.5607 12.6875L23.7071 10.5411L23 9.83398L20.8536 11.9804L18.7071 9.83398L18 10.5411L20.1464 12.6875L18 14.834L18.7071 15.5411L20.8536 13.3946Z",
|
|
2333
|
+
fill: color
|
|
2265
2334
|
})) : /*#__PURE__*/React__default["default"].createElement("svg", {
|
|
2335
|
+
width: "26",
|
|
2336
|
+
height: "26",
|
|
2337
|
+
viewBox: "0 0 26 26",
|
|
2338
|
+
fill: "none",
|
|
2266
2339
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2267
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2268
|
-
x: "0px",
|
|
2269
|
-
y: "0px",
|
|
2270
|
-
width: "10px",
|
|
2271
|
-
height: "16px",
|
|
2272
|
-
viewBox: "0 0 10 16",
|
|
2273
|
-
xmlSpace: "preserve",
|
|
2274
2340
|
className: styles$1.icon
|
|
2275
|
-
}, /*#__PURE__*/React__default["default"].createElement("
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
}), /*#__PURE__*/React__default["default"].createElement("
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
cy: "8",
|
|
2282
|
-
r: ".99"
|
|
2341
|
+
}, /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2342
|
+
d: "M7.09929 8.77987H1C0.447715 8.77987 0 9.22758 0 9.77987V15.7799C0 16.3322 0.447715 16.7799 1 16.7799H7.1076C7.35984 16.7799 7.60276 16.8752 7.78768 17.0467L14.3199 23.1062C14.9599 23.6999 16 23.246 16 22.3731V3.00199C16 2.12221 14.9458 1.67117 14.3095 2.2787L7.78983 8.50316C7.6038 8.68077 7.35649 8.77987 7.09929 8.77987Z",
|
|
2343
|
+
fill: color
|
|
2344
|
+
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2345
|
+
d: "M18 18.6875C21.3137 18.6875 24 16.0012 24 12.6875C24 9.37379 21.3137 6.6875 18 6.6875",
|
|
2346
|
+
stroke: color
|
|
2283
2347
|
}), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
2284
|
-
|
|
2285
|
-
|
|
2348
|
+
d: "M18 15.6875C19.6569 15.6875 21 14.3444 21 12.6875C21 11.0306 19.6569 9.6875 18 9.6875",
|
|
2349
|
+
stroke: color
|
|
2286
2350
|
})),
|
|
2287
2351
|
"aria-label": muted ? intl.formatMessage({
|
|
2288
2352
|
id: "RK/QEY",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/viewer",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.347",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -59,14 +59,14 @@
|
|
|
59
59
|
"@fortawesome/fontawesome-svg-core": "^1.2.32",
|
|
60
60
|
"@fortawesome/free-solid-svg-icons": "^5.15.1",
|
|
61
61
|
"@fortawesome/react-fontawesome": "^0.1.13",
|
|
62
|
-
"@micromag/core": "^0.3.
|
|
63
|
-
"@micromag/element-scroll": "^0.3.
|
|
64
|
-
"@micromag/element-share-options": "^0.3.
|
|
65
|
-
"@micromag/element-webview": "^0.3.
|
|
66
|
-
"@micromag/elements": "^0.3.
|
|
67
|
-
"@micromag/fields": "^0.3.
|
|
68
|
-
"@micromag/intl": "^0.3.
|
|
69
|
-
"@micromag/screens": "^0.3.
|
|
62
|
+
"@micromag/core": "^0.3.347",
|
|
63
|
+
"@micromag/element-scroll": "^0.3.347",
|
|
64
|
+
"@micromag/element-share-options": "^0.3.347",
|
|
65
|
+
"@micromag/element-webview": "^0.3.347",
|
|
66
|
+
"@micromag/elements": "^0.3.347",
|
|
67
|
+
"@micromag/fields": "^0.3.347",
|
|
68
|
+
"@micromag/intl": "^0.3.347",
|
|
69
|
+
"@micromag/screens": "^0.3.347",
|
|
70
70
|
"@react-spring/core": "^9.6.1",
|
|
71
71
|
"@react-spring/web": "^9.6.1",
|
|
72
72
|
"@use-gesture/react": "^10.2.4",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"publishConfig": {
|
|
86
86
|
"access": "public"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "63a7e46763ae34c4143f0aa29a4c9467126e7734"
|
|
89
89
|
}
|