@inkeep/cxkit-styled 0.5.6 → 0.5.9
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})),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;
|
|
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"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","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"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","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"}),"my-6 md:my-12 top-0 left-[unset] transform-none relative","p-8 md:p-10 max-w-[480px]",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;
|
|
@@ -4,7 +4,7 @@ import { FC, ForwardRefExoticComponent, RefAttributes, MemoExoticComponent, Comp
|
|
|
4
4
|
import { ScrollAreaViewportProps, ScrollAreaCornerProps } from '@radix-ui/react-scroll-area';
|
|
5
5
|
import { MarkdownProps } from '@inkeep/cxkit-primitives/src/atoms/markdown';
|
|
6
6
|
import { IconBaseProps } from 'react-icons/lib';
|
|
7
|
-
import { DialogProps } from '@
|
|
7
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
8
8
|
import { TextareaAutosizeProps } from 'react-textarea-autosize';
|
|
9
9
|
import { TooltipProps, TooltipArrowProps } from '@radix-ui/react-tooltip';
|
|
10
10
|
import { SelectProps, SelectValueProps, SelectItemTextProps } from '@radix-ui/react-select';
|
|
@@ -4,7 +4,7 @@ import { FC, ForwardRefExoticComponent, RefAttributes, MemoExoticComponent, Comp
|
|
|
4
4
|
import { ScrollAreaViewportProps, ScrollAreaCornerProps } from '@radix-ui/react-scroll-area';
|
|
5
5
|
import { MarkdownProps } from '@inkeep/cxkit-primitives/src/atoms/markdown';
|
|
6
6
|
import { IconBaseProps } from 'react-icons/lib';
|
|
7
|
-
import { DialogProps } from '@
|
|
7
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
8
8
|
import { TextareaAutosizeProps } from 'react-textarea-autosize';
|
|
9
9
|
import { TooltipProps, TooltipArrowProps } from '@radix-ui/react-tooltip';
|
|
10
10
|
import { SelectProps, SelectValueProps, SelectItemTextProps } from '@radix-ui/react-select';
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as s } from "react/jsx-runtime";
|
|
3
3
|
import { EmbeddedChatPrimitive as a, composeRefs as E, useResizeObserver as M } from "@inkeep/cxkit-primitives";
|
|
4
|
-
import { aiChatPageWrapper as
|
|
4
|
+
import { aiChatPageWrapper as y } from "../ui/recipes/ai-chat-page-wrapper.js";
|
|
5
5
|
import { attachment as c } from "../ui/recipes/attachment.js";
|
|
6
6
|
import { button as d } from "../ui/recipes/button.js";
|
|
7
7
|
import { checkbox as p } from "../ui/recipes/checkbox.js";
|
|
8
8
|
import { citation as m } from "../ui/recipes/citation.js";
|
|
9
|
-
import { icon as
|
|
9
|
+
import { icon as N } from "../ui/recipes/icon.js";
|
|
10
10
|
import { input as l } from "../ui/recipes/input.js";
|
|
11
11
|
import { link as I } from "../ui/recipes/link.js";
|
|
12
12
|
import { modal as o } from "../ui/recipes/modal.js";
|
|
13
13
|
import { popover as b } from "../ui/recipes/popover.js";
|
|
14
|
-
import { scrollable as
|
|
14
|
+
import { scrollable as u } from "../ui/recipes/scrollable.js";
|
|
15
15
|
import { select as i } from "../ui/recipes/select.js";
|
|
16
16
|
import { cva as B } from "class-variance-authority";
|
|
17
|
-
import { merge as
|
|
18
|
-
import { forwardRef as
|
|
17
|
+
import { merge as v } from "merge-anything";
|
|
18
|
+
import { forwardRef as g, useRef as S } from "react";
|
|
19
19
|
import { cn as r } from "../utils.js";
|
|
20
20
|
import { markdownStyles as T } from "../ui/markdown-styles.js";
|
|
21
21
|
import { LoadingIndicator as H } from "./loading-indicator.js";
|
|
22
22
|
import { ConversationLoading as L } from "./embedded-chat/conversation-loading.js";
|
|
23
|
-
const ae = a.Provider, se =
|
|
23
|
+
const ae = a.Provider, se = g(
|
|
24
24
|
({ className: e, size: t, variant: n, ...x }, h) => /* @__PURE__ */ s(
|
|
25
25
|
a.Wrapper,
|
|
26
26
|
{
|
|
27
27
|
ref: h,
|
|
28
28
|
className: r(
|
|
29
|
-
|
|
29
|
+
y({ size: t, variant: n }),
|
|
30
30
|
"data-[hidden]:hidden rounded-md flex",
|
|
31
31
|
"bg-white dark:bg-gray-dark-950",
|
|
32
32
|
"data-[composite]:w-full",
|
|
@@ -52,7 +52,7 @@ const ae = a.Provider, se = u(
|
|
|
52
52
|
}) => /* @__PURE__ */ s(
|
|
53
53
|
a.Root,
|
|
54
54
|
{
|
|
55
|
-
className: r(
|
|
55
|
+
className: r(u({ section: "wrapper" }), "rounded-[inherit] font-body", e),
|
|
56
56
|
...t
|
|
57
57
|
}
|
|
58
58
|
), de = ({
|
|
@@ -62,7 +62,7 @@ const ae = a.Provider, se = u(
|
|
|
62
62
|
a.Header,
|
|
63
63
|
{
|
|
64
64
|
className: r(
|
|
65
|
-
|
|
65
|
+
u({ section: "header" }),
|
|
66
66
|
"flex items-center",
|
|
67
67
|
"bg-white dark:bg-gray-dark-950",
|
|
68
68
|
"data-[show-toolbar]:after:absolute",
|
|
@@ -115,7 +115,7 @@ const ae = a.Provider, se = u(
|
|
|
115
115
|
}) => /* @__PURE__ */ s(
|
|
116
116
|
a.Content,
|
|
117
117
|
{
|
|
118
|
-
className: r(
|
|
118
|
+
className: r(u({ section: "content" }), "justify-end", e),
|
|
119
119
|
...t
|
|
120
120
|
}
|
|
121
121
|
), ie = ({
|
|
@@ -127,7 +127,7 @@ const ae = a.Provider, se = u(
|
|
|
127
127
|
className: r("overflow-hidden", e),
|
|
128
128
|
...t
|
|
129
129
|
}
|
|
130
|
-
), he =
|
|
130
|
+
), he = g(({ className: e, ...t }, n) => /* @__PURE__ */ s(
|
|
131
131
|
a.ContentScrollAreaViewport,
|
|
132
132
|
{
|
|
133
133
|
ref: n,
|
|
@@ -157,7 +157,7 @@ const ae = a.Provider, se = u(
|
|
|
157
157
|
className: r("relative flex-1 rounded-full", "bg-gray-300 dark:bg-white-alpha-200", e),
|
|
158
158
|
...t
|
|
159
159
|
}
|
|
160
|
-
),
|
|
160
|
+
), ue = a.ContentScrollAreaCorner, ge = ({
|
|
161
161
|
className: e,
|
|
162
162
|
...t
|
|
163
163
|
}) => /* @__PURE__ */ s(
|
|
@@ -238,8 +238,8 @@ const ae = a.Provider, se = u(
|
|
|
238
238
|
className: r("flex flex-col", "ikp-md:flex-row", "flex-wrap gap-2", e),
|
|
239
239
|
...t
|
|
240
240
|
}
|
|
241
|
-
), Me =
|
|
242
|
-
const h =
|
|
241
|
+
), Me = g(({ className: e, style: t, ...n }, x) => {
|
|
242
|
+
const h = S(null), F = E(x, h), { width: k = 0, height: A = 0 } = M({
|
|
243
243
|
ref: h,
|
|
244
244
|
box: "border-box"
|
|
245
245
|
}), w = Math.max(A, k);
|
|
@@ -270,7 +270,7 @@ const ae = a.Provider, se = u(
|
|
|
270
270
|
...n
|
|
271
271
|
}
|
|
272
272
|
);
|
|
273
|
-
}),
|
|
273
|
+
}), ye = ({
|
|
274
274
|
className: e,
|
|
275
275
|
...t
|
|
276
276
|
}) => /* @__PURE__ */ s(
|
|
@@ -289,7 +289,7 @@ const ae = a.Provider, se = u(
|
|
|
289
289
|
),
|
|
290
290
|
...t
|
|
291
291
|
}
|
|
292
|
-
),
|
|
292
|
+
), Ne = ({
|
|
293
293
|
className: e,
|
|
294
294
|
...t
|
|
295
295
|
}) => /* @__PURE__ */ s(
|
|
@@ -320,7 +320,7 @@ const ae = a.Provider, se = u(
|
|
|
320
320
|
className: r("flex flex-wrap gap-2", e),
|
|
321
321
|
...t
|
|
322
322
|
}
|
|
323
|
-
),
|
|
323
|
+
), ve = ({
|
|
324
324
|
className: e,
|
|
325
325
|
...t
|
|
326
326
|
}) => /* @__PURE__ */ s(
|
|
@@ -339,7 +339,7 @@ const ae = a.Provider, se = u(
|
|
|
339
339
|
),
|
|
340
340
|
...t
|
|
341
341
|
}
|
|
342
|
-
),
|
|
342
|
+
), Se = a.WorkflowIcon, Te = ({
|
|
343
343
|
className: e,
|
|
344
344
|
...t
|
|
345
345
|
}) => /* @__PURE__ */ s(
|
|
@@ -552,7 +552,8 @@ const ae = a.Provider, se = u(
|
|
|
552
552
|
{
|
|
553
553
|
className: r(
|
|
554
554
|
o({ slot: "content" }),
|
|
555
|
-
"
|
|
555
|
+
"my-6 md:my-12 top-0 left-[unset] transform-none relative",
|
|
556
|
+
"p-8 md:p-10 max-w-2xl",
|
|
556
557
|
e
|
|
557
558
|
),
|
|
558
559
|
...t
|
|
@@ -597,7 +598,7 @@ const ae = a.Provider, se = u(
|
|
|
597
598
|
a.Message,
|
|
598
599
|
{
|
|
599
600
|
className: r("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full", e),
|
|
600
|
-
componentStyles:
|
|
601
|
+
componentStyles: v(T, t ?? {}),
|
|
601
602
|
...n
|
|
602
603
|
}
|
|
603
604
|
), at = ({
|
|
@@ -723,7 +724,7 @@ const ae = a.Provider, se = u(
|
|
|
723
724
|
className: r(m({ slot: "tag" }), e),
|
|
724
725
|
...t
|
|
725
726
|
}
|
|
726
|
-
),
|
|
727
|
+
), ut = ({
|
|
727
728
|
className: e,
|
|
728
729
|
...t
|
|
729
730
|
}) => /* @__PURE__ */ s(
|
|
@@ -732,7 +733,7 @@ const ae = a.Provider, se = u(
|
|
|
732
733
|
className: r(m({ slot: "description" }), e),
|
|
733
734
|
...t
|
|
734
735
|
}
|
|
735
|
-
),
|
|
736
|
+
), gt = ({
|
|
736
737
|
className: e,
|
|
737
738
|
...t
|
|
738
739
|
}) => /* @__PURE__ */ s(
|
|
@@ -784,7 +785,7 @@ const ae = a.Provider, se = u(
|
|
|
784
785
|
), Ft = ({
|
|
785
786
|
className: e,
|
|
786
787
|
...t
|
|
787
|
-
}) => /* @__PURE__ */ s(a.InputGroup, { className: r("flex", e), ...t }), kt =
|
|
788
|
+
}) => /* @__PURE__ */ s(a.InputGroup, { className: r("flex", e), ...t }), kt = g(({ className: e, ...t }, n) => /* @__PURE__ */ s(
|
|
788
789
|
a.Input,
|
|
789
790
|
{
|
|
790
791
|
ref: n,
|
|
@@ -822,7 +823,7 @@ const ae = a.Provider, se = u(
|
|
|
822
823
|
}) => /* @__PURE__ */ s(
|
|
823
824
|
a.SendButtonIcon,
|
|
824
825
|
{
|
|
825
|
-
className: r(
|
|
826
|
+
className: r(N(), "text-inherit rotate-[-30deg]", e),
|
|
826
827
|
...t
|
|
827
828
|
}
|
|
828
829
|
), Et = ({
|
|
@@ -847,7 +848,7 @@ const ae = a.Provider, se = u(
|
|
|
847
848
|
className: r("flex items-center gap-2 flex-wrap px-3 min-w-0", e),
|
|
848
849
|
...t
|
|
849
850
|
}
|
|
850
|
-
),
|
|
851
|
+
), yt = ({
|
|
851
852
|
className: e,
|
|
852
853
|
...t
|
|
853
854
|
}) => /* @__PURE__ */ s(
|
|
@@ -856,7 +857,7 @@ const ae = a.Provider, se = u(
|
|
|
856
857
|
className: r(c({ slot: "root" }), e),
|
|
857
858
|
...t
|
|
858
859
|
}
|
|
859
|
-
),
|
|
860
|
+
), Nt = ({
|
|
860
861
|
className: e,
|
|
861
862
|
...t
|
|
862
863
|
}) => /* @__PURE__ */ s(
|
|
@@ -883,7 +884,7 @@ const ae = a.Provider, se = u(
|
|
|
883
884
|
className: r(c({ slot: "delete" }), e),
|
|
884
885
|
...t
|
|
885
886
|
}
|
|
886
|
-
),
|
|
887
|
+
), vt = ({
|
|
887
888
|
className: e,
|
|
888
889
|
...t
|
|
889
890
|
}) => /* @__PURE__ */ s(
|
|
@@ -892,7 +893,7 @@ const ae = a.Provider, se = u(
|
|
|
892
893
|
className: r("flex items-center justify-between", "gap-2 flex-wrap px-3", e),
|
|
893
894
|
...t
|
|
894
895
|
}
|
|
895
|
-
),
|
|
896
|
+
), St = a.AttachmentsBarInfoTip, Tt = ({
|
|
896
897
|
className: e,
|
|
897
898
|
...t
|
|
898
899
|
}) => /* @__PURE__ */ s(
|
|
@@ -949,7 +950,7 @@ const ae = a.Provider, se = u(
|
|
|
949
950
|
{
|
|
950
951
|
className: r(
|
|
951
952
|
o({ slot: "content" }),
|
|
952
|
-
"top-[
|
|
953
|
+
"my-6 md:my-12 top-0 left-[unset] transform-none relative",
|
|
953
954
|
"p-8 md:p-10 max-w-2xl",
|
|
954
955
|
e
|
|
955
956
|
),
|
|
@@ -1195,7 +1196,7 @@ const ae = a.Provider, se = u(
|
|
|
1195
1196
|
className: r(f, e),
|
|
1196
1197
|
...t
|
|
1197
1198
|
}
|
|
1198
|
-
),
|
|
1199
|
+
), ua = ({
|
|
1199
1200
|
className: e,
|
|
1200
1201
|
...t
|
|
1201
1202
|
}) => /* @__PURE__ */ s(
|
|
@@ -1209,7 +1210,7 @@ const ae = a.Provider, se = u(
|
|
|
1209
1210
|
),
|
|
1210
1211
|
...t
|
|
1211
1212
|
}
|
|
1212
|
-
),
|
|
1213
|
+
), ga = ({
|
|
1213
1214
|
className: e,
|
|
1214
1215
|
...t
|
|
1215
1216
|
}) => /* @__PURE__ */ s(
|
|
@@ -1253,7 +1254,8 @@ const ae = a.Provider, se = u(
|
|
|
1253
1254
|
{
|
|
1254
1255
|
className: r(
|
|
1255
1256
|
o({ slot: "content" }),
|
|
1256
|
-
"
|
|
1257
|
+
"my-6 md:my-12 top-0 left-[unset] transform-none relative",
|
|
1258
|
+
"p-8 md:p-10 max-w-[480px]",
|
|
1257
1259
|
e
|
|
1258
1260
|
),
|
|
1259
1261
|
...t
|
|
@@ -1288,7 +1290,7 @@ const ae = a.Provider, se = u(
|
|
|
1288
1290
|
), Ma = ({
|
|
1289
1291
|
className: e,
|
|
1290
1292
|
...t
|
|
1291
|
-
}) => /* @__PURE__ */ s(a.FeedbackForm, { className: r("flex flex-col gap-8", e), ...t }),
|
|
1293
|
+
}) => /* @__PURE__ */ s(a.FeedbackForm, { className: r("flex flex-col gap-8", e), ...t }), ya = ({
|
|
1292
1294
|
className: e,
|
|
1293
1295
|
...t
|
|
1294
1296
|
}) => /* @__PURE__ */ s(
|
|
@@ -1297,7 +1299,7 @@ const ae = a.Provider, se = u(
|
|
|
1297
1299
|
className: r("flex flex-wrap items-center", "gap-[1rem_0.5rem]", e),
|
|
1298
1300
|
...t
|
|
1299
1301
|
}
|
|
1300
|
-
),
|
|
1302
|
+
), Na = ({
|
|
1301
1303
|
className: e,
|
|
1302
1304
|
...t
|
|
1303
1305
|
}) => /* @__PURE__ */ s(
|
|
@@ -1328,7 +1330,7 @@ const ae = a.Provider, se = u(
|
|
|
1328
1330
|
),
|
|
1329
1331
|
...t
|
|
1330
1332
|
}
|
|
1331
|
-
),
|
|
1333
|
+
), va = ({
|
|
1332
1334
|
className: e,
|
|
1333
1335
|
...t
|
|
1334
1336
|
}) => /* @__PURE__ */ s(
|
|
@@ -1337,7 +1339,7 @@ const ae = a.Provider, se = u(
|
|
|
1337
1339
|
className: r("flex-[0_0_100%]", "min-h-20 py-2 border rounded-md", "px-4", e),
|
|
1338
1340
|
...t
|
|
1339
1341
|
}
|
|
1340
|
-
),
|
|
1342
|
+
), Sa = ({
|
|
1341
1343
|
className: e,
|
|
1342
1344
|
...t
|
|
1343
1345
|
}) => /* @__PURE__ */ s(
|
|
@@ -1362,7 +1364,7 @@ const ae = a.Provider, se = u(
|
|
|
1362
1364
|
a.Form,
|
|
1363
1365
|
{
|
|
1364
1366
|
className: r(
|
|
1365
|
-
|
|
1367
|
+
u({ section: "content" }),
|
|
1366
1368
|
"relative pt-4 pb-8 gap-8",
|
|
1367
1369
|
"items-start justify-center w-full",
|
|
1368
1370
|
"px-6 ikp-md:px-14 ikp-md:pb-14",
|
|
@@ -1646,10 +1648,10 @@ export {
|
|
|
1646
1648
|
sa as ActionBar,
|
|
1647
1649
|
ra as Actions,
|
|
1648
1650
|
Et as AttachmentsBar,
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
+
vt as AttachmentsBarActions,
|
|
1652
|
+
yt as AttachmentsBarAttachment,
|
|
1651
1653
|
Bt as AttachmentsBarAttachmentDelete,
|
|
1652
|
-
|
|
1654
|
+
Nt as AttachmentsBarAttachmentIcon,
|
|
1653
1655
|
It as AttachmentsBarAttachmentTitle,
|
|
1654
1656
|
$t as AttachmentsBarForm,
|
|
1655
1657
|
Yt as AttachmentsBarFormContent,
|
|
@@ -1661,7 +1663,7 @@ export {
|
|
|
1661
1663
|
Xt as AttachmentsBarFormTitleError,
|
|
1662
1664
|
Ut as AttachmentsBarFormTitleInput,
|
|
1663
1665
|
Kt as AttachmentsBarFormTitleLabel,
|
|
1664
|
-
|
|
1666
|
+
St as AttachmentsBarInfoTip,
|
|
1665
1667
|
Lt as AttachmentsBarInfoTipArrow,
|
|
1666
1668
|
Tt as AttachmentsBarInfoTipIcon,
|
|
1667
1669
|
Ht as AttachmentsBarInfoTipText,
|
|
@@ -1683,22 +1685,22 @@ export {
|
|
|
1683
1685
|
la as ChatActionLabel,
|
|
1684
1686
|
le as Content,
|
|
1685
1687
|
ie as ContentScrollArea,
|
|
1686
|
-
|
|
1688
|
+
ue as ContentScrollAreaCorner,
|
|
1687
1689
|
pe as ContentScrollAreaScrollbar,
|
|
1688
1690
|
be as ContentScrollAreaThumb,
|
|
1689
1691
|
he as ContentScrollAreaViewport,
|
|
1690
1692
|
re as ConversationLoading,
|
|
1691
|
-
|
|
1693
|
+
ge as Disclaimer,
|
|
1692
1694
|
ke as DisclaimerArrow,
|
|
1693
1695
|
Ce as DisclaimerContent,
|
|
1694
1696
|
xe as DisclaimerLabel,
|
|
1695
1697
|
Fe as DisclaimerText,
|
|
1696
1698
|
fe as DisclaimerTrigger,
|
|
1697
1699
|
Ma as FeedbackForm,
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
+
ya as FeedbackItem,
|
|
1701
|
+
Na as FeedbackItemCheckbox,
|
|
1700
1702
|
Ia as FeedbackItemCheckboxIndicator,
|
|
1701
|
-
|
|
1703
|
+
va as FeedbackItemDescription,
|
|
1702
1704
|
Ba as FeedbackItemLabel,
|
|
1703
1705
|
Ca as FeedbackModal,
|
|
1704
1706
|
Ea as FeedbackModalBody,
|
|
@@ -1706,7 +1708,7 @@ export {
|
|
|
1706
1708
|
ka as FeedbackModalContent,
|
|
1707
1709
|
Aa as FeedbackModalHeader,
|
|
1708
1710
|
Fa as FeedbackModalOverlay,
|
|
1709
|
-
|
|
1711
|
+
Sa as FeedbackSubmitButton,
|
|
1710
1712
|
ft as Footer,
|
|
1711
1713
|
Ha as Form,
|
|
1712
1714
|
os as FormCancel,
|
|
@@ -1746,8 +1748,8 @@ export {
|
|
|
1746
1748
|
me as HeaderToolbarWrapper,
|
|
1747
1749
|
pa as HelpAction,
|
|
1748
1750
|
ha as HelpActions,
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
+
ua as HelpActionsMenu,
|
|
1752
|
+
ga as HelpActionsMenuArrow,
|
|
1751
1753
|
xa as HelpActionsMenuItem,
|
|
1752
1754
|
fa as HelpActionsMenuItemIcon,
|
|
1753
1755
|
ba as HelpActionsTrigger,
|
|
@@ -1781,8 +1783,8 @@ export {
|
|
|
1781
1783
|
ct as MessageSourceItem,
|
|
1782
1784
|
it as MessageSourceItemBreadcrumbIcon,
|
|
1783
1785
|
lt as MessageSourceItemBreadcrumbs,
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
+
ut as MessageSourceItemDescription,
|
|
1787
|
+
gt as MessageSourceItemDescriptionPart,
|
|
1786
1788
|
ht as MessageSourceItemIcon,
|
|
1787
1789
|
xt as MessageSourceItemIndicator,
|
|
1788
1790
|
bt as MessageSourceItemTag,
|
|
@@ -1796,7 +1798,7 @@ export {
|
|
|
1796
1798
|
Te as Messages,
|
|
1797
1799
|
ae as Provider,
|
|
1798
1800
|
Me as QuickQuestion,
|
|
1799
|
-
|
|
1801
|
+
ye as QuickQuestionButton,
|
|
1800
1802
|
Ae as QuickQuestions,
|
|
1801
1803
|
we as QuickQuestionsLabel,
|
|
1802
1804
|
Ee as QuickQuestionsList,
|
|
@@ -1808,9 +1810,9 @@ export {
|
|
|
1808
1810
|
na as TaglineLogo,
|
|
1809
1811
|
da as TaglineText,
|
|
1810
1812
|
ce as ToolbarHeader,
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1813
|
+
ve as Workflow,
|
|
1814
|
+
Se as WorkflowIcon,
|
|
1815
|
+
Ne as Workflows,
|
|
1814
1816
|
Ie as WorkflowsLabel,
|
|
1815
1817
|
Be as WorkflowsList,
|
|
1816
1818
|
se as Wrapper
|
package/dist/inkeep.css.cjs
CHANGED
|
@@ -559,6 +559,9 @@ video {
|
|
|
559
559
|
.left-1\\/2 {
|
|
560
560
|
left: 50%;
|
|
561
561
|
}
|
|
562
|
+
.left-\\[unset\\] {
|
|
563
|
+
left: unset;
|
|
564
|
+
}
|
|
562
565
|
.right-1 {
|
|
563
566
|
right: 0.25rem;
|
|
564
567
|
}
|
|
@@ -630,6 +633,10 @@ video {
|
|
|
630
633
|
margin-top: 0.5rem;
|
|
631
634
|
margin-bottom: 0.5rem;
|
|
632
635
|
}
|
|
636
|
+
.my-6 {
|
|
637
|
+
margin-top: 1.5rem;
|
|
638
|
+
margin-bottom: 1.5rem;
|
|
639
|
+
}
|
|
633
640
|
.my-\\[\\.1rem\\] {
|
|
634
641
|
margin-top: .1rem;
|
|
635
642
|
margin-bottom: .1rem;
|
|
@@ -970,14 +977,13 @@ video {
|
|
|
970
977
|
--tw-translate-x: -50%;
|
|
971
978
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
972
979
|
}
|
|
973
|
-
.translate-y-0 {
|
|
974
|
-
--tw-translate-y: 0px;
|
|
975
|
-
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
976
|
-
}
|
|
977
980
|
.rotate-\\[-30deg\\] {
|
|
978
981
|
--tw-rotate: -30deg;
|
|
979
982
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
980
983
|
}
|
|
984
|
+
.transform-none {
|
|
985
|
+
transform: none;
|
|
986
|
+
}
|
|
981
987
|
@keyframes bounce-dot {
|
|
982
988
|
|
|
983
989
|
0%, 100% {
|
|
@@ -3339,6 +3345,11 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
3339
3345
|
|
|
3340
3346
|
@media (min-width: 768px) {
|
|
3341
3347
|
|
|
3348
|
+
.md\\:my-12 {
|
|
3349
|
+
margin-top: 3rem;
|
|
3350
|
+
margin-bottom: 3rem;
|
|
3351
|
+
}
|
|
3352
|
+
|
|
3342
3353
|
.md\\:hidden {
|
|
3343
3354
|
display: none;
|
|
3344
3355
|
}
|
package/dist/inkeep.css.js
CHANGED
|
@@ -560,6 +560,9 @@ video {
|
|
|
560
560
|
.left-1\\/2 {
|
|
561
561
|
left: 50%;
|
|
562
562
|
}
|
|
563
|
+
.left-\\[unset\\] {
|
|
564
|
+
left: unset;
|
|
565
|
+
}
|
|
563
566
|
.right-1 {
|
|
564
567
|
right: 0.25rem;
|
|
565
568
|
}
|
|
@@ -631,6 +634,10 @@ video {
|
|
|
631
634
|
margin-top: 0.5rem;
|
|
632
635
|
margin-bottom: 0.5rem;
|
|
633
636
|
}
|
|
637
|
+
.my-6 {
|
|
638
|
+
margin-top: 1.5rem;
|
|
639
|
+
margin-bottom: 1.5rem;
|
|
640
|
+
}
|
|
634
641
|
.my-\\[\\.1rem\\] {
|
|
635
642
|
margin-top: .1rem;
|
|
636
643
|
margin-bottom: .1rem;
|
|
@@ -971,14 +978,13 @@ video {
|
|
|
971
978
|
--tw-translate-x: -50%;
|
|
972
979
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
973
980
|
}
|
|
974
|
-
.translate-y-0 {
|
|
975
|
-
--tw-translate-y: 0px;
|
|
976
|
-
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
977
|
-
}
|
|
978
981
|
.rotate-\\[-30deg\\] {
|
|
979
982
|
--tw-rotate: -30deg;
|
|
980
983
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
981
984
|
}
|
|
985
|
+
.transform-none {
|
|
986
|
+
transform: none;
|
|
987
|
+
}
|
|
982
988
|
@keyframes bounce-dot {
|
|
983
989
|
|
|
984
990
|
0%, 100% {
|
|
@@ -3340,6 +3346,11 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
3340
3346
|
|
|
3341
3347
|
@media (min-width: 768px) {
|
|
3342
3348
|
|
|
3349
|
+
.md\\:my-12 {
|
|
3350
|
+
margin-top: 3rem;
|
|
3351
|
+
margin-bottom: 3rem;
|
|
3352
|
+
}
|
|
3353
|
+
|
|
3343
3354
|
.md\\:hidden {
|
|
3344
3355
|
display: none;
|
|
3345
3356
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/cxkit-styled",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Inkeep, Inc. Customer License (IICL) v1.1",
|
|
6
6
|
"homepage": "",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"clsx": "2.1.1",
|
|
40
40
|
"merge-anything": "6.0.2",
|
|
41
41
|
"tailwind-merge": "2.6.0",
|
|
42
|
-
"@inkeep/cxkit-primitives": "0.5.
|
|
42
|
+
"@inkeep/cxkit-primitives": "0.5.9"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@biomejs/biome": "1.9.4",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"typescript": "5.7.3",
|
|
59
59
|
"vite": "5.4.11",
|
|
60
60
|
"vite-plugin-dts": "4.4.0",
|
|
61
|
-
"@inkeep/cxkit-theme": "0.5.
|
|
62
|
-
"@inkeep/cxkit-types": "0.5.
|
|
61
|
+
"@inkeep/cxkit-theme": "0.5.9",
|
|
62
|
+
"@inkeep/cxkit-types": "0.5.9"
|
|
63
63
|
},
|
|
64
64
|
"module": "dist/index.js",
|
|
65
65
|
"types": "dist/index.d.ts",
|