@inkeep/cxkit-styled 0.5.70 → 0.5.72
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/components/embedded-chat.cjs +1 -1
- package/dist/components/embedded-chat.js +6 -6
- package/dist/components/embedded-search.cjs +1 -1
- package/dist/components/embedded-search.js +144 -111
- package/dist/components/modal.cjs +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/inkeep.css.cjs +76 -31
- package/dist/inkeep.css.js +76 -31
- package/dist/ui/recipes/citation.cjs +1 -1
- package/dist/ui/recipes/citation.js +1 -1
- package/dist/ui/recipes/widget-toggle.cjs +1 -1
- package/dist/ui/recipes/widget-toggle.js +1 -1
- package/package.json +4 -4
|
@@ -3,12 +3,12 @@ import { jsx as s } from "react/jsx-runtime";
|
|
|
3
3
|
import { EmbeddedSearchPrimitive as a } from "@inkeep/cxkit-primitives";
|
|
4
4
|
import { cn as r } from "../utils.js";
|
|
5
5
|
import { citation as l } from "../ui/recipes/citation.js";
|
|
6
|
-
import { link as
|
|
7
|
-
import { scrollable as
|
|
8
|
-
import { ResultsLoading as
|
|
6
|
+
import { link as d } from "../ui/recipes/link.js";
|
|
7
|
+
import { scrollable as n } from "../ui/recipes/scrollable.js";
|
|
8
|
+
import { ResultsLoading as o } from "./embedded-search/results-loading.js";
|
|
9
9
|
import { merge as m } from "merge-anything";
|
|
10
10
|
import { markdownStyles as c } from "../ui/markdown-styles.js";
|
|
11
|
-
const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }),
|
|
11
|
+
const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), w = ({ className: e, ...t }) => /* @__PURE__ */ s(
|
|
12
12
|
a.Wrapper,
|
|
13
13
|
{
|
|
14
14
|
className: r(
|
|
@@ -27,14 +27,14 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
27
27
|
className: r(
|
|
28
28
|
"data-[hidden]:hidden flex flex-col w-full",
|
|
29
29
|
"[--footer-height:theme(spacing.9)]",
|
|
30
|
-
"data-[mobile]:[--input-height:theme(spacing.
|
|
30
|
+
"data-[mobile]:[--input-height:theme(spacing.20)]",
|
|
31
31
|
"[--ask-ai-trigger-height:0px]",
|
|
32
32
|
"[[data-show-ask-ai-card]_&]:[--ask-ai-trigger-height:theme(spacing.11)]",
|
|
33
33
|
e
|
|
34
34
|
),
|
|
35
35
|
...t
|
|
36
36
|
}
|
|
37
|
-
),
|
|
37
|
+
), y = a.Content, S = ({
|
|
38
38
|
className: e,
|
|
39
39
|
...t
|
|
40
40
|
}) => /* @__PURE__ */ s(
|
|
@@ -42,13 +42,12 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
42
42
|
{
|
|
43
43
|
className: r(
|
|
44
44
|
"flex items-center w-full px-5 pt-3 pb-3 gap-3",
|
|
45
|
-
"[[data-show-ask-ai-card]_&]:pb-1",
|
|
46
45
|
"[[data-mobile]_&]:max-h-[var(--input-height)]",
|
|
47
46
|
e
|
|
48
47
|
),
|
|
49
48
|
...t
|
|
50
49
|
}
|
|
51
|
-
),
|
|
50
|
+
), T = ({
|
|
52
51
|
className: e,
|
|
53
52
|
...t
|
|
54
53
|
}) => /* @__PURE__ */ s(
|
|
@@ -57,7 +56,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
57
56
|
className: r("min-w-5 w-5 text-xl", "text-gray-500 dark:text-white-alpha-600", e),
|
|
58
57
|
...t
|
|
59
58
|
}
|
|
60
|
-
),
|
|
59
|
+
), E = ({
|
|
61
60
|
className: e,
|
|
62
61
|
...t
|
|
63
62
|
}) => /* @__PURE__ */ s(
|
|
@@ -89,10 +88,10 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
89
88
|
{
|
|
90
89
|
className: r(
|
|
91
90
|
l({ slot: "root" }),
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"mb-3 py-0 h-11 cursor-pointer",
|
|
91
|
+
"mx-5 w-[calc(100%_-_theme(spacing.10))]",
|
|
92
|
+
"mb-4 h-11 cursor-pointer",
|
|
95
93
|
"h-[var(--ask-ai-trigger-height)]",
|
|
94
|
+
"grid-template-[none] flex items-center",
|
|
96
95
|
e
|
|
97
96
|
),
|
|
98
97
|
...t
|
|
@@ -104,7 +103,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
104
103
|
a.AskAITriggerIcon,
|
|
105
104
|
{
|
|
106
105
|
className: r(
|
|
107
|
-
"[grid-area:icon] h-5 w-5",
|
|
106
|
+
"[grid-area:icon] h-5 w-5 flex-shrink-0",
|
|
108
107
|
"[--start-color:theme(colors.inkeep-expanded-primary.300)]",
|
|
109
108
|
"[--end-color:theme(colors.inkeep-expanded-primary.700)]",
|
|
110
109
|
"dark:[--start-color:theme(colors.inkeep-expanded-primary.50)]",
|
|
@@ -113,32 +112,64 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
113
112
|
),
|
|
114
113
|
...t
|
|
115
114
|
}
|
|
116
|
-
),
|
|
115
|
+
), _ = ({
|
|
117
116
|
className: e,
|
|
118
117
|
...t
|
|
119
118
|
}) => /* @__PURE__ */ s(
|
|
120
119
|
a.AskAITriggerLabel,
|
|
121
120
|
{
|
|
122
|
-
className: r(l({ slot: "title" }), "font-
|
|
121
|
+
className: r(l({ slot: "title" }), "font-medium text-gray-700", e),
|
|
123
122
|
...t
|
|
124
123
|
}
|
|
125
|
-
),
|
|
124
|
+
), L = ({
|
|
126
125
|
className: e,
|
|
127
126
|
...t
|
|
128
127
|
}) => /* @__PURE__ */ s(
|
|
129
|
-
a.
|
|
128
|
+
a.AskAITriggerQuery,
|
|
130
129
|
{
|
|
131
|
-
className: r(
|
|
130
|
+
className: r(
|
|
131
|
+
"font-semibold !bg-clip-text text-transparent ml-2",
|
|
132
|
+
"animate-shine [background:linear-gradient(270deg,theme(colors.inkeep-primary.stronger-light),transparent)_-200%_50%_/_25%_100%_no-repeat,theme(colors.inkeep-expanded-primary.800)] ",
|
|
133
|
+
"dark:[background:linear-gradient(270deg,theme(colors.inkeep-expanded-primary.100),transparent)_-200%_50%_/_25%_100%_no-repeat,theme(colors.inkeep-expanded-primary.400)]",
|
|
134
|
+
e
|
|
135
|
+
),
|
|
132
136
|
...t
|
|
133
137
|
}
|
|
134
138
|
), O = ({
|
|
135
139
|
className: e,
|
|
136
140
|
...t
|
|
141
|
+
}) => /* @__PURE__ */ s(
|
|
142
|
+
a.AskAITriggerIndicator,
|
|
143
|
+
{
|
|
144
|
+
className: r(
|
|
145
|
+
l({ slot: "indicator" }),
|
|
146
|
+
"ml-1 opacity-100 text-inkeep-primary-stronger-light group-selected:text-inkeep-primary-strong dark:text-gray-dark-300 dark:group-selected:text-inkeep-expanded-primary-300 ",
|
|
147
|
+
e
|
|
148
|
+
),
|
|
149
|
+
...t
|
|
150
|
+
}
|
|
151
|
+
), B = ({
|
|
152
|
+
className: e,
|
|
153
|
+
...t
|
|
154
|
+
}) => /* @__PURE__ */ s(
|
|
155
|
+
a.AskAITriggerIndicatorText,
|
|
156
|
+
{
|
|
157
|
+
className: r(
|
|
158
|
+
"text-xs flex-shrink-0 ml-auto",
|
|
159
|
+
"group-selected:text-inkeep-primary-strong dark:text-gray-dark-300 dark:group-selected:text-inkeep-expanded-primary-300",
|
|
160
|
+
"text-inkeep-primary-medium-subtle bg-gray-500 bg-clip-text dark:bg-white-alpha-800",
|
|
161
|
+
e
|
|
162
|
+
),
|
|
163
|
+
...t
|
|
164
|
+
}
|
|
165
|
+
), C = ({
|
|
166
|
+
className: e,
|
|
167
|
+
...t
|
|
137
168
|
}) => /* @__PURE__ */ s(
|
|
138
169
|
a.Results,
|
|
139
170
|
{
|
|
140
171
|
className: r(
|
|
141
|
-
|
|
172
|
+
n({ section: "content" }),
|
|
142
173
|
"h-0 max-h-full",
|
|
143
174
|
"data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]",
|
|
144
175
|
"md:data-[dual-pane-search-expanded]:h-[min(calc(85vh_-_72px),calc(900px_-_72px_-_135px))]",
|
|
@@ -148,17 +179,17 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
148
179
|
),
|
|
149
180
|
...t
|
|
150
181
|
}
|
|
151
|
-
),
|
|
182
|
+
), D = ({
|
|
152
183
|
className: e,
|
|
153
184
|
...t
|
|
154
185
|
}) => /* @__PURE__ */ s(
|
|
155
186
|
a.ResultsLoading,
|
|
156
187
|
{
|
|
157
188
|
className: r("group mb-1 relative transition-all w-full h-full", e),
|
|
158
|
-
children: /* @__PURE__ */ s(
|
|
189
|
+
children: /* @__PURE__ */ s(o, {}),
|
|
159
190
|
...t
|
|
160
191
|
}
|
|
161
|
-
),
|
|
192
|
+
), H = ({
|
|
162
193
|
className: e,
|
|
163
194
|
...t
|
|
164
195
|
}) => /* @__PURE__ */ s(
|
|
@@ -173,7 +204,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
173
204
|
),
|
|
174
205
|
...t
|
|
175
206
|
}
|
|
176
|
-
),
|
|
207
|
+
), j = ({
|
|
177
208
|
className: e,
|
|
178
209
|
...t
|
|
179
210
|
}) => /* @__PURE__ */ s(
|
|
@@ -181,13 +212,13 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
181
212
|
{
|
|
182
213
|
className: r(
|
|
183
214
|
"shrink-0 max-w-full",
|
|
184
|
-
"flex gap-3 px-5
|
|
215
|
+
"flex gap-3 px-5 pb-2 pt-0",
|
|
185
216
|
"overflow-x-auto [scrollbar-width:thin]",
|
|
186
217
|
e
|
|
187
218
|
),
|
|
188
219
|
...t
|
|
189
220
|
}
|
|
190
|
-
),
|
|
221
|
+
), F = ({
|
|
191
222
|
className: e,
|
|
192
223
|
...t
|
|
193
224
|
}) => /* @__PURE__ */ s(
|
|
@@ -211,7 +242,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
211
242
|
),
|
|
212
243
|
...t
|
|
213
244
|
}
|
|
214
|
-
),
|
|
245
|
+
), G = ({
|
|
215
246
|
className: e,
|
|
216
247
|
...t
|
|
217
248
|
}) => /* @__PURE__ */ s(
|
|
@@ -220,7 +251,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
220
251
|
className: r("flex overflow-hidden h-full", e),
|
|
221
252
|
...t
|
|
222
253
|
}
|
|
223
|
-
),
|
|
254
|
+
), Q = ({
|
|
224
255
|
className: e,
|
|
225
256
|
...t
|
|
226
257
|
}) => /* @__PURE__ */ s(
|
|
@@ -244,7 +275,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
244
275
|
),
|
|
245
276
|
...t
|
|
246
277
|
}
|
|
247
|
-
),
|
|
278
|
+
), V = ({
|
|
248
279
|
className: e,
|
|
249
280
|
...t
|
|
250
281
|
}) => /* @__PURE__ */ s(
|
|
@@ -253,7 +284,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
253
284
|
className: r("h-full w-full rounded-[inherit]", e),
|
|
254
285
|
...t
|
|
255
286
|
}
|
|
256
|
-
),
|
|
287
|
+
), W = ({
|
|
257
288
|
className: e,
|
|
258
289
|
...t
|
|
259
290
|
}) => /* @__PURE__ */ s(
|
|
@@ -267,7 +298,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
267
298
|
),
|
|
268
299
|
...t
|
|
269
300
|
}
|
|
270
|
-
),
|
|
301
|
+
), z = ({
|
|
271
302
|
className: e,
|
|
272
303
|
...t
|
|
273
304
|
}) => /* @__PURE__ */ s(
|
|
@@ -276,7 +307,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
276
307
|
className: r("relative flex-1 rounded-full", "bg-gray-300 dark:bg-white-alpha-200", e),
|
|
277
308
|
...t
|
|
278
309
|
}
|
|
279
|
-
),
|
|
310
|
+
), $ = a.ResultsScrollAreaCorner, q = ({
|
|
280
311
|
className: e,
|
|
281
312
|
...t
|
|
282
313
|
}) => /* @__PURE__ */ s(
|
|
@@ -290,7 +321,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
290
321
|
),
|
|
291
322
|
...t
|
|
292
323
|
}
|
|
293
|
-
),
|
|
324
|
+
), J = ({
|
|
294
325
|
className: e,
|
|
295
326
|
...t
|
|
296
327
|
}) => /* @__PURE__ */ s(
|
|
@@ -299,7 +330,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
299
330
|
className: r(l({ slot: "root" }), e),
|
|
300
331
|
...t
|
|
301
332
|
}
|
|
302
|
-
),
|
|
333
|
+
), K = ({
|
|
303
334
|
className: e,
|
|
304
335
|
...t
|
|
305
336
|
}) => /* @__PURE__ */ s(
|
|
@@ -308,7 +339,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
308
339
|
className: r(l({ slot: "breadcrumbs" }), e),
|
|
309
340
|
...t
|
|
310
341
|
}
|
|
311
|
-
),
|
|
342
|
+
), M = ({
|
|
312
343
|
className: e,
|
|
313
344
|
...t
|
|
314
345
|
}) => /* @__PURE__ */ s(
|
|
@@ -317,7 +348,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
317
348
|
className: r(l({ slot: "breadcrumbsIcon" }), e),
|
|
318
349
|
...t
|
|
319
350
|
}
|
|
320
|
-
),
|
|
351
|
+
), U = ({
|
|
321
352
|
className: e,
|
|
322
353
|
...t
|
|
323
354
|
}) => /* @__PURE__ */ s(
|
|
@@ -326,7 +357,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
326
357
|
className: r(l({ slot: "icon" }), e),
|
|
327
358
|
...t
|
|
328
359
|
}
|
|
329
|
-
),
|
|
360
|
+
), X = ({
|
|
330
361
|
className: e,
|
|
331
362
|
...t
|
|
332
363
|
}) => /* @__PURE__ */ s(
|
|
@@ -335,7 +366,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
335
366
|
className: r(l({ slot: "title" }), e),
|
|
336
367
|
...t
|
|
337
368
|
}
|
|
338
|
-
),
|
|
369
|
+
), Y = ({
|
|
339
370
|
className: e,
|
|
340
371
|
...t
|
|
341
372
|
}) => /* @__PURE__ */ s(
|
|
@@ -344,7 +375,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
344
375
|
className: r(l({ slot: "tag" }), e),
|
|
345
376
|
...t
|
|
346
377
|
}
|
|
347
|
-
),
|
|
378
|
+
), Z = ({
|
|
348
379
|
className: e,
|
|
349
380
|
...t
|
|
350
381
|
}) => /* @__PURE__ */ s(
|
|
@@ -353,7 +384,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
353
384
|
className: r(l({ slot: "description" }), e),
|
|
354
385
|
...t
|
|
355
386
|
}
|
|
356
|
-
),
|
|
387
|
+
), ee = ({
|
|
357
388
|
className: e,
|
|
358
389
|
...t
|
|
359
390
|
}) => /* @__PURE__ */ s(
|
|
@@ -362,7 +393,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
362
393
|
className: r(l({ slot: "descriptionPart" }), e),
|
|
363
394
|
...t
|
|
364
395
|
}
|
|
365
|
-
),
|
|
396
|
+
), te = ({
|
|
366
397
|
className: e,
|
|
367
398
|
...t
|
|
368
399
|
}) => /* @__PURE__ */ s(
|
|
@@ -371,7 +402,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
371
402
|
className: r(l({ slot: "indicator" }), e),
|
|
372
403
|
...t
|
|
373
404
|
}
|
|
374
|
-
),
|
|
405
|
+
), ae = ({
|
|
375
406
|
className: e,
|
|
376
407
|
...t
|
|
377
408
|
}) => /* @__PURE__ */ s(
|
|
@@ -384,7 +415,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
384
415
|
),
|
|
385
416
|
...t
|
|
386
417
|
}
|
|
387
|
-
),
|
|
418
|
+
), se = ({
|
|
388
419
|
className: e,
|
|
389
420
|
...t
|
|
390
421
|
}) => /* @__PURE__ */ s(
|
|
@@ -393,7 +424,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
393
424
|
className: r("flex flex-col gap-5", e),
|
|
394
425
|
...t
|
|
395
426
|
}
|
|
396
|
-
),
|
|
427
|
+
), re = ({
|
|
397
428
|
className: e,
|
|
398
429
|
...t
|
|
399
430
|
}) => /* @__PURE__ */ s(
|
|
@@ -402,7 +433,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
402
433
|
className: r("inline-block", e),
|
|
403
434
|
...t
|
|
404
435
|
}
|
|
405
|
-
),
|
|
436
|
+
), le = ({
|
|
406
437
|
className: e,
|
|
407
438
|
...t
|
|
408
439
|
}) => /* @__PURE__ */ s(
|
|
@@ -416,7 +447,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
416
447
|
),
|
|
417
448
|
...t
|
|
418
449
|
}
|
|
419
|
-
),
|
|
450
|
+
), ie = ({
|
|
420
451
|
className: e,
|
|
421
452
|
...t
|
|
422
453
|
}) => /* @__PURE__ */ s(
|
|
@@ -428,7 +459,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
428
459
|
),
|
|
429
460
|
...t
|
|
430
461
|
}
|
|
431
|
-
),
|
|
462
|
+
), de = ({
|
|
432
463
|
className: e,
|
|
433
464
|
...t
|
|
434
465
|
}) => /* @__PURE__ */ s(
|
|
@@ -441,7 +472,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
441
472
|
),
|
|
442
473
|
...t
|
|
443
474
|
}
|
|
444
|
-
),
|
|
475
|
+
), ne = ({
|
|
445
476
|
className: e,
|
|
446
477
|
...t
|
|
447
478
|
}) => /* @__PURE__ */ s(
|
|
@@ -450,10 +481,10 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
450
481
|
className: r(l({ slot: "breadcrumbsIcon" }), e),
|
|
451
482
|
...t
|
|
452
483
|
}
|
|
453
|
-
),
|
|
484
|
+
), oe = ({
|
|
454
485
|
className: e,
|
|
455
486
|
componentStyles: t,
|
|
456
|
-
...
|
|
487
|
+
...i
|
|
457
488
|
}) => /* @__PURE__ */ s(
|
|
458
489
|
a.ResultsItemPreviewBody,
|
|
459
490
|
{
|
|
@@ -462,9 +493,9 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
462
493
|
e
|
|
463
494
|
),
|
|
464
495
|
componentStyles: m(c, t ?? {}),
|
|
465
|
-
...
|
|
496
|
+
...i
|
|
466
497
|
}
|
|
467
|
-
),
|
|
498
|
+
), me = ({
|
|
468
499
|
className: e,
|
|
469
500
|
...t
|
|
470
501
|
}) => /* @__PURE__ */ s(
|
|
@@ -473,7 +504,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
473
504
|
className: r("flex flex-col gap-3", e),
|
|
474
505
|
...t
|
|
475
506
|
}
|
|
476
|
-
),
|
|
507
|
+
), ce = ({
|
|
477
508
|
className: e,
|
|
478
509
|
...t
|
|
479
510
|
}) => /* @__PURE__ */ s(
|
|
@@ -486,7 +517,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
486
517
|
),
|
|
487
518
|
...t
|
|
488
519
|
}
|
|
489
|
-
),
|
|
520
|
+
), ue = ({
|
|
490
521
|
className: e,
|
|
491
522
|
...t
|
|
492
523
|
}) => /* @__PURE__ */ s(
|
|
@@ -495,7 +526,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
495
526
|
className: r("flex flex-col gap-4", e),
|
|
496
527
|
...t
|
|
497
528
|
}
|
|
498
|
-
),
|
|
529
|
+
), pe = ({
|
|
499
530
|
className: e,
|
|
500
531
|
...t
|
|
501
532
|
}) => /* @__PURE__ */ s(
|
|
@@ -510,13 +541,13 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
510
541
|
),
|
|
511
542
|
...t
|
|
512
543
|
}
|
|
513
|
-
),
|
|
544
|
+
), he = ({
|
|
514
545
|
className: e,
|
|
515
546
|
...t
|
|
516
|
-
}) => /* @__PURE__ */ s(a.ResultsItemPreviewOutlineItemIcon, { className: r(e), ...t }),
|
|
547
|
+
}) => /* @__PURE__ */ s(a.ResultsItemPreviewOutlineItemIcon, { className: r(e), ...t }), ge = ({
|
|
517
548
|
className: e,
|
|
518
549
|
...t
|
|
519
|
-
}) => /* @__PURE__ */ s(a.ResultsItemPreviewOutlineItemText, { className: r(e), ...t }),
|
|
550
|
+
}) => /* @__PURE__ */ s(a.ResultsItemPreviewOutlineItemText, { className: r(e), ...t }), be = ({
|
|
520
551
|
className: e,
|
|
521
552
|
...t
|
|
522
553
|
}) => /* @__PURE__ */ s(
|
|
@@ -525,7 +556,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
525
556
|
className: r("h-3 !min-h-0 !min-w-0", e),
|
|
526
557
|
...t
|
|
527
558
|
}
|
|
528
|
-
),
|
|
559
|
+
), xe = ({
|
|
529
560
|
className: e,
|
|
530
561
|
...t
|
|
531
562
|
}) => /* @__PURE__ */ s(
|
|
@@ -542,7 +573,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
542
573
|
),
|
|
543
574
|
...t
|
|
544
575
|
}
|
|
545
|
-
),
|
|
576
|
+
), Ie = ({
|
|
546
577
|
className: e,
|
|
547
578
|
...t
|
|
548
579
|
}) => /* @__PURE__ */ s(
|
|
@@ -551,7 +582,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
551
582
|
className: r("flex items-center whitespace-nowrap", e),
|
|
552
583
|
...t
|
|
553
584
|
}
|
|
554
|
-
),
|
|
585
|
+
), ke = ({
|
|
555
586
|
className: e,
|
|
556
587
|
...t
|
|
557
588
|
}) => /* @__PURE__ */ s(
|
|
@@ -560,7 +591,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
560
591
|
className: r("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600", e),
|
|
561
592
|
...t
|
|
562
593
|
}
|
|
563
|
-
),
|
|
594
|
+
), Re = ({
|
|
564
595
|
className: e,
|
|
565
596
|
...t
|
|
566
597
|
}) => /* @__PURE__ */ s(
|
|
@@ -569,14 +600,14 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
569
600
|
className: r("text-gray-400 dark:text-white-alpha-500", "w-[18px] ml-2 mr-1", e),
|
|
570
601
|
...t
|
|
571
602
|
}
|
|
572
|
-
),
|
|
603
|
+
), fe = ({
|
|
573
604
|
className: e,
|
|
574
605
|
...t
|
|
575
606
|
}) => /* @__PURE__ */ s(
|
|
576
607
|
a.TaglineBrandName,
|
|
577
608
|
{
|
|
578
609
|
className: r(
|
|
579
|
-
|
|
610
|
+
d(),
|
|
580
611
|
"inline-flex text-xs md:text-sm text-gray-500",
|
|
581
612
|
"dark:text-white-alpha-600 font-bold",
|
|
582
613
|
e
|
|
@@ -587,55 +618,57 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, .
|
|
|
587
618
|
export {
|
|
588
619
|
P as AskAITrigger,
|
|
589
620
|
A as AskAITriggerIcon,
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
E as
|
|
621
|
+
O as AskAITriggerIndicator,
|
|
622
|
+
B as AskAITriggerIndicatorText,
|
|
623
|
+
_ as AskAITriggerLabel,
|
|
624
|
+
L as AskAITriggerQuery,
|
|
625
|
+
y as Content,
|
|
626
|
+
xe as Footer,
|
|
627
|
+
E as Input,
|
|
628
|
+
S as InputGroup,
|
|
629
|
+
T as InputIcon,
|
|
597
630
|
N as Loading,
|
|
598
631
|
f as Provider,
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
632
|
+
C as Results,
|
|
633
|
+
G as ResultsContent,
|
|
634
|
+
H as ResultsEmpty,
|
|
635
|
+
J as ResultsItem,
|
|
636
|
+
M as ResultsItemBreadcrumbIcon,
|
|
637
|
+
K as ResultsItemBreadcrumbs,
|
|
638
|
+
Z as ResultsItemDescription,
|
|
639
|
+
ee as ResultsItemDescriptionPart,
|
|
640
|
+
U as ResultsItemIcon,
|
|
641
|
+
te as ResultsItemIndicator,
|
|
642
|
+
ae as ResultsItemPreview,
|
|
643
|
+
oe as ResultsItemPreviewBody,
|
|
644
|
+
ne as ResultsItemPreviewBreadcrumbIcon,
|
|
645
|
+
de as ResultsItemPreviewBreadcrumbs,
|
|
646
|
+
se as ResultsItemPreviewHeader,
|
|
647
|
+
re as ResultsItemPreviewHeading,
|
|
648
|
+
me as ResultsItemPreviewOutline,
|
|
649
|
+
pe as ResultsItemPreviewOutlineItem,
|
|
650
|
+
he as ResultsItemPreviewOutlineItemIcon,
|
|
651
|
+
be as ResultsItemPreviewOutlineItemLinkIcon,
|
|
652
|
+
ge as ResultsItemPreviewOutlineItemText,
|
|
653
|
+
ue as ResultsItemPreviewOutlineList,
|
|
654
|
+
ce as ResultsItemPreviewOutlineTitle,
|
|
655
|
+
le as ResultsItemPreviewTitle,
|
|
656
|
+
ie as ResultsItemPreviewTitleLinkIcon,
|
|
657
|
+
Y as ResultsItemTag,
|
|
658
|
+
X as ResultsItemTitle,
|
|
659
|
+
q as ResultsList,
|
|
660
|
+
D as ResultsLoading,
|
|
661
|
+
Q as ResultsScrollArea,
|
|
662
|
+
$ as ResultsScrollAreaCorner,
|
|
663
|
+
W as ResultsScrollAreaScrollbar,
|
|
664
|
+
z as ResultsScrollAreaThumb,
|
|
665
|
+
V as ResultsScrollAreaViewport,
|
|
666
|
+
F as ResultsTab,
|
|
667
|
+
j as ResultsTabList,
|
|
635
668
|
v as Root,
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
669
|
+
fe as TaglineBrandName,
|
|
670
|
+
Ie as TaglineContainer,
|
|
671
|
+
Re as TaglineLogo,
|
|
672
|
+
ke as TaglineText,
|
|
673
|
+
w as Wrapper
|
|
641
674
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("@inkeep/cxkit-primitives"),i=require("../utils.cjs"),l=require("../ui/recipes/button.cjs"),s=require("../ui/recipes/modal.cjs"),n=o.ModalPrimitive.Modal,r=({className:t,...e})=>a.jsx(o.ModalPrimitive.Overlay,{className:i.cn(s.modal({slot:"overlay"}),t),...e}),d=({className:t,...e})=>a.jsx(o.ModalPrimitive.Content,{className:i.cn(s.modal({slot:"content"}),"w-[min(90vw,720px)]","has-[[data-dual-pane-search-expanded]]:w-[min(90vw,1000px)] transition-width duration-300",t),...e}),c=({className:t,...e})=>a.jsx(o.ModalPrimitive.Close,{className:i.cn(s.modal({slot:"close"}),l.button({variant:"ghost",size:"xs"}),"relative inset-[unset] ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0","md:hidden",t),...e});exports.Close=c;exports.Content=d;exports.Overlay=r;exports.Root=n;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("@inkeep/cxkit-primitives"),i=require("../utils.cjs"),l=require("../ui/recipes/button.cjs"),s=require("../ui/recipes/modal.cjs"),n=o.ModalPrimitive.Modal,r=({className:t,...e})=>a.jsx(o.ModalPrimitive.Overlay,{className:i.cn(s.modal({slot:"overlay"}),t),...e}),d=({className:t,...e})=>a.jsx(o.ModalPrimitive.Content,{className:i.cn(s.modal({slot:"content"}),"w-[min(90vw,720px)]","has-[[data-dual-pane-search-expanded]]:w-[min(90vw,1000px)] transition-width duration-300",t),...e}),c=({className:t,...e})=>a.jsx(o.ModalPrimitive.Close,{className:i.cn(s.modal({slot:"close"}),l.button({variant:"ghost",size:"xs"}),"relative inset-[unset] w-6 ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0","md:hidden",t),...e});exports.Close=c;exports.Content=d;exports.Overlay=r;exports.Root=n;
|
package/dist/components/modal.js
CHANGED
|
@@ -31,7 +31,7 @@ const p = a.Modal, x = ({
|
|
|
31
31
|
className: s(
|
|
32
32
|
l({ slot: "close" }),
|
|
33
33
|
n({ variant: "ghost", size: "xs" }),
|
|
34
|
-
"relative inset-[unset] ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0",
|
|
34
|
+
"relative inset-[unset] w-6 ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0",
|
|
35
35
|
"md:hidden",
|
|
36
36
|
t
|
|
37
37
|
),
|
package/dist/index.d.cts
CHANGED
|
@@ -593,7 +593,9 @@ export declare namespace EmbeddedSearch {
|
|
|
593
593
|
EmbeddedSearchAskAITrigger as AskAITrigger,
|
|
594
594
|
EmbeddedSearchAskAITriggerIcon as AskAITriggerIcon,
|
|
595
595
|
EmbeddedSearchAskAITriggerLabel as AskAITriggerLabel,
|
|
596
|
+
EmbeddedSearchAskAITriggerQuery as AskAITriggerQuery,
|
|
596
597
|
EmbeddedSearchAskAITriggerIndicator as AskAITriggerIndicator,
|
|
598
|
+
EmbeddedSearchAskAITriggerIndicatorText as AskAITriggerIndicatorText,
|
|
597
599
|
EmbeddedSearchResultsEmpty as ResultsEmpty,
|
|
598
600
|
EmbeddedSearchResultsTabList as ResultsTabList,
|
|
599
601
|
EmbeddedSearchResultsTab as ResultsTab,
|
|
@@ -642,8 +644,12 @@ declare const EmbeddedSearchAskAITriggerIcon: ({ className, ...props }: Componen
|
|
|
642
644
|
|
|
643
645
|
declare const EmbeddedSearchAskAITriggerIndicator: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerIndicator>) => JSX.Element;
|
|
644
646
|
|
|
647
|
+
declare const EmbeddedSearchAskAITriggerIndicatorText: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerIndicatorText>) => JSX.Element;
|
|
648
|
+
|
|
645
649
|
declare const EmbeddedSearchAskAITriggerLabel: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerLabel>) => JSX.Element;
|
|
646
650
|
|
|
651
|
+
declare const EmbeddedSearchAskAITriggerQuery: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerQuery>) => JSX.Element;
|
|
652
|
+
|
|
647
653
|
declare const EmbeddedSearchContent: ForwardRefExoticComponent<Omit< PolymorphicProps & Omit<{
|
|
648
654
|
children?: React.ReactNode;
|
|
649
655
|
} & Omit< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & {
|
package/dist/index.d.ts
CHANGED
|
@@ -593,7 +593,9 @@ export declare namespace EmbeddedSearch {
|
|
|
593
593
|
EmbeddedSearchAskAITrigger as AskAITrigger,
|
|
594
594
|
EmbeddedSearchAskAITriggerIcon as AskAITriggerIcon,
|
|
595
595
|
EmbeddedSearchAskAITriggerLabel as AskAITriggerLabel,
|
|
596
|
+
EmbeddedSearchAskAITriggerQuery as AskAITriggerQuery,
|
|
596
597
|
EmbeddedSearchAskAITriggerIndicator as AskAITriggerIndicator,
|
|
598
|
+
EmbeddedSearchAskAITriggerIndicatorText as AskAITriggerIndicatorText,
|
|
597
599
|
EmbeddedSearchResultsEmpty as ResultsEmpty,
|
|
598
600
|
EmbeddedSearchResultsTabList as ResultsTabList,
|
|
599
601
|
EmbeddedSearchResultsTab as ResultsTab,
|
|
@@ -642,8 +644,12 @@ declare const EmbeddedSearchAskAITriggerIcon: ({ className, ...props }: Componen
|
|
|
642
644
|
|
|
643
645
|
declare const EmbeddedSearchAskAITriggerIndicator: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerIndicator>) => JSX.Element;
|
|
644
646
|
|
|
647
|
+
declare const EmbeddedSearchAskAITriggerIndicatorText: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerIndicatorText>) => JSX.Element;
|
|
648
|
+
|
|
645
649
|
declare const EmbeddedSearchAskAITriggerLabel: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerLabel>) => JSX.Element;
|
|
646
650
|
|
|
651
|
+
declare const EmbeddedSearchAskAITriggerQuery: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerQuery>) => JSX.Element;
|
|
652
|
+
|
|
647
653
|
declare const EmbeddedSearchContent: ForwardRefExoticComponent<Omit< PolymorphicProps & Omit<{
|
|
648
654
|
children?: React.ReactNode;
|
|
649
655
|
} & Omit< ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & {
|