@magmamath/students-features 0.2.19 → 0.2.20
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/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +2 -3
- package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
- package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +2 -3
- package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
- package/package.json +1 -1
- package/src/features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx +1 -2
- package/src/features/chatbot/components/Chatbot.tsx +1 -1
|
@@ -59,10 +59,9 @@ const MessageTextToSpeech = ({
|
|
|
59
59
|
exports.MessageTextToSpeech = MessageTextToSpeech;
|
|
60
60
|
const styles = _reactNative.StyleSheet.create({
|
|
61
61
|
container: {
|
|
62
|
-
alignSelf: '
|
|
62
|
+
alignSelf: 'stretch',
|
|
63
63
|
justifyContent: 'flex-end',
|
|
64
|
-
width: 45
|
|
65
|
-
height: '100%'
|
|
64
|
+
width: 45
|
|
66
65
|
},
|
|
67
66
|
button: {
|
|
68
67
|
alignItems: 'center',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_SpeakerIcon","_PlayIcon","_PauseIcon","_jsxRuntime","e","__esModule","default","TextToSpeechIcon","status","isActive","isLoading","jsx","ActivityIndicator","SpeakerIcon","color","undefined","PauseIcon","PlayIcon","MessageTextToSpeech","disabled","onPress","TouchableOpacity","style","styles","container","children","Pressable","button","backgroundColor","exports","StyleSheet","create","alignSelf","justifyContent","width","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_SpeakerIcon","_PlayIcon","_PauseIcon","_jsxRuntime","e","__esModule","default","TextToSpeechIcon","status","isActive","isLoading","jsx","ActivityIndicator","SpeakerIcon","color","undefined","PauseIcon","PlayIcon","MessageTextToSpeech","disabled","onPress","TouchableOpacity","style","styles","container","children","Pressable","button","backgroundColor","exports","StyleSheet","create","alignSelf","justifyContent","width","alignItems","height","padding","marginLeft","shadowColor","shadowOffset","shadowOpacity","shadowRadius","elevation","borderRadius","borderColor","borderWidth"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AAA8D,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAS9D,MAAMG,gBAAgB,GAAGA,CAAC;EAAEC,MAAM;EAAEC,QAAQ;EAAEC;AAAiC,CAAC,KAAK;EACnF,IAAIA,SAAS,IAAID,QAAQ,EAAE;IACzB,oBAAO,IAAAN,WAAA,CAAAQ,GAAA,EAACZ,YAAA,CAAAa,iBAAiB,IAAE,CAAC;EAC9B;EAEA,IAAI,CAACH,QAAQ,EAAE;IACb,oBAAO,IAAAN,WAAA,CAAAQ,GAAA,EAACX,YAAA,CAAAa,WAAW;MAACC,KAAK,EAAEL,QAAQ,GAAG,SAAS,GAAGM;IAAU,CAAE,CAAC;EACjE;EAEA,IAAIP,MAAM,KAAK,SAAS,EAAE,oBAAO,IAAAL,WAAA,CAAAQ,GAAA,EAACT,UAAA,CAAAc,SAAS;IAACF,KAAK,EAAC;EAAM,CAAE,CAAC;EAC3D,IAAIN,MAAM,KAAK,QAAQ,EAAE,oBAAO,IAAAL,WAAA,CAAAQ,GAAA,EAACV,SAAA,CAAAgB,QAAQ;IAACH,KAAK,EAAC;EAAM,CAAE,CAAC;EACzD,oBAAO,IAAA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C;MAAEE,MAAM,EAAE;IAAE,CAAC;IACrCK,aAAa,EAAE,IAAI;IACnBC,YAAY,EAAE,CAAC;IACfC,SAAS,EAAE,CAAC;IACZC,YAAY,EAAE,CAAC;IACfC,WAAW,EAAE,SAAS;IACtBC,WAAW,EAAE,GAAG;IAChBlB,eAAe,EAAE;EACnB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -53,10 +53,9 @@ export const MessageTextToSpeech = ({
|
|
|
53
53
|
});
|
|
54
54
|
const styles = StyleSheet.create({
|
|
55
55
|
container: {
|
|
56
|
-
alignSelf: '
|
|
56
|
+
alignSelf: 'stretch',
|
|
57
57
|
justifyContent: 'flex-end',
|
|
58
|
-
width: 45
|
|
59
|
-
height: '100%'
|
|
58
|
+
width: 45
|
|
60
59
|
},
|
|
61
60
|
button: {
|
|
62
61
|
alignItems: 'center',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","ActivityIndicator","Pressable","StyleSheet","TouchableOpacity","SpeakerIcon","PlayIcon","PauseIcon","jsx","_jsx","TextToSpeechIcon","status","isActive","isLoading","color","undefined","MessageTextToSpeech","disabled","onPress","style","styles","container","children","button","backgroundColor","create","alignSelf","justifyContent","width","
|
|
1
|
+
{"version":3,"names":["React","ActivityIndicator","Pressable","StyleSheet","TouchableOpacity","SpeakerIcon","PlayIcon","PauseIcon","jsx","_jsx","TextToSpeechIcon","status","isActive","isLoading","color","undefined","MessageTextToSpeech","disabled","onPress","style","styles","container","children","button","backgroundColor","create","alignSelf","justifyContent","width","alignItems","height","padding","marginLeft","shadowColor","shadowOffset","shadowOpacity","shadowRadius","elevation","borderRadius","borderColor","borderWidth"],"sourceRoot":"../../../../../../src","sources":["features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,iBAAiB,EAAEC,SAAS,EAAEC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;AACzF,SAASC,WAAW,QA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EAAEA,QAAS;MAACC,SAAS,EAAEA,SAAU;MAACF,MAAM,EAAEA;IAAO,CAAE;EAAC,CACrE;AAAC,CACI,CACnB;AAED,MAAMS,MAAM,GAAGjB,UAAU,CAACsB,MAAM,CAAC;EAC/BJ,SAAS,EAAE;IACTK,SAAS,EAAE,SAAS;IACpBC,cAAc,EAAE,UAAU;IAC1BC,KAAK,EAAE;EACT,CAAC;EACDL,MAAM,EAAE;IACNM,UAAU,EAAE,QAAQ;IACpBF,cAAc,EAAE,QAAQ;IACxBC,KAAK,EAAE,EAAE;IACTE,MAAM,EAAE,EAAE;IACVC,OAAO,EAAE,CAAC;IACVC,UAAU,EAAE,MAAM;IAClBC,WAAW,EAAE,MAAM;IACnBC,YAAY,EAAE;MAAEN,KAAK,EAAE,CAAC;MAAEE,MAAM,EAAE;IAAE,CAAC;IACrCK,aAAa,EAAE,IAAI;IACnBC,YAAY,EAAE,CAAC;IACfC,SAAS,EAAE,CAAC;IACZC,YAAY,EAAE,CAAC;IACfC,WAAW,EAAE,SAAS;IACtBC,WAAW,EAAE,GAAG;IAChBhB,eAAe,EAAE;EACnB;AACF,CAAC,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -53,10 +53,9 @@ export const MessageTextToSpeech = ({
|
|
|
53
53
|
|
|
54
54
|
const styles = StyleSheet.create({
|
|
55
55
|
container: {
|
|
56
|
-
alignSelf: '
|
|
56
|
+
alignSelf: 'stretch',
|
|
57
57
|
justifyContent: 'flex-end',
|
|
58
58
|
width: 45,
|
|
59
|
-
height: '100%',
|
|
60
59
|
},
|
|
61
60
|
button: {
|
|
62
61
|
alignItems: 'center',
|
|
@@ -22,7 +22,7 @@ type ChatbotProps = {
|
|
|
22
22
|
}
|
|
23
23
|
ButtonWrapper: ComponentType<PropsWithChildren>
|
|
24
24
|
renderer?: (props: ChatbotRenderer) => ReactNode
|
|
25
|
-
iconSize?: { width: number; height: number } // TODO:
|
|
25
|
+
iconSize?: { width: number; height: number } // TODO: use number instead
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
export const Chatbot = ({
|