@micromag/core 0.2.375 → 0.2.379
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/components.js +8 -4
- package/lib/components.js +8 -4
- package/package.json +2 -2
package/es/components.js
CHANGED
|
@@ -3332,7 +3332,8 @@ var propTypes$9 = {
|
|
|
3332
3332
|
onPrevious: PropTypes$1.func,
|
|
3333
3333
|
onNext: PropTypes$1.func,
|
|
3334
3334
|
onEnableInteraction: PropTypes$1.func,
|
|
3335
|
-
onDisableInteraction: PropTypes$1.func
|
|
3335
|
+
onDisableInteraction: PropTypes$1.func,
|
|
3336
|
+
getMediaRef: PropTypes$1.func
|
|
3336
3337
|
};
|
|
3337
3338
|
var defaultProps$9 = {
|
|
3338
3339
|
active: false,
|
|
@@ -3344,7 +3345,8 @@ var defaultProps$9 = {
|
|
|
3344
3345
|
onPrevious: null,
|
|
3345
3346
|
onNext: null,
|
|
3346
3347
|
onEnableInteraction: null,
|
|
3347
|
-
onDisableInteraction: null
|
|
3348
|
+
onDisableInteraction: null,
|
|
3349
|
+
getMediaRef: null
|
|
3348
3350
|
};
|
|
3349
3351
|
|
|
3350
3352
|
var Screen = function Screen(_ref) {
|
|
@@ -3358,7 +3360,8 @@ var Screen = function Screen(_ref) {
|
|
|
3358
3360
|
onPrevious = _ref.onPrevious,
|
|
3359
3361
|
onNext = _ref.onNext,
|
|
3360
3362
|
onEnableInteraction = _ref.onEnableInteraction,
|
|
3361
|
-
onDisableInteraction = _ref.onDisableInteraction
|
|
3363
|
+
onDisableInteraction = _ref.onDisableInteraction,
|
|
3364
|
+
getMediaRef = _ref.getMediaRef;
|
|
3362
3365
|
var type = screen.type;
|
|
3363
3366
|
var CustomScreenComponent = components !== null ? getComponentFromName(type, components) || null : null;
|
|
3364
3367
|
var ContextScreenComponent = useScreenComponent(type);
|
|
@@ -3374,7 +3377,8 @@ var Screen = function Screen(_ref) {
|
|
|
3374
3377
|
onPrevious: onPrevious,
|
|
3375
3378
|
onNext: onNext,
|
|
3376
3379
|
onEnableInteraction: onEnableInteraction,
|
|
3377
|
-
onDisableInteraction: onDisableInteraction
|
|
3380
|
+
onDisableInteraction: onDisableInteraction,
|
|
3381
|
+
getMediaRef: getMediaRef
|
|
3378
3382
|
}))) : /*#__PURE__*/React.createElement("div", {
|
|
3379
3383
|
className: className
|
|
3380
3384
|
}, component));
|
package/lib/components.js
CHANGED
|
@@ -3355,7 +3355,8 @@ var propTypes$9 = {
|
|
|
3355
3355
|
onPrevious: PropTypes__default["default"].func,
|
|
3356
3356
|
onNext: PropTypes__default["default"].func,
|
|
3357
3357
|
onEnableInteraction: PropTypes__default["default"].func,
|
|
3358
|
-
onDisableInteraction: PropTypes__default["default"].func
|
|
3358
|
+
onDisableInteraction: PropTypes__default["default"].func,
|
|
3359
|
+
getMediaRef: PropTypes__default["default"].func
|
|
3359
3360
|
};
|
|
3360
3361
|
var defaultProps$9 = {
|
|
3361
3362
|
active: false,
|
|
@@ -3367,7 +3368,8 @@ var defaultProps$9 = {
|
|
|
3367
3368
|
onPrevious: null,
|
|
3368
3369
|
onNext: null,
|
|
3369
3370
|
onEnableInteraction: null,
|
|
3370
|
-
onDisableInteraction: null
|
|
3371
|
+
onDisableInteraction: null,
|
|
3372
|
+
getMediaRef: null
|
|
3371
3373
|
};
|
|
3372
3374
|
|
|
3373
3375
|
var Screen = function Screen(_ref) {
|
|
@@ -3381,7 +3383,8 @@ var Screen = function Screen(_ref) {
|
|
|
3381
3383
|
onPrevious = _ref.onPrevious,
|
|
3382
3384
|
onNext = _ref.onNext,
|
|
3383
3385
|
onEnableInteraction = _ref.onEnableInteraction,
|
|
3384
|
-
onDisableInteraction = _ref.onDisableInteraction
|
|
3386
|
+
onDisableInteraction = _ref.onDisableInteraction,
|
|
3387
|
+
getMediaRef = _ref.getMediaRef;
|
|
3385
3388
|
var type = screen.type;
|
|
3386
3389
|
var CustomScreenComponent = components !== null ? utils.getComponentFromName(type, components) || null : null;
|
|
3387
3390
|
var ContextScreenComponent = contexts.useScreenComponent(type);
|
|
@@ -3397,7 +3400,8 @@ var Screen = function Screen(_ref) {
|
|
|
3397
3400
|
onPrevious: onPrevious,
|
|
3398
3401
|
onNext: onNext,
|
|
3399
3402
|
onEnableInteraction: onEnableInteraction,
|
|
3400
|
-
onDisableInteraction: onDisableInteraction
|
|
3403
|
+
onDisableInteraction: onDisableInteraction,
|
|
3404
|
+
getMediaRef: getMediaRef
|
|
3401
3405
|
}))) : /*#__PURE__*/React__default["default"].createElement("div", {
|
|
3402
3406
|
className: className
|
|
3403
3407
|
}, component));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.379",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -125,5 +125,5 @@
|
|
|
125
125
|
"publishConfig": {
|
|
126
126
|
"access": "public"
|
|
127
127
|
},
|
|
128
|
-
"gitHead": "
|
|
128
|
+
"gitHead": "b3261cde1fac196f335a2f2b3091494919dd62b2"
|
|
129
129
|
}
|