@inkeep/cxkit-styled 0.5.2 → 0.5.4
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),a=require("@inkeep/cxkit-primitives"),A=require("../ui/recipes/ai-chat-page-wrapper.cjs"),n=require("../ui/recipes/attachment.cjs"),o=require("../ui/recipes/button.cjs"),x=require("../ui/recipes/checkbox.cjs"),m=require("../ui/recipes/citation.cjs"),w=require("../ui/recipes/icon.cjs"),l=require("../ui/recipes/input.cjs"),P=require("../ui/recipes/link.cjs"),r=require("../ui/recipes/modal.cjs"),p=require("../ui/recipes/popover.cjs"),C=require("../ui/recipes/scrollable.cjs"),h=require("../ui/recipes/select.cjs"),M=require("class-variance-authority"),j=require("merge-anything"),c=require("react"),s=require("../utils.cjs"),y=require("../ui/markdown-styles.cjs"),N=require("./loading-indicator.cjs"),I=require("./embedded-chat/conversation-loading.cjs"),B=a.EmbeddedChatPrimitive.Provider,S=c.forwardRef(({className:e,size:t,variant:i,...u},b)=>d.jsx(a.EmbeddedChatPrimitive.Wrapper,{ref:b,className:s.cn(A.aiChatPageWrapper({size:t,variant:i}),"data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950","data-[composite]:w-full","max-h-[min(85vh,850px)]",e),...u})),T=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ConversationLoading,{className:s.cn("flex flex-col items-center justify-center h-full gap-12 flex-1 p-8",e),children:d.jsx(I.ConversationLoading,{}),...t}),H=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Root,{className:s.cn(C.scrollable({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),L=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Header,{className:s.cn(C.scrollable({section:"header"}),"flex items-center","bg-white dark:bg-gray-dark-950","data-[show-toolbar]:after:absolute","data-[show-toolbar]:after:left-0","data-[show-toolbar]:after:top-full","data-[show-toolbar]:after:h-[1rem]","data-[show-toolbar]:after:w-full","data-[show-toolbar]:after:text-white","data-[show-toolbar]:after:dark:text-gray-dark-950","data-[show-toolbar]:after:bg-[linear-gradient(currentColor,_transparent)]","data-[show-toolbar]:after:z-start",e),...t}),D=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HeaderToolbar,{className:s.cn("flex items-center gap-2 w-full pl-6 pr-1","ikp-md:px-4 py-2 justify-between *:m-0",e),...t}),W=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HeaderToolbarWrapper,{className:s.cn("flex items-center gap-1.5",e),...t}),Q=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ToolbarHeader,{className:s.cn("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Content,{className:s.cn(C.scrollable({section:"content"}),"justify-end",e),...t}),q=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollArea,{className:s.cn("overflow-hidden",e),...t}),_=c.forwardRef(({className:e,...t},i)=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaViewport,{ref:i,className:s.cn("h-full w-full rounded-[inherit]",e),...t})),O=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaScrollbar,{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}),R=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaThumb,{className:s.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),V=a.EmbeddedChatPrimitive.ContentScrollAreaCorner,G=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Disclaimer,{className:s.cn("ml-auto text-sm flex items-center gap-1",e),...t}),K=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerLabel,{className:s.cn("text-gray-700 dark:text-gray-dark-100",e),...t}),X=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerTrigger,{className:s.cn("cursor-pointer text-gray-700 dark:text-gray-dark-100",e),...t}),$=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerContent,{className:s.cn(p.popover({slot:"content"}),"px-4 py-2 font-normal","w-[250px] sm:w-[420px]",e),...t}),J=a.EmbeddedChatPrimitive.DisclaimerText,U=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerArrow,{className:s.cn(p.popover({slot:"arrow"}),e),...t}),Y=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.QuickQuestions,{className:s.cn("mt-4 flex flex-col gap-2",e),...t}),Z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.QuickQuestionsLabel,{className:s.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.QuickQuestionsList,{className:s.cn("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),te=c.forwardRef(({className:e,style:t,...i},u)=>{const b=c.useRef(null),v=a.composeRefs(u,b),{width:f=0,height:F=0}=a.useResizeObserver({ref:b,box:"border-box"}),k=Math.max(F,f);return d.jsx(a.EmbeddedChatPrimitive.QuickQuestion,{ref:v,style:{"--before-size":`${k+100}px`,...t},className:s.cn("flex items-center justify-center relative z-base","min-h-9 rounded-md overflow-hidden","before:absolute before:z-hide","before:bg-gray-300 dark:before:bg-gray-dark-950","before:bg-no-repeat before:[background-position:0_0]","before:[background-size:cover] before:m-auto","before:w-[--before-size] before:h-[--before-size]","data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.600),transparent_30%)]","dark:data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.300),transparent_30%)]","data-[highlight]:first:before:animate-[spin_4s_linear_infinite]","after:absolute after:z-base after:top-[1px] after:left-[1px]","after:w-[calc(100%-2px)] after:h-[calc(100%-2px)]","after:rounded-[5px] after:bg-white dark:after:bg-gray-dark-950",e),...i})}),ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.QuickQuestionButton,{className:s.cn(o.button({size:"sm"}),"text-sm font-normal h-auto w-full py-2 z-start","whitespace-normal text-center leading-[unset]","border border-solid","text-gray-800 dark:text-white-alpha-950","border-white-alpha-200","[&:where(:hover,:focus)]:bg-slate-400/5","dark:[&:where(:hover,:focus)]:bg-white-alpha-100 focus:z-start",e),...t}),de=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Workflows,{className:s.cn("mt-4 flex flex-col gap-2",e),...t}),se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.WorkflowsLabel,{className:s.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.WorkflowsList,{className:s.cn("flex flex-wrap gap-2",e),...t}),oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Workflow,{className:s.cn(o.button({size:"sm"}),"min-h-9 px-3 py-2 h-auto font-medium","text-sm gap-2 whitespace-normal border ","text-inkeep-primary-strong dark:text-inkeep-expanded-primary-300","border-inkeep-expanded-primary-200","dark:border-inkeep-expanded-primary-200","hover:bg-inkeep-primary-light-subtle","dark:hover:bg-white-alpha-100",e),...t}),ie=a.EmbeddedChatPrimitive.WorkflowIcon,me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Messages,{className:s.cn("flex flex-col w-full min-w-0 min-h-0 text-2sm relative",e),...t}),E=M.cva(["flex relative w-full overflow-hidden py-8","px-6 ikp-md:px-8","flex-col ikp-md:flex-row","min-w-0 grow-[2] data-[role=user]:grow-0","[&:not(:last-child)]:after:absolute","[&:not(:last-child)]:after:border-b","[&:not(:last-child)]:after:bottom-0","[&:not(:last-child)]:after:inset-x-6","ikp-md:[&:not(:last-child)]:after:inset-x-8"]),ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageWrapper,{className:s.cn(E(),e),...t}),ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.IntroMessageWrapper,{className:s.cn(E(),e),...t}),le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageHeader,{className:s.cn("flex justify-start overflow-hidden shrink-0 select-none","flex-row ikp-md:flex-col","items-center ikp-md:items-start","ikp-md:pl-3","ikp-md:pr-6","mb-6 ikp-md:mb-0",e),...t}),he=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageLoading,{className:s.cn("flex items-center gap-3 h-12 w-full",e),children:d.jsx(N.LoadingIndicator,{}),...t}),be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatar,{className:s.cn("flex items-center justify-center rounded-full","h-auto ikp-md:h-12",e),...t}),xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatarContent,{className:s.cn("relative flex h-8 w-8 shrink-0 overflow-hidden","data-[username]:bg-inkeep-primary-lighter","dark:data-[username]:bg-inkeep-expanded-primary-300","text-inkeep-primary-stronger font-semibold ","data-[role=user]:hidden ikp-md:flex","justify-center items-center",e),...t}),pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatarFallback,{className:s.cn("hidden data-[role=user]:block",e),...t}),Ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatarImage,{className:s.cn("data-[type=icon]:data-[role=user]:text-inkeep-primary-medium","dark:data-[type=icon]:data-[role=user]:text-inkeep-expanded-primary-300","data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.300)]","data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageName,{className:s.cn("px-3 py-1 ml-4 data-[role=user]:ml-0","text-sm rounded-full","bg-inkeep-primary-lighter data-[role=user]:bg-gray-50","text-inkeep-primary-stronger dark:text-inkeep-expanded-primary-300","data-[role=user]:text-gray-700 dark:data-[role=user]:text-white-alpha-700","dark:bg-gray-dark-700","ikp-md:hidden",e),...t}),ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageContentWrapper,{className:s.cn("overflow-hidden flex flex-col","justify-start grow-2 w-full","data-[role=user]:justify-end","data-[role=user]:shrink-2","data-[role=user]:grow-0","ikp-md:pr-3",e),...t}),Ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageContent,{className:s.cn("text-2sm flex-wrap break-words min-w-0 shrink-1 max-w-full",e),...t}),ve=a.EmbeddedChatPrimitive.MessageAttachments,fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsList,{className:s.cn("flex flex-wrap gap-2",e),...t}),Fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItem,{className:s.cn(o.button({variant:"ghost"}),n.attachment({slot:"root"}),"font-normal px-2",e),...t}),ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItemIcon,{className:s.cn(n.attachment({slot:"icon"}),e),...t}),Ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItemTitle,{className:s.cn(n.attachment({slot:"title"}),e),...t}),we=a.EmbeddedChatPrimitive.MessageAttachmentsPreview,Pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewOverlay,{className:s.cn(r.modal({slot:"overlay"}),e),...t}),Me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewContent,{className:s.cn(r.modal({slot:"content"}),"top-[5%] translate-y-0 p-8 md:p-10 max-w-2xl",e),...t}),je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewHeader,{className:s.cn(r.modal({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewClose,{className:s.cn(r.modal({slot:"close"}),e),...t}),Ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewBody,{className:s.cn(r.modal({slot:"body"}),"p-0",e),...t}),Ie=({className:e,componentStyles:t,...i})=>d.jsx(a.EmbeddedChatPrimitive.Message,{className:s.cn("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",e),componentStyles:j.merge(y.markdownStyles,t??{}),...i}),Be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageActions,{className:s.cn("flex items-center mt-2 mb-3",e),...t}),Se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageToolActions,{className:s.cn("mr-auto flex items-center gap-2",e),...t}),Te=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageToolAction,{className:s.cn(o.button({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),He=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAction,{className:s.cn(o.button({variant:"iconButton",size:"sm"}),"data-[upvoted]:text-inkeep-primary-medium","data-[downvoted]:text-inkeep-primary-medium","data-[upvoted]:dark:text-inkeep-expanded-primary-300","data-[downvoted]:dark:text-inkeep-expanded-primary-300","dark:hover:text-inkeep-expanded-primary-300 px-2 text-md",e),...t}),Le=a.EmbeddedChatPrimitive.MessageSources,De=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourcesHeader,{className:s.cn("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),We=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourcesList,{className:s.cn("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),Qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItem,{className:s.cn(m.citation({slot:"root"}),e),...t}),ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemBreadcrumbs,{className:s.cn(m.citation({slot:"breadcrumbs"}),e),...t}),qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemBreadcrumbIcon,{className:s.cn(m.citation({slot:"breadcrumbsIcon"}),e),...t}),_e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemIcon,{className:s.cn(m.citation({slot:"icon"}),e),...t}),Oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemTitle,{className:s.cn(m.citation({slot:"title"}),e),...t}),Re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemTag,{className:s.cn(m.citation({slot:"tag"}),e),...t}),Ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemDescription,{className:s.cn(m.citation({slot:"description"}),e),...t}),Ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemDescriptionPart,{className:s.cn(m.citation({slot:"descriptionPart"}),e),...t}),Ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemIndicator,{className:s.cn(m.citation({slot:"indicator"}),e),...t}),Xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Footer,{className:s.cn("bg-white dark:bg-gray-dark-950 pt-6 pb-4","px-6 ikp-md:px-8 relative","before:absolute before:block before:top-0 before:left-0","before:pointer-events-none before:w-full before:h-3","before:bg-gradient-to-b before:from-transparent before:to-white","dark:before:to-gray-dark-950 before:-translate-y-full",e),...t}),$e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.InputFieldset,{className:s.cn("relative flex flex-col w-full p-2","rounded-lg items-stretch shadow-md dark:shadow-none","bg-gray-50 dark:bg-white-alpha-50",e),...t}),Je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.InputGroup,{className:s.cn("flex",e),...t}),Ue=c.forwardRef(({className:e,...t},i)=>d.jsx(a.EmbeddedChatPrimitive.Input,{ref:i,className:s.cn("min-h-[unset] overflow-hidden w-full resize-none","placeholder:text-gray-500 dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent","px-3 py-2 ml-1 mr-2 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",e),...t})),Ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.SendButton,{className:s.cn(o.button({}),"bg-transparent relative size-10 rounded-lg transition-all ease-linear","text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500","active:bg-gray-300 dark:active:bg-white-alpha-100","hover:bg-gray-200 hover:text-inkeep-primary-strong","dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300","disabled:text-gray-500 dark:disabled:text-white-alpha-200","disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",e),...t}),Ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.SendButtonIcon,{className:s.cn(w.icon(),"text-inherit rotate-[-30deg]",e),...t}),et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBar,{className:s.cn("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarList,{className:s.cn("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),at=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachment,{className:s.cn(n.attachment({slot:"root"}),e),...t}),dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentIcon,{className:s.cn(n.attachment({slot:"icon"}),e),...t}),st=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentTitle,{className:s.cn(n.attachment({slot:"title"}),e),...t}),rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentDelete,{className:s.cn(n.attachment({slot:"delete"}),e),...t}),ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarActions,{className:s.cn("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),it=a.EmbeddedChatPrimitive.AttachmentsBarInfoTip,mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInfoTipIcon,{className:s.cn("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInfoTipText,{className:s.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-950 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)] z-dropdown","px-3 py-2 rounded-md text-sm font-normal max-w-[200px]",e),...t}),ct=a.EmbeddedChatPrimitive.AttachmentsBarInfoTipArrow,lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInputs,{className:s.cn("contents",e),...t}),ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInput,{className:s.cn(o.button({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),bt=a.EmbeddedChatPrimitive.AttachmentsBarInputIcon,xt=a.EmbeddedChatPrimitive.AttachmentsBarModal,pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalOverlay,{className:s.cn(r.modal({slot:"overlay"}),e),...t}),Ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalContent,{className:s.cn(r.modal({slot:"content"}),"top-[5%] translate-y-0","p-8 md:p-10 max-w-2xl",e),...t}),ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalHeader,{className:s.cn(r.modal({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalHeading,{className:s.cn("w-full semibold",e),...t}),Et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalDescription,{className:s.cn("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),vt=a.EmbeddedChatPrimitive.AttachmentsBarModalHelp,ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalClose,{className:s.cn(r.modal({slot:"close"}),e),...t}),Ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalBody,{className:s.cn(r.modal({slot:"body"}),"p-0",e),...t}),kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarForm,{className:s.cn("flex flex-col gap-8",e),...t}),At=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitle,{className:s.cn("flex flex-col gap-2",e),...t}),wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitleLabel,{className:s.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitleInput,{className:s.cn("h-10 px-4 rounded-md border","focus:outline-none focus:[--shadow-color:theme(colors.blue.500)]","data-[invalid]:[--shadow-color:theme(colors.red.500)]","shadow-[0_0_0_2px_var(--shadow-color)]",e),...t}),Mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitleError,{className:s.cn("text-sm text-red-500",e),...t}),jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContent,{className:s.cn("flex flex-col gap-2",e),...t}),yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContentLabel,{className:s.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContentInput,{className:s.cn(l.input({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),It=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContentError,{className:s.cn("text-sm text-red-500",e),...t}),Bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormSubmitButton,{className:s.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),St=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ActionBar,{className:s.cn("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Actions,{className:s.cn("flex items-center gap-2.5 flex-wrap",e),...t}),Ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineContainer,{className:s.cn("flex items-center whitespace-nowrap",e),...t}),Lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineText,{className:s.cn("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineLogo,{className:s.cn("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),Wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineBrandName,{className:s.cn(P.link(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),g=s.cn(o.button({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),Qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatAction,{className:s.cn(g,e),...t}),zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatActionLabel,{className:s.cn("cursor-pointer",e),...t}),qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatActionFeedback,{className:s.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-900 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)]","px-2 py-3 rounded-md text-sm font-normal",e),...t}),_t=a.EmbeddedChatPrimitive.HelpActions,Ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatHelpAction,{className:s.cn(g,e),...t}),Rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsTrigger,{className:s.cn(g,e),...t}),Vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenu,{className:s.cn(p.popover({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),Gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuArrow,{className:s.cn(p.popover({slot:"arrow"}),e),...t}),Kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuItem,{className:s.cn("flex items-center cursor-pointer hover:underline",e),...t}),Xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuItemIcon,{className:s.cn("mr-2 text-inkeep-primary-medium",e),...t}),$t=a.EmbeddedChatPrimitive.FeedbackModal,Jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalOverlay,{className:s.cn(r.modal({slot:"overlay"}),e),...t}),Ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalContent,{className:s.cn(r.modal({slot:"content"}),"p-8 md:p-10 max-w-[480px] top-[5%] translate-y-0",e),...t}),Yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalHeader,{className:s.cn(r.modal({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),Zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalClose,{className:s.cn(r.modal({slot:"close"}),e),...t}),ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalBody,{className:s.cn(r.modal({slot:"body"}),"p-0",e),...t}),ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackForm,{className:s.cn("flex flex-col gap-8",e),...t}),aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItem,{className:s.cn("flex flex-wrap items-center","gap-[1rem_0.5rem]",e),...t}),da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemCheckbox,{className:s.cn(x.checkbox({slot:"root"}),e),...t}),sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemCheckboxIndicator,{className:s.cn(x.checkbox({slot:"indicator"}),e),...t}),ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemLabel,{className:s.cn("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),oa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemDescription,{className:s.cn("flex-[0_0_100%]","min-h-20 py-2 border rounded-md","px-4",e),...t}),ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackSubmitButton,{className:s.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormWrapper,{className:s.cn("w-full overflow-y-auto",e),...t}),na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Form,{className:s.cn(C.scrollable({section:"content"}),"relative pt-4 pb-8 gap-8","items-start justify-center w-full","px-6 ikp-md:px-14 ikp-md:pb-14",e),...t}),ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormClose,{className:s.cn(o.button({variant:"ghost"}),"absolute right-1 top-1","text-xl text-gray-500 dark:text-white-alpha-500 w-10 h-10 z-modal",e),...t}),la=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormHeader,{className:s.cn("mt-12 flex flex-col gap-6",e),...t}),ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormHeading,{className:s.cn("font-semibold text-xl leading-5",e),...t}),ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormDescription,{className:s.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),xa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormContent,{className:s.cn("w-full",e),...t}),pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormField,{className:s.cn("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=CHECKBOX]:flex-row data-[input-type=CHECKBOX]:items-center",e),...t}),Ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldLabel,{className:s.cn("font-medium text-sm text-gray-700","dark:text-white-alpha-700 ","font-medium relative","data-[required]:after:absolute",'data-[required]:after:[content:"*"]',"data-[required]:after:ml-1","data-[required]:after:mt-0","data-[required]:after:text-red-500","dark:data-[required]:after:text-red-300",e),...t}),ua=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldText,{className:s.cn(l.input({size:"md",variant:"outline"}),e),...t}),ga=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldEmail,{className:s.cn(l.input({size:"md",variant:"outline"}),e),...t}),Ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldFile,{className:s.cn(l.input({size:"md",variant:"outline"}),"text-sm pl-2 file:h-full file:cursor-pointer py-0","file:bg-transparent file:border-none file:font-medium","file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",e),...t}),va=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldTextArea,{className:s.cn(l.input({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldCheckbox,{className:s.cn(x.checkbox({slot:"root"}),e),...t}),Fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldCheckboxIndicator,{className:s.cn(x.checkbox({slot:"indicator"}),e),...t}),ka=a.EmbeddedChatPrimitive.FormFieldSelect,Aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectTrigger,{className:s.cn(h.select({slot:"trigger"}),e),...t}),wa=a.EmbeddedChatPrimitive.FormFieldSelectValue,Pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectIcon,{className:s.cn("h-4 w-4 opacity-45",e),...t}),Ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectContent,{className:s.cn(h.select({slot:"content"}),e),...t}),ja=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectViewport,{className:s.cn(h.select({slot:"viewport"}),e),...t}),ya=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectItem,{className:s.cn(h.select({slot:"item"}),e),...t}),Na=a.EmbeddedChatPrimitive.FormFieldSelectItemText,Ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectItemIndicator,{className:s.cn(h.select({slot:"itemIndicator"}),e),...t}),Ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldError,{className:s.cn("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),Sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormError,{className:s.cn("text-red-500 dark:text-red-300",e),...t}),Ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFooter,{className:s.cn("flex items-center justify-end gap-6 w-full",e),...t}),Ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormCancel,{className:s.cn(o.button({variant:"outline"}),e),...t}),La=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSubmit,{className:s.cn(o.button({preset:"neutralFilled"}),e),...t}),Da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccess,{className:s.cn("flex flex-col items-center justify-center h-auto","m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-14",e),...t}),Wa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccessHeading,{className:s.cn("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),Qa=a.EmbeddedChatPrimitive.FormSuccessMessage,za=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccessButton,{className:s.cn(o.button({preset:"neutralFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});exports.ActionBar=St;exports.Actions=Tt;exports.AttachmentsBar=et;exports.AttachmentsBarActions=ot;exports.AttachmentsBarAttachment=at;exports.AttachmentsBarAttachmentDelete=rt;exports.AttachmentsBarAttachmentIcon=dt;exports.AttachmentsBarAttachmentTitle=st;exports.AttachmentsBarForm=kt;exports.AttachmentsBarFormContent=jt;exports.AttachmentsBarFormContentError=It;exports.AttachmentsBarFormContentInput=Nt;exports.AttachmentsBarFormContentLabel=yt;exports.AttachmentsBarFormSubmitButton=Bt;exports.AttachmentsBarFormTitle=At;exports.AttachmentsBarFormTitleError=Mt;exports.AttachmentsBarFormTitleInput=Pt;exports.AttachmentsBarFormTitleLabel=wt;exports.AttachmentsBarInfoTip=it;exports.AttachmentsBarInfoTipArrow=ct;exports.AttachmentsBarInfoTipIcon=mt;exports.AttachmentsBarInfoTipText=nt;exports.AttachmentsBarInput=ht;exports.AttachmentsBarInputIcon=bt;exports.AttachmentsBarInputs=lt;exports.AttachmentsBarList=tt;exports.AttachmentsBarModal=xt;exports.AttachmentsBarModalBody=Ft;exports.AttachmentsBarModalClose=ft;exports.AttachmentsBarModalContent=Ct;exports.AttachmentsBarModalDescription=Et;exports.AttachmentsBarModalHeader=ut;exports.AttachmentsBarModalHeading=gt;exports.AttachmentsBarModalHelp=vt;exports.AttachmentsBarModalOverlay=pt;exports.ChatAction=Qt;exports.ChatActionFeedback=qt;exports.ChatActionLabel=zt;exports.Content=z;exports.ContentScrollArea=q;exports.ContentScrollAreaCorner=V;exports.ContentScrollAreaScrollbar=O;exports.ContentScrollAreaThumb=R;exports.ContentScrollAreaViewport=_;exports.ConversationLoading=T;exports.Disclaimer=G;exports.DisclaimerArrow=U;exports.DisclaimerContent=$;exports.DisclaimerLabel=K;exports.DisclaimerText=J;exports.DisclaimerTrigger=X;exports.FeedbackForm=ta;exports.FeedbackItem=aa;exports.FeedbackItemCheckbox=da;exports.FeedbackItemCheckboxIndicator=sa;exports.FeedbackItemDescription=oa;exports.FeedbackItemLabel=ra;exports.FeedbackModal=$t;exports.FeedbackModalBody=ea;exports.FeedbackModalClose=Zt;exports.FeedbackModalContent=Ut;exports.FeedbackModalHeader=Yt;exports.FeedbackModalOverlay=Jt;exports.FeedbackSubmitButton=ia;exports.Footer=Xe;exports.Form=na;exports.FormCancel=Ha;exports.FormClose=ca;exports.FormContent=xa;exports.FormDescription=ba;exports.FormError=Sa;exports.FormField=pa;exports.FormFieldCheckbox=fa;exports.FormFieldCheckboxIndicator=Fa;exports.FormFieldEmail=ga;exports.FormFieldError=Ba;exports.FormFieldFile=Ea;exports.FormFieldLabel=Ca;exports.FormFieldSelect=ka;exports.FormFieldSelectContent=Ma;exports.FormFieldSelectIcon=Pa;exports.FormFieldSelectItem=ya;exports.FormFieldSelectItemIndicator=Ia;exports.FormFieldSelectItemText=Na;exports.FormFieldSelectTrigger=Aa;exports.FormFieldSelectValue=wa;exports.FormFieldSelectViewport=ja;exports.FormFieldText=ua;exports.FormFieldTextArea=va;exports.FormFooter=Ta;exports.FormHeader=la;exports.FormHeading=ha;exports.FormSubmit=La;exports.FormSuccess=Da;exports.FormSuccessButton=za;exports.FormSuccessHeading=Wa;exports.FormSuccessMessage=Qa;exports.FormWrapper=ma;exports.Header=L;exports.HeaderToolbar=D;exports.HeaderToolbarWrapper=W;exports.HelpAction=Ot;exports.HelpActions=_t;exports.HelpActionsMenu=Vt;exports.HelpActionsMenuArrow=Gt;exports.HelpActionsMenuItem=Kt;exports.HelpActionsMenuItemIcon=Xt;exports.HelpActionsTrigger=Rt;exports.Input=Ue;exports.InputFieldset=$e;exports.InputGroup=Je;exports.IntroMessageWrapper=ce;exports.Message=Ie;exports.MessageAction=He;exports.MessageActions=Be;exports.MessageAttachments=ve;exports.MessageAttachmentsItem=Fe;exports.MessageAttachmentsItemIcon=ke;exports.MessageAttachmentsItemTitle=Ae;exports.MessageAttachmentsList=fe;exports.MessageAttachmentsPreview=we;exports.MessageAttachmentsPreviewBody=Ne;exports.MessageAttachmentsPreviewClose=ye;exports.MessageAttachmentsPreviewContent=Me;exports.MessageAttachmentsPreviewHeader=je;exports.MessageAttachmentsPreviewOverlay=Pe;exports.MessageAvatar=be;exports.MessageAvatarContent=xe;exports.MessageAvatarFallback=pe;exports.MessageAvatarImage=Ce;exports.MessageContent=Ee;exports.MessageContentWrapper=ge;exports.MessageHeader=le;exports.MessageLoading=he;exports.MessageName=ue;exports.MessageSourceItem=Qe;exports.MessageSourceItemBreadcrumbIcon=qe;exports.MessageSourceItemBreadcrumbs=ze;exports.MessageSourceItemDescription=Ve;exports.MessageSourceItemDescriptionPart=Ge;exports.MessageSourceItemIcon=_e;exports.MessageSourceItemIndicator=Ke;exports.MessageSourceItemTag=Re;exports.MessageSourceItemTitle=Oe;exports.MessageSources=Le;exports.MessageSourcesHeader=De;exports.MessageSourcesList=We;exports.MessageToolAction=Te;exports.MessageToolActions=Se;exports.MessageWrapper=ne;exports.Messages=me;exports.Provider=B;exports.QuickQuestion=te;exports.QuickQuestionButton=ae;exports.QuickQuestions=Y;exports.QuickQuestionsLabel=Z;exports.QuickQuestionsList=ee;exports.Root=H;exports.SendButton=Ye;exports.SendButtonIcon=Ze;exports.TaglineBrandName=Wt;exports.TaglineContainer=Ht;exports.TaglineLogo=Dt;exports.TaglineText=Lt;exports.ToolbarHeader=Q;exports.Workflow=oe;exports.WorkflowIcon=ie;exports.Workflows=de;exports.WorkflowsLabel=se;exports.WorkflowsList=re;exports.Wrapper=S;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),a=require("@inkeep/cxkit-primitives"),A=require("../ui/recipes/ai-chat-page-wrapper.cjs"),n=require("../ui/recipes/attachment.cjs"),o=require("../ui/recipes/button.cjs"),x=require("../ui/recipes/checkbox.cjs"),m=require("../ui/recipes/citation.cjs"),w=require("../ui/recipes/icon.cjs"),l=require("../ui/recipes/input.cjs"),P=require("../ui/recipes/link.cjs"),r=require("../ui/recipes/modal.cjs"),p=require("../ui/recipes/popover.cjs"),C=require("../ui/recipes/scrollable.cjs"),h=require("../ui/recipes/select.cjs"),M=require("class-variance-authority"),j=require("merge-anything"),c=require("react"),s=require("../utils.cjs"),y=require("../ui/markdown-styles.cjs"),N=require("./loading-indicator.cjs"),I=require("./embedded-chat/conversation-loading.cjs"),B=a.EmbeddedChatPrimitive.Provider,S=c.forwardRef(({className:e,size:t,variant:i,...u},b)=>d.jsx(a.EmbeddedChatPrimitive.Wrapper,{ref:b,className:s.cn(A.aiChatPageWrapper({size:t,variant:i}),"data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950","data-[composite]:w-full","max-h-[min(85vh,850px)]",e),...u})),T=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ConversationLoading,{className:s.cn("flex flex-col items-center justify-center h-full gap-12 flex-1 p-8",e),children:d.jsx(I.ConversationLoading,{}),...t}),H=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Root,{className:s.cn(C.scrollable({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),L=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Header,{className:s.cn(C.scrollable({section:"header"}),"flex items-center","bg-white dark:bg-gray-dark-950","data-[show-toolbar]:after:absolute","data-[show-toolbar]:after:left-0","data-[show-toolbar]:after:top-full","data-[show-toolbar]:after:h-[1rem]","data-[show-toolbar]:after:w-full","data-[show-toolbar]:after:text-white","data-[show-toolbar]:after:dark:text-gray-dark-950","data-[show-toolbar]:after:bg-[linear-gradient(currentColor,_transparent)]","data-[show-toolbar]:after:z-start",e),...t}),D=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HeaderToolbar,{className:s.cn("flex items-center gap-2 w-full pl-6 pr-1","ikp-md:px-4 py-2 justify-between *:m-0",e),...t}),W=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HeaderToolbarWrapper,{className:s.cn("flex items-center gap-1.5",e),...t}),Q=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ToolbarHeader,{className:s.cn("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Content,{className:s.cn(C.scrollable({section:"content"}),"justify-end",e),...t}),q=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollArea,{className:s.cn("overflow-hidden",e),...t}),_=c.forwardRef(({className:e,...t},i)=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaViewport,{ref:i,className:s.cn("h-full w-full rounded-[inherit]",e),...t})),R=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaScrollbar,{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})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaThumb,{className:s.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),V=a.EmbeddedChatPrimitive.ContentScrollAreaCorner,G=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Disclaimer,{className:s.cn("ml-auto text-sm flex items-center gap-1",e),...t}),$=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerLabel,{className:s.cn("text-gray-700 dark:text-gray-dark-100",e),...t}),J=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerTrigger,{className:s.cn("cursor-pointer text-gray-700 dark:text-gray-dark-100",e),...t}),K=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerContent,{className:s.cn(p.popover({slot:"content"}),"px-4 py-2 font-normal","w-[250px] sm:w-[420px]",e),...t}),U=a.EmbeddedChatPrimitive.DisclaimerText,X=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerArrow,{className:s.cn(p.popover({slot:"arrow"}),e),...t}),Y=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.QuickQuestions,{className:s.cn("mt-4 flex flex-col gap-2",e),...t}),Z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.QuickQuestionsLabel,{className:s.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.QuickQuestionsList,{className:s.cn("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),te=c.forwardRef(({className:e,style:t,...i},u)=>{const b=c.useRef(null),v=a.composeRefs(u,b),{width:f=0,height:F=0}=a.useResizeObserver({ref:b,box:"border-box"}),k=Math.max(F,f);return d.jsx(a.EmbeddedChatPrimitive.QuickQuestion,{ref:v,style:{"--before-size":`${k+100}px`,...t},className:s.cn("flex items-center justify-center relative z-base","min-h-9 rounded-md overflow-hidden","before:absolute before:z-hide","before:bg-gray-300 dark:before:bg-gray-dark-950","before:bg-no-repeat before:[background-position:0_0]","before:[background-size:cover] before:m-auto","before:w-[--before-size] before:h-[--before-size]","data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.600),transparent_30%)]","dark:data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.300),transparent_30%)]","data-[highlight]:first:before:animate-[spin_4s_linear_infinite]","after:absolute after:z-base after:top-[1px] after:left-[1px]","after:w-[calc(100%-2px)] after:h-[calc(100%-2px)]","after:rounded-[5px] after:bg-white dark:after:bg-gray-dark-950",e),...i})}),ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.QuickQuestionButton,{className:s.cn(o.button({size:"sm"}),"text-sm font-normal h-auto w-full py-2 z-start","whitespace-normal text-center leading-[unset]","border border-solid","text-gray-800 dark:text-white-alpha-950","border-white-alpha-200","[&:where(:hover,:focus)]:bg-slate-400/5","dark:[&:where(:hover,:focus)]:bg-white-alpha-100 focus:z-start",e),...t}),de=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Workflows,{className:s.cn("mt-4 flex flex-col gap-2",e),...t}),se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.WorkflowsLabel,{className:s.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.WorkflowsList,{className:s.cn("flex flex-wrap gap-2",e),...t}),oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Workflow,{className:s.cn(o.button({size:"sm"}),"min-h-9 px-3 py-2 h-auto font-medium","text-sm gap-2 whitespace-normal border ","text-inkeep-primary-strong dark:text-inkeep-expanded-primary-300","border-inkeep-expanded-primary-200","dark:border-inkeep-expanded-primary-200","hover:bg-inkeep-primary-light-subtle","dark:hover:bg-white-alpha-100",e),...t}),ie=a.EmbeddedChatPrimitive.WorkflowIcon,me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Messages,{className:s.cn("flex flex-col w-full min-w-0 min-h-0 text-2sm relative",e),...t}),E=M.cva(["flex relative w-full overflow-hidden py-8","px-6 ikp-md:px-8","flex-col ikp-md:flex-row","min-w-0 grow-[2] data-[role=user]:grow-0","[&:not(:last-child)]:after:absolute","[&:not(:last-child)]:after:border-b","[&:not(:last-child)]:after:bottom-0","[&:not(:last-child)]:after:inset-x-6","ikp-md:[&:not(:last-child)]:after:inset-x-8"]),ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageWrapper,{className:s.cn(E(),e),...t}),ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.IntroMessageWrapper,{className:s.cn(E(),e),...t}),le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageHeader,{className:s.cn("flex justify-start overflow-hidden shrink-0 select-none","flex-row ikp-md:flex-col","items-center ikp-md:items-start","ikp-md:pl-3","ikp-md:pr-6","mb-6 ikp-md:mb-0",e),...t}),he=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageLoading,{className:s.cn("flex items-center gap-3 h-12 w-full",e),children:d.jsx(N.LoadingIndicator,{}),...t}),be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatar,{className:s.cn("flex items-center justify-center rounded-full","h-auto ikp-md:h-12",e),...t}),xe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatarContent,{className:s.cn("relative flex h-8 w-8 shrink-0 overflow-hidden","data-[username]:bg-inkeep-primary-lighter","dark:data-[username]:bg-inkeep-expanded-primary-300","text-inkeep-primary-stronger font-semibold ","data-[role=user]:hidden ikp-md:flex","justify-center items-center",e),...t}),pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatarFallback,{className:s.cn("hidden data-[role=user]:block",e),...t}),Ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatarImage,{className:s.cn("data-[type=icon]:data-[role=user]:text-inkeep-primary-medium","dark:data-[type=icon]:data-[role=user]:text-inkeep-expanded-primary-300","data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.300)]","data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageName,{className:s.cn("px-3 py-1 ml-4 data-[role=user]:ml-0","text-sm rounded-full","bg-inkeep-primary-lighter data-[role=user]:bg-gray-50","text-inkeep-primary-stronger dark:text-inkeep-expanded-primary-300","data-[role=user]:text-gray-700 dark:data-[role=user]:text-white-alpha-700","dark:bg-gray-dark-700","ikp-md:hidden",e),...t}),ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageContentWrapper,{className:s.cn("overflow-hidden flex flex-col","justify-start grow-2 w-full","data-[role=user]:justify-end","data-[role=user]:shrink-2","data-[role=user]:grow-0","ikp-md:pr-3",e),...t}),Ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageContent,{className:s.cn("text-2sm flex-wrap break-words min-w-0 shrink-1 max-w-full",e),...t}),ve=a.EmbeddedChatPrimitive.MessageAttachments,fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsList,{className:s.cn("flex flex-wrap gap-2",e),...t}),Fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItem,{className:s.cn(o.button({variant:"ghost"}),n.attachment({slot:"root"}),"font-normal px-2",e),...t}),ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItemIcon,{className:s.cn(n.attachment({slot:"icon"}),e),...t}),Ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItemTitle,{className:s.cn(n.attachment({slot:"title"}),e),...t}),we=a.EmbeddedChatPrimitive.MessageAttachmentsPreview,Pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewOverlay,{className:s.cn(r.modal({slot:"overlay"}),e),...t}),Me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewContent,{className:s.cn(r.modal({slot:"content"}),"top-[5%] translate-y-0 p-8 md:p-10 max-w-2xl",e),...t}),je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewHeader,{className:s.cn(r.modal({slot:"header"}),"px-0 pt-0 pb-8 flex flex-col gap-6","font-semibold",e),...t}),ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewClose,{className:s.cn(r.modal({slot:"close"}),e),...t}),Ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewBody,{className:s.cn(r.modal({slot:"body"}),"p-0",e),...t}),Ie=({className:e,componentStyles:t,...i})=>d.jsx(a.EmbeddedChatPrimitive.Message,{className:s.cn("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",e),componentStyles:j.merge(y.markdownStyles,t??{}),...i}),Be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageActions,{className:s.cn("flex items-center mt-2 mb-3",e),...t}),Se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageToolActions,{className:s.cn("mr-auto flex items-center gap-2",e),...t}),Te=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageToolAction,{className:s.cn(o.button({size:"xs",variant:"outline"}),"text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",e),...t}),He=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAction,{className:s.cn(o.button({variant:"iconButton",size:"sm"}),"data-[upvoted]:text-inkeep-primary-medium","data-[downvoted]:text-inkeep-primary-medium","data-[upvoted]:dark:text-inkeep-expanded-primary-300","data-[downvoted]:dark:text-inkeep-expanded-primary-300","dark:hover:text-inkeep-expanded-primary-300 px-2 text-md",e),...t}),Le=a.EmbeddedChatPrimitive.MessageSources,De=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourcesHeader,{className:s.cn("block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",e),...t}),We=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourcesList,{className:s.cn("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),Qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItem,{className:s.cn(m.citation({slot:"root"}),e),...t}),ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemBreadcrumbs,{className:s.cn(m.citation({slot:"breadcrumbs"}),e),...t}),qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemBreadcrumbIcon,{className:s.cn(m.citation({slot:"breadcrumbsIcon"}),e),...t}),_e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemIcon,{className:s.cn(m.citation({slot:"icon"}),e),...t}),Re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemTitle,{className:s.cn(m.citation({slot:"title"}),e),...t}),Oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemTag,{className:s.cn(m.citation({slot:"tag"}),e),...t}),Ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemDescription,{className:s.cn(m.citation({slot:"description"}),e),...t}),Ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemDescriptionPart,{className:s.cn(m.citation({slot:"descriptionPart"}),e),...t}),$e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemIndicator,{className:s.cn(m.citation({slot:"indicator"}),e),...t}),Je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Footer,{className:s.cn("bg-white dark:bg-gray-dark-950 pt-6 pb-4","px-6 ikp-md:px-8 relative","before:absolute before:block before:top-0 before:left-0","before:pointer-events-none before:w-full before:h-3","before:bg-gradient-to-b before:from-transparent before:to-white","dark:before:to-gray-dark-950 before:-translate-y-full",e),...t}),Ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.InputFieldset,{className:s.cn("relative flex flex-col w-full p-2","rounded-lg items-stretch shadow-md dark:shadow-none","bg-gray-50 dark:bg-white-alpha-50",e),...t}),Ue=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.InputGroup,{className:s.cn("flex",e),...t}),Xe=c.forwardRef(({className:e,...t},i)=>d.jsx(a.EmbeddedChatPrimitive.Input,{ref:i,className:s.cn("min-h-[unset] overflow-hidden w-full resize-none","placeholder:text-gray-500 dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent","px-3 py-2 ml-1 mr-2 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",e),...t})),Ye=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.SendButton,{className:s.cn(o.button({}),"bg-transparent relative size-10 rounded-lg transition-all ease-linear","text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500","active:bg-gray-300 dark:active:bg-white-alpha-100","hover:bg-gray-200 hover:text-inkeep-primary-strong","dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300","disabled:text-gray-500 dark:disabled:text-white-alpha-200","disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",e),...t}),Ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.SendButtonIcon,{className:s.cn(w.icon(),"text-inherit rotate-[-30deg]",e),...t}),et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBar,{className:s.cn("flex items-center justify-between","flex-wrap gap-2 px-1 pt-2 pb-1",e),...t}),tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarList,{className:s.cn("flex items-center gap-2 flex-wrap px-3 min-w-0",e),...t}),at=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachment,{className:s.cn(n.attachment({slot:"root"}),e),...t}),dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentIcon,{className:s.cn(n.attachment({slot:"icon"}),e),...t}),st=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentTitle,{className:s.cn(n.attachment({slot:"title"}),e),...t}),rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentDelete,{className:s.cn(n.attachment({slot:"delete"}),e),...t}),ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarActions,{className:s.cn("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),it=a.EmbeddedChatPrimitive.AttachmentsBarInfoTip,mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInfoTipIcon,{className:s.cn("cursor-pointer text-sm text-gray-600","dark:text-white-alpha-600",e),...t}),nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInfoTipText,{className:s.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-950 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)] z-dropdown","px-3 py-2 rounded-md text-sm font-normal max-w-[200px]",e),...t}),ct=a.EmbeddedChatPrimitive.AttachmentsBarInfoTipArrow,lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInputs,{className:s.cn("contents",e),...t}),ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInput,{className:s.cn(o.button({variant:"outline",size:"xs"}),"light:text-gray-700 gap-1",e),...t}),bt=a.EmbeddedChatPrimitive.AttachmentsBarInputIcon,xt=a.EmbeddedChatPrimitive.AttachmentsBarModal,pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalOverlay,{className:s.cn(r.modal({slot:"overlay"}),e),...t}),Ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalContent,{className:s.cn(r.modal({slot:"content"}),"top-[5%] translate-y-0","p-8 md:p-10 max-w-2xl",e),...t}),ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalHeader,{className:s.cn(r.modal({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalHeading,{className:s.cn("w-full semibold",e),...t}),Et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalDescription,{className:s.cn("text-gray-700 dark:text-white-alpha-700","text-sm font-normal w-full",e),...t}),vt=a.EmbeddedChatPrimitive.AttachmentsBarModalHelp,ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalClose,{className:s.cn(r.modal({slot:"close"}),e),...t}),Ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalBody,{className:s.cn(r.modal({slot:"body"}),"p-0",e),...t}),kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarForm,{className:s.cn("flex flex-col gap-8",e),...t}),At=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitle,{className:s.cn("flex flex-col gap-2",e),...t}),wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitleLabel,{className:s.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Pt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitleInput,{className:s.cn("h-10 px-4 rounded-md border","focus:outline-none focus:[--shadow-color:theme(colors.blue.500)]","data-[invalid]:[--shadow-color:theme(colors.red.500)]","shadow-[0_0_0_2px_var(--shadow-color)]",e),...t}),Mt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitleError,{className:s.cn("text-sm text-red-500",e),...t}),jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContent,{className:s.cn("flex flex-col gap-2",e),...t}),yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContentLabel,{className:s.cn("text-sm font-medium text-gray-700 dark:text-white-alpha-700",e),...t}),Nt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContentInput,{className:s.cn(l.input({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),It=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContentError,{className:s.cn("text-sm text-red-500",e),...t}),Bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormSubmitButton,{className:s.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),St=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ActionBar,{className:s.cn("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5",e),...t}),Tt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Actions,{className:s.cn("flex items-center gap-2.5 flex-wrap",e),...t}),Ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineContainer,{className:s.cn("flex items-center whitespace-nowrap",e),...t}),Lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineText,{className:s.cn("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),Dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineLogo,{className:s.cn("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),Wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineBrandName,{className:s.cn(P.link(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),g=s.cn(o.button({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),Qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatAction,{className:s.cn(g,e),...t}),zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatActionLabel,{className:s.cn("cursor-pointer",e),...t}),qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatActionFeedback,{className:s.cn("bg-white text-gray-800 fill-white","dark:bg-gray-dark-800 dark:text-white-alpha-900 dark:fill-gray-dark-800","shadow-[0_8px_30px_rgba(0,0,0,0.12)]","px-2 py-3 rounded-md text-sm font-normal",e),...t}),_t=a.EmbeddedChatPrimitive.HelpActions,Rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatHelpAction,{className:s.cn(g,e),...t}),Ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsTrigger,{className:s.cn(g,e),...t}),Vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenu,{className:s.cn(p.popover({slot:"content"}),"gap-3 px-3 py-4 ","w-[254px] text-sm font-normal",e),...t}),Gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuArrow,{className:s.cn(p.popover({slot:"arrow"}),e),...t}),$t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuItem,{className:s.cn("flex items-center cursor-pointer hover:underline",e),...t}),Jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuItemIcon,{className:s.cn("mr-2 text-inkeep-primary-medium",e),...t}),Kt=a.EmbeddedChatPrimitive.FeedbackModal,Ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalOverlay,{className:s.cn(r.modal({slot:"overlay"}),e),...t}),Xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalContent,{className:s.cn(r.modal({slot:"content"}),"p-8 md:p-10 max-w-[480px] top-[5%] translate-y-0",e),...t}),Yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalHeader,{className:s.cn(r.modal({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),Zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalClose,{className:s.cn(r.modal({slot:"close"}),e),...t}),ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalBody,{className:s.cn(r.modal({slot:"body"}),"p-0",e),...t}),ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackForm,{className:s.cn("flex flex-col gap-8",e),...t}),aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItem,{className:s.cn("flex flex-wrap items-center","gap-[1rem_0.5rem]",e),...t}),da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemCheckbox,{className:s.cn(x.checkbox({slot:"root"}),e),...t}),sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemCheckboxIndicator,{className:s.cn(x.checkbox({slot:"indicator"}),e),...t}),ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemLabel,{className:s.cn("select-none cursor-pointer font-medium text-sm","text-gray-700 dark:text-white-alpha-700",e),...t}),oa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemDescription,{className:s.cn("flex-[0_0_100%]","min-h-20 py-2 border rounded-md","px-4",e),...t}),ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackSubmitButton,{className:s.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormWrapper,{className:s.cn("w-full overflow-y-auto",e),...t}),na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Form,{className:s.cn(C.scrollable({section:"content"}),"relative pt-4 pb-8 gap-8","items-start justify-center w-full","px-6 ikp-md:px-14 ikp-md:pb-14",e),...t}),ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormClose,{className:s.cn(o.button({variant:"ghost"}),"absolute right-1 top-1","text-xl text-gray-500 dark:text-white-alpha-500 w-10 h-10 z-modal",e),...t}),la=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormHeader,{className:s.cn("mt-12 flex flex-col gap-6",e),...t}),ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormHeading,{className:s.cn("font-semibold text-xl leading-5",e),...t}),ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormDescription,{className:s.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),xa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormContent,{className:s.cn("w-full",e),...t}),pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormField,{className:s.cn("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),Ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldLabel,{className:s.cn("font-medium text-sm text-gray-700","dark:text-white-alpha-700 ","font-medium relative","data-[required]:after:absolute",'data-[required]:after:[content:"*"]',"data-[required]:after:ml-1","data-[required]:after:mt-0","data-[required]:after:text-red-500","dark:data-[required]:after:text-red-300",e),...t}),ua=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldText,{className:s.cn(l.input({size:"md",variant:"outline"}),e),...t}),ga=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldEmail,{className:s.cn(l.input({size:"md",variant:"outline"}),e),...t}),Ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldFile,{className:s.cn(l.input({size:"md",variant:"outline"}),"text-sm pl-2 file:h-full file:cursor-pointer py-0","file:bg-transparent file:border-none file:font-medium","file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",e),...t}),va=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldTextArea,{className:s.cn(l.input({size:"md",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldCheckbox,{className:s.cn(x.checkbox({slot:"root"}),e),...t}),Fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldCheckboxIndicator,{className:s.cn(x.checkbox({slot:"indicator"}),e),...t}),ka=a.EmbeddedChatPrimitive.FormFieldSelect,Aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectTrigger,{className:s.cn(h.select({slot:"trigger"}),e),...t}),wa=a.EmbeddedChatPrimitive.FormFieldSelectValue,Pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectIcon,{className:s.cn("h-4 w-4 opacity-45",e),...t}),Ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectContent,{className:s.cn(h.select({slot:"content"}),e),...t}),ja=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectViewport,{className:s.cn(h.select({slot:"viewport"}),e),...t}),ya=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectItem,{className:s.cn(h.select({slot:"item"}),e),...t}),Na=a.EmbeddedChatPrimitive.FormFieldSelectItemText,Ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectItemIndicator,{className:s.cn(h.select({slot:"itemIndicator"}),e),...t}),Ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldError,{className:s.cn("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),Sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormError,{className:s.cn("text-red-500 dark:text-red-300",e),...t}),Ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFooter,{className:s.cn("flex items-center justify-end gap-6 w-full",e),...t}),Ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormCancel,{className:s.cn(o.button({variant:"outline"}),e),...t}),La=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSubmit,{className:s.cn(o.button({preset:"neutralFilled"}),e),...t}),Da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccess,{className:s.cn("flex flex-col items-center justify-center h-auto","m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-14",e),...t}),Wa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccessHeading,{className:s.cn("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),Qa=a.EmbeddedChatPrimitive.FormSuccessMessage,za=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccessButton,{className:s.cn(o.button({preset:"neutralFilled"}),"w-full mt-12 gap-2 shrink-0",e),...t});exports.ActionBar=St;exports.Actions=Tt;exports.AttachmentsBar=et;exports.AttachmentsBarActions=ot;exports.AttachmentsBarAttachment=at;exports.AttachmentsBarAttachmentDelete=rt;exports.AttachmentsBarAttachmentIcon=dt;exports.AttachmentsBarAttachmentTitle=st;exports.AttachmentsBarForm=kt;exports.AttachmentsBarFormContent=jt;exports.AttachmentsBarFormContentError=It;exports.AttachmentsBarFormContentInput=Nt;exports.AttachmentsBarFormContentLabel=yt;exports.AttachmentsBarFormSubmitButton=Bt;exports.AttachmentsBarFormTitle=At;exports.AttachmentsBarFormTitleError=Mt;exports.AttachmentsBarFormTitleInput=Pt;exports.AttachmentsBarFormTitleLabel=wt;exports.AttachmentsBarInfoTip=it;exports.AttachmentsBarInfoTipArrow=ct;exports.AttachmentsBarInfoTipIcon=mt;exports.AttachmentsBarInfoTipText=nt;exports.AttachmentsBarInput=ht;exports.AttachmentsBarInputIcon=bt;exports.AttachmentsBarInputs=lt;exports.AttachmentsBarList=tt;exports.AttachmentsBarModal=xt;exports.AttachmentsBarModalBody=Ft;exports.AttachmentsBarModalClose=ft;exports.AttachmentsBarModalContent=Ct;exports.AttachmentsBarModalDescription=Et;exports.AttachmentsBarModalHeader=ut;exports.AttachmentsBarModalHeading=gt;exports.AttachmentsBarModalHelp=vt;exports.AttachmentsBarModalOverlay=pt;exports.ChatAction=Qt;exports.ChatActionFeedback=qt;exports.ChatActionLabel=zt;exports.Content=z;exports.ContentScrollArea=q;exports.ContentScrollAreaCorner=V;exports.ContentScrollAreaScrollbar=R;exports.ContentScrollAreaThumb=O;exports.ContentScrollAreaViewport=_;exports.ConversationLoading=T;exports.Disclaimer=G;exports.DisclaimerArrow=X;exports.DisclaimerContent=K;exports.DisclaimerLabel=$;exports.DisclaimerText=U;exports.DisclaimerTrigger=J;exports.FeedbackForm=ta;exports.FeedbackItem=aa;exports.FeedbackItemCheckbox=da;exports.FeedbackItemCheckboxIndicator=sa;exports.FeedbackItemDescription=oa;exports.FeedbackItemLabel=ra;exports.FeedbackModal=Kt;exports.FeedbackModalBody=ea;exports.FeedbackModalClose=Zt;exports.FeedbackModalContent=Xt;exports.FeedbackModalHeader=Yt;exports.FeedbackModalOverlay=Ut;exports.FeedbackSubmitButton=ia;exports.Footer=Je;exports.Form=na;exports.FormCancel=Ha;exports.FormClose=ca;exports.FormContent=xa;exports.FormDescription=ba;exports.FormError=Sa;exports.FormField=pa;exports.FormFieldCheckbox=fa;exports.FormFieldCheckboxIndicator=Fa;exports.FormFieldEmail=ga;exports.FormFieldError=Ba;exports.FormFieldFile=Ea;exports.FormFieldLabel=Ca;exports.FormFieldSelect=ka;exports.FormFieldSelectContent=Ma;exports.FormFieldSelectIcon=Pa;exports.FormFieldSelectItem=ya;exports.FormFieldSelectItemIndicator=Ia;exports.FormFieldSelectItemText=Na;exports.FormFieldSelectTrigger=Aa;exports.FormFieldSelectValue=wa;exports.FormFieldSelectViewport=ja;exports.FormFieldText=ua;exports.FormFieldTextArea=va;exports.FormFooter=Ta;exports.FormHeader=la;exports.FormHeading=ha;exports.FormSubmit=La;exports.FormSuccess=Da;exports.FormSuccessButton=za;exports.FormSuccessHeading=Wa;exports.FormSuccessMessage=Qa;exports.FormWrapper=ma;exports.Header=L;exports.HeaderToolbar=D;exports.HeaderToolbarWrapper=W;exports.HelpAction=Rt;exports.HelpActions=_t;exports.HelpActionsMenu=Vt;exports.HelpActionsMenuArrow=Gt;exports.HelpActionsMenuItem=$t;exports.HelpActionsMenuItemIcon=Jt;exports.HelpActionsTrigger=Ot;exports.Input=Xe;exports.InputFieldset=Ke;exports.InputGroup=Ue;exports.IntroMessageWrapper=ce;exports.Message=Ie;exports.MessageAction=He;exports.MessageActions=Be;exports.MessageAttachments=ve;exports.MessageAttachmentsItem=Fe;exports.MessageAttachmentsItemIcon=ke;exports.MessageAttachmentsItemTitle=Ae;exports.MessageAttachmentsList=fe;exports.MessageAttachmentsPreview=we;exports.MessageAttachmentsPreviewBody=Ne;exports.MessageAttachmentsPreviewClose=ye;exports.MessageAttachmentsPreviewContent=Me;exports.MessageAttachmentsPreviewHeader=je;exports.MessageAttachmentsPreviewOverlay=Pe;exports.MessageAvatar=be;exports.MessageAvatarContent=xe;exports.MessageAvatarFallback=pe;exports.MessageAvatarImage=Ce;exports.MessageContent=Ee;exports.MessageContentWrapper=ge;exports.MessageHeader=le;exports.MessageLoading=he;exports.MessageName=ue;exports.MessageSourceItem=Qe;exports.MessageSourceItemBreadcrumbIcon=qe;exports.MessageSourceItemBreadcrumbs=ze;exports.MessageSourceItemDescription=Ve;exports.MessageSourceItemDescriptionPart=Ge;exports.MessageSourceItemIcon=_e;exports.MessageSourceItemIndicator=$e;exports.MessageSourceItemTag=Oe;exports.MessageSourceItemTitle=Re;exports.MessageSources=Le;exports.MessageSourcesHeader=De;exports.MessageSourcesList=We;exports.MessageToolAction=Te;exports.MessageToolActions=Se;exports.MessageWrapper=ne;exports.Messages=me;exports.Provider=B;exports.QuickQuestion=te;exports.QuickQuestionButton=ae;exports.QuickQuestions=Y;exports.QuickQuestionsLabel=Z;exports.QuickQuestionsList=ee;exports.Root=H;exports.SendButton=Ye;exports.SendButtonIcon=Ze;exports.TaglineBrandName=Wt;exports.TaglineContainer=Ht;exports.TaglineLogo=Dt;exports.TaglineText=Lt;exports.ToolbarHeader=Q;exports.Workflow=oe;exports.WorkflowIcon=ie;exports.Workflows=de;exports.WorkflowsLabel=se;exports.WorkflowsList=re;exports.Wrapper=S;
|
|
@@ -198,7 +198,7 @@ const ae = a.Provider, se = u(
|
|
|
198
198
|
),
|
|
199
199
|
...t
|
|
200
200
|
}
|
|
201
|
-
), Fe = a.DisclaimerText,
|
|
201
|
+
), Fe = a.DisclaimerText, ke = ({
|
|
202
202
|
className: e,
|
|
203
203
|
...t
|
|
204
204
|
}) => /* @__PURE__ */ s(
|
|
@@ -207,7 +207,7 @@ const ae = a.Provider, se = u(
|
|
|
207
207
|
className: r(b({ slot: "arrow" }), e),
|
|
208
208
|
...t
|
|
209
209
|
}
|
|
210
|
-
),
|
|
210
|
+
), Ae = ({
|
|
211
211
|
className: e,
|
|
212
212
|
...t
|
|
213
213
|
}) => /* @__PURE__ */ s(
|
|
@@ -239,10 +239,10 @@ const ae = a.Provider, se = u(
|
|
|
239
239
|
...t
|
|
240
240
|
}
|
|
241
241
|
), Me = u(({ className: e, style: t, ...n }, x) => {
|
|
242
|
-
const h = v(null), F = E(x, h), { width:
|
|
242
|
+
const h = v(null), F = E(x, h), { width: k = 0, height: A = 0 } = M({
|
|
243
243
|
ref: h,
|
|
244
244
|
box: "border-box"
|
|
245
|
-
}), w = Math.max(
|
|
245
|
+
}), w = Math.max(A, k);
|
|
246
246
|
return /* @__PURE__ */ s(
|
|
247
247
|
a.QuickQuestion,
|
|
248
248
|
{
|
|
@@ -517,7 +517,7 @@ const ae = a.Provider, se = u(
|
|
|
517
517
|
),
|
|
518
518
|
...t
|
|
519
519
|
}
|
|
520
|
-
),
|
|
520
|
+
), $e = ({
|
|
521
521
|
className: e,
|
|
522
522
|
...t
|
|
523
523
|
}) => /* @__PURE__ */ s(
|
|
@@ -526,7 +526,7 @@ const ae = a.Provider, se = u(
|
|
|
526
526
|
className: r(c({ slot: "icon" }), e),
|
|
527
527
|
...t
|
|
528
528
|
}
|
|
529
|
-
),
|
|
529
|
+
), Je = ({
|
|
530
530
|
className: e,
|
|
531
531
|
...t
|
|
532
532
|
}) => /* @__PURE__ */ s(
|
|
@@ -535,7 +535,7 @@ const ae = a.Provider, se = u(
|
|
|
535
535
|
className: r(c({ slot: "title" }), e),
|
|
536
536
|
...t
|
|
537
537
|
}
|
|
538
|
-
),
|
|
538
|
+
), Ke = a.MessageAttachmentsPreview, Ue = ({
|
|
539
539
|
className: e,
|
|
540
540
|
...t
|
|
541
541
|
}) => /* @__PURE__ */ s(
|
|
@@ -544,7 +544,7 @@ const ae = a.Provider, se = u(
|
|
|
544
544
|
className: r(o({ slot: "overlay" }), e),
|
|
545
545
|
...t
|
|
546
546
|
}
|
|
547
|
-
),
|
|
547
|
+
), Xe = ({
|
|
548
548
|
className: e,
|
|
549
549
|
...t
|
|
550
550
|
}) => /* @__PURE__ */ s(
|
|
@@ -784,7 +784,7 @@ const ae = a.Provider, se = u(
|
|
|
784
784
|
), Ft = ({
|
|
785
785
|
className: e,
|
|
786
786
|
...t
|
|
787
|
-
}) => /* @__PURE__ */ s(a.InputGroup, { className: r("flex", e), ...t }),
|
|
787
|
+
}) => /* @__PURE__ */ s(a.InputGroup, { className: r("flex", e), ...t }), kt = u(({ className: e, ...t }, n) => /* @__PURE__ */ s(
|
|
788
788
|
a.Input,
|
|
789
789
|
{
|
|
790
790
|
ref: n,
|
|
@@ -797,7 +797,7 @@ const ae = a.Provider, se = u(
|
|
|
797
797
|
),
|
|
798
798
|
...t
|
|
799
799
|
}
|
|
800
|
-
)),
|
|
800
|
+
)), At = ({
|
|
801
801
|
className: e,
|
|
802
802
|
...t
|
|
803
803
|
}) => /* @__PURE__ */ s(
|
|
@@ -1004,7 +1004,7 @@ const ae = a.Provider, se = u(
|
|
|
1004
1004
|
className: r(o({ slot: "body" }), "p-0", e),
|
|
1005
1005
|
...t
|
|
1006
1006
|
}
|
|
1007
|
-
),
|
|
1007
|
+
), $t = ({
|
|
1008
1008
|
className: e,
|
|
1009
1009
|
...t
|
|
1010
1010
|
}) => /* @__PURE__ */ s(
|
|
@@ -1013,7 +1013,7 @@ const ae = a.Provider, se = u(
|
|
|
1013
1013
|
className: r("flex flex-col gap-8", e),
|
|
1014
1014
|
...t
|
|
1015
1015
|
}
|
|
1016
|
-
),
|
|
1016
|
+
), Jt = ({
|
|
1017
1017
|
className: e,
|
|
1018
1018
|
...t
|
|
1019
1019
|
}) => /* @__PURE__ */ s(
|
|
@@ -1022,7 +1022,7 @@ const ae = a.Provider, se = u(
|
|
|
1022
1022
|
className: r("flex flex-col gap-2", e),
|
|
1023
1023
|
...t
|
|
1024
1024
|
}
|
|
1025
|
-
),
|
|
1025
|
+
), Kt = ({
|
|
1026
1026
|
className: e,
|
|
1027
1027
|
...t
|
|
1028
1028
|
}) => /* @__PURE__ */ s(
|
|
@@ -1031,7 +1031,7 @@ const ae = a.Provider, se = u(
|
|
|
1031
1031
|
className: r("text-sm font-medium text-gray-700 dark:text-white-alpha-700", e),
|
|
1032
1032
|
...t
|
|
1033
1033
|
}
|
|
1034
|
-
),
|
|
1034
|
+
), Ut = ({
|
|
1035
1035
|
className: e,
|
|
1036
1036
|
...t
|
|
1037
1037
|
}) => /* @__PURE__ */ s(
|
|
@@ -1046,7 +1046,7 @@ const ae = a.Provider, se = u(
|
|
|
1046
1046
|
),
|
|
1047
1047
|
...t
|
|
1048
1048
|
}
|
|
1049
|
-
),
|
|
1049
|
+
), Xt = ({
|
|
1050
1050
|
className: e,
|
|
1051
1051
|
...t
|
|
1052
1052
|
}) => /* @__PURE__ */ s(
|
|
@@ -1245,7 +1245,7 @@ const ae = a.Provider, se = u(
|
|
|
1245
1245
|
className: r(o({ slot: "overlay" }), e),
|
|
1246
1246
|
...t
|
|
1247
1247
|
}
|
|
1248
|
-
),
|
|
1248
|
+
), ka = ({
|
|
1249
1249
|
className: e,
|
|
1250
1250
|
...t
|
|
1251
1251
|
}) => /* @__PURE__ */ s(
|
|
@@ -1258,7 +1258,7 @@ const ae = a.Provider, se = u(
|
|
|
1258
1258
|
),
|
|
1259
1259
|
...t
|
|
1260
1260
|
}
|
|
1261
|
-
),
|
|
1261
|
+
), Aa = ({
|
|
1262
1262
|
className: e,
|
|
1263
1263
|
...t
|
|
1264
1264
|
}) => /* @__PURE__ */ s(
|
|
@@ -1422,7 +1422,7 @@ const ae = a.Provider, se = u(
|
|
|
1422
1422
|
{
|
|
1423
1423
|
className: r(
|
|
1424
1424
|
"mb-8 flex flex-col gap-2 data-[hidden]:hidden",
|
|
1425
|
-
"data-[input-type=
|
|
1425
|
+
"data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",
|
|
1426
1426
|
e
|
|
1427
1427
|
),
|
|
1428
1428
|
...t
|
|
@@ -1507,7 +1507,7 @@ const ae = a.Provider, se = u(
|
|
|
1507
1507
|
className: r(p({ slot: "indicator" }), e),
|
|
1508
1508
|
...t
|
|
1509
1509
|
}
|
|
1510
|
-
),
|
|
1510
|
+
), $a = a.FormFieldSelect, Ja = ({
|
|
1511
1511
|
className: e,
|
|
1512
1512
|
...t
|
|
1513
1513
|
}) => /* @__PURE__ */ s(
|
|
@@ -1516,7 +1516,7 @@ const ae = a.Provider, se = u(
|
|
|
1516
1516
|
className: r(i({ slot: "trigger" }), e),
|
|
1517
1517
|
...t
|
|
1518
1518
|
}
|
|
1519
|
-
),
|
|
1519
|
+
), Ka = a.FormFieldSelectValue, Ua = ({
|
|
1520
1520
|
className: e,
|
|
1521
1521
|
...t
|
|
1522
1522
|
}) => /* @__PURE__ */ s(
|
|
@@ -1525,7 +1525,7 @@ const ae = a.Provider, se = u(
|
|
|
1525
1525
|
className: r("h-4 w-4 opacity-45", e),
|
|
1526
1526
|
...t
|
|
1527
1527
|
}
|
|
1528
|
-
),
|
|
1528
|
+
), Xa = ({
|
|
1529
1529
|
className: e,
|
|
1530
1530
|
...t
|
|
1531
1531
|
}) => /* @__PURE__ */ s(
|
|
@@ -1651,16 +1651,16 @@ export {
|
|
|
1651
1651
|
Bt as AttachmentsBarAttachmentDelete,
|
|
1652
1652
|
yt as AttachmentsBarAttachmentIcon,
|
|
1653
1653
|
It as AttachmentsBarAttachmentTitle,
|
|
1654
|
-
|
|
1654
|
+
$t as AttachmentsBarForm,
|
|
1655
1655
|
Yt as AttachmentsBarFormContent,
|
|
1656
1656
|
ta as AttachmentsBarFormContentError,
|
|
1657
1657
|
ea as AttachmentsBarFormContentInput,
|
|
1658
1658
|
Zt as AttachmentsBarFormContentLabel,
|
|
1659
1659
|
aa as AttachmentsBarFormSubmitButton,
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1660
|
+
Jt as AttachmentsBarFormTitle,
|
|
1661
|
+
Xt as AttachmentsBarFormTitleError,
|
|
1662
|
+
Ut as AttachmentsBarFormTitleInput,
|
|
1663
|
+
Kt as AttachmentsBarFormTitleLabel,
|
|
1664
1664
|
vt as AttachmentsBarInfoTip,
|
|
1665
1665
|
Lt as AttachmentsBarInfoTipArrow,
|
|
1666
1666
|
Tt as AttachmentsBarInfoTipIcon,
|
|
@@ -1689,7 +1689,7 @@ export {
|
|
|
1689
1689
|
he as ContentScrollAreaViewport,
|
|
1690
1690
|
re as ConversationLoading,
|
|
1691
1691
|
ue as Disclaimer,
|
|
1692
|
-
|
|
1692
|
+
ke as DisclaimerArrow,
|
|
1693
1693
|
Ce as DisclaimerContent,
|
|
1694
1694
|
xe as DisclaimerLabel,
|
|
1695
1695
|
Fe as DisclaimerText,
|
|
@@ -1703,8 +1703,8 @@ export {
|
|
|
1703
1703
|
Ca as FeedbackModal,
|
|
1704
1704
|
Ea as FeedbackModalBody,
|
|
1705
1705
|
wa as FeedbackModalClose,
|
|
1706
|
-
|
|
1707
|
-
|
|
1706
|
+
ka as FeedbackModalContent,
|
|
1707
|
+
Aa as FeedbackModalHeader,
|
|
1708
1708
|
Fa as FeedbackModalOverlay,
|
|
1709
1709
|
va as FeedbackSubmitButton,
|
|
1710
1710
|
ft as Footer,
|
|
@@ -1721,14 +1721,14 @@ export {
|
|
|
1721
1721
|
as as FormFieldError,
|
|
1722
1722
|
Va as FormFieldFile,
|
|
1723
1723
|
_a as FormFieldLabel,
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1724
|
+
$a as FormFieldSelect,
|
|
1725
|
+
Xa as FormFieldSelectContent,
|
|
1726
|
+
Ua as FormFieldSelectIcon,
|
|
1727
1727
|
Za as FormFieldSelectItem,
|
|
1728
1728
|
ts as FormFieldSelectItemIndicator,
|
|
1729
1729
|
es as FormFieldSelectItemText,
|
|
1730
|
-
|
|
1731
|
-
|
|
1730
|
+
Ja as FormFieldSelectTrigger,
|
|
1731
|
+
Ka as FormFieldSelectValue,
|
|
1732
1732
|
Ya as FormFieldSelectViewport,
|
|
1733
1733
|
ja as FormFieldText,
|
|
1734
1734
|
Ra as FormFieldTextArea,
|
|
@@ -1751,7 +1751,7 @@ export {
|
|
|
1751
1751
|
xa as HelpActionsMenuItem,
|
|
1752
1752
|
fa as HelpActionsMenuItemIcon,
|
|
1753
1753
|
ba as HelpActionsTrigger,
|
|
1754
|
-
|
|
1754
|
+
kt as Input,
|
|
1755
1755
|
Ct as InputFieldset,
|
|
1756
1756
|
Ft as InputGroup,
|
|
1757
1757
|
Le as IntroMessageWrapper,
|
|
@@ -1760,15 +1760,15 @@ export {
|
|
|
1760
1760
|
at as MessageActions,
|
|
1761
1761
|
Re as MessageAttachments,
|
|
1762
1762
|
Ge as MessageAttachmentsItem,
|
|
1763
|
-
|
|
1764
|
-
|
|
1763
|
+
$e as MessageAttachmentsItemIcon,
|
|
1764
|
+
Je as MessageAttachmentsItemTitle,
|
|
1765
1765
|
qe as MessageAttachmentsList,
|
|
1766
|
-
|
|
1766
|
+
Ke as MessageAttachmentsPreview,
|
|
1767
1767
|
et as MessageAttachmentsPreviewBody,
|
|
1768
1768
|
Ze as MessageAttachmentsPreviewClose,
|
|
1769
|
-
|
|
1769
|
+
Xe as MessageAttachmentsPreviewContent,
|
|
1770
1770
|
Ye as MessageAttachmentsPreviewHeader,
|
|
1771
|
-
|
|
1771
|
+
Ue as MessageAttachmentsPreviewOverlay,
|
|
1772
1772
|
Qe as MessageAvatar,
|
|
1773
1773
|
ze as MessageAvatarContent,
|
|
1774
1774
|
Pe as MessageAvatarFallback,
|
|
@@ -1797,11 +1797,11 @@ export {
|
|
|
1797
1797
|
ae as Provider,
|
|
1798
1798
|
Me as QuickQuestion,
|
|
1799
1799
|
Ne as QuickQuestionButton,
|
|
1800
|
-
|
|
1800
|
+
Ae as QuickQuestions,
|
|
1801
1801
|
we as QuickQuestionsLabel,
|
|
1802
1802
|
Ee as QuickQuestionsList,
|
|
1803
1803
|
oe as Root,
|
|
1804
|
-
|
|
1804
|
+
At as SendButton,
|
|
1805
1805
|
wt as SendButtonIcon,
|
|
1806
1806
|
ma as TaglineBrandName,
|
|
1807
1807
|
oa as TaglineContainer,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),n=require("@inkeep/cxkit-primitives"),l=require("../utils.cjs"),o=require("../ui/recipes/button.cjs"),m=require("../ui/recipes/checkbox.cjs"),s=require("../ui/recipes/input.cjs"),r=require("../ui/recipes/select.cjs"),
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),n=require("@inkeep/cxkit-primitives"),l=require("../utils.cjs"),o=require("../ui/recipes/button.cjs"),m=require("../ui/recipes/checkbox.cjs"),s=require("../ui/recipes/input.cjs"),r=require("../ui/recipes/select.cjs"),a=require("merge-anything"),F=require("../ui/markdown-styles.cjs"),d=e=>i.jsx(n.IntelligentFormPrimitive.Provider,{...e}),g=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.Root,{className:l.cn("max-w-full border divide-y","rounded-xl shadow h-full max-h-full","bg-white dark:bg-gray-dark-950","flex flex-col",e),...t}),x=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.Heading,{className:l.cn("px-5 py-4 font-medium shrink-0",e),...t}),I=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.Content,{className:l.cn("flex-1 overflow-hidden",e),...t}),u=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.ContentScrollArea,{className:l.cn("h-full",e),...t}),S=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.ContentScrollAreaViewport,{className:l.cn("h-full w-full rounded-[inherit] px-5","[&_[data-part=grid]]:px-1","[&_[data-part=grid]]:divide-y",e),...t}),p=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.ContentScrollAreaScrollbar,{className:l.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}),f=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.ContentScrollAreaThumb,{className:l.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),P=n.IntelligentFormPrimitive.ContentScrollAreaCorner,v=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.Success,{className:l.cn("flex flex-col items-center","justify-center mx-1 pt-12 pb-6",e),...t}),b=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.SuccessIcon,{className:l.cn("w-6 h-6 text-green-500 mb-5",e),...t}),h=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.SuccessHeading,{className:l.cn("text-xl font-semibold","mb-3 tracking-tight",e),...t}),y=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.SuccessMessage,{className:l.cn("text-gray-800 dark:text-white-alpha-950",e),...t}),j=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.PrimaryForm,{className:l.cn("w-full flex flex-col py-6",e),...t}),N=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.PrimaryFormDescription,{className:l.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),C=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.PrimaryFormFields,{className:l.cn("w-full gap-8",e),...t}),w=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.PrimaryFormSubmit,{className:l.cn(o.button({preset:"neutralFilled",size:"sm"}),"ml-auto data-[loading]:cursor-wait","data-[submitted]:hidden",e),...t}),k=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.FormField,{className:l.cn("mb-8 flex flex-col gap-2 data-[hidden]:hidden","data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",e),...t}),A=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.FormFieldLabel,{className:l.cn("font-medium text-sm text-gray-700","dark:text-white-alpha-700 ","font-medium relative","data-[required]:after:absolute",'data-[required]:after:[content:"*"]',"data-[required]:after:ml-1","data-[required]:after:mt-0","data-[required]:after:text-red-500","dark:data-[required]:after:text-red-300",e),...t}),T=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.FormFieldText,{className:l.cn(s.input({size:"sm",variant:"outline"}),e),...t}),B=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.FormFieldEmail,{className:l.cn(s.input({size:"sm",variant:"outline"}),e),...t}),R=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.FormFieldFile,{className:l.cn(s.input({size:"sm",variant:"outline"}),"text-sm pl-2 file:h-full file:cursor-pointer py-0","file:bg-transparent file:border-none file:font-medium","file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",e),...t}),q=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.FormFieldTextArea,{className:l.cn(s.input({size:"sm",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),H=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.FormFieldCheckbox,{className:l.cn(m.checkbox({slot:"root"}),e),...t}),L=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.FormFieldCheckboxIndicator,{className:l.cn(m.checkbox({slot:"indicator"}),e),...t}),E=n.IntelligentFormPrimitive.FormFieldSelect,V=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.FormFieldSelectTrigger,{className:l.cn(r.select({slot:"trigger"}),"text-sm",e),...t}),z=n.IntelligentFormPrimitive.FormFieldSelectValue,D=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.FormFieldSelectIcon,{className:l.cn("h-4 w-4 opacity-45",e),...t}),M=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.FormFieldSelectContent,{className:l.cn(r.select({slot:"content"}),e),...t}),_=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.FormFieldSelectViewport,{className:l.cn(r.select({slot:"viewport"}),e),...t}),O=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.FormFieldSelectItem,{className:l.cn(r.select({slot:"item"}),"text-sm",e),...t}),G=n.IntelligentFormPrimitive.FormFieldSelectItemText,J=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.FormFieldSelectItemIndicator,{className:l.cn(r.select({slot:"itemIndicator"}),e),...t}),K=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.FormFieldError,{className:l.cn("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),Q=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.BotHeading,{className:l.cn("flex items-center gap-2",e),...t}),U=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.BotHeadingIcon,{className:l.cn("border bg-gradient-to-t","from-gray-100 dark:from-gray-dark-600 p-1 rounded-md","w-6 h-6 text-gray-600 dark:text-white-alpha-700",e),...t}),W=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.BotHeadingName,{className:l.cn("text-gray-800 dark:text-white-alpha-950 text-sm font-semibold",e),...t}),X=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.Loading,{className:l.cn("py-6 flex flex-wrap","gap-x-3 gap-y-6","[&>:first-child]:basis-full text-sm",e),...t}),Y=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.ConfidentResponse,{className:l.cn("w-full flex flex-col py-6 gap-6 min-w-0 text-sm",e),...t}),Z=({className:e,componentStyles:t,...c})=>i.jsx(n.IntelligentFormPrimitive.ConfidentAnswer,{className:l.cn("max-w-full ",e),componentStyles:a.merge(F.markdownStyles,t??{}),...c}),$=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.ConfidentResponseButton,{className:l.cn(o.button({preset:"neutralFilled",size:"sm"}),"ml-auto gap-2 data-[escalated]:hidden",e),...t}),ee=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.ConfidentResponseButtonIcon,{className:l.cn("",e),...t}),te=n.IntelligentFormPrimitive.ConfidentResponseButtonLabel,ne=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.SecondaryForm,{className:l.cn("w-full flex flex-col py-6 gap-6",e),...t}),ie=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.SecondaryFormDescription,{className:l.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),le=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.SecondaryFormFields,{className:l.cn("w-full gap-8",e),...t}),re=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.SecondaryFormSubmit,{className:l.cn(o.button({preset:"neutralFilled",size:"sm"}),"ml-auto data-[loading]:cursor-wait","data-[submitted]:hidden",e),...t}),oe=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.Error,{className:l.cn("text-red-500 dark:text-red-300",e),...t}),se=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.Sources,{className:l.cn("w-full flex flex-col gap-6",e),...t}),me=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.SourcesCaption,{className:l.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),ce=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.SourcesList,{className:l.cn("w-full flex flex-wrap gap-2 items-center",e),...t}),ae=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.Source,{className:l.cn(o.button({size:"xs",variant:"outline"}),"text-gray-600 dark:text-white-alpha-700 gap-1",e),...t}),Fe=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.SourceIcon,{className:l.cn("",e),...t}),de=({className:e,...t})=>i.jsx(n.IntelligentFormPrimitive.SourceTitle,{className:l.cn("line-clamp-1",e),...t});exports.BotHeading=Q;exports.BotHeadingIcon=U;exports.BotHeadingName=W;exports.Checkbox=H;exports.CheckboxIndicator=L;exports.ConfidentAnswer=Z;exports.ConfidentResponse=Y;exports.ConfidentResponseButton=$;exports.ConfidentResponseButtonIcon=ee;exports.ConfidentResponseButtonLabel=te;exports.Content=I;exports.ContentScrollArea=u;exports.ContentScrollAreaCorner=P;exports.ContentScrollAreaScrollbar=p;exports.ContentScrollAreaThumb=f;exports.ContentScrollAreaViewport=S;exports.Email=B;exports.Error=oe;exports.Field=k;exports.FieldError=K;exports.FieldLabel=A;exports.File=R;exports.Heading=x;exports.Loading=X;exports.PrimaryForm=j;exports.PrimaryFormDescription=N;exports.PrimaryFormFields=C;exports.PrimaryFormSubmit=w;exports.Provider=d;exports.Root=g;exports.SecondaryForm=ne;exports.SecondaryFormDescription=ie;exports.SecondaryFormFields=le;exports.SecondaryFormSubmit=re;exports.Select=E;exports.SelectContent=M;exports.SelectIcon=D;exports.SelectItem=O;exports.SelectItemIndicator=J;exports.SelectItemText=G;exports.SelectTrigger=V;exports.SelectValue=z;exports.SelectViewport=_;exports.Source=ae;exports.SourceIcon=Fe;exports.SourceTitle=de;exports.Sources=se;exports.SourcesCaption=me;exports.SourcesList=ce;exports.Success=v;exports.SuccessHeading=h;exports.SuccessIcon=b;exports.SuccessMessage=y;exports.Text=T;exports.TextArea=q;
|
|
@@ -8,7 +8,7 @@ import { input as s } from "../ui/recipes/input.js";
|
|
|
8
8
|
import { select as r } from "../ui/recipes/select.js";
|
|
9
9
|
import { merge as m } from "merge-anything";
|
|
10
10
|
import { markdownStyles as d } from "../ui/markdown-styles.js";
|
|
11
|
-
const
|
|
11
|
+
const y = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), N = ({
|
|
12
12
|
className: e,
|
|
13
13
|
...t
|
|
14
14
|
}) => /* @__PURE__ */ l(
|
|
@@ -23,7 +23,7 @@ const h = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), C = ({
|
|
|
23
23
|
),
|
|
24
24
|
...t
|
|
25
25
|
}
|
|
26
|
-
),
|
|
26
|
+
), b = ({
|
|
27
27
|
className: e,
|
|
28
28
|
...t
|
|
29
29
|
}) => /* @__PURE__ */ l(
|
|
@@ -32,7 +32,7 @@ const h = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), C = ({
|
|
|
32
32
|
className: n("px-5 py-4 font-medium shrink-0", e),
|
|
33
33
|
...t
|
|
34
34
|
}
|
|
35
|
-
),
|
|
35
|
+
), C = ({
|
|
36
36
|
className: e,
|
|
37
37
|
...t
|
|
38
38
|
}) => /* @__PURE__ */ l(
|
|
@@ -82,7 +82,7 @@ const h = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), C = ({
|
|
|
82
82
|
className: n("relative flex-1 rounded-full", "bg-gray-300 dark:bg-white-alpha-200", e),
|
|
83
83
|
...t
|
|
84
84
|
}
|
|
85
|
-
), T = o.ContentScrollAreaCorner,
|
|
85
|
+
), T = o.ContentScrollAreaCorner, P = ({
|
|
86
86
|
className: e,
|
|
87
87
|
...t
|
|
88
88
|
}) => /* @__PURE__ */ l(
|
|
@@ -91,7 +91,7 @@ const h = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), C = ({
|
|
|
91
91
|
className: n("flex flex-col items-center", "justify-center mx-1 pt-12 pb-6", e),
|
|
92
92
|
...t
|
|
93
93
|
}
|
|
94
|
-
),
|
|
94
|
+
), v = ({
|
|
95
95
|
className: e,
|
|
96
96
|
...t
|
|
97
97
|
}) => /* @__PURE__ */ l(
|
|
@@ -100,7 +100,7 @@ const h = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), C = ({
|
|
|
100
100
|
className: n("w-6 h-6 text-green-500 mb-5", e),
|
|
101
101
|
...t
|
|
102
102
|
}
|
|
103
|
-
),
|
|
103
|
+
), H = ({
|
|
104
104
|
className: e,
|
|
105
105
|
...t
|
|
106
106
|
}) => /* @__PURE__ */ l(
|
|
@@ -167,7 +167,7 @@ const h = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), C = ({
|
|
|
167
167
|
{
|
|
168
168
|
className: n(
|
|
169
169
|
"mb-8 flex flex-col gap-2 data-[hidden]:hidden",
|
|
170
|
-
"data-[input-type=
|
|
170
|
+
"data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",
|
|
171
171
|
e
|
|
172
172
|
),
|
|
173
173
|
...t
|
|
@@ -210,7 +210,7 @@ const h = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), C = ({
|
|
|
210
210
|
className: n(s({ size: "sm", variant: "outline" }), e),
|
|
211
211
|
...t
|
|
212
212
|
}
|
|
213
|
-
),
|
|
213
|
+
), _ = ({
|
|
214
214
|
className: e,
|
|
215
215
|
...t
|
|
216
216
|
}) => /* @__PURE__ */ l(
|
|
@@ -225,7 +225,7 @@ const h = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), C = ({
|
|
|
225
225
|
),
|
|
226
226
|
...t
|
|
227
227
|
}
|
|
228
|
-
),
|
|
228
|
+
), G = ({
|
|
229
229
|
className: e,
|
|
230
230
|
...t
|
|
231
231
|
}) => /* @__PURE__ */ l(
|
|
@@ -234,7 +234,7 @@ const h = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), C = ({
|
|
|
234
234
|
className: n(s({ size: "sm", variant: "outline" }), "min-h-20 px-4 py-2", e),
|
|
235
235
|
...t
|
|
236
236
|
}
|
|
237
|
-
),
|
|
237
|
+
), J = ({
|
|
238
238
|
className: e,
|
|
239
239
|
...t
|
|
240
240
|
}) => /* @__PURE__ */ l(
|
|
@@ -243,7 +243,7 @@ const h = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), C = ({
|
|
|
243
243
|
className: n(i({ slot: "root" }), e),
|
|
244
244
|
...t
|
|
245
245
|
}
|
|
246
|
-
),
|
|
246
|
+
), K = ({
|
|
247
247
|
className: e,
|
|
248
248
|
...t
|
|
249
249
|
}) => /* @__PURE__ */ l(
|
|
@@ -252,7 +252,7 @@ const h = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), C = ({
|
|
|
252
252
|
className: n(i({ slot: "indicator" }), e),
|
|
253
253
|
...t
|
|
254
254
|
}
|
|
255
|
-
),
|
|
255
|
+
), O = o.FormFieldSelect, Q = ({
|
|
256
256
|
className: e,
|
|
257
257
|
...t
|
|
258
258
|
}) => /* @__PURE__ */ l(
|
|
@@ -261,7 +261,7 @@ const h = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), C = ({
|
|
|
261
261
|
className: n(r({ slot: "trigger" }), "text-sm", e),
|
|
262
262
|
...t
|
|
263
263
|
}
|
|
264
|
-
),
|
|
264
|
+
), U = o.FormFieldSelectValue, W = ({
|
|
265
265
|
className: e,
|
|
266
266
|
...t
|
|
267
267
|
}) => /* @__PURE__ */ l(
|
|
@@ -270,7 +270,7 @@ const h = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), C = ({
|
|
|
270
270
|
className: n("h-4 w-4 opacity-45", e),
|
|
271
271
|
...t
|
|
272
272
|
}
|
|
273
|
-
),
|
|
273
|
+
), X = ({
|
|
274
274
|
className: e,
|
|
275
275
|
...t
|
|
276
276
|
}) => /* @__PURE__ */ l(
|
|
@@ -487,10 +487,10 @@ const h = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), C = ({
|
|
|
487
487
|
),
|
|
488
488
|
...t
|
|
489
489
|
}
|
|
490
|
-
),
|
|
490
|
+
), he = ({
|
|
491
491
|
className: e,
|
|
492
492
|
...t
|
|
493
|
-
}) => /* @__PURE__ */ l(o.SourceIcon, { className: n("", e), ...t }),
|
|
493
|
+
}) => /* @__PURE__ */ l(o.SourceIcon, { className: n("", e), ...t }), ye = ({
|
|
494
494
|
className: e,
|
|
495
495
|
...t
|
|
496
496
|
}) => /* @__PURE__ */ l(o.SourceTitle, { className: n("line-clamp-1", e), ...t });
|
|
@@ -498,14 +498,14 @@ export {
|
|
|
498
498
|
oe as BotHeading,
|
|
499
499
|
le as BotHeadingIcon,
|
|
500
500
|
ne as BotHeadingName,
|
|
501
|
-
|
|
502
|
-
|
|
501
|
+
J as Checkbox,
|
|
502
|
+
K as CheckboxIndicator,
|
|
503
503
|
se as ConfidentAnswer,
|
|
504
504
|
ae as ConfidentResponse,
|
|
505
505
|
ie as ConfidentResponseButton,
|
|
506
506
|
ce as ConfidentResponseButtonIcon,
|
|
507
507
|
me as ConfidentResponseButtonLabel,
|
|
508
|
-
|
|
508
|
+
C as Content,
|
|
509
509
|
w as ContentScrollArea,
|
|
510
510
|
T as ContentScrollAreaCorner,
|
|
511
511
|
A as ContentScrollAreaScrollbar,
|
|
@@ -516,38 +516,38 @@ export {
|
|
|
516
516
|
q as Field,
|
|
517
517
|
te as FieldError,
|
|
518
518
|
D as FieldLabel,
|
|
519
|
-
|
|
520
|
-
|
|
519
|
+
_ as File,
|
|
520
|
+
b as Heading,
|
|
521
521
|
re as Loading,
|
|
522
522
|
L as PrimaryForm,
|
|
523
523
|
E as PrimaryFormDescription,
|
|
524
524
|
V as PrimaryFormFields,
|
|
525
525
|
z as PrimaryFormSubmit,
|
|
526
|
-
|
|
527
|
-
|
|
526
|
+
y as Provider,
|
|
527
|
+
N as Root,
|
|
528
528
|
de as SecondaryForm,
|
|
529
529
|
Fe as SecondaryFormDescription,
|
|
530
530
|
ge as SecondaryFormFields,
|
|
531
531
|
ue as SecondaryFormSubmit,
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
532
|
+
O as Select,
|
|
533
|
+
X as SelectContent,
|
|
534
|
+
W as SelectIcon,
|
|
535
535
|
Z as SelectItem,
|
|
536
536
|
ee as SelectItemIndicator,
|
|
537
537
|
$ as SelectItemText,
|
|
538
|
-
|
|
539
|
-
|
|
538
|
+
Q as SelectTrigger,
|
|
539
|
+
U as SelectValue,
|
|
540
540
|
Y as SelectViewport,
|
|
541
541
|
Ie as Source,
|
|
542
|
-
|
|
543
|
-
|
|
542
|
+
he as SourceIcon,
|
|
543
|
+
ye as SourceTitle,
|
|
544
544
|
pe as Sources,
|
|
545
545
|
xe as SourcesCaption,
|
|
546
546
|
fe as SourcesList,
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
547
|
+
P as Success,
|
|
548
|
+
H as SuccessHeading,
|
|
549
|
+
v as SuccessIcon,
|
|
550
550
|
R as SuccessMessage,
|
|
551
551
|
M as Text,
|
|
552
|
-
|
|
552
|
+
G as TextArea
|
|
553
553
|
};
|
package/dist/inkeep.css.cjs
CHANGED
|
@@ -2375,7 +2375,7 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2375
2375
|
flex-direction: row;
|
|
2376
2376
|
}
|
|
2377
2377
|
|
|
2378
|
-
.data-\\[input-type\\=
|
|
2378
|
+
.data-\\[input-type\\=checkbox\\]\\:flex-row[data-input-type="checkbox"] {
|
|
2379
2379
|
flex-direction: row;
|
|
2380
2380
|
}
|
|
2381
2381
|
|
|
@@ -2383,7 +2383,7 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2383
2383
|
align-items: flex-start;
|
|
2384
2384
|
}
|
|
2385
2385
|
|
|
2386
|
-
.data-\\[input-type\\=
|
|
2386
|
+
.data-\\[input-type\\=checkbox\\]\\:items-center[data-input-type="checkbox"] {
|
|
2387
2387
|
align-items: center;
|
|
2388
2388
|
}
|
|
2389
2389
|
|
package/dist/inkeep.css.js
CHANGED
|
@@ -2376,7 +2376,7 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2376
2376
|
flex-direction: row;
|
|
2377
2377
|
}
|
|
2378
2378
|
|
|
2379
|
-
.data-\\[input-type\\=
|
|
2379
|
+
.data-\\[input-type\\=checkbox\\]\\:flex-row[data-input-type="checkbox"] {
|
|
2380
2380
|
flex-direction: row;
|
|
2381
2381
|
}
|
|
2382
2382
|
|
|
@@ -2384,7 +2384,7 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2384
2384
|
align-items: flex-start;
|
|
2385
2385
|
}
|
|
2386
2386
|
|
|
2387
|
-
.data-\\[input-type\\=
|
|
2387
|
+
.data-\\[input-type\\=checkbox\\]\\:items-center[data-input-type="checkbox"] {
|
|
2388
2388
|
align-items: center;
|
|
2389
2389
|
}
|
|
2390
2390
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/cxkit-styled",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Inkeep, Inc. Customer License (IICL) v1.1",
|
|
6
6
|
"homepage": "",
|
|
@@ -14,7 +14,22 @@
|
|
|
14
14
|
"files": [
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
|
-
"clean-package": "
|
|
17
|
+
"clean-package": "./clean-package.config.json",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"source": "./src/index.ts",
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"default": "./dist/index.js"
|
|
24
|
+
},
|
|
25
|
+
"require": {
|
|
26
|
+
"types": "./dist/index.d.cts",
|
|
27
|
+
"default": "./dist/index.cjs"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"./package.json": "./package.json",
|
|
31
|
+
"./inkeep.css": "./src/inkeep.css"
|
|
32
|
+
},
|
|
18
33
|
"publishConfig": {
|
|
19
34
|
"access": "public"
|
|
20
35
|
},
|
|
@@ -24,11 +39,11 @@
|
|
|
24
39
|
"clsx": "2.1.1",
|
|
25
40
|
"merge-anything": "6.0.2",
|
|
26
41
|
"tailwind-merge": "2.6.0",
|
|
27
|
-
"@inkeep/cxkit-primitives": "0.5.
|
|
42
|
+
"@inkeep/cxkit-primitives": "0.5.4"
|
|
28
43
|
},
|
|
29
44
|
"devDependencies": {
|
|
30
45
|
"@biomejs/biome": "1.9.4",
|
|
31
|
-
"@types/react": "19.0.
|
|
46
|
+
"@types/react": "19.0.10",
|
|
32
47
|
"@types/react-dom": "19.0.3",
|
|
33
48
|
"@vitejs/plugin-react": "4.3.4",
|
|
34
49
|
"autoprefixer": "10.4.20",
|
|
@@ -43,25 +58,11 @@
|
|
|
43
58
|
"typescript": "5.7.3",
|
|
44
59
|
"vite": "5.4.11",
|
|
45
60
|
"vite-plugin-dts": "4.4.0",
|
|
46
|
-
"@inkeep/cxkit-theme": "0.5.
|
|
47
|
-
"@inkeep/cxkit-types": "0.5.
|
|
61
|
+
"@inkeep/cxkit-theme": "0.5.4",
|
|
62
|
+
"@inkeep/cxkit-types": "0.5.4"
|
|
48
63
|
},
|
|
49
64
|
"module": "dist/index.js",
|
|
50
65
|
"types": "dist/index.d.ts",
|
|
51
|
-
"exports": {
|
|
52
|
-
".": {
|
|
53
|
-
"source": "./src/index.ts",
|
|
54
|
-
"import": {
|
|
55
|
-
"types": "./dist/index.d.ts",
|
|
56
|
-
"default": "./dist/index.js"
|
|
57
|
-
},
|
|
58
|
-
"require": {
|
|
59
|
-
"types": "./dist/index.d.cts",
|
|
60
|
-
"default": "./dist/index.cjs"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"./package.json": "./package.json"
|
|
64
|
-
},
|
|
65
66
|
"scripts": {
|
|
66
67
|
"css:gen": "postcss ./src/index.css -o ./src/inkeep.css",
|
|
67
68
|
"build": "pnpm css:gen && vite build",
|