@micromag/viewer 0.3.311 → 0.3.316

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.
Files changed (3) hide show
  1. package/es/index.js +35 -16
  2. package/lib/index.js +35 -16
  3. package/package.json +3 -3
package/es/index.js CHANGED
@@ -418,8 +418,8 @@ var CloseButton = function CloseButton(_ref) {
418
418
  }),
419
419
  icon: /*#__PURE__*/React.createElement("svg", {
420
420
  xmlns: "http://www.w3.org/2000/svg",
421
- width: "10",
422
- height: "16",
421
+ width: "10px",
422
+ height: "16px",
423
423
  viewBox: "0 0 10 16",
424
424
  fill: "currentColor"
425
425
  }, /*#__PURE__*/React.createElement("polygon", {
@@ -495,8 +495,8 @@ var ShareButton = function ShareButton(_ref) {
495
495
  iconPosition: "left",
496
496
  icon: /*#__PURE__*/React.createElement("svg", {
497
497
  xmlns: "http://www.w3.org/2000/svg",
498
- width: "10",
499
- height: "16",
498
+ width: "10px",
499
+ height: "16px",
500
500
  viewBox: "0 0 10 16",
501
501
  fill: "currentColor"
502
502
  }, /*#__PURE__*/React.createElement("polygon", {
@@ -864,8 +864,8 @@ var StackIcon = function StackIcon(_ref) {
864
864
  var className = _ref.className;
865
865
  return /*#__PURE__*/React.createElement("svg", {
866
866
  xmlns: "http://www.w3.org/2000/svg",
867
- width: "11.5",
868
- height: "17.5",
867
+ width: "11.5px",
868
+ height: "17.5px",
869
869
  viewBox: "0 0 11.5 17.5",
870
870
  className: classNames([_defineProperty({}, className, className !== null)])
871
871
  }, /*#__PURE__*/React.createElement("rect", {
@@ -1912,8 +1912,11 @@ var ArrowHint = function ArrowHint(_ref) {
1912
1912
  }, /*#__PURE__*/React.createElement("svg", {
1913
1913
  className: styles$3.arrow,
1914
1914
  xmlns: "http://www.w3.org/2000/svg",
1915
- width: "10",
1916
- height: "16",
1915
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
1916
+ x: "0px",
1917
+ y: "0px",
1918
+ width: "10px",
1919
+ height: "16px",
1917
1920
  viewBox: "0 0 10 16",
1918
1921
  fill: "currentColor"
1919
1922
  }, /*#__PURE__*/React.createElement("polygon", {
@@ -2250,9 +2253,13 @@ function PlaybackControls(_ref) {
2250
2253
  icon: playing ? /*#__PURE__*/React.createElement("svg", {
2251
2254
  className: styles$1.icon,
2252
2255
  xmlns: "http://www.w3.org/2000/svg",
2253
- width: "10",
2254
- height: "16",
2256
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
2257
+ x: "0px",
2258
+ y: "0px",
2259
+ width: "10px",
2260
+ height: "16px",
2255
2261
  viewBox: "0 0 10 16",
2262
+ xmlSpace: "preserve",
2256
2263
  fill: "currentColor"
2257
2264
  }, /*#__PURE__*/React.createElement("rect", {
2258
2265
  x: "1",
@@ -2267,9 +2274,13 @@ function PlaybackControls(_ref) {
2267
2274
  })) : /*#__PURE__*/React.createElement("svg", {
2268
2275
  className: styles$1.icon,
2269
2276
  xmlns: "http://www.w3.org/2000/svg",
2270
- width: "10",
2271
- height: "16",
2277
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
2278
+ x: "0px",
2279
+ y: "0px",
2280
+ width: "10px",
2281
+ height: "16px",
2272
2282
  viewBox: "0 0 10 16",
2283
+ xmlSpace: "preserve",
2273
2284
  fill: "currentColor"
2274
2285
  }, /*#__PURE__*/React.createElement("path", {
2275
2286
  d: "M1,3.16V12.84l8-4.84L1,3.16"
@@ -2308,9 +2319,13 @@ function PlaybackControls(_ref) {
2308
2319
  focusable: controlsVisible || mediaHasAudio,
2309
2320
  icon: muted ? /*#__PURE__*/React.createElement("svg", {
2310
2321
  xmlns: "http://www.w3.org/2000/svg",
2311
- width: "10",
2312
- height: "16",
2322
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
2323
+ x: "0px",
2324
+ y: "0px",
2325
+ width: "10px",
2326
+ height: "16px",
2313
2327
  viewBox: "0 0 10 16",
2328
+ xmlSpace: "preserve",
2314
2329
  className: styles$1.icon,
2315
2330
  fill: "currentColor"
2316
2331
  }, /*#__PURE__*/React.createElement("polygon", {
@@ -2319,9 +2334,13 @@ function PlaybackControls(_ref) {
2319
2334
  points: "10 6.63 8.94 5.57 7.58 6.93 6.21 5.57 5.15 6.63 6.52 7.99 5.15 9.35 6.21 10.43 7.58 9.06 8.94 10.43 10 9.35 8.64 7.99 10 6.63"
2320
2335
  })) : /*#__PURE__*/React.createElement("svg", {
2321
2336
  xmlns: "http://www.w3.org/2000/svg",
2322
- width: "10",
2323
- height: "16",
2337
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
2338
+ x: "0px",
2339
+ y: "0px",
2340
+ width: "10px",
2341
+ height: "16px",
2324
2342
  viewBox: "0 0 10 16",
2343
+ xmlSpace: "preserve",
2325
2344
  className: styles$1.icon,
2326
2345
  fill: "currentColor"
2327
2346
  }, /*#__PURE__*/React.createElement("polygon", {
package/lib/index.js CHANGED
@@ -438,8 +438,8 @@ var CloseButton = function CloseButton(_ref) {
438
438
  }),
439
439
  icon: /*#__PURE__*/React__default["default"].createElement("svg", {
440
440
  xmlns: "http://www.w3.org/2000/svg",
441
- width: "10",
442
- height: "16",
441
+ width: "10px",
442
+ height: "16px",
443
443
  viewBox: "0 0 10 16",
444
444
  fill: "currentColor"
445
445
  }, /*#__PURE__*/React__default["default"].createElement("polygon", {
@@ -515,8 +515,8 @@ var ShareButton = function ShareButton(_ref) {
515
515
  iconPosition: "left",
516
516
  icon: /*#__PURE__*/React__default["default"].createElement("svg", {
517
517
  xmlns: "http://www.w3.org/2000/svg",
518
- width: "10",
519
- height: "16",
518
+ width: "10px",
519
+ height: "16px",
520
520
  viewBox: "0 0 10 16",
521
521
  fill: "currentColor"
522
522
  }, /*#__PURE__*/React__default["default"].createElement("polygon", {
@@ -884,8 +884,8 @@ var StackIcon = function StackIcon(_ref) {
884
884
  var className = _ref.className;
885
885
  return /*#__PURE__*/React__default["default"].createElement("svg", {
886
886
  xmlns: "http://www.w3.org/2000/svg",
887
- width: "11.5",
888
- height: "17.5",
887
+ width: "11.5px",
888
+ height: "17.5px",
889
889
  viewBox: "0 0 11.5 17.5",
890
890
  className: classNames__default["default"]([_defineProperty__default["default"]({}, className, className !== null)])
891
891
  }, /*#__PURE__*/React__default["default"].createElement("rect", {
@@ -1932,8 +1932,11 @@ var ArrowHint = function ArrowHint(_ref) {
1932
1932
  }, /*#__PURE__*/React__default["default"].createElement("svg", {
1933
1933
  className: styles$3.arrow,
1934
1934
  xmlns: "http://www.w3.org/2000/svg",
1935
- width: "10",
1936
- height: "16",
1935
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
1936
+ x: "0px",
1937
+ y: "0px",
1938
+ width: "10px",
1939
+ height: "16px",
1937
1940
  viewBox: "0 0 10 16",
1938
1941
  fill: "currentColor"
1939
1942
  }, /*#__PURE__*/React__default["default"].createElement("polygon", {
@@ -2270,9 +2273,13 @@ function PlaybackControls(_ref) {
2270
2273
  icon: playing ? /*#__PURE__*/React__default["default"].createElement("svg", {
2271
2274
  className: styles$1.icon,
2272
2275
  xmlns: "http://www.w3.org/2000/svg",
2273
- width: "10",
2274
- height: "16",
2276
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
2277
+ x: "0px",
2278
+ y: "0px",
2279
+ width: "10px",
2280
+ height: "16px",
2275
2281
  viewBox: "0 0 10 16",
2282
+ xmlSpace: "preserve",
2276
2283
  fill: "currentColor"
2277
2284
  }, /*#__PURE__*/React__default["default"].createElement("rect", {
2278
2285
  x: "1",
@@ -2287,9 +2294,13 @@ function PlaybackControls(_ref) {
2287
2294
  })) : /*#__PURE__*/React__default["default"].createElement("svg", {
2288
2295
  className: styles$1.icon,
2289
2296
  xmlns: "http://www.w3.org/2000/svg",
2290
- width: "10",
2291
- height: "16",
2297
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
2298
+ x: "0px",
2299
+ y: "0px",
2300
+ width: "10px",
2301
+ height: "16px",
2292
2302
  viewBox: "0 0 10 16",
2303
+ xmlSpace: "preserve",
2293
2304
  fill: "currentColor"
2294
2305
  }, /*#__PURE__*/React__default["default"].createElement("path", {
2295
2306
  d: "M1,3.16V12.84l8-4.84L1,3.16"
@@ -2328,9 +2339,13 @@ function PlaybackControls(_ref) {
2328
2339
  focusable: controlsVisible || mediaHasAudio,
2329
2340
  icon: muted ? /*#__PURE__*/React__default["default"].createElement("svg", {
2330
2341
  xmlns: "http://www.w3.org/2000/svg",
2331
- width: "10",
2332
- height: "16",
2342
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
2343
+ x: "0px",
2344
+ y: "0px",
2345
+ width: "10px",
2346
+ height: "16px",
2333
2347
  viewBox: "0 0 10 16",
2348
+ xmlSpace: "preserve",
2334
2349
  className: styles$1.icon,
2335
2350
  fill: "currentColor"
2336
2351
  }, /*#__PURE__*/React__default["default"].createElement("polygon", {
@@ -2339,9 +2354,13 @@ function PlaybackControls(_ref) {
2339
2354
  points: "10 6.63 8.94 5.57 7.58 6.93 6.21 5.57 5.15 6.63 6.52 7.99 5.15 9.35 6.21 10.43 7.58 9.06 8.94 10.43 10 9.35 8.64 7.99 10 6.63"
2340
2355
  })) : /*#__PURE__*/React__default["default"].createElement("svg", {
2341
2356
  xmlns: "http://www.w3.org/2000/svg",
2342
- width: "10",
2343
- height: "16",
2357
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
2358
+ x: "0px",
2359
+ y: "0px",
2360
+ width: "10px",
2361
+ height: "16px",
2344
2362
  viewBox: "0 0 10 16",
2363
+ xmlSpace: "preserve",
2345
2364
  className: styles$1.icon,
2346
2365
  fill: "currentColor"
2347
2366
  }, /*#__PURE__*/React__default["default"].createElement("polygon", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/viewer",
3
- "version": "0.3.311",
3
+ "version": "0.3.316",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -65,7 +65,7 @@
65
65
  "@micromag/element-webview": "^0.3.311",
66
66
  "@micromag/elements": "^0.3.311",
67
67
  "@micromag/fields": "^0.3.311",
68
- "@micromag/intl": "^0.3.311",
68
+ "@micromag/intl": "^0.3.312",
69
69
  "@micromag/screens": "^0.3.311",
70
70
  "@react-spring/core": "^9.1.1",
71
71
  "@react-spring/web": "^9.1.1",
@@ -85,5 +85,5 @@
85
85
  "publishConfig": {
86
86
  "access": "public"
87
87
  },
88
- "gitHead": "fab297a7ad204611597c749b969f14d992d35d47"
88
+ "gitHead": "139821ceb8883c8c717b6111f6ffd8153186530a"
89
89
  }