cleanplate 0.0.9 → 0.0.12
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.css +1 -1
- package/dist/index.es.css +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*{box-sizing:border-box;margin:0;padding:0}body{color:#222;font-family:Inter,sans-serif;font-optical-sizing:auto;font-size:16px;font-style:normal;font-variation-settings:"slnt" 0;font-weight:400;line-height:1}button,input,select,textarea{border:1px solid #ccc;font-family:inherit;font-size:inherit;height:44px}.cp-typography{color:red}.cp-app-shell,.cp-typography{font-family:inherit;font-size:inherit;line-height:1.5}.cp-app-shell{color:orange}.cp-badge,.cp-modal{color:red;line-height:1.5}.cp-badge,.cp-form-field,.cp-modal{font-family:inherit;font-size:inherit}.cp-form-field{margin-bottom:16px}.cp-form-label{color:#999;display:block;margin-bottom:8px}.cp-form-control{border:1px solid #ccc;border-radius:8px;height:44px;padding:0 16px}.cp-textarea-field textarea{min-height:88px;padding:16px}.Icon-module_cp-icon__onsmO{word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;direction:ltr;display:inline-block;font-family:Material Symbols Outlined;font-style:normal;font-weight:400;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap}.Icon-module_small__9C3K-{font-size:16px}.Icon-module_medium__0kcM-{font-size:24px}.Icon-module_large__LvTw7{font-size:36px}.Icon-module_black__zBBu5{color:#222}.Icon-module_white__3rwyA{color:#fff}.Icon-module_gray__CLINZ{color:#666}.Button-module_cp-button__t348U{align-items:center;background:#3e63dd;border:1px solid transparent;border-radius:8px;color:#fff;column-gap:8px;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;justify-content:center;padding:0 16px}.Button-module_cp-button__t348U:hover{background:#2847af}.Button-module_small__FaxG-{border-radius:6px;font-size:13px;height:24px}.Button-module_medium__gHl4b{height:44px;min-width:90px}.Button-module_disabled__En-KU{cursor:not-allowed;opacity:.65}.Button-module_loading__cFq1s{cursor:not-allowed}.Button-module_cp-button-loader__Ee1ij{animation:Button-module_spin-animation__lrjqF 1s infinite;animation-timing-function:linear;color:#fff;display:inline-block}.Button-module_outline__LI97x{background:#fff;border-color:#3e63dd;color:#3e63dd}.Button-module_outline__LI97x:hover{background:#3e63dd1f;border-color:#2847af;color:#2847af}.Button-module_outline__LI97x .Button-module_cp-button-loader__Ee1ij{color:#3e63dd}.Button-module_small__FaxG- .Button-module_cp-button-loader__Ee1ij{font-size:16px}@keyframes Button-module_spin-animation__lrjqF{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
|
|
1
|
+
:root{--white:#fff;--black:#222;--gray:#8b8d98;--green:#46a758;--blue:#1e90ff;--red:#e5484d;--yellow:#ffe629;--orange:#f76b15;--radius-none:0;--radius-small:4px;--radius-medium:8px;--radius-large:16px;--radius-round:50%;--space-none:0;--space-small:4px;--space-medium:8px;--space-large:16px;--space-extra-large:32px}*{box-sizing:border-box;margin:0;padding:0}body{color:#222;font-family:Inter,sans-serif;font-optical-sizing:auto;font-size:16px;font-style:normal;font-variation-settings:"slnt" 0;font-weight:400;line-height:1}button,input,select,textarea{border:1px solid #ccc;font-family:inherit;font-size:inherit;height:44px}.Typography-module_cp-typography__8bhKb{color:#222;font-family:inherit;font-size:inherit;line-height:1}.Typography-module_h1__HgP-t{font-size:60px;font-weight:400;line-height:60px}.Typography-module_h2__2ktYB{font-size:50px;font-weight:400;line-height:50px}.Typography-module_h3__sjyRX{font-size:40px;font-weight:400;line-height:40px}.Typography-module_h4__KLr0r{font-size:30px;line-height:30px}.Typography-module_h5__vdQ3X{font-size:24px;line-height:24px}.Typography-module_h6__yqRrD{font-size:18px;line-height:18px}.Typography-module_p__OKx7S{font-size:16px;line-height:24px}.Typography-module_black__xMmAt{color:#222}.Typography-module_white__tsPaS{color:#fff}.Typography-module_gray__Ddjga{color:#666}.Typography-module_blue__cubuC{color:#3e63dd}.Typography-module_margin-top-none__L-V8v{margin-top:0}.Typography-module_margin-right-none__Qex-O{margin-right:0}.Typography-module_margin-bottom-none__COJ3a{margin-bottom:0}.Typography-module_margin-left-none__IaP5b{margin-left:0}.Typography-module_margin-top-small__MoP1g{margin-top:4px}.Typography-module_margin-right-small__PY7b-{margin-right:4px}.Typography-module_margin-bottom-small__v08uR{margin-bottom:4px}.Typography-module_margin-left-small__8SB-4{margin-left:4px}.Typography-module_margin-top-medium__63jl5{margin-top:8px}.Typography-module_margin-right-medium__Sczte{margin-right:8px}.Typography-module_margin-bottom-medium__Appjr{margin-bottom:8px}.Typography-module_margin-left-medium__afWbU{margin-left:8px}.Typography-module_margin-top-large__OomRC{margin-top:16px}.Typography-module_margin-right-large__X5QX3{margin-right:16px}.Typography-module_margin-bottom-large__tNkt4{margin-bottom:16px}.Typography-module_margin-left-large__tHi1u{margin-left:32px}.Typography-module_margin-top-extra-large__kw9qo{margin-top:32px}.Typography-module_margin-right-extra-large__jWk0c{margin-right:32px}.Typography-module_margin-bottom-extra-large__8Jxjp{margin-bottom:32px}.Typography-module_margin-left-extra-large__LHFOS{margin-left:32px}.cp-app-shell{color:orange}.cp-app-shell,.cp-modal{font-family:inherit;font-size:inherit;line-height:1.5}.cp-modal{color:red}.Badge-module_cp-badge__Mwtty{border-radius:4px;color:var(--white);display:inline-block;font-family:inherit;font-size:inherit;font-size:13px;line-height:1.5;max-width:300px;padding:0 8px}.Badge-module_info__XJFfU{background:var(--blue)}.Badge-module_success__SuM7z{background:var(--green)}.Badge-module_error__NKD32{background:var(--red)}.Badge-module_default__2-bvp{background:var(--gray)}.Badge-module_warning__noVf8{background:var(--orange)}.FormControls-module_cp-form-field__rvJuX{font-family:inherit;font-size:inherit;margin-bottom:16px}.FormControls-module_cp-form-label__ipGaH{color:#999;display:block;margin-bottom:8px}.FormControls-module_cp-form-control__KFQ-6{border:1px solid #ccc;border-radius:8px;height:44px;padding:0 16px}.FormControls-module_cp-textarea-field__-u6Jy textarea{min-height:88px;padding:16px}.Icon-module_cp-icon__onsmO{word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;direction:ltr;display:inline-block;font-family:Material Symbols Outlined;font-style:normal;font-weight:400;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap}.Icon-module_small__9C3K-{font-size:16px}.Icon-module_medium__0kcM-{font-size:24px}.Icon-module_large__LvTw7{font-size:36px}.Icon-module_black__zBBu5{color:#222}.Icon-module_white__3rwyA{color:#fff}.Icon-module_gray__CLINZ{color:#666}.Icon-module_blue__-tUmv{color:#3e63dd}.Button-module_cp-button__t348U{align-items:center;background:#3e63dd;border:1px solid transparent;border-radius:8px;color:#fff;column-gap:8px;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;justify-content:center;padding:0 16px}.Button-module_cp-button__t348U:hover{background:#2847af}.Button-module_small__FaxG-{border-radius:6px;font-size:13px;height:24px}.Button-module_medium__gHl4b{height:44px;min-width:90px}.Button-module_disabled__En-KU{cursor:not-allowed;opacity:.65}.Button-module_loading__cFq1s{cursor:not-allowed}.Button-module_cp-button-loader__Ee1ij{animation:Button-module_spin-animation__lrjqF 1s infinite;animation-timing-function:linear;color:#fff;display:inline-block}.Button-module_outline__LI97x{background:#fff;border-color:#3e63dd;color:#3e63dd}.Button-module_outline__LI97x:hover{background:#3e63dd1f;border-color:#2847af;color:#2847af}.Button-module_outline__LI97x .Button-module_cp-button-loader__Ee1ij{color:#3e63dd}.Button-module_small__FaxG- .Button-module_cp-button-loader__Ee1ij{font-size:16px}.Button-module_margin-top-none__ewGaQ{margin-top:var(--space-none)}.Button-module_margin-right-none__IHyDO{margin-right:var(--space-none)}.Button-module_margin-bottom-none__dOXyc{margin-bottom:var(--space-none)}.Button-module_margin-left-none__pUXvL{margin-left:var(--space-none)}.Button-module_margin-top-small__L8P-C{margin-top:var(--space-small)}.Button-module_margin-right-small__YD-WQ{margin-right:var(--space-small)}.Button-module_margin-bottom-small__x-LU-{margin-bottom:var(--space-small)}.Button-module_margin-left-small__hNoYe{margin-left:var(--space-small)}.Button-module_margin-top-medium__dSL81{margin-top:var(--space-medium)}.Button-module_margin-right-medium__iZ51M{margin-right:var(--space-medium)}.Button-module_margin-bottom-medium__CO6U-{margin-bottom:var(--space-medium)}.Button-module_margin-left-medium__UjKev{margin-left:var(--space-medium)}.Button-module_margin-top-large__LL-1y{margin-top:var(--space-large)}.Button-module_margin-right-large__A3q6T{margin-right:var(--space-large)}.Button-module_margin-bottom-large__5RADE{margin-bottom:var(--space-large)}.Button-module_margin-left-large__-GUfw{margin-left:var(--space-large)}.Button-module_margin-top-extra-large__u-vJv{margin-top:var(--space-extra-large)}.Button-module_margin-right-extra-large__RrMvU{margin-right:var(--space-extra-large)}.Button-module_margin-bottom-extra-large__LuMGx{margin-bottom:var(--space-extra-large)}.Button-module_margin-left-extra-large__FA-jf{margin-left:var(--space-extra-large)}@keyframes Button-module_spin-animation__lrjqF{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.Container-module_cp-container__WrTi0{border:1px solid transparent;border-radius:8px}.Container-module_display-block__6r4yl{display:block}.Container-module_display-inline-block__dmUGh{display:inline-block}.Container-module_display-flex__nwA-d{display:flex}.Container-module_align-start__Klcpf{align-items:flex-start}.Container-module_align-center__tcGiw{align-items:center}.Container-module_align-end__a9o4a{align-items:flex-end}.Container-module_justify-space-between__EekDw{justify-content:space-between}.Container-module_justify-center__5SYIV{justify-content:center}.Container-module_justify-space-around__ZVo7H{justify-content:space-around}.Container-module_justify-space-evenly__12F92{justify-content:space-evenly}.Container-module_margin-top-none__HGmtH{margin-top:var(--space-none)}.Container-module_margin-right-none__15T1l{margin-right:var(--space-none)}.Container-module_margin-bottom-none__nbUHz{margin-bottom:var(--space-none)}.Container-module_margin-left-none__L1BNA{margin-left:var(--space-none)}.Container-module_margin-top-small__mq0xf{margin-top:var(--space-small)}.Container-module_margin-right-small__g3-1N{margin-right:var(--space-small)}.Container-module_margin-bottom-small__EF1Ia{margin-bottom:var(--space-small)}.Container-module_margin-left-small__ayljX{margin-left:var(--space-small)}.Container-module_margin-top-medium__woXAO{margin-top:var(--space-medium)}.Container-module_margin-right-medium__wWwJC{margin-right:var(--space-medium)}.Container-module_margin-bottom-medium__gfPfm{margin-bottom:var(--space-medium)}.Container-module_margin-left-medium__pjJVP{margin-left:var(--space-medium)}.Container-module_margin-top-large__jsN1Y{margin-top:var(--space-large)}.Container-module_margin-right-large__5fYQn{margin-right:var(--space-large)}.Container-module_margin-bottom-large__zaEur{margin-bottom:var(--space-large)}.Container-module_margin-left-large__Jr65D{margin-left:var(--space-large)}.Container-module_margin-top-extra-large__fH4zH{margin-top:var(--space-extra-large)}.Container-module_margin-right-extra-large__s-HKF{margin-right:var(--space-extra-large)}.Container-module_margin-bottom-extra-large__f5Uya{margin-bottom:var(--space-extra-large)}.Container-module_margin-left-extra-large__V533Z{margin-left:var(--space-extra-large)}.Container-module_padding-top-none__YDpt0{padding-top:var(--space-none)}.Container-module_padding-right-none__mffie{padding-right:var(--space-none)}.Container-module_padding-bottom-none__jR3eA{padding-bottom:var(--space-none)}.Container-module_padding-left-none__fRf8D{padding-left:var(--space-none)}.Container-module_padding-top-small__ATpHJ{padding-top:var(--space-small)}.Container-module_padding-right-small__8foIr{padding-right:var(--space-small)}.Container-module_padding-bottom-small__eH37U{padding-bottom:var(--space-small)}.Container-module_padding-left-small__vO4L0{padding-left:var(--space-small)}.Container-module_padding-top-medium__xy6CB{padding-top:var(--space-medium)}.Container-module_padding-right-medium__tNqrp{padding-right:var(--space-medium)}.Container-module_padding-bottom-medium__-7qVN{padding-bottom:var(--space-medium)}.Container-module_padding-left-medium__0khEB{padding-left:var(--space-medium)}.Container-module_padding-top-large__2VK5E{padding-top:var(--space-large)}.Container-module_padding-right-large__cXXjD{padding-right:var(--space-large)}.Container-module_padding-bottom-large__rMuRR{padding-bottom:var(--space-large)}.Container-module_padding-left-large__1ApsS{padding-left:var(--space-large)}.Container-module_padding-top-extra-large__DZ6eE{padding-top:var(--space-extra-large)}.Container-module_padding-right-extra-large__lTAI2{padding-right:var(--space-extra-large)}.Container-module_padding-bottom-extra-large__ZqK9N{padding-bottom:var(--space-extra-large)}.Container-module_padding-left-extra-large__bdCtB{padding-left:var(--space-extra-large)}
|
package/dist/index.es.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*{box-sizing:border-box;margin:0;padding:0}body{color:#222;font-family:Inter,sans-serif;font-optical-sizing:auto;font-size:16px;font-style:normal;font-variation-settings:"slnt" 0;font-weight:400;line-height:1}button,input,select,textarea{border:1px solid #ccc;font-family:inherit;font-size:inherit;height:44px}.cp-typography{color:red}.cp-app-shell,.cp-typography{font-family:inherit;font-size:inherit;line-height:1.5}.cp-app-shell{color:orange}.cp-badge,.cp-modal{color:red;line-height:1.5}.cp-badge,.cp-form-field,.cp-modal{font-family:inherit;font-size:inherit}.cp-form-field{margin-bottom:16px}.cp-form-label{color:#999;display:block;margin-bottom:8px}.cp-form-control{border:1px solid #ccc;border-radius:8px;height:44px;padding:0 16px}.cp-textarea-field textarea{min-height:88px;padding:16px}.Icon-module_cp-icon__onsmO{word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;direction:ltr;display:inline-block;font-family:Material Symbols Outlined;font-style:normal;font-weight:400;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap}.Icon-module_small__9C3K-{font-size:16px}.Icon-module_medium__0kcM-{font-size:24px}.Icon-module_large__LvTw7{font-size:36px}.Icon-module_black__zBBu5{color:#222}.Icon-module_white__3rwyA{color:#fff}.Icon-module_gray__CLINZ{color:#666}.Button-module_cp-button__t348U{align-items:center;background:#3e63dd;border:1px solid transparent;border-radius:8px;color:#fff;column-gap:8px;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;justify-content:center;padding:0 16px}.Button-module_cp-button__t348U:hover{background:#2847af}.Button-module_small__FaxG-{border-radius:6px;font-size:13px;height:24px}.Button-module_medium__gHl4b{height:44px;min-width:90px}.Button-module_disabled__En-KU{cursor:not-allowed;opacity:.65}.Button-module_loading__cFq1s{cursor:not-allowed}.Button-module_cp-button-loader__Ee1ij{animation:Button-module_spin-animation__lrjqF 1s infinite;animation-timing-function:linear;color:#fff;display:inline-block}.Button-module_outline__LI97x{background:#fff;border-color:#3e63dd;color:#3e63dd}.Button-module_outline__LI97x:hover{background:#3e63dd1f;border-color:#2847af;color:#2847af}.Button-module_outline__LI97x .Button-module_cp-button-loader__Ee1ij{color:#3e63dd}.Button-module_small__FaxG- .Button-module_cp-button-loader__Ee1ij{font-size:16px}@keyframes Button-module_spin-animation__lrjqF{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
|
|
1
|
+
:root{--white:#fff;--black:#222;--gray:#8b8d98;--green:#46a758;--blue:#1e90ff;--red:#e5484d;--yellow:#ffe629;--orange:#f76b15;--radius-none:0;--radius-small:4px;--radius-medium:8px;--radius-large:16px;--radius-round:50%;--space-none:0;--space-small:4px;--space-medium:8px;--space-large:16px;--space-extra-large:32px}*{box-sizing:border-box;margin:0;padding:0}body{color:#222;font-family:Inter,sans-serif;font-optical-sizing:auto;font-size:16px;font-style:normal;font-variation-settings:"slnt" 0;font-weight:400;line-height:1}button,input,select,textarea{border:1px solid #ccc;font-family:inherit;font-size:inherit;height:44px}.Typography-module_cp-typography__8bhKb{color:#222;font-family:inherit;font-size:inherit;line-height:1}.Typography-module_h1__HgP-t{font-size:60px;font-weight:400;line-height:60px}.Typography-module_h2__2ktYB{font-size:50px;font-weight:400;line-height:50px}.Typography-module_h3__sjyRX{font-size:40px;font-weight:400;line-height:40px}.Typography-module_h4__KLr0r{font-size:30px;line-height:30px}.Typography-module_h5__vdQ3X{font-size:24px;line-height:24px}.Typography-module_h6__yqRrD{font-size:18px;line-height:18px}.Typography-module_p__OKx7S{font-size:16px;line-height:24px}.Typography-module_black__xMmAt{color:#222}.Typography-module_white__tsPaS{color:#fff}.Typography-module_gray__Ddjga{color:#666}.Typography-module_blue__cubuC{color:#3e63dd}.Typography-module_margin-top-none__L-V8v{margin-top:0}.Typography-module_margin-right-none__Qex-O{margin-right:0}.Typography-module_margin-bottom-none__COJ3a{margin-bottom:0}.Typography-module_margin-left-none__IaP5b{margin-left:0}.Typography-module_margin-top-small__MoP1g{margin-top:4px}.Typography-module_margin-right-small__PY7b-{margin-right:4px}.Typography-module_margin-bottom-small__v08uR{margin-bottom:4px}.Typography-module_margin-left-small__8SB-4{margin-left:4px}.Typography-module_margin-top-medium__63jl5{margin-top:8px}.Typography-module_margin-right-medium__Sczte{margin-right:8px}.Typography-module_margin-bottom-medium__Appjr{margin-bottom:8px}.Typography-module_margin-left-medium__afWbU{margin-left:8px}.Typography-module_margin-top-large__OomRC{margin-top:16px}.Typography-module_margin-right-large__X5QX3{margin-right:16px}.Typography-module_margin-bottom-large__tNkt4{margin-bottom:16px}.Typography-module_margin-left-large__tHi1u{margin-left:32px}.Typography-module_margin-top-extra-large__kw9qo{margin-top:32px}.Typography-module_margin-right-extra-large__jWk0c{margin-right:32px}.Typography-module_margin-bottom-extra-large__8Jxjp{margin-bottom:32px}.Typography-module_margin-left-extra-large__LHFOS{margin-left:32px}.cp-app-shell{color:orange}.cp-app-shell,.cp-modal{font-family:inherit;font-size:inherit;line-height:1.5}.cp-modal{color:red}.Badge-module_cp-badge__Mwtty{border-radius:4px;color:var(--white);display:inline-block;font-family:inherit;font-size:inherit;font-size:13px;line-height:1.5;max-width:300px;padding:0 8px}.Badge-module_info__XJFfU{background:var(--blue)}.Badge-module_success__SuM7z{background:var(--green)}.Badge-module_error__NKD32{background:var(--red)}.Badge-module_default__2-bvp{background:var(--gray)}.Badge-module_warning__noVf8{background:var(--orange)}.FormControls-module_cp-form-field__rvJuX{font-family:inherit;font-size:inherit;margin-bottom:16px}.FormControls-module_cp-form-label__ipGaH{color:#999;display:block;margin-bottom:8px}.FormControls-module_cp-form-control__KFQ-6{border:1px solid #ccc;border-radius:8px;height:44px;padding:0 16px}.FormControls-module_cp-textarea-field__-u6Jy textarea{min-height:88px;padding:16px}.Icon-module_cp-icon__onsmO{word-wrap:normal;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased;direction:ltr;display:inline-block;font-family:Material Symbols Outlined;font-style:normal;font-weight:400;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap}.Icon-module_small__9C3K-{font-size:16px}.Icon-module_medium__0kcM-{font-size:24px}.Icon-module_large__LvTw7{font-size:36px}.Icon-module_black__zBBu5{color:#222}.Icon-module_white__3rwyA{color:#fff}.Icon-module_gray__CLINZ{color:#666}.Icon-module_blue__-tUmv{color:#3e63dd}.Button-module_cp-button__t348U{align-items:center;background:#3e63dd;border:1px solid transparent;border-radius:8px;color:#fff;column-gap:8px;cursor:pointer;display:flex;font-family:inherit;font-size:inherit;justify-content:center;padding:0 16px}.Button-module_cp-button__t348U:hover{background:#2847af}.Button-module_small__FaxG-{border-radius:6px;font-size:13px;height:24px}.Button-module_medium__gHl4b{height:44px;min-width:90px}.Button-module_disabled__En-KU{cursor:not-allowed;opacity:.65}.Button-module_loading__cFq1s{cursor:not-allowed}.Button-module_cp-button-loader__Ee1ij{animation:Button-module_spin-animation__lrjqF 1s infinite;animation-timing-function:linear;color:#fff;display:inline-block}.Button-module_outline__LI97x{background:#fff;border-color:#3e63dd;color:#3e63dd}.Button-module_outline__LI97x:hover{background:#3e63dd1f;border-color:#2847af;color:#2847af}.Button-module_outline__LI97x .Button-module_cp-button-loader__Ee1ij{color:#3e63dd}.Button-module_small__FaxG- .Button-module_cp-button-loader__Ee1ij{font-size:16px}.Button-module_margin-top-none__ewGaQ{margin-top:var(--space-none)}.Button-module_margin-right-none__IHyDO{margin-right:var(--space-none)}.Button-module_margin-bottom-none__dOXyc{margin-bottom:var(--space-none)}.Button-module_margin-left-none__pUXvL{margin-left:var(--space-none)}.Button-module_margin-top-small__L8P-C{margin-top:var(--space-small)}.Button-module_margin-right-small__YD-WQ{margin-right:var(--space-small)}.Button-module_margin-bottom-small__x-LU-{margin-bottom:var(--space-small)}.Button-module_margin-left-small__hNoYe{margin-left:var(--space-small)}.Button-module_margin-top-medium__dSL81{margin-top:var(--space-medium)}.Button-module_margin-right-medium__iZ51M{margin-right:var(--space-medium)}.Button-module_margin-bottom-medium__CO6U-{margin-bottom:var(--space-medium)}.Button-module_margin-left-medium__UjKev{margin-left:var(--space-medium)}.Button-module_margin-top-large__LL-1y{margin-top:var(--space-large)}.Button-module_margin-right-large__A3q6T{margin-right:var(--space-large)}.Button-module_margin-bottom-large__5RADE{margin-bottom:var(--space-large)}.Button-module_margin-left-large__-GUfw{margin-left:var(--space-large)}.Button-module_margin-top-extra-large__u-vJv{margin-top:var(--space-extra-large)}.Button-module_margin-right-extra-large__RrMvU{margin-right:var(--space-extra-large)}.Button-module_margin-bottom-extra-large__LuMGx{margin-bottom:var(--space-extra-large)}.Button-module_margin-left-extra-large__FA-jf{margin-left:var(--space-extra-large)}@keyframes Button-module_spin-animation__lrjqF{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.Container-module_cp-container__WrTi0{border:1px solid transparent;border-radius:8px}.Container-module_display-block__6r4yl{display:block}.Container-module_display-inline-block__dmUGh{display:inline-block}.Container-module_display-flex__nwA-d{display:flex}.Container-module_align-start__Klcpf{align-items:flex-start}.Container-module_align-center__tcGiw{align-items:center}.Container-module_align-end__a9o4a{align-items:flex-end}.Container-module_justify-space-between__EekDw{justify-content:space-between}.Container-module_justify-center__5SYIV{justify-content:center}.Container-module_justify-space-around__ZVo7H{justify-content:space-around}.Container-module_justify-space-evenly__12F92{justify-content:space-evenly}.Container-module_margin-top-none__HGmtH{margin-top:var(--space-none)}.Container-module_margin-right-none__15T1l{margin-right:var(--space-none)}.Container-module_margin-bottom-none__nbUHz{margin-bottom:var(--space-none)}.Container-module_margin-left-none__L1BNA{margin-left:var(--space-none)}.Container-module_margin-top-small__mq0xf{margin-top:var(--space-small)}.Container-module_margin-right-small__g3-1N{margin-right:var(--space-small)}.Container-module_margin-bottom-small__EF1Ia{margin-bottom:var(--space-small)}.Container-module_margin-left-small__ayljX{margin-left:var(--space-small)}.Container-module_margin-top-medium__woXAO{margin-top:var(--space-medium)}.Container-module_margin-right-medium__wWwJC{margin-right:var(--space-medium)}.Container-module_margin-bottom-medium__gfPfm{margin-bottom:var(--space-medium)}.Container-module_margin-left-medium__pjJVP{margin-left:var(--space-medium)}.Container-module_margin-top-large__jsN1Y{margin-top:var(--space-large)}.Container-module_margin-right-large__5fYQn{margin-right:var(--space-large)}.Container-module_margin-bottom-large__zaEur{margin-bottom:var(--space-large)}.Container-module_margin-left-large__Jr65D{margin-left:var(--space-large)}.Container-module_margin-top-extra-large__fH4zH{margin-top:var(--space-extra-large)}.Container-module_margin-right-extra-large__s-HKF{margin-right:var(--space-extra-large)}.Container-module_margin-bottom-extra-large__f5Uya{margin-bottom:var(--space-extra-large)}.Container-module_margin-left-extra-large__V533Z{margin-left:var(--space-extra-large)}.Container-module_padding-top-none__YDpt0{padding-top:var(--space-none)}.Container-module_padding-right-none__mffie{padding-right:var(--space-none)}.Container-module_padding-bottom-none__jR3eA{padding-bottom:var(--space-none)}.Container-module_padding-left-none__fRf8D{padding-left:var(--space-none)}.Container-module_padding-top-small__ATpHJ{padding-top:var(--space-small)}.Container-module_padding-right-small__8foIr{padding-right:var(--space-small)}.Container-module_padding-bottom-small__eH37U{padding-bottom:var(--space-small)}.Container-module_padding-left-small__vO4L0{padding-left:var(--space-small)}.Container-module_padding-top-medium__xy6CB{padding-top:var(--space-medium)}.Container-module_padding-right-medium__tNqrp{padding-right:var(--space-medium)}.Container-module_padding-bottom-medium__-7qVN{padding-bottom:var(--space-medium)}.Container-module_padding-left-medium__0khEB{padding-left:var(--space-medium)}.Container-module_padding-top-large__2VK5E{padding-top:var(--space-large)}.Container-module_padding-right-large__cXXjD{padding-right:var(--space-large)}.Container-module_padding-bottom-large__rMuRR{padding-bottom:var(--space-large)}.Container-module_padding-left-large__1ApsS{padding-left:var(--space-large)}.Container-module_padding-top-extra-large__DZ6eE{padding-top:var(--space-extra-large)}.Container-module_padding-right-extra-large__lTAI2{padding-right:var(--space-extra-large)}.Container-module_padding-bottom-extra-large__ZqK9N{padding-bottom:var(--space-extra-large)}.Container-module_padding-left-extra-large__bdCtB{padding-left:var(--space-extra-large)}
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from"react";
|
|
1
|
+
import e from"react";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var t,r,o,a,i={exports:{}};function l(){if(r)return t;r=1;return t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}var m,u={exports:{}},c={};var p,d,s,g,f,_,y,b,h,v,$={};
|
|
2
2
|
/** @license React v16.13.1
|
|
3
3
|
* react-is.production.min.js
|
|
4
4
|
*
|
|
@@ -6,9 +6,9 @@ import e from"react";const t=({children:t,variant:r})=>{switch(r){case"h1":retur
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/function
|
|
9
|
+
*/function x(){return d||(d=1,"production"===process.env.NODE_ENV?u.exports=function(){if(p)return $;p=1;var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,s=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,_=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,h=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case n:switch(e=e.type){case m:case u:case r:case a:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case f:case g:case i:return e;default:return p}}case t:return p}}}function x(e){return v(e)===u}return $.AsyncMode=m,$.ConcurrentMode=u,$.ContextConsumer=l,$.ContextProvider=i,$.Element=n,$.ForwardRef=c,$.Fragment=r,$.Lazy=f,$.Memo=g,$.Portal=t,$.Profiler=a,$.StrictMode=o,$.Suspense=d,$.isAsyncMode=function(e){return x(e)||v(e)===m},$.isConcurrentMode=x,$.isContextConsumer=function(e){return v(e)===l},$.isContextProvider=function(e){return v(e)===i},$.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},$.isForwardRef=function(e){return v(e)===c},$.isFragment=function(e){return v(e)===r},$.isLazy=function(e){return v(e)===f},$.isMemo=function(e){return v(e)===g},$.isPortal=function(e){return v(e)===t},$.isProfiler=function(e){return v(e)===a},$.isStrictMode=function(e){return v(e)===o},$.isSuspense=function(e){return v(e)===d},$.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===a||e===o||e===d||e===s||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===g||e.$$typeof===i||e.$$typeof===l||e.$$typeof===c||e.$$typeof===y||e.$$typeof===b||e.$$typeof===h||e.$$typeof===_)},$.typeOf=v,$}():u.exports=(m||(m=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,s=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,_=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,h=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var c=e.$$typeof;switch(c){case n:var s=e.type;switch(s){case m:case u:case r:case a:case o:case d:return s;default:var _=s&&s.$$typeof;switch(_){case l:case p:case f:case g:case i:return _;default:return c}}case t:return c}}}var $=m,x=u,C=l,O=i,T=n,E=p,w=r,S=f,j=g,N=t,B=a,k=o,P=d,I=!1;function R(e){return v(e)===u}c.AsyncMode=$,c.ConcurrentMode=x,c.ContextConsumer=C,c.ContextProvider=O,c.Element=T,c.ForwardRef=E,c.Fragment=w,c.Lazy=S,c.Memo=j,c.Portal=N,c.Profiler=B,c.StrictMode=k,c.Suspense=P,c.isAsyncMode=function(e){return I||(I=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||v(e)===m},c.isConcurrentMode=R,c.isContextConsumer=function(e){return v(e)===l},c.isContextProvider=function(e){return v(e)===i},c.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},c.isForwardRef=function(e){return v(e)===p},c.isFragment=function(e){return v(e)===r},c.isLazy=function(e){return v(e)===f},c.isMemo=function(e){return v(e)===g},c.isPortal=function(e){return v(e)===t},c.isProfiler=function(e){return v(e)===a},c.isStrictMode=function(e){return v(e)===o},c.isSuspense=function(e){return v(e)===d},c.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===a||e===o||e===d||e===s||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===g||e.$$typeof===i||e.$$typeof===l||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===h||e.$$typeof===_)},c.typeOf=v}()),c)),u.exports}
|
|
10
10
|
/*
|
|
11
11
|
object-assign
|
|
12
12
|
(c) Sindre Sorhus
|
|
13
13
|
@license MIT
|
|
14
|
-
*/function j(){if(g)return h;g=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return h=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(n,o){for(var a,c,i=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(n),u=1;u<arguments.length;u++){for(var s in a=Object(arguments[u]))t.call(a,s)&&(i[s]=a[s]);if(e){c=e(a);for(var l=0;l<c.length;l++)r.call(a,c[l])&&(i[c[l]]=a[c[l]])}}return i},h}function T(){return E?_:(E=1,_=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var P=N();f.exports=function(){if($)return w;$=1;var e=N(),t=j(),r=p(),n=T(),o=function(){if(S)return O;S=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=p(),r={},n=T();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,a,c,i,u){if("production"!==process.env.NODE_ENV)for(var s in o)if(n(o,s)){var l;try{if("function"!=typeof o[s]){var f=Error((i||"React class")+": "+c+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}l=o[s](a,s,i,c,null,t)}catch(e){l=e}if(!l||l instanceof Error||e((i||"React class")+": type specification of "+c+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof l+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),l instanceof Error&&!(l.message in r)){r[l.message]=!0;var p=u?u():"";e("Failed "+c+" type: "+l.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(r={})},O=o}(),a=function(){};function c(){return null}return"production"!==process.env.NODE_ENV&&(a=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),w=function(i,u){var s="function"==typeof Symbol&&Symbol.iterator,l="@@iterator",f="<<anonymous>>",p={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:m(c),arrayOf:function(e){return m((function(t,n,o,a,c){if("function"!=typeof e)return new d("Property `"+c+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var i=t[n];if(!Array.isArray(i))return new d("Invalid "+a+" `"+c+"` of type `"+g(i)+"` supplied to `"+o+"`, expected an array.");for(var u=0;u<i.length;u++){var s=e(i,u,o,a,c+"["+u+"]",r);if(s instanceof Error)return s}return null}))},element:m((function(e,t,r,n,o){var a=e[t];return i(a)?null:new d("Invalid "+n+" `"+o+"` of type `"+g(a)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:m((function(t,r,n,o,a){var c=t[r];return e.isValidElementType(c)?null:new d("Invalid "+o+" `"+a+"` of type `"+g(c)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,r,n,o,a){if(!(t[r]instanceof e)){var c=e.name||f;return new d("Invalid "+o+" `"+a+"` of type `"+((i=t[r]).constructor&&i.constructor.name?i.constructor.name:f)+"` supplied to `"+n+"`, expected instance of `"+c+"`.")}var i;return null}))},node:m((function(e,t,r,n,o){return h(e[t])?null:new d("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,o,a,c,i){if("function"!=typeof e)return new d("Property `"+i+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var u=t[o],s=g(u);if("object"!==s)return new d("Invalid "+c+" `"+i+"` of type `"+s+"` supplied to `"+a+"`, expected an object.");for(var l in u)if(n(u,l)){var f=e(u,l,a,c,i+"."+l,r);if(f instanceof Error)return f}return null}))},oneOf:function(e){return Array.isArray(e)?m((function(t,r,n,o,a){for(var c=t[r],i=0;i<e.length;i++)if(y(c,e[i]))return null;var u=JSON.stringify(e,(function(e,t){return"symbol"===_(t)?String(t):t}));return new d("Invalid "+o+" `"+a+"` of value `"+String(c)+"` supplied to `"+n+"`, expected one of "+u+".")})):("production"!==process.env.NODE_ENV&&a(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),c)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&a("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+E(o)+" at index "+t+"."),c}return m((function(t,o,a,c,i){for(var u=[],s=0;s<e.length;s++){var l=(0,e[s])(t,o,a,c,i,r);if(null==l)return null;l.data&&n(l.data,"expectedType")&&u.push(l.data.expectedType)}return new d("Invalid "+c+" `"+i+"` supplied to `"+a+"`"+(u.length>0?", expected one of type ["+u.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,n,o,a,c){var i=t[n],u=g(i);if("object"!==u)return new d("Invalid "+a+" `"+c+"` of type `"+u+"` supplied to `"+o+"`, expected `object`.");for(var s in e){var l=e[s];if("function"!=typeof l)return v(o,a,c,s,_(l));var f=l(i,s,o,a,c+"."+s,r);if(f)return f}return null}))},exact:function(e){return m((function(o,a,c,i,u){var s=o[a],l=g(s);if("object"!==l)return new d("Invalid "+i+" `"+u+"` of type `"+l+"` supplied to `"+c+"`, expected `object`.");var f=t({},o[a],e);for(var p in f){var y=e[p];if(n(e,p)&&"function"!=typeof y)return v(c,i,u,p,_(y));if(!y)return new d("Invalid "+i+" `"+u+"` key `"+p+"` supplied to `"+c+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=y(s,p,c,i,u+"."+p,r);if(m)return m}return null}))}};function y(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},n=0;function o(o,c,i,s,l,p,y){if(s=s||f,p=p||i,y!==r){if(u){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var b=s+":"+i;!t[b]&&n<3&&(a("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+s+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[b]=!0,n++)}}return null==c[i]?o?null===c[i]?new d("The "+l+" `"+p+"` is marked as required in `"+s+"`, but its value is `null`."):new d("The "+l+" `"+p+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(c,i,s,l,p)}var c=o.bind(null,!1);return c.isRequired=o.bind(null,!0),c}function b(e){return m((function(t,r,n,o,a,c){var i=t[r];return g(i)!==e?new d("Invalid "+o+" `"+a+"` of type `"+_(i)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null}))}function v(e,t,r,n,o){return new d((e||"React class")+": "+t+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function h(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(h);if(null===e||i(e))return!0;var t=function(e){var t=e&&(s&&e[s]||e[l]);if("function"==typeof t)return t}(e);if(!t)return!1;var r,n=t.call(e);if(t!==e.entries){for(;!(r=n.next()).done;)if(!h(r.value))return!1}else for(;!(r=n.next()).done;){var o=r.value;if(o&&!h(o[1]))return!1}return!0;default:return!1}}function g(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function _(e){if(null==e)return""+e;var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function E(e){var t=_(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return d.prototype=Error.prototype,p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},w}()(P.isElement,!0)}else f.exports=function(){if(l)return s;l=1;var e=p();function t(){}function r(){}return r.resetWarningCache=t,s=function(){function n(t,r,n,o,a,c){if(c!==e){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function o(){return n}n.isRequired=n;var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a}}()();var I=c(f.exports),C={"cp-icon":"Icon-module_cp-icon__onsmO",small:"Icon-module_small__9C3K-",medium:"Icon-module_medium__0kcM-",large:"Icon-module_large__LvTw7",black:"Icon-module_black__zBBu5",white:"Icon-module_white__3rwyA",gray:"Icon-module_gray__CLINZ"};const k=({name:t="",size:r="medium",className:n="",color:o="black"})=>e.createElement("span",{className:`${C["cp-icon"]} ${C[r]} ${C[o]} ${n}`},t);k.propTypes={name:I.string,size:I.oneOf(["small","medium","large"]),color:I.oneOf(["black","white","gray"])};var R={"cp-button":"Button-module_cp-button__t348U",small:"Button-module_small__FaxG-",medium:"Button-module_medium__gHl4b",disabled:"Button-module_disabled__En-KU",loading:"Button-module_loading__cFq1s","cp-button-loader":"Button-module_cp-button-loader__Ee1ij","spin-animation":"Button-module_spin-animation__lrjqF",outline:"Button-module_outline__LI97x"};const V=({children:t,isLoading:r=!1,isDisabled:n=!1,size:o="medium",variant:a="solid",onClick:c})=>e.createElement("button",{className:`${R["cp-button"]} ${R[a]} ${R[o]} ${n?R.disabled:""} ${r?R.loading:""}`,onClick:e=>(e=>{n||r?e.preventDefault():"function"==typeof c&&c(e)})(e)},r&&e.createElement(k,{name:"progress_activity",className:R["cp-button-loader"]}),t);k.propTypes={size:I.oneOf(["small","medium"]),variant:I.oneOf(["solid","outline"])};export{r as AppShell,o as Badge,V as Button,a as FormControls,k as Icon,n as Modal,t as Typography};
|
|
14
|
+
*/function C(){if(g)return s;g=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;return s=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map((function(e){return n[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var a,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),m=1;m<arguments.length;m++){for(var u in a=Object(arguments[m]))n.call(a,u)&&(l[u]=a[u]);if(e){i=e(a);for(var c=0;c<i.length;c++)t.call(a,i[c])&&(l[i[c]]=a[i[c]])}}return l},s}function O(){return _?f:(_=1,f=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var T=x();i.exports=function(){if(v)return h;v=1;var e=x(),n=C(),t=l(),r=O(),o=function(){if(b)return y;b=1;var e=function(){};if("production"!==process.env.NODE_ENV){var n=l(),t={},r=O();e=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}}function o(o,a,i,l,m){if("production"!==process.env.NODE_ENV)for(var u in o)if(r(o,u)){var c;try{if("function"!=typeof o[u]){var p=Error((l||"React class")+": "+i+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}c=o[u](a,u,l,i,null,n)}catch(e){c=e}if(!c||c instanceof Error||e((l||"React class")+": type specification of "+i+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in t)){t[c.message]=!0;var d=m?m():"";e("Failed "+i+" type: "+c.message+(null!=d?d:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(t={})},y=o}(),a=function(){};function i(){return null}return"production"!==process.env.NODE_ENV&&(a=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}),h=function(l,m){var u="function"==typeof Symbol&&Symbol.iterator,c="@@iterator",p="<<anonymous>>",d={array:_("array"),bigint:_("bigint"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:f(i),arrayOf:function(e){return f((function(n,r,o,a,i){if("function"!=typeof e)return new g("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var l=n[r];if(!Array.isArray(l))return new g("Invalid "+a+" `"+i+"` of type `"+h(l)+"` supplied to `"+o+"`, expected an array.");for(var m=0;m<l.length;m++){var u=e(l,m,o,a,i+"["+m+"]",t);if(u instanceof Error)return u}return null}))},element:f((function(e,n,t,r,o){var a=e[n];return l(a)?null:new g("Invalid "+r+" `"+o+"` of type `"+h(a)+"` supplied to `"+t+"`, expected a single ReactElement.")})),elementType:f((function(n,t,r,o,a){var i=n[t];return e.isValidElementType(i)?null:new g("Invalid "+o+" `"+a+"` of type `"+h(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return f((function(n,t,r,o,a){if(!(n[t]instanceof e)){var i=e.name||p;return new g("Invalid "+o+" `"+a+"` of type `"+((l=n[t]).constructor&&l.constructor.name?l.constructor.name:p)+"` supplied to `"+r+"`, expected instance of `"+i+"`.")}var l;return null}))},node:f((function(e,n,t,r,o){return b(e[n])?null:new g("Invalid "+r+" `"+o+"` supplied to `"+t+"`, expected a ReactNode.")})),objectOf:function(e){return f((function(n,o,a,i,l){if("function"!=typeof e)return new g("Property `"+l+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var m=n[o],u=h(m);if("object"!==u)return new g("Invalid "+i+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected an object.");for(var c in m)if(r(m,c)){var p=e(m,c,a,i,l+"."+c,t);if(p instanceof Error)return p}return null}))},oneOf:function(e){return Array.isArray(e)?f((function(n,t,r,o,a){for(var i=n[t],l=0;l<e.length;l++)if(s(i,e[l]))return null;var m=JSON.stringify(e,(function(e,n){return"symbol"===v(n)?String(n):n}));return new g("Invalid "+o+" `"+a+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+m+".")})):("production"!==process.env.NODE_ENV&&a(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),i)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var n=0;n<e.length;n++){var o=e[n];if("function"!=typeof o)return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+$(o)+" at index "+n+"."),i}return f((function(n,o,a,i,l){for(var m=[],u=0;u<e.length;u++){var c=(0,e[u])(n,o,a,i,l,t);if(null==c)return null;c.data&&r(c.data,"expectedType")&&m.push(c.data.expectedType)}return new g("Invalid "+i+" `"+l+"` supplied to `"+a+"`"+(m.length>0?", expected one of type ["+m.join(", ")+"]":"")+".")}))},shape:function(e){return f((function(n,r,o,a,i){var l=n[r],m=h(l);if("object"!==m)return new g("Invalid "+a+" `"+i+"` of type `"+m+"` supplied to `"+o+"`, expected `object`.");for(var u in e){var c=e[u];if("function"!=typeof c)return y(o,a,i,u,v(c));var p=c(l,u,o,a,i+"."+u,t);if(p)return p}return null}))},exact:function(e){return f((function(o,a,i,l,m){var u=o[a],c=h(u);if("object"!==c)return new g("Invalid "+l+" `"+m+"` of type `"+c+"` supplied to `"+i+"`, expected `object`.");var p=n({},o[a],e);for(var d in p){var s=e[d];if(r(e,d)&&"function"!=typeof s)return y(i,l,m,d,v(s));if(!s)return new g("Invalid "+l+" `"+m+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=s(u,d,i,l,m+"."+d,t);if(f)return f}return null}))}};function s(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}function g(e,n){this.message=e,this.data=n&&"object"==typeof n?n:{},this.stack=""}function f(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,i,l,u,c,d,s){if(u=u||p,d=d||l,s!==t){if(m){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var _=u+":"+l;!n[_]&&r<3&&(a("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[_]=!0,r++)}}return null==i[l]?o?null===i[l]?new g("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new g("The "+c+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(i,l,u,c,d)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function _(e){return f((function(n,t,r,o,a,i){var l=n[t];return h(l)!==e?new g("Invalid "+o+" `"+a+"` of type `"+v(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function y(e,n,t,r,o){return new g((e||"React class")+": "+n+" type `"+t+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||l(e))return!0;var n=function(e){var n=e&&(u&&e[u]||e[c]);if("function"==typeof n)return n}(e);if(!n)return!1;var t,r=n.call(e);if(n!==e.entries){for(;!(t=r.next()).done;)if(!b(t.value))return!1}else for(;!(t=r.next()).done;){var o=t.value;if(o&&!b(o[1]))return!1}return!0;default:return!1}}function h(e){var n=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,n){return"symbol"===e||!!n&&("Symbol"===n["@@toStringTag"]||"function"==typeof Symbol&&n instanceof Symbol)}(n,e)?"symbol":n}function v(e){if(null==e)return""+e;var n=h(e);if("object"===n){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return n}function $(e){var n=v(e);switch(n){case"array":case"object":return"an "+n;case"boolean":case"date":case"regexp":return"a "+n;default:return n}}return g.prototype=Error.prototype,d.checkPropTypes=o,d.resetWarningCache=o.resetWarningCache,d.PropTypes=d,d},h}()(T.isElement,!0)}else i.exports=function(){if(a)return o;a=1;var e=l();function n(){}function t(){}return t.resetWarningCache=n,o=function(){function r(n,t,r,o,a,i){if(i!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function o(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:t,resetWarningCache:n};return a.PropTypes=a,a}}()();var E=n(i.exports),w={"cp-typography":"Typography-module_cp-typography__8bhKb",h1:"Typography-module_h1__HgP-t",h2:"Typography-module_h2__2ktYB",h3:"Typography-module_h3__sjyRX",h4:"Typography-module_h4__KLr0r",h5:"Typography-module_h5__vdQ3X",h6:"Typography-module_h6__yqRrD",p:"Typography-module_p__OKx7S",black:"Typography-module_black__xMmAt",white:"Typography-module_white__tsPaS",gray:"Typography-module_gray__Ddjga",blue:"Typography-module_blue__cubuC","margin-top-none":"Typography-module_margin-top-none__L-V8v","margin-right-none":"Typography-module_margin-right-none__Qex-O","margin-bottom-none":"Typography-module_margin-bottom-none__COJ3a","margin-left-none":"Typography-module_margin-left-none__IaP5b","margin-top-small":"Typography-module_margin-top-small__MoP1g","margin-right-small":"Typography-module_margin-right-small__PY7b-","margin-bottom-small":"Typography-module_margin-bottom-small__v08uR","margin-left-small":"Typography-module_margin-left-small__8SB-4","margin-top-medium":"Typography-module_margin-top-medium__63jl5","margin-right-medium":"Typography-module_margin-right-medium__Sczte","margin-bottom-medium":"Typography-module_margin-bottom-medium__Appjr","margin-left-medium":"Typography-module_margin-left-medium__afWbU","margin-top-large":"Typography-module_margin-top-large__OomRC","margin-right-large":"Typography-module_margin-right-large__X5QX3","margin-bottom-large":"Typography-module_margin-bottom-large__tNkt4","margin-left-large":"Typography-module_margin-left-large__tHi1u","margin-top-extra-large":"Typography-module_margin-top-extra-large__kw9qo","margin-right-extra-large":"Typography-module_margin-right-extra-large__jWk0c","margin-bottom-extra-large":"Typography-module_margin-bottom-extra-large__8Jxjp","margin-left-extra-large":"Typography-module_margin-left-extra-large__LHFOS"};const S=({children:n,variant:t,marginTop:r="none",marginRight:o="none",marginBottom:a="none",marginLeft:i="none"})=>{const l=`${w[`margin-top-${r}`]} ${w[`margin-right-${o}`]} ${w[`margin-bottom-${a}`]} ${w[`margin-left-${i}`]}`;switch(t){case"h1":return e.createElement("h1",{className:`${w["cp-typography"]} ${w[t]} ${l}`},n);case"h2":return e.createElement("h2",{className:`${w["cp-typography"]} ${w[t]} ${l}`},n);case"h3":return e.createElement("h3",{className:`${w["cp-typography"]} ${w[t]} ${l}`},n);case"h4":return e.createElement("h4",{className:`${w["cp-typography"]} ${w[t]} ${l}`},n);case"h5":return e.createElement("h5",{className:`${w["cp-typography"]} ${w[t]} ${l}`},n);case"h6":return e.createElement("h6",{className:`${w["cp-typography"]} ${w[t]} ${l}`},n);default:return e.createElement("p",{className:`${w["cp-typography"]} ${w[t]} ${l}`},n)}};S.propTypes={variant:E.oneOf(["h1","h2","h3","h4","h5","h6","p"]),marginTop:E.oneOf(["none","small","medium","large","extra-large"]),marginRight:E.oneOf(["none","small","medium","large","extra-large"]),marginBottom:E.oneOf(["none","small","medium","large","extra-large"]),marginLeft:E.oneOf(["none","small","medium","large","extra-large"])};const j=({children:e})=>React.createElement("div",{className:"cp-app-shell"},e),N=({children:n})=>e.createElement("p",{className:"cp-modal"},n);var B={"cp-badge":"Badge-module_cp-badge__Mwtty",info:"Badge-module_info__XJFfU",success:"Badge-module_success__SuM7z",error:"Badge-module_error__NKD32",default:"Badge-module_default__2-bvp",warning:"Badge-module_warning__noVf8"};const k=({label:n,variant:t="default"})=>e.createElement("p",{className:`${B["cp-badge"]} ${B[t]}`},n);k.propTypes={label:E.string,size:E.oneOf(["small","medium","large"]),variant:E.oneOf(["default","info","warning","error","success"])};var P={Input:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,type:m="text",className:u=""})=>{const c=`cp-form-field cp-input-field ${u}`;return e.createElement("div",{className:c},i&&e.createElement("label",{className:"cp-form-label"},i),e.createElement("input",{className:"cp-form-control",type:m,disabled:l,name:n,id:t,defaultValue:o,value:a,onChange:e=>{r&&r(e)}}))},TextArea:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,type:m="text",className:u=""})=>{const c=`cp-form-field cp-textarea-field ${u}`;return e.createElement("div",{className:c},i&&e.createElement("label",{className:"cp-form-label"},i),e.createElement("textarea",{className:"cp-form-control",type:m,disabled:l,name:n,id:t,defaultValue:o,value:a,onChange:e=>{r&&r(e)}}))},File:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,type:m="text",className:u=""})=>{const c=`cp-form-field cp-input-field ${u}`;return e.createElement("div",{className:c},i&&e.createElement("label",{className:"cp-form-label"},i),e.createElement("input",{className:"cp-form-control",type:m,disabled:l,name:n,id:t,defaultValue:o,value:a,onChange:e=>{r&&r(e)}}))},Select:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,type:m="text",className:u=""})=>{const c=`cp-form-field cp-input-field ${u}`;return e.createElement("div",{className:c},i&&e.createElement("label",{className:"cp-form-label"},i),e.createElement("input",{className:"cp-form-control",type:m,disabled:l,name:n,id:t,defaultValue:o,value:a,onChange:e=>{r&&r(e)}}))}},I={"cp-icon":"Icon-module_cp-icon__onsmO",small:"Icon-module_small__9C3K-",medium:"Icon-module_medium__0kcM-",large:"Icon-module_large__LvTw7",black:"Icon-module_black__zBBu5",white:"Icon-module_white__3rwyA",gray:"Icon-module_gray__CLINZ",blue:"Icon-module_blue__-tUmv"};const R=({name:n="",size:t="medium",className:r="",color:o="black"})=>e.createElement("span",{className:`${I["cp-icon"]} ${I[t]} ${I[o]} ${r}`},n);R.propTypes={name:E.string,size:E.oneOf(["small","medium","large"]),color:E.oneOf(["black","white","gray","blue"])};var V={"cp-button":"Button-module_cp-button__t348U",small:"Button-module_small__FaxG-",medium:"Button-module_medium__gHl4b",disabled:"Button-module_disabled__En-KU",loading:"Button-module_loading__cFq1s","cp-button-loader":"Button-module_cp-button-loader__Ee1ij","spin-animation":"Button-module_spin-animation__lrjqF",outline:"Button-module_outline__LI97x","margin-top-none":"Button-module_margin-top-none__ewGaQ","margin-right-none":"Button-module_margin-right-none__IHyDO","margin-bottom-none":"Button-module_margin-bottom-none__dOXyc","margin-left-none":"Button-module_margin-left-none__pUXvL","margin-top-small":"Button-module_margin-top-small__L8P-C","margin-right-small":"Button-module_margin-right-small__YD-WQ","margin-bottom-small":"Button-module_margin-bottom-small__x-LU-","margin-left-small":"Button-module_margin-left-small__hNoYe","margin-top-medium":"Button-module_margin-top-medium__dSL81","margin-right-medium":"Button-module_margin-right-medium__iZ51M","margin-bottom-medium":"Button-module_margin-bottom-medium__CO6U-","margin-left-medium":"Button-module_margin-left-medium__UjKev","margin-top-large":"Button-module_margin-top-large__LL-1y","margin-right-large":"Button-module_margin-right-large__A3q6T","margin-bottom-large":"Button-module_margin-bottom-large__5RADE","margin-left-large":"Button-module_margin-left-large__-GUfw","margin-top-extra-large":"Button-module_margin-top-extra-large__u-vJv","margin-right-extra-large":"Button-module_margin-right-extra-large__RrMvU","margin-bottom-extra-large":"Button-module_margin-bottom-extra-large__LuMGx","margin-left-extra-large":"Button-module_margin-left-extra-large__FA-jf"};const D=({children:n,isLoading:t=!1,isDisabled:r=!1,size:o="medium",variant:a="solid",marginTop:i="none",marginRight:l="none",marginBottom:m="none",marginLeft:u="none",onClick:c})=>{const p=`${V[`margin-top-${i}`]} ${V[`margin-right-${l}`]} ${V[`margin-bottom-${m}`]} ${V[`margin-left-${u}`]}`;return e.createElement("button",{className:`${V["cp-button"]} ${V[a]} ${V[o]} ${r?V.disabled:""} ${t?V.loading:""} ${p}`,onClick:e=>(e=>{r||t?e.preventDefault():"function"==typeof c&&c(e)})(e)},t&&e.createElement(R,{name:"progress_activity",className:V["cp-button-loader"]}),n)};D.propTypes={size:E.oneOf(["small","medium"]),variant:E.oneOf(["solid","outline"]),isDisabled:E.bool,isLoading:E.bool,marginTop:E.oneOf(["none","small","medium","large","extra-large"]),marginRight:E.oneOf(["none","small","medium","large","extra-large"]),marginBottom:E.oneOf(["none","small","medium","large","extra-large"]),marginLeft:E.oneOf(["none","small","medium","large","extra-large"]),onClick:E.func};var A={"cp-container":"Container-module_cp-container__WrTi0","display-block":"Container-module_display-block__6r4yl","display-inline-block":"Container-module_display-inline-block__dmUGh","display-flex":"Container-module_display-flex__nwA-d","align-start":"Container-module_align-start__Klcpf","align-center":"Container-module_align-center__tcGiw","align-end":"Container-module_align-end__a9o4a","justify-space-between":"Container-module_justify-space-between__EekDw","justify-center":"Container-module_justify-center__5SYIV","justify-space-around":"Container-module_justify-space-around__ZVo7H","justify-space-evenly":"Container-module_justify-space-evenly__12F92","margin-top-none":"Container-module_margin-top-none__HGmtH","margin-right-none":"Container-module_margin-right-none__15T1l","margin-bottom-none":"Container-module_margin-bottom-none__nbUHz","margin-left-none":"Container-module_margin-left-none__L1BNA","margin-top-small":"Container-module_margin-top-small__mq0xf","margin-right-small":"Container-module_margin-right-small__g3-1N","margin-bottom-small":"Container-module_margin-bottom-small__EF1Ia","margin-left-small":"Container-module_margin-left-small__ayljX","margin-top-medium":"Container-module_margin-top-medium__woXAO","margin-right-medium":"Container-module_margin-right-medium__wWwJC","margin-bottom-medium":"Container-module_margin-bottom-medium__gfPfm","margin-left-medium":"Container-module_margin-left-medium__pjJVP","margin-top-large":"Container-module_margin-top-large__jsN1Y","margin-right-large":"Container-module_margin-right-large__5fYQn","margin-bottom-large":"Container-module_margin-bottom-large__zaEur","margin-left-large":"Container-module_margin-left-large__Jr65D","margin-top-extra-large":"Container-module_margin-top-extra-large__fH4zH","margin-right-extra-large":"Container-module_margin-right-extra-large__s-HKF","margin-bottom-extra-large":"Container-module_margin-bottom-extra-large__f5Uya","margin-left-extra-large":"Container-module_margin-left-extra-large__V533Z","padding-top-none":"Container-module_padding-top-none__YDpt0","padding-right-none":"Container-module_padding-right-none__mffie","padding-bottom-none":"Container-module_padding-bottom-none__jR3eA","padding-left-none":"Container-module_padding-left-none__fRf8D","padding-top-small":"Container-module_padding-top-small__ATpHJ","padding-right-small":"Container-module_padding-right-small__8foIr","padding-bottom-small":"Container-module_padding-bottom-small__eH37U","padding-left-small":"Container-module_padding-left-small__vO4L0","padding-top-medium":"Container-module_padding-top-medium__xy6CB","padding-right-medium":"Container-module_padding-right-medium__tNqrp","padding-bottom-medium":"Container-module_padding-bottom-medium__-7qVN","padding-left-medium":"Container-module_padding-left-medium__0khEB","padding-top-large":"Container-module_padding-top-large__2VK5E","padding-right-large":"Container-module_padding-right-large__cXXjD","padding-bottom-large":"Container-module_padding-bottom-large__rMuRR","padding-left-large":"Container-module_padding-left-large__1ApsS","padding-top-extra-large":"Container-module_padding-top-extra-large__DZ6eE","padding-right-extra-large":"Container-module_padding-right-extra-large__lTAI2","padding-bottom-extra-large":"Container-module_padding-bottom-extra-large__ZqK9N","padding-left-extra-large":"Container-module_padding-left-extra-large__bdCtB"};const L=({children:n,marginTop:t="",marginRight:r="",marginBottom:o="",marginLeft:a="",paddingTop:i="medium",paddingRight:l="medium",paddingBottom:m="medium",paddingLeft:u="medium",display:c="",align:p="",justify:d="",onClick:s})=>{const g=c?`display-${c}`:"",f=c?`justify-${d}`:"",_=c?`align-${p}`:"",y=t?`margin-top-${t}`:"",b=r?`margin-right-${r}`:"",h=o?`margin-bottom-${o}`:"",v=a?`margin-left-${a}`:"",$=`${y?A[y]:""} ${b?A[b]:""} ${h?A[h]:""} ${v?A[v]:""}`,x=i?`padding-top-${i}`:"",C=l?`padding-right-${l}`:"",O=m?`padding-bottom-${m}`:"",T=u?`padding-left-${u}`:"",E=`${x?A[x]:""} ${C?A[C]:""} ${O?A[O]:""} ${T?A[T]:""}`,w=g?`${A[g]}`:"",S=_?`${A[_]}`:"",j=f?`${A[f]}`:"";return e.createElement("div",{className:`${A["cp-container"]} ${$} ${E} ${w} ${S} ${j}`,onClick:e=>(e=>{"function"==typeof s&&s(e)})(e)},n)};L.propTypes={display:E.oneOf(["inline-block","block","flex"]),justify:E.oneOf(["space-between","center","space-around","space-evenly"]),align:E.oneOf(["start","center","end"]),marginTop:E.oneOf(["none","small","medium","large","extra-large"]),marginRight:E.oneOf(["none","small","medium","large","extra-large"]),marginBottom:E.oneOf(["none","small","medium","large","extra-large"]),marginLeft:E.oneOf(["none","small","medium","large","extra-large"]),paddingTop:E.oneOf(["none","small","medium","large","extra-large"]),paddingRight:E.oneOf(["none","small","medium","large","extra-large"]),paddingBottom:E.oneOf(["none","small","medium","large","extra-large"]),paddingLeft:E.oneOf(["none","small","medium","large","extra-large"]),onClick:E.func};export{j as AppShell,k as Badge,D as Button,L as Container,P as FormControls,R as Icon,N as Modal,S as Typography};
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react");
|
|
1
|
+
"use strict";var e=require("react");function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var t,r,o,a,i={exports:{}};function l(){if(r)return t;r=1;return t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}var m,u={exports:{}},p={};var c,d,s,g,f,_,y,b,h,v,$={};
|
|
2
2
|
/** @license React v16.13.1
|
|
3
3
|
* react-is.production.min.js
|
|
4
4
|
*
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/function
|
|
9
|
+
*/function x(){return d||(d=1,"production"===process.env.NODE_ENV?u.exports=function(){if(c)return $;c=1;var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,s=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,_=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,h=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var c=e.$$typeof;switch(c){case n:switch(e=e.type){case m:case u:case r:case a:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case p:case f:case g:case i:return e;default:return c}}case t:return c}}}function x(e){return v(e)===u}return $.AsyncMode=m,$.ConcurrentMode=u,$.ContextConsumer=l,$.ContextProvider=i,$.Element=n,$.ForwardRef=p,$.Fragment=r,$.Lazy=f,$.Memo=g,$.Portal=t,$.Profiler=a,$.StrictMode=o,$.Suspense=d,$.isAsyncMode=function(e){return x(e)||v(e)===m},$.isConcurrentMode=x,$.isContextConsumer=function(e){return v(e)===l},$.isContextProvider=function(e){return v(e)===i},$.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},$.isForwardRef=function(e){return v(e)===p},$.isFragment=function(e){return v(e)===r},$.isLazy=function(e){return v(e)===f},$.isMemo=function(e){return v(e)===g},$.isPortal=function(e){return v(e)===t},$.isProfiler=function(e){return v(e)===a},$.isStrictMode=function(e){return v(e)===o},$.isSuspense=function(e){return v(e)===d},$.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===a||e===o||e===d||e===s||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===g||e.$$typeof===i||e.$$typeof===l||e.$$typeof===p||e.$$typeof===y||e.$$typeof===b||e.$$typeof===h||e.$$typeof===_)},$.typeOf=v,$}():u.exports=(m||(m=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,s=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,_=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,h=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case n:var s=e.type;switch(s){case m:case u:case r:case a:case o:case d:return s;default:var _=s&&s.$$typeof;switch(_){case l:case c:case f:case g:case i:return _;default:return p}}case t:return p}}}var $=m,x=u,C=l,O=i,T=n,E=c,w=r,S=f,j=g,N=t,B=a,k=o,P=d,I=!1;function R(e){return v(e)===u}p.AsyncMode=$,p.ConcurrentMode=x,p.ContextConsumer=C,p.ContextProvider=O,p.Element=T,p.ForwardRef=E,p.Fragment=w,p.Lazy=S,p.Memo=j,p.Portal=N,p.Profiler=B,p.StrictMode=k,p.Suspense=P,p.isAsyncMode=function(e){return I||(I=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||v(e)===m},p.isConcurrentMode=R,p.isContextConsumer=function(e){return v(e)===l},p.isContextProvider=function(e){return v(e)===i},p.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},p.isForwardRef=function(e){return v(e)===c},p.isFragment=function(e){return v(e)===r},p.isLazy=function(e){return v(e)===f},p.isMemo=function(e){return v(e)===g},p.isPortal=function(e){return v(e)===t},p.isProfiler=function(e){return v(e)===a},p.isStrictMode=function(e){return v(e)===o},p.isSuspense=function(e){return v(e)===d},p.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===a||e===o||e===d||e===s||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===g||e.$$typeof===i||e.$$typeof===l||e.$$typeof===c||e.$$typeof===y||e.$$typeof===b||e.$$typeof===h||e.$$typeof===_)},p.typeOf=v}()),p)),u.exports}
|
|
10
10
|
/*
|
|
11
11
|
object-assign
|
|
12
12
|
(c) Sindre Sorhus
|
|
13
13
|
@license MIT
|
|
14
|
-
*/function w(){if(m)return d;m=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;return d=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(n,o){for(var a,c,i=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(n),u=1;u<arguments.length;u++){for(var s in a=Object(arguments[u]))t.call(a,s)&&(i[s]=a[s]);if(e){c=e(a);for(var l=0;l<c.length;l++)r.call(a,c[l])&&(i[c[l]]=a[c[l]])}}return i},d}function x(){return v?b:(v=1,b=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var $=S();i.exports=function(){if(E)return _;E=1;var e=S(),t=w(),r=u(),n=x(),o=function(){if(g)return h;g=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=u(),r={},n=x();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,a,c,i,u){if("production"!==process.env.NODE_ENV)for(var s in o)if(n(o,s)){var l;try{if("function"!=typeof o[s]){var f=Error((i||"React class")+": "+c+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}l=o[s](a,s,i,c,null,t)}catch(e){l=e}if(!l||l instanceof Error||e((i||"React class")+": type specification of "+c+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof l+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),l instanceof Error&&!(l.message in r)){r[l.message]=!0;var p=u?u():"";e("Failed "+c+" type: "+l.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(r={})},h=o}(),a=function(){};function c(){return null}return"production"!==process.env.NODE_ENV&&(a=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),_=function(i,u){var s="function"==typeof Symbol&&Symbol.iterator,l="@@iterator",f="<<anonymous>>",p={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:m(c),arrayOf:function(e){return m((function(t,n,o,a,c){if("function"!=typeof e)return new d("Property `"+c+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var i=t[n];if(!Array.isArray(i))return new d("Invalid "+a+" `"+c+"` of type `"+g(i)+"` supplied to `"+o+"`, expected an array.");for(var u=0;u<i.length;u++){var s=e(i,u,o,a,c+"["+u+"]",r);if(s instanceof Error)return s}return null}))},element:m((function(e,t,r,n,o){var a=e[t];return i(a)?null:new d("Invalid "+n+" `"+o+"` of type `"+g(a)+"` supplied to `"+r+"`, expected a single ReactElement.")})),elementType:m((function(t,r,n,o,a){var c=t[r];return e.isValidElementType(c)?null:new d("Invalid "+o+" `"+a+"` of type `"+g(c)+"` supplied to `"+n+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,r,n,o,a){if(!(t[r]instanceof e)){var c=e.name||f;return new d("Invalid "+o+" `"+a+"` of type `"+((i=t[r]).constructor&&i.constructor.name?i.constructor.name:f)+"` supplied to `"+n+"`, expected instance of `"+c+"`.")}var i;return null}))},node:m((function(e,t,r,n,o){return h(e[t])?null:new d("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,o,a,c,i){if("function"!=typeof e)return new d("Property `"+i+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var u=t[o],s=g(u);if("object"!==s)return new d("Invalid "+c+" `"+i+"` of type `"+s+"` supplied to `"+a+"`, expected an object.");for(var l in u)if(n(u,l)){var f=e(u,l,a,c,i+"."+l,r);if(f instanceof Error)return f}return null}))},oneOf:function(e){return Array.isArray(e)?m((function(t,r,n,o,a){for(var c=t[r],i=0;i<e.length;i++)if(y(c,e[i]))return null;var u=JSON.stringify(e,(function(e,t){return"symbol"===_(t)?String(t):t}));return new d("Invalid "+o+" `"+a+"` of value `"+String(c)+"` supplied to `"+n+"`, expected one of "+u+".")})):("production"!==process.env.NODE_ENV&&a(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),c)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&a("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+E(o)+" at index "+t+"."),c}return m((function(t,o,a,c,i){for(var u=[],s=0;s<e.length;s++){var l=(0,e[s])(t,o,a,c,i,r);if(null==l)return null;l.data&&n(l.data,"expectedType")&&u.push(l.data.expectedType)}return new d("Invalid "+c+" `"+i+"` supplied to `"+a+"`"+(u.length>0?", expected one of type ["+u.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,n,o,a,c){var i=t[n],u=g(i);if("object"!==u)return new d("Invalid "+a+" `"+c+"` of type `"+u+"` supplied to `"+o+"`, expected `object`.");for(var s in e){var l=e[s];if("function"!=typeof l)return v(o,a,c,s,_(l));var f=l(i,s,o,a,c+"."+s,r);if(f)return f}return null}))},exact:function(e){return m((function(o,a,c,i,u){var s=o[a],l=g(s);if("object"!==l)return new d("Invalid "+i+" `"+u+"` of type `"+l+"` supplied to `"+c+"`, expected `object`.");var f=t({},o[a],e);for(var p in f){var y=e[p];if(n(e,p)&&"function"!=typeof y)return v(c,i,u,p,_(y));if(!y)return new d("Invalid "+i+" `"+u+"` key `"+p+"` supplied to `"+c+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=y(s,p,c,i,u+"."+p,r);if(m)return m}return null}))}};function y(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},n=0;function o(o,c,i,s,l,p,y){if(s=s||f,p=p||i,y!==r){if(u){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var b=s+":"+i;!t[b]&&n<3&&(a("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+s+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[b]=!0,n++)}}return null==c[i]?o?null===c[i]?new d("The "+l+" `"+p+"` is marked as required in `"+s+"`, but its value is `null`."):new d("The "+l+" `"+p+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:e(c,i,s,l,p)}var c=o.bind(null,!1);return c.isRequired=o.bind(null,!0),c}function b(e){return m((function(t,r,n,o,a,c){var i=t[r];return g(i)!==e?new d("Invalid "+o+" `"+a+"` of type `"+_(i)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null}))}function v(e,t,r,n,o){return new d((e||"React class")+": "+t+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function h(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(h);if(null===e||i(e))return!0;var t=function(e){var t=e&&(s&&e[s]||e[l]);if("function"==typeof t)return t}(e);if(!t)return!1;var r,n=t.call(e);if(t!==e.entries){for(;!(r=n.next()).done;)if(!h(r.value))return!1}else for(;!(r=n.next()).done;){var o=r.value;if(o&&!h(o[1]))return!1}return!0;default:return!1}}function g(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function _(e){if(null==e)return""+e;var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function E(e){var t=_(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return d.prototype=Error.prototype,p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},_}()($.isElement,!0)}else i.exports=function(){if(c)return a;c=1;var e=u();function t(){}function r(){}return r.resetWarningCache=t,a=function(){function n(t,r,n,o,a,c){if(c!==e){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function o(){return n}n.isRequired=n;var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a}}()();var N=r(i.exports),j={"cp-icon":"Icon-module_cp-icon__onsmO",small:"Icon-module_small__9C3K-",medium:"Icon-module_medium__0kcM-",large:"Icon-module_large__LvTw7",black:"Icon-module_black__zBBu5",white:"Icon-module_white__3rwyA",gray:"Icon-module_gray__CLINZ"};const T=({name:t="",size:r="medium",className:n="",color:o="black"})=>e.createElement("span",{className:`${j["cp-icon"]} ${j[r]} ${j[o]} ${n}`},t);T.propTypes={name:N.string,size:N.oneOf(["small","medium","large"]),color:N.oneOf(["black","white","gray"])};var I={"cp-button":"Button-module_cp-button__t348U",small:"Button-module_small__FaxG-",medium:"Button-module_medium__gHl4b",disabled:"Button-module_disabled__En-KU",loading:"Button-module_loading__cFq1s","cp-button-loader":"Button-module_cp-button-loader__Ee1ij","spin-animation":"Button-module_spin-animation__lrjqF",outline:"Button-module_outline__LI97x"};T.propTypes={size:N.oneOf(["small","medium"]),variant:N.oneOf(["solid","outline"])},exports.AppShell=({children:e})=>React.createElement("div",{className:"cp-app-shell"},e),exports.Badge=({label:t})=>e.createElement("p",{className:"cp-badge"},t),exports.Button=({children:t,isLoading:r=!1,isDisabled:n=!1,size:o="medium",variant:a="solid",onClick:c})=>e.createElement("button",{className:`${I["cp-button"]} ${I[a]} ${I[o]} ${n?I.disabled:""} ${r?I.loading:""}`,onClick:e=>(e=>{n||r?e.preventDefault():"function"==typeof c&&c(e)})(e)},r&&e.createElement(T,{name:"progress_activity",className:I["cp-button-loader"]}),t),exports.FormControls=t,exports.Icon=T,exports.Modal=({children:t})=>e.createElement("p",{className:"cp-modal"},t),exports.Typography=({children:t,variant:r})=>{switch(r){case"h1":return e.createElement("h1",{className:"cp-typography"},t);case"h2":return e.createElement("h2",{className:"cp-typography"},t);case"h3":return e.createElement("h3",{className:"cp-typography"},t);case"h4":return e.createElement("h4",{className:"cp-typography"},t);case"h5":return e.createElement("h5",{className:"cp-typography"},t);case"h6":return e.createElement("h6",{className:"cp-typography"},t);default:return e.createElement("p",{className:"cp-typography"},t)}};
|
|
14
|
+
*/function C(){if(g)return s;g=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;return s=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map((function(e){return n[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var a,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),m=1;m<arguments.length;m++){for(var u in a=Object(arguments[m]))n.call(a,u)&&(l[u]=a[u]);if(e){i=e(a);for(var p=0;p<i.length;p++)t.call(a,i[p])&&(l[i[p]]=a[i[p]])}}return l},s}function O(){return _?f:(_=1,f=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var T=x();i.exports=function(){if(v)return h;v=1;var e=x(),n=C(),t=l(),r=O(),o=function(){if(b)return y;b=1;var e=function(){};if("production"!==process.env.NODE_ENV){var n=l(),t={},r=O();e=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}}function o(o,a,i,l,m){if("production"!==process.env.NODE_ENV)for(var u in o)if(r(o,u)){var p;try{if("function"!=typeof o[u]){var c=Error((l||"React class")+": "+i+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}p=o[u](a,u,l,i,null,n)}catch(e){p=e}if(!p||p instanceof Error||e((l||"React class")+": type specification of "+i+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in t)){t[p.message]=!0;var d=m?m():"";e("Failed "+i+" type: "+p.message+(null!=d?d:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(t={})},y=o}(),a=function(){};function i(){return null}return"production"!==process.env.NODE_ENV&&(a=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}),h=function(l,m){var u="function"==typeof Symbol&&Symbol.iterator,p="@@iterator",c="<<anonymous>>",d={array:_("array"),bigint:_("bigint"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:f(i),arrayOf:function(e){return f((function(n,r,o,a,i){if("function"!=typeof e)return new g("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var l=n[r];if(!Array.isArray(l))return new g("Invalid "+a+" `"+i+"` of type `"+h(l)+"` supplied to `"+o+"`, expected an array.");for(var m=0;m<l.length;m++){var u=e(l,m,o,a,i+"["+m+"]",t);if(u instanceof Error)return u}return null}))},element:f((function(e,n,t,r,o){var a=e[n];return l(a)?null:new g("Invalid "+r+" `"+o+"` of type `"+h(a)+"` supplied to `"+t+"`, expected a single ReactElement.")})),elementType:f((function(n,t,r,o,a){var i=n[t];return e.isValidElementType(i)?null:new g("Invalid "+o+" `"+a+"` of type `"+h(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return f((function(n,t,r,o,a){if(!(n[t]instanceof e)){var i=e.name||c;return new g("Invalid "+o+" `"+a+"` of type `"+((l=n[t]).constructor&&l.constructor.name?l.constructor.name:c)+"` supplied to `"+r+"`, expected instance of `"+i+"`.")}var l;return null}))},node:f((function(e,n,t,r,o){return b(e[n])?null:new g("Invalid "+r+" `"+o+"` supplied to `"+t+"`, expected a ReactNode.")})),objectOf:function(e){return f((function(n,o,a,i,l){if("function"!=typeof e)return new g("Property `"+l+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var m=n[o],u=h(m);if("object"!==u)return new g("Invalid "+i+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected an object.");for(var p in m)if(r(m,p)){var c=e(m,p,a,i,l+"."+p,t);if(c instanceof Error)return c}return null}))},oneOf:function(e){return Array.isArray(e)?f((function(n,t,r,o,a){for(var i=n[t],l=0;l<e.length;l++)if(s(i,e[l]))return null;var m=JSON.stringify(e,(function(e,n){return"symbol"===v(n)?String(n):n}));return new g("Invalid "+o+" `"+a+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+m+".")})):("production"!==process.env.NODE_ENV&&a(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),i)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var n=0;n<e.length;n++){var o=e[n];if("function"!=typeof o)return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+$(o)+" at index "+n+"."),i}return f((function(n,o,a,i,l){for(var m=[],u=0;u<e.length;u++){var p=(0,e[u])(n,o,a,i,l,t);if(null==p)return null;p.data&&r(p.data,"expectedType")&&m.push(p.data.expectedType)}return new g("Invalid "+i+" `"+l+"` supplied to `"+a+"`"+(m.length>0?", expected one of type ["+m.join(", ")+"]":"")+".")}))},shape:function(e){return f((function(n,r,o,a,i){var l=n[r],m=h(l);if("object"!==m)return new g("Invalid "+a+" `"+i+"` of type `"+m+"` supplied to `"+o+"`, expected `object`.");for(var u in e){var p=e[u];if("function"!=typeof p)return y(o,a,i,u,v(p));var c=p(l,u,o,a,i+"."+u,t);if(c)return c}return null}))},exact:function(e){return f((function(o,a,i,l,m){var u=o[a],p=h(u);if("object"!==p)return new g("Invalid "+l+" `"+m+"` of type `"+p+"` supplied to `"+i+"`, expected `object`.");var c=n({},o[a],e);for(var d in c){var s=e[d];if(r(e,d)&&"function"!=typeof s)return y(i,l,m,d,v(s));if(!s)return new g("Invalid "+l+" `"+m+"` key `"+d+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=s(u,d,i,l,m+"."+d,t);if(f)return f}return null}))}};function s(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}function g(e,n){this.message=e,this.data=n&&"object"==typeof n?n:{},this.stack=""}function f(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,i,l,u,p,d,s){if(u=u||c,d=d||l,s!==t){if(m){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var _=u+":"+l;!n[_]&&r<3&&(a("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+u+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[_]=!0,r++)}}return null==i[l]?o?null===i[l]?new g("The "+p+" `"+d+"` is marked as required in `"+u+"`, but its value is `null`."):new g("The "+p+" `"+d+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(i,l,u,p,d)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function _(e){return f((function(n,t,r,o,a,i){var l=n[t];return h(l)!==e?new g("Invalid "+o+" `"+a+"` of type `"+v(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function y(e,n,t,r,o){return new g((e||"React class")+": "+n+" type `"+t+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||l(e))return!0;var n=function(e){var n=e&&(u&&e[u]||e[p]);if("function"==typeof n)return n}(e);if(!n)return!1;var t,r=n.call(e);if(n!==e.entries){for(;!(t=r.next()).done;)if(!b(t.value))return!1}else for(;!(t=r.next()).done;){var o=t.value;if(o&&!b(o[1]))return!1}return!0;default:return!1}}function h(e){var n=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,n){return"symbol"===e||!!n&&("Symbol"===n["@@toStringTag"]||"function"==typeof Symbol&&n instanceof Symbol)}(n,e)?"symbol":n}function v(e){if(null==e)return""+e;var n=h(e);if("object"===n){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return n}function $(e){var n=v(e);switch(n){case"array":case"object":return"an "+n;case"boolean":case"date":case"regexp":return"a "+n;default:return n}}return g.prototype=Error.prototype,d.checkPropTypes=o,d.resetWarningCache=o.resetWarningCache,d.PropTypes=d,d},h}()(T.isElement,!0)}else i.exports=function(){if(a)return o;a=1;var e=l();function n(){}function t(){}return t.resetWarningCache=n,o=function(){function r(n,t,r,o,a,i){if(i!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function o(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:t,resetWarningCache:n};return a.PropTypes=a,a}}()();var E=n(i.exports),w={"cp-typography":"Typography-module_cp-typography__8bhKb",h1:"Typography-module_h1__HgP-t",h2:"Typography-module_h2__2ktYB",h3:"Typography-module_h3__sjyRX",h4:"Typography-module_h4__KLr0r",h5:"Typography-module_h5__vdQ3X",h6:"Typography-module_h6__yqRrD",p:"Typography-module_p__OKx7S",black:"Typography-module_black__xMmAt",white:"Typography-module_white__tsPaS",gray:"Typography-module_gray__Ddjga",blue:"Typography-module_blue__cubuC","margin-top-none":"Typography-module_margin-top-none__L-V8v","margin-right-none":"Typography-module_margin-right-none__Qex-O","margin-bottom-none":"Typography-module_margin-bottom-none__COJ3a","margin-left-none":"Typography-module_margin-left-none__IaP5b","margin-top-small":"Typography-module_margin-top-small__MoP1g","margin-right-small":"Typography-module_margin-right-small__PY7b-","margin-bottom-small":"Typography-module_margin-bottom-small__v08uR","margin-left-small":"Typography-module_margin-left-small__8SB-4","margin-top-medium":"Typography-module_margin-top-medium__63jl5","margin-right-medium":"Typography-module_margin-right-medium__Sczte","margin-bottom-medium":"Typography-module_margin-bottom-medium__Appjr","margin-left-medium":"Typography-module_margin-left-medium__afWbU","margin-top-large":"Typography-module_margin-top-large__OomRC","margin-right-large":"Typography-module_margin-right-large__X5QX3","margin-bottom-large":"Typography-module_margin-bottom-large__tNkt4","margin-left-large":"Typography-module_margin-left-large__tHi1u","margin-top-extra-large":"Typography-module_margin-top-extra-large__kw9qo","margin-right-extra-large":"Typography-module_margin-right-extra-large__jWk0c","margin-bottom-extra-large":"Typography-module_margin-bottom-extra-large__8Jxjp","margin-left-extra-large":"Typography-module_margin-left-extra-large__LHFOS"};const S=({children:n,variant:t,marginTop:r="none",marginRight:o="none",marginBottom:a="none",marginLeft:i="none"})=>{const l=`${w[`margin-top-${r}`]} ${w[`margin-right-${o}`]} ${w[`margin-bottom-${a}`]} ${w[`margin-left-${i}`]}`;switch(t){case"h1":return e.createElement("h1",{className:`${w["cp-typography"]} ${w[t]} ${l}`},n);case"h2":return e.createElement("h2",{className:`${w["cp-typography"]} ${w[t]} ${l}`},n);case"h3":return e.createElement("h3",{className:`${w["cp-typography"]} ${w[t]} ${l}`},n);case"h4":return e.createElement("h4",{className:`${w["cp-typography"]} ${w[t]} ${l}`},n);case"h5":return e.createElement("h5",{className:`${w["cp-typography"]} ${w[t]} ${l}`},n);case"h6":return e.createElement("h6",{className:`${w["cp-typography"]} ${w[t]} ${l}`},n);default:return e.createElement("p",{className:`${w["cp-typography"]} ${w[t]} ${l}`},n)}};S.propTypes={variant:E.oneOf(["h1","h2","h3","h4","h5","h6","p"]),marginTop:E.oneOf(["none","small","medium","large","extra-large"]),marginRight:E.oneOf(["none","small","medium","large","extra-large"]),marginBottom:E.oneOf(["none","small","medium","large","extra-large"]),marginLeft:E.oneOf(["none","small","medium","large","extra-large"])};var j={"cp-badge":"Badge-module_cp-badge__Mwtty",info:"Badge-module_info__XJFfU",success:"Badge-module_success__SuM7z",error:"Badge-module_error__NKD32",default:"Badge-module_default__2-bvp",warning:"Badge-module_warning__noVf8"};const N=({label:n,variant:t="default"})=>e.createElement("p",{className:`${j["cp-badge"]} ${j[t]}`},n);N.propTypes={label:E.string,size:E.oneOf(["small","medium","large"]),variant:E.oneOf(["default","info","warning","error","success"])};var B={Input:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,type:m="text",className:u=""})=>{const p=`cp-form-field cp-input-field ${u}`;return e.createElement("div",{className:p},i&&e.createElement("label",{className:"cp-form-label"},i),e.createElement("input",{className:"cp-form-control",type:m,disabled:l,name:n,id:t,defaultValue:o,value:a,onChange:e=>{r&&r(e)}}))},TextArea:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,type:m="text",className:u=""})=>{const p=`cp-form-field cp-textarea-field ${u}`;return e.createElement("div",{className:p},i&&e.createElement("label",{className:"cp-form-label"},i),e.createElement("textarea",{className:"cp-form-control",type:m,disabled:l,name:n,id:t,defaultValue:o,value:a,onChange:e=>{r&&r(e)}}))},File:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,type:m="text",className:u=""})=>{const p=`cp-form-field cp-input-field ${u}`;return e.createElement("div",{className:p},i&&e.createElement("label",{className:"cp-form-label"},i),e.createElement("input",{className:"cp-form-control",type:m,disabled:l,name:n,id:t,defaultValue:o,value:a,onChange:e=>{r&&r(e)}}))},Select:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,type:m="text",className:u=""})=>{const p=`cp-form-field cp-input-field ${u}`;return e.createElement("div",{className:p},i&&e.createElement("label",{className:"cp-form-label"},i),e.createElement("input",{className:"cp-form-control",type:m,disabled:l,name:n,id:t,defaultValue:o,value:a,onChange:e=>{r&&r(e)}}))}},k={"cp-icon":"Icon-module_cp-icon__onsmO",small:"Icon-module_small__9C3K-",medium:"Icon-module_medium__0kcM-",large:"Icon-module_large__LvTw7",black:"Icon-module_black__zBBu5",white:"Icon-module_white__3rwyA",gray:"Icon-module_gray__CLINZ",blue:"Icon-module_blue__-tUmv"};const P=({name:n="",size:t="medium",className:r="",color:o="black"})=>e.createElement("span",{className:`${k["cp-icon"]} ${k[t]} ${k[o]} ${r}`},n);P.propTypes={name:E.string,size:E.oneOf(["small","medium","large"]),color:E.oneOf(["black","white","gray","blue"])};var I={"cp-button":"Button-module_cp-button__t348U",small:"Button-module_small__FaxG-",medium:"Button-module_medium__gHl4b",disabled:"Button-module_disabled__En-KU",loading:"Button-module_loading__cFq1s","cp-button-loader":"Button-module_cp-button-loader__Ee1ij","spin-animation":"Button-module_spin-animation__lrjqF",outline:"Button-module_outline__LI97x","margin-top-none":"Button-module_margin-top-none__ewGaQ","margin-right-none":"Button-module_margin-right-none__IHyDO","margin-bottom-none":"Button-module_margin-bottom-none__dOXyc","margin-left-none":"Button-module_margin-left-none__pUXvL","margin-top-small":"Button-module_margin-top-small__L8P-C","margin-right-small":"Button-module_margin-right-small__YD-WQ","margin-bottom-small":"Button-module_margin-bottom-small__x-LU-","margin-left-small":"Button-module_margin-left-small__hNoYe","margin-top-medium":"Button-module_margin-top-medium__dSL81","margin-right-medium":"Button-module_margin-right-medium__iZ51M","margin-bottom-medium":"Button-module_margin-bottom-medium__CO6U-","margin-left-medium":"Button-module_margin-left-medium__UjKev","margin-top-large":"Button-module_margin-top-large__LL-1y","margin-right-large":"Button-module_margin-right-large__A3q6T","margin-bottom-large":"Button-module_margin-bottom-large__5RADE","margin-left-large":"Button-module_margin-left-large__-GUfw","margin-top-extra-large":"Button-module_margin-top-extra-large__u-vJv","margin-right-extra-large":"Button-module_margin-right-extra-large__RrMvU","margin-bottom-extra-large":"Button-module_margin-bottom-extra-large__LuMGx","margin-left-extra-large":"Button-module_margin-left-extra-large__FA-jf"};const R=({children:n,isLoading:t=!1,isDisabled:r=!1,size:o="medium",variant:a="solid",marginTop:i="none",marginRight:l="none",marginBottom:m="none",marginLeft:u="none",onClick:p})=>{const c=`${I[`margin-top-${i}`]} ${I[`margin-right-${l}`]} ${I[`margin-bottom-${m}`]} ${I[`margin-left-${u}`]}`;return e.createElement("button",{className:`${I["cp-button"]} ${I[a]} ${I[o]} ${r?I.disabled:""} ${t?I.loading:""} ${c}`,onClick:e=>(e=>{r||t?e.preventDefault():"function"==typeof p&&p(e)})(e)},t&&e.createElement(P,{name:"progress_activity",className:I["cp-button-loader"]}),n)};R.propTypes={size:E.oneOf(["small","medium"]),variant:E.oneOf(["solid","outline"]),isDisabled:E.bool,isLoading:E.bool,marginTop:E.oneOf(["none","small","medium","large","extra-large"]),marginRight:E.oneOf(["none","small","medium","large","extra-large"]),marginBottom:E.oneOf(["none","small","medium","large","extra-large"]),marginLeft:E.oneOf(["none","small","medium","large","extra-large"]),onClick:E.func};var V={"cp-container":"Container-module_cp-container__WrTi0","display-block":"Container-module_display-block__6r4yl","display-inline-block":"Container-module_display-inline-block__dmUGh","display-flex":"Container-module_display-flex__nwA-d","align-start":"Container-module_align-start__Klcpf","align-center":"Container-module_align-center__tcGiw","align-end":"Container-module_align-end__a9o4a","justify-space-between":"Container-module_justify-space-between__EekDw","justify-center":"Container-module_justify-center__5SYIV","justify-space-around":"Container-module_justify-space-around__ZVo7H","justify-space-evenly":"Container-module_justify-space-evenly__12F92","margin-top-none":"Container-module_margin-top-none__HGmtH","margin-right-none":"Container-module_margin-right-none__15T1l","margin-bottom-none":"Container-module_margin-bottom-none__nbUHz","margin-left-none":"Container-module_margin-left-none__L1BNA","margin-top-small":"Container-module_margin-top-small__mq0xf","margin-right-small":"Container-module_margin-right-small__g3-1N","margin-bottom-small":"Container-module_margin-bottom-small__EF1Ia","margin-left-small":"Container-module_margin-left-small__ayljX","margin-top-medium":"Container-module_margin-top-medium__woXAO","margin-right-medium":"Container-module_margin-right-medium__wWwJC","margin-bottom-medium":"Container-module_margin-bottom-medium__gfPfm","margin-left-medium":"Container-module_margin-left-medium__pjJVP","margin-top-large":"Container-module_margin-top-large__jsN1Y","margin-right-large":"Container-module_margin-right-large__5fYQn","margin-bottom-large":"Container-module_margin-bottom-large__zaEur","margin-left-large":"Container-module_margin-left-large__Jr65D","margin-top-extra-large":"Container-module_margin-top-extra-large__fH4zH","margin-right-extra-large":"Container-module_margin-right-extra-large__s-HKF","margin-bottom-extra-large":"Container-module_margin-bottom-extra-large__f5Uya","margin-left-extra-large":"Container-module_margin-left-extra-large__V533Z","padding-top-none":"Container-module_padding-top-none__YDpt0","padding-right-none":"Container-module_padding-right-none__mffie","padding-bottom-none":"Container-module_padding-bottom-none__jR3eA","padding-left-none":"Container-module_padding-left-none__fRf8D","padding-top-small":"Container-module_padding-top-small__ATpHJ","padding-right-small":"Container-module_padding-right-small__8foIr","padding-bottom-small":"Container-module_padding-bottom-small__eH37U","padding-left-small":"Container-module_padding-left-small__vO4L0","padding-top-medium":"Container-module_padding-top-medium__xy6CB","padding-right-medium":"Container-module_padding-right-medium__tNqrp","padding-bottom-medium":"Container-module_padding-bottom-medium__-7qVN","padding-left-medium":"Container-module_padding-left-medium__0khEB","padding-top-large":"Container-module_padding-top-large__2VK5E","padding-right-large":"Container-module_padding-right-large__cXXjD","padding-bottom-large":"Container-module_padding-bottom-large__rMuRR","padding-left-large":"Container-module_padding-left-large__1ApsS","padding-top-extra-large":"Container-module_padding-top-extra-large__DZ6eE","padding-right-extra-large":"Container-module_padding-right-extra-large__lTAI2","padding-bottom-extra-large":"Container-module_padding-bottom-extra-large__ZqK9N","padding-left-extra-large":"Container-module_padding-left-extra-large__bdCtB"};const A=({children:n,marginTop:t="",marginRight:r="",marginBottom:o="",marginLeft:a="",paddingTop:i="medium",paddingRight:l="medium",paddingBottom:m="medium",paddingLeft:u="medium",display:p="",align:c="",justify:d="",onClick:s})=>{const g=p?`display-${p}`:"",f=p?`justify-${d}`:"",_=p?`align-${c}`:"",y=t?`margin-top-${t}`:"",b=r?`margin-right-${r}`:"",h=o?`margin-bottom-${o}`:"",v=a?`margin-left-${a}`:"",$=`${y?V[y]:""} ${b?V[b]:""} ${h?V[h]:""} ${v?V[v]:""}`,x=i?`padding-top-${i}`:"",C=l?`padding-right-${l}`:"",O=m?`padding-bottom-${m}`:"",T=u?`padding-left-${u}`:"",E=`${x?V[x]:""} ${C?V[C]:""} ${O?V[O]:""} ${T?V[T]:""}`,w=g?`${V[g]}`:"",S=_?`${V[_]}`:"",j=f?`${V[f]}`:"";return e.createElement("div",{className:`${V["cp-container"]} ${$} ${E} ${w} ${S} ${j}`,onClick:e=>(e=>{"function"==typeof s&&s(e)})(e)},n)};A.propTypes={display:E.oneOf(["inline-block","block","flex"]),justify:E.oneOf(["space-between","center","space-around","space-evenly"]),align:E.oneOf(["start","center","end"]),marginTop:E.oneOf(["none","small","medium","large","extra-large"]),marginRight:E.oneOf(["none","small","medium","large","extra-large"]),marginBottom:E.oneOf(["none","small","medium","large","extra-large"]),marginLeft:E.oneOf(["none","small","medium","large","extra-large"]),paddingTop:E.oneOf(["none","small","medium","large","extra-large"]),paddingRight:E.oneOf(["none","small","medium","large","extra-large"]),paddingBottom:E.oneOf(["none","small","medium","large","extra-large"]),paddingLeft:E.oneOf(["none","small","medium","large","extra-large"]),onClick:E.func},exports.AppShell=({children:e})=>React.createElement("div",{className:"cp-app-shell"},e),exports.Badge=N,exports.Button=R,exports.Container=A,exports.FormControls=B,exports.Icon=P,exports.Modal=({children:n})=>e.createElement("p",{className:"cp-modal"},n),exports.Typography=S;
|