monica-alexandria 4.2.9 → 4.2.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/index.es.js CHANGED
@@ -1131,7 +1131,7 @@ import*as e from"react";import t,{useState as n,createContext as r,useContext as
1131
1131
  fill: ${e=>e.theme.color};
1132
1132
  }
1133
1133
  }
1134
- `,Yt=e=>t.createElement(Ht,{className:"FormGroup"},t.createElement($t,{value:e.value,className:e.className+" FormInput",placeholder:e.placeholder,id:e.id,autoComplete:e.autoComplete?e.autoComplete:"off",type:e.type?e.type:"text",name:e.name,onChange:e.onChange,defaultValue:e.defaultValue,onKeyPress:e.onKeyPress,onKeyDown:e.onKeyDown,disabled:e.disabled,ref:e.ref,onBlur:e.onBlur}),t.createElement(zt,{className:"FormLabel"},e.placeholder),e?.list?t.createElement(z,{size:"small",text:e.add,iconLeft:"Add",className:"FormAddButton",onClick:e.onAdd}):null,e.required?t.createElement(Nt,{className:"ValidatorRequired"},t.createElement(S,{Icon:"Asterisk"})):null,e.errors?t.createElement(_t,{className:"ValidatorErrors"},e.errors?.map(((e,n)=>t.createElement(Lt,{key:n},t.createElement(S,{Icon:"Error"}),t.createElement("h6",null,e))))):null,e.successes?t.createElement(_t,{className:"ValidatorSuccesses"},e.successes?.map(((e,n)=>t.createElement(Mt,{key:n},t.createElement(S,{Icon:"Check"}),t.createElement("h6",null,e))))):null,e.helpers?t.createElement(_t,{className:"ValidatorHelpers"},e.helpers?.map(((e,n)=>t.createElement(St,{key:n},t.createElement(S,{Icon:"Warning"}),t.createElement("h6",null,e))))):null,e.tips?t.createElement(_t,{className:"ValidatorTips"},e.tips?.map(((e,n)=>t.createElement(Dt,{key:n},t.createElement(S,{Icon:"Tip"}),t.createElement("h6",null,e))))):null,e.list?.length?t.createElement(Bt,{className:"FormList"},e.defaultListItem?t.createElement("li",null,t.createElement(S,{Icon:e.icon_ListItem}),t.createElement("h6",null,e.defaultListItem),e.deleteDefaultListItem?t.createElement(q,{onClick:e.onDeleteDefault,size:"small",iconLeft:"Delete"}):null):null,e.list?.map(((n,r)=>t.createElement("li",{key:r},t.createElement(S,{Icon:e.icon_ListItem}),t.createElement("div",null,t.createElement("h6",null,n),e.childrenItem),t.createElement(q,{onClick:()=>e.onDelete(r),size:"small",iconLeft:"Delete"}))))):null),Vt=y.div`
1134
+ `,Yt=e=>t.createElement(Ht,{className:"FormGroup"},t.createElement($t,{value:e.value,className:e.className+" FormInput",placeholder:e.placeholder,id:e.id,autoComplete:e.autoComplete?e.autoComplete:"off",type:e.type?e.type:"text",name:e.name,onChange:e.onChange,defaultValue:e.defaultValue,onKeyPress:e.onKeyPress,onKeyDown:e.onKeyDown,disabled:e.disabled,ref:e.ref,onBlur:e.onBlur,inputMode:e.inputMode,onWheel:e.onWheel}),t.createElement(zt,{className:"FormLabel"},e.placeholder),e?.list?t.createElement(z,{size:"small",text:e.add,iconLeft:"Add",className:"FormAddButton",onClick:e.onAdd}):null,e.required?t.createElement(Nt,{className:"ValidatorRequired"},t.createElement(S,{Icon:"Asterisk"})):null,e.errors?t.createElement(_t,{className:"ValidatorErrors"},e.errors?.map(((e,n)=>t.createElement(Lt,{key:n},t.createElement(S,{Icon:"Error"}),t.createElement("h6",null,e))))):null,e.successes?t.createElement(_t,{className:"ValidatorSuccesses"},e.successes?.map(((e,n)=>t.createElement(Mt,{key:n},t.createElement(S,{Icon:"Check"}),t.createElement("h6",null,e))))):null,e.helpers?t.createElement(_t,{className:"ValidatorHelpers"},e.helpers?.map(((e,n)=>t.createElement(St,{key:n},t.createElement(S,{Icon:"Warning"}),t.createElement("h6",null,e))))):null,e.tips?t.createElement(_t,{className:"ValidatorTips"},e.tips?.map(((e,n)=>t.createElement(Dt,{key:n},t.createElement(S,{Icon:"Tip"}),t.createElement("h6",null,e))))):null,e.list?.length?t.createElement(Bt,{className:"FormList"},e.defaultListItem?t.createElement("li",null,t.createElement(S,{Icon:e.icon_ListItem}),t.createElement("h6",null,e.defaultListItem),e.deleteDefaultListItem?t.createElement(q,{onClick:e.onDeleteDefault,size:"small",iconLeft:"Delete"}):null):null,e.list?.map(((n,r)=>t.createElement("li",{key:r},t.createElement(S,{Icon:e.icon_ListItem}),t.createElement("div",null,t.createElement("h6",null,n),e.childrenItem),t.createElement(q,{onClick:()=>e.onDelete(r),size:"small",iconLeft:"Delete"}))))):null),Vt=y.div`
1135
1135
  position: relative;
1136
1136
 
1137
1137
  select {
@@ -1220,7 +1220,6 @@ import*as e from"react";import t,{useState as n,createContext as r,useContext as
1220
1220
  `,mn=e=>{const[r,i]=n({country:"Greece",code:"GR",phoneCode:"+30",flag:"🇬🇷"}),{region:c}=a(Gt),{phoneCode:l,setPhoneCode:s}=a(Jt),u=e=>{let t=on.findIndex((t=>t.country==e));if(-1!==t){return on[t]}return r};return o((()=>{s(u(c).phoneCode),i(u(c))}),[c]),t.createElement(pn,null,t.createElement(qt,null,t.createElement("select",{value:r.phoneCode,onChange:e=>{const t=on.find((t=>t.phoneCode===e.target.value));i(t)},className:"Dropdown_EmojiAdapt"},t.createElement("option",{value:r.phoneCode},r.flag," ",r.phoneCode),on?.sort(((e,t)=>e.country.localeCompare(t.country)))?.map(((e,n)=>t.createElement("option",{key:n,value:e.phoneCode},e.flag," ",e.country))))),t.createElement(Yt,{ref:e.ref,value:e.value,className:e.className,placeholder:e.placeholder,id:e.id,onChange:e.onChange,defaultValue:e.defaultValue,onKeyPress:e.onKeyPress,onKeyDown:e.onKeyDown,disabled:e.disabled,required:e.required,errors:e.errors,helpers:e.helpers,successes:e.successes,tips:e.tips,list:e.list,icon_ListItem:e.listIcon,defaultListItem:e.defaultListItem,onAdd:e.onAdd,add:e.add,onDelete:e.onDelete,onDeleteDefault:e.onDeleteDefault}))},fn=y.div`
1221
1221
  margin-bottom: ${e=>e.last?"0":"2rem"};
1222
1222
  display: ${e=>e.split?"grid":"block"};
1223
- grid-template-columns: 1fr 1fr;
1224
1223
  grid-column-gap: 2rem;
1225
1224
 
1226
1225
  h4 {
package/dist/index.js CHANGED
@@ -1131,7 +1131,7 @@
1131
1131
  fill: ${e=>e.theme.color};
1132
1132
  }
1133
1133
  }
1134
- `,gt=e=>l.default.createElement(mt,{className:"FormGroup"},l.default.createElement(pt,{value:e.value,className:e.className+" FormInput",placeholder:e.placeholder,id:e.id,autoComplete:e.autoComplete?e.autoComplete:"off",type:e.type?e.type:"text",name:e.name,onChange:e.onChange,defaultValue:e.defaultValue,onKeyPress:e.onKeyPress,onKeyDown:e.onKeyDown,disabled:e.disabled,ref:e.ref,onBlur:e.onBlur}),l.default.createElement(ft,{className:"FormLabel"},e.placeholder),e?.list?l.default.createElement(C,{size:"small",text:e.add,iconLeft:"Add",className:"FormAddButton",onClick:e.onAdd}):null,e.required?l.default.createElement(at,{className:"ValidatorRequired"},l.default.createElement(h,{Icon:"Asterisk"})):null,e.errors?l.default.createElement(Qe,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>l.default.createElement(nt,{key:t},l.default.createElement(h,{Icon:"Error"}),l.default.createElement("h6",null,e))))):null,e.successes?l.default.createElement(Qe,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>l.default.createElement(et,{key:t},l.default.createElement(h,{Icon:"Check"}),l.default.createElement("h6",null,e))))):null,e.helpers?l.default.createElement(Qe,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>l.default.createElement(tt,{key:t},l.default.createElement(h,{Icon:"Warning"}),l.default.createElement("h6",null,e))))):null,e.tips?l.default.createElement(Qe,{className:"ValidatorTips"},e.tips?.map(((e,t)=>l.default.createElement(Je,{key:t},l.default.createElement(h,{Icon:"Tip"}),l.default.createElement("h6",null,e))))):null,e.list?.length?l.default.createElement(ht,{className:"FormList"},e.defaultListItem?l.default.createElement("li",null,l.default.createElement(h,{Icon:e.icon_ListItem}),l.default.createElement("h6",null,e.defaultListItem),e.deleteDefaultListItem?l.default.createElement(N,{onClick:e.onDeleteDefault,size:"small",iconLeft:"Delete"}):null):null,e.list?.map(((t,n)=>l.default.createElement("li",{key:n},l.default.createElement(h,{Icon:e.icon_ListItem}),l.default.createElement("div",null,l.default.createElement("h6",null,t),e.childrenItem),l.default.createElement(N,{onClick:()=>e.onDelete(n),size:"small",iconLeft:"Delete"}))))):null),vt=s.default.div`
1134
+ `,gt=e=>l.default.createElement(mt,{className:"FormGroup"},l.default.createElement(pt,{value:e.value,className:e.className+" FormInput",placeholder:e.placeholder,id:e.id,autoComplete:e.autoComplete?e.autoComplete:"off",type:e.type?e.type:"text",name:e.name,onChange:e.onChange,defaultValue:e.defaultValue,onKeyPress:e.onKeyPress,onKeyDown:e.onKeyDown,disabled:e.disabled,ref:e.ref,onBlur:e.onBlur,inputMode:e.inputMode,onWheel:e.onWheel}),l.default.createElement(ft,{className:"FormLabel"},e.placeholder),e?.list?l.default.createElement(C,{size:"small",text:e.add,iconLeft:"Add",className:"FormAddButton",onClick:e.onAdd}):null,e.required?l.default.createElement(at,{className:"ValidatorRequired"},l.default.createElement(h,{Icon:"Asterisk"})):null,e.errors?l.default.createElement(Qe,{className:"ValidatorErrors"},e.errors?.map(((e,t)=>l.default.createElement(nt,{key:t},l.default.createElement(h,{Icon:"Error"}),l.default.createElement("h6",null,e))))):null,e.successes?l.default.createElement(Qe,{className:"ValidatorSuccesses"},e.successes?.map(((e,t)=>l.default.createElement(et,{key:t},l.default.createElement(h,{Icon:"Check"}),l.default.createElement("h6",null,e))))):null,e.helpers?l.default.createElement(Qe,{className:"ValidatorHelpers"},e.helpers?.map(((e,t)=>l.default.createElement(tt,{key:t},l.default.createElement(h,{Icon:"Warning"}),l.default.createElement("h6",null,e))))):null,e.tips?l.default.createElement(Qe,{className:"ValidatorTips"},e.tips?.map(((e,t)=>l.default.createElement(Je,{key:t},l.default.createElement(h,{Icon:"Tip"}),l.default.createElement("h6",null,e))))):null,e.list?.length?l.default.createElement(ht,{className:"FormList"},e.defaultListItem?l.default.createElement("li",null,l.default.createElement(h,{Icon:e.icon_ListItem}),l.default.createElement("h6",null,e.defaultListItem),e.deleteDefaultListItem?l.default.createElement(N,{onClick:e.onDeleteDefault,size:"small",iconLeft:"Delete"}):null):null,e.list?.map(((t,n)=>l.default.createElement("li",{key:n},l.default.createElement(h,{Icon:e.icon_ListItem}),l.default.createElement("div",null,l.default.createElement("h6",null,t),e.childrenItem),l.default.createElement(N,{onClick:()=>e.onDelete(n),size:"small",iconLeft:"Delete"}))))):null),vt=s.default.div`
1135
1135
  position: relative;
1136
1136
 
1137
1137
  select {
@@ -1220,7 +1220,6 @@
1220
1220
  `,Rt=s.default.div`
1221
1221
  margin-bottom: ${e=>e.last?"0":"2rem"};
1222
1222
  display: ${e=>e.split?"grid":"block"};
1223
- grid-template-columns: 1fr 1fr;
1224
1223
  grid-column-gap: 2rem;
1225
1224
 
1226
1225
  h4 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monica-alexandria",
3
- "version": "4.2.9",
3
+ "version": "4.2.11",
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",
@@ -5,7 +5,6 @@ import { device } from "../../helpers/MediaQ";
5
5
  const Builder = styled.div`
6
6
  margin-bottom: ${(p) => (p.last ? "0" : "2rem")};
7
7
  display: ${(p) => (p.split ? "grid" : "block")};
8
- grid-template-columns: 1fr 1fr;
9
8
  grid-column-gap: 2rem;
10
9
 
11
10
  h4 {
@@ -29,6 +29,8 @@ export const Input_ = (props) => {
29
29
  disabled={props.disabled}
30
30
  ref={props.ref}
31
31
  onBlur={props.onBlur}
32
+ inputMode={props.inputMode}
33
+ onWheel={props.onWheel}
32
34
  />
33
35
  <FormLabel className="FormLabel">{props.placeholder}</FormLabel>
34
36
  {props?.list ? (