kwant-ui 3.39.1-dev.0 → 3.39.1-dev.1

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/index.es.js CHANGED
@@ -2148,7 +2148,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import n,{css as
2148
2148
  `;var ic;n.div`
2149
2149
  display: flex;
2150
2150
  cursor: pointer;
2151
- `,function(e){var t;(t=e.DatpickerNavigationDirectionEnum||(e.DatpickerNavigationDirectionEnum={})).right="right",t.left="left"}(ic||(ic={}));const oc={chevronLeft:e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M11.6736 2.5799L10.4869 1.3999L3.89355 7.9999L10.4936 14.5999L11.6736 13.4199L6.25355 7.9999L11.6736 2.5799Z",fill:A.grey.grey900})}),chevronRight:e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M4.32715 13.4199L5.50715 14.5999L12.1071 7.9999L5.50715 1.3999L4.32715 2.5799L9.74715 7.9999L4.32715 13.4199Z",fill:A.grey.grey900})}),calendar:e("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M15.8333 3.33334H15V1.66667L13.3333 1.66667V3.33334L6.66667 3.33334V1.66667L5 1.66667V3.33334H4.16667C3.24167 3.33334 2.5 4.08334 2.5 5.00001L2.5 16.6667C2.5 17.5833 3.24167 18.3333 4.16667 18.3333H15.8333C16.75 18.3333 17.5 17.5833 17.5 16.6667V5.00001C17.5 4.08334 16.75 3.33334 15.8333 3.33334ZM15.8333 16.6667H4.16667L4.16667 8.33334L15.8333 8.33334L15.8333 16.6667ZM15.8333 6.66667L4.16667 6.66667L4.16667 5.00001L15.8333 5.00001V6.66667ZM5.83333 10L10 10L10 14.1667L5.83333 14.1667L5.83333 10Z",fill:A.grey.grey900})})},sc=({title:t,selected:r,onClick:n})=>e(qa,{selected:r,onClick:n,children:e(Oe,{category:"body2",weight:"medium",color:r?A.blue.blue1000:A.grey.grey900,children:t})},t),lc=({options:t,selectedOption:r,onOptionClick:n})=>e(Ka,{children:t?.map((t=>e(sc,{...t,onClick:()=>n(t.value,t),selected:r===t.title},t.title)))}),hc=({label:r="",timeHour:n="",timeMinute:a="",clockType:c="am",disabled:i=!0,onClockTypeChange:o,onHourChange:s,onMinuteChange:l})=>t(ac,{children:[e(nc,{children:r}),t(ec,{children:[e(Ga,{type:"number",value:n,disabled:i,onChange:e=>{const t=e.target.value,n=Da(t);Number(t)<=12?s(r.toLowerCase(),n):s(r.toLowerCase(),"12")}}),e(Ja,{children:":"}),e(Ga,{type:"number",value:a,disabled:i,onChange:e=>{const t=e.target.value,n=Da(t);Number(t)<=59?l(r.toLowerCase(),n):l(r.toLowerCase(),"59")}}),e(tc,{content:[{key:"am",label:"AM"},{key:"pm",label:"PM"}],activeKey:c,onClick:e=>{o(r.toLowerCase(),e)},disabled:i})]})]}),vc=(t,r)=>e(cc,{onClick:r,children:t===ic.DatpickerNavigationDirectionEnum.right?oc.chevronRight:oc.chevronLeft}),pc="MM/DD/YYYY",uc=h(((t,r)=>{const{range:n,numberOfMonths:a=1,format:c=pc,onChange:i,label:o,placeholder:s=pc,required:h,readOnly:v,errorMessage:u,calendarRef:g,inputProps:m,showTime:d,dateTimeRange:f,onChangeDateTime:_,...w}=t,{time:b,setTime:y}=St(),[x,Z]=p(""),[O,M]=p(""),E=(e,t,r)=>{if(!b)return;const n={...b,[e]:{...b[e],[r]:t}};y?.(n)},H=e=>{const[t,r]=(n=e,n?Array.isArray(n)&&2===n.length?`${n[0].format("YYYY-MM-DD")} * ${n[1].format("YYYY-MM-DD")}`:Array.isArray(n)&&1===n.length?n[0].format("YYYY-MM-DD"):"":"").split(" * ");var n;Z(t),M(r)};return l((()=>{if(f?.startDate?.includes("T")&&f?.endDate?.includes("T")){const{startDateOnly:e,endDateOnly:t,time:r}=Ya(f);Z(e),M(t),y(r)}}),[]),e(Pa,{showTime:d,className:"date-picker",children:e(Ha,{renderButton:Ia,className:"date-picker-"+(La(n,a)?"range":"single"),ref:g,range:n,months:Ta,numberOfMonths:a,showOtherDays:!0,weekDays:Na,render:(t,n,a)=>e(at,{rightSection:e(Va,{onClick:()=>{!v&&n()},children:Ca.calendar}),placeholder:s,value:d&&t?`${Ua(x,c,b.from)} ~ ${Ua(O,c,b.to)}`:t,onClick:()=>{!v&&n()},onChange:e=>{((e,t)=>{const r=e.target.value.match(/[^0-9/]/g);Array.isArray(r)||t(e)})(e,a)},label:o,required:h,readOnly:v,error:!!u,errorMessage:u,onFocusCapture:()=>{!v&&n()},ref:r,...m}),onChange:e=>{d?H(e):i&&i(e)},format:c,portal:!0,onClose:()=>{if(d){const e=Fa({dateRange:{startDate:x,endDate:O},timeRange:b});_(e)}},...w,children:d&&e(rc,{children:Ra.map((t=>{const r=b?.[t.key];return e(hc,{disabled:!1,label:t.label,timeHour:r?.hour,timeMinute:r?.minute,clockType:r?.clockType,onClockTypeChange:(e,t)=>{E(e,t,"clockType")},onHourChange:(e,t)=>{E(e,t,"hour")},onMinuteChange:(e,t)=>{E(e,t,"minute")}},t.key)}))})})})})),gc=n.div`
2151
+ `,function(e){var t;(t=e.DatpickerNavigationDirectionEnum||(e.DatpickerNavigationDirectionEnum={})).right="right",t.left="left"}(ic||(ic={}));const oc={chevronLeft:e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M11.6736 2.5799L10.4869 1.3999L3.89355 7.9999L10.4936 14.5999L11.6736 13.4199L6.25355 7.9999L11.6736 2.5799Z",fill:A.grey.grey900})}),chevronRight:e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M4.32715 13.4199L5.50715 14.5999L12.1071 7.9999L5.50715 1.3999L4.32715 2.5799L9.74715 7.9999L4.32715 13.4199Z",fill:A.grey.grey900})}),calendar:e("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M15.8333 3.33334H15V1.66667L13.3333 1.66667V3.33334L6.66667 3.33334V1.66667L5 1.66667V3.33334H4.16667C3.24167 3.33334 2.5 4.08334 2.5 5.00001L2.5 16.6667C2.5 17.5833 3.24167 18.3333 4.16667 18.3333H15.8333C16.75 18.3333 17.5 17.5833 17.5 16.6667V5.00001C17.5 4.08334 16.75 3.33334 15.8333 3.33334ZM15.8333 16.6667H4.16667L4.16667 8.33334L15.8333 8.33334L15.8333 16.6667ZM15.8333 6.66667L4.16667 6.66667L4.16667 5.00001L15.8333 5.00001V6.66667ZM5.83333 10L10 10L10 14.1667L5.83333 14.1667L5.83333 10Z",fill:A.grey.grey900})})},sc=({title:t,selected:r,onClick:n})=>e(qa,{selected:r,onClick:n,children:e(Oe,{category:"body2",weight:"medium",color:r?A.blue.blue1000:A.grey.grey900,children:t})},t),lc=({options:t,selectedOption:r,onOptionClick:n})=>e(Ka,{children:t?.map((t=>e(sc,{...t,onClick:()=>n(t.value,t),selected:r===t.title},t.title)))}),hc=({label:r="",timeHour:n="",timeMinute:a="",clockType:c="am",disabled:i=!0,onClockTypeChange:o,onHourChange:s,onMinuteChange:l})=>t(ac,{children:[e(nc,{children:r}),t(ec,{children:[e(Ga,{type:"number",value:n,disabled:i,onChange:e=>{const t=e.target.value,n=Da(t);Number(t)<=12?s(r.toLowerCase(),n):s(r.toLowerCase(),"12")}}),e(Ja,{children:":"}),e(Ga,{type:"number",value:a,disabled:i,onChange:e=>{const t=e.target.value,n=Da(t);Number(t)<=59?l(r.toLowerCase(),n):l(r.toLowerCase(),"59")}}),e(tc,{content:[{key:"am",label:"AM"},{key:"pm",label:"PM"}],activeKey:c,onClick:e=>{o(r.toLowerCase(),e)},disabled:i})]})]}),vc=(t,r)=>e(cc,{onClick:r,children:t===ic.DatpickerNavigationDirectionEnum.right?oc.chevronRight:oc.chevronLeft}),pc="MM/DD/YYYY",uc=h(((t,r)=>{const{range:n,numberOfMonths:a=1,format:c=pc,onChange:i,label:o,placeholder:s=pc,required:h,readOnly:v,errorMessage:u,calendarRef:g,inputProps:m,showTime:d,dateTimeRange:f,onChangeDateTime:_,...w}=t,{time:b,setTime:y}=St(),[x,Z]=p(""),[O,M]=p(""),E=(e,t,r)=>{if(!b)return;const n={...b,[e]:{...b[e],[r]:t}};y?.(n)},H=e=>{const[t,r]=(n=e,n?Array.isArray(n)&&2===n.length?`${n[0].format("YYYY-MM-DD")} * ${n[1].format("YYYY-MM-DD")}`:Array.isArray(n)&&1===n.length?n[0].format("YYYY-MM-DD"):"":"").split(" * ");var n;Z(t),M(r)};return l((()=>{if(f?.startDate?.includes("T")&&f?.endDate?.includes("T")){const{startDateOnly:e,endDateOnly:t,time:r}=Ya(f);Z(e),M(t),y(r)}}),[]),e(Pa,{showTime:d,className:"date-picker",children:e(Ha,{renderButton:Ia,className:"date-picker-"+(La(n,a)?"range":"single"),ref:g,range:n,months:Ta,numberOfMonths:a,showOtherDays:!0,weekDays:Na,render:(t,n,a)=>e(at,{rightSection:e(Va,{onClick:()=>{!v&&n()},children:Ca.calendar}),placeholder:s,value:d&&t?x&&O?`${Ua(x,c,b.from)} ~ ${Ua(O,c,b.to)}`:"":t,onClick:()=>{!v&&n()},onChange:e=>{((e,t)=>{const r=e.target.value.match(/[^0-9/]/g);Array.isArray(r)||t(e)})(e,a)},label:o,required:h,readOnly:v,error:!!u,errorMessage:u,onFocusCapture:()=>{!v&&n()},ref:r,...m}),onChange:e=>{d?H(e):i&&i(e)},format:c,portal:!0,onClose:()=>{if(d){const e=Fa({dateRange:{startDate:x,endDate:O},timeRange:b});_(e)}},...w,children:d&&e(rc,{children:Ra.map((t=>{const r=b?.[t.key];return e(hc,{disabled:!1,label:t.label,timeHour:r?.hour,timeMinute:r?.minute,clockType:r?.clockType,onClockTypeChange:(e,t)=>{E(e,t,"clockType")},onHourChange:(e,t)=>{E(e,t,"hour")},onMinuteChange:(e,t)=>{E(e,t,"minute")}},t.key)}))})})})})),gc=n.div`
2152
2152
  .xsmall {
2153
2153
  width: 20px;
2154
2154
  height: 20px;
package/dist/index.js CHANGED
@@ -2148,7 +2148,7 @@
2148
2148
  `;var ya;t.div`
2149
2149
  display: flex;
2150
2150
  cursor: pointer;
2151
- `,function(e){var t;(t=e.DatpickerNavigationDirectionEnum||(e.DatpickerNavigationDirectionEnum={})).right="right",t.left="left"}(ya||(ya={}));const xa={chevronLeft:e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M11.6736 2.5799L10.4869 1.3999L3.89355 7.9999L10.4936 14.5999L11.6736 13.4199L6.25355 7.9999L11.6736 2.5799Z",fill:v.grey.grey900})}),chevronRight:e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M4.32715 13.4199L5.50715 14.5999L12.1071 7.9999L5.50715 1.3999L4.32715 2.5799L9.74715 7.9999L4.32715 13.4199Z",fill:v.grey.grey900})}),calendar:e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M15.8333 3.33334H15V1.66667L13.3333 1.66667V3.33334L6.66667 3.33334V1.66667L5 1.66667V3.33334H4.16667C3.24167 3.33334 2.5 4.08334 2.5 5.00001L2.5 16.6667C2.5 17.5833 3.24167 18.3333 4.16667 18.3333H15.8333C16.75 18.3333 17.5 17.5833 17.5 16.6667V5.00001C17.5 4.08334 16.75 3.33334 15.8333 3.33334ZM15.8333 16.6667H4.16667L4.16667 8.33334L15.8333 8.33334L15.8333 16.6667ZM15.8333 6.66667L4.16667 6.66667L4.16667 5.00001L15.8333 5.00001V6.66667ZM5.83333 10L10 10L10 14.1667L5.83333 14.1667L5.83333 10Z",fill:v.grey.grey900})})},Za=({title:t,selected:r,onClick:n})=>e.jsx(pa,{selected:r,onClick:n,children:e.jsx(re,{category:"body2",weight:"medium",color:r?v.blue.blue1000:v.grey.grey900,children:t})},t),Oa=({options:t,selectedOption:r,onOptionClick:n})=>e.jsx(va,{children:t?.map((t=>e.jsx(Za,{...t,onClick:()=>n(t.value,t),selected:r===t.title},t.title)))}),Ma=({label:t="",timeHour:r="",timeMinute:n="",clockType:a="am",disabled:c=!0,onClockTypeChange:i,onHourChange:o,onMinuteChange:s})=>e.jsxs(wa,{children:[e.jsx(_a,{children:t}),e.jsxs(ma,{children:[e.jsx(ua,{type:"number",value:r,disabled:c,onChange:e=>{const r=e.target.value,n=ta(r);Number(r)<=12?o(t.toLowerCase(),n):o(t.toLowerCase(),"12")}}),e.jsx(ga,{children:":"}),e.jsx(ua,{type:"number",value:n,disabled:c,onChange:e=>{const r=e.target.value,n=ta(r);Number(r)<=59?s(t.toLowerCase(),n):s(t.toLowerCase(),"59")}}),e.jsx(da,{content:[{key:"am",label:"AM"},{key:"pm",label:"PM"}],activeKey:a,onClick:e=>{i(t.toLowerCase(),e)},disabled:c})]})]}),Ea=(t,r)=>e.jsx(ba,{onClick:r,children:t===ya.DatpickerNavigationDirectionEnum.right?xa.chevronRight:xa.chevronLeft}),Ha="MM/DD/YYYY",Pa=r.forwardRef(((t,n)=>{const{range:a,numberOfMonths:c=1,format:i=Ha,onChange:o,label:s,placeholder:l=Ha,required:h,readOnly:v,errorMessage:p,calendarRef:u,inputProps:g,showTime:m,dateTimeRange:d,onChangeDateTime:f,..._}=t,{time:w,setTime:b}=lt(),[y,x]=r.useState(""),[Z,O]=r.useState(""),M=(e,t,r)=>{if(!w)return;const n={...w,[e]:{...w[e],[r]:t}};b?.(n)},E=e=>{const[t,r]=(n=e,n?Array.isArray(n)&&2===n.length?`${n[0].format("YYYY-MM-DD")} * ${n[1].format("YYYY-MM-DD")}`:Array.isArray(n)&&1===n.length?n[0].format("YYYY-MM-DD"):"":"").split(" * ");var n;x(t),O(r)};return r.useEffect((()=>{if(d?.startDate?.includes("T")&&d?.endDate?.includes("T")){const{startDateOnly:e,endDateOnly:t,time:r}=sa(d);x(e),O(t),b(r)}}),[]),e.jsx(Qn,{showTime:m,className:"date-picker",children:e.jsx(Fn,{renderButton:ra,className:"date-picker-"+(Xn(a,c)?"range":"single"),ref:u,range:a,months:na,numberOfMonths:c,showOtherDays:!0,weekDays:aa,render:(t,r,a)=>e.jsx(ze,{rightSection:e.jsx(Yn,{onClick:()=>{!v&&r()},children:Un.calendar}),placeholder:l,value:m&&t?`${la(y,i,w.from)} ~ ${la(Z,i,w.to)}`:t,onClick:()=>{!v&&r()},onChange:e=>{((e,t)=>{const r=e.target.value.match(/[^0-9/]/g);Array.isArray(r)||t(e)})(e,a)},label:s,required:h,readOnly:v,error:!!p,errorMessage:p,onFocusCapture:()=>{!v&&r()},ref:n,...g}),onChange:e=>{m?E(e):o&&o(e)},format:i,portal:!0,onClose:()=>{if(m){const e=ca({dateRange:{startDate:y,endDate:Z},timeRange:w});f(e)}},..._,children:m&&e.jsx(fa,{children:ea.map((t=>{const r=w?.[t.key];return e.jsx(Ma,{disabled:!1,label:t.label,timeHour:r?.hour,timeMinute:r?.minute,clockType:r?.clockType,onClockTypeChange:(e,t)=>{M(e,t,"clockType")},onHourChange:(e,t)=>{M(e,t,"hour")},onMinuteChange:(e,t)=>{M(e,t,"minute")}},t.key)}))})})})})),ja=t.div`
2151
+ `,function(e){var t;(t=e.DatpickerNavigationDirectionEnum||(e.DatpickerNavigationDirectionEnum={})).right="right",t.left="left"}(ya||(ya={}));const xa={chevronLeft:e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M11.6736 2.5799L10.4869 1.3999L3.89355 7.9999L10.4936 14.5999L11.6736 13.4199L6.25355 7.9999L11.6736 2.5799Z",fill:v.grey.grey900})}),chevronRight:e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M4.32715 13.4199L5.50715 14.5999L12.1071 7.9999L5.50715 1.3999L4.32715 2.5799L9.74715 7.9999L4.32715 13.4199Z",fill:v.grey.grey900})}),calendar:e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M15.8333 3.33334H15V1.66667L13.3333 1.66667V3.33334L6.66667 3.33334V1.66667L5 1.66667V3.33334H4.16667C3.24167 3.33334 2.5 4.08334 2.5 5.00001L2.5 16.6667C2.5 17.5833 3.24167 18.3333 4.16667 18.3333H15.8333C16.75 18.3333 17.5 17.5833 17.5 16.6667V5.00001C17.5 4.08334 16.75 3.33334 15.8333 3.33334ZM15.8333 16.6667H4.16667L4.16667 8.33334L15.8333 8.33334L15.8333 16.6667ZM15.8333 6.66667L4.16667 6.66667L4.16667 5.00001L15.8333 5.00001V6.66667ZM5.83333 10L10 10L10 14.1667L5.83333 14.1667L5.83333 10Z",fill:v.grey.grey900})})},Za=({title:t,selected:r,onClick:n})=>e.jsx(pa,{selected:r,onClick:n,children:e.jsx(re,{category:"body2",weight:"medium",color:r?v.blue.blue1000:v.grey.grey900,children:t})},t),Oa=({options:t,selectedOption:r,onOptionClick:n})=>e.jsx(va,{children:t?.map((t=>e.jsx(Za,{...t,onClick:()=>n(t.value,t),selected:r===t.title},t.title)))}),Ma=({label:t="",timeHour:r="",timeMinute:n="",clockType:a="am",disabled:c=!0,onClockTypeChange:i,onHourChange:o,onMinuteChange:s})=>e.jsxs(wa,{children:[e.jsx(_a,{children:t}),e.jsxs(ma,{children:[e.jsx(ua,{type:"number",value:r,disabled:c,onChange:e=>{const r=e.target.value,n=ta(r);Number(r)<=12?o(t.toLowerCase(),n):o(t.toLowerCase(),"12")}}),e.jsx(ga,{children:":"}),e.jsx(ua,{type:"number",value:n,disabled:c,onChange:e=>{const r=e.target.value,n=ta(r);Number(r)<=59?s(t.toLowerCase(),n):s(t.toLowerCase(),"59")}}),e.jsx(da,{content:[{key:"am",label:"AM"},{key:"pm",label:"PM"}],activeKey:a,onClick:e=>{i(t.toLowerCase(),e)},disabled:c})]})]}),Ea=(t,r)=>e.jsx(ba,{onClick:r,children:t===ya.DatpickerNavigationDirectionEnum.right?xa.chevronRight:xa.chevronLeft}),Ha="MM/DD/YYYY",Pa=r.forwardRef(((t,n)=>{const{range:a,numberOfMonths:c=1,format:i=Ha,onChange:o,label:s,placeholder:l=Ha,required:h,readOnly:v,errorMessage:p,calendarRef:u,inputProps:g,showTime:m,dateTimeRange:d,onChangeDateTime:f,..._}=t,{time:w,setTime:b}=lt(),[y,x]=r.useState(""),[Z,O]=r.useState(""),M=(e,t,r)=>{if(!w)return;const n={...w,[e]:{...w[e],[r]:t}};b?.(n)},E=e=>{const[t,r]=(n=e,n?Array.isArray(n)&&2===n.length?`${n[0].format("YYYY-MM-DD")} * ${n[1].format("YYYY-MM-DD")}`:Array.isArray(n)&&1===n.length?n[0].format("YYYY-MM-DD"):"":"").split(" * ");var n;x(t),O(r)};return r.useEffect((()=>{if(d?.startDate?.includes("T")&&d?.endDate?.includes("T")){const{startDateOnly:e,endDateOnly:t,time:r}=sa(d);x(e),O(t),b(r)}}),[]),e.jsx(Qn,{showTime:m,className:"date-picker",children:e.jsx(Fn,{renderButton:ra,className:"date-picker-"+(Xn(a,c)?"range":"single"),ref:u,range:a,months:na,numberOfMonths:c,showOtherDays:!0,weekDays:aa,render:(t,r,a)=>e.jsx(ze,{rightSection:e.jsx(Yn,{onClick:()=>{!v&&r()},children:Un.calendar}),placeholder:l,value:m&&t?y&&Z?`${la(y,i,w.from)} ~ ${la(Z,i,w.to)}`:"":t,onClick:()=>{!v&&r()},onChange:e=>{((e,t)=>{const r=e.target.value.match(/[^0-9/]/g);Array.isArray(r)||t(e)})(e,a)},label:s,required:h,readOnly:v,error:!!p,errorMessage:p,onFocusCapture:()=>{!v&&r()},ref:n,...g}),onChange:e=>{m?E(e):o&&o(e)},format:i,portal:!0,onClose:()=>{if(m){const e=ca({dateRange:{startDate:y,endDate:Z},timeRange:w});f(e)}},..._,children:m&&e.jsx(fa,{children:ea.map((t=>{const r=w?.[t.key];return e.jsx(Ma,{disabled:!1,label:t.label,timeHour:r?.hour,timeMinute:r?.minute,clockType:r?.clockType,onClockTypeChange:(e,t)=>{M(e,t,"clockType")},onHourChange:(e,t)=>{M(e,t,"hour")},onMinuteChange:(e,t)=>{M(e,t,"minute")}},t.key)}))})})})})),ja=t.div`
2152
2152
  .xsmall {
2153
2153
  width: 20px;
2154
2154
  height: 20px;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kwant-ui",
3
- "version": "3.39.1-dev.0",
3
+ "version": "3.39.1-dev.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "./dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kwant-ui",
3
- "version": "3.39.1-dev.0",
3
+ "version": "3.39.1-dev.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "./dist/index.d.ts",