@inkeep/agents-ui 0.0.0-dev-20260407043219 → 0.0.0-dev-20260408193814
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +74 -73
- package/dist/primitives/components/embedded-chat.cjs +3 -3
- package/dist/primitives/components/embedded-chat.js +687 -691
- package/dist/primitives/index.cjs +1 -1
- package/dist/primitives/index.js +55 -54
- package/dist/primitives/providers/base-events-provider.cjs +1 -1
- package/dist/primitives/providers/base-events-provider.js +1 -1
- package/dist/primitives/utils/misc.cjs +5 -1
- package/dist/primitives/utils/misc.d.ts +2 -1
- package/dist/primitives/utils/misc.js +45 -20
- package/dist/react/embedded-chat.cjs +1 -1
- package/dist/react/embedded-chat.js +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.js +74 -73
- package/dist/styled/components/message.cjs +1 -1
- package/dist/styled/components/message.js +40 -41
- package/dist/styled/index.cjs +1 -1
- package/dist/styled/index.js +60 -59
- package/package.json +1 -1
package/dist/styled/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import * as t from "./components/chat-bubble.js";
|
|
|
5
5
|
import * as a from "./components/embedded-search.js";
|
|
6
6
|
import * as m from "./components/modal.js";
|
|
7
7
|
import * as s from "./components/chat-button.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as i from "./components/searchbar.js";
|
|
9
9
|
import { Shadow as c } from "./components/shadow.js";
|
|
10
10
|
import { LoadingIndicator as v } from "./components/loading-indicator.js";
|
|
11
11
|
import { widgetToggle as g } from "./components/ui/recipes/widget-toggle.js";
|
|
@@ -13,27 +13,27 @@ import { DefaultToolComponent as M, EmbeddedChatMessagePart as y } from "./compo
|
|
|
13
13
|
import { DataSummaryGroup as F } from "./components/data-summary-group.js";
|
|
14
14
|
import { BaseEventsProvider as w, useBaseEvents as E } from "../primitives/providers/base-events-provider.js";
|
|
15
15
|
import { ChatFormProvider as R, useChatForm as $, useChatFormState as T } from "../primitives/providers/chat-form-provider.js";
|
|
16
|
-
import { ChatHistoryProvider as W, useChatHistory as
|
|
16
|
+
import { ChatHistoryProvider as W, useChatHistory as A } from "../primitives/providers/chat-history-provider.js";
|
|
17
17
|
import { InkeepConfigProvider as L, WebWidgetInteractionType as j, useInkeepConfig as G } from "../primitives/providers/config-provider.js";
|
|
18
18
|
import { FeedbackProvider as N, useMessageFeedback as Q } from "../primitives/providers/feedback-provider.js";
|
|
19
19
|
import { FormFieldProvider as q, useFormField as J } from "../primitives/providers/form-field-provider.js";
|
|
20
20
|
import { HelpMenuProvider as X, useHelpMenu as Y, useHelpMenuState as Z } from "../primitives/providers/help-menu-provider.js";
|
|
21
21
|
import { ChatMarkdownProvider as ee, useChatMarkdown as oe } from "../primitives/providers/markdown-provider.js";
|
|
22
22
|
import { MessageProvider as te, useMessage as ae, useOptionalMessage as me } from "../primitives/providers/message-provider.js";
|
|
23
|
-
import { RootProvider as
|
|
23
|
+
import { RootProvider as ie } from "../primitives/providers/root-provider.js";
|
|
24
24
|
import { SourceItemProvider as de, useSourceItem as ne } from "../primitives/providers/source-item-provider.js";
|
|
25
25
|
import { ThemeProvider as fe } from "../primitives/providers/theme-provider.js";
|
|
26
26
|
import { WidgetProvider as xe, useWidget as he } from "../primitives/providers/widget-provider.js";
|
|
27
27
|
import { SidebarChatProvider as be, useInkeepSidebarChat as Se, useOptionalSidebarChat as ce, useSidebarChat as Pe } from "../primitives/providers/sidebar-chat-provider.js";
|
|
28
28
|
import { ChatBubbleProvider as Ie, useChatBubble as ge, useInkeepChatBubble as Be, useOptionalChatBubble as Me } from "../primitives/providers/chat-bubble-provider.js";
|
|
29
29
|
import { ikp as ke, jsxFactory as Fe } from "../primitives/components/factory.js";
|
|
30
|
-
import * as
|
|
30
|
+
import * as p from "../primitives/components/embedded-chat.js";
|
|
31
31
|
import * as d from "../primitives/components/sidebar-chat/index.js";
|
|
32
32
|
import { ChatProvider as we, useChat as Ee } from "../primitives/components/embedded-chat/chat-provider.js";
|
|
33
33
|
import * as n from "../primitives/components/embedded-search.js";
|
|
34
34
|
import { SearchProvider as Re, SearchProviderImpl as $e, useSearch as Te } from "../primitives/components/embedded-search/search-provider.js";
|
|
35
35
|
import * as u from "../primitives/components/modal.js";
|
|
36
|
-
import { ModalProvider as We, useModal as
|
|
36
|
+
import { ModalProvider as We, useModal as Ae } from "../primitives/components/modal/modal-provider.js";
|
|
37
37
|
import * as f from "../primitives/components/chat-button.js";
|
|
38
38
|
import * as C from "../primitives/components/searchbar.js";
|
|
39
39
|
import * as x from "../primitives/components/chat-bubble/index.js";
|
|
@@ -49,24 +49,24 @@ import { useIsMounted as Ze } from "../primitives/hooks/use-is-mounted.js";
|
|
|
49
49
|
import { useMediaQuery as eo } from "../primitives/hooks/use-media-query.js";
|
|
50
50
|
import { useResizeObserver as ro } from "../primitives/hooks/use-resize-observer.js";
|
|
51
51
|
import { useScrollingFades as ao, useScrollingFadesHorizontal as mo } from "../primitives/hooks/use-scrolling-fades.js";
|
|
52
|
-
import { useSettleAction as
|
|
52
|
+
import { useSettleAction as io } from "../primitives/hooks/use-settle-action.js";
|
|
53
53
|
import { useSimpleScroll as no } from "../primitives/hooks/use-simple-scroll.js";
|
|
54
|
-
import { callAll as fo, dataAttr as Co, getInitials as xo, getMessageContent as ho,
|
|
55
|
-
import { ChatBubbleComponentIds as
|
|
56
|
-
import { composeRefs as
|
|
57
|
-
import { mergeProps as
|
|
54
|
+
import { callAll as fo, dataAttr as Co, getInitials as xo, getMessageContent as ho, isCitationArtifact as lo, isString as bo, maybeRender as So, toKebabCase as co } from "../primitives/utils/misc.js";
|
|
55
|
+
import { ChatBubbleComponentIds as vo, DataSummaryComponentIds as Io, SearchBarComponentIds as go, SidebarChatComponentIds as Bo, aiChatComponentIds as Mo, aiChatHistoryComponentIds as yo, aiSearchComponentIds as ko, chatButtonComponentIds as Fo, componentIDs as Ho, markDownComponentIds as wo, miscellanousComponentIds as Eo, modalComponentIds as Do } from "../primitives/utils/component-ids.js";
|
|
56
|
+
import { composeRefs as $o, useComposedRefs as To } from "../primitives/utils/compose-refs.js";
|
|
57
|
+
import { mergeProps as Wo } from "../primitives/utils/merge-props.js";
|
|
58
58
|
import { Portal as zo } from "../primitives/atoms/portal.js";
|
|
59
|
-
import { CustomIcon as
|
|
60
|
-
import { BuiltInIconRenderer as
|
|
61
|
-
import { PortalWithTheme as
|
|
62
|
-
import { Command as
|
|
63
|
-
import { ErrorBoundary as
|
|
64
|
-
import { InkeepShadow as pr, InkeepShadowProvider as
|
|
59
|
+
import { CustomIcon as jo } from "../primitives/atoms/icons/custom-icon.js";
|
|
60
|
+
import { BuiltInIconRenderer as Ko } from "../primitives/atoms/icons/built-in-icon-renderer.js";
|
|
61
|
+
import { PortalWithTheme as Qo } from "../primitives/atoms/portal-with-theme.js";
|
|
62
|
+
import { Command as qo, CommandDialog as Jo, CommandEmpty as Vo, CommandInput as Xo, CommandItem as Yo, CommandList as Zo, CommandLoading as _o, CommandRoot as er, CommandSeparator as or, defaultFilter as rr, useCommandState as tr, useCommandStore as ar } from "../primitives/atoms/cmdk/index.js";
|
|
63
|
+
import { ErrorBoundary as sr } from "../primitives/atoms/error-boundary.js";
|
|
64
|
+
import { InkeepShadow as pr, InkeepShadowProvider as dr, ShadowContext as nr, useShadow as ur } from "../primitives/atoms/shadow/context.js";
|
|
65
65
|
export {
|
|
66
66
|
w as BaseEventsProvider,
|
|
67
|
-
|
|
67
|
+
Ko as BuiltInIconRenderer,
|
|
68
68
|
t as ChatBubble,
|
|
69
|
-
|
|
69
|
+
vo as ChatBubbleComponentIds,
|
|
70
70
|
x as ChatBubblePrimitive,
|
|
71
71
|
Ie as ChatBubbleProvider,
|
|
72
72
|
s as ChatButton,
|
|
@@ -77,87 +77,88 @@ export {
|
|
|
77
77
|
W as ChatHistoryProvider,
|
|
78
78
|
ee as ChatMarkdownProvider,
|
|
79
79
|
we as ChatProvider,
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
80
|
+
qo as Command,
|
|
81
|
+
Jo as CommandDialog,
|
|
82
|
+
Vo as CommandEmpty,
|
|
83
|
+
Xo as CommandInput,
|
|
84
|
+
Yo as CommandItem,
|
|
85
|
+
Zo as CommandList,
|
|
86
|
+
_o as CommandLoading,
|
|
87
|
+
er as CommandRoot,
|
|
88
|
+
or as CommandSeparator,
|
|
89
|
+
jo as CustomIcon,
|
|
90
|
+
Io as DataSummaryComponentIds,
|
|
91
91
|
F as DataSummaryGroup,
|
|
92
92
|
h as DataSummaryPrimitive,
|
|
93
93
|
M as DefaultToolComponent,
|
|
94
94
|
e as EmbeddedChat,
|
|
95
95
|
y as EmbeddedChatMessagePart,
|
|
96
|
-
|
|
96
|
+
p as EmbeddedChatPrimitive,
|
|
97
97
|
a as EmbeddedSearch,
|
|
98
98
|
n as EmbeddedSearchPrimitive,
|
|
99
|
-
|
|
99
|
+
sr as ErrorBoundary,
|
|
100
100
|
N as FeedbackProvider,
|
|
101
101
|
q as FormFieldProvider,
|
|
102
102
|
X as HelpMenuProvider,
|
|
103
103
|
L as InkeepConfigProvider,
|
|
104
104
|
pr as InkeepShadow,
|
|
105
|
-
|
|
105
|
+
dr as InkeepShadowProvider,
|
|
106
106
|
v as LoadingIndicator,
|
|
107
107
|
te as MessageProvider,
|
|
108
108
|
m as Modal,
|
|
109
109
|
u as ModalPrimitive,
|
|
110
110
|
We as ModalProvider,
|
|
111
111
|
zo as Portal,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
112
|
+
Qo as PortalWithTheme,
|
|
113
|
+
ie as RootProvider,
|
|
114
|
+
i as SearchBar,
|
|
115
|
+
go as SearchBarComponentIds,
|
|
116
116
|
C as SearchBarPrimitive,
|
|
117
117
|
Re as SearchProvider,
|
|
118
118
|
$e as SearchProviderImpl,
|
|
119
119
|
c as Shadow,
|
|
120
|
-
|
|
120
|
+
nr as ShadowContext,
|
|
121
121
|
r as SidebarChat,
|
|
122
|
-
|
|
122
|
+
Bo as SidebarChatComponentIds,
|
|
123
123
|
d as SidebarChatPrimitive,
|
|
124
124
|
be as SidebarChatProvider,
|
|
125
125
|
de as SourceItemProvider,
|
|
126
126
|
fe as ThemeProvider,
|
|
127
127
|
j as WebWidgetInteractionType,
|
|
128
128
|
xe as WidgetProvider,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
129
|
+
Mo as aiChatComponentIds,
|
|
130
|
+
yo as aiChatHistoryComponentIds,
|
|
131
|
+
ko as aiSearchComponentIds,
|
|
132
132
|
fo as callAll,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
133
|
+
Fo as chatButtonComponentIds,
|
|
134
|
+
Ho as componentIDs,
|
|
135
|
+
$o as composeRefs,
|
|
136
136
|
Co as dataAttr,
|
|
137
|
-
|
|
137
|
+
rr as defaultFilter,
|
|
138
138
|
xo as getInitials,
|
|
139
139
|
ho as getMessageContent,
|
|
140
140
|
ke as ikp,
|
|
141
|
-
lo as
|
|
141
|
+
lo as isCitationArtifact,
|
|
142
|
+
bo as isString,
|
|
142
143
|
Fe as jsxFactory,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
144
|
+
wo as markDownComponentIds,
|
|
145
|
+
So as maybeRender,
|
|
146
|
+
Wo as mergeProps,
|
|
147
|
+
Eo as miscellanousComponentIds,
|
|
148
|
+
Do as modalComponentIds,
|
|
149
|
+
co as toKebabCase,
|
|
149
150
|
E as useBaseEvents,
|
|
150
151
|
Le as useBoolean,
|
|
151
152
|
Ee as useChat,
|
|
152
153
|
ge as useChatBubble,
|
|
153
154
|
$ as useChatForm,
|
|
154
155
|
T as useChatFormState,
|
|
155
|
-
|
|
156
|
+
A as useChatHistory,
|
|
156
157
|
oe as useChatMarkdown,
|
|
157
|
-
|
|
158
|
-
|
|
158
|
+
tr as useCommandState,
|
|
159
|
+
ar as useCommandStore,
|
|
159
160
|
Ge as useComponentClassNames,
|
|
160
|
-
|
|
161
|
+
To as useComposedRefs,
|
|
161
162
|
Ne as useContainerSize,
|
|
162
163
|
Je as useCopyToClipboard,
|
|
163
164
|
J as useFormField,
|
|
@@ -172,7 +173,7 @@ export {
|
|
|
172
173
|
eo as useMediaQuery,
|
|
173
174
|
ae as useMessage,
|
|
174
175
|
Q as useMessageFeedback,
|
|
175
|
-
|
|
176
|
+
Ae as useModal,
|
|
176
177
|
Me as useOptionalChatBubble,
|
|
177
178
|
me as useOptionalMessage,
|
|
178
179
|
ce as useOptionalSidebarChat,
|
|
@@ -180,8 +181,8 @@ export {
|
|
|
180
181
|
ao as useScrollingFades,
|
|
181
182
|
mo as useScrollingFadesHorizontal,
|
|
182
183
|
Te as useSearch,
|
|
183
|
-
|
|
184
|
-
|
|
184
|
+
io as useSettleAction,
|
|
185
|
+
ur as useShadow,
|
|
185
186
|
Pe as useSidebarChat,
|
|
186
187
|
no as useSimpleScroll,
|
|
187
188
|
ne as useSourceItem,
|