@micromag/screen-conversation 0.4.49 → 0.4.50
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 +200 -179
- package/package.json +13 -13
package/es/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { FormattedMessage, defineMessage } from 'react-intl';
|
|
2
|
+
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
3
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
3
4
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
4
5
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
5
6
|
import classNames from 'classnames';
|
|
6
|
-
import
|
|
7
|
+
import { useState, useMemo, useEffect, useRef, useCallback } from 'react';
|
|
7
8
|
import { v1 } from 'uuid';
|
|
8
9
|
import { PlayIcon, PauseIcon, Button, ScreenElement, Transitions } from '@micromag/core/components';
|
|
9
10
|
import { useScreenSize, useViewerContext, useViewerWebView, usePlaybackContext, usePlaybackMediaRef, useScreenRenderContext } from '@micromag/core/contexts';
|
|
@@ -16,10 +17,10 @@ import Header from '@micromag/element-header';
|
|
|
16
17
|
import Heading from '@micromag/element-heading';
|
|
17
18
|
import Layout from '@micromag/element-layout';
|
|
18
19
|
import Scroll from '@micromag/element-scroll';
|
|
19
|
-
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
20
20
|
import Text from '@micromag/element-text';
|
|
21
21
|
import Visual from '@micromag/element-visual';
|
|
22
22
|
import Audio from '@micromag/element-audio';
|
|
23
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
23
24
|
|
|
24
25
|
var styles = {"container":"micromag-screen-conversation-container","background":"micromag-screen-conversation-background","content":"micromag-screen-conversation-content","empty":"micromag-screen-conversation-empty","title":"micromag-screen-conversation-title","footer":"micromag-screen-conversation-footer","disabled":"micromag-screen-conversation-disabled","layout":"micromag-screen-conversation-layout","messageContainer":"micromag-screen-conversation-messageContainer","message":"micromag-screen-conversation-message","normalLeft":"micromag-screen-conversation-normalLeft","inBetweenLeft":"micromag-screen-conversation-inBetweenLeft","normalRight":"micromag-screen-conversation-normalRight","inBetweenRight":"micromag-screen-conversation-inBetweenRight","last":"micromag-screen-conversation-last","messageBody":"micromag-screen-conversation-messageBody","speakerDetails":"micromag-screen-conversation-speakerDetails","right":"micromag-screen-conversation-right","avatarContainer":"micromag-screen-conversation-avatarContainer","avatar":"micromag-screen-conversation-avatar","imageContainer":"micromag-screen-conversation-imageContainer","withAnimation":"micromag-screen-conversation-withAnimation","loadingContainer":"micromag-screen-conversation-loadingContainer","loading":"micromag-screen-conversation-loading","dot":"micromag-screen-conversation-dot","loadingSpeakerName":"micromag-screen-conversation-loadingSpeakerName","audioMessageContainer":"micromag-screen-conversation-audioMessageContainer","playButtonContainer":"micromag-screen-conversation-playButtonContainer","button":"micromag-screen-conversation-button","audioMessage":"micromag-screen-conversation-audioMessage","icon":"micromag-screen-conversation-icon"};
|
|
25
26
|
|
|
@@ -77,26 +78,28 @@ function ConversationAudioAttachment(_ref) {
|
|
|
77
78
|
}
|
|
78
79
|
setPaused(true);
|
|
79
80
|
};
|
|
80
|
-
return /*#__PURE__*/
|
|
81
|
-
className: classNames([styles.audioMessageContainer, className])
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
81
|
+
return /*#__PURE__*/jsxs("div", {
|
|
82
|
+
className: classNames([styles.audioMessageContainer, className]),
|
|
83
|
+
children: [/*#__PURE__*/jsx("div", {
|
|
84
|
+
className: styles.playButtonContainer,
|
|
85
|
+
children: paused ? /*#__PURE__*/jsx(PlayIcon, {
|
|
86
|
+
className: styles.icon
|
|
87
|
+
}) : /*#__PURE__*/jsx(PauseIcon, {
|
|
88
|
+
className: styles.icon
|
|
89
|
+
})
|
|
90
|
+
}), /*#__PURE__*/jsx(Audio, {
|
|
91
|
+
withWave: true,
|
|
92
|
+
autoWaveHeight: true,
|
|
93
|
+
className: styles.audioMessage,
|
|
94
|
+
media: audio,
|
|
95
|
+
paused: paused,
|
|
96
|
+
updateInterval: 100,
|
|
97
|
+
onEnded: onAudioEnded
|
|
98
|
+
}), /*#__PURE__*/jsx(Button, {
|
|
99
|
+
onClick: togglePaused,
|
|
100
|
+
className: styles.button
|
|
101
|
+
})]
|
|
102
|
+
});
|
|
100
103
|
}
|
|
101
104
|
|
|
102
105
|
function ConversationMessage(_ref) {
|
|
@@ -189,61 +192,70 @@ function ConversationMessage(_ref) {
|
|
|
189
192
|
}
|
|
190
193
|
}, [messageState]);
|
|
191
194
|
var betweenStyle = isNextSpeakerTheSame && nextMessageState;
|
|
192
|
-
return messageState !== 'pause' ? /*#__PURE__*/
|
|
193
|
-
className: classNames([styles.messageContainer, className, _defineProperty(_defineProperty({}, styles.withAnimation, withAnimation === true), styles.right, right)])
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
195
|
+
return messageState !== 'pause' ? /*#__PURE__*/jsx("div", {
|
|
196
|
+
className: classNames([styles.messageContainer, className, _defineProperty(_defineProperty({}, styles.withAnimation, withAnimation === true), styles.right, right)]),
|
|
197
|
+
children: messageState === 'typing' ? /*#__PURE__*/jsxs("div", {
|
|
198
|
+
className: styles.loadingContainer,
|
|
199
|
+
children: [/*#__PURE__*/jsxs("div", {
|
|
200
|
+
className: styles.loading,
|
|
201
|
+
children: [/*#__PURE__*/jsx("div", {
|
|
202
|
+
className: styles.dot
|
|
203
|
+
}), /*#__PURE__*/jsx("div", {
|
|
204
|
+
className: styles.dot
|
|
205
|
+
}), /*#__PURE__*/jsx("div", {
|
|
206
|
+
className: styles.dot
|
|
207
|
+
})]
|
|
208
|
+
}), /*#__PURE__*/jsx("div", {
|
|
209
|
+
className: styles.loadingSpeakerName,
|
|
210
|
+
children: speakerName
|
|
211
|
+
})]
|
|
212
|
+
}) : /*#__PURE__*/jsxs("div", {
|
|
213
|
+
className: classNames([styles.message, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, styles.normalRight, right), styles.nextTheSame, isNextSpeakerTheSame === true && isPrevSpeakerTheSame), styles.inBetweenRight, betweenStyle && right), styles.normalLeft, !right), styles.inBetweenLeft, betweenStyle && !right), styles.last, isNextSpeakerTheSame === false)]),
|
|
214
|
+
style: _objectSpread({}, getStyleFromColor(color)),
|
|
215
|
+
children: [!isPrevSpeakerTheSame ? /*#__PURE__*/jsxs("div", {
|
|
216
|
+
className: classNames([styles.speakerDetails, _defineProperty({}, styles.right, side === 'right')]),
|
|
217
|
+
children: [avatarUrl !== null ? /*#__PURE__*/jsx("div", {
|
|
218
|
+
className: classNames([styles.avatarContainer, _defineProperty({}, styles.right, side === 'right')]),
|
|
219
|
+
children: /*#__PURE__*/jsx("img", {
|
|
220
|
+
className: styles.avatar,
|
|
221
|
+
src: avatarUrl,
|
|
222
|
+
alt: speakerName,
|
|
223
|
+
loading: "lazy"
|
|
224
|
+
})
|
|
225
|
+
}) : null, /*#__PURE__*/jsx(Text, {
|
|
226
|
+
body: speakerName,
|
|
227
|
+
textStyle: speakerStyle
|
|
228
|
+
})]
|
|
229
|
+
}) : null, /*#__PURE__*/jsxs("div", {
|
|
230
|
+
className: styles.messageBody,
|
|
231
|
+
children: [image !== null ? /*#__PURE__*/jsx("div", {
|
|
232
|
+
className: styles.imageContainer,
|
|
233
|
+
children: /*#__PURE__*/jsx(Visual, {
|
|
234
|
+
media: image,
|
|
235
|
+
width: "100%",
|
|
236
|
+
playing: isPlaying,
|
|
237
|
+
active: active
|
|
238
|
+
})
|
|
239
|
+
}) : null, audio && putAudioBeforeText ? /*#__PURE__*/jsx(ConversationAudioAttachment, {
|
|
240
|
+
audio: audio,
|
|
241
|
+
messageId: messageId,
|
|
242
|
+
nextAudioMessageId: nextAudioMessageId,
|
|
243
|
+
audioEventsChannelName: audioEventsChannelName,
|
|
244
|
+
className: classNames(styles.audioAttachment, styles.beforeText)
|
|
245
|
+
}) : null, /*#__PURE__*/jsx(Text, {
|
|
246
|
+
className: styles.messageText,
|
|
247
|
+
body: messageBody,
|
|
248
|
+
textStyle: messageStyle
|
|
249
|
+
}), audio && !putAudioBeforeText ? /*#__PURE__*/jsx(ConversationAudioAttachment, {
|
|
250
|
+
audio: audio,
|
|
251
|
+
messageId: messageId,
|
|
252
|
+
nextAudioMessageId: nextAudioMessageId,
|
|
253
|
+
audioEventsChannelName: audioEventsChannelName,
|
|
254
|
+
className: classNames(styles.audioAttachment, styles.afterText)
|
|
255
|
+
}) : null]
|
|
256
|
+
})]
|
|
257
|
+
})
|
|
258
|
+
}) : null;
|
|
247
259
|
}
|
|
248
260
|
|
|
249
261
|
function ConversationScreen(_ref) {
|
|
@@ -425,111 +437,120 @@ function ConversationScreen(_ref) {
|
|
|
425
437
|
});
|
|
426
438
|
}
|
|
427
439
|
}, [trackScreenEvent]);
|
|
428
|
-
return /*#__PURE__*/
|
|
440
|
+
return /*#__PURE__*/jsxs("div", {
|
|
429
441
|
className: classNames([styles.container, className, _defineProperty({}, styles.isPlaceholder, isPlaceholder)]),
|
|
430
|
-
"data-screen-ready": true
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
442
|
+
"data-screen-ready": true,
|
|
443
|
+
children: [/*#__PURE__*/jsx(Container, {
|
|
444
|
+
width: width,
|
|
445
|
+
height: height,
|
|
446
|
+
className: styles.content,
|
|
447
|
+
children: /*#__PURE__*/jsx(Scroll, {
|
|
448
|
+
ref: scrollRef,
|
|
449
|
+
disabled: scrollingDisabled,
|
|
450
|
+
onScrolledTrigger: onScrolledTrigger,
|
|
451
|
+
onScrolledBottom: onScrolledBottom,
|
|
452
|
+
onScrolledNotBottom: onScrolledNotBottom,
|
|
453
|
+
withShadow: true,
|
|
454
|
+
children: /*#__PURE__*/jsx("div", {
|
|
455
|
+
ref: contentRef,
|
|
456
|
+
children: /*#__PURE__*/jsxs(Layout, {
|
|
457
|
+
className: styles.layout,
|
|
458
|
+
style: !isPlaceholder ? {
|
|
459
|
+
padding: spacing,
|
|
460
|
+
paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing / 2,
|
|
461
|
+
paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + spacing / 2
|
|
462
|
+
} : null,
|
|
463
|
+
children: [!isPlaceholder && hasHeader ? /*#__PURE__*/jsx("div", {
|
|
464
|
+
style: {
|
|
465
|
+
paddingBottom: spacing
|
|
466
|
+
},
|
|
467
|
+
children: /*#__PURE__*/jsx(Header, _objectSpread({}, header))
|
|
468
|
+
}, "header") : null, /*#__PURE__*/jsx(ScreenElement, {
|
|
469
|
+
placeholder: "conversation",
|
|
470
|
+
emptyLabel: /*#__PURE__*/jsx(FormattedMessage, {
|
|
471
|
+
id: "NmCfTO",
|
|
472
|
+
defaultMessage: [{
|
|
473
|
+
"type": 0,
|
|
474
|
+
"value": "Conversation"
|
|
475
|
+
}]
|
|
476
|
+
}),
|
|
477
|
+
emptyClassName: styles.empty,
|
|
478
|
+
isEmpty: messages.length === 0 && title === null,
|
|
479
|
+
children: /*#__PURE__*/jsxs(Transitions, {
|
|
480
|
+
transitions: transitions,
|
|
481
|
+
playing: current,
|
|
482
|
+
disabled: transitionDisabled
|
|
483
|
+
// delay={0}
|
|
484
|
+
,
|
|
485
|
+
children: [hasTitle ? /*#__PURE__*/jsx(Heading, _objectSpread(_objectSpread({}, title), {}, {
|
|
486
|
+
className: styles.title,
|
|
487
|
+
isEmpty: title === null
|
|
488
|
+
})) : null, /*#__PURE__*/jsx("div", {
|
|
489
|
+
className: styles.conversation,
|
|
490
|
+
children: filteredMessages.map(function (m, messageI) {
|
|
491
|
+
var previousMessage = messageI !== 0 ? messages[messageI - 1] : null;
|
|
492
|
+
var nextMessage = messageI + 1 < messages.length ? messages[messageI + 1] : null;
|
|
493
|
+
var speaker = m.speaker;
|
|
494
|
+
var currentSpeaker = (speakers || []).find(function (s) {
|
|
495
|
+
return s.id === speaker;
|
|
496
|
+
}) || null;
|
|
497
|
+
var shouldPlay = messageI === 0 || conversationState[messageI - 1] === true;
|
|
498
|
+
var pauseTiming = hesitationTimings[messageI];
|
|
499
|
+
var typingTiming = timings[messageI];
|
|
500
|
+
var messageId = "".concat(m.message, "-").concat(messagesUniqueId[messageI]);
|
|
501
|
+
var nextAudioMessage = filteredMessages.slice(messageI + 1).find(function (c) {
|
|
502
|
+
return c.audio != null;
|
|
503
|
+
});
|
|
504
|
+
var nextAudioMessageId = nextAudioMessage ? "".concat(m.message, "-").concat(messagesUniqueId[filteredMessages.indexOf(nextAudioMessage)]) : null;
|
|
505
|
+
return /*#__PURE__*/jsx(ConversationMessage, {
|
|
506
|
+
message: m,
|
|
507
|
+
messageId: messageId,
|
|
508
|
+
previousMessage: previousMessage,
|
|
509
|
+
nextMessage: nextMessage,
|
|
510
|
+
nextAudioMessageId: nextAudioMessageId,
|
|
511
|
+
nextMessageState: conversationState[messageI + 1] || !withAnimation,
|
|
512
|
+
currentSpeaker: currentSpeaker,
|
|
513
|
+
conversationTiming: pauseTiming,
|
|
514
|
+
typingTiming: typingTiming,
|
|
515
|
+
onChange: conversationStateChange,
|
|
516
|
+
withAnimation: withAnimation,
|
|
517
|
+
isPlaying: current && shouldPlay,
|
|
518
|
+
shouldLoad: mediaShouldLoad,
|
|
519
|
+
withoutVideo: isPreview,
|
|
520
|
+
messageStyle: messageStyle,
|
|
521
|
+
speakerStyle: speakerStyle,
|
|
522
|
+
audioEventsChannelName: audioEventsChannel.name
|
|
523
|
+
}, messageId);
|
|
524
|
+
})
|
|
525
|
+
}), showFooter ? /*#__PURE__*/jsx("div", {
|
|
526
|
+
className: classNames([styles.footer, _defineProperty({}, styles.disabled, !scrolledBottom)]),
|
|
527
|
+
style: {
|
|
528
|
+
paddingLeft: Math.max(viewerBottomSidesWidth - spacing, 0),
|
|
529
|
+
paddingRight: Math.max(viewerBottomSidesWidth - spacing, 0),
|
|
530
|
+
paddingTop: spacing
|
|
531
|
+
},
|
|
532
|
+
children: /*#__PURE__*/jsx(Footer, _objectSpread({}, footerProps))
|
|
533
|
+
}) : null, /*#__PURE__*/jsx("div", {
|
|
534
|
+
ref: chatBottomRef
|
|
535
|
+
})]
|
|
536
|
+
})
|
|
537
|
+
})]
|
|
538
|
+
})
|
|
539
|
+
})
|
|
540
|
+
})
|
|
541
|
+
}), !isPlaceholder ? /*#__PURE__*/jsx(Background, {
|
|
542
|
+
background: background,
|
|
543
|
+
width: width,
|
|
544
|
+
height: height,
|
|
545
|
+
resolution: resolution,
|
|
546
|
+
playing: backgroundPlaying,
|
|
547
|
+
muted: muted,
|
|
506
548
|
shouldLoad: mediaShouldLoad,
|
|
549
|
+
mediaRef: mediaRef,
|
|
507
550
|
withoutVideo: isPreview,
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
});
|
|
512
|
-
})), showFooter ? /*#__PURE__*/React.createElement("div", {
|
|
513
|
-
className: classNames([styles.footer, _defineProperty({}, styles.disabled, !scrolledBottom)]),
|
|
514
|
-
style: {
|
|
515
|
-
paddingLeft: Math.max(viewerBottomSidesWidth - spacing, 0),
|
|
516
|
-
paddingRight: Math.max(viewerBottomSidesWidth - spacing, 0),
|
|
517
|
-
paddingTop: spacing
|
|
518
|
-
}
|
|
519
|
-
}, /*#__PURE__*/React.createElement(Footer, footerProps)) : null, /*#__PURE__*/React.createElement("div", {
|
|
520
|
-
ref: chatBottomRef
|
|
521
|
-
}))))))), !isPlaceholder ? /*#__PURE__*/React.createElement(Background, {
|
|
522
|
-
background: background,
|
|
523
|
-
width: width,
|
|
524
|
-
height: height,
|
|
525
|
-
resolution: resolution,
|
|
526
|
-
playing: backgroundPlaying,
|
|
527
|
-
muted: muted,
|
|
528
|
-
shouldLoad: mediaShouldLoad,
|
|
529
|
-
mediaRef: mediaRef,
|
|
530
|
-
withoutVideo: isPreview,
|
|
531
|
-
className: styles.background
|
|
532
|
-
}) : null);
|
|
551
|
+
className: styles.background
|
|
552
|
+
}) : null]
|
|
553
|
+
});
|
|
533
554
|
}
|
|
534
555
|
|
|
535
556
|
var definition = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-conversation",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.50",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -61,17 +61,17 @@
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@babel/runtime": "^7.28.6",
|
|
64
|
-
"@micromag/core": "^0.4.
|
|
65
|
-
"@micromag/element-background": "^0.4.
|
|
66
|
-
"@micromag/element-container": "^0.4.
|
|
67
|
-
"@micromag/element-footer": "^0.4.
|
|
68
|
-
"@micromag/element-header": "^0.4.
|
|
69
|
-
"@micromag/element-heading": "^0.4.
|
|
70
|
-
"@micromag/element-layout": "^0.4.
|
|
71
|
-
"@micromag/element-scroll": "^0.4.
|
|
72
|
-
"@micromag/element-text": "^0.4.
|
|
73
|
-
"@micromag/element-visual": "^0.4.
|
|
74
|
-
"@micromag/transforms": "^0.4.
|
|
64
|
+
"@micromag/core": "^0.4.50",
|
|
65
|
+
"@micromag/element-background": "^0.4.50",
|
|
66
|
+
"@micromag/element-container": "^0.4.50",
|
|
67
|
+
"@micromag/element-footer": "^0.4.50",
|
|
68
|
+
"@micromag/element-header": "^0.4.50",
|
|
69
|
+
"@micromag/element-heading": "^0.4.50",
|
|
70
|
+
"@micromag/element-layout": "^0.4.50",
|
|
71
|
+
"@micromag/element-scroll": "^0.4.50",
|
|
72
|
+
"@micromag/element-text": "^0.4.50",
|
|
73
|
+
"@micromag/element-visual": "^0.4.50",
|
|
74
|
+
"@micromag/transforms": "^0.4.50",
|
|
75
75
|
"classnames": "^2.2.6",
|
|
76
76
|
"lodash": "^4.17.23",
|
|
77
77
|
"react-intl": "^8.1.3 || ^10.0.0",
|
|
@@ -81,6 +81,6 @@
|
|
|
81
81
|
"access": "public",
|
|
82
82
|
"registry": "https://registry.npmjs.org/"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "940d5ca98f8f448b79eaa3e2fa685c3ee95185b8",
|
|
85
85
|
"types": "es/index.d.ts"
|
|
86
86
|
}
|