"use strict";const e=require("react/jsx-runtime"),m=require("@chakra-ui/react"),n=require("./DateField-Cr3wqfe3.cjs.js"),h=require("@chakra-ui/react/styled-system"),S=require("./index-Dzrt5_tw.cjs.js"),g=require("./extract-style-props-DVhOcGEi.cjs.js"),{withProvider:j,withContext:t}=m.createSlotRecipeContext({key:"nimbusDateInput"}),D=j("div","root"),I=t("div","leadingElement"),$=t("div","trailingElement"),f=t("div","segmentGroup"),P=t("div","segment"),s=c=>{const o=h.useRecipe({recipe:S.dateInputSlotRecipe}),{leadingElement:r,trailingElement:i,...l}=c,[a,p]=o.splitVariantProps({...l}),[d,u]=g.extractStyleProps(p);return e.jsx(D,{...a,...d,asChild:!0,children:e.jsx(n.$40825cdb76e74f70$export$d9781c7894a82487,{...u,children:e.jsxs(e.Fragment,{children:[r&&e.jsx(I,{children:r}),e.jsx(f,{asChild:!0,children:e.jsx(n.$40825cdb76e74f70$export$7edc06cf1783b30f,{children:x=>e.jsx(P,{asChild:!0,children:e.jsx(n.$40825cdb76e74f70$export$336ab7fa954c4b5f,{segment:x})})})}),i&&e.jsx($,{children:i})]})})})};s.displayName="DateInput";exports.DateInput=s;
//# sourceMappingURL=date-input-BNB2-LIz.cjs.js.map
