freemium-ui 2.0.92 → 2.0.94
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/lib/index.cjs.js +40 -35
- package/lib/index.d.ts +12 -12
- package/lib/index.js +40 -35
- package/lib/package.json +1 -1
- package/package.json +1 -1
- package/freemium-ui-2.1.0-alpha.15.tgz +0 -0
package/lib/index.cjs.js
CHANGED
|
@@ -883,9 +883,8 @@ window[zr]+=1);const Mr=Cr`
|
|
|
883
883
|
}
|
|
884
884
|
`,to=e.forwardRef(((t,n)=>e.createElement("svg",{width:"16",height:"16",
|
|
885
885
|
viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,ref:n
|
|
886
|
-
},e.createElement("rect",{width:"16",height:"16",fill:"white",
|
|
887
|
-
|
|
888
|
-
"fill-rule":"evenodd","clip-rule":"evenodd",
|
|
886
|
+
},e.createElement("rect",{width:"16",height:"16",fill:"white",fillOpacity:"0.01"
|
|
887
|
+
}),e.createElement("path",{fill:t.fill,fillRule:"evenodd",clipRule:"evenodd",
|
|
889
888
|
d:"M1 8C1 11.86 4.14 15 8 15H8.01C11.87 15 15.01 11.86 15.01 8C15.01 7.69 14.98 7.38 14.93 7C14.88 6.67 14.57 6.45 14.25 6.49C13.92 6.54 13.69 6.84 13.74 7.17C13.79 7.49 13.81 7.75 13.81 8C13.81 11.2 11.21 13.8 8.01 13.8C4.81 13.8 2.21 11.2 2.21 8C2.21 4.8 4.81 2.2 8.01 2.2C8.73 2.2 9.46 2.35 10.17 2.64C10.47 2.77 10.83 2.62 10.95 2.31C11.07 2.01 10.93 1.66 10.62 1.53C9.76 1.18 8.88 1 8 1C4.14 1 1 4.14 1 8ZM6.65003 10.35C6.76003 10.47 6.91003 10.53 7.07003 10.53L7.08003 10.54C7.23003 10.54 7.39003 10.47 7.50003 10.36L13.43 4.42997C13.66 4.18997 13.66 3.80997 13.43 3.57997C13.19 3.34997 12.81 3.34997 12.58 3.57997L7.08003 9.07997L5.49003 7.48997C5.25003 7.25997 4.88003 7.25997 4.64003 7.48997C4.41003 7.72997 4.41003 8.10997 4.64003 8.33997L6.65003 10.35Z"
|
|
890
889
|
})))),no=e.forwardRef(((t,n)=>e.createElement("svg",{width:"8",height:"6",
|
|
891
890
|
viewBox:"0 0 8 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,ref:n
|
|
@@ -897,8 +896,8 @@ height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",
|
|
|
897
896
|
d:"M5.29058 3.96971L7.72863 1.59934C8.09046 1.23484 8.09046 0.646977 7.72863 0.28247C7.55697 0.102105 7.31879 0 7.0697 0C6.8206 0 6.58242 0.102105 6.41076 0.28247L3.97271 2.65284L1.60055 0.295638C1.42889 0.115274 1.19071 0.0131687 0.941616 0.0131687C0.692525 0.0131687 0.454339 0.115274 0.282683 0.295638C0.102182 0.467165 0 0.705171 0 0.954075C0 1.20298 0.102182 1.44098 0.282683 1.61251L2.65484 3.96971L0.295861 6.4191C0.115361 6.59062 0.0131787 6.82863 0.0131787 7.07753C0.0131787 7.32644 0.115361 7.56444 0.295861 7.73597C0.468326 7.90482 0.700166 7.99938 0.941616 7.99934C1.18657 7.99736 1.4218 7.90334 1.60055 7.73597L3.97271 5.28659L6.42394 7.7228C6.59641 7.89165 6.82825 7.98621 7.0697 7.98618C7.31465 7.98419 7.54988 7.89017 7.72863 7.7228C8.09046 7.35829 8.09046 6.77044 7.72863 6.40593L5.29058 3.96971Z",
|
|
898
897
|
fill:t.fill})))),oo=e.forwardRef(((t,n)=>e.createElement("svg",{width:"18",
|
|
899
898
|
height:"18",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",
|
|
900
|
-
...t,ref:n},e.createElement("path",{fill:t.fill,
|
|
901
|
-
|
|
899
|
+
...t,ref:n},e.createElement("path",{fill:t.fill,fillRule:"evenodd",
|
|
900
|
+
clipRule:"evenodd",
|
|
902
901
|
d:"M2 10C2 5.58172 5.58172 2 10 2C12.1217 2 14.1566 2.84285 15.6569 4.34315C17.1571 5.84344 18 7.87827 18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10ZM3.4 10C3.4 13.6451 6.35492 16.6 10 16.6C13.6428 16.5945 16.5945 13.6428 16.6 10C16.6 6.35492 13.6451 3.4 10 3.4C6.35492 3.4 3.4 6.35492 3.4 10ZM9.34998 10.31V6.7C9.34998 6.44991 9.48339 6.21883 9.69998 6.09378C9.91656 5.96874 10.1834 5.96874 10.4 6.09378C10.6166 6.21883 10.75 6.44991 10.75 6.7V10.31C10.75 10.6966 10.4366 11.01 10.05 11.01C9.66338 11.01 9.34998 10.6966 9.34998 10.31ZM9 13.1099C9 12.53 9.4701 12.0599 10.05 12.0599C10.3327 12.0454 10.6083 12.1513 10.8084 12.3515C11.0086 12.5516 11.1145 12.8272 11.1 13.1099C11.1 13.6898 10.6299 14.1599 10.05 14.1599C9.4701 14.1599 9 13.6898 9 13.1099Z"
|
|
903
902
|
})))),ao=e.forwardRef(((t,n)=>e.createElement("svg",{width:"16",height:"16",
|
|
904
903
|
viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,ref:n
|
|
@@ -918,9 +917,8 @@ id:"clip0_3716_21092"},e.createElement("rect",{width:"11",height:"11",
|
|
|
918
917
|
fill:"white",transform:"translate(0.5 0.5)"
|
|
919
918
|
})))))),io=e.forwardRef(((t,n)=>e.createElement("svg",{width:"16",height:"16",
|
|
920
919
|
viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,ref:n
|
|
921
|
-
},e.createElement("rect",{width:"16",height:"16",fill:"white",
|
|
922
|
-
|
|
923
|
-
"fill-rule":"evenodd","clip-rule":"evenodd",
|
|
920
|
+
},e.createElement("rect",{width:"16",height:"16",fill:"white",fillOpacity:"0.01"
|
|
921
|
+
}),e.createElement("path",{fill:t.fill,fillRule:"evenodd",clipRule:"evenodd",
|
|
924
922
|
d:"M8 1C4.14 1 1 4.14 1 8C1 11.86 4.14 15 8 15C11.86 15 15 11.86 15 8C15 4.14 11.86 1 8 1ZM8 13.8C4.8 13.8 2.2 11.2 2.2 8C2.2 4.8 4.8 2.2 8 2.2C11.2 2.2 13.8 4.8 13.8 8C13.8 11.2 11.2 13.8 8 13.8ZM8.00003 6.24004C8.50003 6.24004 8.91003 5.83004 8.91003 5.33004C8.91003 4.83004 8.50003 4.42004 8.00003 4.42004C7.50003 4.42004 7.09003 4.83004 7.09003 5.33004C7.09003 5.83004 7.50003 6.24004 8.00003 6.24004ZM8.00003 5.04004C8.16003 5.04004 8.29003 5.17004 8.29003 5.33004C8.29003 5.49004 8.16003 5.62004 8.00003 5.62004C7.84003 5.62004 7.71003 5.49004 7.71003 5.33004C7.71003 5.17004 7.84003 5.04004 8.00003 5.04004ZM8.60002 10.37H8.86002C9.19002 10.37 9.46002 10.64 9.46002 10.97C9.46002 11.3 9.19002 11.57 8.86002 11.57H7.12002C6.79002 11.57 6.52002 11.3 6.52002 10.97C6.52002 10.64 6.79002 10.37 7.12002 10.37H7.39002V8.24996C7.15002 8.16996 6.96002 7.94996 6.96002 7.67996C6.96002 7.34996 7.23002 7.07996 7.56002 7.07996H8.43002C8.76002 7.07996 9.03002 7.34996 9.03002 7.67996C9.03002 7.95996 8.85002 8.17996 8.60002 8.24996V10.37Z"
|
|
925
923
|
})))),lo=e.forwardRef(((t,n)=>e.createElement("svg",{width:"24",height:"7",
|
|
926
924
|
viewBox:"0 0 24 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,ref:n
|
|
@@ -4739,13 +4737,13 @@ const e=i.reduce(((e,t)=>{const n=t.group??"default"
|
|
|
4739
4737
|
;return Object.keys(e).sort(((e,t)=>"default"!==e?1:-1)).map((t=>({key:t,
|
|
4740
4738
|
items:e[t]})))}),[i]),[A,L]=e.useState(b)
|
|
4741
4739
|
;return e.createElement(qp,null,o&&e.createElement(e.Fragment,null,e.createElement(Do,{
|
|
4742
|
-
className:"input-label","aria-label":o,htmlFor:a
|
|
4740
|
+
className:"input-label","aria-label":"string"==typeof o?o:"",htmlFor:a
|
|
4743
4741
|
},o,o&&d&&e.createElement(Lo,null,"*"))),e.createElement(Xp,{open:S,
|
|
4744
4742
|
defaultOpen:x,name:p,required:d,disabled:u,value:b?.[r]??void 0,
|
|
4745
4743
|
onValueChange:e=>{if(s)return;const t=i.find((t=>t?.[r]===e));L(t),l?.(t??null)}
|
|
4746
4744
|
},e.createElement(sm,{className:`SelectTrigger ${g??""}`.trim(),
|
|
4747
|
-
"aria-label":o
|
|
4748
|
-
width:v,style:y},c||null!==b?A&&H?H(A):e.createElement(Qp,{
|
|
4745
|
+
"aria-label":"string"==typeof o?o:"dropdown",disabled:u,id:a,$isErrored:!!w,
|
|
4746
|
+
"aria-invalid":!!w,width:v,style:y},c||null!==b?A&&H?H(A):e.createElement(Qp,{
|
|
4749
4747
|
className:`SelectValue ${g??""}`.trim(),placeholder:c
|
|
4750
4748
|
}):e.createElement(Zp,null),e.createElement(cm,{
|
|
4751
4749
|
className:`SelectIcon ${g??""}`.trim()},e.createElement(no,{
|
|
@@ -12771,7 +12769,7 @@ TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"
|
|
|
12771
12769
|
align-items: center;
|
|
12772
12770
|
display: flex;
|
|
12773
12771
|
flex-direction: column;
|
|
12774
|
-
width: 280px;
|
|
12772
|
+
min-width: 280px;
|
|
12775
12773
|
.rdp {
|
|
12776
12774
|
width: 100%;
|
|
12777
12775
|
padding: 16px;
|
|
@@ -12826,6 +12824,7 @@ TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"
|
|
|
12826
12824
|
}
|
|
12827
12825
|
.bp5-datepicker-timepicker-wrapper {
|
|
12828
12826
|
padding: 0 16px 16px 16px;
|
|
12827
|
+
max-width: 100%;
|
|
12829
12828
|
}
|
|
12830
12829
|
.bp5-timepicker {
|
|
12831
12830
|
display: flex;
|
|
@@ -13057,11 +13056,18 @@ defaultSelectedItem:n.find((e=>e.id===t.value))??null,style:t.style,
|
|
|
13057
13056
|
className:`${t.className??""} bp-custom-dropdown bp-custom-dropdown-${t.name??""}`.trim(),
|
|
13058
13057
|
onChange:e=>{t?.onChange?.({target:{value:e?.id}})}})}
|
|
13059
13058
|
return e.createElement(ub,{itemToString:()=>"",type:"button"})},JN=t=>{
|
|
13060
|
-
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,language:l,errorText:c,id:s,cancelButtonText:u="Cancel",updateButtonText:d="Update",disabled:h,displayFormat:f="YYYY-MM-DD",portalContainer:p,value:m,useTime:v,dateToHilight:g,...y}=t,b=document.querySelector('div[role="dialog"].DialogContent'),w=cr(),C=e.useRef(m??null),[z,M]=e.useState(
|
|
13059
|
+
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,language:l,errorText:c,id:s,cancelButtonText:u="Cancel",updateButtonText:d="Update",disabled:h,displayFormat:f="YYYY-MM-DD",portalContainer:p,value:m=null,useTime:v,dateToHilight:g,...y}=t,b=document.querySelector('div[role="dialog"].DialogContent'),w=cr(),C=e.useRef(m??null),[z,M]=e.useState(),[x,E]=e.useState(m??null),S=e.useMemo((()=>{
|
|
13060
|
+
if(!v)return"YYYY-MM-DD";switch(y.timePrecision){case"minute":
|
|
13061
|
+
return"YYYY-MM-DDTHH:mm";case"second":return"YYYY-MM-DDTHH:mm:ss"
|
|
13062
|
+
;case"millisecond":return"YYYY-MM-DDTHH:mm:ss.SSS"}return"YYYY-MM-DDTHH:mm"
|
|
13063
|
+
}),[y.timePrecision,v]),_=e.useCallback((e=>{E(e?jN(e).format(S):null)
|
|
13064
|
+
}),[S]),H=e.useCallback((e=>e?jN(e).format(f):""),[f]),D=e.useCallback((e=>e?jN(e).toDate():new Date),[])
|
|
13061
13065
|
;return e.useEffect((()=>(window.addEventListener("popstate",(()=>{
|
|
13062
|
-
Mc("DateRangePicker",{action:"Closing",useTime:v}),
|
|
13063
|
-
|
|
13064
|
-
})),[]),e.
|
|
13066
|
+
Mc("DateRangePicker",{action:"Closing",useTime:v}),M(!1),setTimeout((()=>{
|
|
13067
|
+
M(void 0)}),0)})),()=>{document.body.removeEventListener("popstate",(()=>{}))
|
|
13068
|
+
})),[]),e.useEffect((()=>{const e=m?jN(m).format(S):null;Mc("useEffect",{
|
|
13069
|
+
valueToSet:e,localValue:x}),e!==x&&(Mc("setLocalValue",{valueToSet:e,
|
|
13070
|
+
localValue:x}),E(e))}),[m]),e.createElement(KN,{
|
|
13065
13071
|
id:`${v?"datetime":"date"}-picker-container-${s??""}`.trim(),"aria-invalid":i,
|
|
13066
13072
|
dir:w.direction},a&&e.createElement(Do,{htmlFor:t.id,className:"input-label"
|
|
13067
13073
|
},a,a&&o&&e.createElement(Lo,null,"*")),e.createElement(qN,{$isErrored:i,
|
|
@@ -13078,17 +13084,17 @@ className:r.buttonProps.className?.replace("rdp-day_today","")}
|
|
|
13078
13084
|
e.createElement("button",{ref:n,...o})}}:{},Dropdown:t=>e.createElement(XN,{
|
|
13079
13085
|
...t,disabled:h})}},showActionsBar:!1,
|
|
13080
13086
|
footerElement:u||d?e.createElement(GN,null,u&&e.createElement(Dm,{
|
|
13081
|
-
variant:"secondary",disabled:h,onClick:()=>{
|
|
13082
|
-
E(
|
|
13083
|
-
|
|
13087
|
+
variant:"secondary",disabled:h,onClick:()=>{
|
|
13088
|
+
E(m?jN(m).format(S):null),M(!1),setTimeout((()=>{M(void 0)}),0)}
|
|
13089
|
+
},u),d&&e.createElement(Dm,{disabled:m===x,onClick:()=>{
|
|
13090
|
+
y.onChange?.(x,!0),C.current=x,M(!1),setTimeout((()=>{M(void 0)}),0)}
|
|
13084
13091
|
},d)):void 0,popoverProps:{hasBackdrop:!0,canEscapeKeyClose:!0,minimal:!1,
|
|
13085
13092
|
placement:"ltr"===w.direction?"bottom-start":"bottom-end",usePortal:!0,
|
|
13086
|
-
onClosed:()=>{C.current!==
|
|
13087
|
-
portalContainer:p??(b||void 0),...void 0!==
|
|
13088
|
-
|
|
13089
|
-
|
|
13090
|
-
|
|
13091
|
-
value:z??""})),i&&c&&e.createElement(dm,null,c))},QN=t=>{
|
|
13093
|
+
onClosed:()=>{C.current!==x&&(y.onChange?.(x,!0),C.current=x)},
|
|
13094
|
+
portalContainer:p??(b||void 0),...void 0!==z?{isOpen:z}:{}},parseDate:D,
|
|
13095
|
+
formatDate:H,...v?{timePrecision:"minute",timePickerProps:{useAmPm:!0,
|
|
13096
|
+
showArrowButtons:!1},showTimezoneSelect:!1,disableTimezoneSelect:!0}:{},...y,
|
|
13097
|
+
onChange:_,value:x})),i&&c&&e.createElement(dm,null,c))},QN=t=>{
|
|
13092
13098
|
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,disabled:s,cancelButtonText:u="Cancel",updateButtonText:d="Update",language:h,displayFormat:f="YYYY-MM-DD",portalContainer:p,value:m,useTime:v,dateToHilight:g,...y}=t,b=document.querySelector('div[role="dialog"].DialogContent'),w=cr(),C=e.useRef(m??[null,null]),[z,M]=e.useState(m??[null,null]),[x,E]=e.useState()
|
|
13093
13099
|
;return e.useEffect((()=>(window.addEventListener("popstate",(()=>{
|
|
13094
13100
|
Mc("DateRangePicker",{action:"Closing",useTime:v}),E(!1),setTimeout((()=>{
|
|
@@ -16019,8 +16025,8 @@ fill:t.fill}))))`
|
|
|
16019
16025
|
}
|
|
16020
16026
|
`,QU=e.forwardRef(((t,n)=>e.createElement("svg",{width:"16",height:"16",
|
|
16021
16027
|
viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"
|
|
16022
|
-
},e.createElement("rect",{width:"16",height:"16",fill:"white",
|
|
16023
|
-
|
|
16028
|
+
},e.createElement("rect",{width:"16",height:"16",fill:"white",fillOpacity:"0.01"
|
|
16029
|
+
}),e.createElement("path",{
|
|
16024
16030
|
d:"M7.99999 10.62C7.84999 10.62 7.68999 10.56 7.57999 10.44L3.53999 6.41001C3.30999 6.18001 3.30999 5.80001 3.53999 5.56001C3.76999 5.33001 4.14999 5.33001 4.38999 5.56001L7.99999 9.17001L11.61 5.56001C11.84 5.33001 12.23 5.33001 12.46 5.56001C12.69 5.79001 12.69 6.17001 12.46 6.41001L8.41999 10.44C8.29999 10.56 8.14999 10.62 7.99999 10.62Z",
|
|
16025
16031
|
fill:"currentcolor"})))),eY=e.forwardRef(((t,n)=>e.createElement("svg",{
|
|
16026
16032
|
width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",
|
|
@@ -16340,7 +16346,7 @@ const QY=PY,eW=NY,tW=UY,nW=YY,rW=yr(VY)``;yr.div`
|
|
|
16340
16346
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeIn};
|
|
16341
16347
|
will-change: transform, opacity;
|
|
16342
16348
|
position: absolute;
|
|
16343
|
-
order: ${({toastIndex:e})=>e+1};
|
|
16349
|
+
order: ${({$toastIndex:e})=>e+1};
|
|
16344
16350
|
background: ${({theme:e})=>e.colors.fill.surface};
|
|
16345
16351
|
border: 1px solid ${({theme:e})=>e.colors.border.light};
|
|
16346
16352
|
border-radius: 4px;
|
|
@@ -16398,10 +16404,10 @@ const QY=PY,eW=NY,tW=UY,nW=YY,rW=yr(VY)``;yr.div`
|
|
|
16398
16404
|
gap: 8px;
|
|
16399
16405
|
`,sW=yr.div`
|
|
16400
16406
|
height: 4px;
|
|
16401
|
-
background-color: ${({theme:e
|
|
16407
|
+
background-color: ${({theme:e,$toastType:t="success"})=>e.colors.text.semantic[t]};
|
|
16402
16408
|
border-radius: 4px 4px 0 0;
|
|
16403
16409
|
|
|
16404
|
-
${({delay:e
|
|
16410
|
+
${({$delay:e,$windowState:t})=>"none"===e?"width: 100%;":mr`
|
|
16405
16411
|
width: 0%;
|
|
16406
16412
|
animation: ${Or} ${e}ms linear
|
|
16407
16413
|
${"focus"===t?"running":"paused"};
|
|
@@ -16437,12 +16443,11 @@ fill:s.colors.text.semantic.warning}),error:e.createElement(dW,{
|
|
|
16437
16443
|
fill:s.colors.text.semantic.error}),info:e.createElement(io,{
|
|
16438
16444
|
fill:s.colors.text.semantic.info})}
|
|
16439
16445
|
;return e.createElement(e.Fragment,null,e.createElement(oW,{role:"alert",
|
|
16440
|
-
"aria-live":"polite",ref:p,
|
|
16441
|
-
|
|
16442
|
-
|
|
16443
|
-
onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),onOpenChange:e=>{
|
|
16446
|
+
"aria-live":"polite",ref:p,dir:s.direction,style:o||!i?{borderTop:"none"
|
|
16447
|
+
}:void 0,$toastIndex:t,className:`ToastRoot Toast-${r??""}`.trim(),
|
|
16448
|
+
duration:o?1/0:l,onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),onOpenChange:e=>{
|
|
16444
16449
|
e||u((e=>e.filter((e=>e.id!==r))))}},e.createElement(sW,{
|
|
16445
|
-
className:"ToastProgress"
|
|
16450
|
+
className:"ToastProgress",$windowState:d,$toastType:c,$delay:!o&&i?l:"none"
|
|
16446
16451
|
}),e.createElement(cW,null,n??g[c],e.createElement(aW,{className:"ToastTitle"
|
|
16447
16452
|
},a),e.createElement(iW,{className:"ToastAction",asChild:!0,altText:"Close",
|
|
16448
16453
|
"aria-label":"Close"},e.createElement(No,null,e.createElement(ro,{
|
package/lib/index.d.ts
CHANGED
|
@@ -253,7 +253,7 @@ interface DropdownProps<T extends DefaultDropdownItem = DefaultDropdownItem> ext
|
|
|
253
253
|
/**
|
|
254
254
|
*
|
|
255
255
|
*/
|
|
256
|
-
label?: string;
|
|
256
|
+
label?: string | React.ReactNode;
|
|
257
257
|
/**
|
|
258
258
|
*
|
|
259
259
|
*/
|
|
@@ -692,7 +692,7 @@ interface CommonProps {
|
|
|
692
692
|
/**
|
|
693
693
|
* Id of the button
|
|
694
694
|
*/
|
|
695
|
-
label?: string;
|
|
695
|
+
label?: string | react__default.ReactNode;
|
|
696
696
|
/**
|
|
697
697
|
* Label of the button
|
|
698
698
|
*/
|
|
@@ -705,20 +705,20 @@ interface CommonProps {
|
|
|
705
705
|
* Whether to show character count
|
|
706
706
|
*/
|
|
707
707
|
showCount?: boolean;
|
|
708
|
-
inputStyle?:
|
|
709
|
-
startLabel?:
|
|
710
|
-
startAdornment?:
|
|
711
|
-
endLabel?:
|
|
712
|
-
endAdornment?:
|
|
708
|
+
inputStyle?: react__default.CSSProperties;
|
|
709
|
+
startLabel?: react__default.ReactNode | any;
|
|
710
|
+
startAdornment?: react__default.ReactNode | any;
|
|
711
|
+
endLabel?: react__default.ReactNode | any;
|
|
712
|
+
endAdornment?: react__default.ReactNode | any;
|
|
713
713
|
labelProps?: LabelProps;
|
|
714
|
-
containerProps?:
|
|
714
|
+
containerProps?: react__default.HTMLAttributes<HTMLDivElement>;
|
|
715
715
|
forceInputDir?: 'ltr' | 'rtl';
|
|
716
716
|
}
|
|
717
|
-
interface InputProps extends CommonProps,
|
|
718
|
-
ref?:
|
|
717
|
+
interface InputProps extends CommonProps, react__default.InputHTMLAttributes<HTMLInputElement> {
|
|
718
|
+
ref?: react__default.Ref<HTMLInputElement>;
|
|
719
719
|
}
|
|
720
|
-
interface TextAreaProps extends CommonProps,
|
|
721
|
-
ref?:
|
|
720
|
+
interface TextAreaProps extends CommonProps, react__default.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
721
|
+
ref?: react__default.Ref<HTMLTextAreaElement>;
|
|
722
722
|
showLineNumbers?: boolean;
|
|
723
723
|
}
|
|
724
724
|
|
package/lib/index.js
CHANGED
|
@@ -870,9 +870,8 @@ window[Br]+=1);const jr=$r`
|
|
|
870
870
|
}
|
|
871
871
|
`,zo=t.forwardRef(((e,n)=>t.createElement("svg",{width:"16",height:"16",
|
|
872
872
|
viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:n
|
|
873
|
-
},t.createElement("rect",{width:"16",height:"16",fill:"white",
|
|
874
|
-
|
|
875
|
-
"fill-rule":"evenodd","clip-rule":"evenodd",
|
|
873
|
+
},t.createElement("rect",{width:"16",height:"16",fill:"white",fillOpacity:"0.01"
|
|
874
|
+
}),t.createElement("path",{fill:e.fill,fillRule:"evenodd",clipRule:"evenodd",
|
|
876
875
|
d:"M1 8C1 11.86 4.14 15 8 15H8.01C11.87 15 15.01 11.86 15.01 8C15.01 7.69 14.98 7.38 14.93 7C14.88 6.67 14.57 6.45 14.25 6.49C13.92 6.54 13.69 6.84 13.74 7.17C13.79 7.49 13.81 7.75 13.81 8C13.81 11.2 11.21 13.8 8.01 13.8C4.81 13.8 2.21 11.2 2.21 8C2.21 4.8 4.81 2.2 8.01 2.2C8.73 2.2 9.46 2.35 10.17 2.64C10.47 2.77 10.83 2.62 10.95 2.31C11.07 2.01 10.93 1.66 10.62 1.53C9.76 1.18 8.88 1 8 1C4.14 1 1 4.14 1 8ZM6.65003 10.35C6.76003 10.47 6.91003 10.53 7.07003 10.53L7.08003 10.54C7.23003 10.54 7.39003 10.47 7.50003 10.36L13.43 4.42997C13.66 4.18997 13.66 3.80997 13.43 3.57997C13.19 3.34997 12.81 3.34997 12.58 3.57997L7.08003 9.07997L5.49003 7.48997C5.25003 7.25997 4.88003 7.25997 4.64003 7.48997C4.41003 7.72997 4.41003 8.10997 4.64003 8.33997L6.65003 10.35Z"
|
|
877
876
|
})))),Mo=t.forwardRef(((e,n)=>t.createElement("svg",{width:"8",height:"6",
|
|
878
877
|
viewBox:"0 0 8 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:n
|
|
@@ -884,8 +883,8 @@ height:"8",viewBox:"0 0 8 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",
|
|
|
884
883
|
d:"M5.29058 3.96971L7.72863 1.59934C8.09046 1.23484 8.09046 0.646977 7.72863 0.28247C7.55697 0.102105 7.31879 0 7.0697 0C6.8206 0 6.58242 0.102105 6.41076 0.28247L3.97271 2.65284L1.60055 0.295638C1.42889 0.115274 1.19071 0.0131687 0.941616 0.0131687C0.692525 0.0131687 0.454339 0.115274 0.282683 0.295638C0.102182 0.467165 0 0.705171 0 0.954075C0 1.20298 0.102182 1.44098 0.282683 1.61251L2.65484 3.96971L0.295861 6.4191C0.115361 6.59062 0.0131787 6.82863 0.0131787 7.07753C0.0131787 7.32644 0.115361 7.56444 0.295861 7.73597C0.468326 7.90482 0.700166 7.99938 0.941616 7.99934C1.18657 7.99736 1.4218 7.90334 1.60055 7.73597L3.97271 5.28659L6.42394 7.7228C6.59641 7.89165 6.82825 7.98621 7.0697 7.98618C7.31465 7.98419 7.54988 7.89017 7.72863 7.7228C8.09046 7.35829 8.09046 6.77044 7.72863 6.40593L5.29058 3.96971Z",
|
|
885
884
|
fill:e.fill})))),Eo=t.forwardRef(((e,n)=>t.createElement("svg",{width:"18",
|
|
886
885
|
height:"18",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",
|
|
887
|
-
...e,ref:n},t.createElement("path",{fill:e.fill,
|
|
888
|
-
|
|
886
|
+
...e,ref:n},t.createElement("path",{fill:e.fill,fillRule:"evenodd",
|
|
887
|
+
clipRule:"evenodd",
|
|
889
888
|
d:"M2 10C2 5.58172 5.58172 2 10 2C12.1217 2 14.1566 2.84285 15.6569 4.34315C17.1571 5.84344 18 7.87827 18 10C18 14.4183 14.4183 18 10 18C5.58172 18 2 14.4183 2 10ZM3.4 10C3.4 13.6451 6.35492 16.6 10 16.6C13.6428 16.5945 16.5945 13.6428 16.6 10C16.6 6.35492 13.6451 3.4 10 3.4C6.35492 3.4 3.4 6.35492 3.4 10ZM9.34998 10.31V6.7C9.34998 6.44991 9.48339 6.21883 9.69998 6.09378C9.91656 5.96874 10.1834 5.96874 10.4 6.09378C10.6166 6.21883 10.75 6.44991 10.75 6.7V10.31C10.75 10.6966 10.4366 11.01 10.05 11.01C9.66338 11.01 9.34998 10.6966 9.34998 10.31ZM9 13.1099C9 12.53 9.4701 12.0599 10.05 12.0599C10.3327 12.0454 10.6083 12.1513 10.8084 12.3515C11.0086 12.5516 11.1145 12.8272 11.1 13.1099C11.1 13.6898 10.6299 14.1599 10.05 14.1599C9.4701 14.1599 9 13.6898 9 13.1099Z"
|
|
890
889
|
})))),So=t.forwardRef(((e,n)=>t.createElement("svg",{width:"16",height:"16",
|
|
891
890
|
viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:n
|
|
@@ -905,9 +904,8 @@ id:"clip0_3716_21092"},t.createElement("rect",{width:"11",height:"11",
|
|
|
905
904
|
fill:"white",transform:"translate(0.5 0.5)"
|
|
906
905
|
})))))),_o=t.forwardRef(((e,n)=>t.createElement("svg",{width:"16",height:"16",
|
|
907
906
|
viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:n
|
|
908
|
-
},t.createElement("rect",{width:"16",height:"16",fill:"white",
|
|
909
|
-
|
|
910
|
-
"fill-rule":"evenodd","clip-rule":"evenodd",
|
|
907
|
+
},t.createElement("rect",{width:"16",height:"16",fill:"white",fillOpacity:"0.01"
|
|
908
|
+
}),t.createElement("path",{fill:e.fill,fillRule:"evenodd",clipRule:"evenodd",
|
|
911
909
|
d:"M8 1C4.14 1 1 4.14 1 8C1 11.86 4.14 15 8 15C11.86 15 15 11.86 15 8C15 4.14 11.86 1 8 1ZM8 13.8C4.8 13.8 2.2 11.2 2.2 8C2.2 4.8 4.8 2.2 8 2.2C11.2 2.2 13.8 4.8 13.8 8C13.8 11.2 11.2 13.8 8 13.8ZM8.00003 6.24004C8.50003 6.24004 8.91003 5.83004 8.91003 5.33004C8.91003 4.83004 8.50003 4.42004 8.00003 4.42004C7.50003 4.42004 7.09003 4.83004 7.09003 5.33004C7.09003 5.83004 7.50003 6.24004 8.00003 6.24004ZM8.00003 5.04004C8.16003 5.04004 8.29003 5.17004 8.29003 5.33004C8.29003 5.49004 8.16003 5.62004 8.00003 5.62004C7.84003 5.62004 7.71003 5.49004 7.71003 5.33004C7.71003 5.17004 7.84003 5.04004 8.00003 5.04004ZM8.60002 10.37H8.86002C9.19002 10.37 9.46002 10.64 9.46002 10.97C9.46002 11.3 9.19002 11.57 8.86002 11.57H7.12002C6.79002 11.57 6.52002 11.3 6.52002 10.97C6.52002 10.64 6.79002 10.37 7.12002 10.37H7.39002V8.24996C7.15002 8.16996 6.96002 7.94996 6.96002 7.67996C6.96002 7.34996 7.23002 7.07996 7.56002 7.07996H8.43002C8.76002 7.07996 9.03002 7.34996 9.03002 7.67996C9.03002 7.95996 8.85002 8.17996 8.60002 8.24996V10.37Z"
|
|
912
910
|
})))),Ho=t.forwardRef(((e,n)=>t.createElement("svg",{width:"24",height:"7",
|
|
913
911
|
viewBox:"0 0 24 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:n
|
|
@@ -4763,13 +4761,13 @@ const e=i.reduce(((e,t)=>{const n=t.group??"default"
|
|
|
4763
4761
|
;return Object.keys(e).sort(((e,t)=>"default"!==e?1:-1)).map((t=>({key:t,
|
|
4764
4762
|
items:e[t]})))}),[i]),[A,L]=t.useState(b)
|
|
4765
4763
|
;return t.createElement(gm,null,o&&t.createElement(t.Fragment,null,t.createElement(Zo,{
|
|
4766
|
-
className:"input-label","aria-label":o,htmlFor:a
|
|
4764
|
+
className:"input-label","aria-label":"string"==typeof o?o:"",htmlFor:a
|
|
4767
4765
|
},o,o&&d&&t.createElement(Jo,null,"*"))),t.createElement(bm,{open:S,
|
|
4768
4766
|
defaultOpen:x,name:f,required:d,disabled:u,value:b?.[r]??void 0,
|
|
4769
4767
|
onValueChange:e=>{if(s)return;const t=i.find((t=>t?.[r]===e));L(t),l?.(t??null)}
|
|
4770
4768
|
},t.createElement(Lm,{className:`SelectTrigger ${g??""}`.trim(),
|
|
4771
|
-
"aria-label":o
|
|
4772
|
-
width:v,style:y},c||null!==b?A&&H?H(A):t.createElement(Cm,{
|
|
4769
|
+
"aria-label":"string"==typeof o?o:"dropdown",disabled:u,id:a,$isErrored:!!w,
|
|
4770
|
+
"aria-invalid":!!w,width:v,style:y},c||null!==b?A&&H?H(A):t.createElement(Cm,{
|
|
4773
4771
|
className:`SelectValue ${g??""}`.trim(),placeholder:c
|
|
4774
4772
|
}):t.createElement(ym,null),t.createElement(Am,{
|
|
4775
4773
|
className:`SelectIcon ${g??""}`.trim()},t.createElement(Mo,{
|
|
@@ -12845,7 +12843,7 @@ TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"
|
|
|
12845
12843
|
align-items: center;
|
|
12846
12844
|
display: flex;
|
|
12847
12845
|
flex-direction: column;
|
|
12848
|
-
width: 280px;
|
|
12846
|
+
min-width: 280px;
|
|
12849
12847
|
.rdp {
|
|
12850
12848
|
width: 100%;
|
|
12851
12849
|
padding: 16px;
|
|
@@ -12900,6 +12898,7 @@ TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"
|
|
|
12900
12898
|
}
|
|
12901
12899
|
.bp5-datepicker-timepicker-wrapper {
|
|
12902
12900
|
padding: 0 16px 16px 16px;
|
|
12901
|
+
max-width: 100%;
|
|
12903
12902
|
}
|
|
12904
12903
|
.bp5-timepicker {
|
|
12905
12904
|
display: flex;
|
|
@@ -13131,11 +13130,18 @@ defaultSelectedItem:n.find((t=>t.id===e.value))??null,style:e.style,
|
|
|
13131
13130
|
className:`${e.className??""} bp-custom-dropdown bp-custom-dropdown-${e.name??""}`.trim(),
|
|
13132
13131
|
onChange:t=>{e?.onChange?.({target:{value:t?.id}})}})}
|
|
13133
13132
|
return t.createElement(Rb,{itemToString:()=>"",type:"button"})},_F=e=>{
|
|
13134
|
-
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,language:l,errorText:c,id:s,cancelButtonText:u="Cancel",updateButtonText:d="Update",disabled:h,displayFormat:p="YYYY-MM-DD",portalContainer:f,value:m,useTime:v,dateToHilight:g,...y}=e,b=document.querySelector('div[role="dialog"].DialogContent'),w=Hr(),C=t.useRef(m??null),[z,M]=t.useState(
|
|
13133
|
+
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,language:l,errorText:c,id:s,cancelButtonText:u="Cancel",updateButtonText:d="Update",disabled:h,displayFormat:p="YYYY-MM-DD",portalContainer:f,value:m=null,useTime:v,dateToHilight:g,...y}=e,b=document.querySelector('div[role="dialog"].DialogContent'),w=Hr(),C=t.useRef(m??null),[z,M]=t.useState(),[x,E]=t.useState(m??null),S=t.useMemo((()=>{
|
|
13134
|
+
if(!v)return"YYYY-MM-DD";switch(y.timePrecision){case"minute":
|
|
13135
|
+
return"YYYY-MM-DDTHH:mm";case"second":return"YYYY-MM-DDTHH:mm:ss"
|
|
13136
|
+
;case"millisecond":return"YYYY-MM-DDTHH:mm:ss.SSS"}return"YYYY-MM-DDTHH:mm"
|
|
13137
|
+
}),[y.timePrecision,v]),_=t.useCallback((e=>{E(e?yF(e).format(S):null)
|
|
13138
|
+
}),[S]),H=t.useCallback((e=>e?yF(e).format(p):""),[p]),D=t.useCallback((e=>e?yF(e).toDate():new Date),[])
|
|
13135
13139
|
;return t.useEffect((()=>(window.addEventListener("popstate",(()=>{
|
|
13136
|
-
Yc("DateRangePicker",{action:"Closing",useTime:v}),
|
|
13137
|
-
|
|
13138
|
-
})),[]),t.
|
|
13140
|
+
Yc("DateRangePicker",{action:"Closing",useTime:v}),M(!1),setTimeout((()=>{
|
|
13141
|
+
M(void 0)}),0)})),()=>{document.body.removeEventListener("popstate",(()=>{}))
|
|
13142
|
+
})),[]),t.useEffect((()=>{const e=m?yF(m).format(S):null;Yc("useEffect",{
|
|
13143
|
+
valueToSet:e,localValue:x}),e!==x&&(Yc("setLocalValue",{valueToSet:e,
|
|
13144
|
+
localValue:x}),E(e))}),[m]),t.createElement(MF,{
|
|
13139
13145
|
id:`${v?"datetime":"date"}-picker-container-${s??""}`.trim(),"aria-invalid":i,
|
|
13140
13146
|
dir:w.direction},a&&t.createElement(Zo,{htmlFor:e.id,className:"input-label"
|
|
13141
13147
|
},a,a&&o&&t.createElement(Jo,null,"*")),t.createElement(xF,{$isErrored:i,
|
|
@@ -13152,17 +13158,17 @@ className:r.buttonProps.className?.replace("rdp-day_today","")}
|
|
|
13152
13158
|
t.createElement("button",{ref:n,...o})}}:{},Dropdown:e=>t.createElement(SF,{
|
|
13153
13159
|
...e,disabled:h})}},showActionsBar:!1,
|
|
13154
13160
|
footerElement:u||d?t.createElement(zF,null,u&&t.createElement(Jm,{
|
|
13155
|
-
variant:"secondary",disabled:h,onClick:()=>{
|
|
13156
|
-
E(
|
|
13157
|
-
|
|
13161
|
+
variant:"secondary",disabled:h,onClick:()=>{
|
|
13162
|
+
E(m?yF(m).format(S):null),M(!1),setTimeout((()=>{M(void 0)}),0)}
|
|
13163
|
+
},u),d&&t.createElement(Jm,{disabled:m===x,onClick:()=>{
|
|
13164
|
+
y.onChange?.(x,!0),C.current=x,M(!1),setTimeout((()=>{M(void 0)}),0)}
|
|
13158
13165
|
},d)):void 0,popoverProps:{hasBackdrop:!0,canEscapeKeyClose:!0,minimal:!1,
|
|
13159
13166
|
placement:"ltr"===w.direction?"bottom-start":"bottom-end",usePortal:!0,
|
|
13160
|
-
onClosed:()=>{C.current!==
|
|
13161
|
-
portalContainer:f??(b||void 0),...void 0!==
|
|
13162
|
-
|
|
13163
|
-
|
|
13164
|
-
|
|
13165
|
-
value:z??""})),i&&c&&t.createElement(km,null,c))},HF=e=>{
|
|
13167
|
+
onClosed:()=>{C.current!==x&&(y.onChange?.(x,!0),C.current=x)},
|
|
13168
|
+
portalContainer:f??(b||void 0),...void 0!==z?{isOpen:z}:{}},parseDate:D,
|
|
13169
|
+
formatDate:H,...v?{timePrecision:"minute",timePickerProps:{useAmPm:!0,
|
|
13170
|
+
showArrowButtons:!1},showTimezoneSelect:!1,disableTimezoneSelect:!0}:{},...y,
|
|
13171
|
+
onChange:_,value:x})),i&&c&&t.createElement(km,null,c))},HF=e=>{
|
|
13166
13172
|
const{displayFormat:n="YYYY-MM-DD hh:mm A",...r}=e;return t.createElement(_F,{
|
|
13167
13173
|
...r,displayFormat:n,useTime:!0})},DF=e=>{
|
|
13168
13174
|
const{placeholder:n,name:r,isRequired:o,label:a,isErrored:i,errorText:l,id:c,disabled:s,cancelButtonText:u="Cancel",updateButtonText:d="Update",language:h,displayFormat:p="YYYY-MM-DD",portalContainer:f,value:m,useTime:v,dateToHilight:g,...y}=e,b=document.querySelector('div[role="dialog"].DialogContent'),w=Hr(),C=t.useRef(m??[null,null]),[z,M]=t.useState(m??[null,null]),[x,E]=t.useState()
|
|
@@ -16134,8 +16140,8 @@ fill:e.fill}))))`
|
|
|
16134
16140
|
}
|
|
16135
16141
|
`,VY=t.forwardRef(((e,n)=>t.createElement("svg",{width:"16",height:"16",
|
|
16136
16142
|
viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"
|
|
16137
|
-
},t.createElement("rect",{width:"16",height:"16",fill:"white",
|
|
16138
|
-
|
|
16143
|
+
},t.createElement("rect",{width:"16",height:"16",fill:"white",fillOpacity:"0.01"
|
|
16144
|
+
}),t.createElement("path",{
|
|
16139
16145
|
d:"M7.99999 10.62C7.84999 10.62 7.68999 10.56 7.57999 10.44L3.53999 6.41001C3.30999 6.18001 3.30999 5.80001 3.53999 5.56001C3.76999 5.33001 4.14999 5.33001 4.38999 5.56001L7.99999 9.17001L11.61 5.56001C11.84 5.33001 12.23 5.33001 12.46 5.56001C12.69 5.79001 12.69 6.17001 12.46 6.41001L8.41999 10.44C8.29999 10.56 8.14999 10.62 7.99999 10.62Z",
|
|
16140
16146
|
fill:"currentcolor"})))),kY=t.forwardRef(((e,n)=>t.createElement("svg",{
|
|
16141
16147
|
width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",
|
|
@@ -16538,7 +16544,7 @@ const TW=gW,PW=wW,IW=EW,RW=SW,OW=Or(pW)``;Or.div`
|
|
|
16538
16544
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeIn};
|
|
16539
16545
|
will-change: transform, opacity;
|
|
16540
16546
|
position: absolute;
|
|
16541
|
-
order: ${({toastIndex:e})=>e+1};
|
|
16547
|
+
order: ${({$toastIndex:e})=>e+1};
|
|
16542
16548
|
background: ${({theme:e})=>e.colors.fill.surface};
|
|
16543
16549
|
border: 1px solid ${({theme:e})=>e.colors.border.light};
|
|
16544
16550
|
border-radius: 4px;
|
|
@@ -16596,10 +16602,10 @@ const TW=gW,PW=wW,IW=EW,RW=SW,OW=Or(pW)``;Or.div`
|
|
|
16596
16602
|
gap: 8px;
|
|
16597
16603
|
`,UW=Or.div`
|
|
16598
16604
|
height: 4px;
|
|
16599
|
-
background-color: ${({theme:e
|
|
16605
|
+
background-color: ${({theme:e,$toastType:t="success"})=>e.colors.text.semantic[t]};
|
|
16600
16606
|
border-radius: 4px 4px 0 0;
|
|
16601
16607
|
|
|
16602
|
-
${({delay:e
|
|
16608
|
+
${({$delay:e,$windowState:t})=>"none"===e?"width: 100%;":Pr`
|
|
16603
16609
|
width: 0%;
|
|
16604
16610
|
animation: ${oo} ${e}ms linear
|
|
16605
16611
|
${"focus"===t?"running":"paused"};
|
|
@@ -16635,12 +16641,11 @@ fill:s.colors.text.semantic.warning}),error:t.createElement(WW,{
|
|
|
16635
16641
|
fill:s.colors.text.semantic.error}),info:t.createElement(_o,{
|
|
16636
16642
|
fill:s.colors.text.semantic.info})}
|
|
16637
16643
|
;return t.createElement(t.Fragment,null,t.createElement(NW,{role:"alert",
|
|
16638
|
-
"aria-live":"polite",ref:f,
|
|
16639
|
-
|
|
16640
|
-
|
|
16641
|
-
onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),onOpenChange:e=>{
|
|
16644
|
+
"aria-live":"polite",ref:f,dir:s.direction,style:o||!i?{borderTop:"none"
|
|
16645
|
+
}:void 0,$toastIndex:e,className:`ToastRoot Toast-${r??""}`.trim(),
|
|
16646
|
+
duration:o?1/0:l,onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),onOpenChange:e=>{
|
|
16642
16647
|
e||u((e=>e.filter((e=>e.id!==r))))}},t.createElement(UW,{
|
|
16643
|
-
className:"ToastProgress"
|
|
16648
|
+
className:"ToastProgress",$windowState:d,$toastType:c,$delay:!o&&i?l:"none"
|
|
16644
16649
|
}),t.createElement(jW,null,n??g[c],t.createElement(FW,{className:"ToastTitle"
|
|
16645
16650
|
},a),t.createElement($W,{className:"ToastAction",asChild:!0,altText:"Close",
|
|
16646
16651
|
"aria-label":"Close"},t.createElement(ia,null,t.createElement(xo,{
|
package/lib/package.json
CHANGED
package/package.json
CHANGED
|
Binary file
|