@micromag/screen-video-360 0.3.480 → 0.3.482

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/es/index.js CHANGED
@@ -6,7 +6,6 @@ import { getSizeWithinBounds } from '@folklore/size';
6
6
  import classNames from 'classnames';
7
7
  import PropTypes from 'prop-types';
8
8
  import React, { useState, useEffect, useRef, useCallback } from 'react';
9
- import 'whatwg-fetch';
10
9
  import { PropTypes as PropTypes$1 } from '@micromag/core';
11
10
  import { ScreenElement, PlaceholderVideo360 } from '@micromag/core/components';
12
11
  import { useViewerInteraction, useViewerNavigation, useViewerContext, useScreenSize, useScreenRenderContext, useViewerWebView, usePlaybackContext, useViewerContainer } from '@micromag/core/contexts';
@@ -625,6 +624,7 @@ var Video360Screen = function Video360Screen(_ref) {
625
624
  };
626
625
  Video360Screen.propTypes = propTypes;
627
626
  Video360Screen.defaultProps = defaultProps;
627
+ var Video360Screen$1 = Video360Screen;
628
628
 
629
629
  // import * as transforms from './transforms/index';
630
630
 
@@ -648,7 +648,7 @@ var definition = {
648
648
  "value": "360 Video"
649
649
  }]
650
650
  }),
651
- component: Video360Screen,
651
+ component: Video360Screen$1,
652
652
  layouts: ['full'],
653
653
  // transforms,
654
654
  fields: [{
@@ -716,4 +716,4 @@ var definition = {
716
716
  }]
717
717
  };
718
718
 
719
- export { Video360Screen, definition as default };
719
+ export { Video360Screen$1 as Video360Screen, definition as default };
package/lib/index.js CHANGED
@@ -10,7 +10,6 @@ var size = require('@folklore/size');
10
10
  var classNames = require('classnames');
11
11
  var PropTypes = require('prop-types');
12
12
  var React = require('react');
13
- require('whatwg-fetch');
14
13
  var core = require('@micromag/core');
15
14
  var components = require('@micromag/core/components');
16
15
  var contexts = require('@micromag/core/contexts');
@@ -629,6 +628,7 @@ var Video360Screen = function Video360Screen(_ref) {
629
628
  };
630
629
  Video360Screen.propTypes = propTypes;
631
630
  Video360Screen.defaultProps = defaultProps;
631
+ var Video360Screen$1 = Video360Screen;
632
632
 
633
633
  // import * as transforms from './transforms/index';
634
634
 
@@ -652,7 +652,7 @@ var definition = {
652
652
  "value": "360 Video"
653
653
  }]
654
654
  }),
655
- component: Video360Screen,
655
+ component: Video360Screen$1,
656
656
  layouts: ['full'],
657
657
  // transforms,
658
658
  fields: [{
@@ -720,5 +720,5 @@ var definition = {
720
720
  }]
721
721
  };
722
722
 
723
- exports.Video360Screen = Video360Screen;
723
+ exports.Video360Screen = Video360Screen$1;
724
724
  exports.default = definition;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-video-360",
3
- "version": "0.3.480",
3
+ "version": "0.3.482",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -47,6 +47,7 @@
47
47
  "assets"
48
48
  ],
49
49
  "scripts": {
50
+ "clean": "rm -rf es && rm -rf lib && rm -rf assets",
50
51
  "prepare": "../../scripts/prepare-package.sh"
51
52
  },
52
53
  "devDependencies": {
@@ -60,26 +61,25 @@
60
61
  "dependencies": {
61
62
  "@babel/runtime": "^7.13.10",
62
63
  "@folklore/size": "^0.1.20",
63
- "@micromag/core": "^0.3.480",
64
- "@micromag/element-background": "^0.3.480",
65
- "@micromag/element-closed-captions": "^0.3.480",
66
- "@micromag/element-container": "^0.3.480",
67
- "@micromag/element-footer": "^0.3.480",
68
- "@micromag/element-header": "^0.3.480",
69
- "@micromag/element-image": "^0.3.480",
70
- "@micromag/element-video": "^0.3.480",
71
- "@micromag/transforms": "^0.3.480",
64
+ "@micromag/core": "^0.3.482",
65
+ "@micromag/element-background": "^0.3.482",
66
+ "@micromag/element-closed-captions": "^0.3.482",
67
+ "@micromag/element-container": "^0.3.482",
68
+ "@micromag/element-footer": "^0.3.482",
69
+ "@micromag/element-header": "^0.3.482",
70
+ "@micromag/element-image": "^0.3.482",
71
+ "@micromag/element-video": "^0.3.482",
72
+ "@micromag/transforms": "^0.3.482",
72
73
  "classnames": "^2.2.6",
73
74
  "lodash": "^4.17.21",
74
75
  "prop-types": "^15.7.2",
75
76
  "react-intl": "^6.6.2",
76
77
  "three": "^0.123.0",
77
- "uuid": "^9.0.0",
78
- "whatwg-fetch": "^3.6.1"
78
+ "uuid": "^9.0.0"
79
79
  },
80
80
  "publishConfig": {
81
81
  "access": "public",
82
82
  "registry": "https://registry.npmjs.org/"
83
83
  },
84
- "gitHead": "4a69863ce7f8aa2e254242a2fd368763611cf096"
84
+ "gitHead": "931f86bb7dd77a05d196cadda88c8a170e665c3d"
85
85
  }