@mmb-digital/design-system-web 0.1.73 → 0.1.75

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.esm.js CHANGED
@@ -1001,12 +1001,11 @@ import*as e from"react";import t,{useCallback as n,useState as r,useMemo as o,Fr
1001
1001
  ${({theme:e})=>e.spacing.sm}
1002
1002
  `,ua=b.div`
1003
1003
  position: relative;
1004
- z-index: 9;
1004
+ z-index: 10;
1005
1005
  display: block;
1006
- row-gap: ${({theme:e})=>e.spacing.xxs};
1007
1006
  max-width: 266px;
1008
1007
  padding: ${la};
1009
- background-color: ${({chooseColor:e,theme:t})=>e(t.colors.surface.risen)};
1008
+ background-color: ${({chooseColor:e,theme:t})=>e(t.colors.surface.risen)}!important;
1010
1009
  border-radius: ${({theme:e})=>e.borderRadius.xs};
1011
1010
  box-shadow: ${({theme:e})=>e.shadow.box.md};
1012
1011
  `,ca=b.div`
@@ -1059,7 +1058,6 @@ import*as e from"react";import t,{useCallback as n,useState as r,useMemo as o,Fr
1059
1058
  border-radius: ${({theme:e})=>e.borderRadius.md};
1060
1059
 
1061
1060
  @media (min-width: ${({theme:e})=>e.breakpoints.sm}) {
1062
- min-width: 355px;
1063
1061
  padding: ${({theme:e})=>e.spacing.xl};
1064
1062
  }
1065
1063
  `,fi=b.div`
@@ -1432,7 +1430,7 @@ function Ic(e,t,n){return t=Bc(t),function(e,t){if(t&&("object"==typeof t||"func
1432
1430
  ::placeholder {
1433
1431
  color: ${({theme:e})=>e.palette.grey700};
1434
1432
  }
1435
- `,Xp=e=>{const t=l(null),[o,a]=r(void 0),u=Boolean(e)||0===e,c=n((()=>{t.current&&a(t.current.offsetWidth)}),[]),d=Na(c,500,{maxWait:500});return s((()=>{u&&c()}),[u,c]),i((()=>(u&&window.addEventListener("resize",d),()=>{u&&window.removeEventListener("resize",d)})),[u,d]),{width:o,wrapperRef:t}},$p=f(((e,n)=>{const{button:r,colorInput:o,colorScheme:a=le.light,halfWidth:i,icon:s,id:u,maxLength:c,name:d,onBlur:p,onChange:h,onFocus:f,placeholder:m,prefix:g,prefixColor:b,size:v,suffix:y,weight:k=vp.REGULAR_400}=e,w=yn(e,["button","colorInput","colorScheme","halfWidth","icon","id","maxLength","name","onBlur","onChange","onFocus","placeholder","prefix","prefixColor","size","suffix","weight"]),x=ce(a),C=Ao([n,l(null)]),{width:E,wrapperRef:I}=Xp(g),{width:S,wrapperRef:D}=Xp(y);return t.createElement(Op,{$halfWidth:i,$size:v},void 0!==s&&t.createElement(Vp,null,s),void 0!==g&&""!==g&&t.createElement(Wp,{$chooseColor:x,$prefixColor:b,ref:I},g),t.createElement(Fp,Object.assign({button:r,colorInput:o,halfWidth:i,icon:s,id:u,maxLength:c,name:d,placeholder:m,prefixWidth:E,ref:C,size:v,suffixWidth:S,weight:k,onBlur:p,onChange:h,onFocus:f},w)),void 0!==y&&""!==y&&t.createElement(Hp,{ref:D},y),void 0!==r&&t.createElement(Gp,null,r))}));$p.displayName="InputBase";const Yp=b.label`
1433
+ `,Xp=(e,t)=>{const o=l(null),[a,u]=r(void 0),c=Boolean(e)||0===e,d=n((()=>{o.current&&u(o.current.offsetWidth)}),[]),p=Na(d,500,{maxWait:500});return s((()=>{c&&d()}),[c,d]),i((()=>{var e;return null===(e=t.current)||void 0===e||e.addEventListener("focus",d),()=>{var e;null===(e=t.current)||void 0===e||e.removeEventListener("focus",d)}}),[t,d]),i((()=>(c&&window.addEventListener("resize",p),()=>{c&&window.removeEventListener("resize",p)})),[c,p]),{width:a,wrapperRef:o}},$p=f(((e,n)=>{const{button:r,colorInput:o,colorScheme:a=le.light,halfWidth:i,icon:s,id:u,maxLength:c,name:d,onBlur:p,onChange:h,onFocus:f,placeholder:m,prefix:g,prefixColor:b,size:v,suffix:y,weight:k=vp.REGULAR_400}=e,w=yn(e,["button","colorInput","colorScheme","halfWidth","icon","id","maxLength","name","onBlur","onChange","onFocus","placeholder","prefix","prefixColor","size","suffix","weight"]),x=ce(a),C=l(null),E=Ao([n,C]),{width:I,wrapperRef:S}=Xp(g,C),{width:D,wrapperRef:M}=Xp(y,C);return t.createElement(Op,{$halfWidth:i,$size:v},void 0!==s&&t.createElement(Vp,null,s),void 0!==g&&""!==g&&t.createElement(Wp,{$chooseColor:x,$prefixColor:b,ref:S},g),t.createElement(Fp,Object.assign({button:r,colorInput:o,halfWidth:i,icon:s,id:u,maxLength:c,name:d,placeholder:m,prefixWidth:I,ref:E,size:v,suffixWidth:D,weight:k,onBlur:p,onChange:h,onFocus:f},w)),void 0!==y&&""!==y&&t.createElement(Hp,{ref:M},y),void 0!==r&&t.createElement(Gp,null,r))}));$p.displayName="InputBase";const Yp=b.label`
1436
1434
  display: flex;
1437
1435
  gap: ${({theme:e})=>e.spacing.xxs};
1438
1436
  align-items: center;
@@ -1865,8 +1863,8 @@ function Ic(e,t,n){return t=Bc(t),function(e,t){if(t&&("object"==typeof t||"func
1865
1863
  min-height: 124px;
1866
1864
  padding: ${({theme:e})=>e.spacing.sm};
1867
1865
  font-family: Inter, sans-serif;
1868
- font-size: ${({theme:e})=>e.font.size.body.sm};
1869
- line-height: ${({theme:e})=>e.font.lineHeight.body.sm};
1866
+ font-size: ${({theme:e})=>e.font.size.body.md};
1867
+ line-height: ${({theme:e})=>e.font.lineHeight.body.md};
1870
1868
  letter-spacing: ${({theme:e})=>e.font.letterSpacing.body.sm};
1871
1869
  resize: vertical;
1872
1870
  background: ${({theme:e})=>e.palette.white};