@assistant-ui/react-native 0.1.43 → 0.1.44
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/context/AssistantContext.d.ts +2 -2
- package/dist/context/AssistantContext.d.ts.map +1 -0
- package/dist/context/providers/AttachmentByIndexProvider.d.ts +2 -2
- package/dist/context/providers/AttachmentByIndexProvider.d.ts.map +1 -0
- package/dist/context/providers/RuntimeAdapterProvider.d.ts +2 -2
- package/dist/context/providers/RuntimeAdapterProvider.d.ts.map +1 -0
- package/dist/context/providers/ThreadListItemRuntimeProvider.d.ts +2 -2
- package/dist/context/providers/ThreadListItemRuntimeProvider.d.ts.map +1 -0
- package/dist/index.d.ts +54 -23
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -4
- package/dist/internal.d.ts +4 -3
- package/dist/internal.d.ts.map +1 -0
- package/dist/primitives/actionBar/ActionBarCopy.d.ts +7 -9
- package/dist/primitives/actionBar/ActionBarCopy.d.ts.map +1 -1
- package/dist/primitives/actionBar/ActionBarEdit.d.ts +5 -7
- package/dist/primitives/actionBar/ActionBarEdit.d.ts.map +1 -1
- package/dist/primitives/actionBar/ActionBarFeedbackNegative.d.ts +6 -8
- package/dist/primitives/actionBar/ActionBarFeedbackNegative.d.ts.map +1 -1
- package/dist/primitives/actionBar/ActionBarFeedbackNegative.js +28 -20
- package/dist/primitives/actionBar/ActionBarFeedbackNegative.js.map +1 -1
- package/dist/primitives/actionBar/ActionBarFeedbackPositive.d.ts +6 -8
- package/dist/primitives/actionBar/ActionBarFeedbackPositive.d.ts.map +1 -1
- package/dist/primitives/actionBar/ActionBarFeedbackPositive.js +28 -20
- package/dist/primitives/actionBar/ActionBarFeedbackPositive.js.map +1 -1
- package/dist/primitives/actionBar/ActionBarReload.d.ts +5 -7
- package/dist/primitives/actionBar/ActionBarReload.d.ts.map +1 -1
- package/dist/primitives/actionBar/ActionBarSpeak.d.ts +7 -9
- package/dist/primitives/actionBar/ActionBarSpeak.d.ts.map +1 -1
- package/dist/primitives/actionBar/ActionBarStopSpeaking.d.ts +7 -9
- package/dist/primitives/actionBar/ActionBarStopSpeaking.d.ts.map +1 -1
- package/dist/primitives/actionBar.d.ts +7 -12
- package/dist/primitives/actionBar.d.ts.map +1 -1
- package/dist/primitives/attachment/AttachmentName.d.ts +2 -4
- package/dist/primitives/attachment/AttachmentName.d.ts.map +1 -1
- package/dist/primitives/attachment/AttachmentRemove.d.ts +2 -4
- package/dist/primitives/attachment/AttachmentRemove.d.ts.map +1 -1
- package/dist/primitives/attachment/AttachmentRoot.d.ts +3 -5
- package/dist/primitives/attachment/AttachmentRoot.d.ts.map +1 -1
- package/dist/primitives/attachment/AttachmentThumb.d.ts +2 -4
- package/dist/primitives/attachment/AttachmentThumb.d.ts.map +1 -1
- package/dist/primitives/attachment.d.ts +4 -9
- package/dist/primitives/attachment.d.ts.map +1 -1
- package/dist/primitives/branchPicker/BranchPickerCount.d.ts +1 -3
- package/dist/primitives/branchPicker/BranchPickerCount.d.ts.map +1 -1
- package/dist/primitives/branchPicker/BranchPickerNext.d.ts +5 -7
- package/dist/primitives/branchPicker/BranchPickerNext.d.ts.map +1 -1
- package/dist/primitives/branchPicker/BranchPickerNumber.d.ts +1 -3
- package/dist/primitives/branchPicker/BranchPickerNumber.d.ts.map +1 -1
- package/dist/primitives/branchPicker/BranchPickerPrevious.d.ts +5 -7
- package/dist/primitives/branchPicker/BranchPickerPrevious.d.ts.map +1 -1
- package/dist/primitives/branchPicker.d.ts +4 -9
- package/dist/primitives/branchPicker.d.ts.map +1 -1
- package/dist/primitives/chainOfThought/ChainOfThoughtAccordionTrigger.d.ts +2 -4
- package/dist/primitives/chainOfThought/ChainOfThoughtAccordionTrigger.d.ts.map +1 -1
- package/dist/primitives/chainOfThought/ChainOfThoughtRoot.d.ts +3 -5
- package/dist/primitives/chainOfThought/ChainOfThoughtRoot.d.ts.map +1 -1
- package/dist/primitives/chainOfThought.d.ts +3 -8
- package/dist/primitives/chainOfThought.d.ts.map +1 -1
- package/dist/primitives/composer/ComposerAddAttachment.d.ts +2 -4
- package/dist/primitives/composer/ComposerAddAttachment.d.ts.map +1 -1
- package/dist/primitives/composer/ComposerAttachments.d.ts +1 -3
- package/dist/primitives/composer/ComposerAttachments.d.ts.map +1 -1
- package/dist/primitives/composer/ComposerCancel.d.ts +2 -4
- package/dist/primitives/composer/ComposerCancel.d.ts.map +1 -1
- package/dist/primitives/composer/ComposerIf.d.ts +2 -2
- package/dist/primitives/composer/ComposerIf.d.ts.map +1 -0
- package/dist/primitives/composer/ComposerInput.d.ts +8 -10
- package/dist/primitives/composer/ComposerInput.d.ts.map +1 -1
- package/dist/primitives/composer/ComposerInput.js +1 -1
- package/dist/primitives/composer/ComposerInput.js.map +1 -1
- package/dist/primitives/composer/ComposerQueue.d.ts +2 -2
- package/dist/primitives/composer/ComposerQueue.d.ts.map +1 -0
- package/dist/primitives/composer/ComposerQuote.d.ts +3 -5
- package/dist/primitives/composer/ComposerQuote.d.ts.map +1 -1
- package/dist/primitives/composer/ComposerQuoteDismiss.d.ts +2 -4
- package/dist/primitives/composer/ComposerQuoteDismiss.d.ts.map +1 -1
- package/dist/primitives/composer/ComposerQuoteText.d.ts +3 -5
- package/dist/primitives/composer/ComposerQuoteText.d.ts.map +1 -1
- package/dist/primitives/composer/ComposerRoot.d.ts +3 -5
- package/dist/primitives/composer/ComposerRoot.d.ts.map +1 -1
- package/dist/primitives/composer/ComposerSend.d.ts +2 -4
- package/dist/primitives/composer/ComposerSend.d.ts.map +1 -1
- package/dist/primitives/composer.d.ts +11 -16
- package/dist/primitives/composer.d.ts.map +1 -1
- package/dist/primitives/error/ErrorMessage.d.ts +5 -7
- package/dist/primitives/error/ErrorMessage.d.ts.map +1 -1
- package/dist/primitives/error/ErrorRoot.d.ts +5 -7
- package/dist/primitives/error/ErrorRoot.d.ts.map +1 -1
- package/dist/primitives/error/index.d.ts +2 -7
- package/dist/primitives/error/index.d.ts.map +1 -1
- package/dist/primitives/message/MessageAttachments.d.ts +1 -3
- package/dist/primitives/message/MessageAttachments.d.ts.map +1 -1
- package/dist/primitives/message/MessageContent.d.ts +46 -47
- package/dist/primitives/message/MessageContent.d.ts.map +1 -1
- package/dist/primitives/message/MessageContent.js +27 -21
- package/dist/primitives/message/MessageContent.js.map +1 -1
- package/dist/primitives/message/MessageIf.d.ts +7 -9
- package/dist/primitives/message/MessageIf.d.ts.map +1 -1
- package/dist/primitives/message/MessageParts.d.ts +4 -6
- package/dist/primitives/message/MessageParts.d.ts.map +1 -1
- package/dist/primitives/message/MessageRoot.d.ts +3 -5
- package/dist/primitives/message/MessageRoot.d.ts.map +1 -1
- package/dist/primitives/message.d.ts +6 -11
- package/dist/primitives/message.d.ts.map +1 -1
- package/dist/primitives/messagePart/MessagePartImage.d.ts +4 -6
- package/dist/primitives/messagePart/MessagePartImage.d.ts.map +1 -1
- package/dist/primitives/messagePart/MessagePartInProgress.d.ts +2 -2
- package/dist/primitives/messagePart/MessagePartInProgress.d.ts.map +1 -0
- package/dist/primitives/messagePart/MessagePartText.d.ts +4 -6
- package/dist/primitives/messagePart/MessagePartText.d.ts.map +1 -1
- package/dist/primitives/messagePart.d.ts +4 -9
- package/dist/primitives/messagePart.d.ts.map +1 -1
- package/dist/primitives/queueItem/QueueItemRemove.d.ts +2 -4
- package/dist/primitives/queueItem/QueueItemRemove.d.ts.map +1 -1
- package/dist/primitives/queueItem/QueueItemSteer.d.ts +2 -4
- package/dist/primitives/queueItem/QueueItemSteer.d.ts.map +1 -1
- package/dist/primitives/queueItem/QueueItemText.d.ts +3 -5
- package/dist/primitives/queueItem/QueueItemText.d.ts.map +1 -1
- package/dist/primitives/queueItem.d.ts +3 -8
- package/dist/primitives/queueItem.d.ts.map +1 -1
- package/dist/primitives/suggestion/SuggestionDescription.d.ts +3 -5
- package/dist/primitives/suggestion/SuggestionDescription.d.ts.map +1 -1
- package/dist/primitives/suggestion/SuggestionTitle.d.ts +3 -5
- package/dist/primitives/suggestion/SuggestionTitle.d.ts.map +1 -1
- package/dist/primitives/suggestion/SuggestionTrigger.d.ts +13 -15
- package/dist/primitives/suggestion/SuggestionTrigger.d.ts.map +1 -1
- package/dist/primitives/suggestion/SuggestionTrigger.js +1 -1
- package/dist/primitives/suggestion.d.ts +3 -8
- package/dist/primitives/suggestion.d.ts.map +1 -1
- package/dist/primitives/thread/ThreadEmpty.d.ts +2 -4
- package/dist/primitives/thread/ThreadEmpty.d.ts.map +1 -1
- package/dist/primitives/thread/ThreadIf.d.ts +4 -6
- package/dist/primitives/thread/ThreadIf.d.ts.map +1 -1
- package/dist/primitives/thread/ThreadMessages.d.ts +37 -37
- package/dist/primitives/thread/ThreadMessages.d.ts.map +1 -1
- package/dist/primitives/thread/ThreadMessages.js +70 -58
- package/dist/primitives/thread/ThreadMessages.js.map +1 -1
- package/dist/primitives/thread/ThreadRoot.d.ts +3 -5
- package/dist/primitives/thread/ThreadRoot.d.ts.map +1 -1
- package/dist/primitives/thread/ThreadSuggestion.d.ts +15 -17
- package/dist/primitives/thread/ThreadSuggestion.d.ts.map +1 -1
- package/dist/primitives/thread.d.ts +8 -11
- package/dist/primitives/thread.d.ts.map +1 -1
- package/dist/primitives/threadList/ThreadListItems.d.ts +6 -8
- package/dist/primitives/threadList/ThreadListItems.d.ts.map +1 -1
- package/dist/primitives/threadList/ThreadListItems.js +1 -1
- package/dist/primitives/threadList/ThreadListNew.d.ts +5 -7
- package/dist/primitives/threadList/ThreadListNew.d.ts.map +1 -1
- package/dist/primitives/threadList/ThreadListNew.js +21 -17
- package/dist/primitives/threadList/ThreadListNew.js.map +1 -1
- package/dist/primitives/threadList/ThreadListRoot.d.ts +3 -5
- package/dist/primitives/threadList/ThreadListRoot.d.ts.map +1 -1
- package/dist/primitives/threadList.d.ts +3 -8
- package/dist/primitives/threadList.d.ts.map +1 -1
- package/dist/primitives/threadListItem/ThreadListItemArchive.d.ts +2 -4
- package/dist/primitives/threadListItem/ThreadListItemArchive.d.ts.map +1 -1
- package/dist/primitives/threadListItem/ThreadListItemDelete.d.ts +2 -4
- package/dist/primitives/threadListItem/ThreadListItemDelete.d.ts.map +1 -1
- package/dist/primitives/threadListItem/ThreadListItemRoot.d.ts +3 -5
- package/dist/primitives/threadListItem/ThreadListItemRoot.d.ts.map +1 -1
- package/dist/primitives/threadListItem/ThreadListItemTrigger.d.ts +5 -7
- package/dist/primitives/threadListItem/ThreadListItemTrigger.d.ts.map +1 -1
- package/dist/primitives/threadListItem/ThreadListItemTrigger.js +21 -17
- package/dist/primitives/threadListItem/ThreadListItemTrigger.js.map +1 -1
- package/dist/primitives/threadListItem/ThreadListItemUnarchive.d.ts +2 -4
- package/dist/primitives/threadListItem/ThreadListItemUnarchive.d.ts.map +1 -1
- package/dist/primitives/threadListItem.d.ts +6 -11
- package/dist/primitives/threadListItem.d.ts.map +1 -1
- package/dist/runtimes/useLocalRuntime.d.ts +2 -2
- package/dist/runtimes/useLocalRuntime.d.ts.map +1 -0
- package/dist/runtimes/useRemoteThreadListRuntime.d.ts +2 -2
- package/dist/runtimes/useRemoteThreadListRuntime.d.ts.map +1 -0
- package/package.json +7 -7
- package/src/index.ts +90 -1
- package/src/primitives/actionBar/ActionBar.test.tsx +76 -0
- package/src/primitives/actionBar/ActionBarFeedbackNegative.tsx +4 -1
- package/src/primitives/actionBar/ActionBarFeedbackPositive.tsx +4 -1
- package/src/primitives/composer/ComposerInput.test.tsx +17 -1
- package/src/primitives/composer/ComposerInput.tsx +6 -1
- package/src/primitives/message/MessageContent.test.tsx +64 -3
- package/src/primitives/message/MessageContent.tsx +5 -3
- package/src/primitives/thread/ThreadMessages.test.tsx +111 -5
- package/src/primitives/thread/ThreadMessages.tsx +41 -11
- package/src/primitives/threadList/ThreadListNew.test.tsx +35 -8
- package/src/primitives/threadList/ThreadListNew.tsx +4 -1
- package/src/primitives/threadListItem/ThreadListItemTrigger.test.tsx +32 -6
- package/src/primitives/threadListItem/ThreadListItemTrigger.tsx +4 -1
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
declare namespace actionBar_d_exports {
|
|
9
|
-
export { ActionBarCopy as Copy, ActionBarCopyProps as CopyProps, ActionBarEdit as Edit, ActionBarEditProps as EditProps, ActionBarFeedbackNegative as FeedbackNegative, ActionBarFeedbackNegativeProps as FeedbackNegativeProps, ActionBarFeedbackPositive as FeedbackPositive, ActionBarFeedbackPositiveProps as FeedbackPositiveProps, ActionBarReload as Reload, ActionBarReloadProps as ReloadProps, ActionBarSpeak as Speak, ActionBarSpeakProps as SpeakProps, ActionBarStopSpeaking as StopSpeaking, ActionBarStopSpeakingProps as StopSpeakingProps };
|
|
10
|
-
}
|
|
11
|
-
//#endregion
|
|
12
|
-
export { ActionBarCopy as Copy, type ActionBarCopyProps as CopyProps, ActionBarEdit as Edit, type ActionBarEditProps as EditProps, ActionBarFeedbackNegative as FeedbackNegative, type ActionBarFeedbackNegativeProps as FeedbackNegativeProps, ActionBarFeedbackPositive as FeedbackPositive, type ActionBarFeedbackPositiveProps as FeedbackPositiveProps, ActionBarReload as Reload, type ActionBarReloadProps as ReloadProps, ActionBarSpeak as Speak, type ActionBarSpeakProps as SpeakProps, ActionBarStopSpeaking as StopSpeaking, type ActionBarStopSpeakingProps as StopSpeakingProps, actionBar_d_exports };
|
|
1
|
+
export { ActionBarCopy as Copy, type ActionBarCopyProps as CopyProps, } from "./actionBar/ActionBarCopy.js";
|
|
2
|
+
export { ActionBarEdit as Edit, type ActionBarEditProps as EditProps, } from "./actionBar/ActionBarEdit.js";
|
|
3
|
+
export { ActionBarReload as Reload, type ActionBarReloadProps as ReloadProps, } from "./actionBar/ActionBarReload.js";
|
|
4
|
+
export { ActionBarSpeak as Speak, type ActionBarSpeakProps as SpeakProps, } from "./actionBar/ActionBarSpeak.js";
|
|
5
|
+
export { ActionBarStopSpeaking as StopSpeaking, type ActionBarStopSpeakingProps as StopSpeakingProps, } from "./actionBar/ActionBarStopSpeaking.js";
|
|
6
|
+
export { ActionBarFeedbackPositive as FeedbackPositive, type ActionBarFeedbackPositiveProps as FeedbackPositiveProps, } from "./actionBar/ActionBarFeedbackPositive.js";
|
|
7
|
+
export { ActionBarFeedbackNegative as FeedbackNegative, type ActionBarFeedbackNegativeProps as FeedbackNegativeProps, } from "./actionBar/ActionBarFeedbackNegative.js";
|
|
13
8
|
//# sourceMappingURL=actionBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionBar.d.ts","
|
|
1
|
+
{"version":3,"file":"actionBar.d.ts","sourceRoot":"","sources":["../../src/primitives/actionBar.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,IAAI,IAAI,EACrB,KAAK,kBAAkB,IAAI,SAAS,GACrC,qCAAkC;AACnC,OAAO,EACL,aAAa,IAAI,IAAI,EACrB,KAAK,kBAAkB,IAAI,SAAS,GACrC,qCAAkC;AACnC,OAAO,EACL,eAAe,IAAI,MAAM,EACzB,KAAK,oBAAoB,IAAI,WAAW,GACzC,uCAAoC;AACrC,OAAO,EACL,cAAc,IAAI,KAAK,EACvB,KAAK,mBAAmB,IAAI,UAAU,GACvC,sCAAmC;AACpC,OAAO,EACL,qBAAqB,IAAI,YAAY,EACrC,KAAK,0BAA0B,IAAI,iBAAiB,GACrD,6CAA0C;AAC3C,OAAO,EACL,yBAAyB,IAAI,gBAAgB,EAC7C,KAAK,8BAA8B,IAAI,qBAAqB,GAC7D,iDAA8C;AAC/C,OAAO,EACL,yBAAyB,IAAI,gBAAgB,EAC7C,KAAK,8BAA8B,IAAI,qBAAqB,GAC7D,iDAA8C"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
//#region src/primitives/attachment/AttachmentName.d.ts
|
|
1
|
+
import type { FC } from "react";
|
|
2
|
+
import { type TextProps } from "react-native";
|
|
4
3
|
export type AttachmentNameProps = TextProps;
|
|
5
4
|
export declare const AttachmentName: FC<AttachmentNameProps>;
|
|
6
|
-
//#endregion
|
|
7
5
|
//# sourceMappingURL=AttachmentName.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentName.d.ts","
|
|
1
|
+
{"version":3,"file":"AttachmentName.d.ts","sourceRoot":"","sources":["../../../src/primitives/attachment/AttachmentName.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC;AAE5C,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAGlD,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { PressableProps } from "react-native";
|
|
2
|
-
//#region src/primitives/attachment/AttachmentRemove.d.ts
|
|
1
|
+
import { type PressableProps } from "react-native";
|
|
3
2
|
export type AttachmentRemoveProps = Omit<PressableProps, "onPress" | "children"> & {
|
|
4
|
-
|
|
3
|
+
children: PressableProps["children"];
|
|
5
4
|
};
|
|
6
5
|
export declare const AttachmentRemove: ({ children, ...pressableProps }: AttachmentRemoveProps) => import("react").JSX.Element;
|
|
7
|
-
//#endregion
|
|
8
6
|
//# sourceMappingURL=AttachmentRemove.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentRemove.d.ts","
|
|
1
|
+
{"version":3,"file":"AttachmentRemove.d.ts","sourceRoot":"","sources":["../../../src/primitives/attachment/AttachmentRemove.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAI9D,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,cAAc,EACd,SAAS,GAAG,UAAU,CACvB,GAAG;IACF,QAAQ,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,iCAG9B,qBAAqB,gCAgBvB,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
//#region src/primitives/attachment/AttachmentRoot.d.ts
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type ViewProps } from "react-native";
|
|
4
3
|
export type AttachmentRootProps = ViewProps & {
|
|
5
|
-
|
|
4
|
+
children: ReactNode;
|
|
6
5
|
};
|
|
7
6
|
export declare const AttachmentRoot: ({ children, ...viewProps }: AttachmentRootProps) => import("react").JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
7
|
//# sourceMappingURL=AttachmentRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentRoot.d.ts","
|
|
1
|
+
{"version":3,"file":"AttachmentRoot.d.ts","sourceRoot":"","sources":["../../../src/primitives/attachment/AttachmentRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG;IAC5C,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,4BAG5B,mBAAmB,gCAErB,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
//#region src/primitives/attachment/AttachmentThumb.d.ts
|
|
1
|
+
import type { FC } from "react";
|
|
2
|
+
import { type TextProps } from "react-native";
|
|
4
3
|
export type AttachmentThumbProps = TextProps;
|
|
5
4
|
export declare const AttachmentThumb: FC<AttachmentThumbProps>;
|
|
6
|
-
//#endregion
|
|
7
5
|
//# sourceMappingURL=AttachmentThumb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentThumb.d.ts","
|
|
1
|
+
{"version":3,"file":"AttachmentThumb.d.ts","sourceRoot":"","sources":["../../../src/primitives/attachment/AttachmentThumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC;AAE7C,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAapD,CAAC"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare namespace attachment_d_exports {
|
|
6
|
-
export { AttachmentName as Name, AttachmentNameProps as NameProps, AttachmentRemove as Remove, AttachmentRemoveProps as RemoveProps, AttachmentRoot as Root, AttachmentRootProps as RootProps, AttachmentThumb as Thumb, AttachmentThumbProps as ThumbProps };
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
export { AttachmentName as Name, type AttachmentNameProps as NameProps, AttachmentRemove as Remove, type AttachmentRemoveProps as RemoveProps, AttachmentRoot as Root, type AttachmentRootProps as RootProps, AttachmentThumb as Thumb, type AttachmentThumbProps as ThumbProps, attachment_d_exports };
|
|
1
|
+
export { AttachmentRoot as Root, type AttachmentRootProps as RootProps, } from "./attachment/AttachmentRoot.js";
|
|
2
|
+
export { AttachmentName as Name, type AttachmentNameProps as NameProps, } from "./attachment/AttachmentName.js";
|
|
3
|
+
export { AttachmentThumb as Thumb, type AttachmentThumbProps as ThumbProps, } from "./attachment/AttachmentThumb.js";
|
|
4
|
+
export { AttachmentRemove as Remove, type AttachmentRemoveProps as RemoveProps, } from "./attachment/AttachmentRemove.js";
|
|
10
5
|
//# sourceMappingURL=attachment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attachment.d.ts","
|
|
1
|
+
{"version":3,"file":"attachment.d.ts","sourceRoot":"","sources":["../../src/primitives/attachment.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,IAAI,IAAI,EACtB,KAAK,mBAAmB,IAAI,SAAS,GACtC,uCAAoC;AACrC,OAAO,EACL,cAAc,IAAI,IAAI,EACtB,KAAK,mBAAmB,IAAI,SAAS,GACtC,uCAAoC;AACrC,OAAO,EACL,eAAe,IAAI,KAAK,EACxB,KAAK,oBAAoB,IAAI,UAAU,GACxC,wCAAqC;AACtC,OAAO,EACL,gBAAgB,IAAI,MAAM,EAC1B,KAAK,qBAAqB,IAAI,WAAW,GAC1C,yCAAsC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { TextProps } from "react-native";
|
|
2
|
-
//#region src/primitives/branchPicker/BranchPickerCount.d.ts
|
|
1
|
+
import { type TextProps } from "react-native";
|
|
3
2
|
export type BranchPickerCountProps = TextProps;
|
|
4
3
|
export declare const BranchPickerCount: (props: BranchPickerCountProps) => import("react").JSX.Element;
|
|
5
|
-
//#endregion
|
|
6
4
|
//# sourceMappingURL=BranchPickerCount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BranchPickerCount.d.ts","
|
|
1
|
+
{"version":3,"file":"BranchPickerCount.d.ts","sourceRoot":"","sources":["../../../src/primitives/branchPicker/BranchPickerCount.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,MAAM,sBAAsB,GAAG,SAAS,CAAC;AAE/C,eAAO,MAAM,iBAAiB,GAAI,OAAO,sBAAsB,gCAG9D,CAAC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
//#region src/primitives/branchPicker/BranchPickerNext.d.ts
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type PressableProps, type PressableStateCallbackType } from "react-native";
|
|
4
3
|
export type BranchPickerNextProps = Omit<PressableProps, "onPress" | "children"> & {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
children: ReactNode | ((state: PressableStateCallbackType & {
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
}) => ReactNode);
|
|
8
7
|
};
|
|
9
8
|
export declare const BranchPickerNext: ({ children, disabled: disabledProp, ...pressableProps }: BranchPickerNextProps) => import("react").JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
9
|
//# sourceMappingURL=BranchPickerNext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BranchPickerNext.d.ts","
|
|
1
|
+
{"version":3,"file":"BranchPickerNext.d.ts","sourceRoot":"","sources":["../../../src/primitives/branchPicker/BranchPickerNext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,0BAA0B,EAChC,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,cAAc,EACd,SAAS,GAAG,UAAU,CACvB,GAAG;IACF,QAAQ,EACJ,SAAS,GACT,CAAC,CACC,KAAK,EAAE,0BAA0B,GAAG;QAAE,QAAQ,EAAE,OAAO,CAAA;KAAE,KACtD,SAAS,CAAC,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,yDAI9B,qBAAqB,gCAgBvB,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { TextProps } from "react-native";
|
|
2
|
-
//#region src/primitives/branchPicker/BranchPickerNumber.d.ts
|
|
1
|
+
import { type TextProps } from "react-native";
|
|
3
2
|
export type BranchPickerNumberProps = TextProps;
|
|
4
3
|
export declare const BranchPickerNumber: (props: BranchPickerNumberProps) => import("react").JSX.Element;
|
|
5
|
-
//#endregion
|
|
6
4
|
//# sourceMappingURL=BranchPickerNumber.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BranchPickerNumber.d.ts","
|
|
1
|
+
{"version":3,"file":"BranchPickerNumber.d.ts","sourceRoot":"","sources":["../../../src/primitives/branchPicker/BranchPickerNumber.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAAC;AAEhD,eAAO,MAAM,kBAAkB,GAAI,OAAO,uBAAuB,gCAGhE,CAAC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
//#region src/primitives/branchPicker/BranchPickerPrevious.d.ts
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type PressableProps, type PressableStateCallbackType } from "react-native";
|
|
4
3
|
export type BranchPickerPreviousProps = Omit<PressableProps, "onPress" | "children"> & {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
children: ReactNode | ((state: PressableStateCallbackType & {
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
}) => ReactNode);
|
|
8
7
|
};
|
|
9
8
|
export declare const BranchPickerPrevious: ({ children, disabled: disabledProp, ...pressableProps }: BranchPickerPreviousProps) => import("react").JSX.Element;
|
|
10
|
-
//#endregion
|
|
11
9
|
//# sourceMappingURL=BranchPickerPrevious.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BranchPickerPrevious.d.ts","
|
|
1
|
+
{"version":3,"file":"BranchPickerPrevious.d.ts","sourceRoot":"","sources":["../../../src/primitives/branchPicker/BranchPickerPrevious.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,0BAA0B,EAChC,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAC1C,cAAc,EACd,SAAS,GAAG,UAAU,CACvB,GAAG;IACF,QAAQ,EACJ,SAAS,GACT,CAAC,CACC,KAAK,EAAE,0BAA0B,GAAG;QAAE,QAAQ,EAAE,OAAO,CAAA;KAAE,KACtD,SAAS,CAAC,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,yDAIlC,yBAAyB,gCAgB3B,CAAC"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare namespace branchPicker_d_exports {
|
|
6
|
-
export { BranchPickerCount as Count, BranchPickerCountProps as CountProps, BranchPickerNext as Next, BranchPickerNextProps as NextProps, BranchPickerNumber as Number, BranchPickerNumberProps as NumberProps, BranchPickerPrevious as Previous, BranchPickerPreviousProps as PreviousProps };
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
export { BranchPickerCount as Count, type BranchPickerCountProps as CountProps, BranchPickerNext as Next, type BranchPickerNextProps as NextProps, BranchPickerNumber as Number, type BranchPickerNumberProps as NumberProps, BranchPickerPrevious as Previous, type BranchPickerPreviousProps as PreviousProps, branchPicker_d_exports };
|
|
1
|
+
export { BranchPickerPrevious as Previous, type BranchPickerPreviousProps as PreviousProps, } from "./branchPicker/BranchPickerPrevious.js";
|
|
2
|
+
export { BranchPickerNext as Next, type BranchPickerNextProps as NextProps, } from "./branchPicker/BranchPickerNext.js";
|
|
3
|
+
export { BranchPickerNumber as Number, type BranchPickerNumberProps as NumberProps, } from "./branchPicker/BranchPickerNumber.js";
|
|
4
|
+
export { BranchPickerCount as Count, type BranchPickerCountProps as CountProps, } from "./branchPicker/BranchPickerCount.js";
|
|
10
5
|
//# sourceMappingURL=branchPicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branchPicker.d.ts","
|
|
1
|
+
{"version":3,"file":"branchPicker.d.ts","sourceRoot":"","sources":["../../src/primitives/branchPicker.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,IAAI,QAAQ,EAChC,KAAK,yBAAyB,IAAI,aAAa,GAChD,+CAA4C;AAC7C,OAAO,EACL,gBAAgB,IAAI,IAAI,EACxB,KAAK,qBAAqB,IAAI,SAAS,GACxC,2CAAwC;AACzC,OAAO,EACL,kBAAkB,IAAI,MAAM,EAC5B,KAAK,uBAAuB,IAAI,WAAW,GAC5C,6CAA0C;AAC3C,OAAO,EACL,iBAAiB,IAAI,KAAK,EAC1B,KAAK,sBAAsB,IAAI,UAAU,GAC1C,4CAAyC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { PressableProps } from "react-native";
|
|
2
|
-
//#region src/primitives/chainOfThought/ChainOfThoughtAccordionTrigger.d.ts
|
|
1
|
+
import { type PressableProps } from "react-native";
|
|
3
2
|
export type ChainOfThoughtAccordionTriggerProps = Omit<PressableProps, "onPress" | "children"> & {
|
|
4
|
-
|
|
3
|
+
children: PressableProps["children"];
|
|
5
4
|
};
|
|
6
5
|
export declare const ChainOfThoughtAccordionTrigger: ({ children, ...pressableProps }: ChainOfThoughtAccordionTriggerProps) => import("react").JSX.Element;
|
|
7
|
-
//#endregion
|
|
8
6
|
//# sourceMappingURL=ChainOfThoughtAccordionTrigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChainOfThoughtAccordionTrigger.d.ts","
|
|
1
|
+
{"version":3,"file":"ChainOfThoughtAccordionTrigger.d.ts","sourceRoot":"","sources":["../../../src/primitives/chainOfThought/ChainOfThoughtAccordionTrigger.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9D,MAAM,MAAM,mCAAmC,GAAG,IAAI,CACpD,cAAc,EACd,SAAS,GAAG,UAAU,CACvB,GAAG;IACF,QAAQ,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,iCAG5C,mCAAmC,gCAarC,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
//#region src/primitives/chainOfThought/ChainOfThoughtRoot.d.ts
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type ViewProps } from "react-native";
|
|
4
3
|
export type ChainOfThoughtRootProps = ViewProps & {
|
|
5
|
-
|
|
4
|
+
children: ReactNode;
|
|
6
5
|
};
|
|
7
6
|
export declare const ChainOfThoughtRoot: ({ children, ...viewProps }: ChainOfThoughtRootProps) => import("react").JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
7
|
//# sourceMappingURL=ChainOfThoughtRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChainOfThoughtRoot.d.ts","
|
|
1
|
+
{"version":3,"file":"ChainOfThoughtRoot.d.ts","sourceRoot":"","sources":["../../../src/primitives/chainOfThought/ChainOfThoughtRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG;IAChD,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,4BAGhC,uBAAuB,gCAEzB,CAAC"}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare namespace chainOfThought_d_exports {
|
|
5
|
-
export { ChainOfThoughtAccordionTrigger as AccordionTrigger, ChainOfThoughtAccordionTriggerProps as AccordionTriggerProps, Parts, ChainOfThoughtRoot as Root, ChainOfThoughtRootProps as RootProps };
|
|
6
|
-
}
|
|
7
|
-
//#endregion
|
|
8
|
-
export { ChainOfThoughtAccordionTrigger as AccordionTrigger, type ChainOfThoughtAccordionTriggerProps as AccordionTriggerProps, Parts, ChainOfThoughtRoot as Root, type ChainOfThoughtRootProps as RootProps, chainOfThought_d_exports };
|
|
1
|
+
export { ChainOfThoughtRoot as Root, type ChainOfThoughtRootProps as RootProps, } from "./chainOfThought/ChainOfThoughtRoot.js";
|
|
2
|
+
export { ChainOfThoughtAccordionTrigger as AccordionTrigger, type ChainOfThoughtAccordionTriggerProps as AccordionTriggerProps, } from "./chainOfThought/ChainOfThoughtAccordionTrigger.js";
|
|
3
|
+
export { ChainOfThoughtPrimitiveParts as Parts } from "@assistant-ui/core/react";
|
|
9
4
|
//# sourceMappingURL=chainOfThought.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chainOfThought.d.ts","
|
|
1
|
+
{"version":3,"file":"chainOfThought.d.ts","sourceRoot":"","sources":["../../src/primitives/chainOfThought.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,IAAI,IAAI,EAC1B,KAAK,uBAAuB,IAAI,SAAS,GAC1C,+CAA4C;AAC7C,OAAO,EACL,8BAA8B,IAAI,gBAAgB,EAClD,KAAK,mCAAmC,IAAI,qBAAqB,GAClE,2DAAwD;AACzD,OAAO,EAAE,4BAA4B,IAAI,KAAK,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { PressableProps } from "react-native";
|
|
2
|
-
//#region src/primitives/composer/ComposerAddAttachment.d.ts
|
|
1
|
+
import { type PressableProps } from "react-native";
|
|
3
2
|
export type ComposerAddAttachmentProps = Omit<PressableProps, "children"> & {
|
|
4
|
-
|
|
3
|
+
children: PressableProps["children"];
|
|
5
4
|
};
|
|
6
5
|
/**
|
|
7
6
|
* A button for adding attachments. It is disabled while the composer cannot accept attachments.
|
|
@@ -9,5 +8,4 @@ export type ComposerAddAttachmentProps = Omit<PressableProps, "children"> & {
|
|
|
9
8
|
* React Native has no file input, so the caller opens the platform picker (for example `expo-image-picker`) in `onPress` and passes the selection to `aui.composer.addAttachment`.
|
|
10
9
|
*/
|
|
11
10
|
export declare const ComposerAddAttachment: ({ children, disabled: disabledProp, ...pressableProps }: ComposerAddAttachmentProps) => import("react").JSX.Element;
|
|
12
|
-
//#endregion
|
|
13
11
|
//# sourceMappingURL=ComposerAddAttachment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerAddAttachment.d.ts","
|
|
1
|
+
{"version":3,"file":"ComposerAddAttachment.d.ts","sourceRoot":"","sources":["../../../src/primitives/composer/ComposerAddAttachment.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9D,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,GAAG;IAC1E,QAAQ,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;CACtC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,yDAInC,0BAA0B,gCAY5B,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region src/primitives/composer/ComposerAttachments.d.ts
|
|
1
|
+
import { ComposerPrimitiveAttachments, ComposerPrimitiveAttachmentByIndex } from "@assistant-ui/core/react";
|
|
3
2
|
export type ComposerAttachmentsProps = ComposerPrimitiveAttachments.Props;
|
|
4
3
|
export type ComposerAttachmentByIndexProps = ComposerPrimitiveAttachmentByIndex.Props;
|
|
5
4
|
export declare const ComposerAttachmentByIndex: import("react").FC<ComposerPrimitiveAttachmentByIndex.Props>;
|
|
6
5
|
export declare const ComposerAttachments: import("react").FC<ComposerPrimitiveAttachments.Props>;
|
|
7
|
-
//#endregion
|
|
8
6
|
//# sourceMappingURL=ComposerAttachments.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerAttachments.d.ts","
|
|
1
|
+
{"version":3,"file":"ComposerAttachments.d.ts","sourceRoot":"","sources":["../../../src/primitives/composer/ComposerAttachments.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAC5B,kCAAkC,EACnC,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,wBAAwB,GAAG,4BAA4B,CAAC,KAAK,CAAC;AAE1E,MAAM,MAAM,8BAA8B,GACxC,kCAAkC,CAAC,KAAK,CAAC;AAE3C,eAAO,MAAM,yBAAyB,8DAAqC,CAAC;AAE5E,eAAO,MAAM,mBAAmB,wDAA+B,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { PressableProps } from "react-native";
|
|
2
|
-
//#region src/primitives/composer/ComposerCancel.d.ts
|
|
1
|
+
import { type PressableProps } from "react-native";
|
|
3
2
|
export type ComposerCancelProps = Omit<PressableProps, "onPress" | "children"> & {
|
|
4
|
-
|
|
3
|
+
children: PressableProps["children"];
|
|
5
4
|
};
|
|
6
5
|
export declare const ComposerCancel: ({ children, disabled, ...pressableProps }: ComposerCancelProps) => import("react").JSX.Element;
|
|
7
|
-
//#endregion
|
|
8
6
|
//# sourceMappingURL=ComposerCancel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerCancel.d.ts","
|
|
1
|
+
{"version":3,"file":"ComposerCancel.d.ts","sourceRoot":"","sources":["../../../src/primitives/composer/ComposerCancel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9D,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,cAAc,EACd,SAAS,GAAG,UAAU,CACvB,GAAG;IACF,QAAQ,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,2CAI5B,mBAAmB,gCAarB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export { ComposerPrimitiveIf as ComposerIf } from "@assistant-ui/core/react";
|
|
2
|
+
//# sourceMappingURL=ComposerIf.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComposerIf.d.ts","sourceRoot":"","sources":["../../../src/primitives/composer/ComposerIf.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { TextInputProps } from "react-native";
|
|
2
|
-
//#region src/primitives/composer/ComposerInput.d.ts
|
|
1
|
+
import { type TextInputProps } from "react-native";
|
|
3
2
|
export type ComposerInputProps = Omit<TextInputProps, "value" | "onChangeText"> & {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Controls how the Enter key submits messages (web only).
|
|
5
|
+
* - "enter": Plain Enter submits (Shift+Enter for newline)
|
|
6
|
+
* - "none": Enter inserts newline (no keyboard submission)
|
|
7
|
+
* @default "enter"
|
|
8
|
+
*/
|
|
9
|
+
submitMode?: "enter" | "none";
|
|
11
10
|
};
|
|
12
11
|
export declare const ComposerInput: ({ submitMode, onKeyPress: onKeyPressProp, numberOfLines, style, ...props }: ComposerInputProps) => import("react").JSX.Element;
|
|
13
|
-
//#endregion
|
|
14
12
|
//# sourceMappingURL=ComposerInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerInput.d.ts","
|
|
1
|
+
{"version":3,"file":"ComposerInput.d.ts","sourceRoot":"","sources":["../../../src/primitives/composer/ComposerInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AASxE,MAAM,MAAM,kBAAkB,GAAG,IAAI,CACnC,cAAc,EACd,OAAO,GAAG,cAAc,CACzB,GAAG;IACF;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC/B,CAAC;AAmCF,eAAO,MAAM,aAAa,GAAI,4EAM3B,kBAAkB,gCAmEpB,CAAC"}
|
|
@@ -93,7 +93,7 @@ const ComposerInput = (t0) => {
|
|
|
93
93
|
if (nativeEvent.isComposing || nativeEvent.keyCode === 229) return;
|
|
94
94
|
if (nativeEvent.key === "Enter" && !nativeEvent.shiftKey) {
|
|
95
95
|
const threadState = aui.thread.getState();
|
|
96
|
-
if (threadState.isRunning && !threadState.capabilities.queue) return;
|
|
96
|
+
if (threadState.isRunning && !threadState.capabilities.queue && threadState.voice === void 0) return;
|
|
97
97
|
e.preventDefault?.();
|
|
98
98
|
aui.composer.send();
|
|
99
99
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerInput.js","names":["useCallback","useEffect","useRef","Platform","TextInput","TextInputProps","useAui","useAuiState","flushTapSync","TextInputInstance","React","ComponentRef","TextInputKeyPressEvent","Parameters","NonNullable","ComposerInputProps","Omit","submitMode","getWebTextareaMaxHeight","el","HTMLTextAreaElement","computedMaxHeight","globalThis","getComputedStyle","maxHeight","parsedComputedMaxHeight","Number","parseFloat","isFinite","inlineMaxHeight","style","adjustWebTextareaHeight","ref","RefObject","OS","current","rows","overflowX","overflowY","height","scrollHeight","needsScrollbar","nextHeight","Math","min","ComposerInput","t0","$","_c","numberOfLines","onKeyPressProp","props","t1","onKeyPress","undefined","aui","text","_temp","inputRef","t2","value","composer","setText","onChangeText","t3","Symbol","for","t4","t5","e","isDefaultPrevented","nativeEvent","shiftKey","isComposing","keyCode","key","threadState","thread","getState","isRunning","capabilities","queue","Event","preventDefault","send","t6","t7","s"],"sources":["../../../src/primitives/composer/ComposerInput.tsx"],"sourcesContent":["import { useCallback, useEffect, useRef } from \"react\";\nimport { Platform, TextInput, type TextInputProps } from \"react-native\";\nimport { useAui, useAuiState } from \"@assistant-ui/store\";\nimport { flushTapSync } from \"@assistant-ui/tap\";\n\ntype TextInputInstance = React.ComponentRef<typeof TextInput>;\ntype TextInputKeyPressEvent = Parameters<\n NonNullable<TextInputProps[\"onKeyPress\"]>\n>[0];\n\nexport type ComposerInputProps = Omit<\n TextInputProps,\n \"value\" | \"onChangeText\"\n> & {\n /**\n * Controls how the Enter key submits messages (web only).\n * - \"enter\": Plain Enter submits (Shift+Enter for newline)\n * - \"none\": Enter inserts newline (no keyboard submission)\n * @default \"enter\"\n */\n submitMode?: \"enter\" | \"none\";\n};\n\nconst getWebTextareaMaxHeight = (el: HTMLTextAreaElement) => {\n const computedMaxHeight = globalThis.getComputedStyle?.(el).maxHeight;\n const parsedComputedMaxHeight = Number.parseFloat(computedMaxHeight ?? \"\");\n if (Number.isFinite(parsedComputedMaxHeight)) return parsedComputedMaxHeight;\n\n const inlineMaxHeight = Number.parseFloat(el.style.maxHeight);\n return Number.isFinite(inlineMaxHeight) ? inlineMaxHeight : null;\n};\n\nconst adjustWebTextareaHeight = (\n ref: React.RefObject<TextInputInstance | null>,\n) => {\n if (Platform.OS !== \"web\") return;\n // On web, the TextInput ref IS the DOM element\n const el = ref.current as unknown as HTMLTextAreaElement | null;\n if (!el) return;\n // Ensure rows=1 so scrollHeight reflects actual content\n if (el.rows !== 1) el.rows = 1;\n\n el.style.overflowX = \"hidden\";\n el.style.overflowY = \"hidden\";\n el.style.height = \"auto\";\n\n const scrollHeight = el.scrollHeight;\n const maxHeight = getWebTextareaMaxHeight(el);\n const needsScrollbar = maxHeight !== null && scrollHeight > maxHeight;\n const nextHeight =\n maxHeight === null ? scrollHeight : Math.min(scrollHeight, maxHeight);\n\n el.style.overflowY = needsScrollbar ? \"auto\" : \"hidden\";\n el.style.height = `${nextHeight}px`;\n};\n\nexport const ComposerInput = ({\n submitMode = \"enter\",\n onKeyPress: onKeyPressProp,\n numberOfLines,\n style,\n ...props\n}: ComposerInputProps) => {\n const aui = useAui();\n const text = useAuiState((s) => s.composer.text);\n const inputRef = useRef<TextInputInstance>(null);\n\n const onChangeText = useCallback(\n (value: string) => {\n if (Platform.OS === \"web\") {\n // Keep the controlled value in sync mid-IME so react-dom does not reset the textarea to a stale value\n flushTapSync(() => {\n aui.composer.setText(value);\n });\n return;\n }\n aui.composer.setText(value);\n },\n [aui],\n );\n\n // Auto-resize textarea on web when text changes\n useEffect(() => {\n void text; // trigger re-run when text changes\n adjustWebTextareaHeight(inputRef);\n }, [text]);\n\n const onKeyPress = useCallback(\n (e: TextInputKeyPressEvent) => {\n onKeyPressProp?.(e);\n if (e.isDefaultPrevented()) return;\n\n if (Platform.OS !== \"web\") return;\n if (submitMode !== \"enter\") return;\n\n const nativeEvent =\n e.nativeEvent as TextInputKeyPressEvent[\"nativeEvent\"] & {\n shiftKey?: boolean;\n isComposing?: boolean;\n keyCode?: number;\n };\n // react-native-web forwards the raw DOM keydown before its own composition guard, so re-check it here (mirrors isEventComposing)\n if (nativeEvent.isComposing || nativeEvent.keyCode === 229) return;\n if (nativeEvent.key === \"Enter\" && !nativeEvent.shiftKey) {\n const threadState = aui.thread.getState();\n if (threadState.isRunning
|
|
1
|
+
{"version":3,"file":"ComposerInput.js","names":["useCallback","useEffect","useRef","Platform","TextInput","TextInputProps","useAui","useAuiState","flushTapSync","TextInputInstance","React","ComponentRef","TextInputKeyPressEvent","Parameters","NonNullable","ComposerInputProps","Omit","submitMode","getWebTextareaMaxHeight","el","HTMLTextAreaElement","computedMaxHeight","globalThis","getComputedStyle","maxHeight","parsedComputedMaxHeight","Number","parseFloat","isFinite","inlineMaxHeight","style","adjustWebTextareaHeight","ref","RefObject","OS","current","rows","overflowX","overflowY","height","scrollHeight","needsScrollbar","nextHeight","Math","min","ComposerInput","t0","$","_c","numberOfLines","onKeyPressProp","props","t1","onKeyPress","undefined","aui","text","_temp","inputRef","t2","value","composer","setText","onChangeText","t3","Symbol","for","t4","t5","e","isDefaultPrevented","nativeEvent","shiftKey","isComposing","keyCode","key","threadState","thread","getState","isRunning","capabilities","queue","voice","Event","preventDefault","send","t6","t7","s"],"sources":["../../../src/primitives/composer/ComposerInput.tsx"],"sourcesContent":["import { useCallback, useEffect, useRef } from \"react\";\nimport { Platform, TextInput, type TextInputProps } from \"react-native\";\nimport { useAui, useAuiState } from \"@assistant-ui/store\";\nimport { flushTapSync } from \"@assistant-ui/tap\";\n\ntype TextInputInstance = React.ComponentRef<typeof TextInput>;\ntype TextInputKeyPressEvent = Parameters<\n NonNullable<TextInputProps[\"onKeyPress\"]>\n>[0];\n\nexport type ComposerInputProps = Omit<\n TextInputProps,\n \"value\" | \"onChangeText\"\n> & {\n /**\n * Controls how the Enter key submits messages (web only).\n * - \"enter\": Plain Enter submits (Shift+Enter for newline)\n * - \"none\": Enter inserts newline (no keyboard submission)\n * @default \"enter\"\n */\n submitMode?: \"enter\" | \"none\";\n};\n\nconst getWebTextareaMaxHeight = (el: HTMLTextAreaElement) => {\n const computedMaxHeight = globalThis.getComputedStyle?.(el).maxHeight;\n const parsedComputedMaxHeight = Number.parseFloat(computedMaxHeight ?? \"\");\n if (Number.isFinite(parsedComputedMaxHeight)) return parsedComputedMaxHeight;\n\n const inlineMaxHeight = Number.parseFloat(el.style.maxHeight);\n return Number.isFinite(inlineMaxHeight) ? inlineMaxHeight : null;\n};\n\nconst adjustWebTextareaHeight = (\n ref: React.RefObject<TextInputInstance | null>,\n) => {\n if (Platform.OS !== \"web\") return;\n // On web, the TextInput ref IS the DOM element\n const el = ref.current as unknown as HTMLTextAreaElement | null;\n if (!el) return;\n // Ensure rows=1 so scrollHeight reflects actual content\n if (el.rows !== 1) el.rows = 1;\n\n el.style.overflowX = \"hidden\";\n el.style.overflowY = \"hidden\";\n el.style.height = \"auto\";\n\n const scrollHeight = el.scrollHeight;\n const maxHeight = getWebTextareaMaxHeight(el);\n const needsScrollbar = maxHeight !== null && scrollHeight > maxHeight;\n const nextHeight =\n maxHeight === null ? scrollHeight : Math.min(scrollHeight, maxHeight);\n\n el.style.overflowY = needsScrollbar ? \"auto\" : \"hidden\";\n el.style.height = `${nextHeight}px`;\n};\n\nexport const ComposerInput = ({\n submitMode = \"enter\",\n onKeyPress: onKeyPressProp,\n numberOfLines,\n style,\n ...props\n}: ComposerInputProps) => {\n const aui = useAui();\n const text = useAuiState((s) => s.composer.text);\n const inputRef = useRef<TextInputInstance>(null);\n\n const onChangeText = useCallback(\n (value: string) => {\n if (Platform.OS === \"web\") {\n // Keep the controlled value in sync mid-IME so react-dom does not reset the textarea to a stale value\n flushTapSync(() => {\n aui.composer.setText(value);\n });\n return;\n }\n aui.composer.setText(value);\n },\n [aui],\n );\n\n // Auto-resize textarea on web when text changes\n useEffect(() => {\n void text; // trigger re-run when text changes\n adjustWebTextareaHeight(inputRef);\n }, [text]);\n\n const onKeyPress = useCallback(\n (e: TextInputKeyPressEvent) => {\n onKeyPressProp?.(e);\n if (e.isDefaultPrevented()) return;\n\n if (Platform.OS !== \"web\") return;\n if (submitMode !== \"enter\") return;\n\n const nativeEvent =\n e.nativeEvent as TextInputKeyPressEvent[\"nativeEvent\"] & {\n shiftKey?: boolean;\n isComposing?: boolean;\n keyCode?: number;\n };\n // react-native-web forwards the raw DOM keydown before its own composition guard, so re-check it here (mirrors isEventComposing)\n if (nativeEvent.isComposing || nativeEvent.keyCode === 229) return;\n if (nativeEvent.key === \"Enter\" && !nativeEvent.shiftKey) {\n const threadState = aui.thread.getState();\n if (\n threadState.isRunning &&\n !threadState.capabilities.queue &&\n threadState.voice === undefined\n )\n return;\n (e as unknown as Event).preventDefault?.();\n aui.composer.send();\n }\n },\n [aui, submitMode, onKeyPressProp],\n );\n\n return (\n <TextInput\n ref={inputRef}\n value={text}\n onChangeText={onChangeText}\n onKeyPress={onKeyPress}\n numberOfLines={numberOfLines ?? (Platform.OS === \"web\" ? 1 : undefined)}\n style={style}\n {...props}\n />\n );\n};\n"],"mappings":"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"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export { ComposerPrimitiveQueue as ComposerQueue } from "@assistant-ui/core/react";
|
|
2
|
+
//# sourceMappingURL=ComposerQueue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComposerQueue.d.ts","sourceRoot":"","sources":["../../../src/primitives/composer/ComposerQueue.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,IAAI,aAAa,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
//#region src/primitives/composer/ComposerQuote.d.ts
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type ViewProps } from "react-native";
|
|
4
3
|
export type ComposerQuoteProps = ViewProps & {
|
|
5
|
-
|
|
4
|
+
children: ReactNode;
|
|
6
5
|
};
|
|
7
6
|
export declare const ComposerQuote: ({ children, ...viewProps }: ComposerQuoteProps) => import("react").JSX.Element | null;
|
|
8
|
-
//#endregion
|
|
9
7
|
//# sourceMappingURL=ComposerQuote.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerQuote.d.ts","
|
|
1
|
+
{"version":3,"file":"ComposerQuote.d.ts","sourceRoot":"","sources":["../../../src/primitives/composer/ComposerQuote.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG;IAC3C,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,4BAG3B,kBAAkB,uCAKpB,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { PressableProps } from "react-native";
|
|
2
|
-
//#region src/primitives/composer/ComposerQuoteDismiss.d.ts
|
|
1
|
+
import { type PressableProps } from "react-native";
|
|
3
2
|
export type ComposerQuoteDismissProps = Omit<PressableProps, "onPress" | "children"> & {
|
|
4
|
-
|
|
3
|
+
children: PressableProps["children"];
|
|
5
4
|
};
|
|
6
5
|
export declare const ComposerQuoteDismiss: ({ children, ...pressableProps }: ComposerQuoteDismissProps) => import("react").JSX.Element;
|
|
7
|
-
//#endregion
|
|
8
6
|
//# sourceMappingURL=ComposerQuoteDismiss.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerQuoteDismiss.d.ts","
|
|
1
|
+
{"version":3,"file":"ComposerQuoteDismiss.d.ts","sourceRoot":"","sources":["../../../src/primitives/composer/ComposerQuoteDismiss.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9D,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAC1C,cAAc,EACd,SAAS,GAAG,UAAU,CACvB,GAAG;IACF,QAAQ,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,iCAGlC,yBAAyB,gCAgB3B,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
//#region src/primitives/composer/ComposerQuoteText.d.ts
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type TextProps } from "react-native";
|
|
4
3
|
export type ComposerQuoteTextProps = TextProps & {
|
|
5
|
-
|
|
4
|
+
children?: ReactNode;
|
|
6
5
|
};
|
|
7
6
|
export declare const ComposerQuoteText: ({ children, ...textProps }: ComposerQuoteTextProps) => import("react").JSX.Element | null;
|
|
8
|
-
//#endregion
|
|
9
7
|
//# sourceMappingURL=ComposerQuoteText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerQuoteText.d.ts","
|
|
1
|
+
{"version":3,"file":"ComposerQuoteText.d.ts","sourceRoot":"","sources":["../../../src/primitives/composer/ComposerQuoteText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG;IAC/C,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,4BAG/B,sBAAsB,uCAKxB,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
//#region src/primitives/composer/ComposerRoot.d.ts
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type ViewProps } from "react-native";
|
|
4
3
|
export type ComposerRootProps = ViewProps & {
|
|
5
|
-
|
|
4
|
+
children: ReactNode;
|
|
6
5
|
};
|
|
7
6
|
export declare const ComposerRoot: ({ children, ...viewProps }: ComposerRootProps) => import("react").JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
7
|
//# sourceMappingURL=ComposerRoot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerRoot.d.ts","
|
|
1
|
+
{"version":3,"file":"ComposerRoot.d.ts","sourceRoot":"","sources":["../../../src/primitives/composer/ComposerRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG;IAC1C,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,4BAA4B,iBAAiB,gCAEzE,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { PressableProps } from "react-native";
|
|
2
|
-
//#region src/primitives/composer/ComposerSend.d.ts
|
|
1
|
+
import { type PressableProps } from "react-native";
|
|
3
2
|
export type ComposerSendProps = Omit<PressableProps, "onPress" | "children"> & {
|
|
4
|
-
|
|
3
|
+
children: PressableProps["children"];
|
|
5
4
|
};
|
|
6
5
|
export declare const ComposerSend: ({ children, disabled, ...pressableProps }: ComposerSendProps) => import("react").JSX.Element;
|
|
7
|
-
//#endregion
|
|
8
6
|
//# sourceMappingURL=ComposerSend.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComposerSend.d.ts","
|
|
1
|
+
{"version":3,"file":"ComposerSend.d.ts","sourceRoot":"","sources":["../../../src/primitives/composer/ComposerSend.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9D,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,cAAc,EAAE,SAAS,GAAG,UAAU,CAAC,GAAG;IAC7E,QAAQ,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,2CAI1B,iBAAiB,gCAanB,CAAC"}
|