@inkeep/agents-ui 0.15.30 → 0.16.1
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/color-mode/index.js +4 -4
- package/dist/index.cjs +1 -1
- package/dist/index.js +74 -73
- package/dist/node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.3.0-canary-87ae75b3-20260128/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs +9 -0
- package/dist/node_modules/.pnpm/{use-sync-external-store@1.5.0_react@19.0.0 → use-sync-external-store@1.6.0_react@19.3.0-canary-87ae75b3-20260128}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +2 -2
- package/dist/primitives/atoms/cmdk/index.cjs +1 -1
- package/dist/primitives/atoms/cmdk/index.js +14 -2
- package/dist/primitives/atoms/combobox.d.ts +104 -0
- package/dist/primitives/atoms/markdown/index.cjs +1 -1
- package/dist/primitives/atoms/markdown/index.js +41 -39
- package/dist/primitives/atoms/portal.js +3 -3
- package/dist/primitives/atoms/select.cjs +1 -1
- package/dist/primitives/atoms/select.js +2 -2
- package/dist/primitives/atoms/shadow/context.js +4 -4
- package/dist/primitives/components/embedded-chat/chat-error-helpers.cjs +3 -0
- package/dist/primitives/components/embedded-chat/chat-error-helpers.d.ts +26 -0
- package/dist/primitives/components/embedded-chat/chat-error-helpers.js +32 -0
- package/dist/primitives/components/embedded-chat/file-upload-input.cjs +1 -1
- package/dist/primitives/components/embedded-chat/file-upload-input.d.ts +1 -1
- package/dist/primitives/components/embedded-chat/file-upload-input.js +119 -116
- package/dist/primitives/components/embedded-chat/image-preview-modal.js +3 -3
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.cjs +2 -4
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.d.ts +1 -2
- package/dist/primitives/components/embedded-chat/use-inkeep-chat.js +305 -278
- package/dist/primitives/components/embedded-chat/use-stream-processor.cjs +1 -1
- package/dist/primitives/components/embedded-chat/use-stream-processor.js +1 -1
- package/dist/primitives/components/embedded-chat.cjs +3 -3
- package/dist/primitives/components/embedded-chat.d.ts +1 -2
- package/dist/primitives/components/embedded-chat.js +697 -701
- package/dist/primitives/components/embedded-search/search-provider.js +3 -3
- package/dist/primitives/components/embedded-search.cjs +1 -1
- package/dist/primitives/components/embedded-search.d.ts +1 -1
- package/dist/primitives/components/embedded-search.js +3 -3
- package/dist/primitives/components/modal/modal-provider.js +2 -2
- package/dist/primitives/components/modal.js +3 -3
- package/dist/primitives/components/sidebar-chat/index.js +1 -1
- package/dist/primitives/hooks/use-simple-scroll.cjs +1 -1
- package/dist/primitives/hooks/use-simple-scroll.d.ts +7 -0
- package/dist/primitives/hooks/use-simple-scroll.js +33 -30
- 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 +22 -22
- package/dist/primitives/providers/chat-bubble-provider.js +1 -1
- package/dist/primitives/providers/chat-form-provider.d.ts +1 -1
- package/dist/primitives/providers/chat-form-provider.js +4 -4
- package/dist/primitives/providers/chat-history-provider.js +3 -3
- package/dist/primitives/providers/config-provider.js +3 -3
- package/dist/primitives/providers/feedback-provider.js +3 -3
- package/dist/primitives/providers/form-field-provider.js +3 -3
- package/dist/primitives/providers/help-menu-provider.js +4 -4
- package/dist/primitives/providers/hover-popover-provider.js +3 -3
- package/dist/primitives/providers/image-preview-provider.js +5 -5
- package/dist/primitives/providers/markdown-provider.js +2 -2
- package/dist/primitives/providers/message-provider.js +1 -1
- package/dist/primitives/providers/sidebar-chat-provider.js +3 -3
- package/dist/primitives/providers/source-item-provider.js +3 -3
- package/dist/primitives/providers/widget-provider.js +2 -2
- package/dist/primitives/utils/default-settings.cjs +1 -1
- package/dist/primitives/utils/default-settings.d.ts +1 -0
- package/dist/primitives/utils/default-settings.js +6 -5
- package/dist/primitives/utils/misc.cjs +5 -1
- package/dist/primitives/utils/misc.d.ts +2 -1
- package/dist/primitives/utils/misc.js +47 -22
- package/dist/react/chat-button.js +1 -1
- package/dist/react/embedded-chat.cjs +1 -1
- package/dist/react/embedded-chat.js +6 -6
- package/dist/react/embedded-search.cjs +1 -1
- package/dist/react/embedded-search.js +18 -18
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.js +74 -73
- package/dist/styled/components/chat-bubble.js +4 -4
- package/dist/styled/components/chat-button.cjs +1 -1
- package/dist/styled/components/chat-button.js +9 -9
- package/dist/styled/components/chat-history.cjs +1 -1
- package/dist/styled/components/chat-history.js +22 -22
- package/dist/styled/components/embedded-chat/file-upload-input.cjs +1 -1
- package/dist/styled/components/embedded-chat/file-upload-input.js +71 -72
- package/dist/styled/components/embedded-chat/image-preview-modal.js +5 -5
- package/dist/styled/components/embedded-chat.cjs +1 -1
- package/dist/styled/components/embedded-chat.js +198 -198
- package/dist/styled/components/embedded-search.cjs +1 -1
- package/dist/styled/components/embedded-search.js +65 -65
- package/dist/styled/components/loading-indicator.cjs +1 -1
- package/dist/styled/components/loading-indicator.js +1 -1
- package/dist/styled/components/message.cjs +1 -1
- package/dist/styled/components/message.js +106 -108
- package/dist/styled/components/modal.js +3 -3
- package/dist/styled/components/searchbar.js +8 -8
- package/dist/styled/components/sidebar-chat.cjs +1 -1
- package/dist/styled/components/sidebar-chat.js +5 -5
- package/dist/styled/index.cjs +1 -1
- package/dist/styled/index.js +60 -59
- package/dist/styled/inkeep.css.cjs +13 -3
- package/dist/styled/inkeep.css.js +13 -3
- package/dist/theme/utils/generate-theme-variables.js +6 -6
- package/dist/types/config/ai.d.ts +7 -0
- package/package.json +1 -1
- package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.0.0/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs +0 -9
- /package/dist/node_modules/.pnpm/{use-sync-external-store@1.5.0_react@19.0.0 → use-sync-external-store@1.6.0_react@19.3.0-canary-87ae75b3-20260128}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs +0 -0
- /package/dist/node_modules/.pnpm/{use-sync-external-store@1.5.0_react@19.0.0 → use-sync-external-store@1.6.0_react@19.3.0-canary-87ae75b3-20260128}/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +0 -0
- /package/dist/node_modules/.pnpm/{use-sync-external-store@1.5.0_react@19.0.0 → use-sync-external-store@1.6.0_react@19.3.0-canary-87ae75b3-20260128}/node_modules/use-sync-external-store/shim/index.cjs +0 -0
- /package/dist/node_modules/.pnpm/{use-sync-external-store@1.5.0_react@19.0.0 → use-sync-external-store@1.6.0_react@19.3.0-canary-87ae75b3-20260128}/node_modules/use-sync-external-store/shim/index.js +0 -0
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,
|
|
@@ -853,6 +853,10 @@ video {
|
|
|
853
853
|
width: 0.625rem;
|
|
854
854
|
height: 0.625rem;
|
|
855
855
|
}
|
|
856
|
+
.size-3\\.5 {
|
|
857
|
+
width: 0.875rem;
|
|
858
|
+
height: 0.875rem;
|
|
859
|
+
}
|
|
856
860
|
.size-4 {
|
|
857
861
|
width: 1rem;
|
|
858
862
|
height: 1rem;
|
|
@@ -1908,6 +1912,10 @@ video {
|
|
|
1908
1912
|
.tracking-widest {
|
|
1909
1913
|
letter-spacing: 0.1em;
|
|
1910
1914
|
}
|
|
1915
|
+
.text-amber-500 {
|
|
1916
|
+
--tw-text-opacity: 1;
|
|
1917
|
+
color: rgb(245 158 11 / var(--tw-text-opacity, 1));
|
|
1918
|
+
}
|
|
1911
1919
|
.text-current {
|
|
1912
1920
|
color: currentColor;
|
|
1913
1921
|
}
|
|
@@ -2050,13 +2058,10 @@ video {
|
|
|
2050
2058
|
}
|
|
2051
2059
|
.backdrop-blur-sm {
|
|
2052
2060
|
--tw-backdrop-blur: blur(4px);
|
|
2053
|
-
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
2054
2061
|
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
2055
2062
|
}
|
|
2056
2063
|
.transition {
|
|
2057
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
2058
2064
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
2059
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
|
2060
2065
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2061
2066
|
transition-duration: 150ms;
|
|
2062
2067
|
}
|
|
@@ -3816,6 +3821,11 @@ slot {
|
|
|
3816
3821
|
fill: var(--ikp-color-gray-dark-800);
|
|
3817
3822
|
}
|
|
3818
3823
|
|
|
3824
|
+
.dark\\:text-amber-400:is([data-theme="dark"] *) {
|
|
3825
|
+
--tw-text-opacity: 1;
|
|
3826
|
+
color: rgb(251 191 36 / var(--tw-text-opacity, 1));
|
|
3827
|
+
}
|
|
3828
|
+
|
|
3819
3829
|
.dark\\:text-gray-200:is([data-theme="dark"] *) {
|
|
3820
3830
|
color: var(--ikp-color-gray-200);
|
|
3821
3831
|
}
|
|
@@ -854,6 +854,10 @@ video {
|
|
|
854
854
|
width: 0.625rem;
|
|
855
855
|
height: 0.625rem;
|
|
856
856
|
}
|
|
857
|
+
.size-3\\.5 {
|
|
858
|
+
width: 0.875rem;
|
|
859
|
+
height: 0.875rem;
|
|
860
|
+
}
|
|
857
861
|
.size-4 {
|
|
858
862
|
width: 1rem;
|
|
859
863
|
height: 1rem;
|
|
@@ -1909,6 +1913,10 @@ video {
|
|
|
1909
1913
|
.tracking-widest {
|
|
1910
1914
|
letter-spacing: 0.1em;
|
|
1911
1915
|
}
|
|
1916
|
+
.text-amber-500 {
|
|
1917
|
+
--tw-text-opacity: 1;
|
|
1918
|
+
color: rgb(245 158 11 / var(--tw-text-opacity, 1));
|
|
1919
|
+
}
|
|
1912
1920
|
.text-current {
|
|
1913
1921
|
color: currentColor;
|
|
1914
1922
|
}
|
|
@@ -2051,13 +2059,10 @@ video {
|
|
|
2051
2059
|
}
|
|
2052
2060
|
.backdrop-blur-sm {
|
|
2053
2061
|
--tw-backdrop-blur: blur(4px);
|
|
2054
|
-
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
2055
2062
|
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
|
|
2056
2063
|
}
|
|
2057
2064
|
.transition {
|
|
2058
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
|
|
2059
2065
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
2060
|
-
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
|
|
2061
2066
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
2062
2067
|
transition-duration: 150ms;
|
|
2063
2068
|
}
|
|
@@ -3817,6 +3822,11 @@ slot {
|
|
|
3817
3822
|
fill: var(--ikp-color-gray-dark-800);
|
|
3818
3823
|
}
|
|
3819
3824
|
|
|
3825
|
+
.dark\\:text-amber-400:is([data-theme="dark"] *) {
|
|
3826
|
+
--tw-text-opacity: 1;
|
|
3827
|
+
color: rgb(251 191 36 / var(--tw-text-opacity, 1));
|
|
3828
|
+
}
|
|
3829
|
+
|
|
3820
3830
|
.dark\\:text-gray-200:is([data-theme="dark"] *) {
|
|
3821
3831
|
color: var(--ikp-color-gray-200);
|
|
3822
3832
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const p =
|
|
2
|
+
const p = {
|
|
3
3
|
colors: "color",
|
|
4
4
|
fontFamily: "font-family",
|
|
5
5
|
fontSize: "font-size",
|
|
@@ -8,13 +8,13 @@ const p = "ikp", y = {
|
|
|
8
8
|
function r(t) {
|
|
9
9
|
return t.replace(/([A-Z])/g, "-$1").toLowerCase();
|
|
10
10
|
}
|
|
11
|
-
function
|
|
11
|
+
function y(t) {
|
|
12
12
|
const c = {};
|
|
13
13
|
for (const [o, f] of Object.entries(t)) {
|
|
14
|
-
const l = r(
|
|
14
|
+
const l = r(p[o] || o), s = (n, a = []) => {
|
|
15
15
|
if (typeof n != "object" || n === null) {
|
|
16
16
|
const e = a.map(r).join("-");
|
|
17
|
-
return `var(
|
|
17
|
+
return `var(--ikp-${l}-${e})`;
|
|
18
18
|
}
|
|
19
19
|
const i = {};
|
|
20
20
|
for (const [e, u] of Object.entries(n))
|
|
@@ -29,6 +29,6 @@ function g(t) {
|
|
|
29
29
|
return c;
|
|
30
30
|
}
|
|
31
31
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
y as generateThemeVariables,
|
|
33
|
+
p as themeMappings
|
|
34
34
|
};
|
|
@@ -195,6 +195,13 @@ export interface InkeepAIChatSettings {
|
|
|
195
195
|
*/
|
|
196
196
|
components?: ComponentsConfig<any>;
|
|
197
197
|
artifacts?: ComponentsConfig<any>;
|
|
198
|
+
/**
|
|
199
|
+
* Controls whether the chat automatically scrolls to the bottom
|
|
200
|
+
* during streaming. When false, streaming auto-scroll is disabled
|
|
201
|
+
* but the chat still scrolls to bottom when the user sends a new message.
|
|
202
|
+
* @default true
|
|
203
|
+
*/
|
|
204
|
+
shouldAutoScroll?: boolean;
|
|
198
205
|
}
|
|
199
206
|
export interface AIChatDisclaimerSettings {
|
|
200
207
|
/**
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../../../../../_virtual/use-sync-external-store-shim.development.cjs"),h=require("react");/**
|
|
2
|
-
* @license React
|
|
3
|
-
* use-sync-external-store-shim.development.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var f;function T(){return f||(f=1,process.env.NODE_ENV!=="production"&&function(){function d(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function S(e,t){c||o.startTransition===void 0||(c=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var r=t();if(!l){var u=t();_(r,u)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),l=!0)}u=p({inst:{value:r,getSnapshot:t}});var n=u[0].inst,s=u[1];return y(function(){n.value=r,n.getSnapshot=t,a(n)&&s({inst:n})},[e,r,t]),E(function(){return a(n)&&s({inst:n}),e(function(){a(n)&&s({inst:n})})},[e]),L(r),r}function a(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!_(e,r)}catch{return!0}}function O(e,t){return t()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=h,_=typeof Object.is=="function"?Object.is:d,p=o.useState,E=o.useEffect,y=o.useLayoutEffect,L=o.useDebugValue,c=!1,l=!1,v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?O:S;i.__exports.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:v,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),i.__exports}exports.__require=T;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|