@inkeep/agents-ui 0.16.0 → 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/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/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 +1 -1
- package/dist/primitives/components/embedded-chat.d.ts +1 -2
- package/dist/primitives/components/embedded-chat.js +23 -23
- 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/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/misc.cjs +1 -1
- package/dist/primitives/utils/misc.js +2 -2
- package/dist/react/chat-button.js +1 -1
- package/dist/react/embedded-chat.cjs +1 -1
- package/dist/react/embedded-chat.js +5 -5
- package/dist/react/embedded-search.cjs +1 -1
- package/dist/react/embedded-search.js +18 -18
- 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 +90 -90
- 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/inkeep.css.cjs +13 -3
- package/dist/styled/inkeep.css.js +13 -3
- package/dist/theme/utils/generate-theme-variables.js +6 -6
- 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
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { useBaseEvents as
|
|
4
|
-
import { useInkeepConfig as
|
|
5
|
-
import { useMessage as
|
|
6
|
-
import { EmbeddedChatPrimitiveMarkdown as
|
|
7
|
-
import { useChat as
|
|
8
|
-
import { isCitationArtifact as
|
|
9
|
-
import { merge as
|
|
2
|
+
import { jsxs as o, jsx as e, Fragment as le } from "react/jsx-runtime";
|
|
3
|
+
import { useBaseEvents as de } from "../../primitives/providers/base-events-provider.js";
|
|
4
|
+
import { useInkeepConfig as pe } from "../../primitives/providers/config-provider.js";
|
|
5
|
+
import { useMessage as ce } from "../../primitives/providers/message-provider.js";
|
|
6
|
+
import { EmbeddedChatPrimitiveMarkdown as me, PrimitiveMessagePart as S } from "../../primitives/components/embedded-chat.js";
|
|
7
|
+
import { useChat as ue } from "../../primitives/components/embedded-chat/chat-provider.js";
|
|
8
|
+
import { isCitationArtifact as he } from "../../primitives/utils/misc.js";
|
|
9
|
+
import { merge as xe } from "merge-anything";
|
|
10
10
|
import { cn as y } from "../utils.js";
|
|
11
|
-
import { markdownStyles as
|
|
12
|
-
import { useStreamProcessor as
|
|
13
|
-
import { DataSummaryGroup as
|
|
14
|
-
import { useState as L,
|
|
15
|
-
import { DynamicComponent as
|
|
16
|
-
import { Hammer as
|
|
17
|
-
import { button as
|
|
18
|
-
const
|
|
11
|
+
import { markdownStyles as fe } from "./ui/markdown-styles.js";
|
|
12
|
+
import { useStreamProcessor as ge } from "../../primitives/components/embedded-chat/use-stream-processor.js";
|
|
13
|
+
import { DataSummaryGroup as ye } from "./data-summary-group.js";
|
|
14
|
+
import { useState as L, useEffect as M, useRef as A, useMemo as E, useCallback as P } from "react";
|
|
15
|
+
import { DynamicComponent as R, MessageLoading as be } from "./embedded-chat.js";
|
|
16
|
+
import { Hammer as we, ChevronDown as G, Check as K, X as ke, XCircle as Ne, TriangleAlert as ve, CheckCircle as W, Clock as Ce, Loader2 as De, Circle as Se, Library as Te, ComponentIcon as Ae } from "lucide-react";
|
|
17
|
+
import { button as X } from "./ui/recipes/button.js";
|
|
18
|
+
const Ee = {
|
|
19
19
|
"input-streaming": "Pending",
|
|
20
20
|
"input-available": "Running",
|
|
21
21
|
"approval-requested": "Awaiting Approval",
|
|
@@ -24,16 +24,16 @@ const Ae = {
|
|
|
24
24
|
"output-error": "Error",
|
|
25
25
|
"output-denied": "Denied"
|
|
26
26
|
};
|
|
27
|
-
function
|
|
27
|
+
function Pe(t) {
|
|
28
28
|
if (!t || typeof t != "object") return !1;
|
|
29
29
|
const a = t;
|
|
30
30
|
return typeof a.type == "string" && a.type.startsWith("tool-");
|
|
31
31
|
}
|
|
32
|
-
const
|
|
32
|
+
const Le = (t) => {
|
|
33
33
|
if (!t || typeof t != "object" || !("status" in t)) return;
|
|
34
34
|
const a = t.status;
|
|
35
35
|
return typeof a == "string" ? a : void 0;
|
|
36
|
-
},
|
|
36
|
+
}, je = () => /* @__PURE__ */ e("div", { className: "flex space-x-1", children: [0, 1, 2].map((t) => /* @__PURE__ */ e(
|
|
37
37
|
"span",
|
|
38
38
|
{
|
|
39
39
|
className: "animate-bounce-dot opacity-30",
|
|
@@ -43,7 +43,7 @@ const Pe = (t) => {
|
|
|
43
43
|
children: "."
|
|
44
44
|
},
|
|
45
45
|
t
|
|
46
|
-
)) }),
|
|
46
|
+
)) }), H = ({ name: t, Icon: a, props: i, componentType: s }) => /* @__PURE__ */ o("div", { className: "border rounded-lg bg-gray-50 dark:bg-gray-dark-800 mb-3", children: [
|
|
47
47
|
/* @__PURE__ */ o("div", { className: "flex justify-between px-4 py-2 text-xs", children: [
|
|
48
48
|
/* @__PURE__ */ o("div", { className: "font-medium flex items-center gap-2", children: [
|
|
49
49
|
/* @__PURE__ */ e(a, { className: "w-3 h-3 text-gray-600 dark:text-white-alpha-600" }),
|
|
@@ -51,8 +51,8 @@ const Pe = (t) => {
|
|
|
51
51
|
] }),
|
|
52
52
|
/* @__PURE__ */ e("div", { className: "flex items-center px-1.5 py-0.5 rounded-md text-2xs uppercase tracking-wider bg-gray-200 dark:bg-white-alpha-200 font-medium text-gray-700 dark:text-white-alpha-700 font-mono", children: s })
|
|
53
53
|
] }),
|
|
54
|
-
/* @__PURE__ */ e("
|
|
55
|
-
] }),
|
|
54
|
+
/* @__PURE__ */ e("div", { className: "px-4 py-2", children: /* @__PURE__ */ e(Y, { value: i }) })
|
|
55
|
+
] }), Ie = ({ name: t, props: a }) => /* @__PURE__ */ e(H, { name: t, Icon: Ae, props: a, componentType: "component" }), _e = ({ name: t, props: a }) => /* @__PURE__ */ e(H, { name: t, Icon: Te, props: a, componentType: "artifact" }), $e = ({
|
|
56
56
|
tool: t,
|
|
57
57
|
componentDef: a,
|
|
58
58
|
renderText: i,
|
|
@@ -75,9 +75,9 @@ const Pe = (t) => {
|
|
|
75
75
|
},
|
|
76
76
|
[s, u, f]
|
|
77
77
|
), v = E(() => ({ tool: t, approve: h, renderMarkdown: i }), [t]);
|
|
78
|
-
return /* @__PURE__ */ e(a ?
|
|
78
|
+
return /* @__PURE__ */ e(a ? R : Me, { name: t.type, props: v, componentDef: a });
|
|
79
79
|
};
|
|
80
|
-
function
|
|
80
|
+
function J(t) {
|
|
81
81
|
return t === null ? /* @__PURE__ */ e("span", { className: "text-gray-500 dark:text-white-alpha-500 font-mono font-medium text-1xs", children: "null" }) : t === void 0 ? /* @__PURE__ */ e("span", { className: "text-gray-400 dark:text-white-alpha-400 italic text-xs font-medium", children: "undefined" }) : typeof t == "boolean" ? /* @__PURE__ */ e(
|
|
82
82
|
"span",
|
|
83
83
|
{
|
|
@@ -89,7 +89,7 @@ function H(t) {
|
|
|
89
89
|
}
|
|
90
90
|
) : typeof t == "number" ? /* @__PURE__ */ e("span", { className: "tabular-nums font-medium text-inkeep-expanded-primary-600 dark:text-inkeep-expanded-primary-200", children: t.toLocaleString() }) : typeof t == "string" ? /* @__PURE__ */ e("span", { className: "text-gray-800 dark:text-white-alpha-800 break-words", children: t }) : /* @__PURE__ */ e("span", { children: String(t) });
|
|
91
91
|
}
|
|
92
|
-
const
|
|
92
|
+
const Q = ({
|
|
93
93
|
name: t,
|
|
94
94
|
value: a,
|
|
95
95
|
isArrayIndex: i,
|
|
@@ -108,7 +108,7 @@ const J = ({
|
|
|
108
108
|
children: i ? "—" : t
|
|
109
109
|
}
|
|
110
110
|
),
|
|
111
|
-
/* @__PURE__ */ e("span", { className: "min-w-0", children:
|
|
111
|
+
/* @__PURE__ */ e("span", { className: "min-w-0", children: J(a) })
|
|
112
112
|
] });
|
|
113
113
|
const l = d ? a.map((p, h) => [String(h), p]) : Object.entries(a);
|
|
114
114
|
return l.length === 0 ? /* @__PURE__ */ o("div", { className: "flex items-baseline gap-2 py-1 text-xs", children: [
|
|
@@ -125,7 +125,7 @@ const J = ({
|
|
|
125
125
|
className: "flex items-center gap-1.5 py-1 text-xs hover:bg-gray-50 dark:hover:bg-white-alpha-50 -mx-1.5 px-1.5 rounded transition-colors w-full text-left",
|
|
126
126
|
children: [
|
|
127
127
|
/* @__PURE__ */ e(
|
|
128
|
-
|
|
128
|
+
G,
|
|
129
129
|
{
|
|
130
130
|
className: y(
|
|
131
131
|
"h-3.5 w-3.5 text-gray-400 dark:text-white-alpha-400 shrink-0 transition-transform",
|
|
@@ -138,16 +138,16 @@ const J = ({
|
|
|
138
138
|
]
|
|
139
139
|
}
|
|
140
140
|
),
|
|
141
|
-
u && /* @__PURE__ */ e("div", { className: "border-l-2 border-gray-200 dark:border-white-alpha-200 ml-1.5 pl-3", children: l.map(([p, h]) => /* @__PURE__ */ e(
|
|
141
|
+
u && /* @__PURE__ */ e("div", { className: "border-l-2 border-gray-200 dark:border-white-alpha-200 ml-1.5 pl-3", children: l.map(([p, h]) => /* @__PURE__ */ e(Q, { name: p, value: h, isArrayIndex: d, depth: s + 1 }, p)) })
|
|
142
142
|
] });
|
|
143
|
-
},
|
|
143
|
+
}, Y = ({ value: t }) => {
|
|
144
144
|
if (t == null || typeof t != "object")
|
|
145
|
-
return /* @__PURE__ */ e("span", { className: "text-xs", children:
|
|
145
|
+
return /* @__PURE__ */ e("span", { className: "text-xs", children: J(t) });
|
|
146
146
|
const a = Array.isArray(t) ? t.map((i, s) => [String(s), i]) : Object.entries(t);
|
|
147
|
-
return a.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-400 dark:text-white-alpha-400 italic", children: "No arguments" }) : /* @__PURE__ */ e("div", { className: "space-y-1", children: a.map(([i, s]) => /* @__PURE__ */ e(
|
|
147
|
+
return a.length === 0 ? /* @__PURE__ */ e("div", { className: "text-xs text-gray-400 dark:text-white-alpha-400 italic", children: "No arguments" }) : /* @__PURE__ */ e("div", { className: "space-y-1", children: a.map(([i, s]) => /* @__PURE__ */ e(Q, { name: i, value: s, isArrayIndex: Array.isArray(t) }, i)) });
|
|
148
148
|
}, Me = ({ props: t }) => {
|
|
149
|
-
const { tool: a, approve: i } = t, s = a.type, u = s.startsWith("tool-") ? s.slice(5) : s, n = a.state, c = a.approval?.id, d = !!c, f = n === "approval-requested", l =
|
|
150
|
-
return
|
|
149
|
+
const { tool: a, approve: i } = t, s = a.type, u = s.startsWith("tool-") ? s.slice(5) : s, n = a.state, c = a.approval?.id, d = !!c, f = n === "approval-requested", l = Le(a.output), [m, p] = L(d), h = n ? Ee[n] ?? n : "tool";
|
|
150
|
+
return M(() => {
|
|
151
151
|
f && p(!0);
|
|
152
152
|
}, [f]), /* @__PURE__ */ o("div", { className: "border rounded-lg mb-3 overflow-hidden", children: [
|
|
153
153
|
/* @__PURE__ */ o(
|
|
@@ -160,7 +160,7 @@ const J = ({
|
|
|
160
160
|
"data-expanded": m,
|
|
161
161
|
children: [
|
|
162
162
|
/* @__PURE__ */ e("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ o("div", { className: "font-medium flex items-center gap-2", children: [
|
|
163
|
-
/* @__PURE__ */ e(
|
|
163
|
+
/* @__PURE__ */ e(we, { className: "w-3 h-3 text-gray-600 dark:text-white-alpha-600" }),
|
|
164
164
|
/* @__PURE__ */ e("span", { children: u })
|
|
165
165
|
] }) }),
|
|
166
166
|
/* @__PURE__ */ o("div", { className: "flex items-center gap-2", children: [
|
|
@@ -168,26 +168,26 @@ const J = ({
|
|
|
168
168
|
(() => {
|
|
169
169
|
switch (n) {
|
|
170
170
|
case "input-streaming":
|
|
171
|
-
return /* @__PURE__ */ e(
|
|
171
|
+
return /* @__PURE__ */ e(Se, { className: "w-3 h-3" });
|
|
172
172
|
case "input-available":
|
|
173
173
|
return /* @__PURE__ */ e(De, { className: "w-3 h-3 animate-spin" });
|
|
174
174
|
case "approval-requested":
|
|
175
|
-
return /* @__PURE__ */ e(
|
|
175
|
+
return /* @__PURE__ */ e(Ce, { className: "w-3 h-3" });
|
|
176
176
|
case "approval-responded":
|
|
177
|
-
return /* @__PURE__ */ e(
|
|
177
|
+
return /* @__PURE__ */ e(W, { className: "w-3 h-3" });
|
|
178
178
|
case "output-available":
|
|
179
|
-
return /* @__PURE__ */ e(
|
|
179
|
+
return /* @__PURE__ */ e(W, { className: "w-3 h-3" });
|
|
180
180
|
case "output-error":
|
|
181
|
-
return /* @__PURE__ */ e(Ce, { className: "w-3 h-3" });
|
|
182
|
-
case "output-denied":
|
|
183
181
|
return /* @__PURE__ */ e(ve, { className: "w-3 h-3" });
|
|
182
|
+
case "output-denied":
|
|
183
|
+
return /* @__PURE__ */ e(Ne, { className: "w-3 h-3" });
|
|
184
184
|
default:
|
|
185
185
|
return null;
|
|
186
186
|
}
|
|
187
187
|
})(),
|
|
188
188
|
h
|
|
189
189
|
] }),
|
|
190
|
-
/* @__PURE__ */ e(
|
|
190
|
+
/* @__PURE__ */ e(G, { className: "w-3.5 h-3.5 text-gray-500 dark:text-white-alpha-500 transition-all duration-200 transform rotate-0 group-data-[expanded=true]:rotate-180" })
|
|
191
191
|
] })
|
|
192
192
|
]
|
|
193
193
|
}
|
|
@@ -220,7 +220,7 @@ const J = ({
|
|
|
220
220
|
"[scrollbar-width:thin] px-4",
|
|
221
221
|
"data-[expanded=true]:max-h-48 data-[expanded=true]:overflow-y-auto"
|
|
222
222
|
),
|
|
223
|
-
children: a.input != null && /* @__PURE__ */ e("div", { className: "text-xs py-2", children: /* @__PURE__ */ e(
|
|
223
|
+
children: a.input != null && /* @__PURE__ */ e("div", { className: "text-xs py-2", children: /* @__PURE__ */ e(Y, { value: a.input }) })
|
|
224
224
|
}
|
|
225
225
|
)
|
|
226
226
|
}
|
|
@@ -231,7 +231,7 @@ const J = ({
|
|
|
231
231
|
{
|
|
232
232
|
type: "button",
|
|
233
233
|
className: y(
|
|
234
|
-
|
|
234
|
+
X({ size: "xs", variant: "outline" }),
|
|
235
235
|
"px-2 py-1 rounded-md text-xs text-gray-700 dark:text-white-alpha-700"
|
|
236
236
|
),
|
|
237
237
|
onClick: () => i(!1),
|
|
@@ -243,23 +243,23 @@ const J = ({
|
|
|
243
243
|
{
|
|
244
244
|
type: "button",
|
|
245
245
|
className: y(
|
|
246
|
-
|
|
246
|
+
X({ size: "xs", variant: "primaryFilled" }),
|
|
247
247
|
"px-2 py-1 rounded-md text-xs gap-1"
|
|
248
248
|
),
|
|
249
249
|
onClick: () => i(!0),
|
|
250
250
|
children: [
|
|
251
|
-
/* @__PURE__ */ e(
|
|
251
|
+
/* @__PURE__ */ e(K, { className: "w-3 h-3" }),
|
|
252
252
|
"Approve"
|
|
253
253
|
]
|
|
254
254
|
}
|
|
255
255
|
)
|
|
256
256
|
] }),
|
|
257
257
|
n === "output-available" && l && a.output != null && /* @__PURE__ */ o("div", { className: "flex justify-end items-center gap-1 whitespace-pre-wrap text-xs text-gray-700 dark:text-white-alpha-700 capitalize pb-3 px-4", children: [
|
|
258
|
-
l === "approved" && /* @__PURE__ */ e(
|
|
258
|
+
l === "approved" && /* @__PURE__ */ e(K, { className: "w-3 h-3" }),
|
|
259
259
|
l
|
|
260
260
|
] }),
|
|
261
261
|
n === "output-denied" && /* @__PURE__ */ o("div", { className: "flex justify-end items-center gap-1 whitespace-pre-wrap text-xs text-gray-700 dark:text-white-alpha-700 capitalize pb-3 px-4", children: [
|
|
262
|
-
/* @__PURE__ */ e(
|
|
262
|
+
/* @__PURE__ */ e(ke, { className: "w-3 h-3" }),
|
|
263
263
|
h
|
|
264
264
|
] })
|
|
265
265
|
]
|
|
@@ -273,26 +273,26 @@ const J = ({
|
|
|
273
273
|
isLast: s,
|
|
274
274
|
...u
|
|
275
275
|
}) => {
|
|
276
|
-
const { message: n } =
|
|
277
|
-
aiChatSettings: { components: v, artifacts:
|
|
278
|
-
} =
|
|
279
|
-
|
|
276
|
+
const { message: n } = ce(), { logEvent: c } = de(), { conversationId: d, isStreaming: f, isLoading: l, setError: m, addToolApprovalResponse: p, sendMessage: h } = ue(), {
|
|
277
|
+
aiChatSettings: { components: v, artifacts: O, headers: j }
|
|
278
|
+
} = pe(), Z = j?.["x-emit-operations"] === "true", z = n.role === "user", I = (f || l) && s && n.role === "assistant", { processedParts: ee, summaryTimings: te, shouldShowInitialLoading: ae, shouldShowStreamDelayLoading: re } = ge(n.parts, I, m), [C, q] = L(null), [ne, _] = L(!1), g = A(null);
|
|
279
|
+
M(() => {
|
|
280
280
|
if (!C) {
|
|
281
|
-
|
|
281
|
+
_(!1), g.current && (clearTimeout(g.current), g.current = null);
|
|
282
282
|
return;
|
|
283
283
|
}
|
|
284
|
-
return
|
|
285
|
-
|
|
284
|
+
return _(!1), g.current && clearTimeout(g.current), g.current = window.setTimeout(() => {
|
|
285
|
+
_(!0);
|
|
286
286
|
}, 1e3), () => {
|
|
287
287
|
g.current && (clearTimeout(g.current), g.current = null);
|
|
288
288
|
};
|
|
289
|
-
}, [C]),
|
|
290
|
-
C && (!s || n.parts.length > C.partCount) &&
|
|
291
|
-
}, [C, s, n.parts.length]);
|
|
292
|
-
const
|
|
293
|
-
() =>
|
|
289
|
+
}, [C]), M(() => {
|
|
290
|
+
C && (!s || n.parts.length > C.partCount || !I) && q(null);
|
|
291
|
+
}, [C, s, n.parts.length, I]);
|
|
292
|
+
const U = E(() => n.parts.filter(he), [n.parts]), V = E(
|
|
293
|
+
() => xe(fe, a ?? {}),
|
|
294
294
|
[a]
|
|
295
|
-
),
|
|
295
|
+
), B = P(
|
|
296
296
|
(r, x) => {
|
|
297
297
|
c({
|
|
298
298
|
eventName: "assistant_message_inline_link_opened",
|
|
@@ -303,7 +303,7 @@ const J = ({
|
|
|
303
303
|
});
|
|
304
304
|
},
|
|
305
305
|
[c]
|
|
306
|
-
),
|
|
306
|
+
), F = P(
|
|
307
307
|
(r, x) => {
|
|
308
308
|
c({
|
|
309
309
|
eventName: "assistant_code_block_copied",
|
|
@@ -315,62 +315,62 @@ const J = ({
|
|
|
315
315
|
});
|
|
316
316
|
},
|
|
317
317
|
[c, d]
|
|
318
|
-
),
|
|
318
|
+
), $ = P(
|
|
319
319
|
(r) => /* @__PURE__ */ e(
|
|
320
|
-
|
|
320
|
+
me,
|
|
321
321
|
{
|
|
322
322
|
text: r,
|
|
323
|
-
componentStyles:
|
|
324
|
-
onLinkClick:
|
|
325
|
-
onCodeCopy:
|
|
326
|
-
artifacts:
|
|
323
|
+
componentStyles: V,
|
|
324
|
+
onLinkClick: B,
|
|
325
|
+
onCodeCopy: F,
|
|
326
|
+
artifacts: U
|
|
327
327
|
}
|
|
328
328
|
),
|
|
329
|
-
[
|
|
330
|
-
),
|
|
329
|
+
[V, B, F, U]
|
|
330
|
+
), se = E(
|
|
331
331
|
() => y(
|
|
332
332
|
"data-[role=user]:whitespace-pre-wrap mb-3 data-[role=user]:mb-0 [&[data-role=user]>p]:mb-0 max-w-full",
|
|
333
333
|
t
|
|
334
334
|
),
|
|
335
335
|
[t]
|
|
336
|
-
),
|
|
336
|
+
), oe = !z || n.parts.some(
|
|
337
337
|
(r) => r.type === "text" && r.text?.trim()
|
|
338
338
|
);
|
|
339
|
-
return /* @__PURE__ */ o(
|
|
340
|
-
!
|
|
341
|
-
|
|
339
|
+
return /* @__PURE__ */ o(le, { children: [
|
|
340
|
+
!oe && /* @__PURE__ */ e("span", { className: "text-gray-500 dark:text-white-alpha-500", children: "No message content" }),
|
|
341
|
+
ee.map((r, x) => {
|
|
342
342
|
const k = {
|
|
343
343
|
"data-role": n.role,
|
|
344
344
|
"data-type": r?.type === "data-component" ? r.data.type : r?.type,
|
|
345
345
|
...u,
|
|
346
|
-
className:
|
|
346
|
+
className: se
|
|
347
347
|
};
|
|
348
348
|
switch (r?.type) {
|
|
349
349
|
case "text":
|
|
350
|
-
return /* @__PURE__ */ e(
|
|
350
|
+
return /* @__PURE__ */ e(S, { ...k, children: z ? r.text : $(r.text || "") }, x);
|
|
351
351
|
case "data-component": {
|
|
352
352
|
const { type: w } = r.data;
|
|
353
353
|
switch (w) {
|
|
354
354
|
case "text":
|
|
355
|
-
return /* @__PURE__ */ e("div", { ...k, children:
|
|
355
|
+
return /* @__PURE__ */ e("div", { ...k, children: $(r.data.text || "") }, x);
|
|
356
356
|
default: {
|
|
357
|
-
const N = r.data, { name: b, props: T } = N,
|
|
358
|
-
return /* @__PURE__ */ e(
|
|
357
|
+
const N = r.data, { name: b, props: T } = N, D = v?.[b];
|
|
358
|
+
return /* @__PURE__ */ e(S, { ...k, children: /* @__PURE__ */ e(D ? R : Ie, { name: b, props: T, componentDef: D }) }, `${b}-${x}`);
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
362
|
case "data-artifact": {
|
|
363
363
|
const w = r.data, { name: N, type: b, artifactSummary: T } = w;
|
|
364
364
|
if (b === "citation" && !T?.url) return null;
|
|
365
|
-
const
|
|
366
|
-
return /* @__PURE__ */ e(
|
|
365
|
+
const D = O?.[b];
|
|
366
|
+
return /* @__PURE__ */ e(S, { ...k, children: /* @__PURE__ */ e(D ? R : _e, { name: b, props: T, componentDef: D }) }, `${N}-${x}`);
|
|
367
367
|
}
|
|
368
368
|
case "summary-group": {
|
|
369
|
-
const w =
|
|
369
|
+
const w = te.get(r.groupKey) || {
|
|
370
370
|
isCompleted: !1
|
|
371
371
|
};
|
|
372
|
-
return /* @__PURE__ */ e(
|
|
373
|
-
|
|
372
|
+
return /* @__PURE__ */ e(S, { ...k, children: /* @__PURE__ */ e(
|
|
373
|
+
ye,
|
|
374
374
|
{
|
|
375
375
|
summaries: r.summaries || [],
|
|
376
376
|
isCompleted: w.isCompleted
|
|
@@ -378,18 +378,18 @@ const J = ({
|
|
|
378
378
|
) }, `${r.groupKey}-${x}`);
|
|
379
379
|
}
|
|
380
380
|
default: {
|
|
381
|
-
if (!
|
|
381
|
+
if (!Pe(r))
|
|
382
382
|
return null;
|
|
383
383
|
const w = r, N = r.approval?.id;
|
|
384
|
-
return
|
|
385
|
-
|
|
384
|
+
return Z || N ? /* @__PURE__ */ e(S, { ...k, children: /* @__PURE__ */ e(
|
|
385
|
+
$e,
|
|
386
386
|
{
|
|
387
387
|
tool: w,
|
|
388
388
|
componentDef: v?.IkpTool,
|
|
389
|
-
renderText:
|
|
389
|
+
renderText: $,
|
|
390
390
|
approvalId: N,
|
|
391
391
|
messagePartsLength: n.parts.length,
|
|
392
|
-
setApprovalDelayPending:
|
|
392
|
+
setApprovalDelayPending: q,
|
|
393
393
|
addToolApprovalResponse: p,
|
|
394
394
|
sendMessage: h,
|
|
395
395
|
conversationId: d
|
|
@@ -398,8 +398,8 @@ const J = ({
|
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
}),
|
|
401
|
-
|
|
402
|
-
(
|
|
401
|
+
ae && /* @__PURE__ */ e(be, {}),
|
|
402
|
+
(re || ne) && /* @__PURE__ */ e(je, {})
|
|
403
403
|
] });
|
|
404
404
|
};
|
|
405
405
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as o } from "react/jsx-runtime";
|
|
3
|
-
import { Modal as l,
|
|
3
|
+
import { Modal as l, Close as i, Content as n, Overlay as r } from "../../primitives/components/modal.js";
|
|
4
4
|
import { cn as e } from "../utils.js";
|
|
5
5
|
import { button as m } from "./ui/recipes/button.js";
|
|
6
6
|
import { modal as s } from "./ui/recipes/modal.js";
|
|
7
7
|
const M = l, C = ({
|
|
8
8
|
className: t,
|
|
9
9
|
...a
|
|
10
|
-
}) => /* @__PURE__ */ o(
|
|
10
|
+
}) => /* @__PURE__ */ o(r, { className: e(s({ slot: "overlay" }), t), ...a }), h = ({
|
|
11
11
|
className: t,
|
|
12
12
|
...a
|
|
13
13
|
}) => /* @__PURE__ */ o(
|
|
@@ -26,7 +26,7 @@ const M = l, C = ({
|
|
|
26
26
|
className: t,
|
|
27
27
|
...a
|
|
28
28
|
}) => /* @__PURE__ */ o(
|
|
29
|
-
|
|
29
|
+
i,
|
|
30
30
|
{
|
|
31
31
|
className: e(
|
|
32
32
|
s({ slot: "close" }),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as e } from "react/jsx-runtime";
|
|
3
3
|
import { cn as t } from "../utils.js";
|
|
4
|
-
import {
|
|
4
|
+
import { SearchBarButton as c, SearchBarContainer as i, SearchBarContentWrapper as o, SearchBarIcon as n, SearchBarKbdModifier as h, SearchBarKbdShortcutKey as s, SearchBarKbdWrapper as m, SearchBarText as l } from "../../primitives/components/searchbar.js";
|
|
5
5
|
const p = ({
|
|
6
6
|
className: r,
|
|
7
7
|
...a
|
|
8
8
|
}) => /* @__PURE__ */ e(
|
|
9
|
-
|
|
9
|
+
i,
|
|
10
10
|
{
|
|
11
11
|
className: t("md:min-w-[min(320px,100%)] w-full h-full min-h-9", r),
|
|
12
12
|
...a
|
|
@@ -15,7 +15,7 @@ const p = ({
|
|
|
15
15
|
className: r,
|
|
16
16
|
...a
|
|
17
17
|
}) => /* @__PURE__ */ e(
|
|
18
|
-
|
|
18
|
+
c,
|
|
19
19
|
{
|
|
20
20
|
className: t(
|
|
21
21
|
"rounded-md border px-3 min-w-0 min-h-9 flex items-center justify-between gap-2 h-full w-full hover:border-gray-300 dark:hover:border-white-alpha-300 transition-colors",
|
|
@@ -36,7 +36,7 @@ const p = ({
|
|
|
36
36
|
className: r,
|
|
37
37
|
...a
|
|
38
38
|
}) => /* @__PURE__ */ e(
|
|
39
|
-
|
|
39
|
+
l,
|
|
40
40
|
{
|
|
41
41
|
className: t("text-md text-gray-500 dark:text-white-alpha-600", r),
|
|
42
42
|
...a
|
|
@@ -45,7 +45,7 @@ const p = ({
|
|
|
45
45
|
className: r,
|
|
46
46
|
...a
|
|
47
47
|
}) => /* @__PURE__ */ e(
|
|
48
|
-
|
|
48
|
+
n,
|
|
49
49
|
{
|
|
50
50
|
className: t("text-gray-500 dark:text-white-alpha-600 text-xl", r),
|
|
51
51
|
...a
|
|
@@ -54,7 +54,7 @@ const p = ({
|
|
|
54
54
|
className: r,
|
|
55
55
|
...a
|
|
56
56
|
}) => /* @__PURE__ */ e(
|
|
57
|
-
|
|
57
|
+
m,
|
|
58
58
|
{
|
|
59
59
|
className: t(
|
|
60
60
|
"text-sm text-gray-400 dark:text-white-alpha-500 font-bold flex items-center gap-0.5",
|
|
@@ -65,10 +65,10 @@ const p = ({
|
|
|
65
65
|
), w = ({
|
|
66
66
|
className: r,
|
|
67
67
|
...a
|
|
68
|
-
}) => /* @__PURE__ */ e(
|
|
68
|
+
}) => /* @__PURE__ */ e(h, { className: t("", r), ...a }), v = ({
|
|
69
69
|
className: r,
|
|
70
70
|
...a
|
|
71
|
-
}) => /* @__PURE__ */ e(
|
|
71
|
+
}) => /* @__PURE__ */ e(s, { className: t("", r), ...a });
|
|
72
72
|
export {
|
|
73
73
|
x as SearchBarButton,
|
|
74
74
|
p as SearchBarContainer,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("../../primitives/components/sidebar-chat/index.cjs"),i=require("../utils.cjs"),o=require("./ui/recipes/button.cjs"),s=require("./ui/recipes/scrollable.cjs"),n=({className:t,...e})=>a.jsx(r.
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("../../primitives/components/sidebar-chat/index.cjs"),i=require("../utils.cjs"),o=require("./ui/recipes/button.cjs"),s=require("./ui/recipes/scrollable.cjs"),n=({className:t,...e})=>a.jsx(r.Root,{...e,className:i.cn("w-[--width] h-full relative bg-white dark:bg-gray-dark-950","data-[position=left]:pr-1 data-[position=left]:border-r data-[position=left]:mr-1","data-[position=right]:pl-1 data-[position=right]:border-l data-[position=right]:ml-1","data-[state=open]:data-[position=left]:animate-sidebar-in-left","data-[state=open]:data-[position=right]:animate-sidebar-in-right","data-[state=closed]:data-[position=left]:animate-sidebar-out-left","data-[state=closed]:data-[position=right]:animate-sidebar-out-right",t)}),l=({className:t,...e})=>a.jsx(r.Resizer,{className:i.cn("px-1 bg-transparent opacity-0 hover:opacity-100","cursor-ew-resize","absolute top-0 bottom-0 z-[1]",'[[data-position="left"]>&]:-right-1','[[data-position="right"]>&]:-left-1','after:content-[""] after:absolute after:top-0 after:bottom-0 after:w-0.5 after:bg-inkeep-primary-medium dark:after:bg-inkeep-primary-light [[data-position="right"]>&]:after:right-1 [[data-position="left"]>&]:after:left-1',"data-[state=closed]:opacity-0 data-[state=closed]:pointer-events-none","data-[state=open]:pointer-events-auto","transition-opacity duration-200",t),...e}),d=({className:t,...e})=>a.jsx(r.Header,{className:i.cn(s.scrollable({section:"header"}),"w-full flex flex-row items-center px-3 py-3","bg-white dark:bg-gray-dark-950","after:absolute","after:left-0","after:top-full","after:h-3","after:w-full","after:text-white","after:dark:text-gray-dark-950","after:bg-[linear-gradient(currentColor,_transparent)]","after:z-start",t),...e}),p=({className:t,...e})=>a.jsx(r.CloseButton,{className:i.cn(o.button({variant:"ghost",size:"xs"}),"relative inset-[unset] w-6 ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0",t),...e});exports.CloseButton=p;exports.Header=d;exports.Resizer=l;exports.Root=n;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
3
|
+
import { CloseButton as i, Header as o, Resizer as s, Root as n } from "../../primitives/components/sidebar-chat/index.js";
|
|
4
4
|
import { cn as r } from "../utils.js";
|
|
5
5
|
import { button as d } from "./ui/recipes/button.js";
|
|
6
6
|
import { scrollable as l } from "./ui/recipes/scrollable.js";
|
|
@@ -8,7 +8,7 @@ const g = ({
|
|
|
8
8
|
className: t,
|
|
9
9
|
...a
|
|
10
10
|
}) => /* @__PURE__ */ e(
|
|
11
|
-
|
|
11
|
+
n,
|
|
12
12
|
{
|
|
13
13
|
...a,
|
|
14
14
|
className: r(
|
|
@@ -28,7 +28,7 @@ const g = ({
|
|
|
28
28
|
className: t,
|
|
29
29
|
...a
|
|
30
30
|
}) => /* @__PURE__ */ e(
|
|
31
|
-
|
|
31
|
+
s,
|
|
32
32
|
{
|
|
33
33
|
className: r(
|
|
34
34
|
"px-1 bg-transparent opacity-0 hover:opacity-100",
|
|
@@ -49,7 +49,7 @@ const g = ({
|
|
|
49
49
|
className: t,
|
|
50
50
|
...a
|
|
51
51
|
}) => /* @__PURE__ */ e(
|
|
52
|
-
|
|
52
|
+
o,
|
|
53
53
|
{
|
|
54
54
|
className: r(
|
|
55
55
|
l({ section: "header" }),
|
|
@@ -72,7 +72,7 @@ const g = ({
|
|
|
72
72
|
className: t,
|
|
73
73
|
...a
|
|
74
74
|
}) => /* @__PURE__ */ e(
|
|
75
|
-
|
|
75
|
+
i,
|
|
76
76
|
{
|
|
77
77
|
className: r(
|
|
78
78
|
d({ variant: "ghost", size: "xs" }),
|
|
@@ -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
|
}
|