@dss-kit/ui-kit 0.1.31 → 0.1.33

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.
@@ -9,5 +9,5 @@ interface ModalCompoundComponent extends React.ForwardRefExoticComponent<ModalPr
9
9
  }
10
10
  declare const ModalWithSubComponents: ModalCompoundComponent;
11
11
  export { ModalWithSubComponents as Modal };
12
- export type { ModalCompoundComponent as ModalProps };
12
+ export type { ModalProps };
13
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/builders/Modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,UAAU,sBACR,SAAQ,KAAK,CAAC,yBAAyB,CACrC,UAAU,GAAG,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CACjD;IACD,MAAM,EAAE,OAAO,WAAW,CAAC;IAC3B,IAAI,EAAE,OAAO,SAAS,CAAC;IACvB,MAAM,EAAE,OAAO,WAAW,CAAC;CAC5B;AAED,QAAA,MAAM,sBAAsB,EAAY,sBAAsB,CAAC;AAK/D,OAAO,EAAE,sBAAsB,IAAI,KAAK,EAAE,CAAC;AAC3C,YAAY,EAAE,sBAAsB,IAAI,UAAU,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/builders/Modal/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,UAAU,sBACR,SAAQ,KAAK,CAAC,yBAAyB,CACrC,UAAU,GAAG,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CACjD;IACD,MAAM,EAAE,OAAO,WAAW,CAAC;IAC3B,IAAI,EAAE,OAAO,SAAS,CAAC;IACvB,MAAM,EAAE,OAAO,WAAW,CAAC;CAC5B;AAED,QAAA,MAAM,sBAAsB,EAAY,sBAAsB,CAAC;AAK/D,OAAO,EAAE,sBAAsB,IAAI,KAAK,EAAE,CAAC;AAC3C,YAAY,EAAE,UAAU,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react/jsx-runtime"),M=require("@emotion/css"),v=require("react"),Eo=require("react-dom");function Oa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const T=Oa(v);function za(e){const{h:t,w:n,m:i,mx:s,my:o,mt:r,mr:a,mb:l,ml:u,p:c,px:d,py:f,pt:h,pr:p,pb:g,pl:x,gap:w,xGap:C,yGap:y,row:S,flex:_,relative:b,absolute:E,display:R,overflow:I,absoluteFill:A,center:z,justifyContent:J,alignItems:N,alignSelf:ee,borderWidth:te,borderBottomWidth:se,borderColor:$,borderRadius:K,zIndex:ne,minWidth:j,minHeight:H,maxWidth:P,maxHeight:L,flexWrap:oe,flexGrow:W,flexShrink:U,flexBasis:we,backgroundColor:je,position:$e,top:Oe,right:he,bottom:Vt,left:an,...ln}=e;return{spacers:{h:t,w:n,m:i,mx:s,my:o,mt:r,mr:a,mb:l,ml:u,p:c,px:d,py:f,pt:h,pr:p,pb:g,pl:x,gap:w,xGap:C,yGap:y,row:S,flex:_,relative:b,absolute:E,display:R,overflow:I,absoluteFill:A,center:z,justifyContent:J,alignItems:N,alignSelf:ee,borderWidth:te,borderBottomWidth:se,borderColor:$,borderRadius:K,zIndex:ne,minWidth:j,minHeight:H,maxWidth:P,maxHeight:L,flexWrap:oe,flexGrow:W,flexShrink:U,flexBasis:we,backgroundColor:je,position:$e,top:Oe,right:he,bottom:Vt,left:an},rest:ln}}const Ba=e=>M.css({display:e.display??"flex",flexDirection:e.row?"row":"column",height:e.h==="screen"?"100vh":e.h==="full"?"100%":e.h,width:e.w==="screen"?"100vw":e.w==="full"?"100%":e.w,margin:e.m,marginTop:e.mt??e.my,marginBottom:e.mb??e.my,marginLeft:e.ml??e.mx,marginRight:e.mr??e.mx,padding:e.p,paddingTop:e.pt??e.py,paddingBottom:e.pb??e.py,paddingLeft:e.pl??e.px,paddingRight:e.pr??e.px,gap:e.gap,columnGap:e.xGap,rowGap:e.yGap,justifyContent:e.center?"center":e.justifyContent,alignItems:e.center?"center":e.alignItems,alignSelf:e.alignSelf,borderWidth:e.borderWidth,borderBottomWidth:e.borderBottomWidth,borderColor:e.borderColor,borderRadius:e.borderRadius,zIndex:e.zIndex,overflow:e.overflow,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,flex:e.flex===!0?1:e.flex,flexWrap:e.flexWrap,flexGrow:e.flexGrow,flexShrink:e.flexShrink,flexBasis:e.flexBasis,backgroundColor:e.backgroundColor,position:e?.position||e.absolute?"absolute":e.relative?"relative":void 0,...e.absoluteFill&&{position:"absolute",top:0,right:0,bottom:0,left:0},top:e?.top,right:e?.right,bottom:e?.bottom,left:e?.left}),V=v.forwardRef(({className:e,children:t,...n},i)=>{const{spacers:s,rest:o}=za(n),r=v.useMemo(()=>Ba(s),[s]);return m.jsx("div",{ref:i,className:M.cx(r,e),...o,children:t})});V.displayName="Box";const Vo=e=>T.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},T.createElement("path",{d:"M18 6L6 18M6 6L18 18",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}));function Na(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var dn={exports:{}};/*!
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react/jsx-runtime"),M=require("@emotion/css"),v=require("react"),Eo=require("react-dom");function Oa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const T=Oa(v);function za(e){const{h:t,w:n,m:i,mx:s,my:o,mt:r,mr:a,mb:l,ml:u,p:c,px:d,py:f,pt:h,pr:p,pb:g,pl:x,gap:w,xGap:C,yGap:y,row:S,flex:_,relative:b,absolute:E,display:R,overflow:I,absoluteFill:A,center:z,justifyContent:J,alignItems:N,alignSelf:ee,borderWidth:te,borderBottomWidth:se,borderColor:$,borderRadius:K,zIndex:ne,minWidth:j,minHeight:H,maxWidth:P,maxHeight:L,flexWrap:oe,flexGrow:W,flexShrink:U,flexBasis:we,backgroundColor:je,position:$e,top:Oe,right:he,bottom:Vt,left:an,...ln}=e;return{spacers:{h:t,w:n,m:i,mx:s,my:o,mt:r,mr:a,mb:l,ml:u,p:c,px:d,py:f,pt:h,pr:p,pb:g,pl:x,gap:w,xGap:C,yGap:y,row:S,flex:_,relative:b,absolute:E,display:R,overflow:I,absoluteFill:A,center:z,justifyContent:J,alignItems:N,alignSelf:ee,borderWidth:te,borderBottomWidth:se,borderColor:$,borderRadius:K,zIndex:ne,minWidth:j,minHeight:H,maxWidth:P,maxHeight:L,flexWrap:oe,flexGrow:W,flexShrink:U,flexBasis:we,backgroundColor:je,position:$e,top:Oe,right:he,bottom:Vt,left:an},rest:ln}}const Ba=e=>M.css({display:e.display??"flex",flexDirection:e.row?"row":"column",height:e.h==="screen"?"100vh":e.h==="full"?"100%":e.h,width:e.w==="screen"?"100vw":e.w==="full"?"100%":e.w,margin:e.m,marginTop:e.mt??e.my,marginBottom:e.mb??e.my,marginLeft:e.ml??e.mx,marginRight:e.mr??e.mx,padding:e.p,paddingTop:e.pt??e.py,paddingBottom:e.pb??e.py,paddingLeft:e.pl??e.px,paddingRight:e.pr??e.px,gap:e.gap,columnGap:e.xGap,rowGap:e.yGap,justifyContent:e.center?"center":e.justifyContent,alignItems:e.center?"center":e.alignItems,alignSelf:e.alignSelf,borderWidth:e.borderWidth,borderBottomWidth:e.borderBottomWidth,borderColor:e.borderColor,borderRadius:e.borderRadius,zIndex:e.zIndex,overflow:e.overflow,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,flex:e.flex===!0?1:e.flex,flexWrap:e.flexWrap,flexGrow:e.flexGrow,flexShrink:e.flexShrink,flexBasis:e.flexBasis,backgroundColor:e.backgroundColor,position:e?.position?e?.position:e?.absolute?"absolute":e?.relative?"relative":void 0,...e.absoluteFill&&{position:"absolute",top:0,right:0,bottom:0,left:0},top:e?.top,right:e?.right,bottom:e?.bottom,left:e?.left}),V=v.forwardRef(({className:e,children:t,...n},i)=>{const{spacers:s,rest:o}=za(n),r=v.useMemo(()=>Ba(s),[s]);return m.jsx("div",{ref:i,className:M.cx(r,e),...o,children:t})});V.displayName="Box";const Vo=e=>T.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},T.createElement("path",{d:"M18 6L6 18M6 6L18 18",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}));function Na(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var dn={exports:{}};/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames