@assistant-ui/react-native 0.1.43 → 0.1.45

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.
Files changed (234) hide show
  1. package/LICENSE +1 -1
  2. package/dist/context/AssistantContext.d.ts +2 -2
  3. package/dist/context/AssistantContext.d.ts.map +1 -0
  4. package/dist/context/providers/AttachmentByIndexProvider.d.ts +2 -2
  5. package/dist/context/providers/AttachmentByIndexProvider.d.ts.map +1 -0
  6. package/dist/context/providers/RuntimeAdapterProvider.d.ts +2 -2
  7. package/dist/context/providers/RuntimeAdapterProvider.d.ts.map +1 -0
  8. package/dist/context/providers/ThreadListItemRuntimeProvider.d.ts +2 -2
  9. package/dist/context/providers/ThreadListItemRuntimeProvider.d.ts.map +1 -0
  10. package/dist/index.d.ts +54 -23
  11. package/dist/index.d.ts.map +1 -0
  12. package/dist/index.js +4 -4
  13. package/dist/internal.d.ts +4 -3
  14. package/dist/internal.d.ts.map +1 -0
  15. package/dist/primitives/actionBar/ActionBarCopy.d.ts +7 -9
  16. package/dist/primitives/actionBar/ActionBarCopy.d.ts.map +1 -1
  17. package/dist/primitives/actionBar/ActionBarCopy.js.map +1 -1
  18. package/dist/primitives/actionBar/ActionBarEdit.d.ts +5 -7
  19. package/dist/primitives/actionBar/ActionBarEdit.d.ts.map +1 -1
  20. package/dist/primitives/actionBar/ActionBarEdit.js.map +1 -1
  21. package/dist/primitives/actionBar/ActionBarFeedbackNegative.d.ts +6 -8
  22. package/dist/primitives/actionBar/ActionBarFeedbackNegative.d.ts.map +1 -1
  23. package/dist/primitives/actionBar/ActionBarFeedbackNegative.js +28 -20
  24. package/dist/primitives/actionBar/ActionBarFeedbackNegative.js.map +1 -1
  25. package/dist/primitives/actionBar/ActionBarFeedbackPositive.d.ts +6 -8
  26. package/dist/primitives/actionBar/ActionBarFeedbackPositive.d.ts.map +1 -1
  27. package/dist/primitives/actionBar/ActionBarFeedbackPositive.js +28 -20
  28. package/dist/primitives/actionBar/ActionBarFeedbackPositive.js.map +1 -1
  29. package/dist/primitives/actionBar/ActionBarReload.d.ts +5 -7
  30. package/dist/primitives/actionBar/ActionBarReload.d.ts.map +1 -1
  31. package/dist/primitives/actionBar/ActionBarReload.js.map +1 -1
  32. package/dist/primitives/actionBar/ActionBarSpeak.d.ts +7 -9
  33. package/dist/primitives/actionBar/ActionBarSpeak.d.ts.map +1 -1
  34. package/dist/primitives/actionBar/ActionBarSpeak.js.map +1 -1
  35. package/dist/primitives/actionBar/ActionBarStopSpeaking.d.ts +7 -9
  36. package/dist/primitives/actionBar/ActionBarStopSpeaking.d.ts.map +1 -1
  37. package/dist/primitives/actionBar/ActionBarStopSpeaking.js.map +1 -1
  38. package/dist/primitives/actionBar.d.ts +7 -12
  39. package/dist/primitives/actionBar.d.ts.map +1 -1
  40. package/dist/primitives/attachment/AttachmentName.d.ts +2 -4
  41. package/dist/primitives/attachment/AttachmentName.d.ts.map +1 -1
  42. package/dist/primitives/attachment/AttachmentName.js.map +1 -1
  43. package/dist/primitives/attachment/AttachmentRemove.d.ts +2 -4
  44. package/dist/primitives/attachment/AttachmentRemove.d.ts.map +1 -1
  45. package/dist/primitives/attachment/AttachmentRemove.js.map +1 -1
  46. package/dist/primitives/attachment/AttachmentRoot.d.ts +3 -5
  47. package/dist/primitives/attachment/AttachmentRoot.d.ts.map +1 -1
  48. package/dist/primitives/attachment/AttachmentRoot.js.map +1 -1
  49. package/dist/primitives/attachment/AttachmentThumb.d.ts +2 -4
  50. package/dist/primitives/attachment/AttachmentThumb.d.ts.map +1 -1
  51. package/dist/primitives/attachment/AttachmentThumb.js.map +1 -1
  52. package/dist/primitives/attachment.d.ts +4 -9
  53. package/dist/primitives/attachment.d.ts.map +1 -1
  54. package/dist/primitives/branchPicker/BranchPickerCount.d.ts +1 -3
  55. package/dist/primitives/branchPicker/BranchPickerCount.d.ts.map +1 -1
  56. package/dist/primitives/branchPicker/BranchPickerCount.js.map +1 -1
  57. package/dist/primitives/branchPicker/BranchPickerNext.d.ts +5 -7
  58. package/dist/primitives/branchPicker/BranchPickerNext.d.ts.map +1 -1
  59. package/dist/primitives/branchPicker/BranchPickerNext.js.map +1 -1
  60. package/dist/primitives/branchPicker/BranchPickerNumber.d.ts +1 -3
  61. package/dist/primitives/branchPicker/BranchPickerNumber.d.ts.map +1 -1
  62. package/dist/primitives/branchPicker/BranchPickerNumber.js.map +1 -1
  63. package/dist/primitives/branchPicker/BranchPickerPrevious.d.ts +5 -7
  64. package/dist/primitives/branchPicker/BranchPickerPrevious.d.ts.map +1 -1
  65. package/dist/primitives/branchPicker/BranchPickerPrevious.js.map +1 -1
  66. package/dist/primitives/branchPicker.d.ts +4 -9
  67. package/dist/primitives/branchPicker.d.ts.map +1 -1
  68. package/dist/primitives/chainOfThought/ChainOfThoughtAccordionTrigger.d.ts +2 -4
  69. package/dist/primitives/chainOfThought/ChainOfThoughtAccordionTrigger.d.ts.map +1 -1
  70. package/dist/primitives/chainOfThought/ChainOfThoughtAccordionTrigger.js.map +1 -1
  71. package/dist/primitives/chainOfThought/ChainOfThoughtRoot.d.ts +3 -5
  72. package/dist/primitives/chainOfThought/ChainOfThoughtRoot.d.ts.map +1 -1
  73. package/dist/primitives/chainOfThought/ChainOfThoughtRoot.js.map +1 -1
  74. package/dist/primitives/chainOfThought.d.ts +3 -8
  75. package/dist/primitives/chainOfThought.d.ts.map +1 -1
  76. package/dist/primitives/composer/ComposerAddAttachment.d.ts +2 -4
  77. package/dist/primitives/composer/ComposerAddAttachment.d.ts.map +1 -1
  78. package/dist/primitives/composer/ComposerAddAttachment.js.map +1 -1
  79. package/dist/primitives/composer/ComposerAttachments.d.ts +1 -3
  80. package/dist/primitives/composer/ComposerAttachments.d.ts.map +1 -1
  81. package/dist/primitives/composer/ComposerCancel.d.ts +2 -4
  82. package/dist/primitives/composer/ComposerCancel.d.ts.map +1 -1
  83. package/dist/primitives/composer/ComposerCancel.js.map +1 -1
  84. package/dist/primitives/composer/ComposerIf.d.ts +2 -2
  85. package/dist/primitives/composer/ComposerIf.d.ts.map +1 -0
  86. package/dist/primitives/composer/ComposerInput.d.ts +8 -10
  87. package/dist/primitives/composer/ComposerInput.d.ts.map +1 -1
  88. package/dist/primitives/composer/ComposerInput.js +1 -1
  89. package/dist/primitives/composer/ComposerInput.js.map +1 -1
  90. package/dist/primitives/composer/ComposerQueue.d.ts +2 -2
  91. package/dist/primitives/composer/ComposerQueue.d.ts.map +1 -0
  92. package/dist/primitives/composer/ComposerQuote.d.ts +3 -5
  93. package/dist/primitives/composer/ComposerQuote.d.ts.map +1 -1
  94. package/dist/primitives/composer/ComposerQuote.js.map +1 -1
  95. package/dist/primitives/composer/ComposerQuoteDismiss.d.ts +2 -4
  96. package/dist/primitives/composer/ComposerQuoteDismiss.d.ts.map +1 -1
  97. package/dist/primitives/composer/ComposerQuoteDismiss.js.map +1 -1
  98. package/dist/primitives/composer/ComposerQuoteText.d.ts +3 -5
  99. package/dist/primitives/composer/ComposerQuoteText.d.ts.map +1 -1
  100. package/dist/primitives/composer/ComposerQuoteText.js.map +1 -1
  101. package/dist/primitives/composer/ComposerRoot.d.ts +3 -5
  102. package/dist/primitives/composer/ComposerRoot.d.ts.map +1 -1
  103. package/dist/primitives/composer/ComposerRoot.js.map +1 -1
  104. package/dist/primitives/composer/ComposerSend.d.ts +2 -4
  105. package/dist/primitives/composer/ComposerSend.d.ts.map +1 -1
  106. package/dist/primitives/composer/ComposerSend.js.map +1 -1
  107. package/dist/primitives/composer.d.ts +11 -16
  108. package/dist/primitives/composer.d.ts.map +1 -1
  109. package/dist/primitives/error/ErrorMessage.d.ts +5 -7
  110. package/dist/primitives/error/ErrorMessage.d.ts.map +1 -1
  111. package/dist/primitives/error/ErrorMessage.js.map +1 -1
  112. package/dist/primitives/error/ErrorRoot.d.ts +5 -7
  113. package/dist/primitives/error/ErrorRoot.d.ts.map +1 -1
  114. package/dist/primitives/error/ErrorRoot.js.map +1 -1
  115. package/dist/primitives/error/index.d.ts +2 -7
  116. package/dist/primitives/error/index.d.ts.map +1 -1
  117. package/dist/primitives/message/MessageAttachments.d.ts +1 -3
  118. package/dist/primitives/message/MessageAttachments.d.ts.map +1 -1
  119. package/dist/primitives/message/MessageContent.d.ts +46 -47
  120. package/dist/primitives/message/MessageContent.d.ts.map +1 -1
  121. package/dist/primitives/message/MessageContent.js +70 -54
  122. package/dist/primitives/message/MessageContent.js.map +1 -1
  123. package/dist/primitives/message/MessageIf.d.ts +7 -9
  124. package/dist/primitives/message/MessageIf.d.ts.map +1 -1
  125. package/dist/primitives/message/MessageIf.js.map +1 -1
  126. package/dist/primitives/message/MessageParts.d.ts +4 -6
  127. package/dist/primitives/message/MessageParts.d.ts.map +1 -1
  128. package/dist/primitives/message/MessageParts.js.map +1 -1
  129. package/dist/primitives/message/MessageRoot.d.ts +3 -5
  130. package/dist/primitives/message/MessageRoot.d.ts.map +1 -1
  131. package/dist/primitives/message/MessageRoot.js.map +1 -1
  132. package/dist/primitives/message.d.ts +6 -11
  133. package/dist/primitives/message.d.ts.map +1 -1
  134. package/dist/primitives/messagePart/MessagePartImage.d.ts +4 -6
  135. package/dist/primitives/messagePart/MessagePartImage.d.ts.map +1 -1
  136. package/dist/primitives/messagePart/MessagePartImage.js.map +1 -1
  137. package/dist/primitives/messagePart/MessagePartInProgress.d.ts +2 -2
  138. package/dist/primitives/messagePart/MessagePartInProgress.d.ts.map +1 -0
  139. package/dist/primitives/messagePart/MessagePartText.d.ts +4 -6
  140. package/dist/primitives/messagePart/MessagePartText.d.ts.map +1 -1
  141. package/dist/primitives/messagePart/MessagePartText.js.map +1 -1
  142. package/dist/primitives/messagePart.d.ts +4 -9
  143. package/dist/primitives/messagePart.d.ts.map +1 -1
  144. package/dist/primitives/queueItem/QueueItemRemove.d.ts +2 -4
  145. package/dist/primitives/queueItem/QueueItemRemove.d.ts.map +1 -1
  146. package/dist/primitives/queueItem/QueueItemRemove.js.map +1 -1
  147. package/dist/primitives/queueItem/QueueItemSteer.d.ts +2 -4
  148. package/dist/primitives/queueItem/QueueItemSteer.d.ts.map +1 -1
  149. package/dist/primitives/queueItem/QueueItemSteer.js.map +1 -1
  150. package/dist/primitives/queueItem/QueueItemText.d.ts +3 -5
  151. package/dist/primitives/queueItem/QueueItemText.d.ts.map +1 -1
  152. package/dist/primitives/queueItem/QueueItemText.js.map +1 -1
  153. package/dist/primitives/queueItem.d.ts +3 -8
  154. package/dist/primitives/queueItem.d.ts.map +1 -1
  155. package/dist/primitives/suggestion/SuggestionDescription.d.ts +3 -5
  156. package/dist/primitives/suggestion/SuggestionDescription.d.ts.map +1 -1
  157. package/dist/primitives/suggestion/SuggestionDescription.js.map +1 -1
  158. package/dist/primitives/suggestion/SuggestionTitle.d.ts +3 -5
  159. package/dist/primitives/suggestion/SuggestionTitle.d.ts.map +1 -1
  160. package/dist/primitives/suggestion/SuggestionTitle.js.map +1 -1
  161. package/dist/primitives/suggestion/SuggestionTrigger.d.ts +13 -15
  162. package/dist/primitives/suggestion/SuggestionTrigger.d.ts.map +1 -1
  163. package/dist/primitives/suggestion/SuggestionTrigger.js +1 -1
  164. package/dist/primitives/suggestion/SuggestionTrigger.js.map +1 -1
  165. package/dist/primitives/suggestion.d.ts +3 -8
  166. package/dist/primitives/suggestion.d.ts.map +1 -1
  167. package/dist/primitives/thread/ThreadEmpty.d.ts +2 -4
  168. package/dist/primitives/thread/ThreadEmpty.d.ts.map +1 -1
  169. package/dist/primitives/thread/ThreadEmpty.js.map +1 -1
  170. package/dist/primitives/thread/ThreadIf.d.ts +4 -6
  171. package/dist/primitives/thread/ThreadIf.d.ts.map +1 -1
  172. package/dist/primitives/thread/ThreadIf.js.map +1 -1
  173. package/dist/primitives/thread/ThreadMessages.d.ts +37 -37
  174. package/dist/primitives/thread/ThreadMessages.d.ts.map +1 -1
  175. package/dist/primitives/thread/ThreadMessages.js +70 -58
  176. package/dist/primitives/thread/ThreadMessages.js.map +1 -1
  177. package/dist/primitives/thread/ThreadRoot.d.ts +3 -5
  178. package/dist/primitives/thread/ThreadRoot.d.ts.map +1 -1
  179. package/dist/primitives/thread/ThreadRoot.js.map +1 -1
  180. package/dist/primitives/thread/ThreadSuggestion.d.ts +15 -17
  181. package/dist/primitives/thread/ThreadSuggestion.d.ts.map +1 -1
  182. package/dist/primitives/thread/ThreadSuggestion.js.map +1 -1
  183. package/dist/primitives/thread.d.ts +8 -11
  184. package/dist/primitives/thread.d.ts.map +1 -1
  185. package/dist/primitives/threadList/ThreadListItems.d.ts +6 -8
  186. package/dist/primitives/threadList/ThreadListItems.d.ts.map +1 -1
  187. package/dist/primitives/threadList/ThreadListItems.js +1 -1
  188. package/dist/primitives/threadList/ThreadListItems.js.map +1 -1
  189. package/dist/primitives/threadList/ThreadListNew.d.ts +5 -7
  190. package/dist/primitives/threadList/ThreadListNew.d.ts.map +1 -1
  191. package/dist/primitives/threadList/ThreadListNew.js +21 -17
  192. package/dist/primitives/threadList/ThreadListNew.js.map +1 -1
  193. package/dist/primitives/threadList/ThreadListRoot.d.ts +3 -5
  194. package/dist/primitives/threadList/ThreadListRoot.d.ts.map +1 -1
  195. package/dist/primitives/threadList/ThreadListRoot.js.map +1 -1
  196. package/dist/primitives/threadList.d.ts +3 -8
  197. package/dist/primitives/threadList.d.ts.map +1 -1
  198. package/dist/primitives/threadListItem/ThreadListItemArchive.d.ts +2 -4
  199. package/dist/primitives/threadListItem/ThreadListItemArchive.d.ts.map +1 -1
  200. package/dist/primitives/threadListItem/ThreadListItemArchive.js.map +1 -1
  201. package/dist/primitives/threadListItem/ThreadListItemDelete.d.ts +2 -4
  202. package/dist/primitives/threadListItem/ThreadListItemDelete.d.ts.map +1 -1
  203. package/dist/primitives/threadListItem/ThreadListItemDelete.js.map +1 -1
  204. package/dist/primitives/threadListItem/ThreadListItemRoot.d.ts +3 -5
  205. package/dist/primitives/threadListItem/ThreadListItemRoot.d.ts.map +1 -1
  206. package/dist/primitives/threadListItem/ThreadListItemRoot.js.map +1 -1
  207. package/dist/primitives/threadListItem/ThreadListItemTrigger.d.ts +5 -7
  208. package/dist/primitives/threadListItem/ThreadListItemTrigger.d.ts.map +1 -1
  209. package/dist/primitives/threadListItem/ThreadListItemTrigger.js +21 -17
  210. package/dist/primitives/threadListItem/ThreadListItemTrigger.js.map +1 -1
  211. package/dist/primitives/threadListItem/ThreadListItemUnarchive.d.ts +2 -4
  212. package/dist/primitives/threadListItem/ThreadListItemUnarchive.d.ts.map +1 -1
  213. package/dist/primitives/threadListItem/ThreadListItemUnarchive.js.map +1 -1
  214. package/dist/primitives/threadListItem.d.ts +6 -11
  215. package/dist/primitives/threadListItem.d.ts.map +1 -1
  216. package/dist/runtimes/useLocalRuntime.d.ts +2 -2
  217. package/dist/runtimes/useLocalRuntime.d.ts.map +1 -0
  218. package/dist/runtimes/useRemoteThreadListRuntime.d.ts +2 -2
  219. package/dist/runtimes/useRemoteThreadListRuntime.d.ts.map +1 -0
  220. package/package.json +12 -9
  221. package/src/index.ts +90 -1
  222. package/src/primitives/actionBar/ActionBar.test.tsx +76 -0
  223. package/src/primitives/actionBar/ActionBarFeedbackNegative.tsx +4 -1
  224. package/src/primitives/actionBar/ActionBarFeedbackPositive.tsx +4 -1
  225. package/src/primitives/composer/ComposerInput.test.tsx +17 -1
  226. package/src/primitives/composer/ComposerInput.tsx +6 -1
  227. package/src/primitives/message/MessageContent.test.tsx +110 -4
  228. package/src/primitives/message/MessageContent.tsx +8 -4
  229. package/src/primitives/thread/ThreadMessages.test.tsx +111 -5
  230. package/src/primitives/thread/ThreadMessages.tsx +41 -11
  231. package/src/primitives/threadList/ThreadListNew.test.tsx +35 -8
  232. package/src/primitives/threadList/ThreadListNew.tsx +4 -1
  233. package/src/primitives/threadListItem/ThreadListItemTrigger.test.tsx +32 -6
  234. package/src/primitives/threadListItem/ThreadListItemTrigger.tsx +4 -1
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 AgentbaseAI Inc.
3
+ Copyright (c) 2026 AgentbaseAI Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,2 +1,2 @@
1
- import { AssistantRuntimeProvider } from "@assistant-ui/core/react";
2
- export { AssistantRuntimeProvider };
1
+ export { AssistantRuntimeProvider } from "@assistant-ui/core/react";
2
+ //# sourceMappingURL=AssistantContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AssistantContext.d.ts","sourceRoot":"","sources":["../../src/context/AssistantContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -1,2 +1,2 @@
1
- import { ComposerAttachmentByIndexProvider, MessageAttachmentByIndexProvider } from "@assistant-ui/core/react";
2
- export { ComposerAttachmentByIndexProvider, MessageAttachmentByIndexProvider };
1
+ export { MessageAttachmentByIndexProvider, ComposerAttachmentByIndexProvider, } from "@assistant-ui/core/react";
2
+ //# sourceMappingURL=AttachmentByIndexProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentByIndexProvider.d.ts","sourceRoot":"","sources":["../../../src/context/providers/AttachmentByIndexProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,iCAAiC,GAClC,MAAM,0BAA0B,CAAC"}
@@ -1,2 +1,2 @@
1
- import { RuntimeAdapterProvider, RuntimeAdapters, useRuntimeAdapters } from "@assistant-ui/core/react";
2
- export { RuntimeAdapterProvider, type RuntimeAdapters, useRuntimeAdapters };
1
+ export { RuntimeAdapterProvider, useRuntimeAdapters, type RuntimeAdapters, } from "@assistant-ui/core/react";
2
+ //# sourceMappingURL=RuntimeAdapterProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RuntimeAdapterProvider.d.ts","sourceRoot":"","sources":["../../../src/context/providers/RuntimeAdapterProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,KAAK,eAAe,GACrB,MAAM,0BAA0B,CAAC"}
@@ -1,2 +1,2 @@
1
- import { ThreadListItemRuntimeProvider } from "@assistant-ui/core/react";
2
- export { ThreadListItemRuntimeProvider };
1
+ export { ThreadListItemRuntimeProvider } from "@assistant-ui/core/react";
2
+ //# sourceMappingURL=ThreadListItemRuntimeProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThreadListItemRuntimeProvider.d.ts","sourceRoot":"","sources":["../../../src/context/providers/ThreadListItemRuntimeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,23 +1,54 @@
1
- /// <reference types="@assistant-ui/core/react" />
2
- import { AssistantRuntimeProvider } from "./context/AssistantContext.js";
3
- import { LocalRuntimeOptions, useLocalRuntime } from "./runtimes/useLocalRuntime.js";
4
- import { useRemoteThreadListRuntime } from "./runtimes/useRemoteThreadListRuntime.js";
5
- import { thread_d_exports } from "./primitives/thread.js";
6
- import { composer_d_exports } from "./primitives/composer.js";
7
- import { queueItem_d_exports } from "./primitives/queueItem.js";
8
- import { message_d_exports } from "./primitives/message.js";
9
- import { messagePart_d_exports } from "./primitives/messagePart.js";
10
- import { threadList_d_exports } from "./primitives/threadList.js";
11
- import { actionBar_d_exports } from "./primitives/actionBar.js";
12
- import { branchPicker_d_exports } from "./primitives/branchPicker.js";
13
- import { attachment_d_exports } from "./primitives/attachment.js";
14
- import { threadListItem_d_exports } from "./primitives/threadListItem.js";
15
- import { chainOfThought_d_exports } from "./primitives/chainOfThought.js";
16
- import { suggestion_d_exports } from "./primitives/suggestion.js";
17
- import { index_d_exports } from "./primitives/error/index.js";
18
- import { AppendMessage, AssistantRuntime, Attachment, AttachmentAdapter, AttachmentRuntime, ChatModelAdapter, ChatModelRunOptions, ChatModelRunResult, CompleteAttachment, ComposerRuntime, CompositeAttachmentAdapter, CreateAttachment, CreateSuggestionAdapterOptions, DataMessagePart, EditComposerRuntime, ExportedMessageRepository, ExportedMessageRepositoryItem, ExternalStoreAdapter, ExternalStoreBranchChange, ExternalStoreMessageConverter, ExternalStoreSharedOptions, ExternalStoreThreadData, ExternalStoreThreadListAdapter, ExternalThreadBranchAdapter, ExternalThreadQueueAdapter, FeedbackAdapter, FileMessagePart, ImageMessagePart, InMemoryThreadListAdapter, LanguageModelConfig, LanguageModelV1CallSettings, MessageNotSentError, MessageQueueController, MessageQueueDriver, MessageRole, MessageRuntime, MessageStatus, ModelContext, ModelContextProvider, ModelContextRegistry, ModelContextRegistryInstructionHandle, ModelContextRegistryProviderHandle, ModelContextRegistryToolHandle, PendingAttachment, RealtimeVoiceAdapter, ReasoningMessagePart, RemoteThreadListAdapter, RemoteThreadListOptions, RemoteThreadListProviderComponent, RespondToToolApprovalOptions, RunConfig, RuntimeCapabilities, SimpleImageAttachmentAdapter, SimpleTextAttachmentAdapter, SourceMessagePart, SuggestionAdapter, SuggestionAdapterGenerateOptions, TextMessagePart, ThreadAssistantMessage, ThreadAssistantMessagePart, ThreadComposerRuntime, ThreadHistoryAdapter, ThreadListItemRuntime, ThreadListRuntime, ThreadMessage, ThreadMessageLike, ThreadRuntime, ThreadSystemMessage, ThreadUserMessage, ThreadUserMessagePart, ToolApprovalDisplay, ToolApprovalOption, ToolApprovalOptionKind, ToolApprovalResponse, ToolCallMessagePart, ToolCallTiming, ToolModelContentPart, Unstable_AudioMessagePart, Unstable_InteractableSnapshotEntry, Unstable_InteractableVersion, Unsubscribe, VoiceSessionControls, VoiceSessionHelpers, bindExternalStoreMessage, createMessageQueue, createSuggestionAdapter, createVoiceSession, fromThreadMessageLike, generateId, getExternalStoreMessages, isMessageNotSentError, mergeModelContexts, pickExternalStoreSharedOptions, tool, toolApprovalAcceptsText, unstable_formatInteractableSnapshot, unstable_getInteractableSnapshots, unstable_getInteractableVersions } from "@assistant-ui/core";
19
- import { AssistantClient, AssistantEventCallback, AssistantEventName, AssistantEventPayload, AssistantEventScope, AssistantEventSelector, AssistantState, AuiConfig, AuiIf, AuiProvider, useAui, useAuiEvent, useAuiState } from "@assistant-ui/store";
20
- import { AssistantContextConfig, AssistantDataUI, AssistantDataUIProps, AssistantInteractableProps, AssistantTool, AssistantToolProps, AssistantToolUI, AssistantToolUIProps, ChainOfThoughtByIndicesProvider, ChainOfThoughtPartByIndexProvider, ComposerAttachmentByIndexProvider, DataMessagePartComponent, DataMessagePartProps, DataRenderers, EmptyMessagePartComponent, EmptyMessagePartProps, ExternalMessageConversionCache as Unstable_ExternalMessageConversionCache, FileMessagePartComponent, FileMessagePartProps, GroupByContext, ImageMessagePartComponent, ImageMessagePartProps, Interactables, JoinStrategy, McpToolkitDefinition, McpToolkitEntry, McpToolkitToolConfig, MessageAttachmentByIndexProvider, MessageByIndexProvider, PartByIndexProvider, ProviderToolConfig, ReasoningGroupComponent, ReasoningGroupProps, ReasoningMessagePartComponent, ReasoningMessagePartProps, RuntimeAdapterProvider, RuntimeAdapters, SourceMessagePartComponent, SourceMessagePartProps, SuggestionByIndexProvider, TextMessagePartComponent, TextMessagePartProps, TextMessagePartProvider, ThreadListItemByIndexProvider, ThreadListItemRuntimeProvider, ToolArgsStatus, ToolCallMessagePartComponent, ToolCallMessagePartProps, ToolCallText, ToolDefinition, Toolkit, ToolkitDefinition, ToolkitDefinitionEntry, Tools, Unstable_AudioMessagePartComponent, Unstable_AudioMessagePartProps, Unstable_InferInteractableState, Unstable_InteractableConfig, Unstable_InteractableDefinition, Unstable_InteractablePersistedState, Unstable_InteractablePersistenceAdapter, Unstable_InteractablePersistenceStatus, Unstable_InteractableRegistration, Unstable_InteractableStateSchema, Unstable_InteractableToolConfig, Unstable_InteractableToolRenderProps, Unstable_InteractableVersionInfo, Unstable_InteractablesClientSchema, Unstable_InteractablesConfig, Unstable_InteractablesMethods, Unstable_InteractablesState, convertExternalMessages as unstable_convertExternalMessages, createExternalMessageConversionCache as unstable_createExternalMessageConversionCache, createMessageConverter as unstable_createMessageConverter, defineMcpToolkit, defineToolkit, externalTool, groupPartByType, hitl, hitlTool, humanTool, makeAssistantDataUI, makeAssistantTool, makeAssistantToolUI, providerTool, stubTool, unstable_Interactables, unstable_interactableTool, unstable_useInteractable, unstable_useInteractableState, unstable_useInteractableVersions, unstable_useThreadMessageIds, useAssistantContext, useAssistantDataUI, useAssistantInstructions, useAssistantInteractable, useAssistantTool, useAssistantToolUI, useAuiToolOverrides, useExternalMessageConverter, useExternalStoreRuntime, useExternalStoreSharedOptions, useInlineRender, useInteractableState, useRuntimeAdapters, useToolArgsStatus, useVoiceControls, useVoiceState, useVoiceVolume } from "@assistant-ui/core/react";
21
- import { AttachmentState, ChainOfThoughtClient, ComposerState, MessageState, ModelContext as ModelContextClient, QueueItemState, SuggestionConfig, Suggestions, TaskState, ThreadListItemState, ThreadState, ThreadsState } from "@assistant-ui/core/store";
22
- import { Tool } from "assistant-stream";
23
- export { actionBar_d_exports as ActionBarPrimitive, type AppendMessage, type AssistantClient, type AssistantContextConfig, type AssistantDataUI, type AssistantDataUIProps, type AssistantEventCallback, type AssistantEventName, type AssistantEventPayload, type AssistantEventScope, type AssistantEventSelector, type AssistantInteractableProps, type AssistantRuntime, AssistantRuntimeProvider, type AssistantState, type AssistantTool, type AssistantToolProps, type AssistantToolUI, type AssistantToolUIProps, type Attachment, type AttachmentAdapter, attachment_d_exports as AttachmentPrimitive, type AttachmentRuntime, type AttachmentState, AuiConfig, AuiIf, AuiProvider, branchPicker_d_exports as BranchPickerPrimitive, ChainOfThoughtByIndicesProvider, ChainOfThoughtClient, ChainOfThoughtPartByIndexProvider, chainOfThought_d_exports as ChainOfThoughtPrimitive, type ChatModelAdapter, type ChatModelRunOptions, type ChatModelRunResult, type CompleteAttachment, ComposerAttachmentByIndexProvider, composer_d_exports as ComposerPrimitive, type ComposerRuntime, type ComposerState, CompositeAttachmentAdapter, type CreateAttachment, type CreateSuggestionAdapterOptions, type DataMessagePart, type DataMessagePartComponent, type DataMessagePartProps, DataRenderers, type EditComposerRuntime, type EmptyMessagePartComponent, type EmptyMessagePartProps, index_d_exports as ErrorPrimitive, ExportedMessageRepository, type ExportedMessageRepositoryItem, type ExternalStoreAdapter, type ExternalStoreBranchChange, type ExternalStoreMessageConverter, type ExternalStoreSharedOptions, type ExternalStoreThreadData, type ExternalStoreThreadListAdapter, type ExternalThreadBranchAdapter, type ExternalThreadQueueAdapter, type FeedbackAdapter, type FileMessagePart, type FileMessagePartComponent, type FileMessagePartProps, type GroupByContext, type ImageMessagePart, type ImageMessagePartComponent, type ImageMessagePartProps, InMemoryThreadListAdapter, Interactables, type JoinStrategy, type LanguageModelConfig, type LanguageModelV1CallSettings, type LocalRuntimeOptions, type McpToolkitDefinition, type McpToolkitEntry, type McpToolkitToolConfig, MessageAttachmentByIndexProvider, MessageByIndexProvider, MessageNotSentError, messagePart_d_exports as MessagePartPrimitive, message_d_exports as MessagePrimitive, type MessageQueueController, type MessageQueueDriver, type MessageRole, type MessageRuntime, type MessageState, type MessageStatus, type ModelContext, ModelContextClient, type ModelContextProvider, ModelContextRegistry, type ModelContextRegistryInstructionHandle, type ModelContextRegistryProviderHandle, type ModelContextRegistryToolHandle, PartByIndexProvider, type PendingAttachment, type ProviderToolConfig, queueItem_d_exports as QueueItemPrimitive, type QueueItemState, type RealtimeVoiceAdapter, type ReasoningGroupComponent, type ReasoningGroupProps, type ReasoningMessagePart, type ReasoningMessagePartComponent, type ReasoningMessagePartProps, type RemoteThreadListAdapter, type RemoteThreadListOptions, type RemoteThreadListProviderComponent, type RespondToToolApprovalOptions, type RunConfig, RuntimeAdapterProvider, type RuntimeAdapters, type RuntimeCapabilities, SimpleImageAttachmentAdapter, SimpleTextAttachmentAdapter, type SourceMessagePart, type SourceMessagePartComponent, type SourceMessagePartProps, type SuggestionAdapter, type SuggestionAdapterGenerateOptions, SuggestionByIndexProvider, type SuggestionConfig, suggestion_d_exports as SuggestionPrimitive, Suggestions, type TaskState, type TextMessagePart, type TextMessagePartComponent, type TextMessagePartProps, TextMessagePartProvider, type ThreadAssistantMessage, type ThreadAssistantMessagePart, type ThreadComposerRuntime, type ThreadHistoryAdapter, ThreadListItemByIndexProvider, threadListItem_d_exports as ThreadListItemPrimitive, type ThreadListItemRuntime, ThreadListItemRuntimeProvider, type ThreadListItemState, threadList_d_exports as ThreadListPrimitive, type ThreadListRuntime, type ThreadMessage, type ThreadMessageLike, thread_d_exports as ThreadPrimitive, type ThreadRuntime, type ThreadState, type ThreadSystemMessage, type ThreadUserMessage, type ThreadUserMessagePart, type ThreadsState, type Tool, type ToolApprovalDisplay, type ToolApprovalOption, type ToolApprovalOptionKind, type ToolApprovalResponse, type ToolArgsStatus, type ToolCallMessagePart, type ToolCallMessagePartComponent, type ToolCallMessagePartProps, type ToolCallText, type ToolCallTiming, type ToolDefinition, type ToolModelContentPart, type Toolkit, type ToolkitDefinition, type ToolkitDefinitionEntry, Tools, type Unstable_AudioMessagePart, type Unstable_AudioMessagePartComponent, type Unstable_AudioMessagePartProps, type Unstable_ExternalMessageConversionCache, type Unstable_InferInteractableState, type Unstable_InteractableConfig, type Unstable_InteractableDefinition, type Unstable_InteractablePersistedState, type Unstable_InteractablePersistenceAdapter, type Unstable_InteractablePersistenceStatus, type Unstable_InteractableRegistration, type Unstable_InteractableSnapshotEntry, type Unstable_InteractableStateSchema, type Unstable_InteractableToolConfig, type Unstable_InteractableToolRenderProps, type Unstable_InteractableVersion, type Unstable_InteractableVersionInfo, type Unstable_InteractablesClientSchema, type Unstable_InteractablesConfig, type Unstable_InteractablesMethods, type Unstable_InteractablesState, type Unsubscribe, type VoiceSessionControls, type VoiceSessionHelpers, bindExternalStoreMessage, createMessageQueue, createSuggestionAdapter, createVoiceSession, defineMcpToolkit, defineToolkit, externalTool, fromThreadMessageLike, generateId, getExternalStoreMessages, groupPartByType, hitl, hitlTool, humanTool, isMessageNotSentError, makeAssistantDataUI, makeAssistantTool, makeAssistantToolUI, mergeModelContexts, pickExternalStoreSharedOptions, providerTool, stubTool, tool, toolApprovalAcceptsText, unstable_Interactables, unstable_convertExternalMessages, unstable_createExternalMessageConversionCache, unstable_createMessageConverter, unstable_formatInteractableSnapshot, unstable_getInteractableSnapshots, unstable_getInteractableVersions, unstable_interactableTool, unstable_useInteractable, unstable_useInteractableState, unstable_useInteractableVersions, unstable_useThreadMessageIds, useAssistantContext, useAssistantDataUI, useAssistantInstructions, useAssistantInteractable, useAssistantTool, useAssistantToolUI, useAui, useAuiEvent, useAuiState, useAuiToolOverrides, useExternalMessageConverter, useExternalStoreRuntime, useExternalStoreSharedOptions, useInlineRender, useInteractableState, useLocalRuntime, useRemoteThreadListRuntime, useRuntimeAdapters, useToolArgsStatus, useVoiceControls, useVoiceState, useVoiceVolume };
1
+ /// <reference types="@assistant-ui/core/react" preserve="true" />
2
+ export type { ThreadMessage, ThreadUserMessage, ThreadAssistantMessage, ThreadSystemMessage, MessageStatus, MessageRole, ThreadMessageLike, AppendMessage, RunConfig, TextMessagePart, ReasoningMessagePart, SourceMessagePart, RespondToToolApprovalOptions, ToolApprovalDisplay, ToolApprovalOption, ToolApprovalOptionKind, ToolApprovalResponse, ToolCallMessagePart, ToolCallMessagePartStatus, ToolCallTiming, ToolModelContentPart, ImageMessagePart, FileMessagePart, DataMessagePart, Unstable_AudioMessagePart, ThreadUserMessagePart, ThreadAssistantMessagePart, AssistantRuntime, ThreadRuntime, ThreadRuntimeState, MessageRuntime, MessageRuntimeState, ThreadComposerRuntime, EditComposerRuntime, ComposerRuntime, ComposerRuntimeState, ThreadListRuntime, ThreadListItemRuntime, ThreadListItemRuntimeState, ChatModelAdapter, ChatModelRunOptions, ChatModelRunResult, RuntimeCapabilities, Attachment, PendingAttachment, CompleteAttachment, CreateAttachment, AttachmentRuntime, AttachmentRuntimeState, AttachmentAdapter, ThreadHistoryAdapter, FeedbackAdapter, RealtimeVoiceAdapter, VoiceSessionControls, VoiceSessionHelpers, SuggestionAdapter, SuggestionAdapterGenerateOptions, CreateSuggestionAdapterOptions, Unsubscribe, } from "@assistant-ui/core";
3
+ export type { RemoteThreadListAdapter, RemoteThreadListOptions, RemoteThreadListProviderComponent, } from "@assistant-ui/core";
4
+ export { InMemoryThreadListAdapter } from "@assistant-ui/core";
5
+ export { createVoiceSession, toolApprovalAcceptsText, } from "@assistant-ui/core";
6
+ export { fromThreadMessageLike, generateId } from "@assistant-ui/core";
7
+ export { createSuggestionAdapter } from "@assistant-ui/core";
8
+ export { SimpleImageAttachmentAdapter, SimpleTextAttachmentAdapter, CompositeAttachmentAdapter, } from "@assistant-ui/core";
9
+ export type { ThreadState, ThreadsState, MessageState, ComposerState, AttachmentState, ThreadListItemState, QueueItemState, TaskState, } from "@assistant-ui/core/store";
10
+ export { useAui, useAuiState, useAuiEvent, AuiProvider, AuiConfig, AuiIf, type AssistantClient, type AssistantState, type AssistantEventScope, type AssistantEventSelector, type AssistantEventName, type AssistantEventPayload, type AssistantEventCallback, } from "@assistant-ui/store";
11
+ export { AssistantRuntimeProvider } from "./context/AssistantContext.js";
12
+ export { RuntimeAdapterProvider, useRuntimeAdapters, type RuntimeAdapters, } from "@assistant-ui/core/react";
13
+ export { useLocalRuntime, type LocalRuntimeOptions, } from "./runtimes/useLocalRuntime.js";
14
+ export { useRemoteThreadListRuntime } from "./runtimes/useRemoteThreadListRuntime.js";
15
+ export { getExternalStoreMessages, bindExternalStoreMessage, pickExternalStoreSharedOptions, createMessageQueue, MessageNotSentError, isMessageNotSentError, type ExternalStoreAdapter, type ExternalStoreMessageConverter, type ExternalStoreSharedOptions, type ExternalStoreThreadListAdapter, type ExternalStoreThreadData, type ExternalStoreBranchChange, type ExternalThreadQueueAdapter, type ExternalThreadBranchAdapter, type MessageQueueDriver, type MessageQueueController, } from "@assistant-ui/core";
16
+ export { useExternalStoreRuntime, useExternalStoreSharedOptions, useExternalMessageConverter, convertExternalMessages as unstable_convertExternalMessages, createExternalMessageConversionCache as unstable_createExternalMessageConversionCache, createMessageConverter as unstable_createMessageConverter, type ExternalMessageConversionCache as Unstable_ExternalMessageConversionCache, type JoinStrategy, } from "@assistant-ui/core/react";
17
+ export * as ThreadPrimitive from "./primitives/thread.js";
18
+ export * as ComposerPrimitive from "./primitives/composer.js";
19
+ export * as QueueItemPrimitive from "./primitives/queueItem.js";
20
+ export * as MessagePrimitive from "./primitives/message.js";
21
+ export * as MessagePartPrimitive from "./primitives/messagePart.js";
22
+ export * as ThreadListPrimitive from "./primitives/threadList.js";
23
+ export * as ActionBarPrimitive from "./primitives/actionBar.js";
24
+ export * as BranchPickerPrimitive from "./primitives/branchPicker.js";
25
+ export * as AttachmentPrimitive from "./primitives/attachment.js";
26
+ export * as ThreadListItemPrimitive from "./primitives/threadListItem.js";
27
+ export * as ChainOfThoughtPrimitive from "./primitives/chainOfThought.js";
28
+ export * as SuggestionPrimitive from "./primitives/suggestion.js";
29
+ export * as ErrorPrimitive from "./primitives/error/index.js";
30
+ export { groupPartByType, type GroupByContext } from "@assistant-ui/core/react";
31
+ export { unstable_useThreadMessageIds } from "@assistant-ui/core/react";
32
+ export { ThreadListItemByIndexProvider, ThreadListItemRuntimeProvider, ChainOfThoughtByIndicesProvider, MessageByIndexProvider, MessageAttachmentByIndexProvider, ComposerAttachmentByIndexProvider, PartByIndexProvider, TextMessagePartProvider, ChainOfThoughtPartByIndexProvider, SuggestionByIndexProvider, ReadonlyThreadProvider, } from "@assistant-ui/core/react";
33
+ export { makeAssistantTool, type AssistantTool, makeAssistantToolUI, type AssistantToolUI, makeAssistantDataUI, type AssistantDataUI, useAssistantTool, type AssistantToolProps, useAssistantToolUI, type AssistantToolUIProps, useAssistantDataUI, type AssistantDataUIProps, useAssistantInstructions, useAssistantContext, type AssistantContextConfig, useInlineRender, type Toolkit, type ToolDefinition, type ToolkitDefinition, type ToolkitDefinitionEntry, type ToolCallText, defineToolkit, stubTool, externalTool, useAuiToolOverrides, hitl, hitlTool, humanTool, providerTool, type ProviderToolConfig, defineMcpToolkit, type McpToolkitEntry, type McpToolkitDefinition, type McpToolkitToolConfig, Tools, DataRenderers, Interactables, useAssistantInteractable, type AssistantInteractableProps, useInteractableState, unstable_Interactables, unstable_useInteractable, type Unstable_InteractableConfig, type Unstable_InferInteractableState, type Unstable_InteractableVersionInfo, unstable_useInteractableState, unstable_useInteractableVersions, unstable_interactableTool, type Unstable_InteractableToolConfig, type Unstable_InteractableToolRenderProps, type Unstable_InteractableStateSchema, type Unstable_InteractablesState, type Unstable_InteractableDefinition, type Unstable_InteractableRegistration, type Unstable_InteractablesMethods, type Unstable_InteractablePersistedState, type Unstable_InteractablePersistenceAdapter, type Unstable_InteractablePersistenceStatus, type Unstable_InteractablesClientSchema, type Unstable_InteractablesConfig, useToolArgsStatus, type ToolArgsStatus, } from "@assistant-ui/core/react";
34
+ export type { ModelContext, ModelContextProvider, LanguageModelConfig, LanguageModelV1CallSettings, } from "@assistant-ui/core";
35
+ export { mergeModelContexts } from "@assistant-ui/core";
36
+ export { unstable_getInteractableSnapshots, unstable_formatInteractableSnapshot, unstable_getInteractableVersions, type Unstable_InteractableSnapshotEntry, type Unstable_InteractableVersion, } from "@assistant-ui/core";
37
+ export type { ExportedMessageRepositoryItem } from "@assistant-ui/core";
38
+ export { ExportedMessageRepository } from "@assistant-ui/core";
39
+ export type { Tool } from "assistant-stream";
40
+ export { tool } from "@assistant-ui/core";
41
+ export { Suggestions, type SuggestionConfig } from "@assistant-ui/core/store";
42
+ export { ModelContextRegistry } from "@assistant-ui/core";
43
+ export type { ModelContextRegistryToolHandle, ModelContextRegistryInstructionHandle, ModelContextRegistryProviderHandle, } from "@assistant-ui/core";
44
+ export { ModelContext as ModelContextClient } from "@assistant-ui/core/store";
45
+ export { ChainOfThoughtClient } from "@assistant-ui/core/store";
46
+ export type { EmptyMessagePartComponent, EmptyMessagePartProps, TextMessagePartComponent, TextMessagePartProps, ReasoningMessagePartComponent, ReasoningMessagePartProps, ReasoningGroupProps, ReasoningGroupComponent, SourceMessagePartComponent, SourceMessagePartProps, ImageMessagePartComponent, ImageMessagePartProps, FileMessagePartComponent, FileMessagePartProps, Unstable_AudioMessagePartComponent, Unstable_AudioMessagePartProps, DataMessagePartComponent, DataMessagePartProps, ToolCallMessagePartComponent, ToolCallMessagePartProps, } from "@assistant-ui/core/react";
47
+ export { useVoiceState, useVoiceVolume, useVoiceControls, } from "@assistant-ui/core/react";
48
+ export type { AssistantTransportProtocol, EnrichedPartState, GenerativeUIComponentRegistry, GenerativeUIMessagePartComponent, GenerativeUIMessagePartProps, GenerativeUIRenderProps, McpAppResourceOutput, PartState, QuoteMessagePartComponent, QuoteMessagePartProps, TitleGenerationAdapter, } from "@assistant-ui/core/react";
49
+ export { CloudFileAttachmentAdapter, createSimpleTitleAdapter, GenerativeUIRender, GenerativeUIRenderError, useCloudThreadListAdapter, useCloudThreadListRuntime, } from "@assistant-ui/core/react";
50
+ export type { ComposerSendOptions, ExternalThreadMessage, ExternalThreadProps, InMemoryThreadListProps, QueueItemMethods, RemoteThreadListProps, TaskMethods, } from "@assistant-ui/core/store";
51
+ export { ExternalThread, InMemoryThreadList, RemoteThreadList, SingleThreadList, } from "@assistant-ui/core/store";
52
+ export type { AddToolResultOptions, AttachmentStatus, ChatModelRunUpdate, CreateAppendMessage, CreateResumeRunConfig, CreateStartRunConfig, ComposerSubmission, DictationAdapter, DictationState, EditComposerState, GenerativeUIMessagePart, GenerativeUINode, GenerativeUISpec, GenericThreadHistoryAdapter, LocalRuntimeOptionsBase, McpAppMetadata, MessageFormatAdapter, MessageFormatItem, MessageFormatRepository, MessageModality, MessagePartRuntime, MessagePartState, MessagePartStatus, MessagePartStreamStatus, MessageStorageEntry, MessageTiming, PartProviderMetadata, QuoteInfo, SourceProviderMetadata, SpeechSynthesisAdapter, SubmitFeedbackOptions, ThreadComposerState, ThreadListItemStatus, ThreadListState, ThreadSuggestion, ToolCallMessagePartMcpMetadata, ToolExecutionStatus, Unstable_DirectiveFormatter, Unstable_DirectiveSegment, Unstable_TriggerItem, VoiceSessionState, } from "@assistant-ui/core";
53
+ export { unstable_defaultDirectiveFormatter } from "@assistant-ui/core";
54
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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"}
package/dist/index.js CHANGED
@@ -14,8 +14,8 @@ import { threadListItem_exports } from "./primitives/threadListItem.js";
14
14
  import { chainOfThought_exports } from "./primitives/chainOfThought.js";
15
15
  import { suggestion_exports } from "./primitives/suggestion.js";
16
16
  import { error_exports } from "./primitives/error/index.js";
17
- import { CompositeAttachmentAdapter, ExportedMessageRepository, InMemoryThreadListAdapter, MessageNotSentError, ModelContextRegistry, SimpleImageAttachmentAdapter, SimpleTextAttachmentAdapter, bindExternalStoreMessage, createMessageQueue, createSuggestionAdapter, createVoiceSession, fromThreadMessageLike, generateId, getExternalStoreMessages, isMessageNotSentError, mergeModelContexts, pickExternalStoreSharedOptions, tool, toolApprovalAcceptsText, unstable_formatInteractableSnapshot, unstable_getInteractableSnapshots, unstable_getInteractableVersions } from "@assistant-ui/core";
17
+ import { ChainOfThoughtByIndicesProvider, ChainOfThoughtPartByIndexProvider, CloudFileAttachmentAdapter, ComposerAttachmentByIndexProvider, DataRenderers, GenerativeUIRender, GenerativeUIRenderError, Interactables, MessageAttachmentByIndexProvider, MessageByIndexProvider, PartByIndexProvider, ReadonlyThreadProvider, RuntimeAdapterProvider, SuggestionByIndexProvider, TextMessagePartProvider, ThreadListItemByIndexProvider, ThreadListItemRuntimeProvider, Tools, convertExternalMessages as unstable_convertExternalMessages, createExternalMessageConversionCache as unstable_createExternalMessageConversionCache, createMessageConverter as unstable_createMessageConverter, createSimpleTitleAdapter, defineMcpToolkit, defineToolkit, externalTool, groupPartByType, hitl, hitlTool, humanTool, makeAssistantDataUI, makeAssistantTool, makeAssistantToolUI, providerTool, stubTool, unstable_Interactables, unstable_interactableTool, unstable_useInteractable, unstable_useInteractableState, unstable_useInteractableVersions, unstable_useThreadMessageIds, useAssistantContext, useAssistantDataUI, useAssistantInstructions, useAssistantInteractable, useAssistantTool, useAssistantToolUI, useAuiToolOverrides, useCloudThreadListAdapter, useCloudThreadListRuntime, useExternalMessageConverter, useExternalStoreRuntime, useExternalStoreSharedOptions, useInlineRender, useInteractableState, useRuntimeAdapters, useToolArgsStatus, useVoiceControls, useVoiceState, useVoiceVolume } from "@assistant-ui/core/react";
18
+ import { CompositeAttachmentAdapter, ExportedMessageRepository, InMemoryThreadListAdapter, MessageNotSentError, ModelContextRegistry, SimpleImageAttachmentAdapter, SimpleTextAttachmentAdapter, bindExternalStoreMessage, createMessageQueue, createSuggestionAdapter, createVoiceSession, fromThreadMessageLike, generateId, getExternalStoreMessages, isMessageNotSentError, mergeModelContexts, pickExternalStoreSharedOptions, tool, toolApprovalAcceptsText, unstable_defaultDirectiveFormatter, unstable_formatInteractableSnapshot, unstable_getInteractableSnapshots, unstable_getInteractableVersions } from "@assistant-ui/core";
18
19
  import { AuiConfig, AuiIf, AuiProvider, useAui, useAuiEvent, useAuiState } from "@assistant-ui/store";
19
- import { ChainOfThoughtByIndicesProvider, ChainOfThoughtPartByIndexProvider, ComposerAttachmentByIndexProvider, DataRenderers, Interactables, MessageAttachmentByIndexProvider, MessageByIndexProvider, PartByIndexProvider, RuntimeAdapterProvider, SuggestionByIndexProvider, TextMessagePartProvider, ThreadListItemByIndexProvider, ThreadListItemRuntimeProvider, Tools, convertExternalMessages as unstable_convertExternalMessages, createExternalMessageConversionCache as unstable_createExternalMessageConversionCache, createMessageConverter as unstable_createMessageConverter, defineMcpToolkit, defineToolkit, externalTool, groupPartByType, hitl, hitlTool, humanTool, makeAssistantDataUI, makeAssistantTool, makeAssistantToolUI, providerTool, stubTool, unstable_Interactables, unstable_interactableTool, unstable_useInteractable, unstable_useInteractableState, unstable_useInteractableVersions, unstable_useThreadMessageIds, useAssistantContext, useAssistantDataUI, useAssistantInstructions, useAssistantInteractable, useAssistantTool, useAssistantToolUI, useAuiToolOverrides, useExternalMessageConverter, useExternalStoreRuntime, useExternalStoreSharedOptions, useInlineRender, useInteractableState, useRuntimeAdapters, useToolArgsStatus, useVoiceControls, useVoiceState, useVoiceVolume } from "@assistant-ui/core/react";
20
- import { ChainOfThoughtClient, ModelContext as ModelContextClient, Suggestions } from "@assistant-ui/core/store";
21
- export { actionBar_exports as ActionBarPrimitive, AssistantRuntimeProvider, attachment_exports as AttachmentPrimitive, AuiConfig, AuiIf, AuiProvider, branchPicker_exports as BranchPickerPrimitive, ChainOfThoughtByIndicesProvider, ChainOfThoughtClient, ChainOfThoughtPartByIndexProvider, chainOfThought_exports as ChainOfThoughtPrimitive, ComposerAttachmentByIndexProvider, composer_exports as ComposerPrimitive, CompositeAttachmentAdapter, DataRenderers, error_exports as ErrorPrimitive, ExportedMessageRepository, InMemoryThreadListAdapter, Interactables, MessageAttachmentByIndexProvider, MessageByIndexProvider, MessageNotSentError, messagePart_exports as MessagePartPrimitive, message_exports as MessagePrimitive, ModelContextClient, ModelContextRegistry, PartByIndexProvider, queueItem_exports as QueueItemPrimitive, RuntimeAdapterProvider, SimpleImageAttachmentAdapter, SimpleTextAttachmentAdapter, SuggestionByIndexProvider, suggestion_exports as SuggestionPrimitive, Suggestions, TextMessagePartProvider, ThreadListItemByIndexProvider, threadListItem_exports as ThreadListItemPrimitive, ThreadListItemRuntimeProvider, threadList_exports as ThreadListPrimitive, thread_exports as ThreadPrimitive, Tools, bindExternalStoreMessage, createMessageQueue, createSuggestionAdapter, createVoiceSession, defineMcpToolkit, defineToolkit, externalTool, fromThreadMessageLike, generateId, getExternalStoreMessages, groupPartByType, hitl, hitlTool, humanTool, isMessageNotSentError, makeAssistantDataUI, makeAssistantTool, makeAssistantToolUI, mergeModelContexts, pickExternalStoreSharedOptions, providerTool, stubTool, tool, toolApprovalAcceptsText, unstable_Interactables, unstable_convertExternalMessages, unstable_createExternalMessageConversionCache, unstable_createMessageConverter, unstable_formatInteractableSnapshot, unstable_getInteractableSnapshots, unstable_getInteractableVersions, unstable_interactableTool, unstable_useInteractable, unstable_useInteractableState, unstable_useInteractableVersions, unstable_useThreadMessageIds, useAssistantContext, useAssistantDataUI, useAssistantInstructions, useAssistantInteractable, useAssistantTool, useAssistantToolUI, useAui, useAuiEvent, useAuiState, useAuiToolOverrides, useExternalMessageConverter, useExternalStoreRuntime, useExternalStoreSharedOptions, useInlineRender, useInteractableState, useLocalRuntime, useRemoteThreadListRuntime, useRuntimeAdapters, useToolArgsStatus, useVoiceControls, useVoiceState, useVoiceVolume };
20
+ import { ChainOfThoughtClient, ExternalThread, InMemoryThreadList, ModelContext as ModelContextClient, RemoteThreadList, SingleThreadList, Suggestions } from "@assistant-ui/core/store";
21
+ export { actionBar_exports as ActionBarPrimitive, AssistantRuntimeProvider, attachment_exports as AttachmentPrimitive, AuiConfig, AuiIf, AuiProvider, branchPicker_exports as BranchPickerPrimitive, ChainOfThoughtByIndicesProvider, ChainOfThoughtClient, ChainOfThoughtPartByIndexProvider, chainOfThought_exports as ChainOfThoughtPrimitive, CloudFileAttachmentAdapter, ComposerAttachmentByIndexProvider, composer_exports as ComposerPrimitive, CompositeAttachmentAdapter, DataRenderers, error_exports as ErrorPrimitive, ExportedMessageRepository, ExternalThread, GenerativeUIRender, GenerativeUIRenderError, InMemoryThreadList, InMemoryThreadListAdapter, Interactables, MessageAttachmentByIndexProvider, MessageByIndexProvider, MessageNotSentError, messagePart_exports as MessagePartPrimitive, message_exports as MessagePrimitive, ModelContextClient, ModelContextRegistry, PartByIndexProvider, queueItem_exports as QueueItemPrimitive, ReadonlyThreadProvider, RemoteThreadList, RuntimeAdapterProvider, SimpleImageAttachmentAdapter, SimpleTextAttachmentAdapter, SingleThreadList, SuggestionByIndexProvider, suggestion_exports as SuggestionPrimitive, Suggestions, TextMessagePartProvider, ThreadListItemByIndexProvider, threadListItem_exports as ThreadListItemPrimitive, ThreadListItemRuntimeProvider, threadList_exports as ThreadListPrimitive, thread_exports as ThreadPrimitive, Tools, bindExternalStoreMessage, createMessageQueue, createSimpleTitleAdapter, createSuggestionAdapter, createVoiceSession, defineMcpToolkit, defineToolkit, externalTool, fromThreadMessageLike, generateId, getExternalStoreMessages, groupPartByType, hitl, hitlTool, humanTool, isMessageNotSentError, makeAssistantDataUI, makeAssistantTool, makeAssistantToolUI, mergeModelContexts, pickExternalStoreSharedOptions, providerTool, stubTool, tool, toolApprovalAcceptsText, unstable_Interactables, unstable_convertExternalMessages, unstable_createExternalMessageConversionCache, unstable_createMessageConverter, unstable_defaultDirectiveFormatter, unstable_formatInteractableSnapshot, unstable_getInteractableSnapshots, unstable_getInteractableVersions, unstable_interactableTool, unstable_useInteractable, unstable_useInteractableState, unstable_useInteractableVersions, unstable_useThreadMessageIds, useAssistantContext, useAssistantDataUI, useAssistantInstructions, useAssistantInteractable, useAssistantTool, useAssistantToolUI, useAui, useAuiEvent, useAuiState, useAuiToolOverrides, useCloudThreadListAdapter, useCloudThreadListRuntime, useExternalMessageConverter, useExternalStoreRuntime, useExternalStoreSharedOptions, useInlineRender, useInteractableState, useLocalRuntime, useRemoteThreadListRuntime, useRuntimeAdapters, useToolArgsStatus, useVoiceControls, useVoiceState, useVoiceVolume };
@@ -1,3 +1,4 @@
1
- import { ThreadListRuntimeCore, ThreadRuntimeCore } from "@assistant-ui/core";
2
- import { AssistantRuntimeImpl, BaseAssistantRuntimeCore, CompositeContextProvider, DefaultThreadComposerRuntimeCore, MessageRepository, ThreadListItemRuntimeBinding, ThreadRuntimeCoreBinding, ThreadRuntimeImpl, getAutoStatus } from "@assistant-ui/core/internal";
3
- export { AssistantRuntimeImpl, BaseAssistantRuntimeCore, CompositeContextProvider, DefaultThreadComposerRuntimeCore, MessageRepository, type ThreadListItemRuntimeBinding, type ThreadListRuntimeCore, type ThreadRuntimeCore, type ThreadRuntimeCoreBinding, ThreadRuntimeImpl, getAutoStatus };
1
+ export type { ThreadRuntimeCore, ThreadListRuntimeCore, } from "@assistant-ui/core";
2
+ export { DefaultThreadComposerRuntimeCore, CompositeContextProvider, MessageRepository, BaseAssistantRuntimeCore, AssistantRuntimeImpl, ThreadRuntimeImpl, getAutoStatus, } from "@assistant-ui/core/internal";
3
+ export type { ThreadRuntimeCoreBinding, ThreadListItemRuntimeBinding, } from "@assistant-ui/core/internal";
4
+ //# sourceMappingURL=internal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AACA,YAAY,EACV,iBAAiB,EACjB,qBAAqB,GACtB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACL,gCAAgC,EAChC,wBAAwB,EACxB,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACpB,iBAAiB,EACjB,aAAa,GACd,MAAM,6BAA6B,CAAC;AACrC,YAAY,EACV,wBAAwB,EACxB,4BAA4B,GAC7B,MAAM,6BAA6B,CAAC"}
@@ -1,13 +1,11 @@
1
- import { UseActionBarCopyOptions } from "@assistant-ui/core/react";
2
- import { PressableProps } from "react-native";
3
- import { ReactNode } from "react";
4
- //#region src/primitives/actionBar/ActionBarCopy.d.ts
1
+ import type { ReactNode } from "react";
2
+ import { type PressableProps } from "react-native";
3
+ import { type UseActionBarCopyOptions } from "@assistant-ui/core/react";
5
4
  export type ActionBarCopyProps = Omit<PressableProps, "onPress" | "children"> & UseActionBarCopyOptions & {
6
- children: ReactNode | ((props: {
7
- isCopied: boolean;
8
- disabled: boolean;
9
- }) => ReactNode);
5
+ children: ReactNode | ((props: {
6
+ isCopied: boolean;
7
+ disabled: boolean;
8
+ }) => ReactNode);
10
9
  };
11
10
  export declare const ActionBarCopy: ({ children, disabled: disabledProp, copiedDuration, copyToClipboard, ...pressableProps }: ActionBarCopyProps) => import("react").JSX.Element;
12
- //#endregion
13
11
  //# sourceMappingURL=ActionBarCopy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionBarCopy.d.ts","names":[],"sources":["../../../src/primitives/actionBar/ActionBarCopy.tsx"],"mappings":";;;;YAOY,qBAAqB,KAAK,0CACpC;EACE,UACI,cACE;IAAS;IAAmB;QAAwB;;qBAGjD,kBAAiB,UAAA,UAAA,cAAA,gBAAA,oBAAA,kBAM3B,uCAAkB,IAAA"}
1
+ {"version":3,"file":"ActionBarCopy.d.ts","sourceRoot":"","sources":["../../../src/primitives/actionBar/ActionBarCopy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAEL,KAAK,uBAAuB,EAC7B,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,cAAc,EAAE,SAAS,GAAG,UAAU,CAAC,GAC3E,uBAAuB,GAAG;IACxB,QAAQ,EACJ,SAAS,GACT,CAAC,CAAC,KAAK,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,KAAK,SAAS,CAAC,CAAC;CACtE,CAAC;AAEJ,eAAO,MAAM,aAAa,GAAI,0FAM3B,kBAAkB,gCAmBpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ActionBarCopy.js","names":["ReactNode","Pressable","PressableProps","useActionBarCopy","UseActionBarCopyOptions","ActionBarCopyProps","Omit","children","props","isCopied","disabled","ActionBarCopy","t0","$","_c","copiedDuration","copyToClipboard","disabledProp","pressableProps","t1","copy","isDisabled","t2","t3"],"sources":["../../../src/primitives/actionBar/ActionBarCopy.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { Pressable, type PressableProps } from \"react-native\";\nimport {\n useActionBarCopy,\n type UseActionBarCopyOptions,\n} from \"@assistant-ui/core/react\";\n\nexport type ActionBarCopyProps = Omit<PressableProps, \"onPress\" | \"children\"> &\n UseActionBarCopyOptions & {\n children:\n | ReactNode\n | ((props: { isCopied: boolean; disabled: boolean }) => ReactNode);\n };\n\nexport const ActionBarCopy = ({\n children,\n disabled: disabledProp,\n copiedDuration,\n copyToClipboard,\n ...pressableProps\n}: ActionBarCopyProps) => {\n const { copy, disabled, isCopied } = useActionBarCopy({\n copiedDuration,\n copyToClipboard,\n });\n const isDisabled = disabledProp ?? disabled;\n\n return (\n <Pressable\n onPress={copy}\n disabled={isDisabled}\n accessibilityRole=\"button\"\n {...pressableProps}\n >\n {typeof children === \"function\"\n ? children({ isCopied, disabled: isDisabled })\n : children}\n </Pressable>\n );\n};\n"],"mappings":";;;;;AAcA,MAAaW,iBAAgBC,OAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAP;CAAA,IAAAQ;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAL,EAAA,OAAAD,IAAA;EAAC,CAAA,CAAAL,UAAAG,UAAAO,cAAAF,gBAAAC,iBAAA,GAAAE,kBAAAN;EAMTC,EAAA,KAAAD;EAAAC,EAAA,KAAAN;EAAAM,EAAA,KAAAE;EAAAF,EAAA,KAAAG;EAAAH,EAAA,KAAAI;EAAAJ,EAAA,KAAAK;CAAA,OAAA;EAAAX,WAAAM,EAAA;EAAAE,iBAAAF,EAAA;EAAAG,kBAAAH,EAAA;EAAAI,eAAAJ,EAAA;EAAAK,iBAAAL,EAAA;CAAA;CAAA,IAAAM;CAAA,IAAAN,EAAA,OAAAE,kBAAAF,EAAA,OAAAG,iBAAA;EACmCG,KAAA;GAAAJ;GAAAC;EAGtD;EAACH,EAAA,KAAAE;EAAAF,EAAA,KAAAG;EAAAH,EAAA,KAAAM;CAAA,OAAAA,KAAAN,EAAA;CAHD,MAAA,EAAAO,MAAAV,UAAAD,aAAqCN,iBAAiBgB,EAGrD;CACD,MAAAE,aAAmBJ,gBAAAP;CAAyB,IAAAY;CAAA,IAAAT,EAAA,OAAAN,YAAAM,EAAA,QAAAJ,YAAAI,EAAA,QAAAQ,YAAA;EASvCC,KAAA,OAAOf,aAAa,aACjBA,SAAS;GAAAE;GAAAC,UAAsBW;EAAW,CACnC,IAFVd;EAEWM,EAAA,KAAAN;EAAAM,EAAA,MAAAJ;EAAAI,EAAA,MAAAQ;EAAAR,EAAA,MAAAS;CAAA,OAAAA,KAAAT,EAAA;CAAA,IAAAU;CAAA,IAAAV,EAAA,QAAAO,QAAAP,EAAA,QAAAQ,cAAAR,EAAA,QAAAK,kBAAAL,EAAA,QAAAS,IAAA;EARdC,KAAA,oBAAC,WAAD;GACWH,SAAAA;GACCC,UAAAA;GACQ,mBAAA;GAAQ,GACtBH;GAEHI,UAAAA;EANO,CAAA;EASET,EAAA,MAAAO;EAAAP,EAAA,MAAAQ;EAAAR,EAAA,MAAAK;EAAAL,EAAA,MAAAS;EAAAT,EAAA,MAAAU;CAAA,OAAAA,KAAAV,EAAA;CAAA,OATZU;AASY"}
1
+ {"version":3,"file":"ActionBarCopy.js","names":["ReactNode","Pressable","PressableProps","useActionBarCopy","UseActionBarCopyOptions","ActionBarCopyProps","Omit","children","props","isCopied","disabled","ActionBarCopy","t0","$","_c","copiedDuration","copyToClipboard","disabledProp","pressableProps","t1","copy","isDisabled","t2","t3","_c"],"sources":["../../../src/primitives/actionBar/ActionBarCopy.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { Pressable, type PressableProps } from \"react-native\";\nimport {\n useActionBarCopy,\n type UseActionBarCopyOptions,\n} from \"@assistant-ui/core/react\";\n\nexport type ActionBarCopyProps = Omit<PressableProps, \"onPress\" | \"children\"> &\n UseActionBarCopyOptions & {\n children:\n | ReactNode\n | ((props: { isCopied: boolean; disabled: boolean }) => ReactNode);\n };\n\nexport const ActionBarCopy = ({\n children,\n disabled: disabledProp,\n copiedDuration,\n copyToClipboard,\n ...pressableProps\n}: ActionBarCopyProps) => {\n const { copy, disabled, isCopied } = useActionBarCopy({\n copiedDuration,\n copyToClipboard,\n });\n const isDisabled = disabledProp ?? disabled;\n\n return (\n <Pressable\n onPress={copy}\n disabled={isDisabled}\n accessibilityRole=\"button\"\n {...pressableProps}\n >\n {typeof children === \"function\"\n ? children({ isCopied, disabled: isDisabled })\n : children}\n </Pressable>\n );\n};\n"],"mappings":";;;;;AAcA,MAAaW,iBAAgBC,OAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAP;CAAA,IAAAQ;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAC;CAAA,IAAAL,EAAA,OAAAD,IAAA;EAAC,CAAA,CAAAL,UAAAG,UAAAO,cAAAF,gBAAAC,iBAAA,GAAAE,kBAAAN;EAMTC,EAAA,KAAAD;EAAAC,EAAA,KAAAN;EAAAM,EAAA,KAAAE;EAAAF,EAAA,KAAAG;EAAAH,EAAA,KAAAI;EAAAJ,EAAA,KAAAK;CAAA,OAAA;EAAAX,WAAAM,EAAA;EAAAE,iBAAAF,EAAA;EAAAG,kBAAAH,EAAA;EAAAI,eAAAJ,EAAA;EAAAK,iBAAAL,EAAA;CAAA;CAAA,IAAAM;CAAA,IAAAN,EAAA,OAAAE,kBAAAF,EAAA,OAAAG,iBAAA;EACmCG,KAAA;GAAAJ;GAAAC;EAGtD;EAACH,EAAA,KAAAE;EAAAF,EAAA,KAAAG;EAAAH,EAAA,KAAAM;CAAA,OAAAA,KAAAN,EAAA;CAHD,MAAA,EAAAO,MAAAV,UAAAD,aAAqCN,iBAAiBgB,EAGrD;CACD,MAAAE,aAAmBJ,gBAAAP;CAAyB,IAAAY;CAAA,IAAAT,EAAA,OAAAN,YAAAM,EAAA,QAAAJ,YAAAI,EAAA,QAAAQ,YAAA;EASvCC,KAAA,OAAOf,aAAa,aACjBA,SAAS;GAAAE;GAAAC,UAAsBW;EAAW,CACnC,IAFVd;EAEWM,EAAA,KAAAN;EAAAM,EAAA,MAAAJ;EAAAI,EAAA,MAAAQ;EAAAR,EAAA,MAAAS;CAAA,OAAAA,KAAAT,EAAA;CAAA,IAAAU;CAAA,IAAAV,EAAA,QAAAO,QAAAP,EAAA,QAAAQ,cAAAR,EAAA,QAAAK,kBAAAL,EAAA,QAAAS,IAAA;EARdC,KAAA,oBAAC,WAAD;GACWH,SAAAA;GACCC,UAAAA;GACQ,mBAAA;GAAQ,GACtBH;GAEHI,UAAAA;EANO,CAAA;EASET,EAAA,MAAAO;EAAAP,EAAA,MAAAQ;EAAAR,EAAA,MAAAK;EAAAL,EAAA,MAAAS;EAAAT,EAAA,MAAAU;CAAA,OAAAA,KAAAV,EAAA;CAAA,OATZU;AASY"}
@@ -1,11 +1,9 @@
1
- import { PressableProps, PressableStateCallbackType } from "react-native";
2
- import { ReactNode } from "react";
3
- //#region src/primitives/actionBar/ActionBarEdit.d.ts
1
+ import type { ReactNode } from "react";
2
+ import { type PressableProps, type PressableStateCallbackType } from "react-native";
4
3
  export type ActionBarEditProps = Omit<PressableProps, "onPress" | "children"> & {
5
- children: ReactNode | ((state: PressableStateCallbackType & {
6
- disabled: boolean;
7
- }) => ReactNode);
4
+ children: ReactNode | ((state: PressableStateCallbackType & {
5
+ disabled: boolean;
6
+ }) => ReactNode);
8
7
  };
9
8
  export declare const ActionBarEdit: ({ children, disabled: disabledProp, ...pressableProps }: ActionBarEditProps) => import("react").JSX.Element;
10
- //#endregion
11
9
  //# sourceMappingURL=ActionBarEdit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionBarEdit.d.ts","names":[],"sources":["../../../src/primitives/actionBar/ActionBarEdit.tsx"],"mappings":";;;YAQY,qBAAqB,KAC/B;EAGA,UACI,cAEE,OAAO;IAA+B;QACnC;;qBAGE,kBAAiB,UAAA,UAAA,iBAAA,kBAI3B,uCAAkB,IAAA"}
1
+ {"version":3,"file":"ActionBarEdit.d.ts","sourceRoot":"","sources":["../../../src/primitives/actionBar/ActionBarEdit.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,kBAAkB,GAAG,IAAI,CACnC,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,aAAa,GAAI,yDAI3B,kBAAkB,gCAgBpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ActionBarEdit.js","names":["ReactNode","Pressable","PressableProps","PressableStateCallbackType","useActionBarEdit","ActionBarEditProps","Omit","children","state","disabled","ActionBarEdit","t0","$","_c","disabledProp","pressableProps","edit","isDisabled","t1","t2"],"sources":["../../../src/primitives/actionBar/ActionBarEdit.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport {\n Pressable,\n type PressableProps,\n type PressableStateCallbackType,\n} from \"react-native\";\nimport { useActionBarEdit } from \"@assistant-ui/core/react\";\n\nexport type ActionBarEditProps = Omit<\n PressableProps,\n \"onPress\" | \"children\"\n> & {\n children:\n | ReactNode\n | ((\n state: PressableStateCallbackType & { disabled: boolean },\n ) => ReactNode);\n};\n\nexport const ActionBarEdit = ({\n children,\n disabled: disabledProp,\n ...pressableProps\n}: ActionBarEditProps) => {\n const { edit, disabled } = useActionBarEdit();\n const isDisabled = disabledProp ?? disabled;\n\n return (\n <Pressable\n onPress={edit}\n disabled={isDisabled}\n accessibilityRole=\"button\"\n {...pressableProps}\n >\n {typeof children === \"function\"\n ? (state) => children({ ...state, disabled: isDisabled })\n : children}\n </Pressable>\n );\n};\n"],"mappings":";;;;;AAmBA,MAAaU,iBAAgBC,OAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAN;CAAA,IAAAO;CAAA,IAAAC;CAAA,IAAAH,EAAA,OAAAD,IAAA;EAAC,CAAA,CAAAJ,UAAAE,UAAAK,cAAA,GAAAC,kBAAAJ;EAITC,EAAA,KAAAD;EAAAC,EAAA,KAAAL;EAAAK,EAAA,KAAAE;EAAAF,EAAA,KAAAG;CAAA,OAAA;EAAAR,WAAAK,EAAA;EAAAE,eAAAF,EAAA;EAAAG,iBAAAH,EAAA;CAAA;CACnB,MAAA,EAAAI,MAAAP,aAA2BL,iBAAiB;CAC5C,MAAAa,aAAmBH,gBAAAL;CAAyB,IAAAS;CAAA,IAAAN,EAAA,OAAAL,YAAAK,EAAA,OAAAK,YAAA;EASvCC,KAAA,OAAOX,aAAa,cAApBC,UACcD,SAAS;GAAA,GAAKC;GAAKC,UAAYQ;EAAW,CAAC,IADzDV;EAEWK,EAAA,KAAAL;EAAAK,EAAA,KAAAK;EAAAL,EAAA,KAAAM;CAAA,OAAAA,KAAAN,EAAA;CAAA,IAAAO;CAAA,IAAAP,EAAA,OAAAI,QAAAJ,EAAA,OAAAK,cAAAL,EAAA,OAAAG,kBAAAH,EAAA,QAAAM,IAAA;EARdC,KAAA,oBAAC,WAAD;GACWH,SAAAA;GACCC,UAAAA;GACQ,mBAAA;GAAQ,GACtBF;GAEHG,UAAAA;EANO,CAAA;EASEN,EAAA,KAAAI;EAAAJ,EAAA,KAAAK;EAAAL,EAAA,KAAAG;EAAAH,EAAA,MAAAM;EAAAN,EAAA,MAAAO;CAAA,OAAAA,KAAAP,EAAA;CAAA,OATZO;AASY"}
1
+ {"version":3,"file":"ActionBarEdit.js","names":["ReactNode","Pressable","PressableProps","PressableStateCallbackType","useActionBarEdit","ActionBarEditProps","Omit","children","state","disabled","ActionBarEdit","t0","$","_c","disabledProp","pressableProps","edit","isDisabled","t1","t2","_c"],"sources":["../../../src/primitives/actionBar/ActionBarEdit.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport {\n Pressable,\n type PressableProps,\n type PressableStateCallbackType,\n} from \"react-native\";\nimport { useActionBarEdit } from \"@assistant-ui/core/react\";\n\nexport type ActionBarEditProps = Omit<\n PressableProps,\n \"onPress\" | \"children\"\n> & {\n children:\n | ReactNode\n | ((\n state: PressableStateCallbackType & { disabled: boolean },\n ) => ReactNode);\n};\n\nexport const ActionBarEdit = ({\n children,\n disabled: disabledProp,\n ...pressableProps\n}: ActionBarEditProps) => {\n const { edit, disabled } = useActionBarEdit();\n const isDisabled = disabledProp ?? disabled;\n\n return (\n <Pressable\n onPress={edit}\n disabled={isDisabled}\n accessibilityRole=\"button\"\n {...pressableProps}\n >\n {typeof children === \"function\"\n ? (state) => children({ ...state, disabled: isDisabled })\n : children}\n </Pressable>\n );\n};\n"],"mappings":";;;;;AAmBA,MAAaU,iBAAgBC,OAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAN;CAAA,IAAAO;CAAA,IAAAC;CAAA,IAAAH,EAAA,OAAAD,IAAA;EAAC,CAAA,CAAAJ,UAAAE,UAAAK,cAAA,GAAAC,kBAAAJ;EAITC,EAAA,KAAAD;EAAAC,EAAA,KAAAL;EAAAK,EAAA,KAAAE;EAAAF,EAAA,KAAAG;CAAA,OAAA;EAAAR,WAAAK,EAAA;EAAAE,eAAAF,EAAA;EAAAG,iBAAAH,EAAA;CAAA;CACnB,MAAA,EAAAI,MAAAP,aAA2BL,iBAAiB;CAC5C,MAAAa,aAAmBH,gBAAAL;CAAyB,IAAAS;CAAA,IAAAN,EAAA,OAAAL,YAAAK,EAAA,OAAAK,YAAA;EASvCC,KAAA,OAAOX,aAAa,cAApBC,UACcD,SAAS;GAAA,GAAKC;GAAKC,UAAYQ;EAAW,CAAC,IADzDV;EAEWK,EAAA,KAAAL;EAAAK,EAAA,KAAAK;EAAAL,EAAA,KAAAM;CAAA,OAAAA,KAAAN,EAAA;CAAA,IAAAO;CAAA,IAAAP,EAAA,OAAAI,QAAAJ,EAAA,OAAAK,cAAAL,EAAA,OAAAG,kBAAAH,EAAA,QAAAM,IAAA;EARdC,KAAA,oBAAC,WAAD;GACWH,SAAAA;GACCC,UAAAA;GACQ,mBAAA;GAAQ,GACtBF;GAEHG,UAAAA;EANO,CAAA;EASEN,EAAA,KAAAI;EAAAJ,EAAA,KAAAK;EAAAL,EAAA,KAAAG;EAAAH,EAAA,MAAAM;EAAAN,EAAA,MAAAO;CAAA,OAAAA,KAAAP,EAAA;CAAA,OATZO;AASY"}
@@ -1,12 +1,10 @@
1
- import { PressableProps } from "react-native";
2
- import { ReactNode } from "react";
3
- //#region src/primitives/actionBar/ActionBarFeedbackNegative.d.ts
1
+ import type { ReactNode } from "react";
2
+ import { type PressableProps } from "react-native";
4
3
  export type ActionBarFeedbackNegativeProps = Omit<PressableProps, "onPress" | "children"> & {
5
- children: ReactNode | ((props: {
6
- isSubmitted: boolean;
7
- disabled: boolean;
8
- }) => ReactNode);
4
+ children: ReactNode | ((props: {
5
+ isSubmitted: boolean;
6
+ disabled: boolean;
7
+ }) => ReactNode);
9
8
  };
10
9
  export declare const ActionBarFeedbackNegative: ({ children, disabled: disabledProp, ...pressableProps }: ActionBarFeedbackNegativeProps) => import("react").JSX.Element;
11
- //#endregion
12
10
  //# sourceMappingURL=ActionBarFeedbackNegative.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionBarFeedbackNegative.d.ts","names":[],"sources":["../../../src/primitives/actionBar/ActionBarFeedbackNegative.tsx"],"mappings":";;;YAIY,iCAAiC,KAC3C;EAGA,UACI,cACE;IAAS;IAAsB;QAAwB;;qBAGlD,8BAA6B,UAAA,UAAA,iBAAA,kBAIvC,mDAA8B,IAAA"}
1
+ {"version":3,"file":"ActionBarFeedbackNegative.d.ts","sourceRoot":"","sources":["../../../src/primitives/actionBar/ActionBarFeedbackNegative.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAGxE,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,cAAc,EACd,SAAS,GAAG,UAAU,CACvB,GAAG;IACF,QAAQ,EACJ,SAAS,GACT,CAAC,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,KAAK,SAAS,CAAC,CAAC;CACzE,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,yDAIvC,8BAA8B,gCAmBhC,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { useActionBarFeedbackNegative } from "@assistant-ui/core/react";
2
2
  import { c } from "@assistant-ui/tap/react-shim/compiler-runtime";
3
- import { Pressable } from "react-native";
3
+ import { Platform, Pressable } from "react-native";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region src/primitives/actionBar/ActionBarFeedbackNegative.tsx
6
6
  const ActionBarFeedbackNegative = (t0) => {
7
- const $ = c(13);
7
+ const $ = c(16);
8
8
  let children;
9
9
  let disabledProp;
10
10
  let pressableProps;
@@ -22,32 +22,40 @@ const ActionBarFeedbackNegative = (t0) => {
22
22
  const { submit, isSubmitted } = useActionBarFeedbackNegative();
23
23
  const disabled = disabledProp ?? false;
24
24
  let t1;
25
- if ($[4] !== children || $[5] !== disabled || $[6] !== isSubmitted) {
26
- t1 = typeof children === "function" ? children({
25
+ if ($[4] !== isSubmitted) {
26
+ t1 = Platform.OS === "web" ? { "aria-pressed": isSubmitted } : { "aria-selected": isSubmitted };
27
+ $[4] = isSubmitted;
28
+ $[5] = t1;
29
+ } else t1 = $[5];
30
+ let t2;
31
+ if ($[6] !== children || $[7] !== disabled || $[8] !== isSubmitted) {
32
+ t2 = typeof children === "function" ? children({
27
33
  isSubmitted,
28
34
  disabled
29
35
  }) : children;
30
- $[4] = children;
31
- $[5] = disabled;
32
- $[6] = isSubmitted;
33
- $[7] = t1;
34
- } else t1 = $[7];
35
- let t2;
36
- if ($[8] !== disabledProp || $[9] !== pressableProps || $[10] !== submit || $[11] !== t1) {
37
- t2 = /* @__PURE__ */ jsx(Pressable, {
36
+ $[6] = children;
37
+ $[7] = disabled;
38
+ $[8] = isSubmitted;
39
+ $[9] = t2;
40
+ } else t2 = $[9];
41
+ let t3;
42
+ if ($[10] !== disabledProp || $[11] !== pressableProps || $[12] !== submit || $[13] !== t1 || $[14] !== t2) {
43
+ t3 = /* @__PURE__ */ jsx(Pressable, {
38
44
  onPress: submit,
39
45
  disabled: disabledProp,
40
46
  accessibilityRole: "button",
47
+ ...t1,
41
48
  ...pressableProps,
42
- children: t1
49
+ children: t2
43
50
  });
44
- $[8] = disabledProp;
45
- $[9] = pressableProps;
46
- $[10] = submit;
47
- $[11] = t1;
48
- $[12] = t2;
49
- } else t2 = $[12];
50
- return t2;
51
+ $[10] = disabledProp;
52
+ $[11] = pressableProps;
53
+ $[12] = submit;
54
+ $[13] = t1;
55
+ $[14] = t2;
56
+ $[15] = t3;
57
+ } else t3 = $[15];
58
+ return t3;
51
59
  };
52
60
  //#endregion
53
61
  export { ActionBarFeedbackNegative };
@@ -1 +1 @@
1
- {"version":3,"file":"ActionBarFeedbackNegative.js","names":["ReactNode","Pressable","PressableProps","useActionBarFeedbackNegative","ActionBarFeedbackNegativeProps","Omit","children","props","isSubmitted","disabled","ActionBarFeedbackNegative","t0","$","_c","disabledProp","pressableProps","submit","t1","t2"],"sources":["../../../src/primitives/actionBar/ActionBarFeedbackNegative.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { Pressable, type PressableProps } from \"react-native\";\nimport { useActionBarFeedbackNegative } from \"@assistant-ui/core/react\";\n\nexport type ActionBarFeedbackNegativeProps = Omit<\n PressableProps,\n \"onPress\" | \"children\"\n> & {\n children:\n | ReactNode\n | ((props: { isSubmitted: boolean; disabled: boolean }) => ReactNode);\n};\n\nexport const ActionBarFeedbackNegative = ({\n children,\n disabled: disabledProp,\n ...pressableProps\n}: ActionBarFeedbackNegativeProps) => {\n const { submit, isSubmitted } = useActionBarFeedbackNegative();\n const disabled = disabledProp ?? false;\n\n return (\n <Pressable\n onPress={submit}\n disabled={disabledProp}\n accessibilityRole=\"button\"\n {...pressableProps}\n >\n {typeof children === \"function\"\n ? children({ isSubmitted, disabled })\n : children}\n </Pressable>\n );\n};\n"],"mappings":";;;;;AAaA,MAAaU,6BAA4BC,OAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAP;CAAA,IAAAQ;CAAA,IAAAC;CAAA,IAAAH,EAAA,OAAAD,IAAA;EAAC,CAAA,CAAAL,UAAAG,UAAAK,cAAA,GAAAC,kBAAAJ;EAITC,EAAA,KAAAD;EAAAC,EAAA,KAAAN;EAAAM,EAAA,KAAAE;EAAAF,EAAA,KAAAG;CAAA,OAAA;EAAAT,WAAAM,EAAA;EAAAE,eAAAF,EAAA;EAAAG,iBAAAH,EAAA;CAAA;CAC/B,MAAA,EAAAI,QAAAR,gBAAgCL,6BAA6B;CAC7D,MAAAM,WAAiBK,gBAAA;CAAsB,IAAAG;CAAA,IAAAL,EAAA,OAAAN,YAAAM,EAAA,OAAAH,YAAAG,EAAA,OAAAJ,aAAA;EASlCS,KAAA,OAAOX,aAAa,aACjBA,SAAS;GAAAE;GAAAC;EAAwB,CAC1B,IAFVH;EAEWM,EAAA,KAAAN;EAAAM,EAAA,KAAAH;EAAAG,EAAA,KAAAJ;EAAAI,EAAA,KAAAK;CAAA,OAAAA,KAAAL,EAAA;CAAA,IAAAM;CAAA,IAAAN,EAAA,OAAAE,gBAAAF,EAAA,OAAAG,kBAAAH,EAAA,QAAAI,UAAAJ,EAAA,QAAAK,IAAA;EARdC,KAAA,oBAAC,WAAD;GACWF,SAAAA;GACCF,UAAAA;GACQ,mBAAA;GAAQ,GACtBC;GAEHE,UAAAA;EANO,CAAA;EASEL,EAAA,KAAAE;EAAAF,EAAA,KAAAG;EAAAH,EAAA,MAAAI;EAAAJ,EAAA,MAAAK;EAAAL,EAAA,MAAAM;CAAA,OAAAA,KAAAN,EAAA;CAAA,OATZM;AASY"}
1
+ {"version":3,"file":"ActionBarFeedbackNegative.js","names":["ReactNode","Platform","Pressable","PressableProps","useActionBarFeedbackNegative","ActionBarFeedbackNegativeProps","Omit","children","props","isSubmitted","disabled","ActionBarFeedbackNegative","t0","$","_c","disabledProp","pressableProps","submit","t1","OS","t2","t3","_c"],"sources":["../../../src/primitives/actionBar/ActionBarFeedbackNegative.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { Platform, Pressable, type PressableProps } from \"react-native\";\nimport { useActionBarFeedbackNegative } from \"@assistant-ui/core/react\";\n\nexport type ActionBarFeedbackNegativeProps = Omit<\n PressableProps,\n \"onPress\" | \"children\"\n> & {\n children:\n | ReactNode\n | ((props: { isSubmitted: boolean; disabled: boolean }) => ReactNode);\n};\n\nexport const ActionBarFeedbackNegative = ({\n children,\n disabled: disabledProp,\n ...pressableProps\n}: ActionBarFeedbackNegativeProps) => {\n const { submit, isSubmitted } = useActionBarFeedbackNegative();\n const disabled = disabledProp ?? false;\n\n return (\n <Pressable\n onPress={submit}\n disabled={disabledProp}\n accessibilityRole=\"button\"\n {...(Platform.OS === \"web\"\n ? { \"aria-pressed\": isSubmitted }\n : { \"aria-selected\": isSubmitted })}\n {...pressableProps}\n >\n {typeof children === \"function\"\n ? children({ isSubmitted, disabled })\n : children}\n </Pressable>\n );\n};\n"],"mappings":";;;;;AAaA,MAAaW,6BAA4BC,OAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAP;CAAA,IAAAQ;CAAA,IAAAC;CAAA,IAAAH,EAAA,OAAAD,IAAA;EAAC,CAAA,CAAAL,UAAAG,UAAAK,cAAA,GAAAC,kBAAAJ;EAITC,EAAA,KAAAD;EAAAC,EAAA,KAAAN;EAAAM,EAAA,KAAAE;EAAAF,EAAA,KAAAG;CAAA,OAAA;EAAAT,WAAAM,EAAA;EAAAE,eAAAF,EAAA;EAAAG,iBAAAH,EAAA;CAAA;CAC/B,MAAA,EAAAI,QAAAR,gBAAgCL,6BAA6B;CAC7D,MAAAM,WAAiBK,gBAAA;CAAsB,IAAAG;CAAA,IAAAL,EAAA,OAAAJ,aAAA;EAO9BS,KAAAjB,SAAQkB,OAAQ,QAAhB,EAAA,gBACiBV,YACa,IAF9B,EAAA,iBAEkBA,YAAY;EAACI,EAAA,KAAAJ;EAAAI,EAAA,KAAAK;CAAA,OAAAA,KAAAL,EAAA;CAAA,IAAAO;CAAA,IAAAP,EAAA,OAAAN,YAAAM,EAAA,OAAAH,YAAAG,EAAA,OAAAJ,aAAA;EAGnCW,KAAA,OAAOb,aAAa,aACjBA,SAAS;GAAAE;GAAAC;EAAwB,CAC1B,IAFVH;EAEWM,EAAA,KAAAN;EAAAM,EAAA,KAAAH;EAAAG,EAAA,KAAAJ;EAAAI,EAAA,KAAAO;CAAA,OAAAA,KAAAP,EAAA;CAAA,IAAAQ;CAAA,IAAAR,EAAA,QAAAE,gBAAAF,EAAA,QAAAG,kBAAAH,EAAA,QAAAI,UAAAJ,EAAA,QAAAK,MAAAL,EAAA,QAAAO,IAAA;EAXdC,KAAA,oBAAC,WAAD;GACWJ,SAAAA;GACCF,UAAAA;GACQ,mBAAA;GAAQ,GACrBG;GAE+B,GAChCF;GAEHI,UAAAA;EATO,CAAA;EAYEP,EAAA,MAAAE;EAAAF,EAAA,MAAAG;EAAAH,EAAA,MAAAI;EAAAJ,EAAA,MAAAK;EAAAL,EAAA,MAAAO;EAAAP,EAAA,MAAAQ;CAAA,OAAAA,KAAAR,EAAA;CAAA,OAZZQ;AAYY"}
@@ -1,12 +1,10 @@
1
- import { PressableProps } from "react-native";
2
- import { ReactNode } from "react";
3
- //#region src/primitives/actionBar/ActionBarFeedbackPositive.d.ts
1
+ import type { ReactNode } from "react";
2
+ import { type PressableProps } from "react-native";
4
3
  export type ActionBarFeedbackPositiveProps = Omit<PressableProps, "onPress" | "children"> & {
5
- children: ReactNode | ((props: {
6
- isSubmitted: boolean;
7
- disabled: boolean;
8
- }) => ReactNode);
4
+ children: ReactNode | ((props: {
5
+ isSubmitted: boolean;
6
+ disabled: boolean;
7
+ }) => ReactNode);
9
8
  };
10
9
  export declare const ActionBarFeedbackPositive: ({ children, disabled: disabledProp, ...pressableProps }: ActionBarFeedbackPositiveProps) => import("react").JSX.Element;
11
- //#endregion
12
10
  //# sourceMappingURL=ActionBarFeedbackPositive.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionBarFeedbackPositive.d.ts","names":[],"sources":["../../../src/primitives/actionBar/ActionBarFeedbackPositive.tsx"],"mappings":";;;YAIY,iCAAiC,KAC3C;EAGA,UACI,cACE;IAAS;IAAsB;QAAwB;;qBAGlD,8BAA6B,UAAA,UAAA,iBAAA,kBAIvC,mDAA8B,IAAA"}
1
+ {"version":3,"file":"ActionBarFeedbackPositive.d.ts","sourceRoot":"","sources":["../../../src/primitives/actionBar/ActionBarFeedbackPositive.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAGxE,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAC/C,cAAc,EACd,SAAS,GAAG,UAAU,CACvB,GAAG;IACF,QAAQ,EACJ,SAAS,GACT,CAAC,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,KAAK,SAAS,CAAC,CAAC;CACzE,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,yDAIvC,8BAA8B,gCAmBhC,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { useActionBarFeedbackPositive } from "@assistant-ui/core/react";
2
2
  import { c } from "@assistant-ui/tap/react-shim/compiler-runtime";
3
- import { Pressable } from "react-native";
3
+ import { Platform, Pressable } from "react-native";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region src/primitives/actionBar/ActionBarFeedbackPositive.tsx
6
6
  const ActionBarFeedbackPositive = (t0) => {
7
- const $ = c(13);
7
+ const $ = c(16);
8
8
  let children;
9
9
  let disabledProp;
10
10
  let pressableProps;
@@ -22,32 +22,40 @@ const ActionBarFeedbackPositive = (t0) => {
22
22
  const { submit, isSubmitted } = useActionBarFeedbackPositive();
23
23
  const disabled = disabledProp ?? false;
24
24
  let t1;
25
- if ($[4] !== children || $[5] !== disabled || $[6] !== isSubmitted) {
26
- t1 = typeof children === "function" ? children({
25
+ if ($[4] !== isSubmitted) {
26
+ t1 = Platform.OS === "web" ? { "aria-pressed": isSubmitted } : { "aria-selected": isSubmitted };
27
+ $[4] = isSubmitted;
28
+ $[5] = t1;
29
+ } else t1 = $[5];
30
+ let t2;
31
+ if ($[6] !== children || $[7] !== disabled || $[8] !== isSubmitted) {
32
+ t2 = typeof children === "function" ? children({
27
33
  isSubmitted,
28
34
  disabled
29
35
  }) : children;
30
- $[4] = children;
31
- $[5] = disabled;
32
- $[6] = isSubmitted;
33
- $[7] = t1;
34
- } else t1 = $[7];
35
- let t2;
36
- if ($[8] !== disabledProp || $[9] !== pressableProps || $[10] !== submit || $[11] !== t1) {
37
- t2 = /* @__PURE__ */ jsx(Pressable, {
36
+ $[6] = children;
37
+ $[7] = disabled;
38
+ $[8] = isSubmitted;
39
+ $[9] = t2;
40
+ } else t2 = $[9];
41
+ let t3;
42
+ if ($[10] !== disabledProp || $[11] !== pressableProps || $[12] !== submit || $[13] !== t1 || $[14] !== t2) {
43
+ t3 = /* @__PURE__ */ jsx(Pressable, {
38
44
  onPress: submit,
39
45
  disabled: disabledProp,
40
46
  accessibilityRole: "button",
47
+ ...t1,
41
48
  ...pressableProps,
42
- children: t1
49
+ children: t2
43
50
  });
44
- $[8] = disabledProp;
45
- $[9] = pressableProps;
46
- $[10] = submit;
47
- $[11] = t1;
48
- $[12] = t2;
49
- } else t2 = $[12];
50
- return t2;
51
+ $[10] = disabledProp;
52
+ $[11] = pressableProps;
53
+ $[12] = submit;
54
+ $[13] = t1;
55
+ $[14] = t2;
56
+ $[15] = t3;
57
+ } else t3 = $[15];
58
+ return t3;
51
59
  };
52
60
  //#endregion
53
61
  export { ActionBarFeedbackPositive };
@@ -1 +1 @@
1
- {"version":3,"file":"ActionBarFeedbackPositive.js","names":["ReactNode","Pressable","PressableProps","useActionBarFeedbackPositive","ActionBarFeedbackPositiveProps","Omit","children","props","isSubmitted","disabled","ActionBarFeedbackPositive","t0","$","_c","disabledProp","pressableProps","submit","t1","t2"],"sources":["../../../src/primitives/actionBar/ActionBarFeedbackPositive.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { Pressable, type PressableProps } from \"react-native\";\nimport { useActionBarFeedbackPositive } from \"@assistant-ui/core/react\";\n\nexport type ActionBarFeedbackPositiveProps = Omit<\n PressableProps,\n \"onPress\" | \"children\"\n> & {\n children:\n | ReactNode\n | ((props: { isSubmitted: boolean; disabled: boolean }) => ReactNode);\n};\n\nexport const ActionBarFeedbackPositive = ({\n children,\n disabled: disabledProp,\n ...pressableProps\n}: ActionBarFeedbackPositiveProps) => {\n const { submit, isSubmitted } = useActionBarFeedbackPositive();\n const disabled = disabledProp ?? false;\n\n return (\n <Pressable\n onPress={submit}\n disabled={disabledProp}\n accessibilityRole=\"button\"\n {...pressableProps}\n >\n {typeof children === \"function\"\n ? children({ isSubmitted, disabled })\n : children}\n </Pressable>\n );\n};\n"],"mappings":";;;;;AAaA,MAAaU,6BAA4BC,OAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAP;CAAA,IAAAQ;CAAA,IAAAC;CAAA,IAAAH,EAAA,OAAAD,IAAA;EAAC,CAAA,CAAAL,UAAAG,UAAAK,cAAA,GAAAC,kBAAAJ;EAITC,EAAA,KAAAD;EAAAC,EAAA,KAAAN;EAAAM,EAAA,KAAAE;EAAAF,EAAA,KAAAG;CAAA,OAAA;EAAAT,WAAAM,EAAA;EAAAE,eAAAF,EAAA;EAAAG,iBAAAH,EAAA;CAAA;CAC/B,MAAA,EAAAI,QAAAR,gBAAgCL,6BAA6B;CAC7D,MAAAM,WAAiBK,gBAAA;CAAsB,IAAAG;CAAA,IAAAL,EAAA,OAAAN,YAAAM,EAAA,OAAAH,YAAAG,EAAA,OAAAJ,aAAA;EASlCS,KAAA,OAAOX,aAAa,aACjBA,SAAS;GAAAE;GAAAC;EAAwB,CAC1B,IAFVH;EAEWM,EAAA,KAAAN;EAAAM,EAAA,KAAAH;EAAAG,EAAA,KAAAJ;EAAAI,EAAA,KAAAK;CAAA,OAAAA,KAAAL,EAAA;CAAA,IAAAM;CAAA,IAAAN,EAAA,OAAAE,gBAAAF,EAAA,OAAAG,kBAAAH,EAAA,QAAAI,UAAAJ,EAAA,QAAAK,IAAA;EARdC,KAAA,oBAAC,WAAD;GACWF,SAAAA;GACCF,UAAAA;GACQ,mBAAA;GAAQ,GACtBC;GAEHE,UAAAA;EANO,CAAA;EASEL,EAAA,KAAAE;EAAAF,EAAA,KAAAG;EAAAH,EAAA,MAAAI;EAAAJ,EAAA,MAAAK;EAAAL,EAAA,MAAAM;CAAA,OAAAA,KAAAN,EAAA;CAAA,OATZM;AASY"}
1
+ {"version":3,"file":"ActionBarFeedbackPositive.js","names":["ReactNode","Platform","Pressable","PressableProps","useActionBarFeedbackPositive","ActionBarFeedbackPositiveProps","Omit","children","props","isSubmitted","disabled","ActionBarFeedbackPositive","t0","$","_c","disabledProp","pressableProps","submit","t1","OS","t2","t3","_c"],"sources":["../../../src/primitives/actionBar/ActionBarFeedbackPositive.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { Platform, Pressable, type PressableProps } from \"react-native\";\nimport { useActionBarFeedbackPositive } from \"@assistant-ui/core/react\";\n\nexport type ActionBarFeedbackPositiveProps = Omit<\n PressableProps,\n \"onPress\" | \"children\"\n> & {\n children:\n | ReactNode\n | ((props: { isSubmitted: boolean; disabled: boolean }) => ReactNode);\n};\n\nexport const ActionBarFeedbackPositive = ({\n children,\n disabled: disabledProp,\n ...pressableProps\n}: ActionBarFeedbackPositiveProps) => {\n const { submit, isSubmitted } = useActionBarFeedbackPositive();\n const disabled = disabledProp ?? false;\n\n return (\n <Pressable\n onPress={submit}\n disabled={disabledProp}\n accessibilityRole=\"button\"\n {...(Platform.OS === \"web\"\n ? { \"aria-pressed\": isSubmitted }\n : { \"aria-selected\": isSubmitted })}\n {...pressableProps}\n >\n {typeof children === \"function\"\n ? children({ isSubmitted, disabled })\n : children}\n </Pressable>\n );\n};\n"],"mappings":";;;;;AAaA,MAAaW,6BAA4BC,OAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAA,IAAAP;CAAA,IAAAQ;CAAA,IAAAC;CAAA,IAAAH,EAAA,OAAAD,IAAA;EAAC,CAAA,CAAAL,UAAAG,UAAAK,cAAA,GAAAC,kBAAAJ;EAITC,EAAA,KAAAD;EAAAC,EAAA,KAAAN;EAAAM,EAAA,KAAAE;EAAAF,EAAA,KAAAG;CAAA,OAAA;EAAAT,WAAAM,EAAA;EAAAE,eAAAF,EAAA;EAAAG,iBAAAH,EAAA;CAAA;CAC/B,MAAA,EAAAI,QAAAR,gBAAgCL,6BAA6B;CAC7D,MAAAM,WAAiBK,gBAAA;CAAsB,IAAAG;CAAA,IAAAL,EAAA,OAAAJ,aAAA;EAO9BS,KAAAjB,SAAQkB,OAAQ,QAAhB,EAAA,gBACiBV,YACa,IAF9B,EAAA,iBAEkBA,YAAY;EAACI,EAAA,KAAAJ;EAAAI,EAAA,KAAAK;CAAA,OAAAA,KAAAL,EAAA;CAAA,IAAAO;CAAA,IAAAP,EAAA,OAAAN,YAAAM,EAAA,OAAAH,YAAAG,EAAA,OAAAJ,aAAA;EAGnCW,KAAA,OAAOb,aAAa,aACjBA,SAAS;GAAAE;GAAAC;EAAwB,CAC1B,IAFVH;EAEWM,EAAA,KAAAN;EAAAM,EAAA,KAAAH;EAAAG,EAAA,KAAAJ;EAAAI,EAAA,KAAAO;CAAA,OAAAA,KAAAP,EAAA;CAAA,IAAAQ;CAAA,IAAAR,EAAA,QAAAE,gBAAAF,EAAA,QAAAG,kBAAAH,EAAA,QAAAI,UAAAJ,EAAA,QAAAK,MAAAL,EAAA,QAAAO,IAAA;EAXdC,KAAA,oBAAC,WAAD;GACWJ,SAAAA;GACCF,UAAAA;GACQ,mBAAA;GAAQ,GACrBG;GAE+B,GAChCF;GAEHI,UAAAA;EATO,CAAA;EAYEP,EAAA,MAAAE;EAAAF,EAAA,MAAAG;EAAAH,EAAA,MAAAI;EAAAJ,EAAA,MAAAK;EAAAL,EAAA,MAAAO;EAAAP,EAAA,MAAAQ;CAAA,OAAAA,KAAAR,EAAA;CAAA,OAZZQ;AAYY"}
@@ -1,11 +1,9 @@
1
- import { PressableProps, PressableStateCallbackType } from "react-native";
2
- import { ReactNode } from "react";
3
- //#region src/primitives/actionBar/ActionBarReload.d.ts
1
+ import type { ReactNode } from "react";
2
+ import { type PressableProps, type PressableStateCallbackType } from "react-native";
4
3
  export type ActionBarReloadProps = Omit<PressableProps, "onPress" | "children"> & {
5
- children: ReactNode | ((state: PressableStateCallbackType & {
6
- disabled: boolean;
7
- }) => ReactNode);
4
+ children: ReactNode | ((state: PressableStateCallbackType & {
5
+ disabled: boolean;
6
+ }) => ReactNode);
8
7
  };
9
8
  export declare const ActionBarReload: ({ children, disabled: disabledProp, ...pressableProps }: ActionBarReloadProps) => import("react").JSX.Element;
10
- //#endregion
11
9
  //# sourceMappingURL=ActionBarReload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionBarReload.d.ts","names":[],"sources":["../../../src/primitives/actionBar/ActionBarReload.tsx"],"mappings":";;;YAQY,uBAAuB,KACjC;EAGA,UACI,cAEE,OAAO;IAA+B;QACnC;;qBAGE,oBAAmB,UAAA,UAAA,iBAAA,kBAI7B,yCAAoB,IAAA"}
1
+ {"version":3,"file":"ActionBarReload.d.ts","sourceRoot":"","sources":["../../../src/primitives/actionBar/ActionBarReload.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,oBAAoB,GAAG,IAAI,CACrC,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,eAAe,GAAI,yDAI7B,oBAAoB,gCAgBtB,CAAC"}