@micromag/screen-urbania-horoscope 0.3.377 → 0.3.381
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 +7 -9
- package/lib/index.js +7 -9
- package/package.json +15 -15
package/es/index.js
CHANGED
|
@@ -358,7 +358,7 @@ var defaultProps$1 = {
|
|
|
358
358
|
className: null
|
|
359
359
|
};
|
|
360
360
|
var SignModal = function SignModal(_ref) {
|
|
361
|
-
var
|
|
361
|
+
var _ref3;
|
|
362
362
|
var width = _ref.width,
|
|
363
363
|
height = _ref.height,
|
|
364
364
|
sign = _ref.sign,
|
|
@@ -378,9 +378,8 @@ var SignModal = function SignModal(_ref) {
|
|
|
378
378
|
word = _ref2$word === void 0 ? null : _ref2$word,
|
|
379
379
|
_ref2$description = _ref2.description,
|
|
380
380
|
description = _ref2$description === void 0 ? null : _ref2$description;
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
wordBody = _ref3$body === void 0 ? null : _ref3$body;
|
|
381
|
+
// const { body: wordBody = null } = word || {};
|
|
382
|
+
|
|
384
383
|
var _useScreenRenderConte = useScreenRenderContext(),
|
|
385
384
|
isEdit = _useScreenRenderConte.isEdit;
|
|
386
385
|
var hasWord = isTextFilled(word);
|
|
@@ -389,7 +388,7 @@ var SignModal = function SignModal(_ref) {
|
|
|
389
388
|
return /*#__PURE__*/React.createElement(Container, {
|
|
390
389
|
width: width,
|
|
391
390
|
height: height,
|
|
392
|
-
className: classNames([styles$1.container, (
|
|
391
|
+
className: classNames([styles$1.container, (_ref3 = {}, _defineProperty(_ref3, styles$1.withoutTransitions, transitionDisabled), _defineProperty(_ref3, className, className !== null), _ref3)])
|
|
393
392
|
}, /*#__PURE__*/React.createElement("button", {
|
|
394
393
|
type: "button",
|
|
395
394
|
className: styles$1.modalButton,
|
|
@@ -417,10 +416,9 @@ var SignModal = function SignModal(_ref) {
|
|
|
417
416
|
"type": 0,
|
|
418
417
|
"value": "Word of the Week"
|
|
419
418
|
}]
|
|
420
|
-
})), /*#__PURE__*/React.createElement(Text, {
|
|
421
|
-
className: styles$1.word
|
|
422
|
-
|
|
423
|
-
})) : null, description ? /*#__PURE__*/React.createElement(Text, Object.assign({
|
|
419
|
+
})), /*#__PURE__*/React.createElement(Text, Object.assign({
|
|
420
|
+
className: styles$1.word
|
|
421
|
+
}, word))) : null, description ? /*#__PURE__*/React.createElement(Text, Object.assign({
|
|
424
422
|
className: styles$1.description
|
|
425
423
|
}, description)) : null, image ? /*#__PURE__*/React.createElement("img", {
|
|
426
424
|
className: styles$1.illustration,
|
package/lib/index.js
CHANGED
|
@@ -404,7 +404,7 @@ var defaultProps$1 = {
|
|
|
404
404
|
className: null
|
|
405
405
|
};
|
|
406
406
|
var SignModal = function SignModal(_ref) {
|
|
407
|
-
var
|
|
407
|
+
var _ref3;
|
|
408
408
|
var width = _ref.width,
|
|
409
409
|
height = _ref.height,
|
|
410
410
|
sign = _ref.sign,
|
|
@@ -424,9 +424,8 @@ var SignModal = function SignModal(_ref) {
|
|
|
424
424
|
word = _ref2$word === void 0 ? null : _ref2$word,
|
|
425
425
|
_ref2$description = _ref2.description,
|
|
426
426
|
description = _ref2$description === void 0 ? null : _ref2$description;
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
wordBody = _ref3$body === void 0 ? null : _ref3$body;
|
|
427
|
+
// const { body: wordBody = null } = word || {};
|
|
428
|
+
|
|
430
429
|
var _useScreenRenderConte = contexts.useScreenRenderContext(),
|
|
431
430
|
isEdit = _useScreenRenderConte.isEdit;
|
|
432
431
|
var hasWord = utils.isTextFilled(word);
|
|
@@ -435,7 +434,7 @@ var SignModal = function SignModal(_ref) {
|
|
|
435
434
|
return /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
|
|
436
435
|
width: width,
|
|
437
436
|
height: height,
|
|
438
|
-
className: classNames__default["default"]([styles$1.container, (
|
|
437
|
+
className: classNames__default["default"]([styles$1.container, (_ref3 = {}, _defineProperty__default["default"](_ref3, styles$1.withoutTransitions, transitionDisabled), _defineProperty__default["default"](_ref3, className, className !== null), _ref3)])
|
|
439
438
|
}, /*#__PURE__*/React__default["default"].createElement("button", {
|
|
440
439
|
type: "button",
|
|
441
440
|
className: styles$1.modalButton,
|
|
@@ -463,10 +462,9 @@ var SignModal = function SignModal(_ref) {
|
|
|
463
462
|
"type": 0,
|
|
464
463
|
"value": "Word of the Week"
|
|
465
464
|
}]
|
|
466
|
-
})), /*#__PURE__*/React__default["default"].createElement(Text__default["default"], {
|
|
467
|
-
className: styles$1.word
|
|
468
|
-
|
|
469
|
-
})) : null, description ? /*#__PURE__*/React__default["default"].createElement(Text__default["default"], Object.assign({
|
|
465
|
+
})), /*#__PURE__*/React__default["default"].createElement(Text__default["default"], Object.assign({
|
|
466
|
+
className: styles$1.word
|
|
467
|
+
}, word))) : null, description ? /*#__PURE__*/React__default["default"].createElement(Text__default["default"], Object.assign({
|
|
470
468
|
className: styles$1.description
|
|
471
469
|
}, description)) : null, image ? /*#__PURE__*/React__default["default"].createElement("img", {
|
|
472
470
|
className: styles$1.illustration,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-urbania-horoscope",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.381",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -50,19 +50,19 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@babel/runtime": "^7.13.10",
|
|
53
|
-
"@micromag/core": "^0.3.
|
|
54
|
-
"@micromag/element-background": "^0.3.
|
|
55
|
-
"@micromag/element-button": "^0.3.
|
|
56
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
57
|
-
"@micromag/element-container": "^0.3.
|
|
58
|
-
"@micromag/element-grid": "^0.3.
|
|
59
|
-
"@micromag/element-heading": "^0.3.
|
|
60
|
-
"@micromag/element-keypad": "^0.3.
|
|
61
|
-
"@micromag/element-layout": "^0.3.
|
|
62
|
-
"@micromag/element-scroll": "^0.3.
|
|
63
|
-
"@micromag/element-text": "^0.3.
|
|
64
|
-
"@micromag/element-urbania-author": "^0.3.
|
|
65
|
-
"@micromag/transforms": "^0.3.
|
|
53
|
+
"@micromag/core": "^0.3.379",
|
|
54
|
+
"@micromag/element-background": "^0.3.379",
|
|
55
|
+
"@micromag/element-button": "^0.3.379",
|
|
56
|
+
"@micromag/element-call-to-action": "^0.3.379",
|
|
57
|
+
"@micromag/element-container": "^0.3.379",
|
|
58
|
+
"@micromag/element-grid": "^0.3.379",
|
|
59
|
+
"@micromag/element-heading": "^0.3.379",
|
|
60
|
+
"@micromag/element-keypad": "^0.3.379",
|
|
61
|
+
"@micromag/element-layout": "^0.3.379",
|
|
62
|
+
"@micromag/element-scroll": "^0.3.379",
|
|
63
|
+
"@micromag/element-text": "^0.3.379",
|
|
64
|
+
"@micromag/element-urbania-author": "^0.3.379",
|
|
65
|
+
"@micromag/transforms": "^0.3.379",
|
|
66
66
|
"@react-spring/core": "^9.6.1",
|
|
67
67
|
"@react-spring/web": "^9.6.1",
|
|
68
68
|
"@use-gesture/react": "^10.2.4",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"publishConfig": {
|
|
77
77
|
"access": "public"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "f5498b52a78c8d12da44209752b20a27d491a129"
|
|
80
80
|
}
|