@magmamath/students-features 1.3.23-rc.17 → 1.3.23-rc.18
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/voice/playing/components/VoiceTranscriptionHeaderActions.js +3 -2
- package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionHeaderActions.js.map +1 -1
- package/dist/module/features/voice/playing/components/VoiceTranscriptionHeaderActions.js +3 -2
- package/dist/module/features/voice/playing/components/VoiceTranscriptionHeaderActions.js.map +1 -1
- package/dist/typescript/commonjs/features/voice/playing/components/VoiceTranscriptionHeaderActions.d.ts.map +1 -1
- package/dist/typescript/module/features/voice/playing/components/VoiceTranscriptionHeaderActions.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/features/voice/playing/components/VoiceTranscriptionHeaderActions.tsx +2 -1
|
@@ -30,11 +30,12 @@ const VoiceTranscriptionHeaderActions = ({
|
|
|
30
30
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_PlayButton.PlayButton, {
|
|
31
31
|
state: playButtonState,
|
|
32
32
|
onPress: onPlayPress,
|
|
33
|
-
activityIndicatorColor: _reactNativeUi.COLORS.NEUTRAL_1
|
|
33
|
+
activityIndicatorColor: _reactNativeUi.COLORS.NEUTRAL_1,
|
|
34
|
+
colorScheme: _styleTypes.ColorScheme.Yellow
|
|
34
35
|
}), canTranslate && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.Button, {
|
|
35
36
|
variant: "secondary",
|
|
36
37
|
size: "small",
|
|
37
|
-
colorScheme: _styleTypes.ColorScheme.
|
|
38
|
+
colorScheme: _styleTypes.ColorScheme.Yellow,
|
|
38
39
|
isActive: isTranslationActive,
|
|
39
40
|
onPress: onTranslationPress,
|
|
40
41
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeUi.GlobeIcon, {
|
package/dist/commonjs/features/voice/playing/components/VoiceTranscriptionHeaderActions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeUi","require","_react","_interopRequireDefault","_reactNative","_styleTypes","_PlayButton","_index","_helpers","_jsxRuntime","e","__esModule","default","VoiceTranscriptionHeaderActions","playerState","isTranslationActive","canTranslate","onPlayPress","onTranslationPress","playButtonState","isActive","PlayerState","IDLE","isLoading","LOADING","status","getAudioStatus","jsxs","View","style","styles","container","children","jsx","PlayButton","state","onPress","activityIndicatorColor","COLORS","NEUTRAL_1","
|
|
1
|
+
{"version":3,"names":["_reactNativeUi","require","_react","_interopRequireDefault","_reactNative","_styleTypes","_PlayButton","_index","_helpers","_jsxRuntime","e","__esModule","default","VoiceTranscriptionHeaderActions","playerState","isTranslationActive","canTranslate","onPlayPress","onTranslationPress","playButtonState","isActive","PlayerState","IDLE","isLoading","LOADING","status","getAudioStatus","jsxs","View","style","styles","container","children","jsx","PlayButton","state","onPress","activityIndicatorColor","COLORS","NEUTRAL_1","colorScheme","ColorScheme","Yellow","Button","variant","size","icon","GlobeIcon","color","NEUTRAL_9","exports","StyleSheet","create","flexDirection","alignItems","gap","SPACING","hidden","opacity"],"sourceRoot":"../../../../../../src","sources":["features/voice/playing/components/VoiceTranscriptionHeaderActions.tsx"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,QAAA,GAAAP,OAAA;AAA8C,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAE,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAUvC,MAAMG,+BAA+B,GAAGA,CAAC;EAC9CC,WAAW;EACXC,mBAAmB;EACnBC,YAAY;EACZC,WAA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NC,OAAO,EAAE;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -25,11 +25,12 @@ export const VoiceTranscriptionHeaderActions = ({
|
|
|
25
25
|
children: [/*#__PURE__*/_jsx(PlayButton, {
|
|
26
26
|
state: playButtonState,
|
|
27
27
|
onPress: onPlayPress,
|
|
28
|
-
activityIndicatorColor: COLORS.NEUTRAL_1
|
|
28
|
+
activityIndicatorColor: COLORS.NEUTRAL_1,
|
|
29
|
+
colorScheme: ColorScheme.Yellow
|
|
29
30
|
}), canTranslate && /*#__PURE__*/_jsx(Button, {
|
|
30
31
|
variant: "secondary",
|
|
31
32
|
size: "small",
|
|
32
|
-
colorScheme: ColorScheme.
|
|
33
|
+
colorScheme: ColorScheme.Yellow,
|
|
33
34
|
isActive: isTranslationActive,
|
|
34
35
|
onPress: onTranslationPress,
|
|
35
36
|
icon: /*#__PURE__*/_jsx(GlobeIcon, {
|
package/dist/module/features/voice/playing/components/VoiceTranscriptionHeaderActions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Button","COLORS","GlobeIcon","SPACING","React","StyleSheet","View","ColorScheme","PlayButton","PlayerState","getAudioStatus","jsx","_jsx","jsxs","_jsxs","VoiceTranscriptionHeaderActions","playerState","isTranslationActive","canTranslate","onPlayPress","onTranslationPress","playButtonState","isActive","IDLE","isLoading","LOADING","status","style","styles","container","children","state","onPress","activityIndicatorColor","NEUTRAL_1","
|
|
1
|
+
{"version":3,"names":["Button","COLORS","GlobeIcon","SPACING","React","StyleSheet","View","ColorScheme","PlayButton","PlayerState","getAudioStatus","jsx","_jsx","jsxs","_jsxs","VoiceTranscriptionHeaderActions","playerState","isTranslationActive","canTranslate","onPlayPress","onTranslationPress","playButtonState","isActive","IDLE","isLoading","LOADING","status","style","styles","container","children","state","onPress","activityIndicatorColor","NEUTRAL_1","colorScheme","Yellow","variant","size","icon","color","NEUTRAL_9","create","flexDirection","alignItems","gap","hidden","opacity"],"sourceRoot":"../../../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B,GAAGhB,MAAM,CAACiC,SAAS,GAAGjC,MAAM,CAACwC;MAAU,CAAE;IAAE,CACvF,CACF;EAAA,CACG,CAAC;AAEX,CAAC;AAED,MAAMb,MAAM,GAAGvB,UAAU,CAACqC,MAAM,CAAC;EAC/Bb,SAAS,EAAE;IACTc,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,GAAG,EAAE1C,OAAO,CAAC,GAAG;EAClB,CAAC;EACD2C,MAAM,EAAE;IACNC,OAAO,EAAE;EACX;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VoiceTranscriptionHeaderActions.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/voice/playing/components/VoiceTranscriptionHeaderActions.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAGtC,KAAK,qCAAqC,GAAG;IAC3C,WAAW,EAAE,WAAW,CAAA;IACxB,mBAAmB,EAAE,OAAO,CAAA;IAC5B,YAAY,EAAE,OAAO,CAAA;IACrB,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,kBAAkB,EAAE,MAAM,IAAI,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,+BAA+B,yFAMzC,qCAAqC,
|
|
1
|
+
{"version":3,"file":"VoiceTranscriptionHeaderActions.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/voice/playing/components/VoiceTranscriptionHeaderActions.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAGtC,KAAK,qCAAqC,GAAG;IAC3C,WAAW,EAAE,WAAW,CAAA;IACxB,mBAAmB,EAAE,OAAO,CAAA;IAC5B,YAAY,EAAE,OAAO,CAAA;IACrB,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,kBAAkB,EAAE,MAAM,IAAI,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,+BAA+B,yFAMzC,qCAAqC,sBA2BvC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VoiceTranscriptionHeaderActions.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/voice/playing/components/VoiceTranscriptionHeaderActions.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAGtC,KAAK,qCAAqC,GAAG;IAC3C,WAAW,EAAE,WAAW,CAAA;IACxB,mBAAmB,EAAE,OAAO,CAAA;IAC5B,YAAY,EAAE,OAAO,CAAA;IACrB,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,kBAAkB,EAAE,MAAM,IAAI,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,+BAA+B,yFAMzC,qCAAqC,
|
|
1
|
+
{"version":3,"file":"VoiceTranscriptionHeaderActions.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/voice/playing/components/VoiceTranscriptionHeaderActions.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAGtC,KAAK,qCAAqC,GAAG;IAC3C,WAAW,EAAE,WAAW,CAAA;IACxB,mBAAmB,EAAE,OAAO,CAAA;IAC5B,YAAY,EAAE,OAAO,CAAA;IACrB,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,kBAAkB,EAAE,MAAM,IAAI,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,+BAA+B,yFAMzC,qCAAqC,sBA2BvC,CAAA"}
|
package/package.json
CHANGED
|
@@ -33,12 +33,13 @@ export const VoiceTranscriptionHeaderActions = ({
|
|
|
33
33
|
state={playButtonState}
|
|
34
34
|
onPress={onPlayPress}
|
|
35
35
|
activityIndicatorColor={COLORS.NEUTRAL_1}
|
|
36
|
+
colorScheme={ColorScheme.Yellow}
|
|
36
37
|
/>
|
|
37
38
|
{canTranslate && (
|
|
38
39
|
<Button
|
|
39
40
|
variant="secondary"
|
|
40
41
|
size="small"
|
|
41
|
-
colorScheme={ColorScheme.
|
|
42
|
+
colorScheme={ColorScheme.Yellow}
|
|
42
43
|
isActive={isTranslationActive}
|
|
43
44
|
onPress={onTranslationPress}
|
|
44
45
|
icon={<GlobeIcon color={isTranslationActive ? COLORS.NEUTRAL_1 : COLORS.NEUTRAL_9} />}
|