quicksnack 3.38.1 → 3.38.2
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/bundle.js
CHANGED
|
@@ -1284,6 +1284,8 @@ const parseValue = (name, prop) => {
|
|
|
1284
1284
|
case "mb":
|
|
1285
1285
|
case "ml":
|
|
1286
1286
|
return `calc(var(--spacing) * ${prop})`;
|
|
1287
|
+
case "width":
|
|
1288
|
+
return typeof prop === "number" ? `calc(var(--spacing) * ${prop})` : prop;
|
|
1287
1289
|
default:
|
|
1288
1290
|
return prop;
|
|
1289
1291
|
}
|
package/dist/bundle.min.js
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
@media screen and (min-width: ${ae[e]}px) {
|
|
47
47
|
${r}
|
|
48
48
|
}
|
|
49
|
-
`,le=e=>{if("object"!=typeof e)return!1;const t=Object.keys(e);for(const e of ne)if(t.includes(e))return!0;return!1},se=(e,t)=>{const r=Object.entries(t).filter((([t])=>void 0!==e[t]&&!le(e[t]))).map((([t,r])=>r(e[t])));return[ne.map((r=>{const o=Object.entries(t).filter((([t])=>{var o;return void 0!==(null===(o=null==e?void 0:e[t])||void 0===o?void 0:o[r])})).map((([t,o])=>o(e[t][r])));return o.length>0?ie(r,o):void 0})).filter((e=>void 0!==e)),...r]};var de={box:"Box-module_box__Wgbf3",p:"Box-module_p__uTNSv",pt:"Box-module_pt__MH-Lm",pr:"Box-module_pr__3616n",pb:"Box-module_pb__Kvp5q",pl:"Box-module_pl__bOUi1",m:"Box-module_m__mpyOZ",mt:"Box-module_mt__pIuu-",mr:"Box-module_mr__U03MD",mb:"Box-module_mb__aqoO-",ml:"Box-module_ml__-kvBt",display:"Box-module_display__spr38",flexGrow:"Box-module_flexGrow__pea61",flexShrink:"Box-module_flexShrink__oFCTI",flexDirection:"Box-module_flexDirection__5aoqo",alignItems:"Box-module_alignItems__-jg7t",textAlign:"Box-module_textAlign__nv7di",justifyContent:"Box-module_justifyContent__tRuSe",tablet_p:"Box-module_tablet_p__hAV67",tablet_pt:"Box-module_tablet_pt__6WosU",tablet_pr:"Box-module_tablet_pr__4twiC",tablet_pb:"Box-module_tablet_pb__OGIGX",tablet_pl:"Box-module_tablet_pl__niebc",tablet_m:"Box-module_tablet_m__DRZCy",tablet_mt:"Box-module_tablet_mt__ySyc8",tablet_mr:"Box-module_tablet_mr__wSu4Q",tablet_mb:"Box-module_tablet_mb__cAy-T",tablet_ml:"Box-module_tablet_ml__QoOMl",tablet_display:"Box-module_tablet_display__VoPGZ",tablet_flexGrow:"Box-module_tablet_flexGrow__Csxsp",tablet_flexShrink:"Box-module_tablet_flexShrink__zC-Gw",tablet_flexDirection:"Box-module_tablet_flexDirection__nKcqC",tablet_alignItems:"Box-module_tablet_alignItems__aY4YO",tablet_textAlign:"Box-module_tablet_textAlign__ktytQ",tablet_justifyContent:"Box-module_tablet_justifyContent__QdUvl",laptop_p:"Box-module_laptop_p__fen5Y",laptop_pt:"Box-module_laptop_pt__2sptE",laptop_pr:"Box-module_laptop_pr__HphRq",laptop_pb:"Box-module_laptop_pb__XNnCT",laptop_pl:"Box-module_laptop_pl__M4QS2",laptop_m:"Box-module_laptop_m__R8AG4",laptop_mt:"Box-module_laptop_mt__AyUmA",laptop_mr:"Box-module_laptop_mr__kFgGv",laptop_mb:"Box-module_laptop_mb__HTwl1",laptop_ml:"Box-module_laptop_ml__r15Wy",laptop_display:"Box-module_laptop_display__5zhD1",laptop_flexGrow:"Box-module_laptop_flexGrow__Alvjd",laptop_flexShrink:"Box-module_laptop_flexShrink__4csEV",laptop_flexDirection:"Box-module_laptop_flexDirection__8RZcn",laptop_alignItems:"Box-module_laptop_alignItems__pKKwU",laptop_textAlign:"Box-module_laptop_textAlign__-Vu9x",laptop_justifyContent:"Box-module_laptop_justifyContent__u5iA5",desktop_p:"Box-module_desktop_p__wV4wh",desktop_pt:"Box-module_desktop_pt__ofwcu",desktop_pr:"Box-module_desktop_pr__H4xgR",desktop_pb:"Box-module_desktop_pb__9ztdj",desktop_pl:"Box-module_desktop_pl__Z7vkV",desktop_m:"Box-module_desktop_m__D-4oh",desktop_mt:"Box-module_desktop_mt__vxldQ",desktop_mr:"Box-module_desktop_mr__sZ2up",desktop_mb:"Box-module_desktop_mb__ZRC-9",desktop_ml:"Box-module_desktop_ml__GPz0g",desktop_display:"Box-module_desktop_display__bwoeF",desktop_flexGrow:"Box-module_desktop_flexGrow__R6dyW",desktop_flexShrink:"Box-module_desktop_flexShrink__3KncJ",desktop_flexDirection:"Box-module_desktop_flexDirection__R4-6Y",desktop_alignItems:"Box-module_desktop_alignItems__idN53",desktop_textAlign:"Box-module_desktop_textAlign__Hbg7-",desktop_justifyContent:"Box-module_desktop_justifyContent__IP16d"};function pe(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=pe(e[t]))&&(o&&(o+=" "),o+=r);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function ce(){for(var e,t,r=0,o="";r<arguments.length;)(e=arguments[r++])&&(t=pe(e))&&(o&&(o+=" "),o+=t);return o}o(".Box-module_box__Wgbf3{box-sizing:border-box}@media (min-width:0px){.Box-module_p__uTNSv{padding:var(--p)}.Box-module_pt__MH-Lm{padding-top:var(--pt)}.Box-module_pr__3616n{padding-right:var(--pr)}.Box-module_pb__Kvp5q{padding-bottom:var(--pb)}.Box-module_pl__bOUi1{padding-left:var(--pl)}.Box-module_m__mpyOZ{margin:var(--m)}.Box-module_mt__pIuu-{margin-top:var(--mt)}.Box-module_mr__U03MD{margin-right:var(--mr)}.Box-module_mb__aqoO-{margin-bottom:var(--mb)}.Box-module_ml__-kvBt{margin-left:var(--ml)}.Box-module_display__spr38{display:var(--display)}.Box-module_flexGrow__pea61{flex-grow:var(--flexGrow)}.Box-module_flexShrink__oFCTI{flex-shrink:var(--flexShrink)}.Box-module_flexDirection__5aoqo{flex-direction:var(--flexDirection)}.Box-module_alignItems__-jg7t{align-items:var(--alignItems)}.Box-module_textAlign__nv7di{text-align:var(--textAlign)}.Box-module_justifyContent__tRuSe{justify-content:var(--justifyContent)}}@media (min-width:768px){.Box-module_tablet_p__hAV67{padding:var(--tablet_p)}.Box-module_tablet_pt__6WosU{padding-top:var(--tablet_pt)}.Box-module_tablet_pr__4twiC{padding-right:var(--tablet_pr)}.Box-module_tablet_pb__OGIGX{padding-bottom:var(--tablet_pb)}.Box-module_tablet_pl__niebc{padding-left:var(--tablet_pl)}.Box-module_tablet_m__DRZCy{margin:var(--tablet_m)}.Box-module_tablet_mt__ySyc8{margin-top:var(--tablet_mt)}.Box-module_tablet_mr__wSu4Q{margin-right:var(--tablet_mr)}.Box-module_tablet_mb__cAy-T{margin-bottom:var(--tablet_mb)}.Box-module_tablet_ml__QoOMl{margin-left:var(--tablet_ml)}.Box-module_tablet_display__VoPGZ{display:var(--tablet_display)}.Box-module_tablet_flexGrow__Csxsp{flex-grow:var(--tablet_flexGrow)}.Box-module_tablet_flexShrink__zC-Gw{flex-shrink:var(--tablet_flexShrink)}.Box-module_tablet_flexDirection__nKcqC{flex-direction:var(--tablet_flexDirection)}.Box-module_tablet_alignItems__aY4YO{align-items:var(--tablet_alignItems)}.Box-module_tablet_textAlign__ktytQ{text-align:var(--tablet_textAlign)}.Box-module_tablet_justifyContent__QdUvl{justify-content:var(--tablet_justifyContent)}}@media (min-width:1024px){.Box-module_laptop_p__fen5Y{padding:var(--laptop_p)}.Box-module_laptop_pt__2sptE{padding-top:var(--laptop_pt)}.Box-module_laptop_pr__HphRq{padding-right:var(--laptop_pr)}.Box-module_laptop_pb__XNnCT{padding-bottom:var(--laptop_pb)}.Box-module_laptop_pl__M4QS2{padding-left:var(--laptop_pl)}.Box-module_laptop_m__R8AG4{margin:var(--laptop_m)}.Box-module_laptop_mt__AyUmA{margin-top:var(--laptop_mt)}.Box-module_laptop_mr__kFgGv{margin-right:var(--laptop_mr)}.Box-module_laptop_mb__HTwl1{margin-bottom:var(--laptop_mb)}.Box-module_laptop_ml__r15Wy{margin-left:var(--laptop_ml)}.Box-module_laptop_display__5zhD1{display:var(--laptop_display)}.Box-module_laptop_flexGrow__Alvjd{flex-grow:var(--laptop_flexGrow)}.Box-module_laptop_flexShrink__4csEV{flex-shrink:var(--laptop_flexShrink)}.Box-module_laptop_flexDirection__8RZcn{flex-direction:var(--laptop_flexDirection)}.Box-module_laptop_alignItems__pKKwU{align-items:var(--laptop_alignItems)}.Box-module_laptop_textAlign__-Vu9x{text-align:var(--laptop_textAlign)}.Box-module_laptop_justifyContent__u5iA5{justify-content:var(--laptop_justifyContent)}}@media (min-width:1430px){.Box-module_desktop_p__wV4wh{padding:var(--desktop_p)}.Box-module_desktop_pt__ofwcu{padding-top:var(--desktop_pt)}.Box-module_desktop_pr__H4xgR{padding-right:var(--desktop_pr)}.Box-module_desktop_pb__9ztdj{padding-bottom:var(--desktop_pb)}.Box-module_desktop_pl__Z7vkV{padding-left:var(--desktop_pl)}.Box-module_desktop_m__D-4oh{margin:var(--desktop_m)}.Box-module_desktop_mt__vxldQ{margin-top:var(--desktop_mt)}.Box-module_desktop_mr__sZ2up{margin-right:var(--desktop_mr)}.Box-module_desktop_mb__ZRC-9{margin-bottom:var(--desktop_mb)}.Box-module_desktop_ml__GPz0g{margin-left:var(--desktop_ml)}.Box-module_desktop_display__bwoeF{display:var(--desktop_display)}.Box-module_desktop_flexGrow__R6dyW{flex-grow:var(--desktop_flexGrow)}.Box-module_desktop_flexShrink__3KncJ{flex-shrink:var(--desktop_flexShrink)}.Box-module_desktop_flexDirection__R4-6Y{flex-direction:var(--desktop_flexDirection)}.Box-module_desktop_alignItems__idN53{align-items:var(--desktop_alignItems)}.Box-module_desktop_textAlign__Hbg7-{text-align:var(--desktop_textAlign)}.Box-module_desktop_justifyContent__IP16d{justify-content:var(--desktop_justifyContent)}}");const ue=t=>{var{children:r,className:o,p:a,pt:i,pr:l,pb:s,pl:d,m:p,mt:c,mr:u,mb:m,ml:f,display:b,flexGrow:h,flexShrink:g,flexDirection:_,alignItems:x,textAlign:v,justifyContent:y,width:k}=t,w=n(t,["children","className","p","pt","pr","pb","pl","m","mt","mr","mb","ml","display","flexGrow","flexShrink","flexDirection","alignItems","textAlign","justifyContent","width"]);const E=Object.entries({p:a,pt:i,pr:l,pb:s,pl:d,m:p,mt:c,mr:u,mb:m,ml:f,display:b,flexGrow:h,flexShrink:g,flexDirection:_,alignItems:x,textAlign:v,justifyContent:y,width:k}).filter((([,e])=>Boolean(e))),C=E.flatMap((([e,t])=>fe(e,t))).reduce(((e,[t,r])=>Object.assign(Object.assign({},e),{[t]:r})),{}),$=E.map((([e,t])=>me(e,t))).join(" ");return e.createElement("div",Object.assign({className:ce(de.box,o,$),style:C},w),r)},me=(e,t)=>le(t)?Object.entries(t).map((([t])=>de[`${be(t)}${e}`])).join(" "):de[e],fe=(e,t)=>le(t)?Object.entries(t).map((([t,r])=>[`--${be(t)}${e}`,he(e,r)])):[[`--${e}`,he(e,t)]],be=e=>"mobile"===e?"":`${e}_`,he=(e,t)=>{switch(e){case"p":case"pt":case"pr":case"pb":case"pl":case"m":case"mt":case"mr":case"mb":case"ml":return`calc(var(--spacing) * ${t})`;default:return t}},ge="#20c997",_e=t.styled.g`
|
|
49
|
+
`,le=e=>{if("object"!=typeof e)return!1;const t=Object.keys(e);for(const e of ne)if(t.includes(e))return!0;return!1},se=(e,t)=>{const r=Object.entries(t).filter((([t])=>void 0!==e[t]&&!le(e[t]))).map((([t,r])=>r(e[t])));return[ne.map((r=>{const o=Object.entries(t).filter((([t])=>{var o;return void 0!==(null===(o=null==e?void 0:e[t])||void 0===o?void 0:o[r])})).map((([t,o])=>o(e[t][r])));return o.length>0?ie(r,o):void 0})).filter((e=>void 0!==e)),...r]};var de={box:"Box-module_box__Wgbf3",p:"Box-module_p__uTNSv",pt:"Box-module_pt__MH-Lm",pr:"Box-module_pr__3616n",pb:"Box-module_pb__Kvp5q",pl:"Box-module_pl__bOUi1",m:"Box-module_m__mpyOZ",mt:"Box-module_mt__pIuu-",mr:"Box-module_mr__U03MD",mb:"Box-module_mb__aqoO-",ml:"Box-module_ml__-kvBt",display:"Box-module_display__spr38",flexGrow:"Box-module_flexGrow__pea61",flexShrink:"Box-module_flexShrink__oFCTI",flexDirection:"Box-module_flexDirection__5aoqo",alignItems:"Box-module_alignItems__-jg7t",textAlign:"Box-module_textAlign__nv7di",justifyContent:"Box-module_justifyContent__tRuSe",tablet_p:"Box-module_tablet_p__hAV67",tablet_pt:"Box-module_tablet_pt__6WosU",tablet_pr:"Box-module_tablet_pr__4twiC",tablet_pb:"Box-module_tablet_pb__OGIGX",tablet_pl:"Box-module_tablet_pl__niebc",tablet_m:"Box-module_tablet_m__DRZCy",tablet_mt:"Box-module_tablet_mt__ySyc8",tablet_mr:"Box-module_tablet_mr__wSu4Q",tablet_mb:"Box-module_tablet_mb__cAy-T",tablet_ml:"Box-module_tablet_ml__QoOMl",tablet_display:"Box-module_tablet_display__VoPGZ",tablet_flexGrow:"Box-module_tablet_flexGrow__Csxsp",tablet_flexShrink:"Box-module_tablet_flexShrink__zC-Gw",tablet_flexDirection:"Box-module_tablet_flexDirection__nKcqC",tablet_alignItems:"Box-module_tablet_alignItems__aY4YO",tablet_textAlign:"Box-module_tablet_textAlign__ktytQ",tablet_justifyContent:"Box-module_tablet_justifyContent__QdUvl",laptop_p:"Box-module_laptop_p__fen5Y",laptop_pt:"Box-module_laptop_pt__2sptE",laptop_pr:"Box-module_laptop_pr__HphRq",laptop_pb:"Box-module_laptop_pb__XNnCT",laptop_pl:"Box-module_laptop_pl__M4QS2",laptop_m:"Box-module_laptop_m__R8AG4",laptop_mt:"Box-module_laptop_mt__AyUmA",laptop_mr:"Box-module_laptop_mr__kFgGv",laptop_mb:"Box-module_laptop_mb__HTwl1",laptop_ml:"Box-module_laptop_ml__r15Wy",laptop_display:"Box-module_laptop_display__5zhD1",laptop_flexGrow:"Box-module_laptop_flexGrow__Alvjd",laptop_flexShrink:"Box-module_laptop_flexShrink__4csEV",laptop_flexDirection:"Box-module_laptop_flexDirection__8RZcn",laptop_alignItems:"Box-module_laptop_alignItems__pKKwU",laptop_textAlign:"Box-module_laptop_textAlign__-Vu9x",laptop_justifyContent:"Box-module_laptop_justifyContent__u5iA5",desktop_p:"Box-module_desktop_p__wV4wh",desktop_pt:"Box-module_desktop_pt__ofwcu",desktop_pr:"Box-module_desktop_pr__H4xgR",desktop_pb:"Box-module_desktop_pb__9ztdj",desktop_pl:"Box-module_desktop_pl__Z7vkV",desktop_m:"Box-module_desktop_m__D-4oh",desktop_mt:"Box-module_desktop_mt__vxldQ",desktop_mr:"Box-module_desktop_mr__sZ2up",desktop_mb:"Box-module_desktop_mb__ZRC-9",desktop_ml:"Box-module_desktop_ml__GPz0g",desktop_display:"Box-module_desktop_display__bwoeF",desktop_flexGrow:"Box-module_desktop_flexGrow__R6dyW",desktop_flexShrink:"Box-module_desktop_flexShrink__3KncJ",desktop_flexDirection:"Box-module_desktop_flexDirection__R4-6Y",desktop_alignItems:"Box-module_desktop_alignItems__idN53",desktop_textAlign:"Box-module_desktop_textAlign__Hbg7-",desktop_justifyContent:"Box-module_desktop_justifyContent__IP16d"};function pe(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=pe(e[t]))&&(o&&(o+=" "),o+=r);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function ce(){for(var e,t,r=0,o="";r<arguments.length;)(e=arguments[r++])&&(t=pe(e))&&(o&&(o+=" "),o+=t);return o}o(".Box-module_box__Wgbf3{box-sizing:border-box}@media (min-width:0px){.Box-module_p__uTNSv{padding:var(--p)}.Box-module_pt__MH-Lm{padding-top:var(--pt)}.Box-module_pr__3616n{padding-right:var(--pr)}.Box-module_pb__Kvp5q{padding-bottom:var(--pb)}.Box-module_pl__bOUi1{padding-left:var(--pl)}.Box-module_m__mpyOZ{margin:var(--m)}.Box-module_mt__pIuu-{margin-top:var(--mt)}.Box-module_mr__U03MD{margin-right:var(--mr)}.Box-module_mb__aqoO-{margin-bottom:var(--mb)}.Box-module_ml__-kvBt{margin-left:var(--ml)}.Box-module_display__spr38{display:var(--display)}.Box-module_flexGrow__pea61{flex-grow:var(--flexGrow)}.Box-module_flexShrink__oFCTI{flex-shrink:var(--flexShrink)}.Box-module_flexDirection__5aoqo{flex-direction:var(--flexDirection)}.Box-module_alignItems__-jg7t{align-items:var(--alignItems)}.Box-module_textAlign__nv7di{text-align:var(--textAlign)}.Box-module_justifyContent__tRuSe{justify-content:var(--justifyContent)}}@media (min-width:768px){.Box-module_tablet_p__hAV67{padding:var(--tablet_p)}.Box-module_tablet_pt__6WosU{padding-top:var(--tablet_pt)}.Box-module_tablet_pr__4twiC{padding-right:var(--tablet_pr)}.Box-module_tablet_pb__OGIGX{padding-bottom:var(--tablet_pb)}.Box-module_tablet_pl__niebc{padding-left:var(--tablet_pl)}.Box-module_tablet_m__DRZCy{margin:var(--tablet_m)}.Box-module_tablet_mt__ySyc8{margin-top:var(--tablet_mt)}.Box-module_tablet_mr__wSu4Q{margin-right:var(--tablet_mr)}.Box-module_tablet_mb__cAy-T{margin-bottom:var(--tablet_mb)}.Box-module_tablet_ml__QoOMl{margin-left:var(--tablet_ml)}.Box-module_tablet_display__VoPGZ{display:var(--tablet_display)}.Box-module_tablet_flexGrow__Csxsp{flex-grow:var(--tablet_flexGrow)}.Box-module_tablet_flexShrink__zC-Gw{flex-shrink:var(--tablet_flexShrink)}.Box-module_tablet_flexDirection__nKcqC{flex-direction:var(--tablet_flexDirection)}.Box-module_tablet_alignItems__aY4YO{align-items:var(--tablet_alignItems)}.Box-module_tablet_textAlign__ktytQ{text-align:var(--tablet_textAlign)}.Box-module_tablet_justifyContent__QdUvl{justify-content:var(--tablet_justifyContent)}}@media (min-width:1024px){.Box-module_laptop_p__fen5Y{padding:var(--laptop_p)}.Box-module_laptop_pt__2sptE{padding-top:var(--laptop_pt)}.Box-module_laptop_pr__HphRq{padding-right:var(--laptop_pr)}.Box-module_laptop_pb__XNnCT{padding-bottom:var(--laptop_pb)}.Box-module_laptop_pl__M4QS2{padding-left:var(--laptop_pl)}.Box-module_laptop_m__R8AG4{margin:var(--laptop_m)}.Box-module_laptop_mt__AyUmA{margin-top:var(--laptop_mt)}.Box-module_laptop_mr__kFgGv{margin-right:var(--laptop_mr)}.Box-module_laptop_mb__HTwl1{margin-bottom:var(--laptop_mb)}.Box-module_laptop_ml__r15Wy{margin-left:var(--laptop_ml)}.Box-module_laptop_display__5zhD1{display:var(--laptop_display)}.Box-module_laptop_flexGrow__Alvjd{flex-grow:var(--laptop_flexGrow)}.Box-module_laptop_flexShrink__4csEV{flex-shrink:var(--laptop_flexShrink)}.Box-module_laptop_flexDirection__8RZcn{flex-direction:var(--laptop_flexDirection)}.Box-module_laptop_alignItems__pKKwU{align-items:var(--laptop_alignItems)}.Box-module_laptop_textAlign__-Vu9x{text-align:var(--laptop_textAlign)}.Box-module_laptop_justifyContent__u5iA5{justify-content:var(--laptop_justifyContent)}}@media (min-width:1430px){.Box-module_desktop_p__wV4wh{padding:var(--desktop_p)}.Box-module_desktop_pt__ofwcu{padding-top:var(--desktop_pt)}.Box-module_desktop_pr__H4xgR{padding-right:var(--desktop_pr)}.Box-module_desktop_pb__9ztdj{padding-bottom:var(--desktop_pb)}.Box-module_desktop_pl__Z7vkV{padding-left:var(--desktop_pl)}.Box-module_desktop_m__D-4oh{margin:var(--desktop_m)}.Box-module_desktop_mt__vxldQ{margin-top:var(--desktop_mt)}.Box-module_desktop_mr__sZ2up{margin-right:var(--desktop_mr)}.Box-module_desktop_mb__ZRC-9{margin-bottom:var(--desktop_mb)}.Box-module_desktop_ml__GPz0g{margin-left:var(--desktop_ml)}.Box-module_desktop_display__bwoeF{display:var(--desktop_display)}.Box-module_desktop_flexGrow__R6dyW{flex-grow:var(--desktop_flexGrow)}.Box-module_desktop_flexShrink__3KncJ{flex-shrink:var(--desktop_flexShrink)}.Box-module_desktop_flexDirection__R4-6Y{flex-direction:var(--desktop_flexDirection)}.Box-module_desktop_alignItems__idN53{align-items:var(--desktop_alignItems)}.Box-module_desktop_textAlign__Hbg7-{text-align:var(--desktop_textAlign)}.Box-module_desktop_justifyContent__IP16d{justify-content:var(--desktop_justifyContent)}}");const ue=t=>{var{children:r,className:o,p:a,pt:i,pr:l,pb:s,pl:d,m:p,mt:c,mr:u,mb:m,ml:f,display:b,flexGrow:h,flexShrink:g,flexDirection:_,alignItems:x,textAlign:v,justifyContent:y,width:k}=t,w=n(t,["children","className","p","pt","pr","pb","pl","m","mt","mr","mb","ml","display","flexGrow","flexShrink","flexDirection","alignItems","textAlign","justifyContent","width"]);const E=Object.entries({p:a,pt:i,pr:l,pb:s,pl:d,m:p,mt:c,mr:u,mb:m,ml:f,display:b,flexGrow:h,flexShrink:g,flexDirection:_,alignItems:x,textAlign:v,justifyContent:y,width:k}).filter((([,e])=>Boolean(e))),C=E.flatMap((([e,t])=>fe(e,t))).reduce(((e,[t,r])=>Object.assign(Object.assign({},e),{[t]:r})),{}),$=E.map((([e,t])=>me(e,t))).join(" ");return e.createElement("div",Object.assign({className:ce(de.box,o,$),style:C},w),r)},me=(e,t)=>le(t)?Object.entries(t).map((([t])=>de[`${be(t)}${e}`])).join(" "):de[e],fe=(e,t)=>le(t)?Object.entries(t).map((([t,r])=>[`--${be(t)}${e}`,he(e,r)])):[[`--${e}`,he(e,t)]],be=e=>"mobile"===e?"":`${e}_`,he=(e,t)=>{switch(e){case"p":case"pt":case"pr":case"pb":case"pl":case"m":case"mt":case"mr":case"mb":case"ml":return`calc(var(--spacing) * ${t})`;case"width":return"number"==typeof t?`calc(var(--spacing) * ${t})`:t;default:return t}},ge="#20c997",_e=t.styled.g`
|
|
50
50
|
fill: none;
|
|
51
51
|
stroke: ${ge};
|
|
52
52
|
stroke-width: 10;
|
|
@@ -12,7 +12,7 @@ export interface BoxProps {
|
|
|
12
12
|
mr?: Responsive<number>;
|
|
13
13
|
mb?: Responsive<number>;
|
|
14
14
|
ml?: Responsive<number>;
|
|
15
|
-
width?: Responsive<string>;
|
|
15
|
+
width?: Responsive<number | string>;
|
|
16
16
|
display?: Responsive<"inline" | "block" | "contents" | "flex" | "grid" | "inline-block" | "inline-flex" | "inline-grid" | "inline-table" | "list-item" | "run-in" | "table" | "table-caption" | "table-column-group" | "table-header-group" | "table-footer-group" | "table-row-group" | "table-cell" | "table-column" | "table-row" | "none" | "initial" | "inherit">;
|
|
17
17
|
flexGrow?: Responsive<"inherit" | "initial" | "unset" | 1 | 0>;
|
|
18
18
|
flexShrink?: Responsive<"inherit" | "initial" | "unset" | 1 | 0>;
|
|
@@ -287,7 +287,7 @@ export declare const Tabs: import("styled-components").IStyledComponent<"web", {
|
|
|
287
287
|
mr?: import("../..").Responsive<number> | undefined;
|
|
288
288
|
mb?: import("../..").Responsive<number> | undefined;
|
|
289
289
|
ml?: import("../..").Responsive<number> | undefined;
|
|
290
|
-
width?: import("../..").Responsive<string> | undefined;
|
|
290
|
+
width?: import("../..").Responsive<string | number> | undefined;
|
|
291
291
|
display?: import("../..").Responsive<"table" | "inherit" | "initial" | "none" | "grid" | "inline" | "block" | "contents" | "run-in" | "flex" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row" | "table-row-group" | "inline-block" | "inline-flex" | "inline-grid" | "inline-table" | "list-item"> | undefined;
|
|
292
292
|
flexGrow?: import("../..").Responsive<0 | 1 | "inherit" | "initial" | "unset"> | undefined;
|
|
293
293
|
flexShrink?: import("../..").Responsive<0 | 1 | "inherit" | "initial" | "unset"> | undefined;
|