@micromag/core 0.3.181 → 0.3.182

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/lib/hooks.js CHANGED
@@ -1508,8 +1508,7 @@ function useMediaLoad(element) {
1508
1508
  var firstShouldLoadRef = react.useRef(shouldLoad);
1509
1509
  var hasLoadedRef = react.useRef(preload !== 'none' && preload !== 'metadata' && shouldLoad);
1510
1510
  react.useEffect(function () {
1511
- var canLoad = preload !== 'none' && preload !== 'metadata' && shouldLoad; // @todo
1512
-
1511
+ var canLoad = preload !== 'none' && preload !== 'metadata' && shouldLoad;
1513
1512
  var preloadHasChanged = firstPreloadRef.current !== preload;
1514
1513
  var shouldLoadHasChanged = firstShouldLoadRef.current !== shouldLoad;
1515
1514
 
package/lib/utils.js CHANGED
@@ -42,8 +42,8 @@ var convertStyleToString = function convertStyleToString(style) {
42
42
  };
43
43
 
44
44
  /*! clipboard-copy. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
45
- // @todo vendoring this: https://github.com/feross/clipboard-copy/blob/master/index.js
46
- // we might want to add that to the npm deps and just use it?
45
+ // @note vendoring this: https://github.com/feross/clipboard-copy/blob/master/index.js
46
+ // we might want to add that to the npm deps and just use it
47
47
  function makeError() {
48
48
  return new DOMException('The request is not allowed', 'NotAllowedError');
49
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/core",
3
- "version": "0.3.181",
3
+ "version": "0.3.182",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -133,5 +133,5 @@
133
133
  "publishConfig": {
134
134
  "access": "public"
135
135
  },
136
- "gitHead": "8eadaa7f17c86bf2f8f80cb13bfdd3f6295d29d5"
136
+ "gitHead": "3fdd215df2c83f292063fba88077d88be5718955"
137
137
  }
@@ -306,33 +306,3 @@
306
306
  outline-offset: 4px;
307
307
  }
308
308
  }
309
-
310
- /**
311
- * Work in progress:
312
- * - trying to set up sensible defaults for animating UI elements
313
- */
314
- %transition-bump {
315
- transition: transform 0.3s $ease-in-bump;
316
- }
317
- %transition-bounce {
318
- transition: transform 0.3s $ease-in-bounce;
319
- }
320
- %transition-kickback {
321
- transition: transform 0.5s $ease-in-kickback;
322
- }
323
-
324
- %hover-bump {
325
- @extend %transition-kickback;
326
-
327
- &:hover {
328
- transform: scale(1.1);
329
- }
330
- }
331
-
332
- %active-bump {
333
- @extend %transition-bounce;
334
-
335
- &:active {
336
- transform: scale(0.95);
337
- }
338
- }