master-components-react-ts 1.0.10 → 1.0.11
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/master-components-react-ts.cjs.js +10 -2
- package/dist/master-components-react-ts.cjs10.js +30 -1
- package/dist/master-components-react-ts.cjs11.js +5 -1
- package/dist/master-components-react-ts.cjs12.js +24 -1
- package/dist/master-components-react-ts.cjs13.js +65 -1
- package/dist/master-components-react-ts.cjs14.js +55 -1
- package/dist/master-components-react-ts.cjs15.js +4 -1
- package/dist/master-components-react-ts.cjs16.js +30 -1
- package/dist/master-components-react-ts.cjs17.js +4 -1
- package/dist/master-components-react-ts.cjs18.js +14 -1
- package/dist/master-components-react-ts.cjs19.js +13 -1
- package/dist/master-components-react-ts.cjs2.js +21 -1
- package/dist/master-components-react-ts.cjs20.js +11 -1
- package/dist/master-components-react-ts.cjs21.js +17 -1
- package/dist/master-components-react-ts.cjs22.js +9 -1
- package/dist/master-components-react-ts.cjs23.js +12 -1
- package/dist/master-components-react-ts.cjs24.js +9 -1
- package/dist/master-components-react-ts.cjs25.js +7 -1
- package/dist/master-components-react-ts.cjs26.js +7 -1
- package/dist/master-components-react-ts.cjs27.js +9 -1
- package/dist/master-components-react-ts.cjs28.js +7 -1
- package/dist/master-components-react-ts.cjs29.js +5 -1
- package/dist/master-components-react-ts.cjs3.js +40 -1
- package/dist/master-components-react-ts.cjs30.js +24 -1
- package/dist/master-components-react-ts.cjs31.js +5 -1
- package/dist/master-components-react-ts.cjs32.js +13 -1
- package/dist/master-components-react-ts.cjs33.js +8 -1
- package/dist/master-components-react-ts.cjs34.js +5 -1
- package/dist/master-components-react-ts.cjs35.js +14 -1
- package/dist/master-components-react-ts.cjs36.js +11 -1
- package/dist/master-components-react-ts.cjs37.js +13 -1
- package/dist/master-components-react-ts.cjs38.js +11 -1
- package/dist/master-components-react-ts.cjs39.js +10 -1
- package/dist/master-components-react-ts.cjs4.js +44 -1
- package/dist/master-components-react-ts.cjs40.js +12 -1
- package/dist/master-components-react-ts.cjs41.js +8 -1
- package/dist/master-components-react-ts.cjs42.js +8 -1
- package/dist/master-components-react-ts.cjs43.js +8 -1
- package/dist/master-components-react-ts.cjs44.js +35 -1
- package/dist/master-components-react-ts.cjs45.js +24 -1
- package/dist/master-components-react-ts.cjs46.js +19 -1
- package/dist/master-components-react-ts.cjs47.js +66 -1
- package/dist/master-components-react-ts.cjs48.js +8 -1
- package/dist/master-components-react-ts.cjs49.js +183 -1
- package/dist/master-components-react-ts.cjs5.js +8 -1
- package/dist/master-components-react-ts.cjs50.js +14 -1
- package/dist/master-components-react-ts.cjs51.js +7 -1
- package/dist/master-components-react-ts.cjs52.js +11 -1
- package/dist/master-components-react-ts.cjs53.js +3 -1
- package/dist/master-components-react-ts.cjs54.js +12 -10
- package/dist/master-components-react-ts.cjs55.js +68 -11
- package/dist/master-components-react-ts.cjs56.js +9 -1
- package/dist/master-components-react-ts.cjs57.js +9 -1
- package/dist/master-components-react-ts.cjs58.js +5 -1
- package/dist/master-components-react-ts.cjs59.js +3 -1
- package/dist/master-components-react-ts.cjs6.js +11 -1
- package/dist/master-components-react-ts.cjs60.js +18 -1
- package/dist/master-components-react-ts.cjs61.js +8 -1
- package/dist/master-components-react-ts.cjs62.js +8 -1
- package/dist/master-components-react-ts.cjs63.js +3 -1
- package/dist/master-components-react-ts.cjs64.js +3 -1
- package/dist/master-components-react-ts.cjs7.js +112 -1
- package/dist/master-components-react-ts.cjs8.js +11 -1
- package/dist/master-components-react-ts.cjs9.js +42 -1
- package/dist/master-components-react-ts.es.js +1 -1
- package/dist/master-components-react-ts.es10.js +10 -10
- package/dist/master-components-react-ts.es12.js +1 -2
- package/dist/master-components-react-ts.es13.js +6 -6
- package/dist/master-components-react-ts.es14.js +6 -6
- package/dist/master-components-react-ts.es16.js +3 -3
- package/dist/master-components-react-ts.es2.js +1 -1
- package/dist/master-components-react-ts.es3.js +7 -7
- package/dist/master-components-react-ts.es4.js +2 -2
- package/dist/master-components-react-ts.es44.js +3 -3
- package/dist/master-components-react-ts.es49.js +10 -11
- package/dist/master-components-react-ts.es5.js +1 -1
- package/dist/master-components-react-ts.es7.js +17 -21
- package/dist/master-components-react-ts.es8.js +2 -2
- package/dist/master-components-react-ts.es9.js +2 -3
- package/package.json +11 -8
|
@@ -1 +1,13 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})
|
|
3
|
+
const e=require("./master-components-react-ts.cjs17.js")
|
|
4
|
+
exports.IconClose=({width:o="14",height:t="14",color:i="#A4A7AE",xmlns:s="http://www.w3.org/2000/svg",viewBox:r="0 0 14 14",fill:l="none",d:n="M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5",stroke:d="#A4A7AE",strokeWidth:h="1.66667",strokeLinecap:c="round",strokeLinejoin:w="round"})=>e.jsxRuntimeExports.jsx("svg",{
|
|
5
|
+
xmlns:s,width:o,height:t,viewBox:r,fill:l,
|
|
6
|
+
children:e.jsxRuntimeExports.jsx("path",{d:n,stroke:d,strokeWidth:h,
|
|
7
|
+
strokeLinecap:c,strokeLinejoin:w})
|
|
8
|
+
}),exports.IconCloseBlack=({color:o="#131314"})=>e.jsxRuntimeExports.jsx("svg",{
|
|
9
|
+
xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",
|
|
10
|
+
fill:"none",color:o,children:e.jsxRuntimeExports.jsx("path",{fillRule:"evenodd",
|
|
11
|
+
clipRule:"evenodd",
|
|
12
|
+
d:"M0.292893 0.292893C0.683417 -0.0976311 1.31658 -0.0976311 1.70711 0.292893L6 4.58579L10.2929 0.292893C10.6834 -0.0976311 11.3166 -0.0976311 11.7071 0.292893C12.0976 0.683417 12.0976 1.31658 11.7071 1.70711L7.41421 6L11.7071 10.2929C12.0976 10.6834 12.0976 11.3166 11.7071 11.7071C11.3166 12.0976 10.6834 12.0976 10.2929 11.7071L6 7.41421L1.70711 11.7071C1.31658 12.0976 0.683417 12.0976 0.292893 11.7071C-0.0976311 11.3166 -0.0976311 10.6834 0.292893 10.2929L4.58579 6L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683417 0.292893 0.292893Z",
|
|
13
|
+
fill:o})})
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})
|
|
3
|
+
const t=require("./master-components-react-ts.cjs17.js")
|
|
4
|
+
exports.IconArrowUp=({width:e="10",height:s="6",color:o="#131314"})=>t.jsxRuntimeExports.jsx("svg",{
|
|
5
|
+
xmlns:"http://www.w3.org/2000/svg",width:e,height:s,viewBox:`0 0 ${e} ${s}`,
|
|
6
|
+
fill:"none",children:t.jsxRuntimeExports.jsx("path",{
|
|
7
|
+
d:"M4.75065 3.75401L8.00065 0.504008C8.15343 0.35123 8.34787 0.274841 8.58398 0.274841C8.8201 0.274841 9.01454 0.35123 9.16732 0.504008C9.3201 0.656786 9.39648 0.85123 9.39648 1.08734C9.39648 1.32345 9.3201 1.5179 9.16732 1.67067L5.33398 5.50401C5.25065 5.58734 5.16037 5.64637 5.06315 5.68109C4.96593 5.71581 4.86176 5.73317 4.75065 5.73317C4.63954 5.73317 4.53537 5.71581 4.43815 5.68109C4.34093 5.64637 4.25065 5.58734 4.16732 5.50401L0.333984 1.67067C0.181207 1.5179 0.104817 1.32345 0.104817 1.08734C0.104817 0.85123 0.181207 0.656785 0.333984 0.504008C0.486762 0.35123 0.681207 0.274841 0.917317 0.274841C1.15343 0.274841 1.34787 0.35123 1.50065 0.504008L4.75065 3.75401Z",
|
|
8
|
+
fill:o})})
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
Object.defineProperties(exports,{o:{value:!0},[Symbol.toStringTag]:{
|
|
3
|
+
value:"Module"}})
|
|
4
|
+
const e="Radio-module__radioWrapper"
|
|
5
|
+
exports.default={radioWrapper:e},exports.radioWrapper=e
|
|
@@ -1 +1,14 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})
|
|
3
|
+
const e=require("./master-components-react-ts.cjs17.js")
|
|
4
|
+
exports.IconRadioChecked=({size:i="24",color:l="#0058FF"})=>e.jsxRuntimeExports.jsxs("svg",{
|
|
5
|
+
xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:`0 0 ${i} ${i}`,
|
|
6
|
+
fill:"none",children:[e.jsxRuntimeExports.jsxs("g",{
|
|
7
|
+
clipPath:"url(#clip0_118_485)",children:[e.jsxRuntimeExports.jsx("path",{
|
|
8
|
+
d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20Z",
|
|
9
|
+
fill:l}),e.jsxRuntimeExports.jsx("path",{
|
|
10
|
+
d:"M12 17C14.7614 17 17 14.7614 17 12C17 9.23858 14.7614 7 12 7C9.23858 7 7 9.23858 7 12C7 14.7614 9.23858 17 12 17Z",
|
|
11
|
+
fill:l})]}),e.jsxRuntimeExports.jsx("defs",{
|
|
12
|
+
children:e.jsxRuntimeExports.jsx("clipPath",{id:"clip0_118_485",
|
|
13
|
+
children:e.jsxRuntimeExports.jsx("rect",{width:"24",height:"24",fill:"white"})})
|
|
14
|
+
})]})
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})
|
|
3
|
+
const e=require("./master-components-react-ts.cjs17.js")
|
|
4
|
+
exports.IconRadioUnchecked=({size:i="24",color:t="#C1C2C7"})=>e.jsxRuntimeExports.jsxs("svg",{
|
|
5
|
+
xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:`0 0 ${i} ${i}`,
|
|
6
|
+
fill:"none",children:[e.jsxRuntimeExports.jsx("g",{
|
|
7
|
+
clipPath:"url(#clip0_118_495)",children:e.jsxRuntimeExports.jsx("path",{
|
|
8
|
+
d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20Z",
|
|
9
|
+
fill:t})}),e.jsxRuntimeExports.jsx("defs",{
|
|
10
|
+
children:e.jsxRuntimeExports.jsx("clipPath",{id:"clip0_118_495",
|
|
11
|
+
children:e.jsxRuntimeExports.jsx("rect",{width:i,height:i,fill:"white"})})})]})
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})
|
|
3
|
+
const e=require("./master-components-react-ts.cjs17.js")
|
|
4
|
+
exports.IconRadioCheckedDisabled=({size:i="24",color:l="#95969C"})=>e.jsxRuntimeExports.jsxs("svg",{
|
|
5
|
+
xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:`0 0 ${i} ${i}`,
|
|
6
|
+
fill:"none",children:[e.jsxRuntimeExports.jsxs("g",{
|
|
7
|
+
clipPath:"url(#clip0_118_531)",children:[e.jsxRuntimeExports.jsx("path",{
|
|
8
|
+
d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20Z",
|
|
9
|
+
fill:l}),e.jsxRuntimeExports.jsx("path",{
|
|
10
|
+
d:"M12 17C14.7614 17 17 14.7614 17 12C17 9.23858 14.7614 7 12 7C9.23858 7 7 9.23858 7 12C7 14.7614 9.23858 17 12 17Z",
|
|
11
|
+
fill:l})]}),e.jsxRuntimeExports.jsx("defs",{
|
|
12
|
+
children:e.jsxRuntimeExports.jsx("clipPath",{id:"clip0_118_531",
|
|
13
|
+
children:e.jsxRuntimeExports.jsx("rect",{width:i,height:i,fill:"white"})})})]})
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})
|
|
3
|
+
const e=require("./master-components-react-ts.cjs17.js")
|
|
4
|
+
exports.IconRadioUncheckedDisabled=({size:i="24",color:t="#C1C2C7"})=>e.jsxRuntimeExports.jsxs("svg",{
|
|
5
|
+
xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:`0 0 ${i} ${i}`,
|
|
6
|
+
fill:"none",children:[e.jsxRuntimeExports.jsx("g",{
|
|
7
|
+
clipPath:"url(#clip0_118_495)",children:e.jsxRuntimeExports.jsx("path",{
|
|
8
|
+
d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20Z",
|
|
9
|
+
fill:t})}),e.jsxRuntimeExports.jsx("defs",{
|
|
10
|
+
children:e.jsxRuntimeExports.jsx("clipPath",{id:"clip0_118_495",
|
|
11
|
+
children:e.jsxRuntimeExports.jsx("rect",{width:i,height:i,fill:"white"})})})]})
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
Object.defineProperties(exports,{o:{value:!0},[Symbol.toStringTag]:{
|
|
3
|
+
value:"Module"}})
|
|
4
|
+
const o="Tooltip-module__tooltipContainer",t="Tooltip-module__tooltipContent",e="Tooltip-module__withoutPointer",l="Tooltip-module__top",p="Tooltip-module__right",i="Tooltip-module__bottom",_="Tooltip-module__left",r="Tooltip-module__tooltipTitle",u="Tooltip-module__tooltipText",s="Tooltip-module__dark",d={
|
|
5
|
+
tooltipContainer:o,tooltipContent:t,withoutPointer:e,top:l,right:p,bottom:i,
|
|
6
|
+
left:_,tooltipTitle:r,tooltipText:u,dark:s}
|
|
7
|
+
exports.bottom=i,exports.dark=s,exports.default=d,exports.left=_,exports.right=p,
|
|
8
|
+
exports.tooltipContainer=o,
|
|
9
|
+
exports.tooltipContent=t,exports.tooltipText=u,exports.tooltipTitle=r,
|
|
10
|
+
exports.top=l,exports.withoutPointer=e
|
|
@@ -1 +1,44 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
const e=require("./master-components-react-ts.cjs17.js"),t=require("react"),s=require("./master-components-react-ts.cjs23.js"),r=require("./master-components-react-ts.cjs24.js")
|
|
3
|
+
module.exports=({placeholder:n,label:o,cols:a=30,rows:l=5,value:c,inputState:i={
|
|
4
|
+
error:!1,success:!0
|
|
5
|
+
},maxLength:u=20,withFocus:d=!0,withActive:h=!0,withResize:m=!0,withClose:p=!0,onChange:f,onFocus:v,onBlur:y,disabled:$,required:w,textareaContainerStyle:x,textareaLabelStyle:b,requiredStyle:N,labelSlot:j,textareaFooterStyle:q})=>{
|
|
6
|
+
const S=t.useRef(null),[C,g]=t.useState(!1),[F,L]=t.useState(!1)
|
|
7
|
+
let z=!1
|
|
8
|
+
return t.useEffect((()=>{if(!S.current)return
|
|
9
|
+
const e=S.current.querySelector("textarea")
|
|
10
|
+
if(!e)return
|
|
11
|
+
let t=!1
|
|
12
|
+
const s=s=>{const r=e.getBoundingClientRect()
|
|
13
|
+
s.clientX>r.right-20&&s.clientY>r.bottom-20&&(t=!0)},r=new ResizeObserver((()=>{
|
|
14
|
+
t&&(z=!0,t=!1)}))
|
|
15
|
+
return e.addEventListener("mousedown",s),r.observe(e),()=>{
|
|
16
|
+
e.removeEventListener("mousedown",s),r.disconnect()}}),[]),t.useEffect((()=>{
|
|
17
|
+
if(!S.current)return
|
|
18
|
+
const e=S.current.querySelector("textarea"),t=new ResizeObserver((()=>{
|
|
19
|
+
z=e.scrollHeight>e.offsetHeight}))
|
|
20
|
+
return t.observe(e),()=>t.disconnect()}),[]),e.jsxRuntimeExports.jsxs("div",{
|
|
21
|
+
style:x??{},
|
|
22
|
+
className:`${s.default.textareaContainer} ${i.error?s.default.error:""} ${$?s.default.disabled:null}`,
|
|
23
|
+
children:[o&&e.jsxRuntimeExports.jsxs("div",{style:b,
|
|
24
|
+
className:s.default.textAreaLabel,children:[e.jsxRuntimeExports.jsx("p",{
|
|
25
|
+
children:o}),e.jsxRuntimeExports.jsx("span",{style:N??{},
|
|
26
|
+
className:s.default.required,children:w&&"*"}),j&&j]
|
|
27
|
+
}),e.jsxRuntimeExports.jsxs("div",{
|
|
28
|
+
className:`${s.default.wrap} ${m?s.default.resize:""}`,ref:S,
|
|
29
|
+
children:[e.jsxRuntimeExports.jsx("textarea",{
|
|
30
|
+
className:`${s.default.textarea} ${C?s.default.focused:""} ${$?s.default.disabled:""} ${d&&C?i.error?s.default.errorFocused:s.default.focused:""} ${h&&F?i.error?s.default.errorActive:s.default.active:""} ${i.error?s.default.error:""} ${i.success?s.default.success:""}`,
|
|
31
|
+
value:c,placeholder:n??"",cols:a,rows:l,maxLength:u??void 0,onInput:e=>{
|
|
32
|
+
z=!1,f?.(e.target.value),(()=>{if(!S.current)return
|
|
33
|
+
const e=S.current.querySelector("textarea")
|
|
34
|
+
e&&!z&&(e.style.height="auto",e.style.height=e.scrollHeight+"px")})()},
|
|
35
|
+
onFocus:e=>{g(!0),v&&"function"==typeof v&&v(e)},disabled:$,onBlur:e=>{
|
|
36
|
+
g(!1),y&&"function"==typeof y&&y(e)},onChange:e=>{
|
|
37
|
+
f&&"function"==typeof f&&f(e.target.value)},onMouseDown:()=>L(!0),
|
|
38
|
+
onMouseUp:()=>L(!1),onMouseLeave:()=>L(!1)}),p&&e.jsxRuntimeExports.jsx("div",{
|
|
39
|
+
className:s.default.textareaIconClose,onClick:()=>{
|
|
40
|
+
f&&"function"==typeof f&&f("")},
|
|
41
|
+
children:e.jsxRuntimeExports.jsx(r.IconCloseBackground,{})})]
|
|
42
|
+
}),e.jsxRuntimeExports.jsx("div",{style:q??{},
|
|
43
|
+
className:s.default.textareaFooter,children:e.jsxRuntimeExports.jsxs("p",{
|
|
44
|
+
children:[c?.length,"/",u]})})]})}
|
|
@@ -1 +1,12 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
Object.defineProperties(exports,{p:{value:!0},[Symbol.toStringTag]:{
|
|
3
|
+
value:"Module"}})
|
|
4
|
+
const p="Popup-module__modalOverlay",o="Popup-module__popupDrawerMode",e="Popup-module__popupContainer",u="Popup-module__closeButton",t="Popup-module__withOptions",r="Popup-module__horizontal",l="Popup-module__popupHeader",_="Popup-module__popupTitle",s="Popup-module__popupDescription",d="Popup-module__typeIcon",a="Popup-module__icon",i="Popup-module__templateWrapper",m={
|
|
5
|
+
modalOverlay:p,popupDrawerMode:o,popupContainer:e,closeButton:u,withOptions:t,
|
|
6
|
+
horizontal:r,popupHeader:l,popupTitle:_,popupDescription:s,typeIcon:d,icon:a,
|
|
7
|
+
templateWrapper:i}
|
|
8
|
+
exports.closeButton=u,exports.default=m,exports.horizontal=r,exports.icon=a,exports.modalOverlay=p,
|
|
9
|
+
exports.popupContainer=e,
|
|
10
|
+
exports.popupDescription=s,exports.popupDrawerMode=o,exports.popupHeader=l,
|
|
11
|
+
exports.popupTitle=_,
|
|
12
|
+
exports.templateWrapper=i,exports.typeIcon=d,exports.withOptions=t
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})
|
|
3
|
+
const e=require("./master-components-react-ts.cjs17.js")
|
|
4
|
+
exports.IconCheckCircle=({width:t="24",height:o="24",color:s="#079455"})=>e.jsxRuntimeExports.jsx("svg",{
|
|
5
|
+
xmlns:"http://www.w3.org/2000/svg",width:t,height:o,viewBox:"0 0 24 24",
|
|
6
|
+
fill:"none",children:e.jsxRuntimeExports.jsx("path",{
|
|
7
|
+
d:"M7.5 12L10.5 15L16.5 9M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",
|
|
8
|
+
stroke:s,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})
|
|
3
|
+
const C=require("./master-components-react-ts.cjs17.js")
|
|
4
|
+
exports.IconSave=({size:e="24",color:t="#DC6803"})=>C.jsxRuntimeExports.jsx("svg",{
|
|
5
|
+
xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 24 24",
|
|
6
|
+
fill:"none",children:C.jsxRuntimeExports.jsx("path",{
|
|
7
|
+
d:"M7 3V6.4C7 6.96005 7 7.24008 7.10899 7.45399C7.20487 7.64215 7.35785 7.79513 7.54601 7.89101C7.75992 8 8.03995 8 8.6 8H15.4C15.9601 8 16.2401 8 16.454 7.89101C16.6422 7.79513 16.7951 7.64215 16.891 7.45399C17 7.24008 17 6.96005 17 6.4V4M17 21V14.6C17 14.0399 17 13.7599 16.891 13.546C16.7951 13.3578 16.6422 13.2049 16.454 13.109C16.2401 13 15.9601 13 15.4 13H8.6C8.03995 13 7.75992 13 7.54601 13.109C7.35785 13.2049 7.20487 13.3578 7.10899 13.546C7 13.7599 7 14.0399 7 14.6V21M21 9.32548V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3H14.6745C15.1637 3 15.4083 3 15.6385 3.05526C15.8425 3.10425 16.0376 3.18506 16.2166 3.29472C16.4184 3.4184 16.5914 3.59135 16.9373 3.93726L20.0627 7.06274C20.4086 7.40865 20.5816 7.5816 20.7053 7.78343C20.8149 7.96237 20.8957 8.15746 20.9447 8.36154C21 8.59171 21 8.8363 21 9.32548Z",
|
|
8
|
+
stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})
|
|
3
|
+
const e=require("./master-components-react-ts.cjs17.js")
|
|
4
|
+
exports.IconTrash=({width:t="24",color:o="#D92D20"})=>e.jsxRuntimeExports.jsx("svg",{
|
|
5
|
+
xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 24 24",
|
|
6
|
+
fill:"none",children:e.jsxRuntimeExports.jsx("path",{
|
|
7
|
+
d:"M16 6V5.2C16 4.0799 16 3.51984 15.782 3.09202C15.5903 2.71569 15.2843 2.40973 14.908 2.21799C14.4802 2 13.9201 2 12.8 2H11.2C10.0799 2 9.51984 2 9.09202 2.21799C8.71569 2.40973 8.40973 2.71569 8.21799 3.09202C8 3.51984 8 4.0799 8 5.2V6M10 11.5V16.5M14 11.5V16.5M3 6H21M19 6V17.2C19 18.8802 19 19.7202 18.673 20.362C18.3854 20.9265 17.9265 21.3854 17.362 21.673C16.7202 22 15.8802 22 14.2 22H9.8C8.11984 22 7.27976 22 6.63803 21.673C6.07354 21.3854 5.6146 20.9265 5.32698 20.362C5 19.7202 5 18.8802 5 17.2V6",
|
|
8
|
+
stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})
|
|
@@ -1 +1,35 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
const e=require("./master-components-react-ts.cjs17.js"),s=require("./master-components-react-ts.cjs32.js"),r=require("./master-components-react-ts.cjs45.js"),t=require("react"),c=require("./master-components-react-ts.cjs56.js"),n=require("./master-components-react-ts.cjs57.js")
|
|
3
|
+
module.exports=({title:l,colorType:o="neutral",filled:a=!1,withClose:i=!1,withUndo:d=!1,withInfoIcon:m=!0,description:u,customAction:f,timeout:h=4e3,children:p,onUndo:N,onClose:j})=>{
|
|
4
|
+
const[v,q]=t.useState("fadeIn")
|
|
5
|
+
return t.useEffect((()=>{const e=setTimeout((()=>{q("fadeOut"),setTimeout((()=>{
|
|
6
|
+
j?.()}),300)}),h)
|
|
7
|
+
return()=>{clearTimeout(e)}}),[j]),e.jsxRuntimeExports.jsx("div",{
|
|
8
|
+
className:`${r.default.notificationToast} ${r.default[o]} ${a?r.default.filled:""} ${r.default[v]}`,
|
|
9
|
+
style:u?{padding:"12px"}:{},children:e.jsxRuntimeExports.jsxs("div",{
|
|
10
|
+
className:r.default.notificationToastContent,style:u?{alignItems:"flex-start"
|
|
11
|
+
}:{},children:[e.jsxRuntimeExports.jsxs("div",{
|
|
12
|
+
className:r.default.notificationToastContentLeft,style:u?{
|
|
13
|
+
alignItems:"flex-start"}:{},children:[m&&e.jsxRuntimeExports.jsx("div",{
|
|
14
|
+
className:r.default.notificationToastContentInfoIcon,
|
|
15
|
+
children:"success"===o?e.jsxRuntimeExports.jsx(n.IconCheck,{
|
|
16
|
+
color:a?"#328707":"#fff"}):e.jsxRuntimeExports.jsx(c.IconExclamation,{
|
|
17
|
+
color:a?"neutral"===o?"#131314":"error"===o?"#E3292F":"#0058FF":"#fff"})
|
|
18
|
+
}),e.jsxRuntimeExports.jsxs("div",{
|
|
19
|
+
className:r.default.notificationToastContentLeftText,
|
|
20
|
+
children:[l&&e.jsxRuntimeExports.jsx("p",{
|
|
21
|
+
className:r.default.notificationToastContentLeftTextTitle,children:l
|
|
22
|
+
}),u&&e.jsxRuntimeExports.jsx("p",{
|
|
23
|
+
className:r.default.notificationToastContentLeftTextDescription,children:u
|
|
24
|
+
}),p&&p]})]}),e.jsxRuntimeExports.jsx("div",{
|
|
25
|
+
className:r.default.notificationToastContentDescription
|
|
26
|
+
}),e.jsxRuntimeExports.jsxs("div",{
|
|
27
|
+
className:r.default.notificationToastContentRight,
|
|
28
|
+
children:[f&&f,!u&&d&&e.jsxRuntimeExports.jsx("p",{
|
|
29
|
+
className:r.default.notificationToastContentRightUndoText,onClick:()=>N?.(),
|
|
30
|
+
children:"Undo"}),i&&e.jsxRuntimeExports.jsx("div",{
|
|
31
|
+
className:r.default.notificationToastContentRightClose,style:u||!d?{
|
|
32
|
+
border:"none"}:{},onClick:()=>j?.(),
|
|
33
|
+
children:e.jsxRuntimeExports.jsx(s.IconCloseBlack,{
|
|
34
|
+
color:a?"neutral"===o?"#131314":"error"===o?"#E3292F":"info"===o?"#0058FF":"#328707":"#fff"
|
|
35
|
+
})})]})]})})}
|
|
@@ -1 +1,24 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
Object.defineProperties(exports,{t:{value:!0},[Symbol.toStringTag]:{
|
|
3
|
+
value:"Module"}})
|
|
4
|
+
const t="NotificationToast-module__toastContainer",o="NotificationToast-module__notificationToast",i="NotificationToast-module__fadeIn",n="NotificationToast-module__fadeOut",e="NotificationToast-module__neutral",a="NotificationToast-module__filled",s="NotificationToast-module__notificationToastContentLeftTextTitle",f="NotificationToast-module__notificationToastContentRightUndoText",c="NotificationToast-module__notificationToastContentLeftTextDescription",T="NotificationToast-module__info",_="NotificationToast-module__error",l="NotificationToast-module__success",r="NotificationToast-module__notificationToastContent",u="NotificationToast-module__notificationToastContentLeft",d="NotificationToast-module__notificationToastContentInfoIcon",x="NotificationToast-module__notificationToastContentLeftText",p="NotificationToast-module__notificationToastContentRight",C="NotificationToast-module__notificationToastContentRightClose"
|
|
5
|
+
exports.default={toastContainer:t,notificationToast:o,fadeIn:i,fadeOut:n,
|
|
6
|
+
neutral:e,filled:a,notificationToastContentLeftTextTitle:s,
|
|
7
|
+
notificationToastContentRightUndoText:f,
|
|
8
|
+
notificationToastContentLeftTextDescription:c,info:T,error:_,success:l,
|
|
9
|
+
notificationToastContent:r,notificationToastContentLeft:u,
|
|
10
|
+
notificationToastContentInfoIcon:d,notificationToastContentLeftText:x,
|
|
11
|
+
notificationToastContentRight:p,notificationToastContentRightClose:C
|
|
12
|
+
},exports.error=_,
|
|
13
|
+
exports.fadeIn=i,exports.fadeOut=n,exports.filled=a,exports.info=T,
|
|
14
|
+
exports.neutral=e,
|
|
15
|
+
exports.notificationToast=o,exports.notificationToastContent=r,
|
|
16
|
+
exports.notificationToastContentInfoIcon=d,
|
|
17
|
+
exports.notificationToastContentLeft=u,
|
|
18
|
+
exports.notificationToastContentLeftText=x,
|
|
19
|
+
exports.notificationToastContentLeftTextDescription=c,
|
|
20
|
+
exports.notificationToastContentLeftTextTitle=s,
|
|
21
|
+
exports.notificationToastContentRight=p,
|
|
22
|
+
exports.notificationToastContentRightClose=C,
|
|
23
|
+
exports.notificationToastContentRightUndoText=f,
|
|
24
|
+
exports.success=l,exports.toastContainer=t
|
|
@@ -1 +1,19 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
Object.defineProperties(exports,{o:{value:!0},[Symbol.toStringTag]:{
|
|
3
|
+
value:"Module"}})
|
|
4
|
+
const e="TimePicker-module__timepickerWrapper",o="TimePicker-module__timepickerInputWrapper",r="TimePicker-module__dropdownRightIcon",i="TimePicker-module__dropdownRightIconClose",p="TimePicker-module__dropdownRightIconArrow",d="TimePicker-module__focused",t="TimePicker-module__timepickerDropdownWrapper",m="TimePicker-module__timepickerDropdownHeader",c="TimePicker-module__timepickerDropdownHeaderButtons",k="TimePicker-module__active",n="TimePicker-module__timepickerDropdownBody",_="TimePicker-module__timepickerDropdownBodyHours",s="TimePicker-module__timepickerDropdownBodyMinutes",u="TimePicker-module__timepickerDropdownBodyAmPm",w="TimePicker-module__timepickerDropdownFooter",l={
|
|
5
|
+
timepickerWrapper:e,timepickerInputWrapper:o,dropdownRightIcon:r,
|
|
6
|
+
dropdownRightIconClose:i,dropdownRightIconArrow:p,focused:d,
|
|
7
|
+
timepickerDropdownWrapper:t,timepickerDropdownHeader:m,
|
|
8
|
+
timepickerDropdownHeaderButtons:c,active:k,timepickerDropdownBody:n,
|
|
9
|
+
timepickerDropdownBodyHours:_,timepickerDropdownBodyMinutes:s,
|
|
10
|
+
timepickerDropdownBodyAmPm:u,timepickerDropdownFooter:w}
|
|
11
|
+
exports.active=k,exports.default=l,exports.dropdownRightIcon=r,exports.dropdownRightIconArrow=p,
|
|
12
|
+
exports.dropdownRightIconClose=i,
|
|
13
|
+
exports.focused=d,exports.timepickerDropdownBody=n,
|
|
14
|
+
exports.timepickerDropdownBodyAmPm=u,
|
|
15
|
+
exports.timepickerDropdownBodyHours=_,exports.timepickerDropdownBodyMinutes=s,
|
|
16
|
+
exports.timepickerDropdownFooter=w,
|
|
17
|
+
exports.timepickerDropdownHeader=m,exports.timepickerDropdownHeaderButtons=c,
|
|
18
|
+
exports.timepickerDropdownWrapper=t,
|
|
19
|
+
exports.timepickerInputWrapper=o,exports.timepickerWrapper=e
|
|
@@ -1 +1,66 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
const t=require("./master-components-react-ts.cjs58.js"),n=require("./master-components-react-ts.cjs59.js")
|
|
3
|
+
var r,e,i,s,o,h,u,f,a,c,M,d
|
|
4
|
+
n.t.exports=(r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",
|
|
5
|
+
LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"
|
|
6
|
+
},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,
|
|
7
|
+
h={},u=function(t){return(t=+t)+(t>68?1900:2e3)
|
|
8
|
+
},a=[/[+-]\d\d:?(\d\d)?|Z/,function(t){
|
|
9
|
+
(this.zone||(this.zone={})).offset=function(t){if(!t)return 0
|
|
10
|
+
if("Z"===t)return 0
|
|
11
|
+
var n=t.match(/([+-]|\d\d)/g),r=60*n[1]+(+n[2]||0)
|
|
12
|
+
return 0===r?0:"+"===n[0]?-r:r}(t)}],c=function(t){var n=h[t]
|
|
13
|
+
return n&&(n.indexOf?n:n.s.concat(n.f))},M=function(t,n){var r,e,i=h.meridiem
|
|
14
|
+
if(i){for(e=1;24>=e;e+=1)if(t.indexOf(i(e,0,n))>-1){r=e>12
|
|
15
|
+
break}}else r=t===(n?"pm":"PM")
|
|
16
|
+
return r},d={A:[o=/\d*[^-_:/,()\s\d]+/,function(t){this.afternoon=M(t,!1)}],
|
|
17
|
+
a:[o,function(t){this.afternoon=M(t,!0)}],Q:[/\d/,function(t){
|
|
18
|
+
this.month=3*(t-1)+1}],S:[/\d/,function(t){this.milliseconds=100*+t}],
|
|
19
|
+
SS:[i=/\d\d/,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){
|
|
20
|
+
this.milliseconds=+t}],s:[s=/\d\d?/,(f=function(t){return function(n){this[t]=+n
|
|
21
|
+
}})("seconds")],ss:[s,f("seconds")],m:[s,f("minutes")],mm:[s,f("minutes")],
|
|
22
|
+
H:[s,f("hours")],h:[s,f("hours")],HH:[s,f("hours")],hh:[s,f("hours")],
|
|
23
|
+
D:[s,f("day")],DD:[i,f("day")],Do:[o,function(t){
|
|
24
|
+
var n,r=h.ordinal,e=t.match(/\d+/)
|
|
25
|
+
if(this.day=e[0],r)for(n=1;31>=n;n+=1)r(n).replace(/\[|\]/g,"")===t&&(this.day=n)
|
|
26
|
+
}],w:[s,f("week")],ww:[i,f("week")],M:[s,f("month")],MM:[i,f("month")],
|
|
27
|
+
MMM:[o,function(t){var n=c("months"),r=(c("monthsShort")||n.map((function(t){
|
|
28
|
+
return t.slice(0,3)}))).indexOf(t)+1
|
|
29
|
+
if(1>r)throw Error()
|
|
30
|
+
this.month=r%12||r}],MMMM:[o,function(t){var n=c("months").indexOf(t)+1
|
|
31
|
+
if(1>n)throw Error()
|
|
32
|
+
this.month=n%12||n}],Y:[/[+-]?\d+/,f("year")],YY:[i,function(t){this.year=u(t)
|
|
33
|
+
}],YYYY:[/\d{4}/,f("year")],Z:a,ZZ:a},function(t,n,i){
|
|
34
|
+
i.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(u=t.parseTwoDigitYear)
|
|
35
|
+
var s=n.prototype,o=s.parse
|
|
36
|
+
s.parse=function(t){var n,s,u,f,a,c,M,Y,m=t.date,D=t.utc,w=t.args
|
|
37
|
+
if(this.$u=D,"string"==typeof(n=w[1]))u=!0===w[3],f=(s=!0===w[2])||u,a=w[2],u&&(a=w[2]),
|
|
38
|
+
h=this.$locale(),!s&&a&&(h=i.Ls[a]),this.$d=function(t,n,i,s){
|
|
39
|
+
var o,u,f,a,c,M,Y,m,D,w,v,L,S,g,y,A,Z,l,p
|
|
40
|
+
try{return["x","X"].indexOf(n)>-1?new Date(("X"===n?1e3:1)*t):(u=(o=function(t){
|
|
41
|
+
var n,i,s,o,u,f,a=h&&h.formats
|
|
42
|
+
for(n=(t=t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,e){
|
|
43
|
+
var i=e&&e.toUpperCase()
|
|
44
|
+
return n||a[e]||r[e]||a[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,n,r){
|
|
45
|
+
return n||r.slice(1)}))
|
|
46
|
+
}))).match(e),i=n.length,s=0;i>s;s+=1)n[s]=(f=(u=d[o=n[s]])&&u[1])?{
|
|
47
|
+
regex:u&&u[0],parser:f}:o.replace(/^\[|\]$/g,"")
|
|
48
|
+
return function(t){var r,e,s,o,h,u,f,a,c,M,d
|
|
49
|
+
for(r={},e=0,s=0;i>e;e+=1)"string"==typeof(o=n[e])?s+=o.length:(h=o.regex,u=o.parser,
|
|
50
|
+
f=t.slice(s),a=h.exec(f)[0],u.call(r,a),t=t.replace(a,""))
|
|
51
|
+
return void 0!==(d=(c=r).afternoon)&&(M=c.hours,d?12>M&&(c.hours+=12):12===M&&(c.hours=0),
|
|
52
|
+
delete c.afternoon),r}
|
|
53
|
+
}(n)(t)).year,f=o.month,a=o.day,c=o.hours,M=o.minutes,Y=o.seconds,
|
|
54
|
+
m=o.milliseconds,
|
|
55
|
+
D=o.zone,w=o.week,v=new Date,L=a||(u||f?1:v.getDate()),S=u||v.getFullYear(),g=0,
|
|
56
|
+
u&&!f||(g=f>0?f-1:v.getMonth()),
|
|
57
|
+
A=c||0,Z=M||0,l=Y||0,p=m||0,D?new Date(Date.UTC(S,g,L,A,Z,l,p+6e4*D.offset)):i?new Date(Date.UTC(S,g,L,A,Z,l,p)):(y=new Date(S,g,L,A,Z,l,p),
|
|
58
|
+
w&&(y=s(y).week(w).toDate()),y))}catch(t){return new Date("")}
|
|
59
|
+
}(m,n,D,i),this.init(),
|
|
60
|
+
a&&!0!==a&&(this.$L=this.locale(a).$L),f&&m!=this.format(n)&&(this.$d=new Date("")),
|
|
61
|
+
h={}
|
|
62
|
+
else if(n instanceof Array)for(c=n.length,M=1;c>=M;M+=1){
|
|
63
|
+
if(w[1]=n[M-1],(Y=i.apply(this,w)).isValid()){
|
|
64
|
+
this.$d=Y.$d,this.$L=Y.$L,this.init()
|
|
65
|
+
break}M===c&&(this.$d=new Date(""))}else o.call(this,t)}
|
|
66
|
+
}),module.exports=t.getDefaultExportFromCjs(n.t.exports)
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
"use strict"
|
|
1
|
+
"use strict"
|
|
2
|
+
Object.defineProperties(exports,{t:{value:!0},[Symbol.toStringTag]:{
|
|
3
|
+
value:"Module"}})
|
|
4
|
+
const e="Datepicker-module__datepickerContainer",t="Datepicker-module__datepickerInputWrapper",r="Datepicker-module__datepickerLeftIcon",p="Datepicker-module__datepickerRightIcon",o={
|
|
5
|
+
datepickerContainer:e,datepickerInputWrapper:t,datepickerLeftIcon:r,
|
|
6
|
+
datepickerRightIcon:p}
|
|
7
|
+
exports.datepickerContainer=e,exports.datepickerInputWrapper=t,exports.datepickerLeftIcon=r,
|
|
8
|
+
exports.datepickerRightIcon=p,exports.default=o
|