@arbidocs/react 0.5.61 → 0.5.63

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 (103) hide show
  1. package/dist/ProductionDialog.d-CpzslFn0.d.cts +51 -0
  2. package/dist/ProductionDialog.d-CpzslFn0.d.ts +51 -0
  3. package/dist/annotations/freeze/index.cjs +14 -14
  4. package/dist/annotations/freeze/index.js +3 -3
  5. package/dist/annotations/index.d.cts +3 -2
  6. package/dist/annotations/index.d.ts +3 -2
  7. package/dist/artifacts/index.cjs +12 -12
  8. package/dist/artifacts/index.js +5 -5
  9. package/dist/bundle-IC65W2AO.cjs +14 -0
  10. package/dist/{bundle-DCWPYNGD.cjs.map → bundle-IC65W2AO.cjs.map} +1 -1
  11. package/dist/bundle-YNOX7VIL.js +5 -0
  12. package/dist/{bundle-JCKKGEJE.js.map → bundle-YNOX7VIL.js.map} +1 -1
  13. package/dist/calls/livekit/index.cjs +54 -54
  14. package/dist/calls/livekit/index.js +6 -6
  15. package/dist/{chunk-S2W3ZOWG.js → chunk-2LV53J46.js} +85 -16
  16. package/dist/chunk-2LV53J46.js.map +1 -0
  17. package/dist/{chunk-H3HYKAS5.cjs → chunk-3BFSALPC.cjs} +3 -3
  18. package/dist/{chunk-H3HYKAS5.cjs.map → chunk-3BFSALPC.cjs.map} +1 -1
  19. package/dist/{chunk-2NFUEC5O.js → chunk-3NBPMR3X.js} +3 -3
  20. package/dist/{chunk-2NFUEC5O.js.map → chunk-3NBPMR3X.js.map} +1 -1
  21. package/dist/chunk-4DTTEUVY.js +1042 -0
  22. package/dist/chunk-4DTTEUVY.js.map +1 -0
  23. package/dist/{chunk-U64WCQP3.js → chunk-AOEJ744V.js} +25 -14
  24. package/dist/chunk-AOEJ744V.js.map +1 -0
  25. package/dist/{chunk-4E737GNX.cjs → chunk-BLBXADTN.cjs} +86 -73
  26. package/dist/chunk-BLBXADTN.cjs.map +1 -0
  27. package/dist/{chunk-X7JXQT6F.cjs → chunk-DVL7EFZZ.cjs} +42 -46
  28. package/dist/chunk-DVL7EFZZ.cjs.map +1 -0
  29. package/dist/{chunk-VAMPYLQ4.cjs → chunk-DZUBZ45Y.cjs} +78 -2
  30. package/dist/chunk-DZUBZ45Y.cjs.map +1 -0
  31. package/dist/{chunk-OSWKXZTJ.js → chunk-ER4LFZG3.js} +12 -16
  32. package/dist/chunk-ER4LFZG3.js.map +1 -0
  33. package/dist/{chunk-5HDC43MF.js → chunk-G4Z3IP4J.js} +72 -3
  34. package/dist/chunk-G4Z3IP4J.js.map +1 -0
  35. package/dist/chunk-GOJHU7RZ.cjs +1122 -0
  36. package/dist/chunk-GOJHU7RZ.cjs.map +1 -0
  37. package/dist/{chunk-G76ASVVH.cjs → chunk-GQAXAZN7.cjs} +25 -14
  38. package/dist/chunk-GQAXAZN7.cjs.map +1 -0
  39. package/dist/{chunk-TUPSNW3B.cjs → chunk-LMW46NBD.cjs} +11 -11
  40. package/dist/{chunk-TUPSNW3B.cjs.map → chunk-LMW46NBD.cjs.map} +1 -1
  41. package/dist/{chunk-KRH55LXW.js → chunk-NCMSQACC.js} +37 -24
  42. package/dist/chunk-NCMSQACC.js.map +1 -0
  43. package/dist/{chunk-A2XSLTIP.js → chunk-NIKPG4PW.js} +3 -3
  44. package/dist/{chunk-A2XSLTIP.js.map → chunk-NIKPG4PW.js.map} +1 -1
  45. package/dist/{chunk-B6I2HRRF.cjs → chunk-PC4O3JDV.cjs} +3 -3
  46. package/dist/{chunk-B6I2HRRF.cjs.map → chunk-PC4O3JDV.cjs.map} +1 -1
  47. package/dist/{chunk-M2SZQBCO.js → chunk-SI7DJWBT.js} +3 -3
  48. package/dist/{chunk-M2SZQBCO.js.map → chunk-SI7DJWBT.js.map} +1 -1
  49. package/dist/{chunk-3QK4VVPG.cjs → chunk-TGSEQGM3.cjs} +3 -3
  50. package/dist/{chunk-3QK4VVPG.cjs.map → chunk-TGSEQGM3.cjs.map} +1 -1
  51. package/dist/{chunk-LCSUCZVX.cjs → chunk-ZNQPUPX6.cjs} +118 -41
  52. package/dist/chunk-ZNQPUPX6.cjs.map +1 -0
  53. package/dist/{chunk-CMNZI4WQ.js → chunk-ZTPJNKF2.js} +4 -4
  54. package/dist/{chunk-CMNZI4WQ.js.map → chunk-ZTPJNKF2.js.map} +1 -1
  55. package/dist/document-tools/core.cjs +408 -0
  56. package/dist/document-tools/core.cjs.map +1 -0
  57. package/dist/document-tools/core.d.cts +957 -0
  58. package/dist/document-tools/core.d.ts +957 -0
  59. package/dist/document-tools/core.js +15 -0
  60. package/dist/document-tools/core.js.map +1 -0
  61. package/dist/document-tools/index.cjs +347 -1130
  62. package/dist/document-tools/index.cjs.map +1 -1
  63. package/dist/document-tools/index.d.cts +12 -950
  64. package/dist/document-tools/index.d.ts +12 -950
  65. package/dist/document-tools/index.js +13 -1034
  66. package/dist/document-tools/index.js.map +1 -1
  67. package/dist/index.cjs +1510 -1255
  68. package/dist/index.cjs.map +1 -1
  69. package/dist/{index.d-BLw5AN0H.d.cts → index.d-AT7wdTWC.d.cts} +50 -2
  70. package/dist/{index.d-BLw5AN0H.d.ts → index.d-AT7wdTWC.d.ts} +50 -2
  71. package/dist/{index.d-DPVj21h1.d.ts → index.d-B0dosFZc.d.cts} +6 -6
  72. package/dist/{index.d-DPVj21h1.d.cts → index.d-B0dosFZc.d.ts} +6 -6
  73. package/dist/index.d.cts +145 -69
  74. package/dist/index.d.ts +145 -69
  75. package/dist/index.js +346 -121
  76. package/dist/index.js.map +1 -1
  77. package/dist/{query-keys.d-DEEMzkLz.d.cts → query-keys.d-BFKQVevT.d.cts} +21 -12
  78. package/dist/{query-keys.d-DEEMzkLz.d.ts → query-keys.d-BFKQVevT.d.ts} +21 -12
  79. package/dist/shell/index.cjs +68 -40
  80. package/dist/shell/index.d.cts +1 -1
  81. package/dist/shell/index.d.ts +1 -1
  82. package/dist/shell/index.js +3 -3
  83. package/dist/store.d-DkFXbWDk.d.ts +35 -0
  84. package/dist/store.d-GADDvC7w.d.cts +35 -0
  85. package/dist/ui/index.cjs +149 -149
  86. package/dist/ui/index.d.cts +1 -1
  87. package/dist/ui/index.d.ts +1 -1
  88. package/dist/ui/index.js +2 -2
  89. package/package.json +11 -3
  90. package/dist/ProductionDialog.d-BDJwBSzj.d.ts +0 -84
  91. package/dist/ProductionDialog.d-DjRQFmQw.d.cts +0 -84
  92. package/dist/bundle-DCWPYNGD.cjs +0 -14
  93. package/dist/bundle-JCKKGEJE.js +0 -5
  94. package/dist/chunk-4E737GNX.cjs.map +0 -1
  95. package/dist/chunk-5HDC43MF.js.map +0 -1
  96. package/dist/chunk-G76ASVVH.cjs.map +0 -1
  97. package/dist/chunk-KRH55LXW.js.map +0 -1
  98. package/dist/chunk-LCSUCZVX.cjs.map +0 -1
  99. package/dist/chunk-OSWKXZTJ.js.map +0 -1
  100. package/dist/chunk-S2W3ZOWG.js.map +0 -1
  101. package/dist/chunk-U64WCQP3.js.map +0 -1
  102. package/dist/chunk-VAMPYLQ4.cjs.map +0 -1
  103. package/dist/chunk-X7JXQT6F.cjs.map +0 -1
@@ -2,7 +2,7 @@ import * as zustand from 'zustand';
2
2
  import * as React$1 from 'react';
3
3
  import { ReactNode, ComponentType, ReactElement } from 'react';
4
4
  import { StoreApi } from 'zustand/vanilla';
5
- import { SearchChunk } from '@arbidocs/sdk/browser';
5
+ import { ArtifactEvent, SearchChunk } from '@arbidocs/sdk/browser';
6
6
  import { ToasterProps } from 'sonner';
7
7
 
8
8
  /**
@@ -222,6 +222,54 @@ declare function useTurnDocumentId(input: TurnDocumentInput): string | null;
222
222
  */
223
223
  declare function takeDocumentForTurn(input: TurnDocumentInput): string | null;
224
224
 
225
+ /**
226
+ * The documents the assistant is writing (or wrote) in this tab's chats, as their artifact events
227
+ * stream in: the chat engine records every one (`recordChatArtifact`), before the host's
228
+ * `chat.onArtifact` shows it. One store for every surface that shows a draft as it is written: the
229
+ * answer's artifact card, the document viewer, and a drafting chat's document pane.
230
+ *
231
+ * A module-level store, like the open-document registry: a chat and a viewer agree wherever they
232
+ * sit in the tree. It holds what streamed in this tab only; a saved draft is read from the
233
+ * documents list. Cleared on sign-out (`clearChatArtifacts`).
234
+ */
235
+ /** An artifact as it streams: what the events said so far. */
236
+ interface ChatArtifact {
237
+ /** The document it is written into (`doc-…`). */
238
+ docExtId: string;
239
+ title: string;
240
+ /** The content so far (Markdown, or the html/react source of a live artifact). */
241
+ content: string;
242
+ /**
243
+ * `markdown` / `text` are document drafts (stored by the server as Word documents); `html` /
244
+ * `react` are live artifacts; `image` is a generated image.
245
+ */
246
+ mode: 'markdown' | 'html' | 'text' | 'react' | 'image';
247
+ isComplete: boolean;
248
+ version?: number | null;
249
+ /** The answer that writes it. */
250
+ messageExtId?: string;
251
+ /** The conversation it is written in (`new` until the server named it). */
252
+ conversationId: string;
253
+ createdAt: string;
254
+ }
255
+ /** Record an artifact event of a chat turn in `conversationId`. */
256
+ declare function recordChatArtifact(event: ArtifactEvent, conversationId: string): void;
257
+ /** Forget every streamed artifact (sign-out). */
258
+ declare function clearChatArtifacts(): void;
259
+ /** Every artifact streamed in this tab, by document id. */
260
+ declare function getChatArtifacts(): Readonly<Record<string, ChatArtifact>>;
261
+ /** The artifact streaming (or streamed) into this document, if one did in this tab. */
262
+ declare function getChatArtifact(documentId: string | null | undefined): ChatArtifact | undefined;
263
+ /** The artifact streaming into this document, if one is. Re-renders as it streams. */
264
+ declare function useChatArtifact(documentId: string | null | undefined): ChatArtifact | undefined;
265
+ /** The artifact this answer writes (or wrote), if it did in this tab. */
266
+ declare function useMessageChatArtifact(messageId: string | null | undefined): ChatArtifact | undefined;
267
+ /**
268
+ * The latest artifact written in this conversation in this tab (the one a drafting surface shows),
269
+ * if one was.
270
+ */
271
+ declare function useConversationChatArtifact(conversationId: string | null | undefined): ChatArtifact | undefined;
272
+
225
273
  /**
226
274
  * A thread's document: the one document a conversation drafts in, part of the conversation.
227
275
  *
@@ -465,4 +513,4 @@ declare function NotificationBell({ renderTrigger, onNavigate, onSelectNotificat
465
513
 
466
514
  declare function Toaster({ toastOptions, ...props }: ToasterProps): React$1.JSX.Element;
467
515
 
468
- export { takeDocumentForTurn as $, type AppNotification as A, hasMessageBody as B, insertMention as C, DEFAULT_NOTIFY_TONE as D, latestThreadOfDocument as E, linkMentions as F, mentionFromHref as G, type HostConfigRecord as H, notify as I, openDocumentId as J, opensInWord as K, LEGACY_THREAD_DOCUMENTS_KEY as L, MAX_SESSION_NOTIFICATIONS as M, NotificationBell as N, type OpenDocumentRegistration as O, persistNotifyHistory as P, persistSearchSession as Q, readLegacyThreadDocuments as R, type SavedDocumentInput as S, type ThreadBinding as T, UNBOUND as U, requestSearch as V, type WordDocumentKind as W, savedDocumentIdFor as X, seedNotifications as Y, selectUnread as Z, sharedSearchSession as _, ArbiHost as a, takePendingSearch as a0, toMessageMentions as a1, useHostConfigRecord as a2, useNotify as a3, useOpenDocumentId as a4, useRegisterOpenDocument as a5, useTurnDocumentId as a6, type ArbiHostConnection as b, type ArbiHostProps as c, MENTION_HREF_PREFIX as d, type MentionCandidate as e, type MentionKind as f, type MessageMentionRef as g, type NotificationBellProps as h, type NotificationBellTriggerState as i, type NotifyConfig as j, type NotifyOptions as k, type NotifyVariant as l, type SearchSession as m, type SearchSessionState as n, type SearchStatus as o, type ThreadBindingRow as p, Toaster as q, type TurnDocumentInput as r, bindingOfRow as s, clearSearchSession as t, configureNotify as u, createSearchSession as v, extractMentions as w, filterMentionCandidates as x, findMentionQuery as y, forgetLegacyThreadDocuments as z };
516
+ export { requestSearch as $, type AppNotification as A, forgetLegacyThreadDocuments as B, type ChatArtifact as C, DEFAULT_NOTIFY_TONE as D, getChatArtifact as E, getChatArtifacts as F, hasMessageBody as G, type HostConfigRecord as H, insertMention as I, latestThreadOfDocument as J, linkMentions as K, LEGACY_THREAD_DOCUMENTS_KEY as L, MAX_SESSION_NOTIFICATIONS as M, NotificationBell as N, type OpenDocumentRegistration as O, mentionFromHref as P, notify as Q, openDocumentId as R, type SavedDocumentInput as S, type ThreadBinding as T, UNBOUND as U, opensInWord as V, type WordDocumentKind as W, persistNotifyHistory as X, persistSearchSession as Y, readLegacyThreadDocuments as Z, recordChatArtifact as _, ArbiHost as a, savedDocumentIdFor as a0, seedNotifications as a1, selectUnread as a2, sharedSearchSession as a3, takeDocumentForTurn as a4, takePendingSearch as a5, toMessageMentions as a6, useChatArtifact as a7, useConversationChatArtifact as a8, useHostConfigRecord as a9, useMessageChatArtifact as aa, useNotify as ab, useOpenDocumentId as ac, useRegisterOpenDocument as ad, useTurnDocumentId as ae, type ArbiHostConnection as b, type ArbiHostProps as c, MENTION_HREF_PREFIX as d, type MentionCandidate as e, type MentionKind as f, type MessageMentionRef as g, type NotificationBellProps as h, type NotificationBellTriggerState as i, type NotifyConfig as j, type NotifyOptions as k, type NotifyVariant as l, type SearchSession as m, type SearchSessionState as n, type SearchStatus as o, type ThreadBindingRow as p, Toaster as q, type TurnDocumentInput as r, bindingOfRow as s, clearChatArtifacts as t, clearSearchSession as u, configureNotify as v, createSearchSession as w, extractMentions as x, filterMentionCandidates as y, findMentionQuery as z };
@@ -2,7 +2,7 @@ import * as zustand from 'zustand';
2
2
  import * as React$1 from 'react';
3
3
  import { ReactNode, ComponentType, ReactElement } from 'react';
4
4
  import { StoreApi } from 'zustand/vanilla';
5
- import { SearchChunk } from '@arbidocs/sdk/browser';
5
+ import { ArtifactEvent, SearchChunk } from '@arbidocs/sdk/browser';
6
6
  import { ToasterProps } from 'sonner';
7
7
 
8
8
  /**
@@ -222,6 +222,54 @@ declare function useTurnDocumentId(input: TurnDocumentInput): string | null;
222
222
  */
223
223
  declare function takeDocumentForTurn(input: TurnDocumentInput): string | null;
224
224
 
225
+ /**
226
+ * The documents the assistant is writing (or wrote) in this tab's chats, as their artifact events
227
+ * stream in: the chat engine records every one (`recordChatArtifact`), before the host's
228
+ * `chat.onArtifact` shows it. One store for every surface that shows a draft as it is written: the
229
+ * answer's artifact card, the document viewer, and a drafting chat's document pane.
230
+ *
231
+ * A module-level store, like the open-document registry: a chat and a viewer agree wherever they
232
+ * sit in the tree. It holds what streamed in this tab only; a saved draft is read from the
233
+ * documents list. Cleared on sign-out (`clearChatArtifacts`).
234
+ */
235
+ /** An artifact as it streams: what the events said so far. */
236
+ interface ChatArtifact {
237
+ /** The document it is written into (`doc-…`). */
238
+ docExtId: string;
239
+ title: string;
240
+ /** The content so far (Markdown, or the html/react source of a live artifact). */
241
+ content: string;
242
+ /**
243
+ * `markdown` / `text` are document drafts (stored by the server as Word documents); `html` /
244
+ * `react` are live artifacts; `image` is a generated image.
245
+ */
246
+ mode: 'markdown' | 'html' | 'text' | 'react' | 'image';
247
+ isComplete: boolean;
248
+ version?: number | null;
249
+ /** The answer that writes it. */
250
+ messageExtId?: string;
251
+ /** The conversation it is written in (`new` until the server named it). */
252
+ conversationId: string;
253
+ createdAt: string;
254
+ }
255
+ /** Record an artifact event of a chat turn in `conversationId`. */
256
+ declare function recordChatArtifact(event: ArtifactEvent, conversationId: string): void;
257
+ /** Forget every streamed artifact (sign-out). */
258
+ declare function clearChatArtifacts(): void;
259
+ /** Every artifact streamed in this tab, by document id. */
260
+ declare function getChatArtifacts(): Readonly<Record<string, ChatArtifact>>;
261
+ /** The artifact streaming (or streamed) into this document, if one did in this tab. */
262
+ declare function getChatArtifact(documentId: string | null | undefined): ChatArtifact | undefined;
263
+ /** The artifact streaming into this document, if one is. Re-renders as it streams. */
264
+ declare function useChatArtifact(documentId: string | null | undefined): ChatArtifact | undefined;
265
+ /** The artifact this answer writes (or wrote), if it did in this tab. */
266
+ declare function useMessageChatArtifact(messageId: string | null | undefined): ChatArtifact | undefined;
267
+ /**
268
+ * The latest artifact written in this conversation in this tab (the one a drafting surface shows),
269
+ * if one was.
270
+ */
271
+ declare function useConversationChatArtifact(conversationId: string | null | undefined): ChatArtifact | undefined;
272
+
225
273
  /**
226
274
  * A thread's document: the one document a conversation drafts in, part of the conversation.
227
275
  *
@@ -465,4 +513,4 @@ declare function NotificationBell({ renderTrigger, onNavigate, onSelectNotificat
465
513
 
466
514
  declare function Toaster({ toastOptions, ...props }: ToasterProps): React$1.JSX.Element;
467
515
 
468
- export { takeDocumentForTurn as $, type AppNotification as A, hasMessageBody as B, insertMention as C, DEFAULT_NOTIFY_TONE as D, latestThreadOfDocument as E, linkMentions as F, mentionFromHref as G, type HostConfigRecord as H, notify as I, openDocumentId as J, opensInWord as K, LEGACY_THREAD_DOCUMENTS_KEY as L, MAX_SESSION_NOTIFICATIONS as M, NotificationBell as N, type OpenDocumentRegistration as O, persistNotifyHistory as P, persistSearchSession as Q, readLegacyThreadDocuments as R, type SavedDocumentInput as S, type ThreadBinding as T, UNBOUND as U, requestSearch as V, type WordDocumentKind as W, savedDocumentIdFor as X, seedNotifications as Y, selectUnread as Z, sharedSearchSession as _, ArbiHost as a, takePendingSearch as a0, toMessageMentions as a1, useHostConfigRecord as a2, useNotify as a3, useOpenDocumentId as a4, useRegisterOpenDocument as a5, useTurnDocumentId as a6, type ArbiHostConnection as b, type ArbiHostProps as c, MENTION_HREF_PREFIX as d, type MentionCandidate as e, type MentionKind as f, type MessageMentionRef as g, type NotificationBellProps as h, type NotificationBellTriggerState as i, type NotifyConfig as j, type NotifyOptions as k, type NotifyVariant as l, type SearchSession as m, type SearchSessionState as n, type SearchStatus as o, type ThreadBindingRow as p, Toaster as q, type TurnDocumentInput as r, bindingOfRow as s, clearSearchSession as t, configureNotify as u, createSearchSession as v, extractMentions as w, filterMentionCandidates as x, findMentionQuery as y, forgetLegacyThreadDocuments as z };
516
+ export { requestSearch as $, type AppNotification as A, forgetLegacyThreadDocuments as B, type ChatArtifact as C, DEFAULT_NOTIFY_TONE as D, getChatArtifact as E, getChatArtifacts as F, hasMessageBody as G, type HostConfigRecord as H, insertMention as I, latestThreadOfDocument as J, linkMentions as K, LEGACY_THREAD_DOCUMENTS_KEY as L, MAX_SESSION_NOTIFICATIONS as M, NotificationBell as N, type OpenDocumentRegistration as O, mentionFromHref as P, notify as Q, openDocumentId as R, type SavedDocumentInput as S, type ThreadBinding as T, UNBOUND as U, opensInWord as V, type WordDocumentKind as W, persistNotifyHistory as X, persistSearchSession as Y, readLegacyThreadDocuments as Z, recordChatArtifact as _, ArbiHost as a, savedDocumentIdFor as a0, seedNotifications as a1, selectUnread as a2, sharedSearchSession as a3, takeDocumentForTurn as a4, takePendingSearch as a5, toMessageMentions as a6, useChatArtifact as a7, useConversationChatArtifact as a8, useHostConfigRecord as a9, useMessageChatArtifact as aa, useNotify as ab, useOpenDocumentId as ac, useRegisterOpenDocument as ad, useTurnDocumentId as ae, type ArbiHostConnection as b, type ArbiHostProps as c, MENTION_HREF_PREFIX as d, type MentionCandidate as e, type MentionKind as f, type MessageMentionRef as g, type NotificationBellProps as h, type NotificationBellTriggerState as i, type NotifyConfig as j, type NotifyOptions as k, type NotifyVariant as l, type SearchSession as m, type SearchSessionState as n, type SearchStatus as o, type ThreadBindingRow as p, Toaster as q, type TurnDocumentInput as r, bindingOfRow as s, clearChatArtifacts as t, clearSearchSession as u, configureNotify as v, createSearchSession as w, extractMentions as x, filterMentionCandidates as y, findMentionQuery as z };
@@ -605,7 +605,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
605
605
  ref?: React.Ref<HTMLDivElement>;
606
606
  } & {
607
607
  asChild?: boolean;
608
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
608
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
609
609
  label?: string;
610
610
  shouldFilter?: boolean;
611
611
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -631,7 +631,7 @@ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
631
631
  ref?: React.Ref<HTMLDivElement>;
632
632
  } & {
633
633
  asChild?: boolean;
634
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
634
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
635
635
  label?: string;
636
636
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
637
637
  declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
@@ -640,14 +640,14 @@ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
640
640
  ref?: React.Ref<HTMLDivElement>;
641
641
  } & {
642
642
  asChild?: boolean;
643
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
643
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
644
644
  declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
645
645
  children?: React.ReactNode;
646
646
  } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
647
647
  ref?: React.Ref<HTMLDivElement>;
648
648
  } & {
649
649
  asChild?: boolean;
650
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
650
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
651
651
  heading?: React.ReactNode;
652
652
  value?: string;
653
653
  forceMount?: boolean;
@@ -656,7 +656,7 @@ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<R
656
656
  ref?: React.Ref<HTMLDivElement>;
657
657
  } & {
658
658
  asChild?: boolean;
659
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
659
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
660
660
  alwaysRender?: boolean;
661
661
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
662
662
  declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
@@ -665,7 +665,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
665
665
  ref?: React.Ref<HTMLDivElement>;
666
666
  } & {
667
667
  asChild?: boolean;
668
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "onSelect" | "disabled"> & {
668
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "onSelect" | "disabled"> & {
669
669
  disabled?: boolean;
670
670
  onSelect?: (value: string) => void;
671
671
  value?: string;
@@ -605,7 +605,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
605
605
  ref?: React.Ref<HTMLDivElement>;
606
606
  } & {
607
607
  asChild?: boolean;
608
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
608
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
609
609
  label?: string;
610
610
  shouldFilter?: boolean;
611
611
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -631,7 +631,7 @@ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
631
631
  ref?: React.Ref<HTMLDivElement>;
632
632
  } & {
633
633
  asChild?: boolean;
634
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
634
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
635
635
  label?: string;
636
636
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
637
637
  declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
@@ -640,14 +640,14 @@ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
640
640
  ref?: React.Ref<HTMLDivElement>;
641
641
  } & {
642
642
  asChild?: boolean;
643
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
643
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
644
644
  declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
645
645
  children?: React.ReactNode;
646
646
  } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
647
647
  ref?: React.Ref<HTMLDivElement>;
648
648
  } & {
649
649
  asChild?: boolean;
650
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "heading"> & {
650
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
651
651
  heading?: React.ReactNode;
652
652
  value?: string;
653
653
  forceMount?: boolean;
@@ -656,7 +656,7 @@ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<R
656
656
  ref?: React.Ref<HTMLDivElement>;
657
657
  } & {
658
658
  asChild?: boolean;
659
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
659
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
660
660
  alwaysRender?: boolean;
661
661
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
662
662
  declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
@@ -665,7 +665,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
665
665
  ref?: React.Ref<HTMLDivElement>;
666
666
  } & {
667
667
  asChild?: boolean;
668
- }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "value" | "onSelect" | "disabled"> & {
668
+ }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "onSelect" | "disabled"> & {
669
669
  disabled?: boolean;
670
670
  onSelect?: (value: string) => void;
671
671
  value?: string;