@inkeep/cxkit-styled 0.5.115 → 0.5.117
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 +382 -379
- package/dist/components/embedded-search.cjs +1 -1
- package/dist/components/embedded-search.js +212 -227
- package/dist/components/intelligent-form.cjs +1 -1
- package/dist/components/intelligent-form.js +49 -45
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/inkeep.css.cjs +15 -3
- package/dist/inkeep.css.js +15 -3
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),n=require("@inkeep/cxkit-primitives"),i=require("../utils.cjs"),m=require("../ui/recipes/button.cjs"),c=require("../ui/recipes/checkbox.cjs"),l=require("../ui/recipes/combobox.cjs"),s=require("../ui/recipes/input.cjs"),r=require("../ui/recipes/select.cjs"),x=require("merge-anything"),I=require("../ui/markdown-styles.cjs"),b=e=>o.jsx(n.IntelligentFormPrimitive.Provider,{...e}),u=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Root,{className:i.cn("max-w-full border divide-y","rounded-xl shadow h-full max-h-full","bg-white dark:bg-gray-dark-950","flex flex-col",e),...t}),S=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Heading,{className:i.cn("px-5 py-4 font-medium shrink-0",e),...t}),p=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Content,{className:i.cn("flex-1 overflow-hidden",e),...t}),C=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.ContentScrollArea,{className:i.cn("h-full",e),...t}),v=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.ContentScrollAreaViewport,{className:i.cn("h-full w-full rounded-[inherit] px-5","[&_[data-part=grid]]:px-1","[&_[data-part=grid]]:divide-y",e),...t}),P=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.ContentScrollAreaScrollbar,{className:i.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),f=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.ContentScrollAreaThumb,{className:i.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),j=n.IntelligentFormPrimitive.ContentScrollAreaCorner,N=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Success,{className:i.cn("flex flex-col items-center","justify-center mx-1 pt-12 pb-6",e),...t}),h=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SuccessIcon,{className:i.cn("w-6 h-6 text-green-500 mb-5",e),...t}),y=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SuccessHeading,{className:i.cn("text-xl font-semibold","mb-3 tracking-tight",e),...t}),w=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SuccessMessage,{className:i.cn("text-gray-800 dark:text-white-alpha-950",e),...t}),k=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.PrimaryForm,{className:i.cn("w-full flex flex-col py-6",e),...t}),T=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.PrimaryFormDescription,{className:i.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),A=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.PrimaryFormFields,{className:i.cn("w-full gap-8",e),...t}),B=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.PrimaryFormSubmit,{className:i.cn(m.button({preset:"neutralFilled",size:"sm"}),"ml-auto data-[loading]:cursor-wait","data-[submitted]:hidden",e),...t}),q=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormField,{className:i.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}),R=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldLabel,{className:i.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",'dark:data-[required]:after:[content:"*"]',e),...t}),H=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldText,{className:i.cn(s.input({size:"sm",variant:"outline"}),e),...t}),L=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldEmail,{className:i.cn(s.input({size:"sm",variant:"outline"}),e),...t}),E=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldFile,{className:i.cn(s.input({size:"sm",variant:"outline"}),"text-sm pl-2 file:h-full file:cursor-pointer py-0","file:bg-transparent file:border-none file:font-medium","file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",e),...t}),V=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldTextArea,{className:i.cn(s.input({size:"sm",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),z=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldCheckbox,{className:i.cn(c.checkbox({slot:"root"}),e),...t}),_=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldCheckboxIndicator,{className:i.cn(c.checkbox({slot:"indicator"}),e),...t}),D=n.IntelligentFormPrimitive.FormFieldSelect,M=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldSelectTrigger,{className:i.cn(r.select({slot:"trigger"}),"text-sm",e),...t}),O=n.IntelligentFormPrimitive.FormFieldSelectValue,G=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldSelectIcon,{className:i.cn("h-4 w-4 opacity-45",e),...t}),J=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldSelectContent,{className:i.cn(r.select({slot:"content"}),e),...t}),K=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldSelectViewport,{className:i.cn(r.select({slot:"viewport"}),e),...t}),Q=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldSelectItem,{className:i.cn(r.select({slot:"item"}),"text-sm",e),...t}),U=n.IntelligentFormPrimitive.FormFieldSelectItemText,W=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldSelectItemIndicator,{className:i.cn(r.select({slot:"itemIndicator"}),e),...t}),X=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldCombobox,{className:i.cn("w-full",e),...t}),Y=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxControl,{className:i.cn(l.combobox({slot:"control"}),"text-sm",e),...t}),Z=e=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxInput,{className:i.cn(l.combobox({slot:"input"}),e.className),...e}),$=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxTrigger,{className:i.cn(l.combobox({slot:"trigger"}),"h-4 w-4 opacity-45",e),...t}),ee=e=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxPositioner,{...e}),te=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxContent,{className:i.cn(l.combobox({slot:"content"}),e),...t}),a=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxItem,{className:i.cn(l.combobox({slot:"item"}),"text-sm",e),...t}),F=e=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxItemText,{className:i.cn(l.combobox({slot:"itemText"}),e.className),...e}),oe=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxSelectedTags,{className:i.cn(l.combobox({slot:"selectedTags"}),e),...t}),d=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxItemIndicator,{className:i.cn(l.combobox({slot:"itemIndicator"}),e),...t}),ne=()=>{const e=n.useComboboxItems();return e.length===0?o.jsx("div",{className:"py-6 text-center text-sm text-gray-500 dark:text-gray-dark-400",children:"No results found"}):o.jsx(o.Fragment,{children:e.map(t=>o.jsxs(a,{item:t,children:[o.jsx(F,{children:t.label}),o.jsx(d,{item:t})]},t.value))})},ie=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldError,{className:i.cn("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),le=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.BotHeading,{className:i.cn("flex items-center gap-2",e),...t}),re=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.BotHeadingIcon,{className:i.cn("border","bg-[linear-gradient(to_top,_var(--ikp-color-gray-100),_transparent)] dark:bg-[linear-gradient(to_top,_var(--ikp-color-gray-dark-600),_transparent)]","p-1 rounded-md","w-6 h-6 text-gray-600 dark:text-white-alpha-700",e),...t}),me=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.BotHeadingName,{className:i.cn("text-gray-800 dark:text-white-alpha-950 text-sm font-semibold",e),...t}),se=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Loading,{className:i.cn("py-6 flex flex-wrap","gap-x-3 gap-y-6","[&>:first-child]:basis-full text-sm",e),...t}),ce=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.ConfidentResponse,{className:i.cn("w-full flex flex-col py-6 gap-6 min-w-0 text-sm",e),...t}),ae=({className:e,componentStyles:t,...g})=>o.jsx(n.IntelligentFormPrimitive.ConfidentAnswer,{className:i.cn("max-w-full ",e),componentStyles:x.merge(I.markdownStyles,t??{}),...g}),Fe=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.ConfidentResponseButton,{className:i.cn(m.button({preset:"neutralFilled",size:"sm"}),"ml-auto gap-2 data-[escalated]:hidden",e),...t}),de=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.ConfidentResponseButtonIcon,{className:i.cn("",e),...t}),ge=n.IntelligentFormPrimitive.ConfidentResponseButtonLabel,xe=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SecondaryForm,{className:i.cn("w-full flex flex-col py-6 gap-6",e),...t}),Ie=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SecondaryFormDescription,{className:i.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),be=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SecondaryFormFields,{className:i.cn("w-full gap-8",e),...t}),ue=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SecondaryFormSubmit,{className:i.cn(m.button({preset:"neutralFilled",size:"sm"}),"ml-auto data-[loading]:cursor-wait","data-[submitted]:hidden",e),...t}),Se=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Error,{className:i.cn("text-red-500 dark:text-red-300",e),...t}),pe=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Sources,{className:i.cn("w-full flex flex-col gap-6",e),...t}),Ce=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SourcesCaption,{className:i.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),ve=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SourcesList,{className:i.cn("w-full flex flex-wrap gap-2 items-center",e),...t}),Pe=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Source,{className:i.cn(m.button({size:"xs",variant:"outline"}),"text-gray-600 dark:text-white-alpha-700 gap-1",e),...t}),fe=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SourceIcon,{className:i.cn("",e),...t}),je=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SourceTitle,{className:i.cn("line-clamp-1",e),...t});exports.BotHeading=le;exports.BotHeadingIcon=re;exports.BotHeadingName=me;exports.Checkbox=z;exports.CheckboxIndicator=_;exports.ConfidentAnswer=ae;exports.ConfidentResponse=ce;exports.ConfidentResponseButton=Fe;exports.ConfidentResponseButtonIcon=de;exports.ConfidentResponseButtonLabel=ge;exports.Content=p;exports.ContentScrollArea=C;exports.ContentScrollAreaCorner=j;exports.ContentScrollAreaScrollbar=P;exports.ContentScrollAreaThumb=f;exports.ContentScrollAreaViewport=v;exports.Email=L;exports.Error=Se;exports.Field=q;exports.FieldError=ie;exports.FieldLabel=R;exports.File=E;exports.FormFieldCombobox=X;exports.FormFieldComboboxContent=te;exports.FormFieldComboboxControl=Y;exports.FormFieldComboboxInput=Z;exports.FormFieldComboboxItem=a;exports.FormFieldComboboxItemIndicator=d;exports.FormFieldComboboxItemList=ne;exports.FormFieldComboboxItemText=F;exports.FormFieldComboboxPositioner=ee;exports.FormFieldComboboxSelectedTags=oe;exports.FormFieldComboboxTrigger=$;exports.Heading=S;exports.Loading=se;exports.PrimaryForm=k;exports.PrimaryFormDescription=T;exports.PrimaryFormFields=A;exports.PrimaryFormSubmit=B;exports.Provider=b;exports.Root=u;exports.SecondaryForm=xe;exports.SecondaryFormDescription=Ie;exports.SecondaryFormFields=be;exports.SecondaryFormSubmit=ue;exports.Select=D;exports.SelectContent=J;exports.SelectIcon=G;exports.SelectItem=Q;exports.SelectItemIndicator=W;exports.SelectItemText=U;exports.SelectTrigger=M;exports.SelectValue=O;exports.SelectViewport=K;exports.Source=Pe;exports.SourceIcon=fe;exports.SourceTitle=je;exports.Sources=pe;exports.SourcesCaption=Ce;exports.SourcesList=ve;exports.Success=N;exports.SuccessHeading=y;exports.SuccessIcon=h;exports.SuccessMessage=w;exports.Text=H;exports.TextArea=V;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),n=require("@inkeep/cxkit-primitives"),i=require("../utils.cjs"),m=require("../ui/recipes/button.cjs"),c=require("../ui/recipes/checkbox.cjs"),l=require("../ui/recipes/combobox.cjs"),s=require("../ui/recipes/input.cjs"),r=require("../ui/recipes/select.cjs"),x=require("merge-anything"),I=require("../ui/markdown-styles.cjs"),b=e=>o.jsx(n.IntelligentFormPrimitive.Provider,{...e}),u=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Root,{className:i.cn("max-w-full border divide-y","rounded-xl shadow h-full max-h-full","bg-white dark:bg-gray-dark-950","flex flex-col",e),...t}),p=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Heading,{className:i.cn("px-5 py-4 font-medium shrink-0",e),...t}),S=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Content,{className:i.cn("flex-1 overflow-hidden",e),...t}),C=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.ContentScrollArea,{className:i.cn("h-full",e),...t}),v=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.ContentScrollAreaViewport,{className:i.cn("h-full w-full rounded-[inherit] px-5","[&_[data-part=grid]]:px-1","[&_[data-part=grid]]:divide-y",e),...t}),P=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.ContentScrollAreaScrollbar,{className:i.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),f=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.ContentScrollAreaThumb,{className:i.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),j=n.IntelligentFormPrimitive.ContentScrollAreaCorner,N=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Success,{className:i.cn("flex flex-col items-center","justify-center mx-1 pt-12 pb-6",e),...t}),h=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SuccessIcon,{className:i.cn("w-6 h-6 text-green-500 mb-5",e),...t}),y=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SuccessHeading,{className:i.cn("text-xl font-semibold","mb-3 tracking-tight",e),...t}),w=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SuccessMessage,{className:i.cn("text-gray-800 dark:text-white-alpha-950",e),...t}),k=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.PrimaryForm,{className:i.cn("w-full flex flex-col py-6",e),...t}),T=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.PrimaryFormDescription,{className:i.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),A=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.PrimaryFormFields,{className:i.cn("w-full gap-8",e),...t}),B=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.PrimaryFormSubmit,{className:i.cn(m.button({preset:"neutralFilled",size:"sm"}),"ml-auto data-[loading]:cursor-wait","data-[submitted]:hidden",e),...t}),q=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormField,{className:i.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}),R=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldLabel,{className:i.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",'dark:data-[required]:after:[content:"*"]',e),...t}),H=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldText,{className:i.cn(s.input({size:"sm",variant:"outline"}),e),...t}),L=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldEmail,{className:i.cn(s.input({size:"sm",variant:"outline"}),e),...t}),D=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldFile,{className:i.cn(s.input({size:"sm",variant:"outline"}),"text-sm pl-2 file:h-full file:cursor-pointer py-0","file:bg-transparent file:border-none file:font-medium","file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",e),...t}),E=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldTextArea,{className:i.cn(s.input({size:"sm",variant:"outline"}),"min-h-20 px-4 py-2",e),...t}),V=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldCheckbox,{className:i.cn(c.checkbox({slot:"root"}),e),...t}),z=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldCheckboxIndicator,{className:i.cn(c.checkbox({slot:"indicator"}),e),...t}),_=n.IntelligentFormPrimitive.FormFieldSelect,M=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldSelectTrigger,{className:i.cn(r.select({slot:"trigger"}),"text-sm",e),...t}),O=n.IntelligentFormPrimitive.FormFieldSelectValue,G=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldSelectIcon,{className:i.cn("h-4 w-4 opacity-45",e),...t}),J=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldSelectContent,{className:i.cn(r.select({slot:"content"}),e),...t}),K=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldSelectViewport,{className:i.cn(r.select({slot:"viewport"}),e),...t}),Q=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldSelectItem,{className:i.cn(r.select({slot:"item"}),"text-sm",e),...t}),U=n.IntelligentFormPrimitive.FormFieldSelectItemText,W=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldSelectItemIndicator,{className:i.cn(r.select({slot:"itemIndicator"}),e),...t}),X=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldCombobox,{className:i.cn("w-full",e),...t}),Y=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxControl,{className:i.cn(l.combobox({slot:"control"}),"text-sm",e),...t}),Z=e=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxInput,{className:i.cn(l.combobox({slot:"input"}),e.className),...e}),$=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxTrigger,{className:i.cn(l.combobox({slot:"trigger"}),"h-4 w-4 opacity-45",e),...t}),ee=e=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxPositioner,{...e}),te=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxContent,{className:i.cn(l.combobox({slot:"content"}),e),...t}),a=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxItem,{className:i.cn(l.combobox({slot:"item"}),"text-sm",e),...t}),F=e=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxItemText,{className:i.cn(l.combobox({slot:"itemText"}),e.className),...e}),oe=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxSelectedTags,{className:i.cn(l.combobox({slot:"selectedTags"}),e),...t}),d=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldComboboxItemIndicator,{className:i.cn(l.combobox({slot:"itemIndicator"}),e),...t}),ne=()=>{const e=n.useComboboxItems();return e.length===0?o.jsx("div",{className:"py-6 text-center text-sm text-gray-500 dark:text-gray-dark-400",children:"No results found"}):o.jsx(o.Fragment,{children:e.map(t=>o.jsxs(a,{item:t,children:[o.jsx(F,{children:t.label}),o.jsx(d,{item:t})]},t.value))})},ie=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldDescription,{className:i.cn("text-sm text-gray-600 dark:text-white-alpha-600",e),...t}),le=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.FormFieldError,{className:i.cn("text-sm flex items-center text-red-500 dark:text-red-300",e),...t}),re=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.BotHeading,{className:i.cn("flex items-center gap-2",e),...t}),me=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.BotHeadingIcon,{className:i.cn("border","bg-[linear-gradient(to_top,_var(--ikp-color-gray-100),_transparent)] dark:bg-[linear-gradient(to_top,_var(--ikp-color-gray-dark-600),_transparent)]","p-1 rounded-md","w-6 h-6 text-gray-600 dark:text-white-alpha-700",e),...t}),se=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.BotHeadingName,{className:i.cn("text-gray-800 dark:text-white-alpha-950 text-sm font-semibold",e),...t}),ce=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Loading,{className:i.cn("py-6 flex flex-wrap","gap-x-3 gap-y-6","[&>:first-child]:basis-full text-sm",e),...t}),ae=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.ConfidentResponse,{className:i.cn("w-full flex flex-col py-6 gap-6 min-w-0 text-sm",e),...t}),Fe=({className:e,componentStyles:t,...g})=>o.jsx(n.IntelligentFormPrimitive.ConfidentAnswer,{className:i.cn("max-w-full ",e),componentStyles:x.merge(I.markdownStyles,t??{}),...g}),de=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.ConfidentResponseButton,{className:i.cn(m.button({preset:"neutralFilled",size:"sm"}),"ml-auto gap-2 data-[escalated]:hidden",e),...t}),ge=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.ConfidentResponseButtonIcon,{className:i.cn("",e),...t}),xe=n.IntelligentFormPrimitive.ConfidentResponseButtonLabel,Ie=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SecondaryForm,{className:i.cn("w-full flex flex-col py-6 gap-6",e),...t}),be=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SecondaryFormDescription,{className:i.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),ue=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SecondaryFormFields,{className:i.cn("w-full gap-8",e),...t}),pe=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SecondaryFormSubmit,{className:i.cn(m.button({preset:"neutralFilled",size:"sm"}),"ml-auto data-[loading]:cursor-wait","data-[submitted]:hidden",e),...t}),Se=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Error,{className:i.cn("text-red-500 dark:text-red-300",e),...t}),Ce=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Sources,{className:i.cn("w-full flex flex-col gap-6",e),...t}),ve=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SourcesCaption,{className:i.cn("text-gray-700 dark:text-white-alpha-700 text-sm",e),...t}),Pe=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SourcesList,{className:i.cn("w-full flex flex-wrap gap-2 items-center",e),...t}),fe=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.Source,{className:i.cn(m.button({size:"xs",variant:"outline"}),"text-gray-600 dark:text-white-alpha-700 gap-1",e),...t}),je=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SourceIcon,{className:i.cn("",e),...t}),Ne=({className:e,...t})=>o.jsx(n.IntelligentFormPrimitive.SourceTitle,{className:i.cn("line-clamp-1",e),...t});exports.BotHeading=re;exports.BotHeadingIcon=me;exports.BotHeadingName=se;exports.Checkbox=V;exports.CheckboxIndicator=z;exports.ConfidentAnswer=Fe;exports.ConfidentResponse=ae;exports.ConfidentResponseButton=de;exports.ConfidentResponseButtonIcon=ge;exports.ConfidentResponseButtonLabel=xe;exports.Content=S;exports.ContentScrollArea=C;exports.ContentScrollAreaCorner=j;exports.ContentScrollAreaScrollbar=P;exports.ContentScrollAreaThumb=f;exports.ContentScrollAreaViewport=v;exports.Email=L;exports.Error=Se;exports.Field=q;exports.FieldDescription=ie;exports.FieldError=le;exports.FieldLabel=R;exports.File=D;exports.FormFieldCombobox=X;exports.FormFieldComboboxContent=te;exports.FormFieldComboboxControl=Y;exports.FormFieldComboboxInput=Z;exports.FormFieldComboboxItem=a;exports.FormFieldComboboxItemIndicator=d;exports.FormFieldComboboxItemList=ne;exports.FormFieldComboboxItemText=F;exports.FormFieldComboboxPositioner=ee;exports.FormFieldComboboxSelectedTags=oe;exports.FormFieldComboboxTrigger=$;exports.Heading=p;exports.Loading=ce;exports.PrimaryForm=k;exports.PrimaryFormDescription=T;exports.PrimaryFormFields=A;exports.PrimaryFormSubmit=B;exports.Provider=b;exports.Root=u;exports.SecondaryForm=Ie;exports.SecondaryFormDescription=be;exports.SecondaryFormFields=ue;exports.SecondaryFormSubmit=pe;exports.Select=_;exports.SelectContent=J;exports.SelectIcon=G;exports.SelectItem=Q;exports.SelectItemIndicator=W;exports.SelectItemText=U;exports.SelectTrigger=M;exports.SelectValue=O;exports.SelectViewport=K;exports.Source=fe;exports.SourceIcon=je;exports.SourceTitle=Ne;exports.Sources=Ce;exports.SourcesCaption=ve;exports.SourcesList=Pe;exports.Success=N;exports.SuccessHeading=y;exports.SuccessIcon=h;exports.SuccessMessage=w;exports.Text=H;exports.TextArea=E;
|
|
@@ -60,7 +60,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
60
60
|
),
|
|
61
61
|
...t
|
|
62
62
|
}
|
|
63
|
-
),
|
|
63
|
+
), D = ({
|
|
64
64
|
className: e,
|
|
65
65
|
...t
|
|
66
66
|
}) => /* @__PURE__ */ l(
|
|
@@ -74,7 +74,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
74
74
|
),
|
|
75
75
|
...t
|
|
76
76
|
}
|
|
77
|
-
),
|
|
77
|
+
), E = ({
|
|
78
78
|
className: e,
|
|
79
79
|
...t
|
|
80
80
|
}) => /* @__PURE__ */ l(
|
|
@@ -83,7 +83,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
83
83
|
className: n("relative flex-1 rounded-full", "bg-gray-300 dark:bg-white-alpha-200", e),
|
|
84
84
|
...t
|
|
85
85
|
}
|
|
86
|
-
),
|
|
86
|
+
), V = o.ContentScrollAreaCorner, z = ({
|
|
87
87
|
className: e,
|
|
88
88
|
...t
|
|
89
89
|
}) => /* @__PURE__ */ l(
|
|
@@ -92,7 +92,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
92
92
|
className: n("flex flex-col items-center", "justify-center mx-1 pt-12 pb-6", e),
|
|
93
93
|
...t
|
|
94
94
|
}
|
|
95
|
-
),
|
|
95
|
+
), _ = ({
|
|
96
96
|
className: e,
|
|
97
97
|
...t
|
|
98
98
|
}) => /* @__PURE__ */ l(
|
|
@@ -101,7 +101,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
101
101
|
className: n("w-6 h-6 text-green-500 mb-5", e),
|
|
102
102
|
...t
|
|
103
103
|
}
|
|
104
|
-
),
|
|
104
|
+
), q = ({
|
|
105
105
|
className: e,
|
|
106
106
|
...t
|
|
107
107
|
}) => /* @__PURE__ */ l(
|
|
@@ -386,13 +386,16 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
386
386
|
}, Ie = ({
|
|
387
387
|
className: e,
|
|
388
388
|
...t
|
|
389
|
+
}) => /* @__PURE__ */ l(o.FormFieldDescription, { className: n("text-sm text-gray-600 dark:text-white-alpha-600", e), ...t }), pe = ({
|
|
390
|
+
className: e,
|
|
391
|
+
...t
|
|
389
392
|
}) => /* @__PURE__ */ l(
|
|
390
393
|
o.FormFieldError,
|
|
391
394
|
{
|
|
392
395
|
className: n("text-sm flex items-center text-red-500 dark:text-red-300", e),
|
|
393
396
|
...t
|
|
394
397
|
}
|
|
395
|
-
),
|
|
398
|
+
), Se = ({
|
|
396
399
|
className: e,
|
|
397
400
|
...t
|
|
398
401
|
}) => /* @__PURE__ */ l(
|
|
@@ -401,7 +404,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
401
404
|
className: n("flex items-center gap-2", e),
|
|
402
405
|
...t
|
|
403
406
|
}
|
|
404
|
-
),
|
|
407
|
+
), fe = ({
|
|
405
408
|
className: e,
|
|
406
409
|
...t
|
|
407
410
|
}) => /* @__PURE__ */ l(
|
|
@@ -416,7 +419,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
416
419
|
),
|
|
417
420
|
...t
|
|
418
421
|
}
|
|
419
|
-
),
|
|
422
|
+
), Ce = ({
|
|
420
423
|
className: e,
|
|
421
424
|
...t
|
|
422
425
|
}) => /* @__PURE__ */ l(
|
|
@@ -425,7 +428,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
425
428
|
className: n("text-gray-800 dark:text-white-alpha-950 text-sm font-semibold", e),
|
|
426
429
|
...t
|
|
427
430
|
}
|
|
428
|
-
),
|
|
431
|
+
), Ne = ({
|
|
429
432
|
className: e,
|
|
430
433
|
...t
|
|
431
434
|
}) => /* @__PURE__ */ l(
|
|
@@ -439,7 +442,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
439
442
|
),
|
|
440
443
|
...t
|
|
441
444
|
}
|
|
442
|
-
),
|
|
445
|
+
), he = ({
|
|
443
446
|
className: e,
|
|
444
447
|
...t
|
|
445
448
|
}) => /* @__PURE__ */ l(
|
|
@@ -448,7 +451,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
448
451
|
className: n("w-full flex flex-col py-6 gap-6 min-w-0 text-sm", e),
|
|
449
452
|
...t
|
|
450
453
|
}
|
|
451
|
-
),
|
|
454
|
+
), ye = ({
|
|
452
455
|
className: e,
|
|
453
456
|
componentStyles: t,
|
|
454
457
|
...c
|
|
@@ -459,7 +462,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
459
462
|
componentStyles: x(u, t ?? {}),
|
|
460
463
|
...c
|
|
461
464
|
}
|
|
462
|
-
),
|
|
465
|
+
), we = ({
|
|
463
466
|
className: e,
|
|
464
467
|
...t
|
|
465
468
|
}) => /* @__PURE__ */ l(
|
|
@@ -472,10 +475,10 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
472
475
|
),
|
|
473
476
|
...t
|
|
474
477
|
}
|
|
475
|
-
),
|
|
478
|
+
), ke = ({
|
|
476
479
|
className: e,
|
|
477
480
|
...t
|
|
478
|
-
}) => /* @__PURE__ */ l(o.ConfidentResponseButtonIcon, { className: n("", e), ...t }),
|
|
481
|
+
}) => /* @__PURE__ */ l(o.ConfidentResponseButtonIcon, { className: n("", e), ...t }), Te = o.ConfidentResponseButtonLabel, Ae = ({
|
|
479
482
|
className: e,
|
|
480
483
|
...t
|
|
481
484
|
}) => /* @__PURE__ */ l(
|
|
@@ -484,7 +487,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
484
487
|
className: n("w-full flex flex-col py-6 gap-6", e),
|
|
485
488
|
...t
|
|
486
489
|
}
|
|
487
|
-
),
|
|
490
|
+
), ve = ({
|
|
488
491
|
className: e,
|
|
489
492
|
...t
|
|
490
493
|
}) => /* @__PURE__ */ l(
|
|
@@ -493,7 +496,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
493
496
|
className: n("text-gray-700 dark:text-white-alpha-700 text-sm", e),
|
|
494
497
|
...t
|
|
495
498
|
}
|
|
496
|
-
),
|
|
499
|
+
), Pe = ({
|
|
497
500
|
className: e,
|
|
498
501
|
...t
|
|
499
502
|
}) => /* @__PURE__ */ l(
|
|
@@ -502,7 +505,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
502
505
|
className: n("w-full gap-8", e),
|
|
503
506
|
...t
|
|
504
507
|
}
|
|
505
|
-
),
|
|
508
|
+
), Be = ({
|
|
506
509
|
className: e,
|
|
507
510
|
...t
|
|
508
511
|
}) => /* @__PURE__ */ l(
|
|
@@ -516,7 +519,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
516
519
|
),
|
|
517
520
|
...t
|
|
518
521
|
}
|
|
519
|
-
),
|
|
522
|
+
), He = ({
|
|
520
523
|
className: e,
|
|
521
524
|
...t
|
|
522
525
|
}) => /* @__PURE__ */ l(
|
|
@@ -525,7 +528,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
525
528
|
className: n("text-red-500 dark:text-red-300", e),
|
|
526
529
|
...t
|
|
527
530
|
}
|
|
528
|
-
),
|
|
531
|
+
), Re = ({
|
|
529
532
|
className: e,
|
|
530
533
|
...t
|
|
531
534
|
}) => /* @__PURE__ */ l(
|
|
@@ -534,7 +537,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
534
537
|
className: n("w-full flex flex-col gap-6", e),
|
|
535
538
|
...t
|
|
536
539
|
}
|
|
537
|
-
),
|
|
540
|
+
), Le = ({
|
|
538
541
|
className: e,
|
|
539
542
|
...t
|
|
540
543
|
}) => /* @__PURE__ */ l(
|
|
@@ -543,7 +546,7 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
543
546
|
className: n("text-gray-700 dark:text-white-alpha-700 text-sm", e),
|
|
544
547
|
...t
|
|
545
548
|
}
|
|
546
|
-
),
|
|
549
|
+
), De = ({
|
|
547
550
|
className: e,
|
|
548
551
|
...t
|
|
549
552
|
}) => /* @__PURE__ */ l(
|
|
@@ -573,26 +576,27 @@ const v = (e) => /* @__PURE__ */ l(o.Provider, { ...e }), P = ({
|
|
|
573
576
|
...t
|
|
574
577
|
}) => /* @__PURE__ */ l(o.SourceTitle, { className: n("line-clamp-1", e), ...t });
|
|
575
578
|
export {
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
+
Se as BotHeading,
|
|
580
|
+
fe as BotHeadingIcon,
|
|
581
|
+
Ce as BotHeadingName,
|
|
579
582
|
Z as Checkbox,
|
|
580
583
|
$ as CheckboxIndicator,
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
584
|
+
ye as ConfidentAnswer,
|
|
585
|
+
he as ConfidentResponse,
|
|
586
|
+
we as ConfidentResponseButton,
|
|
587
|
+
ke as ConfidentResponseButtonIcon,
|
|
588
|
+
Te as ConfidentResponseButtonLabel,
|
|
586
589
|
H as Content,
|
|
587
590
|
R as ContentScrollArea,
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
+
V as ContentScrollAreaCorner,
|
|
592
|
+
D as ContentScrollAreaScrollbar,
|
|
593
|
+
E as ContentScrollAreaThumb,
|
|
591
594
|
L as ContentScrollAreaViewport,
|
|
592
595
|
W as Email,
|
|
593
|
-
|
|
596
|
+
He as Error,
|
|
594
597
|
O as Field,
|
|
595
|
-
Ie as
|
|
598
|
+
Ie as FieldDescription,
|
|
599
|
+
pe as FieldError,
|
|
596
600
|
Q as FieldLabel,
|
|
597
601
|
X as File,
|
|
598
602
|
me as FormFieldCombobox,
|
|
@@ -607,17 +611,17 @@ export {
|
|
|
607
611
|
ue as FormFieldComboboxSelectedTags,
|
|
608
612
|
Fe as FormFieldComboboxTrigger,
|
|
609
613
|
B as Heading,
|
|
610
|
-
|
|
614
|
+
Ne as Loading,
|
|
611
615
|
M as PrimaryForm,
|
|
612
616
|
G as PrimaryFormDescription,
|
|
613
617
|
J as PrimaryFormFields,
|
|
614
618
|
K as PrimaryFormSubmit,
|
|
615
619
|
v as Provider,
|
|
616
620
|
P as Root,
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
+
Ae as SecondaryForm,
|
|
622
|
+
ve as SecondaryFormDescription,
|
|
623
|
+
Pe as SecondaryFormFields,
|
|
624
|
+
Be as SecondaryFormSubmit,
|
|
621
625
|
ee as Select,
|
|
622
626
|
ne as SelectContent,
|
|
623
627
|
le as SelectIcon,
|
|
@@ -630,12 +634,12 @@ export {
|
|
|
630
634
|
Ee as Source,
|
|
631
635
|
Ve as SourceIcon,
|
|
632
636
|
ze as SourceTitle,
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
637
|
+
Re as Sources,
|
|
638
|
+
Le as SourcesCaption,
|
|
639
|
+
De as SourcesList,
|
|
640
|
+
z as Success,
|
|
641
|
+
q as SuccessHeading,
|
|
642
|
+
_ as SuccessIcon,
|
|
639
643
|
j as SuccessMessage,
|
|
640
644
|
U as Text,
|
|
641
645
|
Y as TextArea
|
package/dist/index.d.cts
CHANGED
|
@@ -172,7 +172,6 @@ export declare namespace EmbeddedChat {
|
|
|
172
172
|
EmbeddedChatTaglineContainer as TaglineContainer,
|
|
173
173
|
EmbeddedChatTaglineText as TaglineText,
|
|
174
174
|
EmbeddedChatTaglineLogo as TaglineLogo,
|
|
175
|
-
EmbeddedChatTaglineBrandName as TaglineBrandName,
|
|
176
175
|
EmbeddedChatAction as ChatAction,
|
|
177
176
|
EmbeddedChatActionLabel as ChatActionLabel,
|
|
178
177
|
EmbeddedChatActionFeedback as ChatActionFeedback,
|
|
@@ -232,6 +231,7 @@ export declare namespace EmbeddedChat {
|
|
|
232
231
|
EmbeddedChatFormFieldComboboxSelectedTags as FormFieldComboboxSelectedTags,
|
|
233
232
|
EmbeddedChatFormFieldComboboxItemIndicator as FormFieldComboboxItemIndicator,
|
|
234
233
|
EmbeddedChatFormFieldError as FormFieldError,
|
|
234
|
+
EmbeddedChatFormFieldDescription as FormFieldDescription,
|
|
235
235
|
EmbeddedChatFormError as FormError,
|
|
236
236
|
EmbeddedChatFormFooter as FormFooter,
|
|
237
237
|
EmbeddedChatFormCancel as FormCancel,
|
|
@@ -421,6 +421,8 @@ declare const EmbeddedChatFormFieldComboboxSelectedTags: ({ className, ...props
|
|
|
421
421
|
|
|
422
422
|
declare const EmbeddedChatFormFieldComboboxTrigger: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldComboboxTrigger>) => JSX.Element;
|
|
423
423
|
|
|
424
|
+
declare const EmbeddedChatFormFieldDescription: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldDescription>) => JSX.Element;
|
|
425
|
+
|
|
424
426
|
declare const EmbeddedChatFormFieldEmail: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldEmail>) => JSX.Element;
|
|
425
427
|
|
|
426
428
|
declare const EmbeddedChatFormFieldError: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldError>) => JSX.Element;
|
|
@@ -591,8 +593,6 @@ declare const EmbeddedChatSendButton: ({ className, ...props }: React.ComponentP
|
|
|
591
593
|
|
|
592
594
|
declare const EmbeddedChatSendButtonIcon: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.SendButtonIcon>) => JSX.Element;
|
|
593
595
|
|
|
594
|
-
declare const EmbeddedChatTaglineBrandName: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.TaglineBrandName>) => JSX.Element;
|
|
595
|
-
|
|
596
596
|
declare const EmbeddedChatTaglineContainer: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.TaglineContainer>) => JSX.Element;
|
|
597
597
|
|
|
598
598
|
declare const EmbeddedChatTaglineLogo: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.TaglineLogo>) => JSX.Element;
|
|
@@ -668,8 +668,7 @@ export declare namespace EmbeddedSearch {
|
|
|
668
668
|
EmbeddedSearchFooter as Footer,
|
|
669
669
|
EmbeddedSearchTaglineContainer as TaglineContainer,
|
|
670
670
|
EmbeddedSearchTaglineText as TaglineText,
|
|
671
|
-
EmbeddedSearchTaglineLogo as TaglineLogo
|
|
672
|
-
EmbeddedSearchTaglineBrandName as TaglineBrandName
|
|
671
|
+
EmbeddedSearchTaglineLogo as TaglineLogo
|
|
673
672
|
}
|
|
674
673
|
}
|
|
675
674
|
|
|
@@ -785,8 +784,6 @@ declare const EmbeddedSearchResultsTabList: ({ className, ...props }: ComponentP
|
|
|
785
784
|
|
|
786
785
|
declare const EmbeddedSearchRoot: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Root>) => JSX.Element;
|
|
787
786
|
|
|
788
|
-
declare const EmbeddedSearchTaglineBrandName: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineBrandName>) => JSX.Element;
|
|
789
|
-
|
|
790
787
|
declare const EmbeddedSearchTaglineContainer: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineContainer>) => JSX.Element;
|
|
791
788
|
|
|
792
789
|
declare const EmbeddedSearchTaglineLogo: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineLogo>) => JSX.Element;
|
|
@@ -844,6 +841,7 @@ export declare namespace IntelligentForm {
|
|
|
844
841
|
IntelligentFormFieldComboboxItemText as FormFieldComboboxItemText,
|
|
845
842
|
IntelligentFormFieldComboboxSelectedTags as FormFieldComboboxSelectedTags,
|
|
846
843
|
IntelligentFormFieldComboboxItemIndicator as FormFieldComboboxItemIndicator,
|
|
844
|
+
IntelligentFormFieldDescription as FieldDescription,
|
|
847
845
|
IntelligentFormFieldError as FieldError,
|
|
848
846
|
IntelligentFormBotHeading as BotHeading,
|
|
849
847
|
IntelligentFormBotHeadingIcon as BotHeadingIcon,
|
|
@@ -926,6 +924,8 @@ declare const IntelligentFormFieldComboboxSelectedTags: ({ className, ...props }
|
|
|
926
924
|
|
|
927
925
|
declare const IntelligentFormFieldComboboxTrigger: ({ className, ...props }: React.ComponentPropsWithRef<typeof IntelligentFormPrimitive.FormFieldComboboxTrigger>) => JSX.Element;
|
|
928
926
|
|
|
927
|
+
declare const IntelligentFormFieldDescription: ({ className, ...props }: React.ComponentPropsWithRef<typeof IntelligentFormPrimitive.FormFieldDescription>) => JSX.Element;
|
|
928
|
+
|
|
929
929
|
declare const IntelligentFormFieldEmail: ({ className, ...props }: React.ComponentPropsWithRef<typeof IntelligentFormPrimitive.FormFieldEmail>) => JSX.Element;
|
|
930
930
|
|
|
931
931
|
declare const IntelligentFormFieldError: ({ className, ...props }: React.ComponentPropsWithRef<typeof IntelligentFormPrimitive.FormFieldError>) => JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -172,7 +172,6 @@ export declare namespace EmbeddedChat {
|
|
|
172
172
|
EmbeddedChatTaglineContainer as TaglineContainer,
|
|
173
173
|
EmbeddedChatTaglineText as TaglineText,
|
|
174
174
|
EmbeddedChatTaglineLogo as TaglineLogo,
|
|
175
|
-
EmbeddedChatTaglineBrandName as TaglineBrandName,
|
|
176
175
|
EmbeddedChatAction as ChatAction,
|
|
177
176
|
EmbeddedChatActionLabel as ChatActionLabel,
|
|
178
177
|
EmbeddedChatActionFeedback as ChatActionFeedback,
|
|
@@ -232,6 +231,7 @@ export declare namespace EmbeddedChat {
|
|
|
232
231
|
EmbeddedChatFormFieldComboboxSelectedTags as FormFieldComboboxSelectedTags,
|
|
233
232
|
EmbeddedChatFormFieldComboboxItemIndicator as FormFieldComboboxItemIndicator,
|
|
234
233
|
EmbeddedChatFormFieldError as FormFieldError,
|
|
234
|
+
EmbeddedChatFormFieldDescription as FormFieldDescription,
|
|
235
235
|
EmbeddedChatFormError as FormError,
|
|
236
236
|
EmbeddedChatFormFooter as FormFooter,
|
|
237
237
|
EmbeddedChatFormCancel as FormCancel,
|
|
@@ -421,6 +421,8 @@ declare const EmbeddedChatFormFieldComboboxSelectedTags: ({ className, ...props
|
|
|
421
421
|
|
|
422
422
|
declare const EmbeddedChatFormFieldComboboxTrigger: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldComboboxTrigger>) => JSX.Element;
|
|
423
423
|
|
|
424
|
+
declare const EmbeddedChatFormFieldDescription: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldDescription>) => JSX.Element;
|
|
425
|
+
|
|
424
426
|
declare const EmbeddedChatFormFieldEmail: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldEmail>) => JSX.Element;
|
|
425
427
|
|
|
426
428
|
declare const EmbeddedChatFormFieldError: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.FormFieldError>) => JSX.Element;
|
|
@@ -591,8 +593,6 @@ declare const EmbeddedChatSendButton: ({ className, ...props }: React.ComponentP
|
|
|
591
593
|
|
|
592
594
|
declare const EmbeddedChatSendButtonIcon: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.SendButtonIcon>) => JSX.Element;
|
|
593
595
|
|
|
594
|
-
declare const EmbeddedChatTaglineBrandName: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.TaglineBrandName>) => JSX.Element;
|
|
595
|
-
|
|
596
596
|
declare const EmbeddedChatTaglineContainer: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.TaglineContainer>) => JSX.Element;
|
|
597
597
|
|
|
598
598
|
declare const EmbeddedChatTaglineLogo: ({ className, ...props }: React.ComponentPropsWithRef<typeof EmbeddedChatPrimitive.TaglineLogo>) => JSX.Element;
|
|
@@ -668,8 +668,7 @@ export declare namespace EmbeddedSearch {
|
|
|
668
668
|
EmbeddedSearchFooter as Footer,
|
|
669
669
|
EmbeddedSearchTaglineContainer as TaglineContainer,
|
|
670
670
|
EmbeddedSearchTaglineText as TaglineText,
|
|
671
|
-
EmbeddedSearchTaglineLogo as TaglineLogo
|
|
672
|
-
EmbeddedSearchTaglineBrandName as TaglineBrandName
|
|
671
|
+
EmbeddedSearchTaglineLogo as TaglineLogo
|
|
673
672
|
}
|
|
674
673
|
}
|
|
675
674
|
|
|
@@ -785,8 +784,6 @@ declare const EmbeddedSearchResultsTabList: ({ className, ...props }: ComponentP
|
|
|
785
784
|
|
|
786
785
|
declare const EmbeddedSearchRoot: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.Root>) => JSX.Element;
|
|
787
786
|
|
|
788
|
-
declare const EmbeddedSearchTaglineBrandName: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineBrandName>) => JSX.Element;
|
|
789
|
-
|
|
790
787
|
declare const EmbeddedSearchTaglineContainer: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineContainer>) => JSX.Element;
|
|
791
788
|
|
|
792
789
|
declare const EmbeddedSearchTaglineLogo: ({ className, ...props }: ComponentPropsWithRef<typeof EmbeddedSearchPrimitive.TaglineLogo>) => JSX.Element;
|
|
@@ -844,6 +841,7 @@ export declare namespace IntelligentForm {
|
|
|
844
841
|
IntelligentFormFieldComboboxItemText as FormFieldComboboxItemText,
|
|
845
842
|
IntelligentFormFieldComboboxSelectedTags as FormFieldComboboxSelectedTags,
|
|
846
843
|
IntelligentFormFieldComboboxItemIndicator as FormFieldComboboxItemIndicator,
|
|
844
|
+
IntelligentFormFieldDescription as FieldDescription,
|
|
847
845
|
IntelligentFormFieldError as FieldError,
|
|
848
846
|
IntelligentFormBotHeading as BotHeading,
|
|
849
847
|
IntelligentFormBotHeadingIcon as BotHeadingIcon,
|
|
@@ -926,6 +924,8 @@ declare const IntelligentFormFieldComboboxSelectedTags: ({ className, ...props }
|
|
|
926
924
|
|
|
927
925
|
declare const IntelligentFormFieldComboboxTrigger: ({ className, ...props }: React.ComponentPropsWithRef<typeof IntelligentFormPrimitive.FormFieldComboboxTrigger>) => JSX.Element;
|
|
928
926
|
|
|
927
|
+
declare const IntelligentFormFieldDescription: ({ className, ...props }: React.ComponentPropsWithRef<typeof IntelligentFormPrimitive.FormFieldDescription>) => JSX.Element;
|
|
928
|
+
|
|
929
929
|
declare const IntelligentFormFieldEmail: ({ className, ...props }: React.ComponentPropsWithRef<typeof IntelligentFormPrimitive.FormFieldEmail>) => JSX.Element;
|
|
930
930
|
|
|
931
931
|
declare const IntelligentFormFieldError: ({ className, ...props }: React.ComponentPropsWithRef<typeof IntelligentFormPrimitive.FormFieldError>) => JSX.Element;
|
package/dist/inkeep.css.cjs
CHANGED
|
@@ -701,9 +701,6 @@ video {
|
|
|
701
701
|
.ml-auto {
|
|
702
702
|
margin-left: auto;
|
|
703
703
|
}
|
|
704
|
-
.mr-0\\.5 {
|
|
705
|
-
margin-right: var(--ikp-spacing-0_5);
|
|
706
|
-
}
|
|
707
704
|
.mr-1 {
|
|
708
705
|
margin-right: var(--ikp-spacing-1);
|
|
709
706
|
}
|
|
@@ -722,6 +719,9 @@ video {
|
|
|
722
719
|
.ms-\\[1em\\] {
|
|
723
720
|
margin-inline-start: 1em;
|
|
724
721
|
}
|
|
722
|
+
.mt-1 {
|
|
723
|
+
margin-top: var(--ikp-spacing-1);
|
|
724
|
+
}
|
|
725
725
|
.mt-12 {
|
|
726
726
|
margin-top: var(--ikp-spacing-12);
|
|
727
727
|
}
|
|
@@ -2641,6 +2641,10 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2641
2641
|
flex-direction: row;
|
|
2642
2642
|
}
|
|
2643
2643
|
|
|
2644
|
+
.data-\\[input-type\\=checkbox\\]\\:flex-wrap[data-input-type="checkbox"] {
|
|
2645
|
+
flex-wrap: wrap;
|
|
2646
|
+
}
|
|
2647
|
+
|
|
2644
2648
|
.data-\\[even\\]\\:items-start[data-even] {
|
|
2645
2649
|
align-items: flex-start;
|
|
2646
2650
|
}
|
|
@@ -2929,6 +2933,14 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2929
2933
|
background-image: conic-gradient(transparent,var(--ikp-color-inkeep-expanded-primary-600),transparent 30%);
|
|
2930
2934
|
}
|
|
2931
2935
|
|
|
2936
|
+
.group[data-input-type="checkbox"] .group-data-\\[input-type\\=checkbox\\]\\:w-full {
|
|
2937
|
+
width: 100%;
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2940
|
+
.group[data-input-type="checkbox"] .group-data-\\[input-type\\=checkbox\\]\\:basis-full {
|
|
2941
|
+
flex-basis: 100%;
|
|
2942
|
+
}
|
|
2943
|
+
|
|
2932
2944
|
:not(.dark) .light\\:text-gray-700 {
|
|
2933
2945
|
color: var(--ikp-color-gray-700);
|
|
2934
2946
|
}
|
package/dist/inkeep.css.js
CHANGED
|
@@ -702,9 +702,6 @@ video {
|
|
|
702
702
|
.ml-auto {
|
|
703
703
|
margin-left: auto;
|
|
704
704
|
}
|
|
705
|
-
.mr-0\\.5 {
|
|
706
|
-
margin-right: var(--ikp-spacing-0_5);
|
|
707
|
-
}
|
|
708
705
|
.mr-1 {
|
|
709
706
|
margin-right: var(--ikp-spacing-1);
|
|
710
707
|
}
|
|
@@ -723,6 +720,9 @@ video {
|
|
|
723
720
|
.ms-\\[1em\\] {
|
|
724
721
|
margin-inline-start: 1em;
|
|
725
722
|
}
|
|
723
|
+
.mt-1 {
|
|
724
|
+
margin-top: var(--ikp-spacing-1);
|
|
725
|
+
}
|
|
726
726
|
.mt-12 {
|
|
727
727
|
margin-top: var(--ikp-spacing-12);
|
|
728
728
|
}
|
|
@@ -2642,6 +2642,10 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2642
2642
|
flex-direction: row;
|
|
2643
2643
|
}
|
|
2644
2644
|
|
|
2645
|
+
.data-\\[input-type\\=checkbox\\]\\:flex-wrap[data-input-type="checkbox"] {
|
|
2646
|
+
flex-wrap: wrap;
|
|
2647
|
+
}
|
|
2648
|
+
|
|
2645
2649
|
.data-\\[even\\]\\:items-start[data-even] {
|
|
2646
2650
|
align-items: flex-start;
|
|
2647
2651
|
}
|
|
@@ -2930,6 +2934,14 @@ img[data-part='icon'][data-type='custom'] {
|
|
|
2930
2934
|
background-image: conic-gradient(transparent,var(--ikp-color-inkeep-expanded-primary-600),transparent 30%);
|
|
2931
2935
|
}
|
|
2932
2936
|
|
|
2937
|
+
.group[data-input-type="checkbox"] .group-data-\\[input-type\\=checkbox\\]\\:w-full {
|
|
2938
|
+
width: 100%;
|
|
2939
|
+
}
|
|
2940
|
+
|
|
2941
|
+
.group[data-input-type="checkbox"] .group-data-\\[input-type\\=checkbox\\]\\:basis-full {
|
|
2942
|
+
flex-basis: 100%;
|
|
2943
|
+
}
|
|
2944
|
+
|
|
2933
2945
|
:not(.dark) .light\\:text-gray-700 {
|
|
2934
2946
|
color: var(--ikp-color-gray-700);
|
|
2935
2947
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/cxkit-styled",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.117",
|
|
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.117"
|
|
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.117",
|
|
63
|
+
"@inkeep/cxkit-types": "0.5.117"
|
|
64
64
|
},
|
|
65
65
|
"module": "dist/index.js",
|
|
66
66
|
"types": "dist/index.d.ts",
|