@inkeep/cxkit-styled 0.5.71 → 0.5.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/embedded-chat.cjs +1 -1
- package/dist/components/embedded-chat.js +6 -6
- package/dist/components/embedded-search.cjs +1 -1
- package/dist/components/embedded-search.js +27 -24
- package/dist/components/modal.cjs +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/inkeep.css.cjs +42 -31
- package/dist/inkeep.css.js +42 -31
- package/dist/ui/recipes/citation.cjs +1 -1
- package/dist/ui/recipes/citation.js +1 -1
- package/dist/ui/recipes/widget-toggle.cjs +1 -1
- package/dist/ui/recipes/widget-toggle.js +1 -1
- package/package.json +4 -4
|
@@ -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"),k=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"),i=require("../ui/recipes/citation.cjs"),w=require("../ui/recipes/icon.cjs"),l=require("../ui/recipes/input.cjs"),P=require("../ui/recipes/link.cjs"),s=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"),r=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:m,...u},b)=>d.jsx(a.EmbeddedChatPrimitive.Wrapper,{ref:b,className:r.cn(k.aiChatPageWrapper({size:t,variant:m}),"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:r.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:r.cn(C.scrollable({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),L=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Header,{className:r.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:r.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:r.cn("flex items-center gap-1.5",e),...t}),z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ToolbarHeader,{className:r.cn("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),q=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Content,{className:r.cn(C.scrollable({section:"content"}),"justify-end",e),...t}),_=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollArea,{className:r.cn("overflow-hidden",e),...t}),Q=c.forwardRef(({className:e,...t},m)=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaViewport,{ref:m,className:r.cn("h-full w-full rounded-[inherit]",e),...t})),R=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaScrollbar,{className:r.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:r.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:r.cn("ml-auto text-sm flex items-center gap-1",e),...t}),$=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerLabel,{className:r.cn("text-gray-700 dark:text-gray-dark-100",e),...t}),J=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerTrigger,{className:r.cn("cursor-pointer text-gray-700 dark:text-gray-dark-100","focus-visible:ring-gray-500 dark:focus-visible:ring-white-alpha-900 focus-visible:ring-2 focus:outline-none",e),...t}),K=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerContent,{className:r.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:r.cn(p.popover({slot:"arrow"}),e),...t}),Y=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ExampleQuestions,{className:r.cn("mt-4 flex flex-col gap-2",e),...t}),Z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ExampleQuestionsLabel,{className:r.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.ExampleQuestionsList,{className:r.cn("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),te=c.forwardRef(({className:e,style:t,...m},u)=>{const b=c.useRef(null),v=a.composeRefs(u,b),{width:f=0,height:F=0}=a.useResizeObserver({ref:b,box:"border-box"}),A=Math.max(F,f);return d.jsx(a.EmbeddedChatPrimitive.ExampleQuestion,{ref:v,style:{"--before-size":`${A+100}px`,...t},className:r.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),...m})}),ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ExampleQuestionButton,{className:r.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:r.cn("mt-4 flex flex-col gap-2",e),...t}),re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.WorkflowsLabel,{className:r.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.WorkflowsList,{className:r.cn("flex flex-wrap gap-2",e),...t}),oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Workflow,{className:r.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}),me=a.EmbeddedChatPrimitive.WorkflowIcon,ie=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Messages,{className:r.cn("flex flex-col w-full min-w-0 min-h-0 text-2sm relative",e),...t}),g=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:r.cn(g(),e),...t}),ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.IntroMessageWrapper,{className:r.cn(g(),e),...t}),le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageHeader,{className:r.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:r.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:r.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:r.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:r.cn("hidden data-[role=user]:block",e),...t}),Ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatarImage,{className:r.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:r.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}),Ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageContentWrapper,{className:r.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}),ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageContent,{className:r.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:r.cn("flex flex-wrap gap-2",e),...t}),Fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItem,{className:r.cn(o.button({variant:"ghost"}),n.attachment({slot:"root"}),"font-normal px-2",e),...t}),Ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItemIcon,{className:r.cn(n.attachment({slot:"icon"}),e),...t}),ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItemTitle,{className:r.cn(n.attachment({slot:"title"}),e),...t}),we=a.EmbeddedChatPrimitive.MessageAttachmentsPreview,Pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewOverlay,{className:r.cn(s.modal({slot:"overlay"}),e),...t}),Me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewContent,{className:r.cn(s.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:r.cn(s.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:r.cn(s.modal({slot:"close"}),e),...t}),Ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewBody,{className:r.cn(s.modal({slot:"body"}),"p-0",e),...t}),Ie=({className:e,componentStyles:t,...m})=>d.jsx(a.EmbeddedChatPrimitive.Message,{className:r.cn("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",e),componentStyles:j.merge(y.markdownStyles,t??{}),...m}),Be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageToolbar,{className:r.cn("flex items-center mt-2 mb-3",e),...t}),Se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageToolActions,{className:r.cn("mr-auto flex items-center gap-2",e),...t}),Te=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageToolAction,{className:r.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:r.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:r.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:r.cn("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItem,{className:r.cn(i.citation({slot:"root"}),e),...t}),qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemBreadcrumbs,{className:r.cn(i.citation({slot:"breadcrumbs"}),e),...t}),_e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemBreadcrumbIcon,{className:r.cn(i.citation({slot:"breadcrumbsIcon"}),e),...t}),Qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemIcon,{className:r.cn(i.citation({slot:"icon"}),e),...t}),Re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemTitle,{className:r.cn(i.citation({slot:"title"}),e),...t}),Oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemTag,{className:r.cn(i.citation({slot:"tag"}),e),...t}),Ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemDescription,{className:r.cn(i.citation({slot:"description"}),e),...t}),Ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemDescriptionPart,{className:r.cn(i.citation({slot:"descriptionPart"}),e),...t}),$e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemIndicator,{className:r.cn(i.citation({slot:"indicator"}),e),...t}),Je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Footer,{className:r.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:r.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:r.cn("flex",e),...t}),Xe=c.forwardRef(({className:e,...t},m)=>d.jsx(a.EmbeddedChatPrimitive.Input,{ref:m,className:r.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:r.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:r.cn(w.icon(),"text-inherit rotate-[-30deg]",e),...t}),et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBar,{className:r.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:r.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:r.cn(n.attachment({slot:"root"}),e),...t}),dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentIcon,{className:r.cn(n.attachment({slot:"icon"}),e),...t}),rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentTitle,{className:r.cn(n.attachment({slot:"title"}),e),...t}),st=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentDelete,{className:r.cn(n.attachment({slot:"delete"}),e),...t}),ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarActions,{className:r.cn("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),mt=a.EmbeddedChatPrimitive.AttachmentsBarInfoTip,it=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInfoTipIcon,{className:r.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:r.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:r.cn("contents",e),...t}),ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInput,{className:r.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:r.cn(s.modal({slot:"overlay"}),e),...t}),Ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalContent,{className:r.cn(s.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:r.cn(s.modal({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),Et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalHeading,{className:r.cn("w-full semibold",e),...t}),gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalDescription,{className:r.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:r.cn(s.modal({slot:"close"}),e),...t}),Ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalBody,{className:r.cn(s.modal({slot:"body"}),"p-0",e),...t}),At=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarForm,{className:r.cn("flex flex-col gap-8",e),...t}),kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitle,{className:r.cn("flex flex-col gap-2",e),...t}),wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitleLabel,{className:r.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:r.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:r.cn("text-sm text-red-500",e),...t}),jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContent,{className:r.cn("flex flex-col gap-2",e),...t}),yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContentLabel,{className:r.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:r.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:r.cn("text-sm text-red-500",e),...t}),Bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormSubmitButton,{className:r.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),St=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ActionBar,{className:r.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:r.cn("flex items-center gap-2.5 flex-wrap",e),...t}),Ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineContainer,{className:r.cn("flex items-center whitespace-nowrap",e),...t}),Lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineText,{className:r.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:r.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:r.cn(P.link(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),E=r.cn(o.button({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatAction,{className:r.cn(E,e),...t}),qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatActionLabel,{className:r.cn("cursor-pointer",e),...t}),_t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatActionFeedback,{className:r.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}),Qt=a.EmbeddedChatPrimitive.HelpActions,Rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatHelpAction,{className:r.cn(E,e),...t}),Ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsTrigger,{className:r.cn(E,e),...t}),Vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenu,{className:r.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:r.cn(p.popover({slot:"arrow"}),e),...t}),$t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuItem,{className:r.cn("flex items-center cursor-pointer hover:underline",e),...t}),Jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuItemIcon,{className:r.cn("mr-2 text-inkeep-primary-medium",e),...t}),Kt=a.EmbeddedChatPrimitive.FeedbackModal,Ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalOverlay,{className:r.cn(s.modal({slot:"overlay"}),e),...t}),Xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalContent,{className:r.cn(s.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:r.cn(s.modal({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),Zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalClose,{className:r.cn(s.modal({slot:"close"}),e),...t}),ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalBody,{className:r.cn(s.modal({slot:"body"}),"p-0",e),...t}),ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackForm,{className:r.cn("flex flex-col gap-8",e),...t}),aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItem,{className:r.cn("flex flex-wrap items-center","gap-[1rem_0.5rem]",e),...t}),da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemCheckbox,{className:r.cn(x.checkbox({slot:"root"}),e),...t}),ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemCheckboxIndicator,{className:r.cn(x.checkbox({slot:"indicator"}),e),...t}),sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemLabel,{className:r.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:r.cn("flex-[0_0_100%]","min-h-20 py-2 border rounded-md","px-4",e),...t}),ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackSubmitButton,{className:r.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormWrapper,{className:r.cn("w-full overflow-y-auto",e),...t}),na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Form,{className:r.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:r.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:r.cn("mt-12 flex flex-col gap-6",e),...t}),ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormHeading,{className:r.cn("font-semibold text-xl leading-5",e),...t}),ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormDescription,{className:r.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),xa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormContent,{className:r.cn("w-full",e),...t}),pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormField,{className:r.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:r.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:r.cn(l.input({size:"md",variant:"outline"}),e),...t}),Ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldEmail,{className:r.cn(l.input({size:"md",variant:"outline"}),e),...t}),ga=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldFile,{className:r.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:r.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:r.cn(x.checkbox({slot:"root"}),e),...t}),Fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldCheckboxIndicator,{className:r.cn(x.checkbox({slot:"indicator"}),e),...t}),Aa=a.EmbeddedChatPrimitive.FormFieldSelect,ka=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectTrigger,{className:r.cn(h.select({slot:"trigger"}),e),...t}),wa=a.EmbeddedChatPrimitive.FormFieldSelectValue,Pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectIcon,{className:r.cn("h-4 w-4 opacity-45",e),...t}),Ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectContent,{className:r.cn(h.select({slot:"content"}),e),...t}),ja=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectViewport,{className:r.cn(h.select({slot:"viewport"}),e),...t}),ya=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectItem,{className:r.cn(h.select({slot:"item"}),e),...t}),Na=a.EmbeddedChatPrimitive.FormFieldSelectItemText,Ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectItemIndicator,{className:r.cn(h.select({slot:"itemIndicator"}),e),...t}),Ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldError,{className:r.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:r.cn("text-red-500 dark:text-red-300",e),...t}),Ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFooter,{className:r.cn("flex items-center justify-end gap-6 w-full",e),...t}),Ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormCancel,{className:r.cn(o.button({variant:"outline"}),e),...t}),La=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSubmit,{className:r.cn(o.button({preset:"neutralFilled"}),e),...t}),Da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccess,{className:r.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:r.cn("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),za=a.EmbeddedChatPrimitive.FormSuccessMessage,qa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccessButton,{className:r.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=st;exports.AttachmentsBarAttachmentIcon=dt;exports.AttachmentsBarAttachmentTitle=rt;exports.AttachmentsBarForm=At;exports.AttachmentsBarFormContent=jt;exports.AttachmentsBarFormContentError=It;exports.AttachmentsBarFormContentInput=Nt;exports.AttachmentsBarFormContentLabel=yt;exports.AttachmentsBarFormSubmitButton=Bt;exports.AttachmentsBarFormTitle=kt;exports.AttachmentsBarFormTitleError=Mt;exports.AttachmentsBarFormTitleInput=Pt;exports.AttachmentsBarFormTitleLabel=wt;exports.AttachmentsBarInfoTip=mt;exports.AttachmentsBarInfoTipArrow=ct;exports.AttachmentsBarInfoTipIcon=it;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=gt;exports.AttachmentsBarModalHeader=ut;exports.AttachmentsBarModalHeading=Et;exports.AttachmentsBarModalHelp=vt;exports.AttachmentsBarModalOverlay=pt;exports.ChatAction=zt;exports.ChatActionFeedback=_t;exports.ChatActionLabel=qt;exports.Content=q;exports.ContentScrollArea=_;exports.ContentScrollAreaCorner=V;exports.ContentScrollAreaScrollbar=R;exports.ContentScrollAreaThumb=O;exports.ContentScrollAreaViewport=Q;exports.ConversationLoading=T;exports.Disclaimer=G;exports.DisclaimerArrow=X;exports.DisclaimerContent=K;exports.DisclaimerLabel=$;exports.DisclaimerText=U;exports.DisclaimerTrigger=J;exports.ExampleQuestion=te;exports.ExampleQuestionButton=ae;exports.ExampleQuestions=Y;exports.ExampleQuestionsLabel=Z;exports.ExampleQuestionsList=ee;exports.FeedbackForm=ta;exports.FeedbackItem=aa;exports.FeedbackItemCheckbox=da;exports.FeedbackItemCheckboxIndicator=ra;exports.FeedbackItemDescription=oa;exports.FeedbackItemLabel=sa;exports.FeedbackModal=Kt;exports.FeedbackModalBody=ea;exports.FeedbackModalClose=Zt;exports.FeedbackModalContent=Xt;exports.FeedbackModalHeader=Yt;exports.FeedbackModalOverlay=Ut;exports.FeedbackSubmitButton=ma;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=Ea;exports.FormFieldError=Ba;exports.FormFieldFile=ga;exports.FormFieldLabel=Ca;exports.FormFieldSelect=Aa;exports.FormFieldSelectContent=Ma;exports.FormFieldSelectIcon=Pa;exports.FormFieldSelectItem=ya;exports.FormFieldSelectItemIndicator=Ia;exports.FormFieldSelectItemText=Na;exports.FormFieldSelectTrigger=ka;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=qa;exports.FormSuccessHeading=Wa;exports.FormSuccessMessage=za;exports.FormWrapper=ia;exports.Header=L;exports.HeaderToolbar=D;exports.HeaderToolbarWrapper=W;exports.HelpAction=Rt;exports.HelpActions=Qt;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.MessageAttachments=ve;exports.MessageAttachmentsItem=Fe;exports.MessageAttachmentsItemIcon=Ae;exports.MessageAttachmentsItemTitle=ke;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=ge;exports.MessageContentWrapper=Ee;exports.MessageHeader=le;exports.MessageLoading=he;exports.MessageName=ue;exports.MessageSourceItem=ze;exports.MessageSourceItemBreadcrumbIcon=_e;exports.MessageSourceItemBreadcrumbs=qe;exports.MessageSourceItemDescription=Ve;exports.MessageSourceItemDescriptionPart=Ge;exports.MessageSourceItemIcon=Qe;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.MessageToolbar=Be;exports.MessageWrapper=ne;exports.Messages=ie;exports.Provider=B;exports.Root=H;exports.SendButton=Ye;exports.SendButtonIcon=Ze;exports.TaglineBrandName=Wt;exports.TaglineContainer=Ht;exports.TaglineLogo=Dt;exports.TaglineText=Lt;exports.ToolbarHeader=z;exports.Workflow=oe;exports.WorkflowIcon=me;exports.Workflows=de;exports.WorkflowsLabel=re;exports.WorkflowsList=se;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"),k=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"),i=require("../ui/recipes/citation.cjs"),w=require("../ui/recipes/icon.cjs"),l=require("../ui/recipes/input.cjs"),P=require("../ui/recipes/link.cjs"),s=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"),r=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:m,...u},b)=>d.jsx(a.EmbeddedChatPrimitive.Wrapper,{ref:b,className:r.cn(k.aiChatPageWrapper({size:t,variant:m}),"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:r.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:r.cn(C.scrollable({section:"wrapper"}),"rounded-[inherit] font-body",e),...t}),L=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Header,{className:r.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:r.cn("flex items-center gap-3 w-full","px-5 py-2 pt-4 justify-between *:m-0",e),...t}),W=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HeaderToolbarWrapper,{className:r.cn("flex items-center gap-1.5",e),...t}),z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ToolbarHeader,{className:r.cn("text-gray-600 dark:text-gray-dark-100 text-sm",e),...t}),q=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Content,{className:r.cn(C.scrollable({section:"content"}),"justify-end",e),...t}),_=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollArea,{className:r.cn("overflow-hidden",e),...t}),Q=c.forwardRef(({className:e,...t},m)=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaViewport,{ref:m,className:r.cn("h-full w-full rounded-[inherit]",e),...t})),R=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ContentScrollAreaScrollbar,{className:r.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:r.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:r.cn("ml-auto text-sm flex items-center gap-1",e),...t}),$=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerLabel,{className:r.cn("text-gray-700 dark:text-gray-dark-100",e),...t}),J=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerTrigger,{className:r.cn("cursor-pointer text-gray-700 dark:text-gray-dark-100","focus-visible:ring-gray-500 dark:focus-visible:ring-white-alpha-900 focus-visible:ring-2 focus:outline-none",e),...t}),K=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.DisclaimerContent,{className:r.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:r.cn(p.popover({slot:"arrow"}),e),...t}),Y=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ExampleQuestions,{className:r.cn("mt-4 flex flex-col gap-2",e),...t}),Z=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ExampleQuestionsLabel,{className:r.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.ExampleQuestionsList,{className:r.cn("flex flex-col","ikp-md:flex-row","flex-wrap gap-2",e),...t}),te=c.forwardRef(({className:e,style:t,...m},u)=>{const b=c.useRef(null),v=a.composeRefs(u,b),{width:f=0,height:F=0}=a.useResizeObserver({ref:b,box:"border-box"}),A=Math.max(F,f);return d.jsx(a.EmbeddedChatPrimitive.ExampleQuestion,{ref:v,style:{"--before-size":`${A+100}px`,...t},className:r.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),...m})}),ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ExampleQuestionButton,{className:r.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:r.cn("mt-4 flex flex-col gap-2",e),...t}),re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.WorkflowsLabel,{className:r.cn("text-2xs uppercase font-semibold tracking-widest","text-gray-600 dark:text-white-alpha-500",e),...t}),se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.WorkflowsList,{className:r.cn("flex flex-wrap gap-2",e),...t}),oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Workflow,{className:r.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}),me=a.EmbeddedChatPrimitive.WorkflowIcon,ie=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Messages,{className:r.cn("flex flex-col w-full min-w-0 min-h-0 text-2sm relative",e),...t}),g=M.cva(["flex relative w-full overflow-hidden py-8","px-5","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:r.cn(g(),e),...t}),ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.IntroMessageWrapper,{className:r.cn(g(),e),...t}),le=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageHeader,{className:r.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:r.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:r.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:r.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:r.cn("hidden data-[role=user]:block",e),...t}),Ce=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAvatarImage,{className:r.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:r.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}),Ee=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageContentWrapper,{className:r.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}),ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageContent,{className:r.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:r.cn("flex flex-wrap gap-2",e),...t}),Fe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItem,{className:r.cn(o.button({variant:"ghost"}),n.attachment({slot:"root"}),"font-normal px-2",e),...t}),Ae=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItemIcon,{className:r.cn(n.attachment({slot:"icon"}),e),...t}),ke=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsItemTitle,{className:r.cn(n.attachment({slot:"title"}),e),...t}),we=a.EmbeddedChatPrimitive.MessageAttachmentsPreview,Pe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewOverlay,{className:r.cn(s.modal({slot:"overlay"}),e),...t}),Me=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewContent,{className:r.cn(s.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:r.cn(s.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:r.cn(s.modal({slot:"close"}),e),...t}),Ne=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageAttachmentsPreviewBody,{className:r.cn(s.modal({slot:"body"}),"p-0",e),...t}),Ie=({className:e,componentStyles:t,...m})=>d.jsx(a.EmbeddedChatPrimitive.Message,{className:r.cn("data-[role=user]:whitespace-pre-wrap mb-3 max-w-full",e),componentStyles:j.merge(y.markdownStyles,t??{}),...m}),Be=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageToolbar,{className:r.cn("flex items-center mt-2 mb-3",e),...t}),Se=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageToolActions,{className:r.cn("mr-auto flex items-center gap-2",e),...t}),Te=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageToolAction,{className:r.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:r.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:r.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:r.cn("w-full relative flex flex-col gap-3 py-[1px]",e),...t}),ze=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItem,{className:r.cn(i.citation({slot:"root"}),e),...t}),qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemBreadcrumbs,{className:r.cn(i.citation({slot:"breadcrumbs"}),e),...t}),_e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemBreadcrumbIcon,{className:r.cn(i.citation({slot:"breadcrumbsIcon"}),e),...t}),Qe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemIcon,{className:r.cn(i.citation({slot:"icon"}),e),...t}),Re=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemTitle,{className:r.cn(i.citation({slot:"title"}),e),...t}),Oe=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemTag,{className:r.cn(i.citation({slot:"tag"}),e),...t}),Ve=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemDescription,{className:r.cn(i.citation({slot:"description"}),e),...t}),Ge=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemDescriptionPart,{className:r.cn(i.citation({slot:"descriptionPart"}),e),...t}),$e=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.MessageSourceItemIndicator,{className:r.cn(i.citation({slot:"indicator"}),e),...t}),Je=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Footer,{className:r.cn("bg-white dark:bg-gray-dark-950 pt-6 pb-4","px-5 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:r.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:r.cn("flex",e),...t}),Xe=c.forwardRef(({className:e,...t},m)=>d.jsx(a.EmbeddedChatPrimitive.Input,{ref:m,className:r.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:r.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:r.cn(w.icon(),"text-inherit rotate-[-30deg]",e),...t}),et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBar,{className:r.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:r.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:r.cn(n.attachment({slot:"root"}),e),...t}),dt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentIcon,{className:r.cn(n.attachment({slot:"icon"}),e),...t}),rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentTitle,{className:r.cn(n.attachment({slot:"title"}),e),...t}),st=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarAttachmentDelete,{className:r.cn(n.attachment({slot:"delete"}),e),...t}),ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarActions,{className:r.cn("flex items-center justify-between","gap-2 flex-wrap px-3",e),...t}),mt=a.EmbeddedChatPrimitive.AttachmentsBarInfoTip,it=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInfoTipIcon,{className:r.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:r.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:r.cn("contents",e),...t}),ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarInput,{className:r.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:r.cn(s.modal({slot:"overlay"}),e),...t}),Ct=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalContent,{className:r.cn(s.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:r.cn(s.modal({slot:"header"}),"px-0 pt-0 pb-8 gap-y-2","font-semibold",e),...t}),Et=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalHeading,{className:r.cn("w-full semibold",e),...t}),gt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalDescription,{className:r.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:r.cn(s.modal({slot:"close"}),e),...t}),Ft=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarModalBody,{className:r.cn(s.modal({slot:"body"}),"p-0",e),...t}),At=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarForm,{className:r.cn("flex flex-col gap-8",e),...t}),kt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitle,{className:r.cn("flex flex-col gap-2",e),...t}),wt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormTitleLabel,{className:r.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:r.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:r.cn("text-sm text-red-500",e),...t}),jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContent,{className:r.cn("flex flex-col gap-2",e),...t}),yt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormContentLabel,{className:r.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:r.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:r.cn("text-sm text-red-500",e),...t}),Bt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.AttachmentsBarFormSubmitButton,{className:r.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),St=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ActionBar,{className:r.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:r.cn("flex items-center gap-2.5 flex-wrap",e),...t}),Ht=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineContainer,{className:r.cn("flex items-center whitespace-nowrap",e),...t}),Lt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.TaglineText,{className:r.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:r.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:r.cn(P.link(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t}),E=r.cn(o.button({size:"xs",variant:"outline"}),"text-gray-700 dark:text-white-alpha-700"),zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatAction,{className:r.cn(E,e),...t}),qt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatActionLabel,{className:r.cn("cursor-pointer",e),...t}),_t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatActionFeedback,{className:r.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}),Qt=a.EmbeddedChatPrimitive.HelpActions,Rt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.ChatHelpAction,{className:r.cn(E,e),...t}),Ot=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsTrigger,{className:r.cn(E,e),...t}),Vt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenu,{className:r.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:r.cn(p.popover({slot:"arrow"}),e),...t}),$t=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuItem,{className:r.cn("flex items-center cursor-pointer hover:underline",e),...t}),Jt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.HelpActionsMenuItemIcon,{className:r.cn("mr-2 text-inkeep-primary-medium",e),...t}),Kt=a.EmbeddedChatPrimitive.FeedbackModal,Ut=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalOverlay,{className:r.cn(s.modal({slot:"overlay"}),e),...t}),Xt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalContent,{className:r.cn(s.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:r.cn(s.modal({slot:"header"}),"px-0 pt-0 pb-8","font-semibold",e),...t}),Zt=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalClose,{className:r.cn(s.modal({slot:"close"}),e),...t}),ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackModalBody,{className:r.cn(s.modal({slot:"body"}),"p-0",e),...t}),ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackForm,{className:r.cn("flex flex-col gap-8",e),...t}),aa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItem,{className:r.cn("flex flex-wrap items-center","gap-[1rem_0.5rem]",e),...t}),da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemCheckbox,{className:r.cn(x.checkbox({slot:"root"}),e),...t}),ra=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemCheckboxIndicator,{className:r.cn(x.checkbox({slot:"indicator"}),e),...t}),sa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackItemLabel,{className:r.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:r.cn("flex-[0_0_100%]","min-h-20 py-2 border rounded-md","px-4",e),...t}),ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FeedbackSubmitButton,{className:r.cn(o.button({preset:"neutralFilled"}),"ml-auto",e),...t}),ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormWrapper,{className:r.cn("w-full overflow-y-auto",e),...t}),na=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.Form,{className:r.cn(C.scrollable({section:"content"}),"relative pt-4 pb-8 gap-8","items-start justify-center w-full","px-6 ikp-md:px-10 ikp-md:pb-14",e),...t}),ca=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormClose,{className:r.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:r.cn("mt-12 flex flex-col gap-6",e),...t}),ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormHeading,{className:r.cn("font-semibold text-xl leading-5",e),...t}),ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormDescription,{className:r.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),xa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormContent,{className:r.cn("w-full",e),...t}),pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormField,{className:r.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:r.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:r.cn(l.input({size:"md",variant:"outline"}),e),...t}),Ea=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldEmail,{className:r.cn(l.input({size:"md",variant:"outline"}),e),...t}),ga=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldFile,{className:r.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:r.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:r.cn(x.checkbox({slot:"root"}),e),...t}),Fa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldCheckboxIndicator,{className:r.cn(x.checkbox({slot:"indicator"}),e),...t}),Aa=a.EmbeddedChatPrimitive.FormFieldSelect,ka=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectTrigger,{className:r.cn(h.select({slot:"trigger"}),e),...t}),wa=a.EmbeddedChatPrimitive.FormFieldSelectValue,Pa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectIcon,{className:r.cn("h-4 w-4 opacity-45",e),...t}),Ma=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectContent,{className:r.cn(h.select({slot:"content"}),e),...t}),ja=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectViewport,{className:r.cn(h.select({slot:"viewport"}),e),...t}),ya=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectItem,{className:r.cn(h.select({slot:"item"}),e),...t}),Na=a.EmbeddedChatPrimitive.FormFieldSelectItemText,Ia=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldSelectItemIndicator,{className:r.cn(h.select({slot:"itemIndicator"}),e),...t}),Ba=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFieldError,{className:r.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:r.cn("text-red-500 dark:text-red-300",e),...t}),Ta=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormFooter,{className:r.cn("flex items-center justify-end gap-6 w-full",e),...t}),Ha=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormCancel,{className:r.cn(o.button({variant:"outline"}),e),...t}),La=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSubmit,{className:r.cn(o.button({preset:"neutralFilled"}),e),...t}),Da=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccess,{className:r.cn("flex flex-col items-center justify-center h-auto","m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-10",e),...t}),Wa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccessHeading,{className:r.cn("mb-6 font-bold tracking-tight","text-3xl md:text-4xl leading-6 md:leading-5",e),...t}),za=a.EmbeddedChatPrimitive.FormSuccessMessage,qa=({className:e,...t})=>d.jsx(a.EmbeddedChatPrimitive.FormSuccessButton,{className:r.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=st;exports.AttachmentsBarAttachmentIcon=dt;exports.AttachmentsBarAttachmentTitle=rt;exports.AttachmentsBarForm=At;exports.AttachmentsBarFormContent=jt;exports.AttachmentsBarFormContentError=It;exports.AttachmentsBarFormContentInput=Nt;exports.AttachmentsBarFormContentLabel=yt;exports.AttachmentsBarFormSubmitButton=Bt;exports.AttachmentsBarFormTitle=kt;exports.AttachmentsBarFormTitleError=Mt;exports.AttachmentsBarFormTitleInput=Pt;exports.AttachmentsBarFormTitleLabel=wt;exports.AttachmentsBarInfoTip=mt;exports.AttachmentsBarInfoTipArrow=ct;exports.AttachmentsBarInfoTipIcon=it;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=gt;exports.AttachmentsBarModalHeader=ut;exports.AttachmentsBarModalHeading=Et;exports.AttachmentsBarModalHelp=vt;exports.AttachmentsBarModalOverlay=pt;exports.ChatAction=zt;exports.ChatActionFeedback=_t;exports.ChatActionLabel=qt;exports.Content=q;exports.ContentScrollArea=_;exports.ContentScrollAreaCorner=V;exports.ContentScrollAreaScrollbar=R;exports.ContentScrollAreaThumb=O;exports.ContentScrollAreaViewport=Q;exports.ConversationLoading=T;exports.Disclaimer=G;exports.DisclaimerArrow=X;exports.DisclaimerContent=K;exports.DisclaimerLabel=$;exports.DisclaimerText=U;exports.DisclaimerTrigger=J;exports.ExampleQuestion=te;exports.ExampleQuestionButton=ae;exports.ExampleQuestions=Y;exports.ExampleQuestionsLabel=Z;exports.ExampleQuestionsList=ee;exports.FeedbackForm=ta;exports.FeedbackItem=aa;exports.FeedbackItemCheckbox=da;exports.FeedbackItemCheckboxIndicator=ra;exports.FeedbackItemDescription=oa;exports.FeedbackItemLabel=sa;exports.FeedbackModal=Kt;exports.FeedbackModalBody=ea;exports.FeedbackModalClose=Zt;exports.FeedbackModalContent=Xt;exports.FeedbackModalHeader=Yt;exports.FeedbackModalOverlay=Ut;exports.FeedbackSubmitButton=ma;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=Ea;exports.FormFieldError=Ba;exports.FormFieldFile=ga;exports.FormFieldLabel=Ca;exports.FormFieldSelect=Aa;exports.FormFieldSelectContent=Ma;exports.FormFieldSelectIcon=Pa;exports.FormFieldSelectItem=ya;exports.FormFieldSelectItemIndicator=Ia;exports.FormFieldSelectItemText=Na;exports.FormFieldSelectTrigger=ka;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=qa;exports.FormSuccessHeading=Wa;exports.FormSuccessMessage=za;exports.FormWrapper=ia;exports.Header=L;exports.HeaderToolbar=D;exports.HeaderToolbarWrapper=W;exports.HelpAction=Rt;exports.HelpActions=Qt;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.MessageAttachments=ve;exports.MessageAttachmentsItem=Fe;exports.MessageAttachmentsItemIcon=Ae;exports.MessageAttachmentsItemTitle=ke;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=ge;exports.MessageContentWrapper=Ee;exports.MessageHeader=le;exports.MessageLoading=he;exports.MessageName=ue;exports.MessageSourceItem=ze;exports.MessageSourceItemBreadcrumbIcon=_e;exports.MessageSourceItemBreadcrumbs=qe;exports.MessageSourceItemDescription=Ve;exports.MessageSourceItemDescriptionPart=Ge;exports.MessageSourceItemIcon=Qe;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.MessageToolbar=Be;exports.MessageWrapper=ne;exports.Messages=ie;exports.Provider=B;exports.Root=H;exports.SendButton=Ye;exports.SendButtonIcon=Ze;exports.TaglineBrandName=Wt;exports.TaglineContainer=Ht;exports.TaglineLogo=Dt;exports.TaglineText=Lt;exports.ToolbarHeader=z;exports.Workflow=oe;exports.WorkflowIcon=me;exports.Workflows=de;exports.WorkflowsLabel=re;exports.WorkflowsList=se;exports.Wrapper=S;
|
|
@@ -85,8 +85,8 @@ const ae = a.Provider, se = u(
|
|
|
85
85
|
a.HeaderToolbar,
|
|
86
86
|
{
|
|
87
87
|
className: r(
|
|
88
|
-
"flex items-center gap-
|
|
89
|
-
"
|
|
88
|
+
"flex items-center gap-3 w-full",
|
|
89
|
+
"px-5 py-2 pt-4 justify-between *:m-0",
|
|
90
90
|
e
|
|
91
91
|
),
|
|
92
92
|
...t
|
|
@@ -354,7 +354,7 @@ const ae = a.Provider, se = u(
|
|
|
354
354
|
}
|
|
355
355
|
), C = B([
|
|
356
356
|
"flex relative w-full overflow-hidden py-8",
|
|
357
|
-
"px-
|
|
357
|
+
"px-5",
|
|
358
358
|
"flex-col ikp-md:flex-row",
|
|
359
359
|
"min-w-0 grow-[2] data-[role=user]:grow-0",
|
|
360
360
|
// Divider
|
|
@@ -763,7 +763,7 @@ const ae = a.Provider, se = u(
|
|
|
763
763
|
{
|
|
764
764
|
className: r(
|
|
765
765
|
"bg-white dark:bg-gray-dark-950 pt-6 pb-4",
|
|
766
|
-
"px-
|
|
766
|
+
"px-5 relative",
|
|
767
767
|
"before:absolute before:block before:top-0 before:left-0",
|
|
768
768
|
"before:pointer-events-none before:w-full before:h-3",
|
|
769
769
|
"before:bg-gradient-to-b before:from-transparent before:to-white",
|
|
@@ -1371,7 +1371,7 @@ const ae = a.Provider, se = u(
|
|
|
1371
1371
|
g({ section: "content" }),
|
|
1372
1372
|
"relative pt-4 pb-8 gap-8",
|
|
1373
1373
|
"items-start justify-center w-full",
|
|
1374
|
-
"px-6 ikp-md:px-
|
|
1374
|
+
"px-6 ikp-md:px-10 ikp-md:pb-14",
|
|
1375
1375
|
e
|
|
1376
1376
|
),
|
|
1377
1377
|
...t
|
|
@@ -1620,7 +1620,7 @@ const ae = a.Provider, se = u(
|
|
|
1620
1620
|
{
|
|
1621
1621
|
className: r(
|
|
1622
1622
|
"flex flex-col items-center justify-center h-auto",
|
|
1623
|
-
"m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-
|
|
1623
|
+
"m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-10",
|
|
1624
1624
|
e
|
|
1625
1625
|
),
|
|
1626
1626
|
...t
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("@inkeep/cxkit-primitives"),s=require("../utils.cjs"),i=require("../ui/recipes/citation.cjs"),n=require("../ui/recipes/link.cjs"),c=require("../ui/recipes/scrollable.cjs"),l=require("./embedded-search/results-loading.cjs"),m=require("merge-anything"),o=require("../ui/markdown-styles.cjs"),h=e=>a.jsx(r.EmbeddedSearchPrimitive.Provider,{...e}),u=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Wrapper,{className:s.cn("data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950",e),...t}),b=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Root,{className:s.cn("data-[hidden]:hidden flex flex-col w-full","[--footer-height:theme(spacing.9)]","data-[mobile]:[--input-height:theme(spacing.16)]","[--ask-ai-trigger-height:0px]","[[data-show-ask-ai-card]_&]:[--ask-ai-trigger-height:theme(spacing.11)]",e),...t}),p=r.EmbeddedSearchPrimitive.Content,x=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.InputGroup,{className:s.cn("flex items-center w-full px-5 pt-3 pb-3 gap-3","[[data-show-ask-ai-card]_&]:pb-1","[[data-mobile]_&]:max-h-[var(--input-height)]",e),...t}),g=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.InputIcon,{className:s.cn("min-w-5 w-5 text-xl","text-gray-500 dark:text-white-alpha-600",e),...t}),I=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Input,{className:s.cn("min-h-[38px] overflow-hidden w-full resize-none","py-1.5 max-h-[10vh] placeholder:text-gray-500","w-full dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent",e),...t}),v=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Loading,{className:s.cn("animate-spin text-gray-400 dark:text-white-alpha-500",e),...t}),S=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITrigger,{className:s.cn(i.citation({slot:"root"}),"m-auto w-[calc(100%_-_theme(spacing.5))]","border-transparent dark:border-transparent","mb-3 py-0 h-11 cursor-pointer","h-[var(--ask-ai-trigger-height)]","grid-template-[none] flex items-center",e),...t}),E=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerIcon,{className:s.cn("[grid-area:icon] h-5 w-5 flex-shrink-0","[--start-color:theme(colors.inkeep-expanded-primary.300)]","[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),R=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerLabel,{className:s.cn(i.citation({slot:"title"}),"font-medium text-gray-700",e),...t}),k=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerQuery,{className:s.cn("font-semibold !bg-clip-text text-transparent ml-2","animate-shine [background:linear-gradient(270deg,theme(colors.inkeep-primary.stronger-light),transparent)_-200%_50%_/_25%_100%_no-repeat,theme(colors.inkeep-expanded-primary.800)] ","dark:[background:linear-gradient(270deg,theme(colors.inkeep-expanded-primary.100),transparent)_-200%_50%_/_25%_100%_no-repeat,theme(colors.inkeep-expanded-primary.400)]",e),...t}),P=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerIndicator,{className:s.cn(i.citation({slot:"indicator"}),"ml-1",e),...t}),w=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerIndicatorText,{className:s.cn("text-xs text-inkeep-primary-medium-subtle bg-gray-500 bg-clip-text dark:bg-white-alpha-800 flex-shrink-0 ml-auto","opacity-0 group-selected:opacity-100 transition-opacity duration-100 ease-in-out",e),...t}),f=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Results,{className:s.cn(c.scrollable({section:"content"}),"h-0 max-h-full","data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]","md:data-[dual-pane-search-expanded]:h-[min(calc(85vh_-_72px),calc(900px_-_72px_-_135px))]","[[data-mobile]_&]:h-[calc(100vh-var(--input-height)-var(--footer-height)-var(--ask-ai-trigger-height))]","transition-all duration-300 ease-in-out data-[has-content]:pb-2",e),...t}),y=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsLoading,{className:s.cn("group mb-1 relative transition-all w-full h-full",e),children:a.jsx(l.ResultsLoading,{}),...t}),T=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsEmpty,{className:s.cn("flex w-full h-full","overflow-hidden relative grow-[2]","items-center justify-center text-gray-600","dark:text-gray-dark-400 mt-8",e),...t}),j=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsTabList,{className:s.cn("shrink-0 max-w-full","flex gap-3 px-5 py-1","overflow-x-auto [scrollbar-width:thin]",e),...t}),N=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsTab,{className:s.cn("px-3 text-1sm font-medium rounded-full shrink-0","py-1 transition-all duration-200 leading-snug","border border-gray-300 dark:border-gray-dark-500","hover:bg-gray-50 dark:hover:bg-white-alpha-50","data-[state=active]:bg-inkeep-primary-light-subtle","hover:data-[state=active]:bg-inkeep-primary-light-subtle","data-[state=active]:text-inkeep-expanded-primary-900","data-[state=active]:border-inkeep-primary-medium-subtle","dark:data-[state=active]:bg-white-alpha-100","dark:hover:data-[state=active]:bg-white-alpha-100","dark:data-[state=active]:text-inkeep-expanded-primary-300","dark:data-[state=active]:border-inkeep-expanded-primary-300","focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300",e),...t}),A=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsContent,{className:s.cn("flex overflow-hidden h-full",e),...t}),_=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollArea,{className:s.cn("overflow-hidden h-full first:w-full","first:[[data-view=dual-pane]_&]:flex-1 md:first:[[data-view=dual-pane]_&]:flex-[0_0_44%]",'befter:content-[""] befter:absolute befter:inset-x-0',"befter:h-10 befter:pointer-events-none","befter:transition-opacity befter:duration-300","befter:ease-in-out befter:from-white","befter:dark:from-gray-dark-950 befter:to-transparent","before:top-0 after:bottom-0","before:bg-gradient-to-b after:bg-gradient-to-t","has-[[data-scroll-top]]:before:opacity-0","has-[[data-scroll-bottom]]:after:opacity-0",e),...t}),L=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaViewport,{className:s.cn("h-full w-full rounded-[inherit]",e),...t}),O=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaScrollbar,{className:s.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),B=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaThumb,{className:s.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),C=r.EmbeddedSearchPrimitive.ResultsScrollAreaCorner,q=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsList,{className:s.cn("w-full flex flex-col","items-center gap-2.5 h-full shrink-0","px-5 py-1 content-center -my-[1px]",e),...t}),D=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItem,{className:s.cn(i.citation({slot:"root"}),e),...t}),H=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemBreadcrumbs,{className:s.cn(i.citation({slot:"breadcrumbs"}),e),...t}),F=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemBreadcrumbIcon,{className:s.cn(i.citation({slot:"breadcrumbsIcon"}),e),...t}),G=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemIcon,{className:s.cn(i.citation({slot:"icon"}),e),...t}),Q=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemTitle,{className:s.cn(i.citation({slot:"title"}),e),...t}),V=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemTag,{className:s.cn(i.citation({slot:"tag"}),e),...t}),W=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemDescription,{className:s.cn(i.citation({slot:"description"}),e),...t}),z=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemDescriptionPart,{className:s.cn(i.citation({slot:"descriptionPart"}),e),...t}),M=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemIndicator,{className:s.cn(i.citation({slot:"indicator"}),e),...t}),$=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreview,{className:s.cn("flex-1 min-w-0 break-words pt-3 pb-4 pr-10 pl-5","hidden md:flex flex-col gap-6",e),...t}),J=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewHeader,{className:s.cn("flex flex-col gap-5",e),...t}),K=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewHeading,{className:s.cn("inline-block",e),...t}),U=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewTitle,{className:s.cn("text-3xl leading-snug tracking-tight","font-semibold hover:text-inkeep-primary-stronger","dark:hover:text-inkeep-expanded-primary-100",e),...t}),X=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewTitleLinkIcon,{className:s.cn("inline-block ml-2 mb-2 tracking-tight text-gray-500 dark:text-white-alpha-500",e),...t}),Y=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewBreadcrumbs,{className:s.cn(i.citation({slot:"breadcrumbs"}),"!line-clamp-none whitespace-normal text-gray-500 dark:text-gray-dark-200 text-sm",e),...t}),Z=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewBreadcrumbIcon,{className:s.cn(i.citation({slot:"breadcrumbsIcon"}),e),...t}),ee=({className:e,componentStyles:t,...d})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewBody,{className:s.cn("max-w-full text-gray-700 dark:text-gray-dark-100 [&_em]:font-bold [&_em]:not-italic",e),componentStyles:m.merge(o.markdownStyles,t??{}),...d}),te=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutline,{className:s.cn("flex flex-col gap-3",e),...t}),re=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineTitle,{className:s.cn("text-xs uppercase font-semibold tracking-widest","text-gray-500 dark:text-white-alpha-500",e),...t}),ae=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineList,{className:s.cn("flex flex-col gap-4",e),...t}),se=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItem,{className:s.cn("flex items-center gap-1 text-gray-600 dark:text-white-alpha-600 font-medium ",`${t.href?"cursor-pointer hover:text-gray-800 dark:hover:text-white-alpha-800 dark:data-[is-match]:hover:text-inkeep-expanded-primary-200 data-[is-match]:hover:text-inkeep-expanded-primary-800 ":""}`,"data-[is-match]:text-inkeep-expanded-primary-700","dark:data-[is-match]:text-inkeep-expanded-primary-300",e),...t}),ie=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItemIcon,{className:s.cn(e),...t}),de=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItemText,{className:s.cn(e),...t}),ne=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItemLinkIcon,{className:s.cn("h-3 !min-h-0 !min-w-0",e),...t}),ce=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Footer,{className:s.cn("justify-self-end","px-5 pt-1 pb-3","[[data-mobile]_&]:py-0","[[data-mobile]_&]:items-center","[[data-mobile]_&]:h-[var(--footer-height)]","hidden data-[has-results]:flex",e),...t}),le=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineContainer,{className:s.cn("flex items-center whitespace-nowrap",e),...t}),me=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineText,{className:s.cn("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),oe=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineLogo,{className:s.cn("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),he=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineBrandName,{className:s.cn(n.link(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t});exports.AskAITrigger=S;exports.AskAITriggerIcon=E;exports.AskAITriggerIndicator=P;exports.AskAITriggerIndicatorText=w;exports.AskAITriggerLabel=R;exports.AskAITriggerQuery=k;exports.Content=p;exports.Footer=ce;exports.Input=I;exports.InputGroup=x;exports.InputIcon=g;exports.Loading=v;exports.Provider=h;exports.Results=f;exports.ResultsContent=A;exports.ResultsEmpty=T;exports.ResultsItem=D;exports.ResultsItemBreadcrumbIcon=F;exports.ResultsItemBreadcrumbs=H;exports.ResultsItemDescription=W;exports.ResultsItemDescriptionPart=z;exports.ResultsItemIcon=G;exports.ResultsItemIndicator=M;exports.ResultsItemPreview=$;exports.ResultsItemPreviewBody=ee;exports.ResultsItemPreviewBreadcrumbIcon=Z;exports.ResultsItemPreviewBreadcrumbs=Y;exports.ResultsItemPreviewHeader=J;exports.ResultsItemPreviewHeading=K;exports.ResultsItemPreviewOutline=te;exports.ResultsItemPreviewOutlineItem=se;exports.ResultsItemPreviewOutlineItemIcon=ie;exports.ResultsItemPreviewOutlineItemLinkIcon=ne;exports.ResultsItemPreviewOutlineItemText=de;exports.ResultsItemPreviewOutlineList=ae;exports.ResultsItemPreviewOutlineTitle=re;exports.ResultsItemPreviewTitle=U;exports.ResultsItemPreviewTitleLinkIcon=X;exports.ResultsItemTag=V;exports.ResultsItemTitle=Q;exports.ResultsList=q;exports.ResultsLoading=y;exports.ResultsScrollArea=_;exports.ResultsScrollAreaCorner=C;exports.ResultsScrollAreaScrollbar=O;exports.ResultsScrollAreaThumb=B;exports.ResultsScrollAreaViewport=L;exports.ResultsTab=N;exports.ResultsTabList=j;exports.Root=b;exports.TaglineBrandName=he;exports.TaglineContainer=le;exports.TaglineLogo=oe;exports.TaglineText=me;exports.Wrapper=u;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("@inkeep/cxkit-primitives"),s=require("../utils.cjs"),i=require("../ui/recipes/citation.cjs"),n=require("../ui/recipes/link.cjs"),c=require("../ui/recipes/scrollable.cjs"),l=require("./embedded-search/results-loading.cjs"),m=require("merge-anything"),o=require("../ui/markdown-styles.cjs"),h=e=>a.jsx(r.EmbeddedSearchPrimitive.Provider,{...e}),u=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Wrapper,{className:s.cn("data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950",e),...t}),b=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Root,{className:s.cn("data-[hidden]:hidden flex flex-col w-full","[--footer-height:theme(spacing.9)]","data-[mobile]:[--input-height:theme(spacing.20)]","[--ask-ai-trigger-height:0px]","[[data-show-ask-ai-card]_&]:[--ask-ai-trigger-height:theme(spacing.11)]",e),...t}),p=r.EmbeddedSearchPrimitive.Content,x=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.InputGroup,{className:s.cn("flex items-center w-full px-5 pt-3 pb-3 gap-3","[[data-mobile]_&]:max-h-[var(--input-height)]",e),...t}),g=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.InputIcon,{className:s.cn("min-w-5 w-5 text-xl","text-gray-500 dark:text-white-alpha-600",e),...t}),I=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Input,{className:s.cn("min-h-[38px] overflow-hidden w-full resize-none","py-1.5 max-h-[10vh] placeholder:text-gray-500","w-full dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent",e),...t}),v=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Loading,{className:s.cn("animate-spin text-gray-400 dark:text-white-alpha-500",e),...t}),S=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITrigger,{className:s.cn(i.citation({slot:"root"}),"mx-5 w-[calc(100%_-_theme(spacing.10))]","mb-4 h-11 cursor-pointer","h-[var(--ask-ai-trigger-height)]","grid-template-[none] flex items-center",e),...t}),k=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerIcon,{className:s.cn("[grid-area:icon] h-5 w-5 flex-shrink-0","[--start-color:theme(colors.inkeep-expanded-primary.300)]","[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),E=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerLabel,{className:s.cn(i.citation({slot:"title"}),"font-medium text-gray-700",e),...t}),R=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerQuery,{className:s.cn("font-semibold !bg-clip-text text-transparent ml-2","animate-shine [background:linear-gradient(270deg,theme(colors.inkeep-primary.stronger-light),transparent)_-200%_50%_/_25%_100%_no-repeat,theme(colors.inkeep-expanded-primary.800)] ","dark:[background:linear-gradient(270deg,theme(colors.inkeep-expanded-primary.100),transparent)_-200%_50%_/_25%_100%_no-repeat,theme(colors.inkeep-expanded-primary.400)]",e),...t}),P=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerIndicator,{className:s.cn(i.citation({slot:"indicator"}),"ml-1 opacity-100 text-inkeep-primary-stronger-light group-selected:text-inkeep-primary-strong dark:text-gray-dark-300 dark:group-selected:text-inkeep-expanded-primary-300 ",e),...t}),w=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerIndicatorText,{className:s.cn("text-xs flex-shrink-0 ml-auto","group-selected:text-inkeep-primary-strong dark:text-gray-dark-300 dark:group-selected:text-inkeep-expanded-primary-300","text-inkeep-primary-medium-subtle bg-gray-500 bg-clip-text dark:bg-white-alpha-800",e),...t}),f=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Results,{className:s.cn(c.scrollable({section:"content"}),"h-0 max-h-full","data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]","md:data-[dual-pane-search-expanded]:h-[min(calc(85vh_-_72px),calc(900px_-_72px_-_135px))]","[[data-mobile]_&]:h-[calc(100vh-var(--input-height)-var(--footer-height)-var(--ask-ai-trigger-height))]","transition-all duration-300 ease-in-out data-[has-content]:pb-2",e),...t}),y=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsLoading,{className:s.cn("group mb-1 relative transition-all w-full h-full",e),children:a.jsx(l.ResultsLoading,{}),...t}),T=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsEmpty,{className:s.cn("flex w-full h-full","overflow-hidden relative grow-[2]","items-center justify-center text-gray-600","dark:text-gray-dark-400 mt-8",e),...t}),j=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsTabList,{className:s.cn("shrink-0 max-w-full","flex gap-3 px-5 pb-2 pt-0","overflow-x-auto [scrollbar-width:thin]",e),...t}),N=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsTab,{className:s.cn("px-3 text-1sm font-medium rounded-full shrink-0","py-1 transition-all duration-200 leading-snug","border border-gray-300 dark:border-gray-dark-500","hover:bg-gray-50 dark:hover:bg-white-alpha-50","data-[state=active]:bg-inkeep-primary-light-subtle","hover:data-[state=active]:bg-inkeep-primary-light-subtle","data-[state=active]:text-inkeep-expanded-primary-900","data-[state=active]:border-inkeep-primary-medium-subtle","dark:data-[state=active]:bg-white-alpha-100","dark:hover:data-[state=active]:bg-white-alpha-100","dark:data-[state=active]:text-inkeep-expanded-primary-300","dark:data-[state=active]:border-inkeep-expanded-primary-300","focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300",e),...t}),A=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsContent,{className:s.cn("flex overflow-hidden h-full",e),...t}),_=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollArea,{className:s.cn("overflow-hidden h-full first:w-full","first:[[data-view=dual-pane]_&]:flex-1 md:first:[[data-view=dual-pane]_&]:flex-[0_0_44%]",'befter:content-[""] befter:absolute befter:inset-x-0',"befter:h-10 befter:pointer-events-none","befter:transition-opacity befter:duration-300","befter:ease-in-out befter:from-white","befter:dark:from-gray-dark-950 befter:to-transparent","before:top-0 after:bottom-0","before:bg-gradient-to-b after:bg-gradient-to-t","has-[[data-scroll-top]]:before:opacity-0","has-[[data-scroll-bottom]]:after:opacity-0",e),...t}),L=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaViewport,{className:s.cn("h-full w-full rounded-[inherit]",e),...t}),O=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaScrollbar,{className:s.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),B=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaThumb,{className:s.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),C=r.EmbeddedSearchPrimitive.ResultsScrollAreaCorner,q=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsList,{className:s.cn("w-full flex flex-col","items-center gap-2.5 h-full shrink-0","px-5 py-1 content-center -my-[1px]",e),...t}),D=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItem,{className:s.cn(i.citation({slot:"root"}),e),...t}),H=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemBreadcrumbs,{className:s.cn(i.citation({slot:"breadcrumbs"}),e),...t}),F=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemBreadcrumbIcon,{className:s.cn(i.citation({slot:"breadcrumbsIcon"}),e),...t}),G=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemIcon,{className:s.cn(i.citation({slot:"icon"}),e),...t}),Q=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemTitle,{className:s.cn(i.citation({slot:"title"}),e),...t}),V=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemTag,{className:s.cn(i.citation({slot:"tag"}),e),...t}),W=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemDescription,{className:s.cn(i.citation({slot:"description"}),e),...t}),z=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemDescriptionPart,{className:s.cn(i.citation({slot:"descriptionPart"}),e),...t}),M=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemIndicator,{className:s.cn(i.citation({slot:"indicator"}),e),...t}),$=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreview,{className:s.cn("flex-1 min-w-0 break-words pt-3 pb-4 pr-10 pl-5","hidden md:flex flex-col gap-6",e),...t}),J=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewHeader,{className:s.cn("flex flex-col gap-5",e),...t}),K=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewHeading,{className:s.cn("inline-block",e),...t}),U=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewTitle,{className:s.cn("text-3xl leading-snug tracking-tight","font-semibold hover:text-inkeep-primary-stronger","dark:hover:text-inkeep-expanded-primary-100",e),...t}),X=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewTitleLinkIcon,{className:s.cn("inline-block ml-2 mb-2 tracking-tight text-gray-500 dark:text-white-alpha-500",e),...t}),Y=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewBreadcrumbs,{className:s.cn(i.citation({slot:"breadcrumbs"}),"!line-clamp-none whitespace-normal text-gray-500 dark:text-gray-dark-200 text-sm",e),...t}),Z=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewBreadcrumbIcon,{className:s.cn(i.citation({slot:"breadcrumbsIcon"}),e),...t}),ee=({className:e,componentStyles:t,...d})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewBody,{className:s.cn("max-w-full text-gray-700 dark:text-gray-dark-100 [&_em]:font-bold [&_em]:not-italic",e),componentStyles:m.merge(o.markdownStyles,t??{}),...d}),te=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutline,{className:s.cn("flex flex-col gap-3",e),...t}),re=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineTitle,{className:s.cn("text-xs uppercase font-semibold tracking-widest","text-gray-500 dark:text-white-alpha-500",e),...t}),ae=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineList,{className:s.cn("flex flex-col gap-4",e),...t}),se=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItem,{className:s.cn("flex items-center gap-1 text-gray-600 dark:text-white-alpha-600 font-medium ",`${t.href?"cursor-pointer hover:text-gray-800 dark:hover:text-white-alpha-800 dark:data-[is-match]:hover:text-inkeep-expanded-primary-200 data-[is-match]:hover:text-inkeep-expanded-primary-800 ":""}`,"data-[is-match]:text-inkeep-expanded-primary-700","dark:data-[is-match]:text-inkeep-expanded-primary-300",e),...t}),ie=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItemIcon,{className:s.cn(e),...t}),de=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItemText,{className:s.cn(e),...t}),ne=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemPreviewOutlineItemLinkIcon,{className:s.cn("h-3 !min-h-0 !min-w-0",e),...t}),ce=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Footer,{className:s.cn("justify-self-end","px-5 pt-1 pb-3","[[data-mobile]_&]:py-0","[[data-mobile]_&]:items-center","[[data-mobile]_&]:h-[var(--footer-height)]","hidden data-[has-results]:flex",e),...t}),le=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineContainer,{className:s.cn("flex items-center whitespace-nowrap",e),...t}),me=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineText,{className:s.cn("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),oe=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineLogo,{className:s.cn("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),he=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineBrandName,{className:s.cn(n.link(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t});exports.AskAITrigger=S;exports.AskAITriggerIcon=k;exports.AskAITriggerIndicator=P;exports.AskAITriggerIndicatorText=w;exports.AskAITriggerLabel=E;exports.AskAITriggerQuery=R;exports.Content=p;exports.Footer=ce;exports.Input=I;exports.InputGroup=x;exports.InputIcon=g;exports.Loading=v;exports.Provider=h;exports.Results=f;exports.ResultsContent=A;exports.ResultsEmpty=T;exports.ResultsItem=D;exports.ResultsItemBreadcrumbIcon=F;exports.ResultsItemBreadcrumbs=H;exports.ResultsItemDescription=W;exports.ResultsItemDescriptionPart=z;exports.ResultsItemIcon=G;exports.ResultsItemIndicator=M;exports.ResultsItemPreview=$;exports.ResultsItemPreviewBody=ee;exports.ResultsItemPreviewBreadcrumbIcon=Z;exports.ResultsItemPreviewBreadcrumbs=Y;exports.ResultsItemPreviewHeader=J;exports.ResultsItemPreviewHeading=K;exports.ResultsItemPreviewOutline=te;exports.ResultsItemPreviewOutlineItem=se;exports.ResultsItemPreviewOutlineItemIcon=ie;exports.ResultsItemPreviewOutlineItemLinkIcon=ne;exports.ResultsItemPreviewOutlineItemText=de;exports.ResultsItemPreviewOutlineList=ae;exports.ResultsItemPreviewOutlineTitle=re;exports.ResultsItemPreviewTitle=U;exports.ResultsItemPreviewTitleLinkIcon=X;exports.ResultsItemTag=V;exports.ResultsItemTitle=Q;exports.ResultsList=q;exports.ResultsLoading=y;exports.ResultsScrollArea=_;exports.ResultsScrollAreaCorner=C;exports.ResultsScrollAreaScrollbar=O;exports.ResultsScrollAreaThumb=B;exports.ResultsScrollAreaViewport=L;exports.ResultsTab=N;exports.ResultsTabList=j;exports.Root=b;exports.TaglineBrandName=he;exports.TaglineContainer=le;exports.TaglineLogo=oe;exports.TaglineText=me;exports.Wrapper=u;
|
|
@@ -27,14 +27,14 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), w = ({ className: e, .
|
|
|
27
27
|
className: r(
|
|
28
28
|
"data-[hidden]:hidden flex flex-col w-full",
|
|
29
29
|
"[--footer-height:theme(spacing.9)]",
|
|
30
|
-
"data-[mobile]:[--input-height:theme(spacing.
|
|
30
|
+
"data-[mobile]:[--input-height:theme(spacing.20)]",
|
|
31
31
|
"[--ask-ai-trigger-height:0px]",
|
|
32
32
|
"[[data-show-ask-ai-card]_&]:[--ask-ai-trigger-height:theme(spacing.11)]",
|
|
33
33
|
e
|
|
34
34
|
),
|
|
35
35
|
...t
|
|
36
36
|
}
|
|
37
|
-
),
|
|
37
|
+
), y = a.Content, S = ({
|
|
38
38
|
className: e,
|
|
39
39
|
...t
|
|
40
40
|
}) => /* @__PURE__ */ s(
|
|
@@ -42,7 +42,6 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), w = ({ className: e, .
|
|
|
42
42
|
{
|
|
43
43
|
className: r(
|
|
44
44
|
"flex items-center w-full px-5 pt-3 pb-3 gap-3",
|
|
45
|
-
"[[data-show-ask-ai-card]_&]:pb-1",
|
|
46
45
|
"[[data-mobile]_&]:max-h-[var(--input-height)]",
|
|
47
46
|
e
|
|
48
47
|
),
|
|
@@ -89,9 +88,8 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), w = ({ className: e, .
|
|
|
89
88
|
{
|
|
90
89
|
className: r(
|
|
91
90
|
l({ slot: "root" }),
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"mb-3 py-0 h-11 cursor-pointer",
|
|
91
|
+
"mx-5 w-[calc(100%_-_theme(spacing.10))]",
|
|
92
|
+
"mb-4 h-11 cursor-pointer",
|
|
95
93
|
"h-[var(--ask-ai-trigger-height)]",
|
|
96
94
|
"grid-template-[none] flex items-center",
|
|
97
95
|
e
|
|
@@ -143,7 +141,11 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), w = ({ className: e, .
|
|
|
143
141
|
}) => /* @__PURE__ */ s(
|
|
144
142
|
a.AskAITriggerIndicator,
|
|
145
143
|
{
|
|
146
|
-
className: r(
|
|
144
|
+
className: r(
|
|
145
|
+
l({ slot: "indicator" }),
|
|
146
|
+
"ml-1 opacity-100 text-inkeep-primary-stronger-light group-selected:text-inkeep-primary-strong dark:text-gray-dark-300 dark:group-selected:text-inkeep-expanded-primary-300 ",
|
|
147
|
+
e
|
|
148
|
+
),
|
|
147
149
|
...t
|
|
148
150
|
}
|
|
149
151
|
), B = ({
|
|
@@ -153,8 +155,9 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), w = ({ className: e, .
|
|
|
153
155
|
a.AskAITriggerIndicatorText,
|
|
154
156
|
{
|
|
155
157
|
className: r(
|
|
156
|
-
"text-xs
|
|
157
|
-
"
|
|
158
|
+
"text-xs flex-shrink-0 ml-auto",
|
|
159
|
+
"group-selected:text-inkeep-primary-strong dark:text-gray-dark-300 dark:group-selected:text-inkeep-expanded-primary-300",
|
|
160
|
+
"text-inkeep-primary-medium-subtle bg-gray-500 bg-clip-text dark:bg-white-alpha-800",
|
|
158
161
|
e
|
|
159
162
|
),
|
|
160
163
|
...t
|
|
@@ -209,7 +212,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), w = ({ className: e, .
|
|
|
209
212
|
{
|
|
210
213
|
className: r(
|
|
211
214
|
"shrink-0 max-w-full",
|
|
212
|
-
"flex gap-3 px-5
|
|
215
|
+
"flex gap-3 px-5 pb-2 pt-0",
|
|
213
216
|
"overflow-x-auto [scrollbar-width:thin]",
|
|
214
217
|
e
|
|
215
218
|
),
|
|
@@ -541,10 +544,10 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), w = ({ className: e, .
|
|
|
541
544
|
), he = ({
|
|
542
545
|
className: e,
|
|
543
546
|
...t
|
|
544
|
-
}) => /* @__PURE__ */ s(a.ResultsItemPreviewOutlineItemIcon, { className: r(e), ...t }),
|
|
547
|
+
}) => /* @__PURE__ */ s(a.ResultsItemPreviewOutlineItemIcon, { className: r(e), ...t }), ge = ({
|
|
545
548
|
className: e,
|
|
546
549
|
...t
|
|
547
|
-
}) => /* @__PURE__ */ s(a.ResultsItemPreviewOutlineItemText, { className: r(e), ...t }),
|
|
550
|
+
}) => /* @__PURE__ */ s(a.ResultsItemPreviewOutlineItemText, { className: r(e), ...t }), be = ({
|
|
548
551
|
className: e,
|
|
549
552
|
...t
|
|
550
553
|
}) => /* @__PURE__ */ s(
|
|
@@ -553,7 +556,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), w = ({ className: e, .
|
|
|
553
556
|
className: r("h-3 !min-h-0 !min-w-0", e),
|
|
554
557
|
...t
|
|
555
558
|
}
|
|
556
|
-
),
|
|
559
|
+
), xe = ({
|
|
557
560
|
className: e,
|
|
558
561
|
...t
|
|
559
562
|
}) => /* @__PURE__ */ s(
|
|
@@ -570,7 +573,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), w = ({ className: e, .
|
|
|
570
573
|
),
|
|
571
574
|
...t
|
|
572
575
|
}
|
|
573
|
-
),
|
|
576
|
+
), Ie = ({
|
|
574
577
|
className: e,
|
|
575
578
|
...t
|
|
576
579
|
}) => /* @__PURE__ */ s(
|
|
@@ -579,7 +582,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), w = ({ className: e, .
|
|
|
579
582
|
className: r("flex items-center whitespace-nowrap", e),
|
|
580
583
|
...t
|
|
581
584
|
}
|
|
582
|
-
),
|
|
585
|
+
), ke = ({
|
|
583
586
|
className: e,
|
|
584
587
|
...t
|
|
585
588
|
}) => /* @__PURE__ */ s(
|
|
@@ -588,7 +591,7 @@ const f = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), w = ({ className: e, .
|
|
|
588
591
|
className: r("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600", e),
|
|
589
592
|
...t
|
|
590
593
|
}
|
|
591
|
-
),
|
|
594
|
+
), Re = ({
|
|
592
595
|
className: e,
|
|
593
596
|
...t
|
|
594
597
|
}) => /* @__PURE__ */ s(
|
|
@@ -619,10 +622,10 @@ export {
|
|
|
619
622
|
B as AskAITriggerIndicatorText,
|
|
620
623
|
_ as AskAITriggerLabel,
|
|
621
624
|
L as AskAITriggerQuery,
|
|
622
|
-
|
|
623
|
-
|
|
625
|
+
y as Content,
|
|
626
|
+
xe as Footer,
|
|
624
627
|
E as Input,
|
|
625
|
-
|
|
628
|
+
S as InputGroup,
|
|
626
629
|
T as InputIcon,
|
|
627
630
|
N as Loading,
|
|
628
631
|
f as Provider,
|
|
@@ -645,8 +648,8 @@ export {
|
|
|
645
648
|
me as ResultsItemPreviewOutline,
|
|
646
649
|
pe as ResultsItemPreviewOutlineItem,
|
|
647
650
|
he as ResultsItemPreviewOutlineItemIcon,
|
|
648
|
-
|
|
649
|
-
|
|
651
|
+
be as ResultsItemPreviewOutlineItemLinkIcon,
|
|
652
|
+
ge as ResultsItemPreviewOutlineItemText,
|
|
650
653
|
ue as ResultsItemPreviewOutlineList,
|
|
651
654
|
ce as ResultsItemPreviewOutlineTitle,
|
|
652
655
|
le as ResultsItemPreviewTitle,
|
|
@@ -664,8 +667,8 @@ export {
|
|
|
664
667
|
j as ResultsTabList,
|
|
665
668
|
v as Root,
|
|
666
669
|
fe as TaglineBrandName,
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
+
Ie as TaglineContainer,
|
|
671
|
+
Re as TaglineLogo,
|
|
672
|
+
ke as TaglineText,
|
|
670
673
|
w as Wrapper
|
|
671
674
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("@inkeep/cxkit-primitives"),i=require("../utils.cjs"),l=require("../ui/recipes/button.cjs"),s=require("../ui/recipes/modal.cjs"),n=o.ModalPrimitive.Modal,r=({className:t,...e})=>a.jsx(o.ModalPrimitive.Overlay,{className:i.cn(s.modal({slot:"overlay"}),t),...e}),d=({className:t,...e})=>a.jsx(o.ModalPrimitive.Content,{className:i.cn(s.modal({slot:"content"}),"w-[min(90vw,720px)]","has-[[data-dual-pane-search-expanded]]:w-[min(90vw,1000px)] transition-width duration-300",t),...e}),c=({className:t,...e})=>a.jsx(o.ModalPrimitive.Close,{className:i.cn(s.modal({slot:"close"}),l.button({variant:"ghost",size:"xs"}),"relative inset-[unset] ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0","md:hidden",t),...e});exports.Close=c;exports.Content=d;exports.Overlay=r;exports.Root=n;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),o=require("@inkeep/cxkit-primitives"),i=require("../utils.cjs"),l=require("../ui/recipes/button.cjs"),s=require("../ui/recipes/modal.cjs"),n=o.ModalPrimitive.Modal,r=({className:t,...e})=>a.jsx(o.ModalPrimitive.Overlay,{className:i.cn(s.modal({slot:"overlay"}),t),...e}),d=({className:t,...e})=>a.jsx(o.ModalPrimitive.Content,{className:i.cn(s.modal({slot:"content"}),"w-[min(90vw,720px)]","has-[[data-dual-pane-search-expanded]]:w-[min(90vw,1000px)] transition-width duration-300",t),...e}),c=({className:t,...e})=>a.jsx(o.ModalPrimitive.Close,{className:i.cn(s.modal({slot:"close"}),l.button({variant:"ghost",size:"xs"}),"relative inset-[unset] w-6 ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0","md:hidden",t),...e});exports.Close=c;exports.Content=d;exports.Overlay=r;exports.Root=n;
|
package/dist/components/modal.js
CHANGED
|
@@ -31,7 +31,7 @@ const p = a.Modal, x = ({
|
|
|
31
31
|
className: s(
|
|
32
32
|
l({ slot: "close" }),
|
|
33
33
|
n({ variant: "ghost", size: "xs" }),
|
|
34
|
-
"relative inset-[unset] ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0",
|
|
34
|
+
"relative inset-[unset] w-6 ml-auto text-lg text-gray-500 dark:text-white-alpha-500 px-0",
|
|
35
35
|
"md:hidden",
|
|
36
36
|
t
|
|
37
37
|
),
|
package/dist/inkeep.css.cjs
CHANGED
|
@@ -624,6 +624,10 @@ video {
|
|
|
624
624
|
margin-left: 0.25rem;
|
|
625
625
|
margin-right: 0.25rem;
|
|
626
626
|
}
|
|
627
|
+
.mx-5 {
|
|
628
|
+
margin-left: 1.25rem;
|
|
629
|
+
margin-right: 1.25rem;
|
|
630
|
+
}
|
|
627
631
|
.mx-\\[5px\\] {
|
|
628
632
|
margin-left: 5px;
|
|
629
633
|
margin-right: 5px;
|
|
@@ -644,6 +648,9 @@ video {
|
|
|
644
648
|
margin-top: .1rem;
|
|
645
649
|
margin-bottom: .1rem;
|
|
646
650
|
}
|
|
651
|
+
.\\!ml-auto {
|
|
652
|
+
margin-left: auto !important;
|
|
653
|
+
}
|
|
647
654
|
.mb-0 {
|
|
648
655
|
margin-bottom: 0px;
|
|
649
656
|
}
|
|
@@ -656,6 +663,9 @@ video {
|
|
|
656
663
|
.mb-3 {
|
|
657
664
|
margin-bottom: 0.75rem;
|
|
658
665
|
}
|
|
666
|
+
.mb-4 {
|
|
667
|
+
margin-bottom: 1rem;
|
|
668
|
+
}
|
|
659
669
|
.mb-5 {
|
|
660
670
|
margin-bottom: 1.25rem;
|
|
661
671
|
}
|
|
@@ -901,8 +911,8 @@ video {
|
|
|
901
911
|
.w-\\[254px\\] {
|
|
902
912
|
width: 254px;
|
|
903
913
|
}
|
|
904
|
-
.w-\\[calc\\(100\\%_-_theme\\(spacing\\.
|
|
905
|
-
width: calc(100% -
|
|
914
|
+
.w-\\[calc\\(100\\%_-_theme\\(spacing\\.10\\)\\)\\] {
|
|
915
|
+
width: calc(100% - 2.5rem);
|
|
906
916
|
}
|
|
907
917
|
.w-\\[min\\(90vw\\2c 720px\\)\\] {
|
|
908
918
|
width: min(90vw,720px);
|
|
@@ -1522,6 +1532,9 @@ video {
|
|
|
1522
1532
|
.pb-1 {
|
|
1523
1533
|
padding-bottom: 0.25rem;
|
|
1524
1534
|
}
|
|
1535
|
+
.pb-2 {
|
|
1536
|
+
padding-bottom: 0.5rem;
|
|
1537
|
+
}
|
|
1525
1538
|
.pb-2\\.5 {
|
|
1526
1539
|
padding-bottom: 0.625rem;
|
|
1527
1540
|
}
|
|
@@ -1543,15 +1556,9 @@ video {
|
|
|
1543
1556
|
.pl-5 {
|
|
1544
1557
|
padding-left: 1.25rem;
|
|
1545
1558
|
}
|
|
1546
|
-
.pl-6 {
|
|
1547
|
-
padding-left: 1.5rem;
|
|
1548
|
-
}
|
|
1549
1559
|
.pl-7 {
|
|
1550
1560
|
padding-left: 1.75rem;
|
|
1551
1561
|
}
|
|
1552
|
-
.pr-1 {
|
|
1553
|
-
padding-right: 0.25rem;
|
|
1554
|
-
}
|
|
1555
1562
|
.pr-10 {
|
|
1556
1563
|
padding-right: 2.5rem;
|
|
1557
1564
|
}
|
|
@@ -1715,6 +1722,9 @@ video {
|
|
|
1715
1722
|
.text-inkeep-primary-stronger {
|
|
1716
1723
|
color: var(--ikp-color-inkeep-primary-stronger);
|
|
1717
1724
|
}
|
|
1725
|
+
.text-inkeep-primary-stronger-light {
|
|
1726
|
+
color: var(--ikp-color-inkeep-primary-stronger-light);
|
|
1727
|
+
}
|
|
1718
1728
|
.text-inkeep-primary-text-bold {
|
|
1719
1729
|
color: var(--ikp-color-inkeep-primary-text-bold);
|
|
1720
1730
|
}
|
|
@@ -1739,6 +1749,9 @@ video {
|
|
|
1739
1749
|
.opacity-0 {
|
|
1740
1750
|
opacity: 0;
|
|
1741
1751
|
}
|
|
1752
|
+
.opacity-100 {
|
|
1753
|
+
opacity: 1;
|
|
1754
|
+
}
|
|
1742
1755
|
.opacity-30 {
|
|
1743
1756
|
opacity: 0.3;
|
|
1744
1757
|
}
|
|
@@ -2628,8 +2641,8 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2628
2641
|
--end-color: var(--ikp-color-inkeep-expanded-primary-700);
|
|
2629
2642
|
}
|
|
2630
2643
|
|
|
2631
|
-
.data-\\[mobile\\]\\:\\[--input-height\\:theme\\(spacing\\.
|
|
2632
|
-
--input-height:
|
|
2644
|
+
.data-\\[mobile\\]\\:\\[--input-height\\:theme\\(spacing\\.20\\)\\][data-mobile] {
|
|
2645
|
+
--input-height: 5rem;
|
|
2633
2646
|
}
|
|
2634
2647
|
|
|
2635
2648
|
.data-\\[invalid\\]\\:\\[--shadow-color\\:theme\\(colors\\.red\\.500\\)\\][data-invalid] {
|
|
@@ -2760,19 +2773,9 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2760
2773
|
align-items: flex-start;
|
|
2761
2774
|
}
|
|
2762
2775
|
|
|
2763
|
-
[data-widget-md] .ikp-md\\:px-
|
|
2764
|
-
padding-left:
|
|
2765
|
-
padding-right:
|
|
2766
|
-
}
|
|
2767
|
-
|
|
2768
|
-
[data-widget-md] .ikp-md\\:px-4 {
|
|
2769
|
-
padding-left: 1rem;
|
|
2770
|
-
padding-right: 1rem;
|
|
2771
|
-
}
|
|
2772
|
-
|
|
2773
|
-
[data-widget-md] .ikp-md\\:px-8 {
|
|
2774
|
-
padding-left: 2rem;
|
|
2775
|
-
padding-right: 2rem;
|
|
2776
|
+
[data-widget-md] .ikp-md\\:px-10 {
|
|
2777
|
+
padding-left: 2.5rem;
|
|
2778
|
+
padding-right: 2.5rem;
|
|
2776
2779
|
}
|
|
2777
2780
|
|
|
2778
2781
|
[data-widget-md] .ikp-md\\:py-14 {
|
|
@@ -2982,6 +2985,10 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2982
2985
|
color: var(--ikp-color-inkeep-primary-strong);
|
|
2983
2986
|
}
|
|
2984
2987
|
|
|
2988
|
+
.group[data-selected="true"] .group-selected\\:text-inkeep-primary-strong {
|
|
2989
|
+
color: var(--ikp-color-inkeep-primary-strong);
|
|
2990
|
+
}
|
|
2991
|
+
|
|
2985
2992
|
.group[data-selected="true"] .group-selected\\:text-inkeep-primary-text-bold {
|
|
2986
2993
|
color: var(--ikp-color-inkeep-primary-text-bold);
|
|
2987
2994
|
}
|
|
@@ -2994,6 +3001,10 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2994
3001
|
opacity: 1;
|
|
2995
3002
|
}
|
|
2996
3003
|
|
|
3004
|
+
.group:hover .group-selected\\:text-inkeep-primary-strong {
|
|
3005
|
+
color: var(--ikp-color-inkeep-primary-strong);
|
|
3006
|
+
}
|
|
3007
|
+
|
|
2997
3008
|
.group:hover .group-selected\\:text-inkeep-primary-text-bold {
|
|
2998
3009
|
color: var(--ikp-color-inkeep-primary-text-bold);
|
|
2999
3010
|
}
|
|
@@ -3022,10 +3033,6 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
3022
3033
|
border-color: var(--ikp-color-inkeep-expanded-primary-200);
|
|
3023
3034
|
}
|
|
3024
3035
|
|
|
3025
|
-
.dark\\:border-transparent:is([data-theme="dark"] *) {
|
|
3026
|
-
border-color: transparent;
|
|
3027
|
-
}
|
|
3028
|
-
|
|
3029
3036
|
.dark\\:border-white-alpha-200:is([data-theme="dark"] *) {
|
|
3030
3037
|
border-color: var(--ikp-color-white-alpha-200);
|
|
3031
3038
|
}
|
|
@@ -3473,6 +3480,10 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
3473
3480
|
color: var(--ikp-color-gray-dark-100);
|
|
3474
3481
|
}
|
|
3475
3482
|
|
|
3483
|
+
.group[data-selected="true"] .dark\\:group-selected\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *) {
|
|
3484
|
+
color: var(--ikp-color-inkeep-expanded-primary-300);
|
|
3485
|
+
}
|
|
3486
|
+
|
|
3476
3487
|
.group[data-selected="true"] .dark\\:group-selected\\:text-white:is([data-theme="dark"] *) {
|
|
3477
3488
|
--tw-text-opacity: 1;
|
|
3478
3489
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
@@ -3482,6 +3493,10 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
3482
3493
|
color: var(--ikp-color-gray-dark-100);
|
|
3483
3494
|
}
|
|
3484
3495
|
|
|
3496
|
+
.group:hover .dark\\:group-selected\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *) {
|
|
3497
|
+
color: var(--ikp-color-inkeep-expanded-primary-300);
|
|
3498
|
+
}
|
|
3499
|
+
|
|
3485
3500
|
.group:hover .dark\\:group-selected\\:text-white:is([data-theme="dark"] *) {
|
|
3486
3501
|
--tw-text-opacity: 1;
|
|
3487
3502
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
@@ -3739,10 +3754,6 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
3739
3754
|
padding-bottom: 0px;
|
|
3740
3755
|
}
|
|
3741
3756
|
|
|
3742
|
-
[data-show-ask-ai-card] .\\[\\[data-show-ask-ai-card\\]_\\&\\]\\:pb-1 {
|
|
3743
|
-
padding-bottom: 0.25rem;
|
|
3744
|
-
}
|
|
3745
|
-
|
|
3746
3757
|
[data-show-ask-ai-card] .\\[\\[data-show-ask-ai-card\\]_\\&\\]\\:\\[--ask-ai-trigger-height\\:theme\\(spacing\\.11\\)\\] {
|
|
3747
3758
|
--ask-ai-trigger-height: 2.75rem;
|
|
3748
3759
|
}
|
package/dist/inkeep.css.js
CHANGED
|
@@ -625,6 +625,10 @@ video {
|
|
|
625
625
|
margin-left: 0.25rem;
|
|
626
626
|
margin-right: 0.25rem;
|
|
627
627
|
}
|
|
628
|
+
.mx-5 {
|
|
629
|
+
margin-left: 1.25rem;
|
|
630
|
+
margin-right: 1.25rem;
|
|
631
|
+
}
|
|
628
632
|
.mx-\\[5px\\] {
|
|
629
633
|
margin-left: 5px;
|
|
630
634
|
margin-right: 5px;
|
|
@@ -645,6 +649,9 @@ video {
|
|
|
645
649
|
margin-top: .1rem;
|
|
646
650
|
margin-bottom: .1rem;
|
|
647
651
|
}
|
|
652
|
+
.\\!ml-auto {
|
|
653
|
+
margin-left: auto !important;
|
|
654
|
+
}
|
|
648
655
|
.mb-0 {
|
|
649
656
|
margin-bottom: 0px;
|
|
650
657
|
}
|
|
@@ -657,6 +664,9 @@ video {
|
|
|
657
664
|
.mb-3 {
|
|
658
665
|
margin-bottom: 0.75rem;
|
|
659
666
|
}
|
|
667
|
+
.mb-4 {
|
|
668
|
+
margin-bottom: 1rem;
|
|
669
|
+
}
|
|
660
670
|
.mb-5 {
|
|
661
671
|
margin-bottom: 1.25rem;
|
|
662
672
|
}
|
|
@@ -902,8 +912,8 @@ video {
|
|
|
902
912
|
.w-\\[254px\\] {
|
|
903
913
|
width: 254px;
|
|
904
914
|
}
|
|
905
|
-
.w-\\[calc\\(100\\%_-_theme\\(spacing\\.
|
|
906
|
-
width: calc(100% -
|
|
915
|
+
.w-\\[calc\\(100\\%_-_theme\\(spacing\\.10\\)\\)\\] {
|
|
916
|
+
width: calc(100% - 2.5rem);
|
|
907
917
|
}
|
|
908
918
|
.w-\\[min\\(90vw\\2c 720px\\)\\] {
|
|
909
919
|
width: min(90vw,720px);
|
|
@@ -1523,6 +1533,9 @@ video {
|
|
|
1523
1533
|
.pb-1 {
|
|
1524
1534
|
padding-bottom: 0.25rem;
|
|
1525
1535
|
}
|
|
1536
|
+
.pb-2 {
|
|
1537
|
+
padding-bottom: 0.5rem;
|
|
1538
|
+
}
|
|
1526
1539
|
.pb-2\\.5 {
|
|
1527
1540
|
padding-bottom: 0.625rem;
|
|
1528
1541
|
}
|
|
@@ -1544,15 +1557,9 @@ video {
|
|
|
1544
1557
|
.pl-5 {
|
|
1545
1558
|
padding-left: 1.25rem;
|
|
1546
1559
|
}
|
|
1547
|
-
.pl-6 {
|
|
1548
|
-
padding-left: 1.5rem;
|
|
1549
|
-
}
|
|
1550
1560
|
.pl-7 {
|
|
1551
1561
|
padding-left: 1.75rem;
|
|
1552
1562
|
}
|
|
1553
|
-
.pr-1 {
|
|
1554
|
-
padding-right: 0.25rem;
|
|
1555
|
-
}
|
|
1556
1563
|
.pr-10 {
|
|
1557
1564
|
padding-right: 2.5rem;
|
|
1558
1565
|
}
|
|
@@ -1716,6 +1723,9 @@ video {
|
|
|
1716
1723
|
.text-inkeep-primary-stronger {
|
|
1717
1724
|
color: var(--ikp-color-inkeep-primary-stronger);
|
|
1718
1725
|
}
|
|
1726
|
+
.text-inkeep-primary-stronger-light {
|
|
1727
|
+
color: var(--ikp-color-inkeep-primary-stronger-light);
|
|
1728
|
+
}
|
|
1719
1729
|
.text-inkeep-primary-text-bold {
|
|
1720
1730
|
color: var(--ikp-color-inkeep-primary-text-bold);
|
|
1721
1731
|
}
|
|
@@ -1740,6 +1750,9 @@ video {
|
|
|
1740
1750
|
.opacity-0 {
|
|
1741
1751
|
opacity: 0;
|
|
1742
1752
|
}
|
|
1753
|
+
.opacity-100 {
|
|
1754
|
+
opacity: 1;
|
|
1755
|
+
}
|
|
1743
1756
|
.opacity-30 {
|
|
1744
1757
|
opacity: 0.3;
|
|
1745
1758
|
}
|
|
@@ -2629,8 +2642,8 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2629
2642
|
--end-color: var(--ikp-color-inkeep-expanded-primary-700);
|
|
2630
2643
|
}
|
|
2631
2644
|
|
|
2632
|
-
.data-\\[mobile\\]\\:\\[--input-height\\:theme\\(spacing\\.
|
|
2633
|
-
--input-height:
|
|
2645
|
+
.data-\\[mobile\\]\\:\\[--input-height\\:theme\\(spacing\\.20\\)\\][data-mobile] {
|
|
2646
|
+
--input-height: 5rem;
|
|
2634
2647
|
}
|
|
2635
2648
|
|
|
2636
2649
|
.data-\\[invalid\\]\\:\\[--shadow-color\\:theme\\(colors\\.red\\.500\\)\\][data-invalid] {
|
|
@@ -2761,19 +2774,9 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2761
2774
|
align-items: flex-start;
|
|
2762
2775
|
}
|
|
2763
2776
|
|
|
2764
|
-
[data-widget-md] .ikp-md\\:px-
|
|
2765
|
-
padding-left:
|
|
2766
|
-
padding-right:
|
|
2767
|
-
}
|
|
2768
|
-
|
|
2769
|
-
[data-widget-md] .ikp-md\\:px-4 {
|
|
2770
|
-
padding-left: 1rem;
|
|
2771
|
-
padding-right: 1rem;
|
|
2772
|
-
}
|
|
2773
|
-
|
|
2774
|
-
[data-widget-md] .ikp-md\\:px-8 {
|
|
2775
|
-
padding-left: 2rem;
|
|
2776
|
-
padding-right: 2rem;
|
|
2777
|
+
[data-widget-md] .ikp-md\\:px-10 {
|
|
2778
|
+
padding-left: 2.5rem;
|
|
2779
|
+
padding-right: 2.5rem;
|
|
2777
2780
|
}
|
|
2778
2781
|
|
|
2779
2782
|
[data-widget-md] .ikp-md\\:py-14 {
|
|
@@ -2983,6 +2986,10 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2983
2986
|
color: var(--ikp-color-inkeep-primary-strong);
|
|
2984
2987
|
}
|
|
2985
2988
|
|
|
2989
|
+
.group[data-selected="true"] .group-selected\\:text-inkeep-primary-strong {
|
|
2990
|
+
color: var(--ikp-color-inkeep-primary-strong);
|
|
2991
|
+
}
|
|
2992
|
+
|
|
2986
2993
|
.group[data-selected="true"] .group-selected\\:text-inkeep-primary-text-bold {
|
|
2987
2994
|
color: var(--ikp-color-inkeep-primary-text-bold);
|
|
2988
2995
|
}
|
|
@@ -2995,6 +3002,10 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2995
3002
|
opacity: 1;
|
|
2996
3003
|
}
|
|
2997
3004
|
|
|
3005
|
+
.group:hover .group-selected\\:text-inkeep-primary-strong {
|
|
3006
|
+
color: var(--ikp-color-inkeep-primary-strong);
|
|
3007
|
+
}
|
|
3008
|
+
|
|
2998
3009
|
.group:hover .group-selected\\:text-inkeep-primary-text-bold {
|
|
2999
3010
|
color: var(--ikp-color-inkeep-primary-text-bold);
|
|
3000
3011
|
}
|
|
@@ -3023,10 +3034,6 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
3023
3034
|
border-color: var(--ikp-color-inkeep-expanded-primary-200);
|
|
3024
3035
|
}
|
|
3025
3036
|
|
|
3026
|
-
.dark\\:border-transparent:is([data-theme="dark"] *) {
|
|
3027
|
-
border-color: transparent;
|
|
3028
|
-
}
|
|
3029
|
-
|
|
3030
3037
|
.dark\\:border-white-alpha-200:is([data-theme="dark"] *) {
|
|
3031
3038
|
border-color: var(--ikp-color-white-alpha-200);
|
|
3032
3039
|
}
|
|
@@ -3474,6 +3481,10 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
3474
3481
|
color: var(--ikp-color-gray-dark-100);
|
|
3475
3482
|
}
|
|
3476
3483
|
|
|
3484
|
+
.group[data-selected="true"] .dark\\:group-selected\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *) {
|
|
3485
|
+
color: var(--ikp-color-inkeep-expanded-primary-300);
|
|
3486
|
+
}
|
|
3487
|
+
|
|
3477
3488
|
.group[data-selected="true"] .dark\\:group-selected\\:text-white:is([data-theme="dark"] *) {
|
|
3478
3489
|
--tw-text-opacity: 1;
|
|
3479
3490
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
@@ -3483,6 +3494,10 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
3483
3494
|
color: var(--ikp-color-gray-dark-100);
|
|
3484
3495
|
}
|
|
3485
3496
|
|
|
3497
|
+
.group:hover .dark\\:group-selected\\:text-inkeep-expanded-primary-300:is([data-theme="dark"] *) {
|
|
3498
|
+
color: var(--ikp-color-inkeep-expanded-primary-300);
|
|
3499
|
+
}
|
|
3500
|
+
|
|
3486
3501
|
.group:hover .dark\\:group-selected\\:text-white:is([data-theme="dark"] *) {
|
|
3487
3502
|
--tw-text-opacity: 1;
|
|
3488
3503
|
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
|
@@ -3740,10 +3755,6 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
3740
3755
|
padding-bottom: 0px;
|
|
3741
3756
|
}
|
|
3742
3757
|
|
|
3743
|
-
[data-show-ask-ai-card] .\\[\\[data-show-ask-ai-card\\]_\\&\\]\\:pb-1 {
|
|
3744
|
-
padding-bottom: 0.25rem;
|
|
3745
|
-
}
|
|
3746
|
-
|
|
3747
3758
|
[data-show-ask-ai-card] .\\[\\[data-show-ask-ai-card\\]_\\&\\]\\:\\[--ask-ai-trigger-height\\:theme\\(spacing\\.11\\)\\] {
|
|
3748
3759
|
--ask-ai-trigger-height: 2.75rem;
|
|
3749
3760
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),t=e.cva(["transition-all data-[disable-transitions]:transition-none","duration-100 ease-in-out"],{variants:{slot:{root:["group w-full overflow-hidden border rounded-lg","text-inkeep-primary-text-bold selected:text-inkeep-primary-strong","focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300","dark:text-white-alpha-950 dark:selected:text-inkeep-expanded-primary-300","bg-white selected:bg-inkeep-primary-light-subtle","dark:bg-transparent dark:selected:bg-white-alpha-200","border-gray-200 selected:border-inkeep-primary-medium-subtle","dark:border-white-alpha-200","dark:selected:border-inkeep-expanded-primary-300","py-2 px-
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),t=e.cva(["transition-all data-[disable-transitions]:transition-none","duration-100 ease-in-out"],{variants:{slot:{root:["group w-full overflow-hidden border rounded-lg","text-inkeep-primary-text-bold selected:text-inkeep-primary-strong","focus:outline-inkeep-expanded-primary-700 dark:focus:outline-inkeep-expanded-primary-300","dark:text-white-alpha-950 dark:selected:text-inkeep-expanded-primary-300","bg-white selected:bg-inkeep-primary-light-subtle","dark:bg-transparent dark:selected:bg-white-alpha-200","border-gray-200 selected:border-inkeep-primary-medium-subtle","dark:border-white-alpha-200","dark:selected:border-inkeep-expanded-primary-300","py-2 px-4 grid gap-x-2 gap-y-1",'[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs_indicator""icon_title_tag_indicator""description_description_description_indicator"/auto_auto_1fr_auto]',"items-center",'md:data-[view=dual-pane]:[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs""icon_title_tag""description_description_description"/auto_auto_1fr]'],breadcrumbs:["[grid-area:breadcrumbs]","whitespace-nowrap line-clamp-1","flex items-center text-gray-600","dark:text-white-alpha-600 text-xs truncate inline-block"],breadcrumbsIcon:"last-of-type:hidden text-3xs mx-[5px]",icon:["[grid-area:icon]","text-gray-500","group-selected:text-inkeep-primary-text-subtle","dark:text-gray-dark-300 dark:group-selected:text-gray-dark-100"],title:["[grid-area:title]","text-gray-800 dark:text-white-alpha-950","group-selected:text-inkeep-primary-text-bold","dark:group-selected:text-white","font-medium line-clamp-1","whitespace-nowrap text-ellipsis inline-block"],tag:["[grid-area:tag] w-fit justify-self-end","text-xs px-1 uppercase rounded-sm align-middle","font-bold inline-block whitespace-nowrap",'data-[type^="github"]:text-purple-500','data-[type="stackoverflow"]:text-green-500',"shadow-[inset_0_0_0_1px_currentColor]"],description:["[grid-area:description]","text-1sm line-clamp-1","text-gray-700 dark:text-white-alpha-700"],descriptionPart:["data-[highlighted]:font-semibold","data-[highlighted]:text-inkeep-primary-text-subtle","dark:data-[highlighted]:text-gray-dark-50"],indicator:["[grid-area:indicator]","self-center justify-self-end","opacity-0 group-selected:opacity-100","transition-opacity duration-100 ease-in-out ml-auto","md:data-[view=dual-pane]:hidden"]}}});exports.citation=t;
|
|
@@ -15,7 +15,7 @@ const a = e(
|
|
|
15
15
|
"border-gray-200 selected:border-inkeep-primary-medium-subtle",
|
|
16
16
|
"dark:border-white-alpha-200",
|
|
17
17
|
"dark:selected:border-inkeep-expanded-primary-300",
|
|
18
|
-
"py-2 px-
|
|
18
|
+
"py-2 px-4 grid gap-x-2 gap-y-1",
|
|
19
19
|
'[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs_indicator""icon_title_tag_indicator""description_description_description_indicator"/auto_auto_1fr_auto]',
|
|
20
20
|
"items-center",
|
|
21
21
|
'md:data-[view=dual-pane]:[grid-template:"breadcrumbs_breadcrumbs_breadcrumbs""icon_title_tag""description_description_description"/auto_auto_1fr]'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("class-variance-authority"),a=require("./button.cjs"),e=require("../../utils.cjs"),r=t.cva("",{variants:{slot:{root:["bg-gray-50 dark:bg-transparent","border border-transparent dark:border-gray-dark-700","rounded-md p-0.5 flex items-center"],button:[e.cn(a.button({size:"xs"}),"group","rounded data-[active]:shadow","bg-transparent data-[active]:bg-white","text-gray-600 data-[active]:text-gray-800","dark:text-white-alpha-600 dark:data-[active]:text-white-alpha-950","dark:data-[active]:bg-gray-dark-700 dark:shadow-none","hover:text-gray-800 hover:dark:text-white-alpha-950")],icon:["mr-1 text-gray-500 data-[active]:text-gray-600","dark:text-white-alpha-500 dark:data-[active]:text-white-alpha-600","group-hover:text-gray-600 dark:group-hover:text-white-alpha-600"]}}});exports.widgetToggle=r;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("class-variance-authority"),a=require("./button.cjs"),e=require("../../utils.cjs"),r=t.cva("",{variants:{slot:{root:["bg-gray-50 dark:bg-transparent","border border-transparent dark:border-gray-dark-700","rounded-md p-0.5 flex items-center !ml-auto"],button:[e.cn(a.button({size:"xs"}),"group","rounded data-[active]:shadow","bg-transparent data-[active]:bg-white","text-gray-600 data-[active]:text-gray-800","dark:text-white-alpha-600 dark:data-[active]:text-white-alpha-950","dark:data-[active]:bg-gray-dark-700 dark:shadow-none","hover:text-gray-800 hover:dark:text-white-alpha-950")],icon:["mr-1 text-gray-500 data-[active]:text-gray-600","dark:text-white-alpha-500 dark:data-[active]:text-white-alpha-600","group-hover:text-gray-600 dark:group-hover:text-white-alpha-600"]}}});exports.widgetToggle=r;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/cxkit-styled",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.73",
|
|
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": "5.1.7",
|
|
41
41
|
"tailwind-merge": "2.6.0",
|
|
42
|
-
"@inkeep/cxkit-primitives": "0.5.
|
|
42
|
+
"@inkeep/cxkit-primitives": "0.5.73"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@biomejs/biome": "1.9.4",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"typescript": "5.7.3",
|
|
60
60
|
"vite": "5.4.11",
|
|
61
61
|
"vite-plugin-dts": "4.4.0",
|
|
62
|
-
"@inkeep/cxkit-theme": "0.5.
|
|
63
|
-
"@inkeep/cxkit-types": "0.5.
|
|
62
|
+
"@inkeep/cxkit-theme": "0.5.73",
|
|
63
|
+
"@inkeep/cxkit-types": "0.5.73"
|
|
64
64
|
},
|
|
65
65
|
"module": "dist/index.js",
|
|
66
66
|
"types": "dist/index.d.ts",
|