@paymanai/payman-ask-sdk 1.2.13 → 1.2.15
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.mts +16 -5
- package/dist/index.d.ts +16 -5
- package/dist/index.js +30 -21
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +31 -22
- package/dist/index.mjs.map +1 -1
- package/dist/index.native.js +1 -12
- package/dist/index.native.js.map +1 -1
- package/dist/styles.css +6 -0
- package/dist/styles.css.map +1 -1
- package/package.json +2 -2
package/dist/index.native.js
CHANGED
|
@@ -118,7 +118,6 @@ function ChatInput({
|
|
|
118
118
|
transcribedText
|
|
119
119
|
}) {
|
|
120
120
|
const isInputDisabled = disabled || isWaitingForResponse;
|
|
121
|
-
const showPauseButton = isWaitingForResponse && onPause;
|
|
122
121
|
const showVoiceButton = enableVoice && onVoicePress != null;
|
|
123
122
|
const isVoiceButtonDisabled = isWaitingForResponse || !voiceAvailable || !isSessionParamsConfigured;
|
|
124
123
|
const canSend = !isInputDisabled && value.trim().length > 0;
|
|
@@ -304,17 +303,7 @@ function ChatInput({
|
|
|
304
303
|
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: s.iconBtnInner, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReactNative.Mic, { size: 22, color: "#6B7280", strokeWidth: 2 }) })
|
|
305
304
|
}
|
|
306
305
|
),
|
|
307
|
-
|
|
308
|
-
reactNative.Pressable,
|
|
309
|
-
{
|
|
310
|
-
onPress: onPause,
|
|
311
|
-
style: ({ pressed }) => [
|
|
312
|
-
s.sendBtn,
|
|
313
|
-
pressed && s.btnPressed
|
|
314
|
-
],
|
|
315
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: s.sendBtnInner, children: /* @__PURE__ */ jsxRuntime.jsx(lucideReactNative.Pause, { size: 18, color: "#FFFFFF" }) })
|
|
316
|
-
}
|
|
317
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
306
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
318
307
|
reactNative.Pressable,
|
|
319
308
|
{
|
|
320
309
|
onPress: onSend,
|