@openblah/react-native 0.1.0 → 0.2.0
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/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/mic-button.d.ts +13 -0
- package/dist/mic-button.js +106 -0
- package/dist/mic-button.js.map +1 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -11,3 +11,4 @@ export { shareInvite, type ShareInviteOptions, type ShareLike } from "./invite.j
|
|
|
11
11
|
export { connectMcpInApp, type ConnectMcpInAppOptions } from "./mcp.js";
|
|
12
12
|
export { OpenBlahRoom, type OpenBlahRoomProps } from "./room.js";
|
|
13
13
|
export { OpenBlahAddKeySheet, type OpenBlahAddKeySheetProps } from "./key-sheet.js";
|
|
14
|
+
export { OpenBlahMicButton, type OpenBlahMicButtonProps } from "./mic-button.js";
|
package/dist/index.js
CHANGED
|
@@ -11,4 +11,5 @@ export { shareInvite } from "./invite.js";
|
|
|
11
11
|
export { connectMcpInApp } from "./mcp.js";
|
|
12
12
|
export { OpenBlahRoom } from "./room.js";
|
|
13
13
|
export { OpenBlahAddKeySheet } from "./key-sheet.js";
|
|
14
|
+
export { OpenBlahMicButton } from "./mic-button.js";
|
|
14
15
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAyB,MAAM,YAAY,CAAC;AACtF,OAAO,EAAE,WAAW,EAA2C,MAAM,aAAa,CAAC;AACnF,OAAO,EAAE,eAAe,EAA+B,MAAM,UAAU,CAAC;AACxE,OAAO,EAAE,YAAY,EAA0B,MAAM,WAAW,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAiC,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAyB,MAAM,YAAY,CAAC;AACtF,OAAO,EAAE,WAAW,EAA2C,MAAM,aAAa,CAAC;AACnF,OAAO,EAAE,eAAe,EAA+B,MAAM,UAAU,CAAC;AACxE,OAAO,EAAE,YAAY,EAA0B,MAAM,WAAW,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAiC,MAAM,gBAAgB,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAA+B,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
2
|
+
import { type OpenBlahMicButtonBaseProps } from "@openblah/core/react";
|
|
3
|
+
/** Props of the React Native `<OpenBlahMicButton />`. @public */
|
|
4
|
+
export interface OpenBlahMicButtonProps extends OpenBlahMicButtonBaseProps {
|
|
5
|
+
style?: StyleProp<ViewStyle>;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Drop-in voice mic button for React Native. Same behaviour as the web component: tap to start,
|
|
9
|
+
* tap to end, one app-wide session, a halo for listening / thinking / speaking, a compact
|
|
10
|
+
* confirmation card for write actions. Needs an Expo dev build.
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export declare function OpenBlahMicButton(props: OpenBlahMicButtonProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useRef } from "react";
|
|
3
|
+
import { Animated, Pressable, Text, View } from "react-native";
|
|
4
|
+
import { micHaloColor, micLabel, resolveLabels, resolveTheme, useMicButton, } from "@openblah/core/react";
|
|
5
|
+
/**
|
|
6
|
+
* Drop-in voice mic button for React Native. Same behaviour as the web component: tap to start,
|
|
7
|
+
* tap to end, one app-wide session, a halo for listening / thinking / speaking, a compact
|
|
8
|
+
* confirmation card for write actions. Needs an Expo dev build.
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export function OpenBlahMicButton(props) {
|
|
12
|
+
const t = resolveTheme(props.theme);
|
|
13
|
+
const l = resolveLabels(props.labels);
|
|
14
|
+
const m = useMicButton(props);
|
|
15
|
+
const size = props.size ?? 56;
|
|
16
|
+
const halo = micHaloColor(m.state, t, props.haloColors);
|
|
17
|
+
const pending = props.hideConfirmation ? undefined : m.approvals.pending[0];
|
|
18
|
+
const pulse = useRef(new Animated.Value(0)).current;
|
|
19
|
+
const live = m.state === "listening" || m.state === "thinking" || m.state === "speaking";
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
if (!live) {
|
|
22
|
+
pulse.setValue(0);
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
const ms = m.state === "speaking" ? 450 : m.state === "thinking" ? 800 : 1200;
|
|
26
|
+
const loop = Animated.loop(Animated.sequence([
|
|
27
|
+
Animated.timing(pulse, { toValue: 1, duration: ms, useNativeDriver: true }),
|
|
28
|
+
Animated.timing(pulse, { toValue: 0, duration: ms, useNativeDriver: true }),
|
|
29
|
+
]));
|
|
30
|
+
loop.start();
|
|
31
|
+
return () => loop.stop();
|
|
32
|
+
}, [live, m.state, pulse]);
|
|
33
|
+
const ring = size + 12;
|
|
34
|
+
return (_jsxs(View, { style: [
|
|
35
|
+
{ width: ring, height: ring, alignItems: "center", justifyContent: "center" },
|
|
36
|
+
props.style,
|
|
37
|
+
], children: [halo && (_jsxs(_Fragment, { children: [_jsx(View, { pointerEvents: "none", style: {
|
|
38
|
+
position: "absolute",
|
|
39
|
+
width: size + 6,
|
|
40
|
+
height: size + 6,
|
|
41
|
+
borderRadius: (size + 6) / 2,
|
|
42
|
+
borderWidth: 3,
|
|
43
|
+
borderColor: halo,
|
|
44
|
+
} }), live && (_jsx(Animated.View, { pointerEvents: "none", style: {
|
|
45
|
+
position: "absolute",
|
|
46
|
+
width: ring,
|
|
47
|
+
height: ring,
|
|
48
|
+
borderRadius: ring / 2,
|
|
49
|
+
borderWidth: 2,
|
|
50
|
+
borderColor: halo,
|
|
51
|
+
opacity: pulse.interpolate({ inputRange: [0, 1], outputRange: [0.15, 0.7] }),
|
|
52
|
+
transform: [
|
|
53
|
+
{ scale: pulse.interpolate({ inputRange: [0, 1], outputRange: [0.94, 1.04] }) },
|
|
54
|
+
],
|
|
55
|
+
} }))] })), _jsx(Pressable, { accessibilityRole: "button", accessibilityLabel: m.active && m.state === "idle" ? l.micEnd : micLabel(m.state, l), accessibilityState: { selected: m.active, disabled: m.state === "connecting" }, disabled: m.state === "connecting", onPress: () => void m.toggle(), style: {
|
|
56
|
+
width: size,
|
|
57
|
+
height: size,
|
|
58
|
+
borderRadius: size / 2,
|
|
59
|
+
backgroundColor: t.accent,
|
|
60
|
+
alignItems: "center",
|
|
61
|
+
justifyContent: "center",
|
|
62
|
+
opacity: m.state === "connecting" ? 0.6 : 1,
|
|
63
|
+
}, children: _jsxs(View, { style: { alignItems: "center" }, children: [_jsx(View, { style: {
|
|
64
|
+
width: size * 0.2,
|
|
65
|
+
height: size * 0.32,
|
|
66
|
+
borderRadius: size * 0.1,
|
|
67
|
+
backgroundColor: t.accentText,
|
|
68
|
+
} }), _jsx(View, { style: {
|
|
69
|
+
width: size * 0.34,
|
|
70
|
+
height: size * 0.17,
|
|
71
|
+
marginTop: -size * 0.06,
|
|
72
|
+
borderBottomLeftRadius: size * 0.17,
|
|
73
|
+
borderBottomRightRadius: size * 0.17,
|
|
74
|
+
borderWidth: 2,
|
|
75
|
+
borderTopWidth: 0,
|
|
76
|
+
borderColor: t.accentText,
|
|
77
|
+
} }), _jsx(View, { style: { width: 2, height: size * 0.07, backgroundColor: t.accentText } })] }) }), pending &&
|
|
78
|
+
(props.renderConfirmation ? (props.renderConfirmation({
|
|
79
|
+
id: pending.id,
|
|
80
|
+
summary: pending.summary,
|
|
81
|
+
approve: () => void m.approvals.approve(pending.id),
|
|
82
|
+
decline: () => void m.approvals.decline(pending.id),
|
|
83
|
+
})) : (_jsxs(View, { accessibilityRole: "alert", style: {
|
|
84
|
+
position: "absolute",
|
|
85
|
+
bottom: ring + t.spacing,
|
|
86
|
+
width: 240,
|
|
87
|
+
backgroundColor: t.surface,
|
|
88
|
+
borderColor: t.border,
|
|
89
|
+
borderWidth: 1,
|
|
90
|
+
borderRadius: t.radius,
|
|
91
|
+
padding: t.spacing,
|
|
92
|
+
gap: t.spacing,
|
|
93
|
+
}, children: [_jsx(Text, { style: { color: t.text, fontSize: t.fontSize * 0.875 }, children: pending.summary }), _jsxs(View, { style: { flexDirection: "row", gap: t.spacing }, children: [_jsx(Pressable, { accessibilityRole: "button", onPress: () => void m.approvals.approve(pending.id), style: {
|
|
94
|
+
backgroundColor: t.accent,
|
|
95
|
+
borderRadius: t.radius,
|
|
96
|
+
paddingVertical: t.spacing / 2,
|
|
97
|
+
paddingHorizontal: t.spacing,
|
|
98
|
+
}, children: _jsx(Text, { style: { color: t.accentText }, children: l.confirmYes }) }), _jsx(Pressable, { accessibilityRole: "button", onPress: () => void m.approvals.decline(pending.id), style: {
|
|
99
|
+
borderColor: t.border,
|
|
100
|
+
borderWidth: 1,
|
|
101
|
+
borderRadius: t.radius,
|
|
102
|
+
paddingVertical: t.spacing / 2,
|
|
103
|
+
paddingHorizontal: t.spacing,
|
|
104
|
+
}, children: _jsx(Text, { style: { color: t.text }, children: l.confirmNo }) })] })] })))] }));
|
|
105
|
+
}
|
|
106
|
+
//# sourceMappingURL=mic-button.js.map
|
|
@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S,IACR,iBAAiB,EAAC,QAAQ,EAC1B,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,EACnD,KAAK,EAAE;wCACL,WAAW,EAAE,CAAC,CAAC,MAAM;wCACrB,WAAW,EAAE,CAAC;wCACd,YAAY,EAAE,CAAC,CAAC,MAAM;wCACtB,eAAe,EAAE,CAAC,CAAC,OAAO,GAAG,CAAC;wCAC9B,iBAAiB,EAAE,CAAC,CAAC,OAAO;qCAC7B,YAED,KAAC,IAAI,IAAC,KAAK,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,IAAI,EAAE,YAAG,CAAC,CAAC,SAAS,GAAQ,GAC1C,IACP,IACF,CACR,CAAC,IACC,CACR,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openblah/react-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "OpenBlah React Native SDK (0.x, unstable): LiveKit voice rooms with an AI agent, for Expo dev builds (not Expo Go).",
|
|
6
6
|
"publishConfig": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@config-plugins/react-native-webrtc": "^15.0.2",
|
|
20
20
|
"@livekit/react-native-expo-plugin": "^1.1.0",
|
|
21
|
-
"@openblah/core": "^0.
|
|
21
|
+
"@openblah/core": "^0.2.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@expo/config-plugins": "^58.0.0",
|