@cyber-harbour/ui 1.0.73 → 1.0.74

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.mjs CHANGED
@@ -1075,7 +1075,7 @@ import w1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
1075
1075
  from { opacity: 0.5; transform: translateX(-${V(t,e.baseSize)}); }
1076
1076
  to { opacity: 1; transform: translateX(0); }
1077
1077
  }
1078
- `);var Fc=r(e=>{let{contentLoader:{foreground:o,background:t}}=useTheme();return jsx(Y8,{...e,backgroundColor:t,foregroundColor:o})},"ContentLoader");var j4=$(({children:e,onOutsideClick:o,prepend:t,append:i,prependPosition:d,appendPosition:C,isLocked:u=true,...x})=>(m2(u),createPortal(jsxs(Q8,{...x,onClick:m=>{m.target===m.currentTarget&&o&&o();},children:[!!t&&jsx(q8,{$position:d,children:t}),jsx(K8,{children:e}),!!i&&jsx(J8,{$position:C,children:i})]}),document.body))),q8=styled.div(({theme:e,$position:o="end"})=>`
1078
+ `);var Fc=r(e=>{let{contentLoader:{foreground:o,background:t}}=useTheme();return jsx(Y8,{...e,backgroundColor:t,foregroundColor:o})},"ContentLoader");var j4=$(({children:e,onOutsideClick:o,prepend:t,append:i,prependPosition:d,appendPosition:C,isLocked:u=true,...x})=>(m2(u),createPortal(jsxs(Q8,{...x,className:"cb-ui-backdrop",onClick:m=>{m.target===m.currentTarget&&o&&o();},children:[!!t&&jsx(q8,{$position:d,children:t}),jsx(K8,{children:e}),!!i&&jsx(J8,{$position:C,children:i})]}),document.body))),q8=styled.div(({theme:e,$position:o="end"})=>`
1079
1079
  position: absolute;
1080
1080
  top: ${e.overlay.gap};
1081
1081
  z-index: ${e.zIndex.backdrop};
@@ -1103,7 +1103,7 @@ import w1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
1103
1103
  background: ${e.overlay.background};
1104
1104
  z-index: ${e.zIndex.backdrop};
1105
1105
 
1106
- `));var _c=r(({children:e,onClose:o,isNested:t=false,width:i})=>jsx(j4,{onOutsideClick:o,isLocked:!t,className:"cb-ui-backdrop",children:jsx(e9,{$width:i,children:e})}),"Modal"),Uc=B(w1.div(({theme:e,p:o=e.modal.padding,px:t,pl:i,pr:d})=>{let C=i||t||o,u=d||t||o;return `
1106
+ `));var _c=r(({children:e,onClose:o,isNested:t=false,width:i})=>jsx(j4,{onOutsideClick:o,isLocked:!t,children:jsx(e9,{$width:i,children:e})}),"Modal"),Uc=B(w1.div(({theme:e,p:o=e.modal.padding,px:t,pl:i,pr:d})=>{let C=i||t||o,u=d||t||o;return `
1107
1107
  grid-area: modal-header;
1108
1108
  position: relative;
1109
1109
  &::after {
@@ -1156,7 +1156,7 @@ import w1,{createGlobalStyle,styled,useTheme,css,StyleSheetManager,ThemeProvider
1156
1156
  transform: translate(-50%, -50%);
1157
1157
  height: auto;
1158
1158
  max-height: 90dvh;
1159
- width: ${o1(o)};
1159
+ width: ${o1(o,e.baseSize)};
1160
1160
  max-width: 90vw;
1161
1161
  border: 1px solid ${e.modal.borderColor};
1162
1162
  box-shadow: ${e.modal.shadow};