@inkeep/cxkit-styled 0.5.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("@inkeep/cxkit-primitives"),s=require("../utils.cjs"),d=require("../ui/recipes/citation.cjs"),i=require("../ui/recipes/link.cjs"),c=require("../ui/recipes/scrollable.cjs"),n=require("./embedded-search/results-loading.cjs"),l=e=>a.jsx(r.EmbeddedSearchPrimitive.Provider,{...e}),o=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Wrapper,{className:s.cn("data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950",e),...t}),m=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Root,{className:s.cn("data-[hidden]:hidden flex flex-col w-full",e),...t}),b=r.EmbeddedSearchPrimitive.Content,h=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.InputGroup,{className:s.cn("flex items-center w-full px-5 py-4 gap-3",e),...t}),u=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.InputIcon,{className:s.cn("min-w-5 w-5 text-xl","text-gray-500 dark:text-white-alpha-600",e),...t}),p=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Input,{className:s.cn("min-h-[38px] overflow-hidden w-full resize-none","py-2 max-h-[10vh] placeholder:text-gray-500","w-full dark:placeholder:text-gray-dark-200","border-none outline-none shadow-none bg-transparent",e),...t}),x=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Loading,{className:s.cn("animate-spin text-gray-400 dark:text-white-alpha-500",e),...t}),g=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITrigger,{className:s.cn(d.citation({slot:"root"}),"m-auto w-[calc(100%_-_theme(spacing.5))]","border-transparent dark:border-transparent","mb-3 py-0 h-11 cursor-pointer",e),...t}),S=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerIcon,{className:s.cn("[grid-area:icon] h-5 w-5","[--start-color:theme(colors.inkeep-expanded-primary.300)]","[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),E=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerLabel,{className:s.cn(d.citation({slot:"title"}),"font-normal",e),...t}),I=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerIndicator,{className:s.cn(d.citation({slot:"indicator"}),e),...t}),R=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Results,{className:s.cn(c.scrollable({section:"content"}),"h-0 max-h-full","data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]","transition-all duration-300 ease-in-out",e),...t}),v=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsLoading,{className:s.cn("group mb-1 relative transition-all w-full h-full",e),children:a.jsx(n.ResultsLoading,{}),...t}),f=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsEmpty,{className:s.cn("flex w-full h-full","overflow-hidden relative grow-[2]","items-center justify-center text-gray-600","dark:text-gray-dark-400 mt-8",e),...t}),k=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsTabList,{className:s.cn("shrink-0 max-w-full","flex gap-3 px-5 py-1","overflow-x-auto [scrollbar-width:thin]",e),...t}),P=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsTab,{className:s.cn("px-3 text-1sm font-medium rounded-full","py-1 transition-all duration-200 leading-snug","border border-gray-300 dark:border-gray-dark-500","hover:bg-gray-50 dark:hover:bg-white-alpha-50","data-[state=active]:bg-inkeep-primary-light-subtle","hover:data-[state=active]:bg-inkeep-primary-light-subtle","data-[state=active]:text-inkeep-expanded-primary-900","data-[state=active]:border-inkeep-primary-medium-subtle","dark:data-[state=active]:bg-white-alpha-100","dark:hover:data-[state=active]:bg-white-alpha-100","dark:data-[state=active]:text-inkeep-expanded-primary-300","dark:data-[state=active]:border-inkeep-expanded-primary-300",e),...t}),T=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollArea,{className:s.cn("overflow-hidden h-full",'befter:content-[""] befter:absolute befter:inset-x-0',"befter:h-10 befter:pointer-events-none","befter:transition-opacity befter:duration-300","befter:ease-in-out befter:from-white","befter:dark:from-gray-dark-950 befter:to-transparent","before:top-0 after:bottom-0","before:bg-gradient-to-b after:bg-gradient-to-t","has-[[data-scroll-top]]:before:opacity-0","has-[[data-scroll-bottom]]:after:opacity-0",e),...t}),y=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaViewport,{className:s.cn("h-full w-full rounded-[inherit]",e),...t}),j=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaScrollbar,{className:s.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),A=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaThumb,{className:s.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),w=r.EmbeddedSearchPrimitive.ResultsScrollAreaCorner,N=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsList,{className:s.cn("w-full flex flex-col","items-center gap-2.5 h-full shrink-0","px-5 py-1 content-center -my-[1px]",e),...t}),L=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItem,{className:s.cn(d.citation({slot:"root"}),e),...t}),B=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemBreadcrumbs,{className:s.cn(d.citation({slot:"breadcrumbs"}),e),...t}),C=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemBreadcrumbIcon,{className:s.cn(d.citation({slot:"breadcrumbsIcon"}),e),...t}),_=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemIcon,{className:s.cn(d.citation({slot:"icon"}),e),...t}),q=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemTitle,{className:s.cn(d.citation({slot:"title"}),e),...t}),D=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemTag,{className:s.cn(d.citation({slot:"tag"}),e),...t}),F=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemDescription,{className:s.cn(d.citation({slot:"description"}),e),...t}),G=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemDescriptionPart,{className:s.cn(d.citation({slot:"descriptionPart"}),e),...t}),V=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemIndicator,{className:s.cn(d.citation({slot:"indicator"}),e),...t}),W=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Footer,{className:s.cn("justify-self-end pt-1 pb-3 px-5","hidden data-[has-results]:flex",e),...t}),z=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineContainer,{className:s.cn("flex items-center whitespace-nowrap",e),...t}),M=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineText,{className:s.cn("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),O=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineLogo,{className:s.cn("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),H=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineBrandName,{className:s.cn(i.link(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t});exports.AskAITrigger=g;exports.AskAITriggerIcon=S;exports.AskAITriggerIndicator=I;exports.AskAITriggerLabel=E;exports.Content=b;exports.Footer=W;exports.Input=p;exports.InputGroup=h;exports.InputIcon=u;exports.Loading=x;exports.Provider=l;exports.Results=R;exports.ResultsEmpty=f;exports.ResultsItem=L;exports.ResultsItemBreadcrumbIcon=C;exports.ResultsItemBreadcrumbs=B;exports.ResultsItemDescription=F;exports.ResultsItemDescriptionPart=G;exports.ResultsItemIcon=_;exports.ResultsItemIndicator=V;exports.ResultsItemTag=D;exports.ResultsItemTitle=q;exports.ResultsList=N;exports.ResultsLoading=v;exports.ResultsScrollArea=T;exports.ResultsScrollAreaCorner=w;exports.ResultsScrollAreaScrollbar=j;exports.ResultsScrollAreaThumb=A;exports.ResultsScrollAreaViewport=y;exports.ResultsTab=P;exports.ResultsTabList=k;exports.Root=m;exports.TaglineBrandName=H;exports.TaglineContainer=z;exports.TaglineLogo=O;exports.TaglineText=M;exports.Wrapper=o;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("@inkeep/cxkit-primitives"),s=require("../utils.cjs"),d=require("../ui/recipes/citation.cjs"),i=require("../ui/recipes/link.cjs"),c=require("../ui/recipes/scrollable.cjs"),n=require("./embedded-search/results-loading.cjs"),l=e=>a.jsx(r.EmbeddedSearchPrimitive.Provider,{...e}),o=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Wrapper,{className:s.cn("data-[hidden]:hidden rounded-md flex","bg-white dark:bg-gray-dark-950",e),...t}),m=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Root,{className:s.cn("data-[hidden]:hidden flex flex-col w-full",e),...t}),b=r.EmbeddedSearchPrimitive.Content,h=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.InputGroup,{className:s.cn("flex items-center w-full px-5 pt-3 pb-1 gap-3",e),...t}),u=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.InputIcon,{className:s.cn("min-w-5 w-5 text-xl","text-gray-500 dark:text-white-alpha-600",e),...t}),p=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Input,{className:s.cn("min-h-[38px] overflow-hidden w-full resize-none","py-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}),x=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Loading,{className:s.cn("animate-spin text-gray-400 dark:text-white-alpha-500",e),...t}),g=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITrigger,{className:s.cn(d.citation({slot:"root"}),"m-auto w-[calc(100%_-_theme(spacing.5))]","border-transparent dark:border-transparent","mb-3 py-0 h-11 cursor-pointer",e),...t}),S=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerIcon,{className:s.cn("[grid-area:icon] h-5 w-5","[--start-color:theme(colors.inkeep-expanded-primary.300)]","[--end-color:theme(colors.inkeep-expanded-primary.700)]","dark:[--start-color:theme(colors.inkeep-expanded-primary.50)]","dark:[--end-color:theme(colors.inkeep-expanded-primary.300)]",e),...t}),E=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerLabel,{className:s.cn(d.citation({slot:"title"}),"font-normal",e),...t}),I=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.AskAITriggerIndicator,{className:s.cn(d.citation({slot:"indicator"}),e),...t}),R=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Results,{className:s.cn(c.scrollable({section:"content"}),"h-0 max-h-full","data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]","transition-all duration-300 ease-in-out pb-2",e),...t}),v=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsLoading,{className:s.cn("group mb-1 relative transition-all w-full h-full",e),children:a.jsx(n.ResultsLoading,{}),...t}),f=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsEmpty,{className:s.cn("flex w-full h-full","overflow-hidden relative grow-[2]","items-center justify-center text-gray-600","dark:text-gray-dark-400 mt-8",e),...t}),k=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsTabList,{className:s.cn("shrink-0 max-w-full","flex gap-3 px-5 py-1","overflow-x-auto [scrollbar-width:thin]",e),...t}),P=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsTab,{className:s.cn("px-3 text-1sm font-medium rounded-full","py-1 transition-all duration-200 leading-snug","border border-gray-300 dark:border-gray-dark-500","hover:bg-gray-50 dark:hover:bg-white-alpha-50","data-[state=active]:bg-inkeep-primary-light-subtle","hover:data-[state=active]:bg-inkeep-primary-light-subtle","data-[state=active]:text-inkeep-expanded-primary-900","data-[state=active]:border-inkeep-primary-medium-subtle","dark:data-[state=active]:bg-white-alpha-100","dark:hover:data-[state=active]:bg-white-alpha-100","dark:data-[state=active]:text-inkeep-expanded-primary-300","dark:data-[state=active]:border-inkeep-expanded-primary-300",e),...t}),T=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollArea,{className:s.cn("overflow-hidden h-full",'befter:content-[""] befter:absolute befter:inset-x-0',"befter:h-10 befter:pointer-events-none","befter:transition-opacity befter:duration-300","befter:ease-in-out befter:from-white","befter:dark:from-gray-dark-950 befter:to-transparent","before:top-0 after:bottom-0","before:bg-gradient-to-b after:bg-gradient-to-t","has-[[data-scroll-top]]:before:opacity-0","has-[[data-scroll-bottom]]:after:opacity-0",e),...t}),y=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaViewport,{className:s.cn("h-full w-full rounded-[inherit]",e),...t}),j=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaScrollbar,{className:s.cn("flex select-none touch-none p-0.5","transition-colors duration-[160ms] ease-in-out","w-2.5 border-l border-l-transparent",e),...t}),A=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsScrollAreaThumb,{className:s.cn("relative flex-1 rounded-full","bg-gray-300 dark:bg-white-alpha-200",e),...t}),w=r.EmbeddedSearchPrimitive.ResultsScrollAreaCorner,N=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsList,{className:s.cn("w-full flex flex-col","items-center gap-2.5 h-full shrink-0","px-5 py-1 content-center -my-[1px]",e),...t}),L=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItem,{className:s.cn(d.citation({slot:"root"}),e),...t}),B=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemBreadcrumbs,{className:s.cn(d.citation({slot:"breadcrumbs"}),e),...t}),C=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemBreadcrumbIcon,{className:s.cn(d.citation({slot:"breadcrumbsIcon"}),e),...t}),_=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemIcon,{className:s.cn(d.citation({slot:"icon"}),e),...t}),q=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemTitle,{className:s.cn(d.citation({slot:"title"}),e),...t}),D=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemTag,{className:s.cn(d.citation({slot:"tag"}),e),...t}),F=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemDescription,{className:s.cn(d.citation({slot:"description"}),e),...t}),G=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemDescriptionPart,{className:s.cn(d.citation({slot:"descriptionPart"}),e),...t}),V=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.ResultsItemIndicator,{className:s.cn(d.citation({slot:"indicator"}),e),...t}),W=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.Footer,{className:s.cn("justify-self-end pt-1 pb-3 px-5","hidden data-[has-results]:flex",e),...t}),z=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineContainer,{className:s.cn("flex items-center whitespace-nowrap",e),...t}),M=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineText,{className:s.cn("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600",e),...t}),O=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineLogo,{className:s.cn("text-gray-400 dark:text-white-alpha-500","w-[18px] ml-2 mr-1",e),...t}),H=({className:e,...t})=>a.jsx(r.EmbeddedSearchPrimitive.TaglineBrandName,{className:s.cn(i.link(),"inline-flex text-xs md:text-sm text-gray-500","dark:text-white-alpha-600 font-bold",e),...t});exports.AskAITrigger=g;exports.AskAITriggerIcon=S;exports.AskAITriggerIndicator=I;exports.AskAITriggerLabel=E;exports.Content=b;exports.Footer=W;exports.Input=p;exports.InputGroup=h;exports.InputIcon=u;exports.Loading=x;exports.Provider=l;exports.Results=R;exports.ResultsEmpty=f;exports.ResultsItem=L;exports.ResultsItemBreadcrumbIcon=C;exports.ResultsItemBreadcrumbs=B;exports.ResultsItemDescription=F;exports.ResultsItemDescriptionPart=G;exports.ResultsItemIcon=_;exports.ResultsItemIndicator=V;exports.ResultsItemTag=D;exports.ResultsItemTitle=q;exports.ResultsList=N;exports.ResultsLoading=v;exports.ResultsScrollArea=T;exports.ResultsScrollAreaCorner=w;exports.ResultsScrollAreaScrollbar=j;exports.ResultsScrollAreaThumb=A;exports.ResultsScrollAreaViewport=y;exports.ResultsTab=P;exports.ResultsTabList=k;exports.Root=m;exports.TaglineBrandName=H;exports.TaglineContainer=z;exports.TaglineLogo=O;exports.TaglineText=M;exports.Wrapper=o;
@@ -31,7 +31,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
31
31
  }) => /* @__PURE__ */ s(
32
32
  a.InputGroup,
33
33
  {
34
- className: r("flex items-center w-full px-5 py-4 gap-3", e),
34
+ className: r("flex items-center w-full px-5 pt-3 pb-1 gap-3", e),
35
35
  ...t
36
36
  }
37
37
  ), S = ({
@@ -51,7 +51,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
51
51
  {
52
52
  className: r(
53
53
  "min-h-[38px] overflow-hidden w-full resize-none",
54
- "py-2 max-h-[10vh] placeholder:text-gray-500",
54
+ "py-1.5 max-h-[10vh] placeholder:text-gray-500",
55
55
  "w-full dark:placeholder:text-gray-dark-200",
56
56
  "border-none outline-none shadow-none bg-transparent",
57
57
  e
@@ -126,7 +126,7 @@ const g = (e) => /* @__PURE__ */ s(a.Provider, { ...e }), x = ({ className: e, .
126
126
  d({ section: "content" }),
127
127
  "h-0 max-h-full",
128
128
  "data-[has-content]:h-[min(calc(85vh_-_72px),calc(850px_-_72px_-_275px))]",
129
- "transition-all duration-300 ease-in-out",
129
+ "transition-all duration-300 ease-in-out pb-2",
130
130
  e
131
131
  ),
132
132
  ...t
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),t=require("../utils.cjs"),c=require("@inkeep/cxkit-primitives"),i=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarContainer,{className:t.cn("md:min-w-[min(320px,100%)] w-full h-full min-h-10",r),...e}),n=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarButton,{className:t.cn("rounded-md border px-4 min-w-0 flex items-center justify-between gap-2 h-full w-full hover:border-gray-300 dark:hover:border-white-alpha-300 transition-colors",r),...e}),h=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarContentWrapper,{className:t.cn("flex items-center gap-2 min-w-0",r),...e}),s=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarText,{className:t.cn("text-md text-gray-500 dark:text-white-alpha-600",r),...e}),o=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarIcon,{className:t.cn("text-gray-500 dark:text-white-alpha-600",r),...e}),S=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarKbdWrapper,{className:t.cn("text-sm text-gray-400 dark:text-white-alpha-500 font-bold flex items-center gap-0.5",r),...e}),B=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarKbdModifier,{className:t.cn("",r),...e}),m=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarKbdShortcutKey,{className:t.cn("",r),...e});exports.SearchBarButton=n;exports.SearchBarContainer=i;exports.SearchBarContentWrapper=h;exports.SearchBarIcon=o;exports.SearchBarKbdModifier=B;exports.SearchBarKbdShortcutKey=m;exports.SearchBarKbdWrapper=S;exports.SearchBarText=s;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),t=require("../utils.cjs"),c=require("@inkeep/cxkit-primitives"),i=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarContainer,{className:t.cn("md:min-w-[min(320px,100%)] w-full h-full min-h-9",r),...e}),n=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarButton,{className:t.cn("rounded-md border px-3 min-w-0 min-h-9 flex items-center justify-between gap-2 h-full w-full hover:border-gray-300 dark:hover:border-white-alpha-300 transition-colors",r),...e}),h=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarContentWrapper,{className:t.cn("flex items-center gap-2 min-w-0",r),...e}),s=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarText,{className:t.cn("text-md text-gray-500 dark:text-white-alpha-600",r),...e}),o=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarIcon,{className:t.cn("text-gray-500 dark:text-white-alpha-600 text-xl",r),...e}),S=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarKbdWrapper,{className:t.cn("text-sm text-gray-400 dark:text-white-alpha-500 font-bold flex items-center gap-0.5",r),...e}),B=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarKbdModifier,{className:t.cn("",r),...e}),m=({className:r,...e})=>a.jsx(c.SearchBarPrimitive.SearchBarKbdShortcutKey,{className:t.cn("",r),...e});exports.SearchBarButton=n;exports.SearchBarContainer=i;exports.SearchBarContentWrapper=h;exports.SearchBarIcon=o;exports.SearchBarKbdModifier=B;exports.SearchBarKbdShortcutKey=m;exports.SearchBarKbdWrapper=S;exports.SearchBarText=s;
@@ -1,81 +1,81 @@
1
1
  "use client";
2
- import { jsx as e } from "react/jsx-runtime";
2
+ import { jsx as a } from "react/jsx-runtime";
3
3
  import { cn as t } from "../utils.js";
4
4
  import { SearchBarPrimitive as c } from "@inkeep/cxkit-primitives";
5
- const h = ({
5
+ const s = ({
6
6
  className: r,
7
- ...a
8
- }) => /* @__PURE__ */ e(
7
+ ...e
8
+ }) => /* @__PURE__ */ a(
9
9
  c.SearchBarContainer,
10
10
  {
11
- className: t("md:min-w-[min(320px,100%)] w-full h-full min-h-10", r),
12
- ...a
11
+ className: t("md:min-w-[min(320px,100%)] w-full h-full min-h-9", r),
12
+ ...e
13
13
  }
14
14
  ), i = ({
15
15
  className: r,
16
- ...a
17
- }) => /* @__PURE__ */ e(
16
+ ...e
17
+ }) => /* @__PURE__ */ a(
18
18
  c.SearchBarButton,
19
19
  {
20
20
  className: t(
21
- "rounded-md border px-4 min-w-0 flex items-center justify-between gap-2 h-full w-full hover:border-gray-300 dark:hover:border-white-alpha-300 transition-colors",
21
+ "rounded-md border px-3 min-w-0 min-h-9 flex items-center justify-between gap-2 h-full w-full hover:border-gray-300 dark:hover:border-white-alpha-300 transition-colors",
22
22
  r
23
23
  ),
24
- ...a
24
+ ...e
25
25
  }
26
26
  ), m = ({
27
27
  className: r,
28
- ...a
29
- }) => /* @__PURE__ */ e(
28
+ ...e
29
+ }) => /* @__PURE__ */ a(
30
30
  c.SearchBarContentWrapper,
31
31
  {
32
32
  className: t("flex items-center gap-2 min-w-0", r),
33
- ...a
33
+ ...e
34
34
  }
35
35
  ), l = ({
36
36
  className: r,
37
- ...a
38
- }) => /* @__PURE__ */ e(
37
+ ...e
38
+ }) => /* @__PURE__ */ a(
39
39
  c.SearchBarText,
40
40
  {
41
41
  className: t("text-md text-gray-500 dark:text-white-alpha-600", r),
42
- ...a
42
+ ...e
43
43
  }
44
44
  ), d = ({
45
45
  className: r,
46
- ...a
47
- }) => /* @__PURE__ */ e(
46
+ ...e
47
+ }) => /* @__PURE__ */ a(
48
48
  c.SearchBarIcon,
49
49
  {
50
- className: t("text-gray-500 dark:text-white-alpha-600", r),
51
- ...a
50
+ className: t("text-gray-500 dark:text-white-alpha-600 text-xl", r),
51
+ ...e
52
52
  }
53
53
  ), p = ({
54
54
  className: r,
55
- ...a
56
- }) => /* @__PURE__ */ e(
55
+ ...e
56
+ }) => /* @__PURE__ */ a(
57
57
  c.SearchBarKbdWrapper,
58
58
  {
59
59
  className: t(
60
60
  "text-sm text-gray-400 dark:text-white-alpha-500 font-bold flex items-center gap-0.5",
61
61
  r
62
62
  ),
63
- ...a
63
+ ...e
64
64
  }
65
- ), B = ({
65
+ ), x = ({
66
66
  className: r,
67
- ...a
68
- }) => /* @__PURE__ */ e(c.SearchBarKbdModifier, { className: t("", r), ...a }), S = ({
67
+ ...e
68
+ }) => /* @__PURE__ */ a(c.SearchBarKbdModifier, { className: t("", r), ...e }), B = ({
69
69
  className: r,
70
- ...a
71
- }) => /* @__PURE__ */ e(c.SearchBarKbdShortcutKey, { className: t("", r), ...a });
70
+ ...e
71
+ }) => /* @__PURE__ */ a(c.SearchBarKbdShortcutKey, { className: t("", r), ...e });
72
72
  export {
73
73
  i as SearchBarButton,
74
- h as SearchBarContainer,
74
+ s as SearchBarContainer,
75
75
  m as SearchBarContentWrapper,
76
76
  d as SearchBarIcon,
77
- B as SearchBarKbdModifier,
78
- S as SearchBarKbdShortcutKey,
77
+ x as SearchBarKbdModifier,
78
+ B as SearchBarKbdShortcutKey,
79
79
  p as SearchBarKbdWrapper,
80
80
  l as SearchBarText
81
81
  };
@@ -640,6 +640,9 @@ video {
640
640
  .mb-1 {
641
641
  margin-bottom: 0.25rem;
642
642
  }
643
+ .mb-2 {
644
+ margin-bottom: 0.5rem;
645
+ }
643
646
  .mb-3 {
644
647
  margin-bottom: 0.75rem;
645
648
  }
@@ -813,9 +816,6 @@ video {
813
816
  .min-h-0 {
814
817
  min-height: 0px;
815
818
  }
816
- .min-h-10 {
817
- min-height: 2.5rem;
818
- }
819
819
  .min-h-20 {
820
820
  min-height: 5rem;
821
821
  }
@@ -1219,6 +1219,9 @@ video {
1219
1219
  .break-words {
1220
1220
  overflow-wrap: break-word;
1221
1221
  }
1222
+ .rounded {
1223
+ border-radius: 0.25rem;
1224
+ }
1222
1225
  .rounded-\\[0_0_6px_6px\\] {
1223
1226
  border-radius: 0 0 6px 6px;
1224
1227
  }
@@ -1294,9 +1297,6 @@ video {
1294
1297
  .bg-\\[--start-color\\] {
1295
1298
  background-color: var(--start-color);
1296
1299
  }
1297
- .bg-black-alpha-600 {
1298
- background-color: var(--ikp-color-black-alpha-600);
1299
- }
1300
1300
  .bg-gray-100 {
1301
1301
  background-color: var(--ikp-color-gray-100);
1302
1302
  }
@@ -1321,6 +1321,9 @@ video {
1321
1321
  .bg-inkeep-primary-text-bold {
1322
1322
  background-color: var(--ikp-color-inkeep-primary-text-bold);
1323
1323
  }
1324
+ .bg-overlay-light {
1325
+ background-color: var(--ikp-color-overlay-light);
1326
+ }
1324
1327
  .bg-transparent {
1325
1328
  background-color: transparent;
1326
1329
  }
@@ -1457,6 +1460,9 @@ video {
1457
1460
  .pb-1 {
1458
1461
  padding-bottom: 0.25rem;
1459
1462
  }
1463
+ .pb-2 {
1464
+ padding-bottom: 0.5rem;
1465
+ }
1460
1466
  .pb-2\\.5 {
1461
1467
  padding-bottom: 0.625rem;
1462
1468
  }
@@ -1499,6 +1505,9 @@ video {
1499
1505
  .pt-2 {
1500
1506
  padding-top: 0.5rem;
1501
1507
  }
1508
+ .pt-3 {
1509
+ padding-top: 0.75rem;
1510
+ }
1502
1511
  .pt-4 {
1503
1512
  padding-top: 1rem;
1504
1513
  }
@@ -1595,9 +1604,6 @@ video {
1595
1604
  .leading-snug {
1596
1605
  line-height: 1.375;
1597
1606
  }
1598
- .tracking-\\[1px\\] {
1599
- letter-spacing: 1px;
1600
- }
1601
1607
  .tracking-tight {
1602
1608
  letter-spacing: -0.025em;
1603
1609
  }
@@ -2489,9 +2495,9 @@ img[data-part='icon'][data-type='custom'] {
2489
2495
  opacity: 0.5;
2490
2496
  }
2491
2497
 
2492
- .data-\\[active\\]\\:shadow-sm[data-active] {
2493
- --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
2494
- --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
2498
+ .data-\\[active\\]\\:shadow[data-active] {
2499
+ --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
2500
+ --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
2495
2501
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
2496
2502
  }
2497
2503
 
@@ -2927,6 +2933,10 @@ img[data-part='icon'][data-type='custom'] {
2927
2933
  background-color: var(--ikp-color-inkeep-expanded-primary-300);
2928
2934
  }
2929
2935
 
2936
+ .dark\\:bg-overlay-dark:is([data-theme="dark"] *) {
2937
+ background-color: var(--ikp-color-overlay-dark);
2938
+ }
2939
+
2930
2940
  .dark\\:bg-transparent:is([data-theme="dark"] *) {
2931
2941
  background-color: transparent;
2932
2942
  }
@@ -641,6 +641,9 @@ video {
641
641
  .mb-1 {
642
642
  margin-bottom: 0.25rem;
643
643
  }
644
+ .mb-2 {
645
+ margin-bottom: 0.5rem;
646
+ }
644
647
  .mb-3 {
645
648
  margin-bottom: 0.75rem;
646
649
  }
@@ -814,9 +817,6 @@ video {
814
817
  .min-h-0 {
815
818
  min-height: 0px;
816
819
  }
817
- .min-h-10 {
818
- min-height: 2.5rem;
819
- }
820
820
  .min-h-20 {
821
821
  min-height: 5rem;
822
822
  }
@@ -1220,6 +1220,9 @@ video {
1220
1220
  .break-words {
1221
1221
  overflow-wrap: break-word;
1222
1222
  }
1223
+ .rounded {
1224
+ border-radius: 0.25rem;
1225
+ }
1223
1226
  .rounded-\\[0_0_6px_6px\\] {
1224
1227
  border-radius: 0 0 6px 6px;
1225
1228
  }
@@ -1295,9 +1298,6 @@ video {
1295
1298
  .bg-\\[--start-color\\] {
1296
1299
  background-color: var(--start-color);
1297
1300
  }
1298
- .bg-black-alpha-600 {
1299
- background-color: var(--ikp-color-black-alpha-600);
1300
- }
1301
1301
  .bg-gray-100 {
1302
1302
  background-color: var(--ikp-color-gray-100);
1303
1303
  }
@@ -1322,6 +1322,9 @@ video {
1322
1322
  .bg-inkeep-primary-text-bold {
1323
1323
  background-color: var(--ikp-color-inkeep-primary-text-bold);
1324
1324
  }
1325
+ .bg-overlay-light {
1326
+ background-color: var(--ikp-color-overlay-light);
1327
+ }
1325
1328
  .bg-transparent {
1326
1329
  background-color: transparent;
1327
1330
  }
@@ -1458,6 +1461,9 @@ video {
1458
1461
  .pb-1 {
1459
1462
  padding-bottom: 0.25rem;
1460
1463
  }
1464
+ .pb-2 {
1465
+ padding-bottom: 0.5rem;
1466
+ }
1461
1467
  .pb-2\\.5 {
1462
1468
  padding-bottom: 0.625rem;
1463
1469
  }
@@ -1500,6 +1506,9 @@ video {
1500
1506
  .pt-2 {
1501
1507
  padding-top: 0.5rem;
1502
1508
  }
1509
+ .pt-3 {
1510
+ padding-top: 0.75rem;
1511
+ }
1503
1512
  .pt-4 {
1504
1513
  padding-top: 1rem;
1505
1514
  }
@@ -1596,9 +1605,6 @@ video {
1596
1605
  .leading-snug {
1597
1606
  line-height: 1.375;
1598
1607
  }
1599
- .tracking-\\[1px\\] {
1600
- letter-spacing: 1px;
1601
- }
1602
1608
  .tracking-tight {
1603
1609
  letter-spacing: -0.025em;
1604
1610
  }
@@ -2490,9 +2496,9 @@ img[data-part='icon'][data-type='custom'] {
2490
2496
  opacity: 0.5;
2491
2497
  }
2492
2498
 
2493
- .data-\\[active\\]\\:shadow-sm[data-active] {
2494
- --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
2495
- --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
2499
+ .data-\\[active\\]\\:shadow[data-active] {
2500
+ --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
2501
+ --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
2496
2502
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
2497
2503
  }
2498
2504
 
@@ -2928,6 +2934,10 @@ img[data-part='icon'][data-type='custom'] {
2928
2934
  background-color: var(--ikp-color-inkeep-expanded-primary-300);
2929
2935
  }
2930
2936
 
2937
+ .dark\\:bg-overlay-dark:is([data-theme="dark"] *) {
2938
+ background-color: var(--ikp-color-overlay-dark);
2939
+ }
2940
+
2931
2941
  .dark\\:bg-transparent:is([data-theme="dark"] *) {
2932
2942
  background-color: transparent;
2933
2943
  }
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./recipes/button.cjs"),t=require("./recipes/link.cjs"),e=require("./recipes/markdown.cjs"),o=require("../utils.cjs"),n={markdownH1:e.heading(),markdownH2:e.heading({size:"sm"}),markdownP:o.cn("mb-3 break-words whitespace-pre-wrap","[&+ol,&+li]:mt-0"),markdownLi:o.cn("[&_a]:break-words [&_a]:inline"),markdownUl:e.list({style:"unordered"}),markdownOl:o.cn(e.list({style:"ordered"}),"[inset-inline-start:var(--start,0px)]","[counter-reset:item_calc(var(--start,0)_-_1)]"),markdownLink:o.cn(t.link(),"text-inkeep-primary-stronger hover:text-inkeep-primary-strong","dark:text-inkeep-expanded-primary-100 dark:hover:text-inkeep-expanded-primary-300"),markdownSourceLink:e.sup(),markdownTable:e.table({slot:"root"}),markdownTh:e.table({slot:"th"}),markdownTd:e.table({slot:"td"}),markdownCode:e.code(),codeblockContainer:e.codeblock({slot:"container"}),codeblockHeader:e.codeblock({slot:"header"}),codeblockCopyButton:o.cn(r.button({}),e.codeblock({slot:"copyButton"})),codeblockHighlighterWrapper:o.cn(),codeblockHighlighter:e.codeblock({slot:"highlighter"}),codeblockCode:"font-mono"};exports.markdownStyles=n;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./recipes/button.cjs"),t=require("./recipes/link.cjs"),e=require("./recipes/markdown.cjs"),o=require("../utils.cjs"),n={markdownH1:o.cn(e.heading({size:"lg"}),"mb-3"),markdownH2:o.cn(e.heading({size:"md"}),"mb-2"),markdownP:o.cn("mb-3 break-words whitespace-pre-wrap","[&+ol,&+li]:mt-0"),markdownLi:o.cn("[&_a]:break-words [&_a]:inline"),markdownUl:e.list({style:"unordered"}),markdownOl:o.cn(e.list({style:"ordered"}),"[inset-inline-start:var(--start,0px)]","[counter-reset:item_calc(var(--start,0)_-_1)]"),markdownLink:o.cn(t.link(),"text-inkeep-primary-stronger hover:text-inkeep-primary-strong","dark:text-inkeep-expanded-primary-100 dark:hover:text-inkeep-expanded-primary-300"),markdownSourceLink:e.sup(),markdownTable:e.table({slot:"root"}),markdownTh:e.table({slot:"th"}),markdownTd:e.table({slot:"td"}),markdownCode:e.code(),codeblockContainer:e.codeblock({slot:"container"}),codeblockHeader:e.codeblock({slot:"header"}),codeblockCopyButton:o.cn(r.button({}),e.codeblock({slot:"copyButton"})),codeblockHighlighterWrapper:o.cn(),codeblockHighlighter:e.codeblock({slot:"highlighter"}),codeblockCode:"font-mono"};exports.markdownStyles=n;
@@ -4,8 +4,8 @@ import { link as d } from "./recipes/link.js";
4
4
  import { codeblock as e, code as i, table as r, sup as l, list as t, heading as n } from "./recipes/markdown.js";
5
5
  import { cn as o } from "../utils.js";
6
6
  const p = {
7
- markdownH1: n(),
8
- markdownH2: n({ size: "sm" }),
7
+ markdownH1: o(n({ size: "lg" }), "mb-3"),
8
+ markdownH2: o(n({ size: "md" }), "mb-2"),
9
9
  markdownP: o("mb-3 break-words whitespace-pre-wrap", "[&+ol,&+li]:mt-0"),
10
10
  markdownLi: o("[&_a]:break-words [&_a]:inline"),
11
11
  markdownUl: t({ style: "unordered" }),
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),r=e.cva("uppercase font-semibold tracking-[1px] text-gray-600",{variants:{size:{md:"text-xl leading-[1.2]",sm:"text-md leading-[1.2]"}},defaultVariants:{size:"md"}}),t=e.cva("text-2sm ms-[1em] break-words pb-3 pl-7 relative [&_li]:mb-1",{variants:{style:{ordered:"list-decimal [counter-increment:item]",unordered:"list-[initial]"}}}),a=e.cva("",{variants:{slot:{root:"w-full border-collapse [font-variant-numeric:lining-nums_tabular-nums]",th:["font-heading font-bold uppercase tracking-wider text-start","data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","text-gray-600 dark:text-gray-400","px-6 py-3 leading-4 text-xs"],td:["text-start data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","px-6 py-4 leading-5"]},size:{md:""}}}),o=e.cva(["ml-[3px] cursor-pointer","[&_a]:bg-inkeep-primary-light","[&_a]:px-1","[&_a]:py-[1px]","[&_a]:rounded-sm","[&_a]:no-underline","[&_a]:text-inkeep-primary-text-subtle","[&_a]:hover:text-inkeep-primary-text-bold","[&_a]:font-semibold","[&_a]:dark:bg-inkeep-primary-text-subtle","[&_a]:dark:hover:text-inkeep-expanded-primary-200","[&_a]:hover:no-underline"]),i=e.cva(["bg-inkeep-primary-medium text-inkeep-primary-text-color-on-primary","[overflow-wrap:anywhere] min-w-0 py-[.2rem] my-[.1rem]","px-[.4rem] rounded-[6px] [font-size:85%!important]","font-semibold inline-block","font-mono "]),n=e.cva("",{variants:{slot:{container:"overflow-y-auto mb-3",header:["flex items-center justify-between","bg-gray-50 dark:bg-gray-dark-800","text-gray-600 dark:text-gray-400","mb-0 leading-[1.25] px-2 text-xs","transition-all duration-200 ease-in-out","rounded-[6px_6px_0_0]"],copyButton:["px-0 bg-inherit text-inherit","hover:text-gray-800 dark:text-white-alpha-700 dark:hover:text-white-alpha-950","dark:hover:bg-transparent h-8 w-8 min-h-8 min-w-8 text-sm","data-[copied]:text-inkeep-primary-medium"],highlighter:["text-1sm overflow-x-auto","rounded-[0_0_6px_6px]","p-[1em] whitespace-pre","m-[0px_0px_0.5em]","bg-gray-50 dark:bg-gray-dark-900","[scrollbar-width:thin]","[--scrollbar-color:var(--color-gray-300)]","dark:[--scrollbar-color:var(--color-gray-dark-600)]","[scrollbar-color:var(--scrollbar-color)_transparent]"]}}});exports.code=i;exports.codeblock=n;exports.heading=r;exports.list=t;exports.sup=o;exports.table=a;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),r=e.cva("tracking-tight font-semibold",{variants:{size:{lg:"text-xl",md:"text-md"}},defaultVariants:{size:"md"}}),t=e.cva("text-2sm ms-[1em] break-words pb-3 pl-7 relative [&_li]:mb-1",{variants:{style:{ordered:"list-decimal [counter-increment:item]",unordered:"list-[initial]"}}}),a=e.cva("",{variants:{slot:{root:"w-full border-collapse [font-variant-numeric:lining-nums_tabular-nums]",th:["font-heading font-bold uppercase tracking-wider text-start","data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","text-gray-600 dark:text-gray-400","px-6 py-3 leading-4 text-xs"],td:["text-start data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","px-6 py-4 leading-5"]},size:{md:""}}}),o=e.cva(["ml-[3px] cursor-pointer","[&_a]:bg-inkeep-primary-light","[&_a]:px-1","[&_a]:py-[1px]","[&_a]:rounded-sm","[&_a]:no-underline","[&_a]:text-inkeep-primary-text-subtle","[&_a]:hover:text-inkeep-primary-text-bold","[&_a]:font-semibold","[&_a]:dark:bg-inkeep-primary-text-subtle","[&_a]:dark:hover:text-inkeep-expanded-primary-200","[&_a]:hover:no-underline"]),i=e.cva(["bg-inkeep-primary-medium text-inkeep-primary-text-color-on-primary","[overflow-wrap:anywhere] min-w-0 py-[.2rem] my-[.1rem]","px-[.4rem] rounded-[6px] [font-size:85%!important]","font-semibold inline-block","font-mono "]),n=e.cva("",{variants:{slot:{container:"overflow-y-auto mb-3",header:["flex items-center justify-between","bg-gray-50 dark:bg-gray-dark-800","text-gray-600 dark:text-gray-400","mb-0 leading-[1.25] px-2 text-xs","transition-all duration-200 ease-in-out","rounded-[6px_6px_0_0]"],copyButton:["px-0 bg-inherit text-inherit","hover:text-gray-800 dark:text-white-alpha-700 dark:hover:text-white-alpha-950","dark:hover:bg-transparent h-8 w-8 min-h-8 min-w-8 text-sm","data-[copied]:text-inkeep-primary-medium"],highlighter:["text-1sm overflow-x-auto","rounded-[0_0_6px_6px]","p-[1em] whitespace-pre","m-[0px_0px_0.5em]","bg-gray-50 dark:bg-gray-dark-900","[scrollbar-width:thin]","[--scrollbar-color:var(--color-gray-300)]","dark:[--scrollbar-color:var(--color-gray-dark-600)]","[scrollbar-color:var(--scrollbar-color)_transparent]"]}}});exports.code=i;exports.codeblock=n;exports.heading=r;exports.list=t;exports.sup=o;exports.table=a;
@@ -1,6 +1,6 @@
1
1
  import { ClassProp } from 'class-variance-authority/types';
2
2
  export declare const heading: (props?: ({
3
- size?: "sm" | "md" | null | undefined;
3
+ size?: "md" | "lg" | null | undefined;
4
4
  } & ClassProp) | undefined) => string;
5
5
  export declare const list: (props?: ({
6
6
  style?: "ordered" | "unordered" | null | undefined;
@@ -1,6 +1,6 @@
1
1
  import { ClassProp } from 'class-variance-authority/types';
2
2
  export declare const heading: (props?: ({
3
- size?: "sm" | "md" | null | undefined;
3
+ size?: "md" | "lg" | null | undefined;
4
4
  } & ClassProp) | undefined) => string;
5
5
  export declare const list: (props?: ({
6
6
  style?: "ordered" | "unordered" | null | undefined;
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { cva as e } from "class-variance-authority";
3
- const t = e("uppercase font-semibold tracking-[1px] text-gray-600", {
3
+ const t = e("tracking-tight font-semibold", {
4
4
  variants: {
5
5
  size: {
6
- md: "text-xl leading-[1.2]",
7
- sm: "text-md leading-[1.2]"
6
+ lg: "text-xl",
7
+ md: "text-md"
8
8
  }
9
9
  },
10
10
  defaultVariants: {
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),t=require("./button.cjs"),a=e.cva("",{variants:{slot:{overlay:["fixed inset-0 bg-black-alpha-600","data-[state=closed]:hidden","data-[state=open]:animate-fade-in","backdrop-blur-sm overflow-y-auto","place-items-center grid z-overlay"],content:["fixed","top-[5%]","left-1/2","translate-x-[-50%]","z-overlay","flex flex-col","w-full","duration-200","text-inherit rounded-md","bg-white shadow-lg dark:bg-gray-dark-950","focus-visible:outline-none","focus:outline-none","data-[state=closed]:hidden","data-[state=closed]:animate-fade-out","data-[state=open]:animate-fade-in","data-[mobile]:inset-0","data-[mobile]:h-[unset]","data-[mobile]:w-[unset]","data-[mobile]:transform-none","data-[mobile]:rounded-none","[&[data-mobile]>div]:h-full","[&[data-mobile]>div]:max-h-dvh","[&[data-mobile]>div]:max-h-[unset]"],header:["px-6 py-4 text-xl font-semibold flex-0 flex flex-col"],close:[t.button({variant:"ghost",size:"md"}),"w-8 h-8 min-w-0","text-lg text-gray-500 dark:text-white-alpha-500","absolute top-2 right-3"],body:["px-6 py-2 flex-1"]}}});exports.modal=a;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),t=require("./button.cjs"),a=e.cva("",{variants:{slot:{overlay:["fixed inset-0","bg-overlay-light dark:bg-overlay-dark","data-[state=closed]:hidden","data-[state=open]:animate-fade-in","backdrop-blur-sm overflow-y-auto","place-items-center grid z-overlay"],content:["fixed","top-[5%]","left-1/2","translate-x-[-50%]","z-overlay","flex flex-col","w-full","duration-200","text-inherit rounded-md","bg-white shadow-lg dark:bg-gray-dark-950 dark:shadow-none","focus-visible:outline-none","focus:outline-none","data-[state=closed]:hidden","data-[state=closed]:animate-fade-out","data-[state=open]:animate-fade-in","data-[mobile]:inset-0","data-[mobile]:h-[unset]","data-[mobile]:w-[unset]","data-[mobile]:transform-none","data-[mobile]:rounded-none","[&[data-mobile]>div]:h-full","[&[data-mobile]>div]:max-h-dvh","[&[data-mobile]>div]:max-h-[unset]"],header:["px-6 py-4 text-xl font-semibold flex-0 flex flex-col"],close:[t.button({variant:"ghost",size:"md"}),"w-8 h-8 min-w-0","text-lg text-gray-500 dark:text-white-alpha-500","absolute top-2 right-3"],body:["px-6 py-2 flex-1"]}}});exports.modal=a;
@@ -1,11 +1,12 @@
1
1
  "use client";
2
2
  import { cva as e } from "class-variance-authority";
3
- import { button as t } from "./button.js";
3
+ import { button as a } from "./button.js";
4
4
  const d = e("", {
5
5
  variants: {
6
6
  slot: {
7
7
  overlay: [
8
- "fixed inset-0 bg-black-alpha-600",
8
+ "fixed inset-0",
9
+ "bg-overlay-light dark:bg-overlay-dark",
9
10
  "data-[state=closed]:hidden",
10
11
  "data-[state=open]:animate-fade-in",
11
12
  "backdrop-blur-sm overflow-y-auto",
@@ -24,7 +25,7 @@ const d = e("", {
24
25
  "duration-200",
25
26
  "text-inherit rounded-md",
26
27
  // 'px-6 py-2',
27
- "bg-white shadow-lg dark:bg-gray-dark-950",
28
+ "bg-white shadow-lg dark:bg-gray-dark-950 dark:shadow-none",
28
29
  "focus-visible:outline-none",
29
30
  "focus:outline-none",
30
31
  "data-[state=closed]:hidden",
@@ -44,7 +45,7 @@ const d = e("", {
44
45
  ],
45
46
  header: ["px-6 py-4 text-xl font-semibold flex-0 flex flex-col"],
46
47
  close: [
47
- t({ variant: "ghost", size: "md" }),
48
+ a({ variant: "ghost", size: "md" }),
48
49
  "w-8 h-8 min-w-0",
49
50
  "text-lg text-gray-500 dark:text-white-alpha-500",
50
51
  "absolute top-2 right-3"
@@ -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=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:["group",a.button({size:"xs"}),"rounded-md data-[active]:shadow-sm","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","focus-visible:ring-transparent"],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=e;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("class-variance-authority"),a=require("./button.cjs"),e=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:["group",a.button({size:"xs"}),"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","focus-visible:ring-transparent"],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=e;
@@ -12,7 +12,7 @@ const d = t("", {
12
12
  button: [
13
13
  "group",
14
14
  a({ size: "xs" }),
15
- "rounded-md data-[active]:shadow-sm",
15
+ "rounded data-[active]:shadow",
16
16
  "bg-transparent data-[active]:bg-white",
17
17
  "text-gray-600 data-[active]:text-gray-800",
18
18
  "dark:text-white-alpha-600 dark:data-[active]:text-white-alpha-950",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/cxkit-styled",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "",
5
5
  "license": "Inkeep, Inc. Customer License (IICL) v1.1",
6
6
  "homepage": "",
@@ -24,7 +24,7 @@
24
24
  "clsx": "2.1.1",
25
25
  "merge-anything": "6.0.2",
26
26
  "tailwind-merge": "2.6.0",
27
- "@inkeep/cxkit-primitives": "0.5.0"
27
+ "@inkeep/cxkit-primitives": "0.5.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@biomejs/biome": "1.9.4",
@@ -43,8 +43,8 @@
43
43
  "typescript": "5.7.3",
44
44
  "vite": "5.4.11",
45
45
  "vite-plugin-dts": "4.4.0",
46
- "@inkeep/cxkit-theme": "0.5.0",
47
- "@inkeep/cxkit-types": "0.5.0"
46
+ "@inkeep/cxkit-theme": "0.5.2",
47
+ "@inkeep/cxkit-types": "0.5.2"
48
48
  },
49
49
  "module": "dist/index.js",
50
50
  "types": "dist/index.d.ts",