@inkeep/cxkit-styled 0.0.0-dev-20250221234142

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.
Files changed (125) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -0
  3. package/dist/components/chat-button.cjs +1 -0
  4. package/dist/components/chat-button.d.cts +8 -0
  5. package/dist/components/chat-button.d.ts +8 -0
  6. package/dist/components/chat-button.js +53 -0
  7. package/dist/components/embedded-chat/conversation-loading.cjs +1 -0
  8. package/dist/components/embedded-chat/conversation-loading.d.cts +1 -0
  9. package/dist/components/embedded-chat/conversation-loading.d.ts +1 -0
  10. package/dist/components/embedded-chat/conversation-loading.js +48 -0
  11. package/dist/components/embedded-chat.cjs +1 -0
  12. package/dist/components/embedded-chat.d.cts +183 -0
  13. package/dist/components/embedded-chat.d.ts +183 -0
  14. package/dist/components/embedded-chat.js +1817 -0
  15. package/dist/components/embedded-search/results-loading.cjs +1 -0
  16. package/dist/components/embedded-search/results-loading.d.cts +1 -0
  17. package/dist/components/embedded-search/results-loading.d.ts +1 -0
  18. package/dist/components/embedded-search/results-loading.js +16 -0
  19. package/dist/components/embedded-search.cjs +1 -0
  20. package/dist/components/embedded-search.d.cts +58 -0
  21. package/dist/components/embedded-search.d.ts +58 -0
  22. package/dist/components/embedded-search.js +434 -0
  23. package/dist/components/index.cjs +1 -0
  24. package/dist/components/index.d.cts +8 -0
  25. package/dist/components/index.d.ts +8 -0
  26. package/dist/components/index.js +18 -0
  27. package/dist/components/intelligent-form.cjs +1 -0
  28. package/dist/components/intelligent-form.d.cts +60 -0
  29. package/dist/components/intelligent-form.d.ts +60 -0
  30. package/dist/components/intelligent-form.js +553 -0
  31. package/dist/components/loading-indicator.cjs +1 -0
  32. package/dist/components/loading-indicator.d.cts +1 -0
  33. package/dist/components/loading-indicator.d.ts +1 -0
  34. package/dist/components/loading-indicator.js +36 -0
  35. package/dist/components/modal.cjs +1 -0
  36. package/dist/components/modal.d.cts +6 -0
  37. package/dist/components/modal.d.ts +6 -0
  38. package/dist/components/modal.js +40 -0
  39. package/dist/components/searchbar.cjs +1 -0
  40. package/dist/components/searchbar.d.cts +11 -0
  41. package/dist/components/searchbar.d.ts +11 -0
  42. package/dist/components/searchbar.js +81 -0
  43. package/dist/components/shadow.cjs +1 -0
  44. package/dist/components/shadow.d.cts +3 -0
  45. package/dist/components/shadow.d.ts +3 -0
  46. package/dist/components/shadow.js +8 -0
  47. package/dist/index.cjs +1 -0
  48. package/dist/index.d.cts +3 -0
  49. package/dist/index.d.ts +3 -0
  50. package/dist/index.js +21 -0
  51. package/dist/inkeep.css.cjs +3524 -0
  52. package/dist/inkeep.css.js +3528 -0
  53. package/dist/ui/markdown-styles.cjs +1 -0
  54. package/dist/ui/markdown-styles.d.cts +20 -0
  55. package/dist/ui/markdown-styles.d.ts +20 -0
  56. package/dist/ui/markdown-styles.js +36 -0
  57. package/dist/ui/recipes/ai-chat-page-wrapper.cjs +1 -0
  58. package/dist/ui/recipes/ai-chat-page-wrapper.d.cts +7 -0
  59. package/dist/ui/recipes/ai-chat-page-wrapper.d.ts +7 -0
  60. package/dist/ui/recipes/ai-chat-page-wrapper.js +32 -0
  61. package/dist/ui/recipes/attachment.cjs +1 -0
  62. package/dist/ui/recipes/attachment.d.cts +4 -0
  63. package/dist/ui/recipes/attachment.d.ts +4 -0
  64. package/dist/ui/recipes/attachment.js +28 -0
  65. package/dist/ui/recipes/button.cjs +1 -0
  66. package/dist/ui/recipes/button.d.cts +6 -0
  67. package/dist/ui/recipes/button.d.ts +6 -0
  68. package/dist/ui/recipes/button.js +78 -0
  69. package/dist/ui/recipes/checkbox.cjs +1 -0
  70. package/dist/ui/recipes/checkbox.d.cts +4 -0
  71. package/dist/ui/recipes/checkbox.d.ts +4 -0
  72. package/dist/ui/recipes/checkbox.js +23 -0
  73. package/dist/ui/recipes/citation.cjs +1 -0
  74. package/dist/ui/recipes/citation.d.cts +4 -0
  75. package/dist/ui/recipes/citation.d.ts +4 -0
  76. package/dist/ui/recipes/citation.js +70 -0
  77. package/dist/ui/recipes/icon.cjs +1 -0
  78. package/dist/ui/recipes/icon.d.cts +2 -0
  79. package/dist/ui/recipes/icon.d.ts +2 -0
  80. package/dist/ui/recipes/icon.js +6 -0
  81. package/dist/ui/recipes/index.cjs +1 -0
  82. package/dist/ui/recipes/index.d.cts +15 -0
  83. package/dist/ui/recipes/index.d.ts +15 -0
  84. package/dist/ui/recipes/index.js +37 -0
  85. package/dist/ui/recipes/input.cjs +1 -0
  86. package/dist/ui/recipes/input.d.cts +5 -0
  87. package/dist/ui/recipes/input.d.ts +5 -0
  88. package/dist/ui/recipes/input.js +34 -0
  89. package/dist/ui/recipes/link.cjs +1 -0
  90. package/dist/ui/recipes/link.d.cts +2 -0
  91. package/dist/ui/recipes/link.d.ts +2 -0
  92. package/dist/ui/recipes/link.js +11 -0
  93. package/dist/ui/recipes/markdown.cjs +1 -0
  94. package/dist/ui/recipes/markdown.d.cts +16 -0
  95. package/dist/ui/recipes/markdown.d.ts +16 -0
  96. package/dist/ui/recipes/markdown.js +101 -0
  97. package/dist/ui/recipes/modal.cjs +1 -0
  98. package/dist/ui/recipes/modal.d.cts +4 -0
  99. package/dist/ui/recipes/modal.d.ts +4 -0
  100. package/dist/ui/recipes/modal.js +58 -0
  101. package/dist/ui/recipes/popover.cjs +1 -0
  102. package/dist/ui/recipes/popover.d.cts +4 -0
  103. package/dist/ui/recipes/popover.d.ts +4 -0
  104. package/dist/ui/recipes/popover.js +19 -0
  105. package/dist/ui/recipes/scrollable.cjs +1 -0
  106. package/dist/ui/recipes/scrollable.d.cts +4 -0
  107. package/dist/ui/recipes/scrollable.d.ts +4 -0
  108. package/dist/ui/recipes/scrollable.js +15 -0
  109. package/dist/ui/recipes/select.cjs +1 -0
  110. package/dist/ui/recipes/select.d.cts +4 -0
  111. package/dist/ui/recipes/select.d.ts +4 -0
  112. package/dist/ui/recipes/select.js +38 -0
  113. package/dist/ui/recipes/skeleton.cjs +1 -0
  114. package/dist/ui/recipes/skeleton.d.cts +2 -0
  115. package/dist/ui/recipes/skeleton.d.ts +2 -0
  116. package/dist/ui/recipes/skeleton.js +16 -0
  117. package/dist/ui/recipes/widget-toggle.cjs +1 -0
  118. package/dist/ui/recipes/widget-toggle.d.cts +4 -0
  119. package/dist/ui/recipes/widget-toggle.d.ts +4 -0
  120. package/dist/ui/recipes/widget-toggle.js +33 -0
  121. package/dist/utils.cjs +1 -0
  122. package/dist/utils.d.cts +4 -0
  123. package/dist/utils.d.ts +4 -0
  124. package/dist/utils.js +11 -0
  125. package/package.json +72 -0
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("../../utils.cjs"),n=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,s)=>e.jsx("div",{className:l.cn(n.skeleton(),"h-[27.88px] w-16 rounded-full")},s))}),e.jsx("div",{className:"flex flex-col w-full gap-2 px-5 py-1",children:Array.from({length:4}).map((c,s)=>e.jsx("div",{className:"flex items-center pb-2.5 w-full",children:e.jsx("div",{className:l.cn(n.skeleton(),"h-20 rounded-lg grow-[1]")})},s))})]}),e.jsx("div",{className:"flex pt-1 pb-3 px-5 justify-self-end",children:e.jsx("div",{className:l.cn(n.skeleton(),"h-[24px] w-40 rounded-md")})})]})}exports.ResultsLoading=a;
@@ -0,0 +1 @@
1
+ export declare function ResultsLoading(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function ResultsLoading(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,16 @@
1
+ "use client";
2
+ import { jsxs as r, jsx as l } from "react/jsx-runtime";
3
+ import { cn as e } from "../../utils.js";
4
+ import { skeleton as a } from "../../ui/recipes/skeleton.js";
5
+ function n() {
6
+ return /* @__PURE__ */ r("div", { className: "flex flex-col h-full", children: [
7
+ /* @__PURE__ */ r("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((d, s) => /* @__PURE__ */ l("div", { className: e(a(), "h-[27.88px] w-16 rounded-full") }, s)) }),
9
+ /* @__PURE__ */ l("div", { className: "flex flex-col w-full gap-2 px-5 py-1", children: Array.from({ length: 4 }).map((d, s) => /* @__PURE__ */ l("div", { className: "flex items-center pb-2.5 w-full", children: /* @__PURE__ */ l("div", { className: e(a(), "h-20 rounded-lg grow-[1]") }) }, s)) })
10
+ ] }),
11
+ /* @__PURE__ */ l("div", { className: "flex pt-1 pb-3 px-5 justify-self-end", children: /* @__PURE__ */ l("div", { className: e(a(), "h-[24px] w-40 rounded-md") }) })
12
+ ] });
13
+ }
14
+ export {
15
+ n as ResultsLoading
16
+ };
@@ -0,0 +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 py-4 gap-3",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-2 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",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","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",e),...t}),T=({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}),y=({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}),A=({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}),w=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=T;exports.ResultsScrollAreaCorner=w;exports.ResultsScrollAreaScrollbar=j;exports.ResultsScrollAreaThumb=A;exports.ResultsScrollAreaViewport=y;exports.ResultsTab=P;exports.ResultsTabList=k;exports.Root=m;exports.TaglineBrandName=H;exports.TaglineContainer=z;exports.TaglineLogo=O;exports.TaglineText=M;exports.Wrapper=o;
@@ -0,0 +1,58 @@
1
+ import { EmbeddedSearchPrimitive, PolymorphicProps } from '@inkeep/cxkit-primitives';
2
+ import { ComponentPropsWithRef, ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefAttributes } from 'react';
3
+ import { ScrollAreaCornerProps } from '@radix-ui/react-scroll-area';
4
+ declare const EmbeddedSearchProvider: (props: React.ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Provider>) => import("react/jsx-runtime").JSX.Element;
5
+ type EmbeddedSearchWrapperProps = ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Wrapper>;
6
+ declare const EmbeddedSearchWrapper: ({ className, ...props }: EmbeddedSearchWrapperProps) => import("react/jsx-runtime").JSX.Element;
7
+ declare const EmbeddedSearchRoot: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
8
+ declare const EmbeddedSearchContent: ForwardRefExoticComponent< PolymorphicProps & Omit<{
9
+ children?: React.ReactNode;
10
+ } & Pick<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<HTMLDivElement>> & {
11
+ ref?: React.Ref<HTMLDivElement>;
12
+ } & {
13
+ asChild?: boolean;
14
+ }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
15
+ label?: string;
16
+ } & RefAttributes<HTMLDivElement>, "_id"> & Partial<Pick<{
17
+ children?: React.ReactNode;
18
+ } & Pick<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<HTMLDivElement>> & {
19
+ ref?: React.Ref<HTMLDivElement>;
20
+ } & {
21
+ asChild?: boolean;
22
+ }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
23
+ label?: string;
24
+ } & RefAttributes<HTMLDivElement>, "_id">>>;
25
+ declare const EmbeddedSearchInputGroup: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.InputGroup>) => import("react/jsx-runtime").JSX.Element;
26
+ declare const EmbeddedSearchInputIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.InputIcon>) => import("react/jsx-runtime").JSX.Element;
27
+ declare const EmbeddedSearchInput: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Input>) => import("react/jsx-runtime").JSX.Element;
28
+ declare const EmbeddedSearchLoading: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Loading>) => import("react/jsx-runtime").JSX.Element;
29
+ declare const EmbeddedSearchAskAITrigger: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITrigger>) => import("react/jsx-runtime").JSX.Element;
30
+ declare const EmbeddedSearchAskAITriggerIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerIcon>) => import("react/jsx-runtime").JSX.Element;
31
+ declare const EmbeddedSearchAskAITriggerLabel: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerLabel>) => import("react/jsx-runtime").JSX.Element;
32
+ declare const EmbeddedSearchAskAITriggerIndicator: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerIndicator>) => import("react/jsx-runtime").JSX.Element;
33
+ declare const EmbeddedSearchResults: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Results>) => import("react/jsx-runtime").JSX.Element;
34
+ declare const EmbeddedSearchResultsLoading: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsLoading>) => import("react/jsx-runtime").JSX.Element;
35
+ declare const EmbeddedSearchResultsEmpty: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsEmpty>) => import("react/jsx-runtime").JSX.Element;
36
+ declare const EmbeddedSearchResultsTabList: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsTabList>) => import("react/jsx-runtime").JSX.Element;
37
+ declare const EmbeddedSearchResultsTab: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsTab>) => import("react/jsx-runtime").JSX.Element;
38
+ declare const EmbeddedSearchResultsScrollArea: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsScrollArea>) => import("react/jsx-runtime").JSX.Element;
39
+ declare const EmbeddedSearchResultsScrollAreaViewport: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsScrollAreaViewport>) => import("react/jsx-runtime").JSX.Element;
40
+ declare const EmbeddedSearchResultsScrollAreaScrollbar: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsScrollAreaScrollbar>) => import("react/jsx-runtime").JSX.Element;
41
+ declare const EmbeddedSearchResultsScrollAreaThumb: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsScrollAreaThumb>) => import("react/jsx-runtime").JSX.Element;
42
+ declare const EmbeddedSearchResultsScrollAreaCorner: ForwardRefExoticComponent< PolymorphicProps & Omit< ScrollAreaCornerProps & RefAttributes<HTMLDivElement>, "_id"> & Partial<Pick< ScrollAreaCornerProps & RefAttributes<HTMLDivElement>, "_id">>>;
43
+ declare const EmbeddedSearchResultsList: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsList>) => import("react/jsx-runtime").JSX.Element;
44
+ declare const EmbeddedSearchResultsItem: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItem>) => import("react/jsx-runtime").JSX.Element;
45
+ declare const EmbeddedSearchResultsItemBreadcrumbs: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemBreadcrumbs>) => import("react/jsx-runtime").JSX.Element;
46
+ declare const EmbeddedSearchResultsItemBreadcrumbIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemBreadcrumbIcon>) => import("react/jsx-runtime").JSX.Element;
47
+ declare const EmbeddedSearchResultsItemIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemIcon>) => import("react/jsx-runtime").JSX.Element;
48
+ declare const EmbeddedSearchResultsItemTitle: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemTitle>) => import("react/jsx-runtime").JSX.Element;
49
+ declare const EmbeddedSearchResultsItemTag: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemTag>) => import("react/jsx-runtime").JSX.Element;
50
+ declare const EmbeddedSearchResultsItemDescription: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemDescription>) => import("react/jsx-runtime").JSX.Element;
51
+ declare const EmbeddedSearchResultsItemDescriptionPart: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemDescriptionPart>) => import("react/jsx-runtime").JSX.Element;
52
+ declare const EmbeddedSearchResultsItemIndicator: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemIndicator>) => import("react/jsx-runtime").JSX.Element;
53
+ declare const EmbeddedSearchFooter: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Footer>) => import("react/jsx-runtime").JSX.Element;
54
+ declare const EmbeddedSearchTaglineContainer: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineContainer>) => import("react/jsx-runtime").JSX.Element;
55
+ declare const EmbeddedSearchTaglineText: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineText>) => import("react/jsx-runtime").JSX.Element;
56
+ declare const EmbeddedSearchTaglineLogo: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineLogo>) => import("react/jsx-runtime").JSX.Element;
57
+ declare const EmbeddedSearchTaglineBrandName: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineBrandName>) => import("react/jsx-runtime").JSX.Element;
58
+ export { EmbeddedSearchProvider as Provider, EmbeddedSearchWrapper as Wrapper, EmbeddedSearchRoot as Root, EmbeddedSearchContent as Content, EmbeddedSearchInputGroup as InputGroup, EmbeddedSearchInputIcon as InputIcon, EmbeddedSearchInput as Input, EmbeddedSearchLoading as Loading, EmbeddedSearchResults as Results, EmbeddedSearchResultsLoading as ResultsLoading, EmbeddedSearchAskAITrigger as AskAITrigger, EmbeddedSearchAskAITriggerIcon as AskAITriggerIcon, EmbeddedSearchAskAITriggerLabel as AskAITriggerLabel, EmbeddedSearchAskAITriggerIndicator as AskAITriggerIndicator, EmbeddedSearchResultsEmpty as ResultsEmpty, EmbeddedSearchResultsTabList as ResultsTabList, EmbeddedSearchResultsTab as ResultsTab, EmbeddedSearchResultsScrollArea as ResultsScrollArea, EmbeddedSearchResultsScrollAreaViewport as ResultsScrollAreaViewport, EmbeddedSearchResultsScrollAreaScrollbar as ResultsScrollAreaScrollbar, EmbeddedSearchResultsScrollAreaThumb as ResultsScrollAreaThumb, EmbeddedSearchResultsScrollAreaCorner as ResultsScrollAreaCorner, EmbeddedSearchResultsList as ResultsList, EmbeddedSearchResultsItem as ResultsItem, EmbeddedSearchResultsItemBreadcrumbs as ResultsItemBreadcrumbs, EmbeddedSearchResultsItemBreadcrumbIcon as ResultsItemBreadcrumbIcon, EmbeddedSearchResultsItemIcon as ResultsItemIcon, EmbeddedSearchResultsItemTitle as ResultsItemTitle, EmbeddedSearchResultsItemTag as ResultsItemTag, EmbeddedSearchResultsItemDescription as ResultsItemDescription, EmbeddedSearchResultsItemDescriptionPart as ResultsItemDescriptionPart, EmbeddedSearchResultsItemIndicator as ResultsItemIndicator, EmbeddedSearchFooter as Footer, EmbeddedSearchTaglineContainer as TaglineContainer, EmbeddedSearchTaglineText as TaglineText, EmbeddedSearchTaglineLogo as TaglineLogo, EmbeddedSearchTaglineBrandName as TaglineBrandName, };
@@ -0,0 +1,58 @@
1
+ import { EmbeddedSearchPrimitive, PolymorphicProps } from '@inkeep/cxkit-primitives';
2
+ import { ComponentPropsWithRef, ForwardRefExoticComponent, DetailedHTMLProps, HTMLAttributes, RefAttributes } from 'react';
3
+ import { ScrollAreaCornerProps } from '@radix-ui/react-scroll-area';
4
+ declare const EmbeddedSearchProvider: (props: React.ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Provider>) => import("react/jsx-runtime").JSX.Element;
5
+ type EmbeddedSearchWrapperProps = ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Wrapper>;
6
+ declare const EmbeddedSearchWrapper: ({ className, ...props }: EmbeddedSearchWrapperProps) => import("react/jsx-runtime").JSX.Element;
7
+ declare const EmbeddedSearchRoot: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Root>) => import("react/jsx-runtime").JSX.Element;
8
+ declare const EmbeddedSearchContent: ForwardRefExoticComponent< PolymorphicProps & Omit<{
9
+ children?: React.ReactNode;
10
+ } & Pick<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<HTMLDivElement>> & {
11
+ ref?: React.Ref<HTMLDivElement>;
12
+ } & {
13
+ asChild?: boolean;
14
+ }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
15
+ label?: string;
16
+ } & RefAttributes<HTMLDivElement>, "_id"> & Partial<Pick<{
17
+ children?: React.ReactNode;
18
+ } & Pick<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<HTMLDivElement>> & {
19
+ ref?: React.Ref<HTMLDivElement>;
20
+ } & {
21
+ asChild?: boolean;
22
+ }, "key" | keyof HTMLAttributes<HTMLDivElement> | "asChild"> & {
23
+ label?: string;
24
+ } & RefAttributes<HTMLDivElement>, "_id">>>;
25
+ declare const EmbeddedSearchInputGroup: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.InputGroup>) => import("react/jsx-runtime").JSX.Element;
26
+ declare const EmbeddedSearchInputIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.InputIcon>) => import("react/jsx-runtime").JSX.Element;
27
+ declare const EmbeddedSearchInput: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Input>) => import("react/jsx-runtime").JSX.Element;
28
+ declare const EmbeddedSearchLoading: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Loading>) => import("react/jsx-runtime").JSX.Element;
29
+ declare const EmbeddedSearchAskAITrigger: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITrigger>) => import("react/jsx-runtime").JSX.Element;
30
+ declare const EmbeddedSearchAskAITriggerIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerIcon>) => import("react/jsx-runtime").JSX.Element;
31
+ declare const EmbeddedSearchAskAITriggerLabel: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerLabel>) => import("react/jsx-runtime").JSX.Element;
32
+ declare const EmbeddedSearchAskAITriggerIndicator: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.AskAITriggerIndicator>) => import("react/jsx-runtime").JSX.Element;
33
+ declare const EmbeddedSearchResults: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Results>) => import("react/jsx-runtime").JSX.Element;
34
+ declare const EmbeddedSearchResultsLoading: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsLoading>) => import("react/jsx-runtime").JSX.Element;
35
+ declare const EmbeddedSearchResultsEmpty: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsEmpty>) => import("react/jsx-runtime").JSX.Element;
36
+ declare const EmbeddedSearchResultsTabList: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsTabList>) => import("react/jsx-runtime").JSX.Element;
37
+ declare const EmbeddedSearchResultsTab: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsTab>) => import("react/jsx-runtime").JSX.Element;
38
+ declare const EmbeddedSearchResultsScrollArea: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsScrollArea>) => import("react/jsx-runtime").JSX.Element;
39
+ declare const EmbeddedSearchResultsScrollAreaViewport: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsScrollAreaViewport>) => import("react/jsx-runtime").JSX.Element;
40
+ declare const EmbeddedSearchResultsScrollAreaScrollbar: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsScrollAreaScrollbar>) => import("react/jsx-runtime").JSX.Element;
41
+ declare const EmbeddedSearchResultsScrollAreaThumb: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsScrollAreaThumb>) => import("react/jsx-runtime").JSX.Element;
42
+ declare const EmbeddedSearchResultsScrollAreaCorner: ForwardRefExoticComponent< PolymorphicProps & Omit< ScrollAreaCornerProps & RefAttributes<HTMLDivElement>, "_id"> & Partial<Pick< ScrollAreaCornerProps & RefAttributes<HTMLDivElement>, "_id">>>;
43
+ declare const EmbeddedSearchResultsList: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsList>) => import("react/jsx-runtime").JSX.Element;
44
+ declare const EmbeddedSearchResultsItem: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItem>) => import("react/jsx-runtime").JSX.Element;
45
+ declare const EmbeddedSearchResultsItemBreadcrumbs: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemBreadcrumbs>) => import("react/jsx-runtime").JSX.Element;
46
+ declare const EmbeddedSearchResultsItemBreadcrumbIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemBreadcrumbIcon>) => import("react/jsx-runtime").JSX.Element;
47
+ declare const EmbeddedSearchResultsItemIcon: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemIcon>) => import("react/jsx-runtime").JSX.Element;
48
+ declare const EmbeddedSearchResultsItemTitle: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemTitle>) => import("react/jsx-runtime").JSX.Element;
49
+ declare const EmbeddedSearchResultsItemTag: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemTag>) => import("react/jsx-runtime").JSX.Element;
50
+ declare const EmbeddedSearchResultsItemDescription: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemDescription>) => import("react/jsx-runtime").JSX.Element;
51
+ declare const EmbeddedSearchResultsItemDescriptionPart: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemDescriptionPart>) => import("react/jsx-runtime").JSX.Element;
52
+ declare const EmbeddedSearchResultsItemIndicator: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.ResultsItemIndicator>) => import("react/jsx-runtime").JSX.Element;
53
+ declare const EmbeddedSearchFooter: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Footer>) => import("react/jsx-runtime").JSX.Element;
54
+ declare const EmbeddedSearchTaglineContainer: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineContainer>) => import("react/jsx-runtime").JSX.Element;
55
+ declare const EmbeddedSearchTaglineText: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineText>) => import("react/jsx-runtime").JSX.Element;
56
+ declare const EmbeddedSearchTaglineLogo: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineLogo>) => import("react/jsx-runtime").JSX.Element;
57
+ declare const EmbeddedSearchTaglineBrandName: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineBrandName>) => import("react/jsx-runtime").JSX.Element;
58
+ export { EmbeddedSearchProvider as Provider, EmbeddedSearchWrapper as Wrapper, EmbeddedSearchRoot as Root, EmbeddedSearchContent as Content, EmbeddedSearchInputGroup as InputGroup, EmbeddedSearchInputIcon as InputIcon, EmbeddedSearchInput as Input, EmbeddedSearchLoading as Loading, EmbeddedSearchResults as Results, EmbeddedSearchResultsLoading as ResultsLoading, EmbeddedSearchAskAITrigger as AskAITrigger, EmbeddedSearchAskAITriggerIcon as AskAITriggerIcon, EmbeddedSearchAskAITriggerLabel as AskAITriggerLabel, EmbeddedSearchAskAITriggerIndicator as AskAITriggerIndicator, EmbeddedSearchResultsEmpty as ResultsEmpty, EmbeddedSearchResultsTabList as ResultsTabList, EmbeddedSearchResultsTab as ResultsTab, EmbeddedSearchResultsScrollArea as ResultsScrollArea, EmbeddedSearchResultsScrollAreaViewport as ResultsScrollAreaViewport, EmbeddedSearchResultsScrollAreaScrollbar as ResultsScrollAreaScrollbar, EmbeddedSearchResultsScrollAreaThumb as ResultsScrollAreaThumb, EmbeddedSearchResultsScrollAreaCorner as ResultsScrollAreaCorner, EmbeddedSearchResultsList as ResultsList, EmbeddedSearchResultsItem as ResultsItem, EmbeddedSearchResultsItemBreadcrumbs as ResultsItemBreadcrumbs, EmbeddedSearchResultsItemBreadcrumbIcon as ResultsItemBreadcrumbIcon, EmbeddedSearchResultsItemIcon as ResultsItemIcon, EmbeddedSearchResultsItemTitle as ResultsItemTitle, EmbeddedSearchResultsItemTag as ResultsItemTag, EmbeddedSearchResultsItemDescription as ResultsItemDescription, EmbeddedSearchResultsItemDescriptionPart as ResultsItemDescriptionPart, EmbeddedSearchResultsItemIndicator as ResultsItemIndicator, EmbeddedSearchFooter as Footer, EmbeddedSearchTaglineContainer as TaglineContainer, EmbeddedSearchTaglineText as TaglineText, EmbeddedSearchTaglineLogo as TaglineLogo, EmbeddedSearchTaglineBrandName as TaglineBrandName, };
@@ -0,0 +1,434 @@
1
+ "use client";
2
+ import { jsx as s } from "react/jsx-runtime";
3
+ import { EmbeddedSearchPrimitive as a } from "@inkeep/cxkit-primitives";
4
+ import { cn as r } from "../utils.js";
5
+ import { citation as l } from "../ui/recipes/citation.js";
6
+ import { link as o } from "../ui/recipes/link.js";
7
+ import { scrollable as d } from "../ui/recipes/scrollable.js";
8
+ import { ResultsLoading as n } from "./embedded-search/results-loading.js";
9
+ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, ...t }) => /* @__PURE__ */ s(
10
+ a.Wrapper,
11
+ {
12
+ className: r(
13
+ "data-[hidden]:hidden rounded-md flex",
14
+ "bg-white dark:bg-gray-dark-950",
15
+ e
16
+ ),
17
+ ...t
18
+ }
19
+ ), I = ({
20
+ className: e,
21
+ ...t
22
+ }) => /* @__PURE__ */ s(
23
+ a.Root,
24
+ {
25
+ className: r("data-[hidden]:hidden flex flex-col w-full", e),
26
+ ...t
27
+ }
28
+ ), f = a.Content, R = ({
29
+ className: e,
30
+ ...t
31
+ }) => /* @__PURE__ */ s(
32
+ a.InputGroup,
33
+ {
34
+ className: r("flex items-center w-full px-5 py-4 gap-3", e),
35
+ ...t
36
+ }
37
+ ), S = ({
38
+ className: e,
39
+ ...t
40
+ }) => /* @__PURE__ */ s(
41
+ a.InputIcon,
42
+ {
43
+ className: r("min-w-5 w-5 text-xl", "text-gray-500 dark:text-white-alpha-600", e),
44
+ ...t
45
+ }
46
+ ), k = ({
47
+ className: e,
48
+ ...t
49
+ }) => /* @__PURE__ */ s(
50
+ a.Input,
51
+ {
52
+ className: r(
53
+ "min-h-[38px] overflow-hidden w-full resize-none",
54
+ "py-2 max-h-[10vh] placeholder:text-gray-500",
55
+ "w-full dark:placeholder:text-gray-dark-200",
56
+ "border-none outline-none shadow-none bg-transparent",
57
+ e
58
+ ),
59
+ ...t
60
+ }
61
+ ), T = ({
62
+ className: e,
63
+ ...t
64
+ }) => /* @__PURE__ */ s(
65
+ a.Loading,
66
+ {
67
+ className: r("animate-spin text-gray-400 dark:text-white-alpha-500", e),
68
+ ...t
69
+ }
70
+ ), E = ({
71
+ className: e,
72
+ ...t
73
+ }) => /* @__PURE__ */ s(
74
+ a.AskAITrigger,
75
+ {
76
+ className: r(
77
+ l({ slot: "root" }),
78
+ "m-auto w-[calc(100%_-_theme(spacing.5))]",
79
+ "border-transparent dark:border-transparent",
80
+ "mb-3 py-0 h-11 cursor-pointer",
81
+ e
82
+ ),
83
+ ...t
84
+ }
85
+ ), y = ({
86
+ className: e,
87
+ ...t
88
+ }) => /* @__PURE__ */ s(
89
+ a.AskAITriggerIcon,
90
+ {
91
+ className: r(
92
+ "[grid-area:icon] h-5 w-5",
93
+ "[--start-color:theme(colors.inkeep-expanded-primary.300)]",
94
+ "[--end-color:theme(colors.inkeep-expanded-primary.700)]",
95
+ "dark:[--start-color:theme(colors.inkeep-expanded-primary.50)]",
96
+ "dark:[--end-color:theme(colors.inkeep-expanded-primary.300)]",
97
+ e
98
+ ),
99
+ ...t
100
+ }
101
+ ), A = ({
102
+ className: e,
103
+ ...t
104
+ }) => /* @__PURE__ */ s(
105
+ a.AskAITriggerLabel,
106
+ {
107
+ className: r(l({ slot: "title" }), "font-normal", e),
108
+ ...t
109
+ }
110
+ ), w = ({
111
+ className: e,
112
+ ...t
113
+ }) => /* @__PURE__ */ s(
114
+ a.AskAITriggerIndicator,
115
+ {
116
+ className: r(l({ slot: "indicator" }), e),
117
+ ...t
118
+ }
119
+ ), N = ({
120
+ className: e,
121
+ ...t
122
+ }) => /* @__PURE__ */ s(
123
+ a.Results,
124
+ {
125
+ className: r(
126
+ d({ section: "content" }),
127
+ "h-0 max-h-full",
128
+ "data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]",
129
+ "transition-all duration-300 ease-in-out",
130
+ e
131
+ ),
132
+ ...t
133
+ }
134
+ ), v = ({
135
+ className: e,
136
+ ...t
137
+ }) => /* @__PURE__ */ s(
138
+ a.ResultsLoading,
139
+ {
140
+ className: r("group mb-1 relative transition-all w-full h-full", e),
141
+ children: /* @__PURE__ */ s(n, {}),
142
+ ...t
143
+ }
144
+ ), L = ({
145
+ className: e,
146
+ ...t
147
+ }) => /* @__PURE__ */ s(
148
+ a.ResultsEmpty,
149
+ {
150
+ className: r(
151
+ "flex w-full h-full",
152
+ "overflow-hidden relative grow-[2]",
153
+ "items-center justify-center text-gray-600",
154
+ "dark:text-gray-dark-400 mt-8",
155
+ e
156
+ ),
157
+ ...t
158
+ }
159
+ ), B = ({
160
+ className: e,
161
+ ...t
162
+ }) => /* @__PURE__ */ s(
163
+ a.ResultsTabList,
164
+ {
165
+ className: r(
166
+ "shrink-0 max-w-full",
167
+ "flex gap-3 px-5 py-1",
168
+ "overflow-x-auto [scrollbar-width:thin]",
169
+ e
170
+ ),
171
+ ...t
172
+ }
173
+ ), C = ({
174
+ className: e,
175
+ ...t
176
+ }) => /* @__PURE__ */ s(
177
+ a.ResultsTab,
178
+ {
179
+ className: r(
180
+ "px-3 text-1sm font-medium rounded-full",
181
+ "py-1 transition-all duration-200 leading-snug",
182
+ "border border-gray-300 dark:border-gray-dark-500",
183
+ "hover:bg-gray-50 dark:hover:bg-white-alpha-50",
184
+ "data-[state=active]:bg-inkeep-primary-light-subtle",
185
+ "hover:data-[state=active]:bg-inkeep-primary-light-subtle",
186
+ "data-[state=active]:text-inkeep-expanded-primary-900",
187
+ "data-[state=active]:border-inkeep-primary-medium-subtle",
188
+ "dark:data-[state=active]:bg-white-alpha-100",
189
+ "dark:hover:data-[state=active]:bg-white-alpha-100",
190
+ "dark:data-[state=active]:text-inkeep-expanded-primary-300",
191
+ "dark:data-[state=active]:border-inkeep-expanded-primary-300",
192
+ e
193
+ ),
194
+ ...t
195
+ }
196
+ ), P = ({
197
+ className: e,
198
+ ...t
199
+ }) => /* @__PURE__ */ s(
200
+ a.ResultsScrollArea,
201
+ {
202
+ className: r(
203
+ "overflow-hidden h-full",
204
+ // Fade shadows
205
+ 'befter:content-[""] befter:absolute befter:inset-x-0',
206
+ "befter:h-10 befter:pointer-events-none",
207
+ "befter:transition-opacity befter:duration-300",
208
+ "befter:ease-in-out befter:from-white",
209
+ "befter:dark:from-gray-dark-950 befter:to-transparent",
210
+ "before:top-0 after:bottom-0",
211
+ "before:bg-gradient-to-b after:bg-gradient-to-t",
212
+ "has-[[data-scroll-top]]:before:opacity-0",
213
+ "has-[[data-scroll-bottom]]:after:opacity-0",
214
+ e
215
+ ),
216
+ ...t
217
+ }
218
+ ), _ = ({
219
+ className: e,
220
+ ...t
221
+ }) => /* @__PURE__ */ s(
222
+ a.ResultsScrollAreaViewport,
223
+ {
224
+ className: r("h-full w-full rounded-[inherit]", e),
225
+ ...t
226
+ }
227
+ ), D = ({
228
+ className: e,
229
+ ...t
230
+ }) => /* @__PURE__ */ s(
231
+ a.ResultsScrollAreaScrollbar,
232
+ {
233
+ className: r(
234
+ "flex select-none touch-none p-0.5",
235
+ "transition-colors duration-[160ms] ease-in-out",
236
+ "w-2.5 border-l border-l-transparent",
237
+ e
238
+ ),
239
+ ...t
240
+ }
241
+ ), j = ({
242
+ className: e,
243
+ ...t
244
+ }) => /* @__PURE__ */ s(
245
+ a.ResultsScrollAreaThumb,
246
+ {
247
+ className: r("relative flex-1 rounded-full", "bg-gray-300 dark:bg-white-alpha-200", e),
248
+ ...t
249
+ }
250
+ ), F = a.ResultsScrollAreaCorner, G = ({
251
+ className: e,
252
+ ...t
253
+ }) => /* @__PURE__ */ s(
254
+ a.ResultsList,
255
+ {
256
+ className: r(
257
+ "w-full flex flex-col",
258
+ "items-center gap-2.5 h-full shrink-0",
259
+ "px-5 py-1 content-center -my-[1px]",
260
+ e
261
+ ),
262
+ ...t
263
+ }
264
+ ), V = ({
265
+ className: e,
266
+ ...t
267
+ }) => /* @__PURE__ */ s(
268
+ a.ResultsItem,
269
+ {
270
+ className: r(l({ slot: "root" }), e),
271
+ ...t
272
+ }
273
+ ), W = ({
274
+ className: e,
275
+ ...t
276
+ }) => /* @__PURE__ */ s(
277
+ a.ResultsItemBreadcrumbs,
278
+ {
279
+ className: r(l({ slot: "breadcrumbs" }), e),
280
+ ...t
281
+ }
282
+ ), z = ({
283
+ className: e,
284
+ ...t
285
+ }) => /* @__PURE__ */ s(
286
+ a.ResultsItemBreadcrumbIcon,
287
+ {
288
+ className: r(l({ slot: "breadcrumbsIcon" }), e),
289
+ ...t
290
+ }
291
+ ), q = ({
292
+ className: e,
293
+ ...t
294
+ }) => /* @__PURE__ */ s(
295
+ a.ResultsItemIcon,
296
+ {
297
+ className: r(l({ slot: "icon" }), e),
298
+ ...t
299
+ }
300
+ ), H = ({
301
+ className: e,
302
+ ...t
303
+ }) => /* @__PURE__ */ s(
304
+ a.ResultsItemTitle,
305
+ {
306
+ className: r(l({ slot: "title" }), e),
307
+ ...t
308
+ }
309
+ ), J = ({
310
+ className: e,
311
+ ...t
312
+ }) => /* @__PURE__ */ s(
313
+ a.ResultsItemTag,
314
+ {
315
+ className: r(l({ slot: "tag" }), e),
316
+ ...t
317
+ }
318
+ ), K = ({
319
+ className: e,
320
+ ...t
321
+ }) => /* @__PURE__ */ s(
322
+ a.ResultsItemDescription,
323
+ {
324
+ className: r(l({ slot: "description" }), e),
325
+ ...t
326
+ }
327
+ ), M = ({
328
+ className: e,
329
+ ...t
330
+ }) => /* @__PURE__ */ s(
331
+ a.ResultsItemDescriptionPart,
332
+ {
333
+ className: r(l({ slot: "descriptionPart" }), e),
334
+ ...t
335
+ }
336
+ ), O = ({
337
+ className: e,
338
+ ...t
339
+ }) => /* @__PURE__ */ s(
340
+ a.ResultsItemIndicator,
341
+ {
342
+ className: r(l({ slot: "indicator" }), e),
343
+ ...t
344
+ }
345
+ ), Q = ({
346
+ className: e,
347
+ ...t
348
+ }) => /* @__PURE__ */ s(
349
+ a.Footer,
350
+ {
351
+ className: r("justify-self-end pt-1 pb-3 px-5", "hidden data-[has-results]:flex", e),
352
+ ...t
353
+ }
354
+ ), U = ({
355
+ className: e,
356
+ ...t
357
+ }) => /* @__PURE__ */ s(
358
+ a.TaglineContainer,
359
+ {
360
+ className: r("flex items-center whitespace-nowrap", e),
361
+ ...t
362
+ }
363
+ ), X = ({
364
+ className: e,
365
+ ...t
366
+ }) => /* @__PURE__ */ s(
367
+ a.TaglineText,
368
+ {
369
+ className: r("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600", e),
370
+ ...t
371
+ }
372
+ ), Y = ({
373
+ className: e,
374
+ ...t
375
+ }) => /* @__PURE__ */ s(
376
+ a.TaglineLogo,
377
+ {
378
+ className: r("text-gray-400 dark:text-white-alpha-500", "w-[18px] ml-2 mr-1", e),
379
+ ...t
380
+ }
381
+ ), Z = ({
382
+ className: e,
383
+ ...t
384
+ }) => /* @__PURE__ */ s(
385
+ a.TaglineBrandName,
386
+ {
387
+ className: r(
388
+ o(),
389
+ "inline-flex text-xs md:text-sm text-gray-500",
390
+ "dark:text-white-alpha-600 font-bold",
391
+ e
392
+ ),
393
+ ...t
394
+ }
395
+ );
396
+ export {
397
+ E as AskAITrigger,
398
+ y as AskAITriggerIcon,
399
+ w as AskAITriggerIndicator,
400
+ A as AskAITriggerLabel,
401
+ f as Content,
402
+ Q as Footer,
403
+ k as Input,
404
+ R as InputGroup,
405
+ S as InputIcon,
406
+ T as Loading,
407
+ g as Provider,
408
+ N as Results,
409
+ L as ResultsEmpty,
410
+ V as ResultsItem,
411
+ z as ResultsItemBreadcrumbIcon,
412
+ W as ResultsItemBreadcrumbs,
413
+ K as ResultsItemDescription,
414
+ M as ResultsItemDescriptionPart,
415
+ q as ResultsItemIcon,
416
+ O as ResultsItemIndicator,
417
+ J as ResultsItemTag,
418
+ H as ResultsItemTitle,
419
+ G as ResultsList,
420
+ v as ResultsLoading,
421
+ P as ResultsScrollArea,
422
+ F as ResultsScrollAreaCorner,
423
+ D as ResultsScrollAreaScrollbar,
424
+ j as ResultsScrollAreaThumb,
425
+ _ as ResultsScrollAreaViewport,
426
+ C as ResultsTab,
427
+ B as ResultsTabList,
428
+ I as Root,
429
+ Z as TaglineBrandName,
430
+ U as TaglineContainer,
431
+ Y as TaglineLogo,
432
+ X as TaglineText,
433
+ x as Wrapper
434
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./embedded-chat.cjs"),r=require("./embedded-search.cjs"),t=require("./modal.cjs"),o=require("./chat-button.cjs"),d=require("./searchbar.cjs"),a=require("./intelligent-form.cjs"),n=require("./shadow.cjs"),i=require("./loading-indicator.cjs");exports.EmbeddedChat=e;exports.EmbeddedSearch=r;exports.Modal=t;exports.ChatButton=o;exports.SearchBar=d;exports.IntelligentForm=a;exports.Shadow=n.Shadow;exports.LoadingIndicator=i.LoadingIndicator;
@@ -0,0 +1,8 @@
1
+ export * as EmbeddedChat from './embedded-chat';
2
+ export * as EmbeddedSearch from './embedded-search';
3
+ export * as Modal from './modal';
4
+ export * as ChatButton from './chat-button';
5
+ export * as SearchBar from './searchbar';
6
+ export * as IntelligentForm from './intelligent-form';
7
+ export * from './shadow';
8
+ export * from './loading-indicator';
@@ -0,0 +1,8 @@
1
+ export * as EmbeddedChat from './embedded-chat';
2
+ export * as EmbeddedSearch from './embedded-search';
3
+ export * as Modal from './modal';
4
+ export * as ChatButton from './chat-button';
5
+ export * as SearchBar from './searchbar';
6
+ export * as IntelligentForm from './intelligent-form';
7
+ export * from './shadow';
8
+ export * from './loading-indicator';
@@ -0,0 +1,18 @@
1
+ import * as o from "./embedded-chat.js";
2
+ import * as r from "./embedded-search.js";
3
+ import * as a from "./modal.js";
4
+ import * as t from "./chat-button.js";
5
+ import * as e from "./searchbar.js";
6
+ import * as m from "./intelligent-form.js";
7
+ import { Shadow as s } from "./shadow.js";
8
+ import { LoadingIndicator as h } from "./loading-indicator.js";
9
+ export {
10
+ t as ChatButton,
11
+ o as EmbeddedChat,
12
+ r as EmbeddedSearch,
13
+ m as IntelligentForm,
14
+ h as LoadingIndicator,
15
+ a as Modal,
16
+ e as SearchBar,
17
+ s as Shadow
18
+ };