@micromag/screen-conversation 0.2.405 → 0.2.406
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 +4 -1
- package/lib/index.js +4 -1
- package/package.json +4 -4
package/es/index.js
CHANGED
|
@@ -183,6 +183,7 @@ var propTypes = {
|
|
|
183
183
|
background: PropTypes.backgroundElement,
|
|
184
184
|
callToAction: PropTypes.callToAction,
|
|
185
185
|
current: PropTypes$1.bool,
|
|
186
|
+
active: PropTypes$1.bool,
|
|
186
187
|
type: PropTypes$1.string,
|
|
187
188
|
conversation: PropTypes.conversation,
|
|
188
189
|
transitions: PropTypes.transitions,
|
|
@@ -196,6 +197,7 @@ var defaultProps = {
|
|
|
196
197
|
background: null,
|
|
197
198
|
callToAction: null,
|
|
198
199
|
current: true,
|
|
200
|
+
active: true,
|
|
199
201
|
type: null,
|
|
200
202
|
conversation: null,
|
|
201
203
|
transitions: null,
|
|
@@ -355,7 +357,8 @@ var ConversationScreen = function ConversationScreen(_ref) {
|
|
|
355
357
|
background: background,
|
|
356
358
|
width: width,
|
|
357
359
|
height: height,
|
|
358
|
-
playing: backgroundPlaying
|
|
360
|
+
playing: backgroundPlaying,
|
|
361
|
+
shouldLoad: current || active
|
|
359
362
|
}) : null, /*#__PURE__*/React.createElement(Container, {
|
|
360
363
|
width: width,
|
|
361
364
|
height: height
|
package/lib/index.js
CHANGED
|
@@ -205,6 +205,7 @@ var propTypes = {
|
|
|
205
205
|
background: core.PropTypes.backgroundElement,
|
|
206
206
|
callToAction: core.PropTypes.callToAction,
|
|
207
207
|
current: PropTypes__default["default"].bool,
|
|
208
|
+
active: PropTypes__default["default"].bool,
|
|
208
209
|
type: PropTypes__default["default"].string,
|
|
209
210
|
conversation: core.PropTypes.conversation,
|
|
210
211
|
transitions: core.PropTypes.transitions,
|
|
@@ -218,6 +219,7 @@ var defaultProps = {
|
|
|
218
219
|
background: null,
|
|
219
220
|
callToAction: null,
|
|
220
221
|
current: true,
|
|
222
|
+
active: true,
|
|
221
223
|
type: null,
|
|
222
224
|
conversation: null,
|
|
223
225
|
transitions: null,
|
|
@@ -377,7 +379,8 @@ var ConversationScreen = function ConversationScreen(_ref) {
|
|
|
377
379
|
background: background,
|
|
378
380
|
width: width,
|
|
379
381
|
height: height,
|
|
380
|
-
playing: backgroundPlaying
|
|
382
|
+
playing: backgroundPlaying,
|
|
383
|
+
shouldLoad: current || active
|
|
381
384
|
}) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
|
|
382
385
|
width: width,
|
|
383
386
|
height: height
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-conversation",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.406",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@babel/runtime": "^7.13.10",
|
|
52
52
|
"@micromag/core": "^0.2.405",
|
|
53
|
-
"@micromag/element-background": "^0.2.
|
|
53
|
+
"@micromag/element-background": "^0.2.406",
|
|
54
54
|
"@micromag/element-call-to-action": "^0.2.405",
|
|
55
55
|
"@micromag/element-container": "^0.2.405",
|
|
56
56
|
"@micromag/element-heading": "^0.2.405",
|
|
57
57
|
"@micromag/element-layout": "^0.2.405",
|
|
58
58
|
"@micromag/element-scroll": "^0.2.405",
|
|
59
59
|
"@micromag/element-text": "^0.2.405",
|
|
60
|
-
"@micromag/element-visual": "^0.2.
|
|
60
|
+
"@micromag/element-visual": "^0.2.406",
|
|
61
61
|
"@micromag/transforms": "^0.2.405",
|
|
62
62
|
"classnames": "^2.2.6",
|
|
63
63
|
"lodash": "^4.17.21",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "5e1a6de73674624b0cb3f9701140ea8850e6f35e"
|
|
72
72
|
}
|