monica-alexandria 3.20.21 → 3.20.22
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
|
@@ -1962,7 +1962,7 @@ object-assign
|
|
|
1962
1962
|
gap: 1rem;
|
|
1963
1963
|
`,xl=i.h6`
|
|
1964
1964
|
color: ${e=>e.theme.high};
|
|
1965
|
-
`,kl=t=>e.createElement(yl,{onClick:t.
|
|
1965
|
+
`,kl=t=>e.createElement(yl,{onClick:t.onClick},e.createElement(_l,null,e.createElement(wl,null,t.title),e.createElement(bl,{variant:t.variant},t.text)),e.createElement(El,null,e.createElement(xl,null,t.edited),e.createElement(S,{iconLeft:t.btnIcon,text:t.btnText,noPadding:!0}))),Ml=i.div`
|
|
1966
1966
|
display: grid;
|
|
1967
1967
|
grid-template-columns: 1fr auto;
|
|
1968
1968
|
grid-gap: 2rem;
|
package/dist/index.js
CHANGED
|
@@ -2092,4 +2092,4 @@ object-assign
|
|
|
2092
2092
|
display: grid;
|
|
2093
2093
|
grid-template-columns: 1fr 1fr;
|
|
2094
2094
|
grid-gap: 2rem;
|
|
2095
|
-
`;exports.Actions_=M,exports.Alert=ol,exports.AlertContainer=ll,exports.AlertContext=Ce,exports.AlertIcon=cl,exports.AlertSingle=il,exports.Alert_=t=>{const{alerts:n,setAlerts:r}=e.useContext(Ce);return e.useEffect((()=>{n.length&&n.forEach((e=>{(e=>{let a=t.duration?t.duration:4e3;setTimeout((()=>{let t=JSON.parse(JSON.stringify(n));t.splice(e,1),r(t)}),a)})(e)}))}),[n]),o.default.createElement(ol,{storybook:t.storybook},n.slice(0,3).map(((e,t)=>o.default.createElement(il,{status:e.message.status,key:t},o.default.createElement(cl,null,o.default.createElement(s,{class_Icon:"Loading"===e.message.status?"Loading":"",Icon:"Error"===e.message.status?"Xicon":"Loading"===e.message.status?"Loading":"Check"})),o.default.createElement(ll,null,o.default.createElement("h6",null,e.message.text))))))},exports.AsideContext=ke,exports.Builder_=e=>o.default.createElement(ue,{noPads:e.noPads},o.default.createElement(Oe,{last:e.last,key:e.key},e.title?o.default.createElement("h4",null,e.title):null,e.children)),exports.Card=L,exports.CardsForty=Zi,exports.CardsFull=Wi,exports.CardsSixty=Hi,exports.CardsTools=Vi,exports.Checkbox_=e=>o.default.createElement(Ae,{className:e.className,key:e.key,onClick:e.onClick},e.withInput?o.default.createElement(De,{disabled:e.disable},o.default.createElement(he,{placeholder:e.placeholder,disabled:e.disable,checked:e.checked})):o.default.createElement("label",{for:e.id},o.default.createElement("p",null,e.text)),o.default.createElement(Ie,{className:"Check"},o.default.createElement("input",{type:"checkbox",id:e.id,onChange:e.onChange,checked:e.checked}),o.default.createElement("span",{className:"CheckCustom"}),o.default.createElement(s,{Icon:"Check",class_Icon:"CheckIcon"}))),exports.CodeContext=Ee,exports.Confirmation_=e=>o.default.createElement(Y,{storybook:e.storybook},o.default.createElement(J,{storybook:e.storybook},o.default.createElement("h4",null,e.message),o.default.createElement(X,null,o.default.createElement(w,{onClick:e.onYes,iconLeft:"Check",text:e.yes}),o.default.createElement(_,{onClick:e.onNo,iconLeft:"Xicon",text:e.no})))),exports.Cta_=u,exports.Dates_=e=>o.default.createElement(Jo,null,o.default.createElement(Yo,{onChange:e.onChange,value:e.value,selectRange:e.selectRange,dateFullCellRender:e.dateFullCellRender,maxDate:e.maxDate})),exports.Delete_Plain=k,exports.Dropdown_=ge,exports.Edit_=e=>o.default.createElement(f,{size:"normal",onClick:e.onClick},o.default.createElement(s,{Icon:e.icon})),exports.Elastic_Search=t=>{let n={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:t.fileKeys},r=t.file;const[a,i]=e.useState({query:"",file:r,notfoundmessage:!1,defaultValue:t.defaultValue}),[l,c]=e.useState(!1),[u,f]=e.useState(0),[d,p]=e.useState(t.list),h=e=>{t.onSuggestions(e),i({...a,query:"",defaultValue:"string"==typeof e?e:e[t.returnKey]})},m=e=>{"ArrowUp"==e.key&&(e.preventDefault(),f(0===u?l.length-1:u-1)),"ArrowDown"==e.key&&(e.preventDefault(),u===l.length-1?f(0):f(u+1)),e.key&&"Enter"===e.key&&(e.preventDefault(),h("string"==typeof l[u]?l[u]:l[u][t.returnKey]))};return e.useEffect((()=>{n.minMatchCharLength=t.minMatchCharacters?t.minMatchCharacters:1;const e=new Ot(r,n);let o=a.query?e.search(a.query):r;o=o.slice(0,t.size),c(o)}),[a]),e.useEffect((()=>{t.getInput&&l?.length>0?t.getInput(l[0]?.item):t.getSuggestions&&l?.length>0&&a.query.length?t.getSuggestions(l):t.getSuggestions&&!a.query.length&&t.getSuggestions([])}),[l]),o.default.createElement(It,null,o.default.createElement(Dt,{id:"elasticSearch",autoComplete:"off",type:"text",value:t.value,placeholder:t.placeholder,onChange:e=>{const{target:n={}}=e,{value:r=""}=n;let o=At.toGreek(r);i({...a,query:t.sanitize?o:r})},defaultValue:a.defaultValue,onKeyPress:e=>m(e),onKeyDown:e=>m(e),list:t.list}),o.default.createElement(Tt,null,t.placeholder),t.required?o.default.createElement(oe,{className:"ValidatorRequired"},o.default.createElement(s,{Icon:"Asterisk"})):null,t.list?o.default.createElement(_,{size:"small",text:t.addText,iconLeft:"Add",className:"FormAddButton",onClick:()=>(e=>{let n=JSON.parse(JSON.stringify(t.list));n.push(e),t.updateItemList(n),p(n)})(t.value)}):null,a.query&&l?o.default.createElement(Nt,null,l.slice(0,6).map(((e,n)=>o.default.createElement("li",{className:n===u%l.length?"ElasticSelected":"",key:n,onClick:()=>h(e?.item?e.item[t.returnKey]:e[t.returnKey])},o.default.createElement("p",null,e?.item?e.item[t.returnKey]:e[t.returnKey]))))):null,t.list?o.default.createElement($t,null,o.default.createElement("h5",null,t.listItemTitle),d.map(((e,n)=>o.default.createElement("li",{key:n},o.default.createElement(s,{Icon:t.icon_ListItem}),o.default.createElement("h6",null,e),o.default.createElement(k,{variant_Size:"small",icon_Left:"Delete",onClick:()=>(e=>{let n=JSON.parse(JSON.stringify(t.list));n.splice(e,1),t.updateItemList(n),p(n)})(n)}))))):null)},exports.FadeIn=rl,exports.Focus_=p,exports.Focus_Plain=e=>o.default.createElement(h,{size:e.size,onClick:e.onClick,onFocus:e.onFocus,noPadding:e.noPadding},e.iconLeft?o.default.createElement(s,{Icon:e.iconLeft}):null,e.text?o.default.createElement("span",null,e.text):null,e.iconRight?o.default.createElement(s,{Icon:e.iconRight}):null),exports.Form=ue,exports.FormGroup=de,exports.FormInput=se,exports.FormLabel=fe,exports.FormList=pe,exports.Forty_Card_Loader=t=>{const[n,r]=e.useState(),a=e=>{e>q.xl?r(4):e<=q.xl&&e>q.md&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;a(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;a(e)})),o.default.createElement(nl,null,[...Array(n)].map((e=>o.default.createElement(Qi,{key:e,children:t.children,circle:t.circle}))))},exports.Full_Card_Loader=t=>{const[n,r]=e.useState(),a=e=>{e>q.lg?r(10):e<=q.lg&&e>q.md?r(6):e<=q.md&&e>q.sm?r(4):e<=q.sm&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;a(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;a(e)})),o.default.createElement(el,null,[...Array(n)].map((e=>o.default.createElement(Qi,{key:e,children:t.children,circle:t.circle}))))},exports.Google_Search=t=>{let n={includeScore:!0,keys:t.fileKeys,isCaseSensitive:!!t?.isCaseSensitive};const[r,a]=e.useState([]),[i,l]=e.useState({query:"",file:r,notfoundmessage:!1,defaultValue:t.defaultValue}),c=e=>{let n=e.target.value;if(t.sanitize&&(n=zt.toGreeklish(n)),n=n.split(" "),n=n.filter((e=>""!==e)),n=n.join(" "),t.applyReverseFileProperties&&t.applyReverseFileProperties?.length>0)for(let e of t.applyReverseFileProperties)for(let t of r)t[e?.originalKey]&&(t[e?.reversedKey]=t[e?.originalKey].split(" ").reverse().join(" "));return t.minMatchCharacters&&n?.length<t.minMatchCharacters||t.maxMatchCharacters&&n?.length>t.maxMatchCharacters?(l({...i,query:n}),t.setResults([]),void(t?.setInputSize&&t.setInputSize(n?.length))):void(n!=i?.query&&l({...i,query:n}))},u=t?.debounceTime?((e,t)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}})(c,t.debounceTime):c;return e.useEffect((()=>{i?.query&&(()=>{const e=new Ot(r,n);let a=i.query?e.search(i.query):r;if(t.maxAcceptedScore){let e=[];for(let n of a)n?.score<t?.maxAcceptedScore&&e.push(n);a=e}if(a=a.map((e=>e?.item)),t?.applyReverseFileProperties&&t?.applyReverseFileProperties?.length>0)for(let e of t.applyReverseFileProperties)for(let t of a)t[e?.reversedKey]&&delete t[e?.reversedKey];t.setResults(i.query?.length?a:[]),t?.setInputSize&&t.setInputSize(i?.query?.length)})()}),[i]),e.useEffect((()=>{a(t.file)}),[t.file]),o.default.createElement(Ft,null,o.default.createElement(Bt,null,o.default.createElement(Vt,{placeholder:t.placeholder,onChange:u,defaultValue:i.defaultValue,disabled:t.disabled}),o.default.createElement(Wt,null,t.placeholder),o.default.createElement(Zt,null,o.default.createElement(s,{Icon:"Search"}))))},exports.Grey_=g,exports.Grey_Link=e=>o.default.createElement(v,{size:e.size,onClick:e.onClick,noPadding:e.noPadding},e.iconLeft?o.default.createElement(s,{Icon:e.iconLeft}):null,e.text?o.default.createElement("span",null,e.text):null,e.iconRight?o.default.createElement(s,{Icon:e.iconRight}):null),exports.HamContext=be,exports.IconSvg=s,exports.Input_=he,exports.Input_Phone=t=>{const{region:n}=e.useContext(ye);return o.default.createElement(Se,null,o.default.createElement(Me,null,o.default.createElement(ge,null,o.default.createElement("select",{className:"Dropdown_EmojiAdapt"},o.default.createElement("option",{selected:"Greece"===n},"🇬🇷 +30"))),o.default.createElement(ge,{items:t.array_PhoneDropdown})),o.default.createElement(he,{placeholder:t.placeholder,required:t.required,list:t.list,icon_ListItem:t.listIcon}))},exports.Input_Phone_Register=t=>{const{region:n}=e.useContext(ye),{code:r,setCode:a}=e.useContext(Ee);return e.useEffect((()=>{r&&""!=r||("Greece"===n?a("0030"):"Deutschland"===n&&a("0049"))}),[]),o.default.createElement(Le,null,o.default.createElement(ge,null,o.default.createElement("select",{onChange:e=>a(e.target.value),className:"Dropdown_EmojiAdapt",value:r},o.default.createElement("option",{value:"0030",selected:"Greece"===n},"🇬🇷 +30"),o.default.createElement("option",{value:"0049",selected:"Deutschland"===n},"🇩🇪 +49"))),o.default.createElement(he,{value:t.value,className:t.className,placeholder:t.placeholder,id:t.id,onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown,disabled:t.disabled,required:t.required,errors:t.errors,helpers:t.helpers,successes:t.successes,tips:t.tips,list:t.list,icon_ListItem:t.listIcon,defaultListItem:t.defaultListItem,onAdd:t.onAdd,add:t.add,onDelete:t.onDelete,onDeleteDefault:t.onDeleteDefault}))},exports.LangContext=ve,exports.Main_=_,exports.Main_Plain=w,exports.MenuContext=_e,exports.Nav_=e=>o.default.createElement(ki,null,o.default.createElement(ei,{onClick_Logo:e.onClick_Logo}),e.no_Cta?o.default.createElement("div",null):o.default.createElement(ni,{onClick_Cta:e.onClick_Cta,text_Cta:e.text_Cta}),"Protected"===e.role?o.default.createElement(bi,{role:e.role,img_Account:e.img_Account,img_Account_Main:e.img_Account,imgAlt_Account:e.imgAlt_Account,imgAlt_Account_Main:e.imgAlt_Account,links:e.links,firstname_Account:e.firstname_Account,text_Account_Main:e.firstname_Account,onClick_Account:e.onClick_Account,onCLick_Account_Main:e.onClick_Account,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,onClick_Settings_Main:e.onClick_Settings_Main,text_Settings_Main:e.text_Settings_Main,onCLick_Logout:e.onCLick_Logout,text_Logout:e.text_Logout,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language}):o.default.createElement(Ei,{role:e.role,links:e.links,onClick_Login:e.onClick_Login,text_Login:e.text_Login,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language})),exports.On_Click_Card=e=>o.default.createElement(O,{href:e.href,className:e.className,imgBevahe:e.imgBevahe,onClick:e.onClick,key:e.key},e.icon||e.header||e.imgSmall?o.default.createElement("header",null,e.icon?o.default.createElement("figure",null,o.default.createElement(s,{Icon:e.icon})):e.imgSmall?o.default.createElement(I,null,o.default.createElement("img",{src:e.imgSmall})):o.default.createElement(A,{headerColor:e.headerColor},e.header)):e.img?o.default.createElement("picture",null,o.default.createElement("img",{src:e.img,onLoad:e.onLoadImg})):null,e.title||e.subtitle?o.default.createElement("footer",null,e.title&&o.default.createElement("h3",null,e.title),e.subtitle&&o.default.createElement("h5",null,e.subtitle),e.children):null,e.edit?o.default.createElement(D,null,o.default.createElement(w,{text:e.edit,onClick:e.onCLickEdit})):null),exports.On_Stat=e=>o.default.createElement(jl,{onClick:e.onCLick},o.default.createElement(Rl,null,o.default.createElement(zl,null,e.title),o.default.createElement(Pl,{variant:e.variant},e.text)),o.default.createElement(Fl,null,o.default.createElement(Bl,null,e.edited),o.default.createElement(w,{iconLeft:e.btnIcon,text:e.btnText,noPadding:!0}))),exports.Page=ul,exports.PageAlwaysVisible=gl,exports.PageCards=Ml,exports.PageDesktopOnly=vl,exports.PageDesktopPadding=yl,exports.PageForty=fl,exports.PageFull=sl,exports.PageIllu=Ol,exports.PageSingle=bl,exports.PageSingleHeader=wl,exports.PageSingleRight=El,exports.PageSingleleft=xl,exports.PageSixty=dl,exports.PageSub=kl,exports.PageSubActions=Sl,exports.PageSubTitle=Cl,exports.PageTitle=_l,exports.PageTools=pl,exports.PageToolsCards=Ll,exports.PageToolsForty=ml,exports.PageToolsSixty=hl,exports.Radio_=e=>o.default.createElement(Te,{key:e.key},e.withInput?o.default.createElement(he,{placeholder:e.placeholder}):o.default.createElement("label",{for:e.id},o.default.createElement("p",null,e.text)),o.default.createElement(Ne,{className:"RadioCircle"},o.default.createElement("input",{value:e.value,onChange:e.onChange,name:e.name,type:"radio",id:e.id,checked:e.checked}),o.default.createElement("span",{className:"RadioCustom"}),o.default.createElement(s,{Icon:"Bullet",class_Icon:"RadioIcon"}))),exports.Red_=e=>o.default.createElement(C,{size:e.size,onClick:e.onClick},e.iconLeft?o.default.createElement(s,{Icon:e.iconLeft}):null,e.text?o.default.createElement("span",null,e.text):null,e.iconRight?o.default.createElement(s,{Icon:e.iconRight}):null),exports.RegionContext=ye,exports.Row_Card=e=>o.default.createElement(Z,{onClick:e.onClick},o.default.createElement(G,null,o.default.createElement(n.IconSvg,{Icon:e.icon})),o.default.createElement(H,null,e.text)),exports.Section_Title=e=>o.default.createElement(Dl,{onEdit:e.onEdit},o.default.createElement(Tl,null,o.default.createElement(Nl,null,e.text),o.default.createElement($l,null,e.value)),e.onEdit?o.default.createElement(w,{iconLeft:"Edit",onClick:e.onEdit}):null),exports.Sidebar_=e=>o.default.createElement(Ci,null,e.children),exports.Sidebar_Box=e=>o.default.createElement(Si,{onClick:e.onClick},o.default.createElement("h5",{className:e.className+" SidebarButtonTitle"},e.text),e.icon?o.default.createElement(Mi,null,o.default.createElement(s,{Icon:e.icon})):e.img?o.default.createElement(Li,null,o.default.createElement("img",{src:e.img,alt:e.alt})):null),exports.Single_=e=>o.default.createElement(Al,null,o.default.createElement(gl,null,o.default.createElement(_l,null,o.default.createElement("h1",null,e.title)),o.default.createElement(Il,null,o.default.createElement("h2",null,e.subtitle),o.default.createElement("h3",null,e.text),e.textMain||e.textGrey?o.default.createElement(M,null,e.textGrey?o.default.createElement(g,{text:e.textGrey,noPadding:!0,onClick:e.onClickGrey,iconLeft:e.iconGrey}):null,e.textMain?o.default.createElement(_,{text:e.textMain,noPadding:!0,onClick:e.onClickMain,iconRight:e.iconMain}):null):null)),o.default.createElement(gl,null,o.default.createElement(Ol,null,o.default.createElement("img",{src:e.backgroundImage,alt:e.backgroundAlt})))),exports.Sixty_Card_Loader=t=>{const[n,r]=e.useState(),a=e=>{e>q.xl?r(6):e<=q.xl&&e>q.md?r(4):e<=q.md&&e>q.sm?r(6):e<=q.sm&&e>q.xs?r(4):e<q.xs&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;a(e)})),e.useEffect((()=>{let e=window.innerWidth;a(e)}),[]),o.default.createElement(tl,null,[...Array(n)].map((e=>o.default.createElement(Qi,{key:e,children:t.children,circle:t.circle}))))},exports.Slider=tc,exports.SliderContainer=oc,exports.SliderContext=xe,exports.SliderGrid=ic,exports.SliderOverlay=nc,exports.SliderTitle=ac,exports.SliderWrapper=rc,exports.Slider_=e=>o.default.createElement(ji,{storybook:e.storybook,className:e.className},o.default.createElement(Ri,{storybook:e.storybook,className:"StoryBook_Fix2",onClick:e.onClose}),o.default.createElement(Pi,{storybook:e.storybook},o.default.createElement(zi,null,o.default.createElement("h3",null,e.title),o.default.createElement(_,{text:e.text,iconRight:"Check",size:"normal",onClick:e.onClick})),o.default.createElement(Fi,null,e.children))),exports.Stat_=e=>o.default.createElement(Vl,null,o.default.createElement(Wl,null,o.default.createElement(Zl,null,e.title),o.default.createElement(Hl,null,e.text)),o.default.createElement(Gl,null,o.default.createElement(ql,null,o.default.createElement(s,{Icon:e.icon})))),exports.Steps=Kl,exports.StepsActions=ec,exports.StepsComplete=Jl,exports.StepsContainer=Xl,exports.StepsCurrent=Yl,exports.StepsWrapper=Ql,exports.Steps_=e=>o.default.createElement(Ti,null,o.default.createElement(Di,{steps:e.steps,currentStep:e.currentStep}),o.default.createElement(Ni,null,e.steps.map(((t,n)=>o.default.createElement(r.CSSTransition,{in:e.currentStep===n,timeout:500,unmountOnExit:!0,classNames:"Steps"},o.default.createElement($i,{className:"Steps"},t)))))),exports.Steps_Actions=e=>o.default.createElement(Oi,null,o.default.createElement(g,{iconLeft:e.icon_Grey,text:e.text_Grey,onClick:e.onClick_Grey}),o.default.createElement(_,{iconRight:e.icon_Main,text:e.text_Main,onClick:e.onClick_Main})),exports.Textarea_=e=>{const[t,n]=o.default.useState(0);return o.default.createElement($e,null,o.default.createElement(le,{placeholder:e.placeholder,rows:e.rows?e.rows:"5",onChange:e.onChange_Textarea?e.onChange_Textarea:e=>(e=>{n(e.target.value.length)})(e)},e.defaultValue),e.limit?o.default.createElement(je,{capped:t>e.limit}," ",o.default.createElement("span",null,t)," / ",e.limit):null,e.required?o.default.createElement(oe,{className:"ValidatorRequired"},o.default.createElement(s,{Icon:"Asterisk"})):null,e.errors?o.default.createElement(Q,{className:"ValidatorErrors"},e.errors.map((e=>o.default.createElement(ae,null,o.default.createElement(s,{Icon:"Error"}),o.default.createElement("h6",null,e))))):null,e.tips&&e.helpers?o.default.createElement(Q,{className:"ValidatorHelpers"},e.helpers.map((e=>o.default.createElement(re,null,o.default.createElement(s,{Icon:"Warning"}),o.default.createElement("h6",null,e)))),e.tips.map((e=>o.default.createElement(te,null,o.default.createElement(s,{Icon:"Tip"}),o.default.createElement("h6",null,e))))):e.tips?o.default.createElement(Q,{className:"ValidatorHelpers"},e.tips.map((e=>o.default.createElement(te,null,o.default.createElement(s,{Icon:"Tip"}),o.default.createElement("h6",null,e))))):e.helpers?o.default.createElement(Q,{className:"ValidatorHelpers"},e.helpers.map((e=>o.default.createElement(re,null,o.default.createElement(s,{Icon:"Warning"}),o.default.createElement("h6",null,e))))):null)},exports.Theme=Ul,exports.ThemeContext=we,exports.ThemeDark={id:"dark",background:"var(--dark)",color:"var(--blanc)",low:"var(--gloomDark)",mid:"var(--gloom)",high:"var(--gloomLight)",overlay:"var(--blancOverlay)",in:"var(--insetShine)",inFocus:"var(--insetShineFocus)",out:"var(--outShine)",outFocus:"var(--outShineFocus)"},exports.ThemeLight={id:"light",background:"var(--white)",color:"var(--black)",low:"var(--greyLight)",mid:"var(--grey)",high:"var(--greyDark)",overlay:"var(--blackOverlay)",in:"var(--insetShadow)",inFocus:"var(--insetShadowFocus)",out:"var(--outShadow)",outFocus:"var(--outShadowFocus)"},exports.Unlock_Card=e=>o.default.createElement(j,null,e.icon||e.header||e.imgSmall?o.default.createElement(z,null,e.icon?o.default.createElement(F,null,o.default.createElement(s,{Icon:e.icon})):o.default.createElement(B,null,o.default.createElement(W,null),o.default.createElement("img",{src:e.imgSmall}))):e.img?o.default.createElement(V,null,o.default.createElement(W,null,o.default.createElement(s,{Icon:"Lock"})),o.default.createElement("img",{src:e.img,onLoad:e.onLoadImg})):null,e.title||e.subtitle?o.default.createElement(P,null,e.title&&o.default.createElement("h3",null,e.title),e.subtitle&&o.default.createElement("h5",null,e.subtitle),e.children):null,o.default.createElement(R,null,o.default.createElement(p,{text:e.textBuy,iconRight:e.iconBuy,onClick:e.onBuy}))),exports.View_Card=e=>o.default.createElement(T,{className:e.className,imgBevahe:e.imgBevahe,onClick:e.onClick},e.icon||e.header||e.imgSmall?o.default.createElement("header",null,e.icon?o.default.createElement("figure",null,o.default.createElement(s,{Icon:e.icon})):e.imgSmall?o.default.createElement($,null,o.default.createElement("img",{src:e.imgSmall})):o.default.createElement(N,{headerColor:e.headerColor},e.header)):e.img?o.default.createElement("picture",null,o.default.createElement("img",{src:e.img,onLoad:e.onLoadImg})):null,e.title||e.subtitle?o.default.createElement("footer",null,e.title&&o.default.createElement("h2",null,e.title),e.subtitle&&o.default.createElement("h5",null,e.subtitle),e.children):null),exports.White_Plain=e=>o.default.createElement(x,{size:e.size,onClick:e.onClick},e.iconLeft?o.default.createElement(s,{Icon:e.iconLeft}):null,e.text?o.default.createElement("span",null,e.text):null,e.iconRight?o.default.createElement(s,{Icon:e.iconRight}):null),exports.breakPoints=q,exports.device=U;
|
|
2095
|
+
`;exports.Actions_=M,exports.Alert=ol,exports.AlertContainer=ll,exports.AlertContext=Ce,exports.AlertIcon=cl,exports.AlertSingle=il,exports.Alert_=t=>{const{alerts:n,setAlerts:r}=e.useContext(Ce);return e.useEffect((()=>{n.length&&n.forEach((e=>{(e=>{let a=t.duration?t.duration:4e3;setTimeout((()=>{let t=JSON.parse(JSON.stringify(n));t.splice(e,1),r(t)}),a)})(e)}))}),[n]),o.default.createElement(ol,{storybook:t.storybook},n.slice(0,3).map(((e,t)=>o.default.createElement(il,{status:e.message.status,key:t},o.default.createElement(cl,null,o.default.createElement(s,{class_Icon:"Loading"===e.message.status?"Loading":"",Icon:"Error"===e.message.status?"Xicon":"Loading"===e.message.status?"Loading":"Check"})),o.default.createElement(ll,null,o.default.createElement("h6",null,e.message.text))))))},exports.AsideContext=ke,exports.Builder_=e=>o.default.createElement(ue,{noPads:e.noPads},o.default.createElement(Oe,{last:e.last,key:e.key},e.title?o.default.createElement("h4",null,e.title):null,e.children)),exports.Card=L,exports.CardsForty=Zi,exports.CardsFull=Wi,exports.CardsSixty=Hi,exports.CardsTools=Vi,exports.Checkbox_=e=>o.default.createElement(Ae,{className:e.className,key:e.key,onClick:e.onClick},e.withInput?o.default.createElement(De,{disabled:e.disable},o.default.createElement(he,{placeholder:e.placeholder,disabled:e.disable,checked:e.checked})):o.default.createElement("label",{for:e.id},o.default.createElement("p",null,e.text)),o.default.createElement(Ie,{className:"Check"},o.default.createElement("input",{type:"checkbox",id:e.id,onChange:e.onChange,checked:e.checked}),o.default.createElement("span",{className:"CheckCustom"}),o.default.createElement(s,{Icon:"Check",class_Icon:"CheckIcon"}))),exports.CodeContext=Ee,exports.Confirmation_=e=>o.default.createElement(Y,{storybook:e.storybook},o.default.createElement(J,{storybook:e.storybook},o.default.createElement("h4",null,e.message),o.default.createElement(X,null,o.default.createElement(w,{onClick:e.onYes,iconLeft:"Check",text:e.yes}),o.default.createElement(_,{onClick:e.onNo,iconLeft:"Xicon",text:e.no})))),exports.Cta_=u,exports.Dates_=e=>o.default.createElement(Jo,null,o.default.createElement(Yo,{onChange:e.onChange,value:e.value,selectRange:e.selectRange,dateFullCellRender:e.dateFullCellRender,maxDate:e.maxDate})),exports.Delete_Plain=k,exports.Dropdown_=ge,exports.Edit_=e=>o.default.createElement(f,{size:"normal",onClick:e.onClick},o.default.createElement(s,{Icon:e.icon})),exports.Elastic_Search=t=>{let n={isCaseSensitive:!1,includeScore:!1,shouldSort:!0,threshold:.5,findAllMatches:!0,address:0,minMatchCharLength:1,ignoreLocation:!1,keys:t.fileKeys},r=t.file;const[a,i]=e.useState({query:"",file:r,notfoundmessage:!1,defaultValue:t.defaultValue}),[l,c]=e.useState(!1),[u,f]=e.useState(0),[d,p]=e.useState(t.list),h=e=>{t.onSuggestions(e),i({...a,query:"",defaultValue:"string"==typeof e?e:e[t.returnKey]})},m=e=>{"ArrowUp"==e.key&&(e.preventDefault(),f(0===u?l.length-1:u-1)),"ArrowDown"==e.key&&(e.preventDefault(),u===l.length-1?f(0):f(u+1)),e.key&&"Enter"===e.key&&(e.preventDefault(),h("string"==typeof l[u]?l[u]:l[u][t.returnKey]))};return e.useEffect((()=>{n.minMatchCharLength=t.minMatchCharacters?t.minMatchCharacters:1;const e=new Ot(r,n);let o=a.query?e.search(a.query):r;o=o.slice(0,t.size),c(o)}),[a]),e.useEffect((()=>{t.getInput&&l?.length>0?t.getInput(l[0]?.item):t.getSuggestions&&l?.length>0&&a.query.length?t.getSuggestions(l):t.getSuggestions&&!a.query.length&&t.getSuggestions([])}),[l]),o.default.createElement(It,null,o.default.createElement(Dt,{id:"elasticSearch",autoComplete:"off",type:"text",value:t.value,placeholder:t.placeholder,onChange:e=>{const{target:n={}}=e,{value:r=""}=n;let o=At.toGreek(r);i({...a,query:t.sanitize?o:r})},defaultValue:a.defaultValue,onKeyPress:e=>m(e),onKeyDown:e=>m(e),list:t.list}),o.default.createElement(Tt,null,t.placeholder),t.required?o.default.createElement(oe,{className:"ValidatorRequired"},o.default.createElement(s,{Icon:"Asterisk"})):null,t.list?o.default.createElement(_,{size:"small",text:t.addText,iconLeft:"Add",className:"FormAddButton",onClick:()=>(e=>{let n=JSON.parse(JSON.stringify(t.list));n.push(e),t.updateItemList(n),p(n)})(t.value)}):null,a.query&&l?o.default.createElement(Nt,null,l.slice(0,6).map(((e,n)=>o.default.createElement("li",{className:n===u%l.length?"ElasticSelected":"",key:n,onClick:()=>h(e?.item?e.item[t.returnKey]:e[t.returnKey])},o.default.createElement("p",null,e?.item?e.item[t.returnKey]:e[t.returnKey]))))):null,t.list?o.default.createElement($t,null,o.default.createElement("h5",null,t.listItemTitle),d.map(((e,n)=>o.default.createElement("li",{key:n},o.default.createElement(s,{Icon:t.icon_ListItem}),o.default.createElement("h6",null,e),o.default.createElement(k,{variant_Size:"small",icon_Left:"Delete",onClick:()=>(e=>{let n=JSON.parse(JSON.stringify(t.list));n.splice(e,1),t.updateItemList(n),p(n)})(n)}))))):null)},exports.FadeIn=rl,exports.Focus_=p,exports.Focus_Plain=e=>o.default.createElement(h,{size:e.size,onClick:e.onClick,onFocus:e.onFocus,noPadding:e.noPadding},e.iconLeft?o.default.createElement(s,{Icon:e.iconLeft}):null,e.text?o.default.createElement("span",null,e.text):null,e.iconRight?o.default.createElement(s,{Icon:e.iconRight}):null),exports.Form=ue,exports.FormGroup=de,exports.FormInput=se,exports.FormLabel=fe,exports.FormList=pe,exports.Forty_Card_Loader=t=>{const[n,r]=e.useState(),a=e=>{e>q.xl?r(4):e<=q.xl&&e>q.md&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;a(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;a(e)})),o.default.createElement(nl,null,[...Array(n)].map((e=>o.default.createElement(Qi,{key:e,children:t.children,circle:t.circle}))))},exports.Full_Card_Loader=t=>{const[n,r]=e.useState(),a=e=>{e>q.lg?r(10):e<=q.lg&&e>q.md?r(6):e<=q.md&&e>q.sm?r(4):e<=q.sm&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;a(e)})),window.addEventListener("load",(()=>{let e=window.innerWidth;a(e)})),o.default.createElement(el,null,[...Array(n)].map((e=>o.default.createElement(Qi,{key:e,children:t.children,circle:t.circle}))))},exports.Google_Search=t=>{let n={includeScore:!0,keys:t.fileKeys,isCaseSensitive:!!t?.isCaseSensitive};const[r,a]=e.useState([]),[i,l]=e.useState({query:"",file:r,notfoundmessage:!1,defaultValue:t.defaultValue}),c=e=>{let n=e.target.value;if(t.sanitize&&(n=zt.toGreeklish(n)),n=n.split(" "),n=n.filter((e=>""!==e)),n=n.join(" "),t.applyReverseFileProperties&&t.applyReverseFileProperties?.length>0)for(let e of t.applyReverseFileProperties)for(let t of r)t[e?.originalKey]&&(t[e?.reversedKey]=t[e?.originalKey].split(" ").reverse().join(" "));return t.minMatchCharacters&&n?.length<t.minMatchCharacters||t.maxMatchCharacters&&n?.length>t.maxMatchCharacters?(l({...i,query:n}),t.setResults([]),void(t?.setInputSize&&t.setInputSize(n?.length))):void(n!=i?.query&&l({...i,query:n}))},u=t?.debounceTime?((e,t)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>{e(...r)}),t)}})(c,t.debounceTime):c;return e.useEffect((()=>{i?.query&&(()=>{const e=new Ot(r,n);let a=i.query?e.search(i.query):r;if(t.maxAcceptedScore){let e=[];for(let n of a)n?.score<t?.maxAcceptedScore&&e.push(n);a=e}if(a=a.map((e=>e?.item)),t?.applyReverseFileProperties&&t?.applyReverseFileProperties?.length>0)for(let e of t.applyReverseFileProperties)for(let t of a)t[e?.reversedKey]&&delete t[e?.reversedKey];t.setResults(i.query?.length?a:[]),t?.setInputSize&&t.setInputSize(i?.query?.length)})()}),[i]),e.useEffect((()=>{a(t.file)}),[t.file]),o.default.createElement(Ft,null,o.default.createElement(Bt,null,o.default.createElement(Vt,{placeholder:t.placeholder,onChange:u,defaultValue:i.defaultValue,disabled:t.disabled}),o.default.createElement(Wt,null,t.placeholder),o.default.createElement(Zt,null,o.default.createElement(s,{Icon:"Search"}))))},exports.Grey_=g,exports.Grey_Link=e=>o.default.createElement(v,{size:e.size,onClick:e.onClick,noPadding:e.noPadding},e.iconLeft?o.default.createElement(s,{Icon:e.iconLeft}):null,e.text?o.default.createElement("span",null,e.text):null,e.iconRight?o.default.createElement(s,{Icon:e.iconRight}):null),exports.HamContext=be,exports.IconSvg=s,exports.Input_=he,exports.Input_Phone=t=>{const{region:n}=e.useContext(ye);return o.default.createElement(Se,null,o.default.createElement(Me,null,o.default.createElement(ge,null,o.default.createElement("select",{className:"Dropdown_EmojiAdapt"},o.default.createElement("option",{selected:"Greece"===n},"🇬🇷 +30"))),o.default.createElement(ge,{items:t.array_PhoneDropdown})),o.default.createElement(he,{placeholder:t.placeholder,required:t.required,list:t.list,icon_ListItem:t.listIcon}))},exports.Input_Phone_Register=t=>{const{region:n}=e.useContext(ye),{code:r,setCode:a}=e.useContext(Ee);return e.useEffect((()=>{r&&""!=r||("Greece"===n?a("0030"):"Deutschland"===n&&a("0049"))}),[]),o.default.createElement(Le,null,o.default.createElement(ge,null,o.default.createElement("select",{onChange:e=>a(e.target.value),className:"Dropdown_EmojiAdapt",value:r},o.default.createElement("option",{value:"0030",selected:"Greece"===n},"🇬🇷 +30"),o.default.createElement("option",{value:"0049",selected:"Deutschland"===n},"🇩🇪 +49"))),o.default.createElement(he,{value:t.value,className:t.className,placeholder:t.placeholder,id:t.id,onChange:t.onChange,defaultValue:t.defaultValue,onKeyPress:t.onKeyPress,onKeyDown:t.onKeyDown,disabled:t.disabled,required:t.required,errors:t.errors,helpers:t.helpers,successes:t.successes,tips:t.tips,list:t.list,icon_ListItem:t.listIcon,defaultListItem:t.defaultListItem,onAdd:t.onAdd,add:t.add,onDelete:t.onDelete,onDeleteDefault:t.onDeleteDefault}))},exports.LangContext=ve,exports.Main_=_,exports.Main_Plain=w,exports.MenuContext=_e,exports.Nav_=e=>o.default.createElement(ki,null,o.default.createElement(ei,{onClick_Logo:e.onClick_Logo}),e.no_Cta?o.default.createElement("div",null):o.default.createElement(ni,{onClick_Cta:e.onClick_Cta,text_Cta:e.text_Cta}),"Protected"===e.role?o.default.createElement(bi,{role:e.role,img_Account:e.img_Account,img_Account_Main:e.img_Account,imgAlt_Account:e.imgAlt_Account,imgAlt_Account_Main:e.imgAlt_Account,links:e.links,firstname_Account:e.firstname_Account,text_Account_Main:e.firstname_Account,onClick_Account:e.onClick_Account,onCLick_Account_Main:e.onClick_Account,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,onClick_Settings_Main:e.onClick_Settings_Main,text_Settings_Main:e.text_Settings_Main,onCLick_Logout:e.onCLick_Logout,text_Logout:e.text_Logout,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language}):o.default.createElement(Ei,{role:e.role,links:e.links,onClick_Login:e.onClick_Login,text_Login:e.text_Login,text_Title_Main:e.text_Title_Main,text_Theme_Main:e.text_Theme_Main,text_Title_Region:e.text_Title_Region,text_Title_Language:e.text_Title_Language,onClick_Greek_Language:e.onClick_Greek_Language,onClick_English_Language:e.onClick_English_Language,onClick_German_Language:e.onClick_German_Language})),exports.On_Click_Card=e=>o.default.createElement(O,{href:e.href,className:e.className,imgBevahe:e.imgBevahe,onClick:e.onClick,key:e.key},e.icon||e.header||e.imgSmall?o.default.createElement("header",null,e.icon?o.default.createElement("figure",null,o.default.createElement(s,{Icon:e.icon})):e.imgSmall?o.default.createElement(I,null,o.default.createElement("img",{src:e.imgSmall})):o.default.createElement(A,{headerColor:e.headerColor},e.header)):e.img?o.default.createElement("picture",null,o.default.createElement("img",{src:e.img,onLoad:e.onLoadImg})):null,e.title||e.subtitle?o.default.createElement("footer",null,e.title&&o.default.createElement("h3",null,e.title),e.subtitle&&o.default.createElement("h5",null,e.subtitle),e.children):null,e.edit?o.default.createElement(D,null,o.default.createElement(w,{text:e.edit,onClick:e.onCLickEdit})):null),exports.On_Stat=e=>o.default.createElement(jl,{onClick:e.onClick},o.default.createElement(Rl,null,o.default.createElement(zl,null,e.title),o.default.createElement(Pl,{variant:e.variant},e.text)),o.default.createElement(Fl,null,o.default.createElement(Bl,null,e.edited),o.default.createElement(w,{iconLeft:e.btnIcon,text:e.btnText,noPadding:!0}))),exports.Page=ul,exports.PageAlwaysVisible=gl,exports.PageCards=Ml,exports.PageDesktopOnly=vl,exports.PageDesktopPadding=yl,exports.PageForty=fl,exports.PageFull=sl,exports.PageIllu=Ol,exports.PageSingle=bl,exports.PageSingleHeader=wl,exports.PageSingleRight=El,exports.PageSingleleft=xl,exports.PageSixty=dl,exports.PageSub=kl,exports.PageSubActions=Sl,exports.PageSubTitle=Cl,exports.PageTitle=_l,exports.PageTools=pl,exports.PageToolsCards=Ll,exports.PageToolsForty=ml,exports.PageToolsSixty=hl,exports.Radio_=e=>o.default.createElement(Te,{key:e.key},e.withInput?o.default.createElement(he,{placeholder:e.placeholder}):o.default.createElement("label",{for:e.id},o.default.createElement("p",null,e.text)),o.default.createElement(Ne,{className:"RadioCircle"},o.default.createElement("input",{value:e.value,onChange:e.onChange,name:e.name,type:"radio",id:e.id,checked:e.checked}),o.default.createElement("span",{className:"RadioCustom"}),o.default.createElement(s,{Icon:"Bullet",class_Icon:"RadioIcon"}))),exports.Red_=e=>o.default.createElement(C,{size:e.size,onClick:e.onClick},e.iconLeft?o.default.createElement(s,{Icon:e.iconLeft}):null,e.text?o.default.createElement("span",null,e.text):null,e.iconRight?o.default.createElement(s,{Icon:e.iconRight}):null),exports.RegionContext=ye,exports.Row_Card=e=>o.default.createElement(Z,{onClick:e.onClick},o.default.createElement(G,null,o.default.createElement(n.IconSvg,{Icon:e.icon})),o.default.createElement(H,null,e.text)),exports.Section_Title=e=>o.default.createElement(Dl,{onEdit:e.onEdit},o.default.createElement(Tl,null,o.default.createElement(Nl,null,e.text),o.default.createElement($l,null,e.value)),e.onEdit?o.default.createElement(w,{iconLeft:"Edit",onClick:e.onEdit}):null),exports.Sidebar_=e=>o.default.createElement(Ci,null,e.children),exports.Sidebar_Box=e=>o.default.createElement(Si,{onClick:e.onClick},o.default.createElement("h5",{className:e.className+" SidebarButtonTitle"},e.text),e.icon?o.default.createElement(Mi,null,o.default.createElement(s,{Icon:e.icon})):e.img?o.default.createElement(Li,null,o.default.createElement("img",{src:e.img,alt:e.alt})):null),exports.Single_=e=>o.default.createElement(Al,null,o.default.createElement(gl,null,o.default.createElement(_l,null,o.default.createElement("h1",null,e.title)),o.default.createElement(Il,null,o.default.createElement("h2",null,e.subtitle),o.default.createElement("h3",null,e.text),e.textMain||e.textGrey?o.default.createElement(M,null,e.textGrey?o.default.createElement(g,{text:e.textGrey,noPadding:!0,onClick:e.onClickGrey,iconLeft:e.iconGrey}):null,e.textMain?o.default.createElement(_,{text:e.textMain,noPadding:!0,onClick:e.onClickMain,iconRight:e.iconMain}):null):null)),o.default.createElement(gl,null,o.default.createElement(Ol,null,o.default.createElement("img",{src:e.backgroundImage,alt:e.backgroundAlt})))),exports.Sixty_Card_Loader=t=>{const[n,r]=e.useState(),a=e=>{e>q.xl?r(6):e<=q.xl&&e>q.md?r(4):e<=q.md&&e>q.sm?r(6):e<=q.sm&&e>q.xs?r(4):e<q.xs&&r(2)};return window.addEventListener("resize",(()=>{let e=window.innerWidth;a(e)})),e.useEffect((()=>{let e=window.innerWidth;a(e)}),[]),o.default.createElement(tl,null,[...Array(n)].map((e=>o.default.createElement(Qi,{key:e,children:t.children,circle:t.circle}))))},exports.Slider=tc,exports.SliderContainer=oc,exports.SliderContext=xe,exports.SliderGrid=ic,exports.SliderOverlay=nc,exports.SliderTitle=ac,exports.SliderWrapper=rc,exports.Slider_=e=>o.default.createElement(ji,{storybook:e.storybook,className:e.className},o.default.createElement(Ri,{storybook:e.storybook,className:"StoryBook_Fix2",onClick:e.onClose}),o.default.createElement(Pi,{storybook:e.storybook},o.default.createElement(zi,null,o.default.createElement("h3",null,e.title),o.default.createElement(_,{text:e.text,iconRight:"Check",size:"normal",onClick:e.onClick})),o.default.createElement(Fi,null,e.children))),exports.Stat_=e=>o.default.createElement(Vl,null,o.default.createElement(Wl,null,o.default.createElement(Zl,null,e.title),o.default.createElement(Hl,null,e.text)),o.default.createElement(Gl,null,o.default.createElement(ql,null,o.default.createElement(s,{Icon:e.icon})))),exports.Steps=Kl,exports.StepsActions=ec,exports.StepsComplete=Jl,exports.StepsContainer=Xl,exports.StepsCurrent=Yl,exports.StepsWrapper=Ql,exports.Steps_=e=>o.default.createElement(Ti,null,o.default.createElement(Di,{steps:e.steps,currentStep:e.currentStep}),o.default.createElement(Ni,null,e.steps.map(((t,n)=>o.default.createElement(r.CSSTransition,{in:e.currentStep===n,timeout:500,unmountOnExit:!0,classNames:"Steps"},o.default.createElement($i,{className:"Steps"},t)))))),exports.Steps_Actions=e=>o.default.createElement(Oi,null,o.default.createElement(g,{iconLeft:e.icon_Grey,text:e.text_Grey,onClick:e.onClick_Grey}),o.default.createElement(_,{iconRight:e.icon_Main,text:e.text_Main,onClick:e.onClick_Main})),exports.Textarea_=e=>{const[t,n]=o.default.useState(0);return o.default.createElement($e,null,o.default.createElement(le,{placeholder:e.placeholder,rows:e.rows?e.rows:"5",onChange:e.onChange_Textarea?e.onChange_Textarea:e=>(e=>{n(e.target.value.length)})(e)},e.defaultValue),e.limit?o.default.createElement(je,{capped:t>e.limit}," ",o.default.createElement("span",null,t)," / ",e.limit):null,e.required?o.default.createElement(oe,{className:"ValidatorRequired"},o.default.createElement(s,{Icon:"Asterisk"})):null,e.errors?o.default.createElement(Q,{className:"ValidatorErrors"},e.errors.map((e=>o.default.createElement(ae,null,o.default.createElement(s,{Icon:"Error"}),o.default.createElement("h6",null,e))))):null,e.tips&&e.helpers?o.default.createElement(Q,{className:"ValidatorHelpers"},e.helpers.map((e=>o.default.createElement(re,null,o.default.createElement(s,{Icon:"Warning"}),o.default.createElement("h6",null,e)))),e.tips.map((e=>o.default.createElement(te,null,o.default.createElement(s,{Icon:"Tip"}),o.default.createElement("h6",null,e))))):e.tips?o.default.createElement(Q,{className:"ValidatorHelpers"},e.tips.map((e=>o.default.createElement(te,null,o.default.createElement(s,{Icon:"Tip"}),o.default.createElement("h6",null,e))))):e.helpers?o.default.createElement(Q,{className:"ValidatorHelpers"},e.helpers.map((e=>o.default.createElement(re,null,o.default.createElement(s,{Icon:"Warning"}),o.default.createElement("h6",null,e))))):null)},exports.Theme=Ul,exports.ThemeContext=we,exports.ThemeDark={id:"dark",background:"var(--dark)",color:"var(--blanc)",low:"var(--gloomDark)",mid:"var(--gloom)",high:"var(--gloomLight)",overlay:"var(--blancOverlay)",in:"var(--insetShine)",inFocus:"var(--insetShineFocus)",out:"var(--outShine)",outFocus:"var(--outShineFocus)"},exports.ThemeLight={id:"light",background:"var(--white)",color:"var(--black)",low:"var(--greyLight)",mid:"var(--grey)",high:"var(--greyDark)",overlay:"var(--blackOverlay)",in:"var(--insetShadow)",inFocus:"var(--insetShadowFocus)",out:"var(--outShadow)",outFocus:"var(--outShadowFocus)"},exports.Unlock_Card=e=>o.default.createElement(j,null,e.icon||e.header||e.imgSmall?o.default.createElement(z,null,e.icon?o.default.createElement(F,null,o.default.createElement(s,{Icon:e.icon})):o.default.createElement(B,null,o.default.createElement(W,null),o.default.createElement("img",{src:e.imgSmall}))):e.img?o.default.createElement(V,null,o.default.createElement(W,null,o.default.createElement(s,{Icon:"Lock"})),o.default.createElement("img",{src:e.img,onLoad:e.onLoadImg})):null,e.title||e.subtitle?o.default.createElement(P,null,e.title&&o.default.createElement("h3",null,e.title),e.subtitle&&o.default.createElement("h5",null,e.subtitle),e.children):null,o.default.createElement(R,null,o.default.createElement(p,{text:e.textBuy,iconRight:e.iconBuy,onClick:e.onBuy}))),exports.View_Card=e=>o.default.createElement(T,{className:e.className,imgBevahe:e.imgBevahe,onClick:e.onClick},e.icon||e.header||e.imgSmall?o.default.createElement("header",null,e.icon?o.default.createElement("figure",null,o.default.createElement(s,{Icon:e.icon})):e.imgSmall?o.default.createElement($,null,o.default.createElement("img",{src:e.imgSmall})):o.default.createElement(N,{headerColor:e.headerColor},e.header)):e.img?o.default.createElement("picture",null,o.default.createElement("img",{src:e.img,onLoad:e.onLoadImg})):null,e.title||e.subtitle?o.default.createElement("footer",null,e.title&&o.default.createElement("h2",null,e.title),e.subtitle&&o.default.createElement("h5",null,e.subtitle),e.children):null),exports.White_Plain=e=>o.default.createElement(x,{size:e.size,onClick:e.onClick},e.iconLeft?o.default.createElement(s,{Icon:e.iconLeft}):null,e.text?o.default.createElement("span",null,e.text):null,e.iconRight?o.default.createElement(s,{Icon:e.iconRight}):null),exports.breakPoints=q,exports.device=U;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monica-alexandria",
|
|
3
|
-
"version": "3.20.
|
|
3
|
+
"version": "3.20.22",
|
|
4
4
|
"description": "A styled-components styles library for Doitforme platorm and universal tweeks to create your own new styled library for your project",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -45,7 +45,7 @@ const OnStatEdited = styled.h6`
|
|
|
45
45
|
|
|
46
46
|
export const On_Stat = (props) => {
|
|
47
47
|
return (
|
|
48
|
-
<OnStat onClick={props.
|
|
48
|
+
<OnStat onClick={props.onClick}>
|
|
49
49
|
<OnStatTop>
|
|
50
50
|
<OnStatTitle>{props.title}</OnStatTitle>
|
|
51
51
|
<OnStatText variant={props.variant}>{props.text}</OnStatText>
|