@micromag/screen-conversation 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 +7 -4
- package/lib/index.js +7 -4
- package/package.json +14 -13
package/es/index.js
CHANGED
|
@@ -105,6 +105,7 @@ var ConversationAudioAttachment = function ConversationAudioAttachment(_ref) {
|
|
|
105
105
|
};
|
|
106
106
|
ConversationAudioAttachment.propTypes = propTypes$2;
|
|
107
107
|
ConversationAudioAttachment.defaultProps = defaultProps$2;
|
|
108
|
+
var ConversationAudioAttachment$1 = ConversationAudioAttachment;
|
|
108
109
|
|
|
109
110
|
var propTypes$1 = {
|
|
110
111
|
message: PropTypes.conversationMessage,
|
|
@@ -217,7 +218,7 @@ var ConversationMessage = function ConversationMessage(_ref) {
|
|
|
217
218
|
}, [messageState]);
|
|
218
219
|
var betweenStyle = isNextSpeakerTheSame && nextMessageState;
|
|
219
220
|
var buildAudioAttachment = function buildAudioAttachment() {
|
|
220
|
-
return /*#__PURE__*/React.createElement(ConversationAudioAttachment, {
|
|
221
|
+
return /*#__PURE__*/React.createElement(ConversationAudioAttachment$1, {
|
|
221
222
|
audio: audio,
|
|
222
223
|
messageId: messageId,
|
|
223
224
|
nextAudioMessageId: nextAudioMessageId,
|
|
@@ -274,6 +275,7 @@ var ConversationMessage = function ConversationMessage(_ref) {
|
|
|
274
275
|
};
|
|
275
276
|
ConversationMessage.propTypes = propTypes$1;
|
|
276
277
|
ConversationMessage.defaultProps = defaultProps$1;
|
|
278
|
+
var ConversationMessage$1 = ConversationMessage;
|
|
277
279
|
|
|
278
280
|
var propTypes = {
|
|
279
281
|
// id: PropTypes.string,
|
|
@@ -523,7 +525,7 @@ var ConversationScreen = function ConversationScreen(_ref) {
|
|
|
523
525
|
return c.audio != null;
|
|
524
526
|
});
|
|
525
527
|
var nextAudioMessageId = nextAudioMessage ? "".concat(m.message, "-").concat(messagesUniqueId[filteredMessages.indexOf(nextAudioMessage)]) : null;
|
|
526
|
-
return /*#__PURE__*/React.createElement(ConversationMessage, {
|
|
528
|
+
return /*#__PURE__*/React.createElement(ConversationMessage$1, {
|
|
527
529
|
key: messageId,
|
|
528
530
|
message: m,
|
|
529
531
|
messageId: messageId,
|
|
@@ -567,6 +569,7 @@ var ConversationScreen = function ConversationScreen(_ref) {
|
|
|
567
569
|
};
|
|
568
570
|
ConversationScreen.propTypes = propTypes;
|
|
569
571
|
ConversationScreen.defaultProps = defaultProps;
|
|
572
|
+
var ConversationScreen$1 = ConversationScreen;
|
|
570
573
|
|
|
571
574
|
var definition = {
|
|
572
575
|
id: 'conversation',
|
|
@@ -588,7 +591,7 @@ var definition = {
|
|
|
588
591
|
"value": "Conversation"
|
|
589
592
|
}]
|
|
590
593
|
}),
|
|
591
|
-
component: ConversationScreen,
|
|
594
|
+
component: ConversationScreen$1,
|
|
592
595
|
layouts: ['normal'],
|
|
593
596
|
fields: [
|
|
594
597
|
// {
|
|
@@ -705,4 +708,4 @@ var definition = {
|
|
|
705
708
|
}]
|
|
706
709
|
};
|
|
707
710
|
|
|
708
|
-
export { ConversationScreen, definition as default };
|
|
711
|
+
export { ConversationScreen$1 as ConversationScreen, definition as default };
|
package/lib/index.js
CHANGED
|
@@ -109,6 +109,7 @@ var ConversationAudioAttachment = function ConversationAudioAttachment(_ref) {
|
|
|
109
109
|
};
|
|
110
110
|
ConversationAudioAttachment.propTypes = propTypes$2;
|
|
111
111
|
ConversationAudioAttachment.defaultProps = defaultProps$2;
|
|
112
|
+
var ConversationAudioAttachment$1 = ConversationAudioAttachment;
|
|
112
113
|
|
|
113
114
|
var propTypes$1 = {
|
|
114
115
|
message: core.PropTypes.conversationMessage,
|
|
@@ -221,7 +222,7 @@ var ConversationMessage = function ConversationMessage(_ref) {
|
|
|
221
222
|
}, [messageState]);
|
|
222
223
|
var betweenStyle = isNextSpeakerTheSame && nextMessageState;
|
|
223
224
|
var buildAudioAttachment = function buildAudioAttachment() {
|
|
224
|
-
return /*#__PURE__*/React.createElement(ConversationAudioAttachment, {
|
|
225
|
+
return /*#__PURE__*/React.createElement(ConversationAudioAttachment$1, {
|
|
225
226
|
audio: audio,
|
|
226
227
|
messageId: messageId,
|
|
227
228
|
nextAudioMessageId: nextAudioMessageId,
|
|
@@ -278,6 +279,7 @@ var ConversationMessage = function ConversationMessage(_ref) {
|
|
|
278
279
|
};
|
|
279
280
|
ConversationMessage.propTypes = propTypes$1;
|
|
280
281
|
ConversationMessage.defaultProps = defaultProps$1;
|
|
282
|
+
var ConversationMessage$1 = ConversationMessage;
|
|
281
283
|
|
|
282
284
|
var propTypes = {
|
|
283
285
|
// id: PropTypes.string,
|
|
@@ -527,7 +529,7 @@ var ConversationScreen = function ConversationScreen(_ref) {
|
|
|
527
529
|
return c.audio != null;
|
|
528
530
|
});
|
|
529
531
|
var nextAudioMessageId = nextAudioMessage ? "".concat(m.message, "-").concat(messagesUniqueId[filteredMessages.indexOf(nextAudioMessage)]) : null;
|
|
530
|
-
return /*#__PURE__*/React.createElement(ConversationMessage, {
|
|
532
|
+
return /*#__PURE__*/React.createElement(ConversationMessage$1, {
|
|
531
533
|
key: messageId,
|
|
532
534
|
message: m,
|
|
533
535
|
messageId: messageId,
|
|
@@ -571,6 +573,7 @@ var ConversationScreen = function ConversationScreen(_ref) {
|
|
|
571
573
|
};
|
|
572
574
|
ConversationScreen.propTypes = propTypes;
|
|
573
575
|
ConversationScreen.defaultProps = defaultProps;
|
|
576
|
+
var ConversationScreen$1 = ConversationScreen;
|
|
574
577
|
|
|
575
578
|
var definition = {
|
|
576
579
|
id: 'conversation',
|
|
@@ -592,7 +595,7 @@ var definition = {
|
|
|
592
595
|
"value": "Conversation"
|
|
593
596
|
}]
|
|
594
597
|
}),
|
|
595
|
-
component: ConversationScreen,
|
|
598
|
+
component: ConversationScreen$1,
|
|
596
599
|
layouts: ['normal'],
|
|
597
600
|
fields: [
|
|
598
601
|
// {
|
|
@@ -709,5 +712,5 @@ var definition = {
|
|
|
709
712
|
}]
|
|
710
713
|
};
|
|
711
714
|
|
|
712
|
-
exports.ConversationScreen = ConversationScreen;
|
|
715
|
+
exports.ConversationScreen = ConversationScreen$1;
|
|
713
716
|
exports.default = definition;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-conversation",
|
|
3
|
-
"version": "0.3.
|
|
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": {
|
|
@@ -59,17 +60,17 @@
|
|
|
59
60
|
},
|
|
60
61
|
"dependencies": {
|
|
61
62
|
"@babel/runtime": "^7.13.10",
|
|
62
|
-
"@micromag/core": "^0.3.
|
|
63
|
-
"@micromag/element-background": "^0.3.
|
|
64
|
-
"@micromag/element-container": "^0.3.
|
|
65
|
-
"@micromag/element-footer": "^0.3.
|
|
66
|
-
"@micromag/element-header": "^0.3.
|
|
67
|
-
"@micromag/element-heading": "^0.3.
|
|
68
|
-
"@micromag/element-layout": "^0.3.
|
|
69
|
-
"@micromag/element-scroll": "^0.3.
|
|
70
|
-
"@micromag/element-text": "^0.3.
|
|
71
|
-
"@micromag/element-visual": "^0.3.
|
|
72
|
-
"@micromag/transforms": "^0.3.
|
|
63
|
+
"@micromag/core": "^0.3.482",
|
|
64
|
+
"@micromag/element-background": "^0.3.482",
|
|
65
|
+
"@micromag/element-container": "^0.3.482",
|
|
66
|
+
"@micromag/element-footer": "^0.3.482",
|
|
67
|
+
"@micromag/element-header": "^0.3.482",
|
|
68
|
+
"@micromag/element-heading": "^0.3.482",
|
|
69
|
+
"@micromag/element-layout": "^0.3.482",
|
|
70
|
+
"@micromag/element-scroll": "^0.3.482",
|
|
71
|
+
"@micromag/element-text": "^0.3.482",
|
|
72
|
+
"@micromag/element-visual": "^0.3.482",
|
|
73
|
+
"@micromag/transforms": "^0.3.482",
|
|
73
74
|
"classnames": "^2.2.6",
|
|
74
75
|
"lodash": "^4.17.21",
|
|
75
76
|
"prop-types": "^15.7.2",
|
|
@@ -80,5 +81,5 @@
|
|
|
80
81
|
"access": "public",
|
|
81
82
|
"registry": "https://registry.npmjs.org/"
|
|
82
83
|
},
|
|
83
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "931f86bb7dd77a05d196cadda88c8a170e665c3d"
|
|
84
85
|
}
|