@inkeep/cxkit-styled 0.5.29 → 0.5.31
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-search/results-loading.cjs +1 -1
- package/dist/components/embedded-search/results-loading.js +12 -9
- package/dist/components/embedded-search.cjs +1 -1
- package/dist/components/embedded-search.js +260 -77
- package/dist/components/modal.cjs +1 -1
- package/dist/components/modal.js +22 -16
- package/dist/index.d.cts +48 -0
- package/dist/index.d.ts +48 -0
- package/dist/inkeep.css.cjs +88 -0
- package/dist/inkeep.css.js +88 -0
- package/dist/ui/markdown-styles.cjs +1 -1
- package/dist/ui/markdown-styles.js +4 -3
- package/dist/ui/recipes/citation.cjs +1 -1
- package/dist/ui/recipes/citation.js +2 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../utils.cjs"),
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../utils.cjs"),s=require("../../ui/recipes/skeleton.cjs");function a(){return e.jsxs("div",{className:"flex flex-col h-full",children:[e.jsxs("div",{className:l.cn("h-[calc(100%-24px)]"),children:[e.jsx("div",{className:"flex px-5 py-1 gap-3",children:Array.from({length:2}).map((c,n)=>e.jsx("div",{className:l.cn(s.skeleton(),"h-[27.88px] w-16 rounded-full")},n))}),e.jsxs("div",{className:"flex px-5 py-1 gap-5 h-full",children:[e.jsx("div",{className:"flex flex-col flex-[0_0_40%]",children:Array.from({length:4}).map((c,n)=>e.jsx("div",{className:"flex items-center pb-2.5 w-full",children:e.jsx("div",{className:l.cn(s.skeleton(),"h-20 rounded-lg grow-[1]")})},n))}),e.jsx("div",{className:l.cn(s.skeleton(),"h-full w-full rounded-md")})]})]}),e.jsx("div",{className:"flex pt-1 pb-3 px-5 justify-self-end",children:e.jsx("div",{className:l.cn(s.skeleton(),"h-[24px] w-40 rounded-md")})})]})}exports.ResultsLoading=a;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as d, jsx as l } from "react/jsx-runtime";
|
|
3
3
|
import { cn as e } from "../../utils.js";
|
|
4
|
-
import { skeleton as
|
|
5
|
-
function
|
|
6
|
-
return /* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */ l("div", { className: "flex px-5 py-1 gap-3", children: Array.from({ length: 2 }).map((
|
|
9
|
-
/* @__PURE__ */
|
|
4
|
+
import { skeleton as s } from "../../ui/recipes/skeleton.js";
|
|
5
|
+
function f() {
|
|
6
|
+
return /* @__PURE__ */ d("div", { className: "flex flex-col h-full", children: [
|
|
7
|
+
/* @__PURE__ */ d("div", { className: e("h-[calc(100%-24px)]"), children: [
|
|
8
|
+
/* @__PURE__ */ l("div", { className: "flex px-5 py-1 gap-3", children: Array.from({ length: 2 }).map((r, a) => /* @__PURE__ */ l("div", { className: e(s(), "h-[27.88px] w-16 rounded-full") }, a)) }),
|
|
9
|
+
/* @__PURE__ */ d("div", { className: "flex px-5 py-1 gap-5 h-full", children: [
|
|
10
|
+
/* @__PURE__ */ l("div", { className: "flex flex-col flex-[0_0_40%]", children: Array.from({ length: 4 }).map((r, a) => /* @__PURE__ */ l("div", { className: "flex items-center pb-2.5 w-full", children: /* @__PURE__ */ l("div", { className: e(s(), "h-20 rounded-lg grow-[1]") }) }, a)) }),
|
|
11
|
+
/* @__PURE__ */ l("div", { className: e(s(), "h-full w-full rounded-md") })
|
|
12
|
+
] })
|
|
10
13
|
] }),
|
|
11
|
-
/* @__PURE__ */ l("div", { className: "flex pt-1 pb-3 px-5 justify-self-end", children: /* @__PURE__ */ l("div", { className: e(
|
|
14
|
+
/* @__PURE__ */ l("div", { className: "flex pt-1 pb-3 px-5 justify-self-end", children: /* @__PURE__ */ l("div", { className: e(s(), "h-[24px] w-40 rounded-md") }) })
|
|
12
15
|
] });
|
|
13
16
|
}
|
|
14
17
|
export {
|
|
15
|
-
|
|
18
|
+
f as ResultsLoading
|
|
16
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("@inkeep/cxkit-primitives"),s=require("../utils.cjs"),d=require("../ui/recipes/citation.cjs"),i=require("../ui/recipes/link.cjs"),c=require("../ui/recipes/scrollable.cjs"),n=require("./embedded-search/results-loading.cjs"),l=e=>a.jsx(r.EmbeddedSearchPrimitive.Provider,{...e}),o=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Wrapper,{className:s.cn("data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950",e),...t}),m=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Root,{className:s.cn("data-[hidden]:hidden flex flex-col w-full",e),...t}),b=r.EmbeddedSearchPrimitive.Content,h=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.InputGroup,{className:s.cn("flex items-center w-full px-5 pt-3 pb-3 gap-3","[[data-show-ask-ai-card]_&]:pb-1",e),...t}),u=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.InputIcon,{className:s.cn("min-w-5 w-5 text-xl","text-gray-500 dark:text-white-alpha-600",e),...t}),p=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Input,{className:s.cn("min-h-[38px] overflow-hidden w-full resize-none","py-1.5 max-h-[10vh] placeholder:text-gray-500","w-full dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent",e),...t}),x=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Loading,{className:s.cn("animate-spin text-gray-400 dark:text-white-alpha-500",e),...t}),g=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITrigger,{className:s.cn(d.citation({slot:"root"}),"m-auto w-[calc(100%_-_theme(spacing.5))]","border-transparent dark:border-transparent","mb-3 py-0 h-11 cursor-pointer",e),...t}),S=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerIcon,{className:s.cn("[grid-area:icon] h-5 w-5","[--start-color:theme(colors.inkeep-expanded-primary.300)]","[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),E=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerLabel,{className:s.cn(d.citation({slot:"title"}),"font-normal",e),...t}),I=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerIndicator,{className:s.cn(d.citation({slot:"indicator"}),e),...t}),R=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Results,{className:s.cn(c.scrollable({section:"content"}),"h-0 max-h-full","data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]","transition-all duration-300 ease-in-out data-[has-content]:pb-2",e),...t}),v=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsLoading,{className:s.cn("group mb-1 relative transition-all w-full h-full",e),children:a.jsx(n.ResultsLoading,{}),...t}),f=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsEmpty,{className:s.cn("flex w-full h-full","overflow-hidden relative grow-[2]","items-center justify-center text-gray-600","dark:text-gray-dark-400 mt-8",e),...t}),k=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsTabList,{className:s.cn("shrink-0 max-w-full","flex gap-3 px-5 py-1","overflow-x-auto [scrollbar-width:thin]",e),...t}),P=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsTab,{className:s.cn("px-3 text-1sm font-medium rounded-full shrink-0","py-1 transition-all duration-200 leading-snug","border border-gray-300 dark:border-gray-dark-500","hover:bg-gray-50 dark:hover:bg-white-alpha-50","data-[state=active]:bg-inkeep-primary-light-subtle","hover:data-[state=active]:bg-inkeep-primary-light-subtle","data-[state=active]:text-inkeep-expanded-primary-900","data-[state=active]:border-inkeep-primary-medium-subtle","dark:data-[state=active]:bg-white-alpha-100","dark:hover:data-[state=active]:bg-white-alpha-100","dark:data-[state=active]:text-inkeep-expanded-primary-300","dark:data-[state=active]:border-inkeep-expanded-primary-300","focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300",e),...t}),y=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollArea,{className:s.cn("overflow-hidden h-full",'befter:content-[""] befter:absolute befter:inset-x-0',"befter:h-10 befter:pointer-events-none","befter:transition-opacity befter:duration-300","befter:ease-in-out befter:from-white","befter:dark:from-gray-dark-950 befter:to-transparent","before:top-0 after:bottom-0","before:bg-gradient-to-b after:bg-gradient-to-t","has-[[data-scroll-top]]:before:opacity-0","has-[[data-scroll-bottom]]:after:opacity-0",e),...t}),T=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaViewport,{className:s.cn("h-full w-full rounded-[inherit]",e),...t}),j=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaScrollbar,{className:s.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),w=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaThumb,{className:s.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),A=r.EmbeddedSearchPrimitive.ResultsScrollAreaCorner,N=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsList,{className:s.cn("w-full flex flex-col","items-center gap-2.5 h-full shrink-0","px-5 py-1 content-center -my-[1px]",e),...t}),L=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItem,{className:s.cn(d.citation({slot:"root"}),e),...t}),B=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemBreadcrumbs,{className:s.cn(d.citation({slot:"breadcrumbs"}),e),...t}),C=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemBreadcrumbIcon,{className:s.cn(d.citation({slot:"breadcrumbsIcon"}),e),...t}),_=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemIcon,{className:s.cn(d.citation({slot:"icon"}),e),...t}),q=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemTitle,{className:s.cn(d.citation({slot:"title"}),e),...t}),D=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemTag,{className:s.cn(d.citation({slot:"tag"}),e),...t}),F=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemDescription,{className:s.cn(d.citation({slot:"description"}),e),...t}),G=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemDescriptionPart,{className:s.cn(d.citation({slot:"descriptionPart"}),e),...t}),V=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemIndicator,{className:s.cn(d.citation({slot:"indicator"}),e),...t}),W=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Footer,{className:s.cn("justify-self-end pt-1 pb-3 px-5","hidden data-[has-results]:flex",e),...t}),z=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineContainer,{className:s.cn("flex items-center whitespace-nowrap",e),...t}),M=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineText,{className:s.cn("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),O=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineLogo,{className:s.cn("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),H=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineBrandName,{className:s.cn(i.link(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t});exports.AskAITrigger=g;exports.AskAITriggerIcon=S;exports.AskAITriggerIndicator=I;exports.AskAITriggerLabel=E;exports.Content=b;exports.Footer=W;exports.Input=p;exports.InputGroup=h;exports.InputIcon=u;exports.Loading=x;exports.Provider=l;exports.Results=R;exports.ResultsEmpty=f;exports.ResultsItem=L;exports.ResultsItemBreadcrumbIcon=C;exports.ResultsItemBreadcrumbs=B;exports.ResultsItemDescription=F;exports.ResultsItemDescriptionPart=G;exports.ResultsItemIcon=_;exports.ResultsItemIndicator=V;exports.ResultsItemTag=D;exports.ResultsItemTitle=q;exports.ResultsList=N;exports.ResultsLoading=v;exports.ResultsScrollArea=y;exports.ResultsScrollAreaCorner=A;exports.ResultsScrollAreaScrollbar=j;exports.ResultsScrollAreaThumb=w;exports.ResultsScrollAreaViewport=T;exports.ResultsTab=P;exports.ResultsTabList=k;exports.Root=m;exports.TaglineBrandName=H;exports.TaglineContainer=z;exports.TaglineLogo=O;exports.TaglineText=M;exports.Wrapper=o;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("@inkeep/cxkit-primitives"),s=require("../utils.cjs"),i=require("../ui/recipes/citation.cjs"),c=require("../ui/recipes/link.cjs"),l=require("../ui/recipes/scrollable.cjs"),n=require("./embedded-search/results-loading.cjs"),m=require("merge-anything"),o=require("../ui/markdown-styles.cjs"),u=e=>a.jsx(r.EmbeddedSearchPrimitive.Provider,{...e}),h=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Wrapper,{className:s.cn("data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950",e),...t}),b=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Root,{className:s.cn("data-[hidden]:hidden flex flex-col w-full",e),...t}),x=r.EmbeddedSearchPrimitive.Content,p=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.InputGroup,{className:s.cn("flex items-center w-full px-5 pt-3 pb-3 gap-3","[[data-show-ask-ai-card]_&]:pb-1",e),...t}),I=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.InputIcon,{className:s.cn("min-w-5 w-5 text-xl","text-gray-500 dark:text-white-alpha-600",e),...t}),v=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Input,{className:s.cn("min-h-[38px] overflow-hidden w-full resize-none","py-1.5 max-h-[10vh] placeholder:text-gray-500","w-full dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent",e),...t}),S=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Loading,{className:s.cn("animate-spin text-gray-400 dark:text-white-alpha-500",e),...t}),g=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITrigger,{className:s.cn(i.citation({slot:"root"}),"m-auto w-[calc(100%_-_theme(spacing.5))]","border-transparent dark:border-transparent","mb-3 py-0 h-11 cursor-pointer",e),...t}),R=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerIcon,{className:s.cn("[grid-area:icon] h-5 w-5","[--start-color:theme(colors.inkeep-expanded-primary.300)]","[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),E=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerLabel,{className:s.cn(i.citation({slot:"title"}),"font-normal",e),...t}),P=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerIndicator,{className:s.cn(i.citation({slot:"indicator"}),e),...t}),w=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Results,{className:s.cn(l.scrollable({section:"content"}),"h-0 max-h-full","data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]","transition-all duration-300 ease-in-out data-[has-content]:pb-2",e),...t}),k=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsLoading,{className:s.cn("group mb-1 relative transition-all w-full h-full",e),children:a.jsx(n.ResultsLoading,{}),...t}),f=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsEmpty,{className:s.cn("flex w-full h-full","overflow-hidden relative grow-[2]","items-center justify-center text-gray-600","dark:text-gray-dark-400 mt-8",e),...t}),y=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsTabList,{className:s.cn("shrink-0 max-w-full","flex gap-3 px-5 py-1","overflow-x-auto [scrollbar-width:thin]",e),...t}),j=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsTab,{className:s.cn("px-3 text-1sm font-medium rounded-full shrink-0","py-1 transition-all duration-200 leading-snug","border border-gray-300 dark:border-gray-dark-500","hover:bg-gray-50 dark:hover:bg-white-alpha-50","data-[state=active]:bg-inkeep-primary-light-subtle","hover:data-[state=active]:bg-inkeep-primary-light-subtle","data-[state=active]:text-inkeep-expanded-primary-900","data-[state=active]:border-inkeep-primary-medium-subtle","dark:data-[state=active]:bg-white-alpha-100","dark:hover:data-[state=active]:bg-white-alpha-100","dark:data-[state=active]:text-inkeep-expanded-primary-300","dark:data-[state=active]:border-inkeep-expanded-primary-300","focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300",e),...t}),T=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsContent,{className:s.cn("flex overflow-hidden",e),...t}),N=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollArea,{className:s.cn("overflow-hidden h-full","first:[[data-view=dual-pane]_&]:flex-1 md:first:[[data-view=dual-pane]_&]:flex-[0_0_40%]",'befter:content-[""] befter:absolute befter:inset-x-0',"befter:h-10 befter:pointer-events-none","befter:transition-opacity befter:duration-300","befter:ease-in-out befter:from-white","befter:dark:from-gray-dark-950 befter:to-transparent","before:top-0 after:bottom-0","before:bg-gradient-to-b after:bg-gradient-to-t","has-[[data-scroll-top]]:before:opacity-0","has-[[data-scroll-bottom]]:after:opacity-0",e),...t}),A=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaViewport,{className:s.cn("h-full w-full rounded-[inherit]",e),...t}),L=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaScrollbar,{className:s.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),O=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaThumb,{className:s.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),B=r.EmbeddedSearchPrimitive.ResultsScrollAreaCorner,_=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsList,{className:s.cn("w-full flex flex-col","items-center gap-2.5 h-full shrink-0","px-5 py-1 content-center -my-[1px]",e),...t}),C=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItem,{className:s.cn(i.citation({slot:"root"}),e),...t}),q=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemBreadcrumbs,{className:s.cn(i.citation({slot:"breadcrumbs"}),e),...t}),D=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemBreadcrumbIcon,{className:s.cn(i.citation({slot:"breadcrumbsIcon"}),e),...t}),H=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemIcon,{className:s.cn(i.citation({slot:"icon"}),e),...t}),F=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemTitle,{className:s.cn(i.citation({slot:"title"}),e),...t}),G=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemTag,{className:s.cn(i.citation({slot:"tag"}),e),...t}),V=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemDescription,{className:s.cn(i.citation({slot:"description"}),e),...t}),W=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemDescriptionPart,{className:s.cn(i.citation({slot:"descriptionPart"}),e),...t}),z=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemIndicator,{className:s.cn(i.citation({slot:"indicator"}),e),...t}),M=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreview,{className:s.cn("flex-1 min-w-0 break-words py-4 px-12","hidden md:flex flex-col gap-6",e),...t}),$=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewHeader,{className:s.cn("flex flex-col gap-5",e),...t}),J=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewHeading,{className:s.cn("inline-block",e),...t}),K=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewTitle,{className:s.cn("text-3xl leading-snug tracking-tight","font-semibold hover:text-inkeep-primary-stronger","dark:hover:text-inkeep-expanded-primary-100",e),...t}),Q=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewTitleLinkIcon,{className:s.cn("inline-block ml-2 mb-2 tracking-tight text-gray-500 dark:text-white-alpha-500",e),...t}),U=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewBreadcrumbs,{className:s.cn(i.citation({slot:"breadcrumbs"}),"!line-clamp-none whitespace-normal text-gray-500 dark:text-gray-dark-200 text-sm",e),...t}),X=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewBreadcrumbIcon,{className:s.cn(i.citation({slot:"breadcrumbsIcon"}),e),...t}),Y=({className:e,componentStyles:t,...d})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewBody,{className:s.cn("max-w-full text-gray-700 dark:text-gray-dark-100 [&_em]:font-bold [&_em]:not-italic",e),componentStyles:m.merge(o.markdownStyles,t??{}),...d}),Z=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutline,{className:s.cn("flex flex-col gap-3",e),...t}),ee=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineTitle,{className:s.cn("text-xs uppercase font-semibold tracking-widest","text-gray-500 dark:text-white-alpha-500",e),...t}),te=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineList,{className:s.cn("flex flex-col gap-4",e),...t}),re=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItem,{className:s.cn("flex items-center gap-1 text-gray-600 dark:text-white-alpha-600 font-medium ",`${t.href?"cursor-pointer hover:text-gray-800 dark:hover:text-white-alpha-800 dark:data-[is-match]:hover:text-inkeep-expanded-primary-200 data-[is-match]:hover:text-inkeep-expanded-primary-800 ":""}`,"data-[is-match]:text-inkeep-expanded-primary-700","dark:data-[is-match]:text-inkeep-expanded-primary-300",e),...t}),ae=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItemIcon,{className:s.cn(e),...t}),se=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItemText,{className:s.cn(e),...t}),ie=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItemLinkIcon,{className:s.cn("h-3 !min-h-0 !min-w-0",e),...t}),de=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Footer,{className:s.cn("justify-self-end pt-1 pb-3 px-5","hidden data-[has-results]:flex",e),...t}),ce=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineContainer,{className:s.cn("flex items-center whitespace-nowrap",e),...t}),le=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineText,{className:s.cn("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),ne=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineLogo,{className:s.cn("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),me=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineBrandName,{className:s.cn(c.link(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t});exports.AskAITrigger=g;exports.AskAITriggerIcon=R;exports.AskAITriggerIndicator=P;exports.AskAITriggerLabel=E;exports.Content=x;exports.Footer=de;exports.Input=v;exports.InputGroup=p;exports.InputIcon=I;exports.Loading=S;exports.Provider=u;exports.Results=w;exports.ResultsContent=T;exports.ResultsEmpty=f;exports.ResultsItem=C;exports.ResultsItemBreadcrumbIcon=D;exports.ResultsItemBreadcrumbs=q;exports.ResultsItemDescription=V;exports.ResultsItemDescriptionPart=W;exports.ResultsItemIcon=H;exports.ResultsItemIndicator=z;exports.ResultsItemPreview=M;exports.ResultsItemPreviewBody=Y;exports.ResultsItemPreviewBreadcrumbIcon=X;exports.ResultsItemPreviewBreadcrumbs=U;exports.ResultsItemPreviewHeader=$;exports.ResultsItemPreviewHeading=J;exports.ResultsItemPreviewOutline=Z;exports.ResultsItemPreviewOutlineItem=re;exports.ResultsItemPreviewOutlineItemIcon=ae;exports.ResultsItemPreviewOutlineItemLinkIcon=ie;exports.ResultsItemPreviewOutlineItemText=se;exports.ResultsItemPreviewOutlineList=te;exports.ResultsItemPreviewOutlineTitle=ee;exports.ResultsItemPreviewTitle=K;exports.ResultsItemPreviewTitleLinkIcon=Q;exports.ResultsItemTag=G;exports.ResultsItemTitle=F;exports.ResultsList=_;exports.ResultsLoading=k;exports.ResultsScrollArea=N;exports.ResultsScrollAreaCorner=B;exports.ResultsScrollAreaScrollbar=L;exports.ResultsScrollAreaThumb=O;exports.ResultsScrollAreaViewport=A;exports.ResultsTab=j;exports.ResultsTabList=y;exports.Root=b;exports.TaglineBrandName=me;exports.TaglineContainer=ce;exports.TaglineLogo=ne;exports.TaglineText=le;exports.Wrapper=h;
|
|
@@ -3,10 +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
|
|
9
|
-
|
|
6
|
+
import { link as n } from "../ui/recipes/link.js";
|
|
7
|
+
import { scrollable as o } from "../ui/recipes/scrollable.js";
|
|
8
|
+
import { ResultsLoading as i } from "./embedded-search/results-loading.js";
|
|
9
|
+
import { merge as m } from "merge-anything";
|
|
10
|
+
import { markdownStyles as c } from "../ui/markdown-styles.js";
|
|
11
|
+
const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), k = ({ className: e, ...t }) => /* @__PURE__ */ s(
|
|
10
12
|
a.Wrapper,
|
|
11
13
|
{
|
|
12
14
|
className: r(
|
|
@@ -16,7 +18,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
16
18
|
),
|
|
17
19
|
...t
|
|
18
20
|
}
|
|
19
|
-
),
|
|
21
|
+
), v = ({
|
|
20
22
|
className: e,
|
|
21
23
|
...t
|
|
22
24
|
}) => /* @__PURE__ */ s(
|
|
@@ -25,7 +27,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
25
27
|
className: r("data-[hidden]:hidden flex flex-col w-full", e),
|
|
26
28
|
...t
|
|
27
29
|
}
|
|
28
|
-
),
|
|
30
|
+
), S = a.Content, y = ({
|
|
29
31
|
className: e,
|
|
30
32
|
...t
|
|
31
33
|
}) => /* @__PURE__ */ s(
|
|
@@ -38,7 +40,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
38
40
|
),
|
|
39
41
|
...t
|
|
40
42
|
}
|
|
41
|
-
),
|
|
43
|
+
), E = ({
|
|
42
44
|
className: e,
|
|
43
45
|
...t
|
|
44
46
|
}) => /* @__PURE__ */ s(
|
|
@@ -47,7 +49,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
47
49
|
className: r("min-w-5 w-5 text-xl", "text-gray-500 dark:text-white-alpha-600", e),
|
|
48
50
|
...t
|
|
49
51
|
}
|
|
50
|
-
),
|
|
52
|
+
), T = ({
|
|
51
53
|
className: e,
|
|
52
54
|
...t
|
|
53
55
|
}) => /* @__PURE__ */ s(
|
|
@@ -62,7 +64,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
62
64
|
),
|
|
63
65
|
...t
|
|
64
66
|
}
|
|
65
|
-
),
|
|
67
|
+
), N = ({
|
|
66
68
|
className: e,
|
|
67
69
|
...t
|
|
68
70
|
}) => /* @__PURE__ */ s(
|
|
@@ -71,7 +73,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
71
73
|
className: r("animate-spin text-gray-400 dark:text-white-alpha-500", e),
|
|
72
74
|
...t
|
|
73
75
|
}
|
|
74
|
-
),
|
|
76
|
+
), P = ({
|
|
75
77
|
className: e,
|
|
76
78
|
...t
|
|
77
79
|
}) => /* @__PURE__ */ s(
|
|
@@ -86,7 +88,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
86
88
|
),
|
|
87
89
|
...t
|
|
88
90
|
}
|
|
89
|
-
),
|
|
91
|
+
), A = ({
|
|
90
92
|
className: e,
|
|
91
93
|
...t
|
|
92
94
|
}) => /* @__PURE__ */ s(
|
|
@@ -102,7 +104,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
102
104
|
),
|
|
103
105
|
...t
|
|
104
106
|
}
|
|
105
|
-
),
|
|
107
|
+
), L = ({
|
|
106
108
|
className: e,
|
|
107
109
|
...t
|
|
108
110
|
}) => /* @__PURE__ */ s(
|
|
@@ -111,7 +113,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
111
113
|
className: r(l({ slot: "title" }), "font-normal", e),
|
|
112
114
|
...t
|
|
113
115
|
}
|
|
114
|
-
),
|
|
116
|
+
), O = ({
|
|
115
117
|
className: e,
|
|
116
118
|
...t
|
|
117
119
|
}) => /* @__PURE__ */ s(
|
|
@@ -120,14 +122,14 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
120
122
|
className: r(l({ slot: "indicator" }), e),
|
|
121
123
|
...t
|
|
122
124
|
}
|
|
123
|
-
),
|
|
125
|
+
), B = ({
|
|
124
126
|
className: e,
|
|
125
127
|
...t
|
|
126
128
|
}) => /* @__PURE__ */ s(
|
|
127
129
|
a.Results,
|
|
128
130
|
{
|
|
129
131
|
className: r(
|
|
130
|
-
|
|
132
|
+
o({ section: "content" }),
|
|
131
133
|
"h-0 max-h-full",
|
|
132
134
|
"data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]",
|
|
133
135
|
"transition-all duration-300 ease-in-out data-[has-content]:pb-2",
|
|
@@ -135,17 +137,17 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
135
137
|
),
|
|
136
138
|
...t
|
|
137
139
|
}
|
|
138
|
-
),
|
|
140
|
+
), _ = ({
|
|
139
141
|
className: e,
|
|
140
142
|
...t
|
|
141
143
|
}) => /* @__PURE__ */ s(
|
|
142
144
|
a.ResultsLoading,
|
|
143
145
|
{
|
|
144
146
|
className: r("group mb-1 relative transition-all w-full h-full", e),
|
|
145
|
-
children: /* @__PURE__ */ s(
|
|
147
|
+
children: /* @__PURE__ */ s(i, {}),
|
|
146
148
|
...t
|
|
147
149
|
}
|
|
148
|
-
),
|
|
150
|
+
), C = ({
|
|
149
151
|
className: e,
|
|
150
152
|
...t
|
|
151
153
|
}) => /* @__PURE__ */ s(
|
|
@@ -160,7 +162,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
160
162
|
),
|
|
161
163
|
...t
|
|
162
164
|
}
|
|
163
|
-
),
|
|
165
|
+
), D = ({
|
|
164
166
|
className: e,
|
|
165
167
|
...t
|
|
166
168
|
}) => /* @__PURE__ */ s(
|
|
@@ -174,7 +176,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
174
176
|
),
|
|
175
177
|
...t
|
|
176
178
|
}
|
|
177
|
-
),
|
|
179
|
+
), H = ({
|
|
178
180
|
className: e,
|
|
179
181
|
...t
|
|
180
182
|
}) => /* @__PURE__ */ s(
|
|
@@ -198,7 +200,16 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
198
200
|
),
|
|
199
201
|
...t
|
|
200
202
|
}
|
|
201
|
-
),
|
|
203
|
+
), j = ({
|
|
204
|
+
className: e,
|
|
205
|
+
...t
|
|
206
|
+
}) => /* @__PURE__ */ s(
|
|
207
|
+
a.ResultsContent,
|
|
208
|
+
{
|
|
209
|
+
className: r("flex overflow-hidden", e),
|
|
210
|
+
...t
|
|
211
|
+
}
|
|
212
|
+
), F = ({
|
|
202
213
|
className: e,
|
|
203
214
|
...t
|
|
204
215
|
}) => /* @__PURE__ */ s(
|
|
@@ -206,6 +217,8 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
206
217
|
{
|
|
207
218
|
className: r(
|
|
208
219
|
"overflow-hidden h-full",
|
|
220
|
+
// Dual pane
|
|
221
|
+
"first:[[data-view=dual-pane]_&]:flex-1 md:first:[[data-view=dual-pane]_&]:flex-[0_0_40%]",
|
|
209
222
|
// Fade shadows
|
|
210
223
|
'befter:content-[""] befter:absolute befter:inset-x-0',
|
|
211
224
|
"befter:h-10 befter:pointer-events-none",
|
|
@@ -220,7 +233,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
220
233
|
),
|
|
221
234
|
...t
|
|
222
235
|
}
|
|
223
|
-
),
|
|
236
|
+
), G = ({
|
|
224
237
|
className: e,
|
|
225
238
|
...t
|
|
226
239
|
}) => /* @__PURE__ */ s(
|
|
@@ -229,7 +242,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
229
242
|
className: r("h-full w-full rounded-[inherit]", e),
|
|
230
243
|
...t
|
|
231
244
|
}
|
|
232
|
-
),
|
|
245
|
+
), V = ({
|
|
233
246
|
className: e,
|
|
234
247
|
...t
|
|
235
248
|
}) => /* @__PURE__ */ s(
|
|
@@ -243,7 +256,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
243
256
|
),
|
|
244
257
|
...t
|
|
245
258
|
}
|
|
246
|
-
),
|
|
259
|
+
), W = ({
|
|
247
260
|
className: e,
|
|
248
261
|
...t
|
|
249
262
|
}) => /* @__PURE__ */ s(
|
|
@@ -252,7 +265,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
252
265
|
className: r("relative flex-1 rounded-full", "bg-gray-300 dark:bg-white-alpha-200", e),
|
|
253
266
|
...t
|
|
254
267
|
}
|
|
255
|
-
),
|
|
268
|
+
), z = a.ResultsScrollAreaCorner, $ = ({
|
|
256
269
|
className: e,
|
|
257
270
|
...t
|
|
258
271
|
}) => /* @__PURE__ */ s(
|
|
@@ -266,7 +279,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
266
279
|
),
|
|
267
280
|
...t
|
|
268
281
|
}
|
|
269
|
-
),
|
|
282
|
+
), q = ({
|
|
270
283
|
className: e,
|
|
271
284
|
...t
|
|
272
285
|
}) => /* @__PURE__ */ s(
|
|
@@ -275,7 +288,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
275
288
|
className: r(l({ slot: "root" }), e),
|
|
276
289
|
...t
|
|
277
290
|
}
|
|
278
|
-
),
|
|
291
|
+
), J = ({
|
|
279
292
|
className: e,
|
|
280
293
|
...t
|
|
281
294
|
}) => /* @__PURE__ */ s(
|
|
@@ -284,7 +297,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
284
297
|
className: r(l({ slot: "breadcrumbs" }), e),
|
|
285
298
|
...t
|
|
286
299
|
}
|
|
287
|
-
),
|
|
300
|
+
), K = ({
|
|
288
301
|
className: e,
|
|
289
302
|
...t
|
|
290
303
|
}) => /* @__PURE__ */ s(
|
|
@@ -293,7 +306,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
293
306
|
className: r(l({ slot: "breadcrumbsIcon" }), e),
|
|
294
307
|
...t
|
|
295
308
|
}
|
|
296
|
-
),
|
|
309
|
+
), M = ({
|
|
297
310
|
className: e,
|
|
298
311
|
...t
|
|
299
312
|
}) => /* @__PURE__ */ s(
|
|
@@ -302,7 +315,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
302
315
|
className: r(l({ slot: "icon" }), e),
|
|
303
316
|
...t
|
|
304
317
|
}
|
|
305
|
-
),
|
|
318
|
+
), Q = ({
|
|
306
319
|
className: e,
|
|
307
320
|
...t
|
|
308
321
|
}) => /* @__PURE__ */ s(
|
|
@@ -311,7 +324,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
311
324
|
className: r(l({ slot: "title" }), e),
|
|
312
325
|
...t
|
|
313
326
|
}
|
|
314
|
-
),
|
|
327
|
+
), U = ({
|
|
315
328
|
className: e,
|
|
316
329
|
...t
|
|
317
330
|
}) => /* @__PURE__ */ s(
|
|
@@ -320,7 +333,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
320
333
|
className: r(l({ slot: "tag" }), e),
|
|
321
334
|
...t
|
|
322
335
|
}
|
|
323
|
-
),
|
|
336
|
+
), X = ({
|
|
324
337
|
className: e,
|
|
325
338
|
...t
|
|
326
339
|
}) => /* @__PURE__ */ s(
|
|
@@ -329,7 +342,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
329
342
|
className: r(l({ slot: "description" }), e),
|
|
330
343
|
...t
|
|
331
344
|
}
|
|
332
|
-
),
|
|
345
|
+
), Y = ({
|
|
333
346
|
className: e,
|
|
334
347
|
...t
|
|
335
348
|
}) => /* @__PURE__ */ s(
|
|
@@ -338,7 +351,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
338
351
|
className: r(l({ slot: "descriptionPart" }), e),
|
|
339
352
|
...t
|
|
340
353
|
}
|
|
341
|
-
),
|
|
354
|
+
), Z = ({
|
|
342
355
|
className: e,
|
|
343
356
|
...t
|
|
344
357
|
}) => /* @__PURE__ */ s(
|
|
@@ -347,7 +360,161 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
347
360
|
className: r(l({ slot: "indicator" }), e),
|
|
348
361
|
...t
|
|
349
362
|
}
|
|
350
|
-
),
|
|
363
|
+
), ee = ({
|
|
364
|
+
className: e,
|
|
365
|
+
...t
|
|
366
|
+
}) => /* @__PURE__ */ s(
|
|
367
|
+
a.ResultsItemPreview,
|
|
368
|
+
{
|
|
369
|
+
className: r(
|
|
370
|
+
"flex-1 min-w-0 break-words py-4 px-12",
|
|
371
|
+
"hidden md:flex flex-col gap-6",
|
|
372
|
+
e
|
|
373
|
+
),
|
|
374
|
+
...t
|
|
375
|
+
}
|
|
376
|
+
), te = ({
|
|
377
|
+
className: e,
|
|
378
|
+
...t
|
|
379
|
+
}) => /* @__PURE__ */ s(
|
|
380
|
+
a.ResultsItemPreviewHeader,
|
|
381
|
+
{
|
|
382
|
+
className: r("flex flex-col gap-5", e),
|
|
383
|
+
...t
|
|
384
|
+
}
|
|
385
|
+
), ae = ({
|
|
386
|
+
className: e,
|
|
387
|
+
...t
|
|
388
|
+
}) => /* @__PURE__ */ s(
|
|
389
|
+
a.ResultsItemPreviewHeading,
|
|
390
|
+
{
|
|
391
|
+
className: r("inline-block", e),
|
|
392
|
+
...t
|
|
393
|
+
}
|
|
394
|
+
), se = ({
|
|
395
|
+
className: e,
|
|
396
|
+
...t
|
|
397
|
+
}) => /* @__PURE__ */ s(
|
|
398
|
+
a.ResultsItemPreviewTitle,
|
|
399
|
+
{
|
|
400
|
+
className: r(
|
|
401
|
+
"text-3xl leading-snug tracking-tight",
|
|
402
|
+
"font-semibold hover:text-inkeep-primary-stronger",
|
|
403
|
+
"dark:hover:text-inkeep-expanded-primary-100",
|
|
404
|
+
e
|
|
405
|
+
),
|
|
406
|
+
...t
|
|
407
|
+
}
|
|
408
|
+
), re = ({
|
|
409
|
+
className: e,
|
|
410
|
+
...t
|
|
411
|
+
}) => /* @__PURE__ */ s(
|
|
412
|
+
a.ResultsItemPreviewTitleLinkIcon,
|
|
413
|
+
{
|
|
414
|
+
className: r(
|
|
415
|
+
"inline-block ml-2 mb-2 tracking-tight text-gray-500 dark:text-white-alpha-500",
|
|
416
|
+
e
|
|
417
|
+
),
|
|
418
|
+
...t
|
|
419
|
+
}
|
|
420
|
+
), le = ({
|
|
421
|
+
className: e,
|
|
422
|
+
...t
|
|
423
|
+
}) => /* @__PURE__ */ s(
|
|
424
|
+
a.ResultsItemPreviewBreadcrumbs,
|
|
425
|
+
{
|
|
426
|
+
className: r(
|
|
427
|
+
l({ slot: "breadcrumbs" }),
|
|
428
|
+
"!line-clamp-none whitespace-normal text-gray-500 dark:text-gray-dark-200 text-sm",
|
|
429
|
+
e
|
|
430
|
+
),
|
|
431
|
+
...t
|
|
432
|
+
}
|
|
433
|
+
), de = ({
|
|
434
|
+
className: e,
|
|
435
|
+
...t
|
|
436
|
+
}) => /* @__PURE__ */ s(
|
|
437
|
+
a.ResultsItemPreviewBreadcrumbIcon,
|
|
438
|
+
{
|
|
439
|
+
className: r(l({ slot: "breadcrumbsIcon" }), e),
|
|
440
|
+
...t
|
|
441
|
+
}
|
|
442
|
+
), ne = ({
|
|
443
|
+
className: e,
|
|
444
|
+
componentStyles: t,
|
|
445
|
+
...d
|
|
446
|
+
}) => /* @__PURE__ */ s(
|
|
447
|
+
a.ResultsItemPreviewBody,
|
|
448
|
+
{
|
|
449
|
+
className: r(
|
|
450
|
+
"max-w-full text-gray-700 dark:text-gray-dark-100 [&_em]:font-bold [&_em]:not-italic",
|
|
451
|
+
e
|
|
452
|
+
),
|
|
453
|
+
componentStyles: m(c, t ?? {}),
|
|
454
|
+
...d
|
|
455
|
+
}
|
|
456
|
+
), oe = ({
|
|
457
|
+
className: e,
|
|
458
|
+
...t
|
|
459
|
+
}) => /* @__PURE__ */ s(
|
|
460
|
+
a.ResultsItemPreviewOutline,
|
|
461
|
+
{
|
|
462
|
+
className: r("flex flex-col gap-3", e),
|
|
463
|
+
...t
|
|
464
|
+
}
|
|
465
|
+
), ie = ({
|
|
466
|
+
className: e,
|
|
467
|
+
...t
|
|
468
|
+
}) => /* @__PURE__ */ s(
|
|
469
|
+
a.ResultsItemPreviewOutlineTitle,
|
|
470
|
+
{
|
|
471
|
+
className: r(
|
|
472
|
+
"text-xs uppercase font-semibold tracking-widest",
|
|
473
|
+
"text-gray-500 dark:text-white-alpha-500",
|
|
474
|
+
e
|
|
475
|
+
),
|
|
476
|
+
...t
|
|
477
|
+
}
|
|
478
|
+
), me = ({
|
|
479
|
+
className: e,
|
|
480
|
+
...t
|
|
481
|
+
}) => /* @__PURE__ */ s(
|
|
482
|
+
a.ResultsItemPreviewOutlineList,
|
|
483
|
+
{
|
|
484
|
+
className: r("flex flex-col gap-4", e),
|
|
485
|
+
...t
|
|
486
|
+
}
|
|
487
|
+
), ce = ({
|
|
488
|
+
className: e,
|
|
489
|
+
...t
|
|
490
|
+
}) => /* @__PURE__ */ s(
|
|
491
|
+
a.ResultsItemPreviewOutlineItem,
|
|
492
|
+
{
|
|
493
|
+
className: r(
|
|
494
|
+
"flex items-center gap-1 text-gray-600 dark:text-white-alpha-600 font-medium ",
|
|
495
|
+
`${t.href ? "cursor-pointer hover:text-gray-800 dark:hover:text-white-alpha-800 dark:data-[is-match]:hover:text-inkeep-expanded-primary-200 data-[is-match]:hover:text-inkeep-expanded-primary-800 " : ""}`,
|
|
496
|
+
"data-[is-match]:text-inkeep-expanded-primary-700",
|
|
497
|
+
"dark:data-[is-match]:text-inkeep-expanded-primary-300",
|
|
498
|
+
e
|
|
499
|
+
),
|
|
500
|
+
...t
|
|
501
|
+
}
|
|
502
|
+
), ue = ({
|
|
503
|
+
className: e,
|
|
504
|
+
...t
|
|
505
|
+
}) => /* @__PURE__ */ s(a.ResultsItemPreviewOutlineItemIcon, { className: r(e), ...t }), pe = ({
|
|
506
|
+
className: e,
|
|
507
|
+
...t
|
|
508
|
+
}) => /* @__PURE__ */ s(a.ResultsItemPreviewOutlineItemText, { className: r(e), ...t }), he = ({
|
|
509
|
+
className: e,
|
|
510
|
+
...t
|
|
511
|
+
}) => /* @__PURE__ */ s(
|
|
512
|
+
a.ResultsItemPreviewOutlineItemLinkIcon,
|
|
513
|
+
{
|
|
514
|
+
className: r("h-3 !min-h-0 !min-w-0", e),
|
|
515
|
+
...t
|
|
516
|
+
}
|
|
517
|
+
), be = ({
|
|
351
518
|
className: e,
|
|
352
519
|
...t
|
|
353
520
|
}) => /* @__PURE__ */ s(
|
|
@@ -356,7 +523,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
356
523
|
className: r("justify-self-end pt-1 pb-3 px-5", "hidden data-[has-results]:flex", e),
|
|
357
524
|
...t
|
|
358
525
|
}
|
|
359
|
-
),
|
|
526
|
+
), Ie = ({
|
|
360
527
|
className: e,
|
|
361
528
|
...t
|
|
362
529
|
}) => /* @__PURE__ */ s(
|
|
@@ -365,7 +532,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
365
532
|
className: r("flex items-center whitespace-nowrap", e),
|
|
366
533
|
...t
|
|
367
534
|
}
|
|
368
|
-
),
|
|
535
|
+
), ge = ({
|
|
369
536
|
className: e,
|
|
370
537
|
...t
|
|
371
538
|
}) => /* @__PURE__ */ s(
|
|
@@ -374,7 +541,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
374
541
|
className: r("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600", e),
|
|
375
542
|
...t
|
|
376
543
|
}
|
|
377
|
-
),
|
|
544
|
+
), xe = ({
|
|
378
545
|
className: e,
|
|
379
546
|
...t
|
|
380
547
|
}) => /* @__PURE__ */ s(
|
|
@@ -383,14 +550,14 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
383
550
|
className: r("text-gray-400 dark:text-white-alpha-500", "w-[18px] ml-2 mr-1", e),
|
|
384
551
|
...t
|
|
385
552
|
}
|
|
386
|
-
),
|
|
553
|
+
), Re = ({
|
|
387
554
|
className: e,
|
|
388
555
|
...t
|
|
389
556
|
}) => /* @__PURE__ */ s(
|
|
390
557
|
a.TaglineBrandName,
|
|
391
558
|
{
|
|
392
559
|
className: r(
|
|
393
|
-
|
|
560
|
+
n(),
|
|
394
561
|
"inline-flex text-xs md:text-sm text-gray-500",
|
|
395
562
|
"dark:text-white-alpha-600 font-bold",
|
|
396
563
|
e
|
|
@@ -399,41 +566,57 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
|
|
|
399
566
|
}
|
|
400
567
|
);
|
|
401
568
|
export {
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
569
|
+
P as AskAITrigger,
|
|
570
|
+
A as AskAITriggerIcon,
|
|
571
|
+
O as AskAITriggerIndicator,
|
|
572
|
+
L as AskAITriggerLabel,
|
|
573
|
+
S as Content,
|
|
574
|
+
be as Footer,
|
|
575
|
+
T as Input,
|
|
576
|
+
y as InputGroup,
|
|
577
|
+
E as InputIcon,
|
|
578
|
+
N as Loading,
|
|
579
|
+
f as Provider,
|
|
580
|
+
B as Results,
|
|
581
|
+
j as ResultsContent,
|
|
582
|
+
C as ResultsEmpty,
|
|
583
|
+
q as ResultsItem,
|
|
584
|
+
K as ResultsItemBreadcrumbIcon,
|
|
585
|
+
J as ResultsItemBreadcrumbs,
|
|
586
|
+
X as ResultsItemDescription,
|
|
587
|
+
Y as ResultsItemDescriptionPart,
|
|
588
|
+
M as ResultsItemIcon,
|
|
589
|
+
Z as ResultsItemIndicator,
|
|
590
|
+
ee as ResultsItemPreview,
|
|
591
|
+
ne as ResultsItemPreviewBody,
|
|
592
|
+
de as ResultsItemPreviewBreadcrumbIcon,
|
|
593
|
+
le as ResultsItemPreviewBreadcrumbs,
|
|
594
|
+
te as ResultsItemPreviewHeader,
|
|
595
|
+
ae as ResultsItemPreviewHeading,
|
|
596
|
+
oe as ResultsItemPreviewOutline,
|
|
597
|
+
ce as ResultsItemPreviewOutlineItem,
|
|
598
|
+
ue as ResultsItemPreviewOutlineItemIcon,
|
|
599
|
+
he as ResultsItemPreviewOutlineItemLinkIcon,
|
|
600
|
+
pe as ResultsItemPreviewOutlineItemText,
|
|
601
|
+
me as ResultsItemPreviewOutlineList,
|
|
602
|
+
ie as ResultsItemPreviewOutlineTitle,
|
|
603
|
+
se as ResultsItemPreviewTitle,
|
|
604
|
+
re as ResultsItemPreviewTitleLinkIcon,
|
|
605
|
+
U as ResultsItemTag,
|
|
606
|
+
Q as ResultsItemTitle,
|
|
607
|
+
$ as ResultsList,
|
|
608
|
+
_ as ResultsLoading,
|
|
609
|
+
F as ResultsScrollArea,
|
|
610
|
+
z as ResultsScrollAreaCorner,
|
|
611
|
+
V as ResultsScrollAreaScrollbar,
|
|
612
|
+
W as ResultsScrollAreaThumb,
|
|
613
|
+
G as ResultsScrollAreaViewport,
|
|
614
|
+
H as ResultsTab,
|
|
615
|
+
D as ResultsTabList,
|
|
616
|
+
v as Root,
|
|
617
|
+
Re as TaglineBrandName,
|
|
618
|
+
Ie as TaglineContainer,
|
|
619
|
+
xe as TaglineLogo,
|
|
620
|
+
ge as TaglineText,
|
|
621
|
+
k as Wrapper
|
|
439
622
|
};
|