cleanplate 0.0.16 → 0.0.18
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 +2 -2
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
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;--length-small:240px;--length-medium:360px;--length-large:480px;--length-extra-large:600px;--length-quarter:25%;--length-one-third:33.33333%;--length-half:50%;--length-three-quarters:75%;--length-full:100%}*{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;max-width:var(--length-small);width:var(--length-full)}.FormControls-module_cp-form-field-fluid__4OlPJ{max-width:var(--length-full)}.FormControls-module_cp-form-label__ipGaH{color:var(--gray);display:block;margin-bottom:8px}.FormControls-module_cp-form-control__KFQ-6{border:1px solid var(--gray);border-radius:8px;height:44px;padding:0 16px;width:100%}.FormControls-module_cp-form-control-error__FG8To{border-color:var(--red)}.FormControls-module_cp-form-error-message__7h2ZR{color:var(--red);font-size:14px;margin-top:8px}.FormControls-module_cp-textarea-field__-u6Jy{min-height:88px;padding:8px 16px}.FormControls-module_cp-select-field__A22qi{max-width:var(--length-small);position:relative;width:var(--length-full)}.FormControls-module_cp-select-field-header__x-V6H{align-items:center;background:var(--white);border:1px solid var(--gray);border-radius:4px;border-radius:var(--radius-medium);cursor:pointer;display:flex;font-family:inherit;font-size:inherit;height:44px;justify-content:space-between;margin-bottom:16px;padding:8px 16px}.FormControls-module_cp-select-field-header-open__-yeCb{border-radius:var(--radius-medium) var(--radius-medium) 0 0}.FormControls-module_cp-select-field-options__TCRwC{background-color:#fff;border:1px solid var(--gray);left:0;max-height:200px;max-width:var(--length-small);overflow-y:auto;position:absolute;right:0;top:43px;width:var(--length-full);z-index:999}.FormControls-module_cp-select-field-options-top__MUGf4{border-radius:var(--radius-medium) var(--radius-medium) 0 0;top:-198px}.FormControls-module_cp-select-field-options-bottom__PKVjk{border-radius:0 0 var(--radius-medium) var(--radius-medium);top:43px}.FormControls-module_cp-select-field-option__16WXY{cursor:pointer;padding:8px 16px}.FormControls-module_cp-select-field-option__16WXY:hover{background:#999;cursor:pointer;padding:8px 16px}.FormControls-module_cp-select-field-arrow__cwWcd{margin-left:8px}.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-fluid__lZE3X{width:100%}.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_border__xE-bJ{border-color:var(--gray)}.Container-module_width-small__xgrY7{width:var(--length-small)}.Container-module_width-medium__-st6E{width:var(--length-medium)}.Container-module_width-large__F5b-N{width:var(--length-large)}.Container-module_width-extra-large__aI-u5{width:var(--length-extra-large)}.Container-module_width-quarter__WDFs7{width:calc(var(--length-quarter) - 12px)}.Container-module_width-one-third__oaNlD{width:calc(var(--length-one-third) - 11px)}.Container-module_width-haf__F5eEy{width:var(--length-half)}.Container-module_width-three-quarters__mtvAf{width:var(--length-three-quarters)}.Container-module_width-full__dU4Xj{width:var(--length-full)}.Container-module_display-block__6r4yl{display:block}.Container-module_display-inline-block__dmUGh{display:inline-block}.Container-module_display-flex__nwA-d{display:flex;flex-wrap:wrap;gap:var(--space-large)}.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)}
|
|
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;--length-small:240px;--length-medium:360px;--length-large:480px;--length-extra-large:600px;--length-quarter:25%;--length-one-third:33.33333%;--length-half:50%;--length-three-quarters:75%;--length-full:100%}*{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;max-width:var(--length-small);width:var(--length-full)}.FormControls-module_cp-form-field-fluid__4OlPJ{max-width:var(--length-full)}.FormControls-module_cp-form-label__ipGaH{color:var(--gray);display:block;margin-bottom:8px}.FormControls-module_cp-form-control__KFQ-6{border:1px solid var(--gray);border-radius:8px;height:44px;padding:0 16px;width:100%}.FormControls-module_cp-form-control-error__FG8To{border-color:var(--red)}.FormControls-module_cp-form-error-message__7h2ZR{color:var(--red);font-size:14px;margin-top:8px}.FormControls-module_cp-textarea-field__-u6Jy{min-height:88px;padding:8px 16px}.FormControls-module_cp-select-field__A22qi{position:relative}.FormControls-module_cp-select-field-header__x-V6H{align-items:center;background:var(--white);border:1px solid var(--gray);border-radius:4px;border-radius:var(--radius-medium);cursor:pointer;display:flex;font-family:inherit;font-size:inherit;height:44px;justify-content:space-between;margin-bottom:16px;padding:8px 16px}.FormControls-module_cp-select-field-header-open__-yeCb{border-radius:var(--radius-medium) var(--radius-medium) 0 0}.FormControls-module_cp-select-field-options__TCRwC{background-color:#fff;border:1px solid var(--gray);left:0;max-height:200px;max-width:var(--length-small);overflow-y:auto;position:absolute;right:0;top:43px;width:var(--length-full);z-index:999}.FormControls-module_cp-select-field-options-top__MUGf4{border-radius:var(--radius-medium) var(--radius-medium) 0 0;top:-198px}.FormControls-module_cp-select-field-options-bottom__PKVjk{border-radius:0 0 var(--radius-medium) var(--radius-medium);top:43px}.FormControls-module_cp-select-field-option__16WXY{cursor:pointer;padding:8px 16px}.FormControls-module_cp-select-field-option__16WXY:hover{background:#999;cursor:pointer;padding:8px 16px}.FormControls-module_cp-select-field-arrow__cwWcd{margin-left:8px}.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-fluid__lZE3X{width:100%}.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_border__xE-bJ{border-color:var(--gray)}.Container-module_width-small__xgrY7{width:var(--length-small)}.Container-module_width-medium__-st6E{width:var(--length-medium)}.Container-module_width-large__F5b-N{width:var(--length-large)}.Container-module_width-extra-large__aI-u5{width:var(--length-extra-large)}.Container-module_width-quarter__WDFs7{width:calc(var(--length-quarter) - 12px)}.Container-module_width-one-third__oaNlD{width:calc(var(--length-one-third) - 11px)}.Container-module_width-haf__F5eEy{width:var(--length-half)}.Container-module_width-three-quarters__mtvAf{width:var(--length-three-quarters)}.Container-module_width-full__dU4Xj{width:var(--length-full)}.Container-module_display-block__6r4yl{display:block}.Container-module_display-inline-block__dmUGh{display:inline-block}.Container-module_display-flex__nwA-d{display:flex;flex-wrap:wrap;gap:var(--space-large)}.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
|
-
: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;--length-small:240px;--length-medium:360px;--length-large:480px;--length-extra-large:600px;--length-quarter:25%;--length-one-third:33.33333%;--length-half:50%;--length-three-quarters:75%;--length-full:100%}*{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;max-width:var(--length-small);width:var(--length-full)}.FormControls-module_cp-form-field-fluid__4OlPJ{max-width:var(--length-full)}.FormControls-module_cp-form-label__ipGaH{color:var(--gray);display:block;margin-bottom:8px}.FormControls-module_cp-form-control__KFQ-6{border:1px solid var(--gray);border-radius:8px;height:44px;padding:0 16px;width:100%}.FormControls-module_cp-form-control-error__FG8To{border-color:var(--red)}.FormControls-module_cp-form-error-message__7h2ZR{color:var(--red);font-size:14px;margin-top:8px}.FormControls-module_cp-textarea-field__-u6Jy{min-height:88px;padding:8px 16px}.FormControls-module_cp-select-field__A22qi{max-width:var(--length-small);position:relative;width:var(--length-full)}.FormControls-module_cp-select-field-header__x-V6H{align-items:center;background:var(--white);border:1px solid var(--gray);border-radius:4px;border-radius:var(--radius-medium);cursor:pointer;display:flex;font-family:inherit;font-size:inherit;height:44px;justify-content:space-between;margin-bottom:16px;padding:8px 16px}.FormControls-module_cp-select-field-header-open__-yeCb{border-radius:var(--radius-medium) var(--radius-medium) 0 0}.FormControls-module_cp-select-field-options__TCRwC{background-color:#fff;border:1px solid var(--gray);left:0;max-height:200px;max-width:var(--length-small);overflow-y:auto;position:absolute;right:0;top:43px;width:var(--length-full);z-index:999}.FormControls-module_cp-select-field-options-top__MUGf4{border-radius:var(--radius-medium) var(--radius-medium) 0 0;top:-198px}.FormControls-module_cp-select-field-options-bottom__PKVjk{border-radius:0 0 var(--radius-medium) var(--radius-medium);top:43px}.FormControls-module_cp-select-field-option__16WXY{cursor:pointer;padding:8px 16px}.FormControls-module_cp-select-field-option__16WXY:hover{background:#999;cursor:pointer;padding:8px 16px}.FormControls-module_cp-select-field-arrow__cwWcd{margin-left:8px}.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-fluid__lZE3X{width:100%}.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_border__xE-bJ{border-color:var(--gray)}.Container-module_width-small__xgrY7{width:var(--length-small)}.Container-module_width-medium__-st6E{width:var(--length-medium)}.Container-module_width-large__F5b-N{width:var(--length-large)}.Container-module_width-extra-large__aI-u5{width:var(--length-extra-large)}.Container-module_width-quarter__WDFs7{width:calc(var(--length-quarter) - 12px)}.Container-module_width-one-third__oaNlD{width:calc(var(--length-one-third) - 11px)}.Container-module_width-haf__F5eEy{width:var(--length-half)}.Container-module_width-three-quarters__mtvAf{width:var(--length-three-quarters)}.Container-module_width-full__dU4Xj{width:var(--length-full)}.Container-module_display-block__6r4yl{display:block}.Container-module_display-inline-block__dmUGh{display:inline-block}.Container-module_display-flex__nwA-d{display:flex;flex-wrap:wrap;gap:var(--space-large)}.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)}
|
|
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;--length-small:240px;--length-medium:360px;--length-large:480px;--length-extra-large:600px;--length-quarter:25%;--length-one-third:33.33333%;--length-half:50%;--length-three-quarters:75%;--length-full:100%}*{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;max-width:var(--length-small);width:var(--length-full)}.FormControls-module_cp-form-field-fluid__4OlPJ{max-width:var(--length-full)}.FormControls-module_cp-form-label__ipGaH{color:var(--gray);display:block;margin-bottom:8px}.FormControls-module_cp-form-control__KFQ-6{border:1px solid var(--gray);border-radius:8px;height:44px;padding:0 16px;width:100%}.FormControls-module_cp-form-control-error__FG8To{border-color:var(--red)}.FormControls-module_cp-form-error-message__7h2ZR{color:var(--red);font-size:14px;margin-top:8px}.FormControls-module_cp-textarea-field__-u6Jy{min-height:88px;padding:8px 16px}.FormControls-module_cp-select-field__A22qi{position:relative}.FormControls-module_cp-select-field-header__x-V6H{align-items:center;background:var(--white);border:1px solid var(--gray);border-radius:4px;border-radius:var(--radius-medium);cursor:pointer;display:flex;font-family:inherit;font-size:inherit;height:44px;justify-content:space-between;margin-bottom:16px;padding:8px 16px}.FormControls-module_cp-select-field-header-open__-yeCb{border-radius:var(--radius-medium) var(--radius-medium) 0 0}.FormControls-module_cp-select-field-options__TCRwC{background-color:#fff;border:1px solid var(--gray);left:0;max-height:200px;max-width:var(--length-small);overflow-y:auto;position:absolute;right:0;top:43px;width:var(--length-full);z-index:999}.FormControls-module_cp-select-field-options-top__MUGf4{border-radius:var(--radius-medium) var(--radius-medium) 0 0;top:-198px}.FormControls-module_cp-select-field-options-bottom__PKVjk{border-radius:0 0 var(--radius-medium) var(--radius-medium);top:43px}.FormControls-module_cp-select-field-option__16WXY{cursor:pointer;padding:8px 16px}.FormControls-module_cp-select-field-option__16WXY:hover{background:#999;cursor:pointer;padding:8px 16px}.FormControls-module_cp-select-field-arrow__cwWcd{margin-left:8px}.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-fluid__lZE3X{width:100%}.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_border__xE-bJ{border-color:var(--gray)}.Container-module_width-small__xgrY7{width:var(--length-small)}.Container-module_width-medium__-st6E{width:var(--length-medium)}.Container-module_width-large__F5b-N{width:var(--length-large)}.Container-module_width-extra-large__aI-u5{width:var(--length-extra-large)}.Container-module_width-quarter__WDFs7{width:calc(var(--length-quarter) - 12px)}.Container-module_width-one-third__oaNlD{width:calc(var(--length-one-third) - 11px)}.Container-module_width-haf__F5eEy{width:var(--length-half)}.Container-module_width-three-quarters__mtvAf{width:var(--length-three-quarters)}.Container-module_width-full__dU4Xj{width:var(--length-full)}.Container-module_display-block__6r4yl{display:block}.Container-module_display-inline-block__dmUGh{display:inline-block}.Container-module_display-flex__nwA-d{display:flex;flex-wrap:wrap;gap:var(--space-large)}.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
|
@@ -6,9 +6,9 @@ import e,{useState as n,useRef as t,useEffect as r}from"react";function o(e){ret
|
|
|
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 E(){return g||(g=1,"production"===process.env.NODE_ENV?s.exports=function(){if(f)return w;f=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,d=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,s=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,_=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var s=e.$$typeof;switch(s){case n:switch(e=e.type){case m:case u:case r:case a:case o:case c:return e;default:switch(e=e&&e.$$typeof){case l:case d:case g:case p:case i:return e;default:return s}}case t:return s}}}function $(e){return v(e)===u}return w.AsyncMode=m,w.ConcurrentMode=u,w.ContextConsumer=l,w.ContextProvider=i,w.Element=n,w.ForwardRef=d,w.Fragment=r,w.Lazy=g,w.Memo=p,w.Portal=t,w.Profiler=a,w.StrictMode=o,w.Suspense=c,w.isAsyncMode=function(e){return $(e)||v(e)===m},w.isConcurrentMode=$,w.isContextConsumer=function(e){return v(e)===l},w.isContextProvider=function(e){return v(e)===i},w.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},w.isForwardRef=function(e){return v(e)===d},w.isFragment=function(e){return v(e)===r},w.isLazy=function(e){return v(e)===g},w.isMemo=function(e){return v(e)===p},w.isPortal=function(e){return v(e)===t},w.isProfiler=function(e){return v(e)===a},w.isStrictMode=function(e){return v(e)===o},w.isSuspense=function(e){return v(e)===c},w.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===a||e===o||e===c||e===s||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===p||e.$$typeof===i||e.$$typeof===l||e.$$typeof===d||e.$$typeof===y||e.$$typeof===h||e.$$typeof===b||e.$$typeof===_)},w.typeOf=v,w}():s.exports=(c||(c=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,d=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,s=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,_=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var s=e.$$typeof;switch(s){case n:var p=e.type;switch(p){case m:case u:case r:case a:case o:case c:return p;default:var _=p&&p.$$typeof;switch(_){case l:case d:case g:case f:case i:return _;default:return s}}case t:return s}}}var $=m,C=u,x=l,w=i,E=n,O=d,T=r,N=g,S=f,j=t,B=a,k=o,P=c,R=!1;function
|
|
9
|
+
*/function E(){return g||(g=1,"production"===process.env.NODE_ENV?s.exports=function(){if(f)return w;f=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,d=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,s=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,_=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var s=e.$$typeof;switch(s){case n:switch(e=e.type){case m:case u:case r:case a:case o:case c:return e;default:switch(e=e&&e.$$typeof){case l:case d:case g:case p:case i:return e;default:return s}}case t:return s}}}function $(e){return v(e)===u}return w.AsyncMode=m,w.ConcurrentMode=u,w.ContextConsumer=l,w.ContextProvider=i,w.Element=n,w.ForwardRef=d,w.Fragment=r,w.Lazy=g,w.Memo=p,w.Portal=t,w.Profiler=a,w.StrictMode=o,w.Suspense=c,w.isAsyncMode=function(e){return $(e)||v(e)===m},w.isConcurrentMode=$,w.isContextConsumer=function(e){return v(e)===l},w.isContextProvider=function(e){return v(e)===i},w.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},w.isForwardRef=function(e){return v(e)===d},w.isFragment=function(e){return v(e)===r},w.isLazy=function(e){return v(e)===g},w.isMemo=function(e){return v(e)===p},w.isPortal=function(e){return v(e)===t},w.isProfiler=function(e){return v(e)===a},w.isStrictMode=function(e){return v(e)===o},w.isSuspense=function(e){return v(e)===c},w.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===a||e===o||e===c||e===s||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===p||e.$$typeof===i||e.$$typeof===l||e.$$typeof===d||e.$$typeof===y||e.$$typeof===h||e.$$typeof===b||e.$$typeof===_)},w.typeOf=v,w}():s.exports=(c||(c=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,d=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,s=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,_=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var s=e.$$typeof;switch(s){case n:var p=e.type;switch(p){case m:case u:case r:case a:case o:case c:return p;default:var _=p&&p.$$typeof;switch(_){case l:case d:case g:case f:case i:return _;default:return s}}case t:return s}}}var $=m,C=u,x=l,w=i,E=n,O=d,T=r,N=g,S=f,j=t,B=a,k=o,P=c,R=!1;function F(e){return v(e)===u}p.AsyncMode=$,p.ConcurrentMode=C,p.ContextConsumer=x,p.ContextProvider=w,p.Element=E,p.ForwardRef=O,p.Fragment=T,p.Lazy=N,p.Memo=S,p.Portal=j,p.Profiler=B,p.StrictMode=k,p.Suspense=P,p.isAsyncMode=function(e){return R||(R=!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.")),F(e)||v(e)===m},p.isConcurrentMode=F,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)===d},p.isFragment=function(e){return v(e)===r},p.isLazy=function(e){return v(e)===g},p.isMemo=function(e){return v(e)===f},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)===c},p.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===a||e===o||e===c||e===s||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===f||e.$$typeof===i||e.$$typeof===l||e.$$typeof===d||e.$$typeof===y||e.$$typeof===h||e.$$typeof===b||e.$$typeof===_)},p.typeOf=v}()),p)),s.exports}
|
|
10
10
|
/*
|
|
11
11
|
object-assign
|
|
12
12
|
(c) Sindre Sorhus
|
|
13
13
|
@license MIT
|
|
14
|
-
*/function O(){if(y)return _;y=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;return _=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 d=0;d<i.length;d++)t.call(a,i[d])&&(l[i[d]]=a[i[d]])}}return l},_}function T(){return b?h:(b=1,h=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var N=E();u.exports=function(){if(x)return C;x=1;var e=E(),n=O(),t=d(),r=T(),o=function(){if($)return v;$=1;var e=function(){};if("production"!==process.env.NODE_ENV){var n=d(),t={},r=T();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 d;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}d=o[u](a,u,l,i,null,n)}catch(e){d=e}if(!d||d 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 d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in t)){t[d.message]=!0;var s=m?m():"";e("Failed "+i+" type: "+d.message+(null!=s?s:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(t={})},v=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){}}),C=function(l,m){var u="function"==typeof Symbol&&Symbol.iterator,d="@@iterator",c="<<anonymous>>",s={array:_("array"),bigint:_("bigint"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:g(i),arrayOf:function(e){return g((function(n,r,o,a,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var l=n[r];if(!Array.isArray(l))return new f("Invalid "+a+" `"+i+"` of type `"+b(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:g((function(e,n,t,r,o){var a=e[n];return l(a)?null:new f("Invalid "+r+" `"+o+"` of type `"+b(a)+"` supplied to `"+t+"`, expected a single ReactElement.")})),elementType:g((function(n,t,r,o,a){var i=n[t];return e.isValidElementType(i)?null:new f("Invalid "+o+" `"+a+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return g((function(n,t,r,o,a){if(!(n[t]instanceof e)){var i=e.name||c;return new f("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:g((function(e,n,t,r,o){return h(e[n])?null:new f("Invalid "+r+" `"+o+"` supplied to `"+t+"`, expected a ReactNode.")})),objectOf:function(e){return g((function(n,o,a,i,l){if("function"!=typeof e)return new f("Property `"+l+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var m=n[o],u=b(m);if("object"!==u)return new f("Invalid "+i+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected an object.");for(var d in m)if(r(m,d)){var c=e(m,d,a,i,l+"."+d,t);if(c instanceof Error)return c}return null}))},oneOf:function(e){return Array.isArray(e)?g((function(n,t,r,o,a){for(var i=n[t],l=0;l<e.length;l++)if(p(i,e[l]))return null;var m=JSON.stringify(e,(function(e,n){return"symbol"===v(n)?String(n):n}));return new f("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 g((function(n,o,a,i,l){for(var m=[],u=0;u<e.length;u++){var d=(0,e[u])(n,o,a,i,l,t);if(null==d)return null;d.data&&r(d.data,"expectedType")&&m.push(d.data.expectedType)}return new f("Invalid "+i+" `"+l+"` supplied to `"+a+"`"+(m.length>0?", expected one of type ["+m.join(", ")+"]":"")+".")}))},shape:function(e){return g((function(n,r,o,a,i){var l=n[r],m=b(l);if("object"!==m)return new f("Invalid "+a+" `"+i+"` of type `"+m+"` supplied to `"+o+"`, expected `object`.");for(var u in e){var d=e[u];if("function"!=typeof d)return y(o,a,i,u,v(d));var c=d(l,u,o,a,i+"."+u,t);if(c)return c}return null}))},exact:function(e){return g((function(o,a,i,l,m){var u=o[a],d=b(u);if("object"!==d)return new f("Invalid "+l+" `"+m+"` of type `"+d+"` supplied to `"+i+"`, expected `object`.");var c=n({},o[a],e);for(var s in c){var p=e[s];if(r(e,s)&&"function"!=typeof p)return y(i,l,m,s,v(p));if(!p)return new f("Invalid "+l+" `"+m+"` key `"+s+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var g=p(u,s,i,l,m+"."+s,t);if(g)return g}return null}))}};function p(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}function f(e,n){this.message=e,this.data=n&&"object"==typeof n?n:{},this.stack=""}function g(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,i,l,u,d,s,p){if(u=u||c,s=s||l,p!==t){if(m){var g=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 g.name="Invariant Violation",g}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 `"+s+"` 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 f("The "+d+" `"+s+"` is marked as required in `"+u+"`, but its value is `null`."):new f("The "+d+" `"+s+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(i,l,u,d,s)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function _(e){return g((function(n,t,r,o,a,i){var l=n[t];return b(l)!==e?new f("Invalid "+o+" `"+a+"` of type `"+v(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function y(e,n,t,r,o){return new f((e||"React class")+": "+n+" type `"+t+"."+r+"` 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||l(e))return!0;var n=function(e){var n=e&&(u&&e[u]||e[d]);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(!h(t.value))return!1}else for(;!(t=r.next()).done;){var o=t.value;if(o&&!h(o[1]))return!1}return!0;default:return!1}}function b(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=b(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 f.prototype=Error.prototype,s.checkPropTypes=o,s.resetWarningCache=o.resetWarningCache,s.PropTypes=s,s},C}()(N.isElement,!0)}else u.exports=function(){if(m)return l;m=1;var e=d();function n(){}function t(){}return t.resetWarningCache=n,l=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 S=o(u.exports),j={"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 B=({children:n,variant:t,marginTop:r="none",marginRight:o="none",marginBottom:a="none",marginLeft:i="none"})=>{const l=`${j[`margin-top-${r}`]} ${j[`margin-right-${o}`]} ${j[`margin-bottom-${a}`]} ${j[`margin-left-${i}`]}`;switch(t){case"h1":return e.createElement("h1",{className:`${j["cp-typography"]} ${j[t]} ${l}`},n);case"h2":return e.createElement("h2",{className:`${j["cp-typography"]} ${j[t]} ${l}`},n);case"h3":return e.createElement("h3",{className:`${j["cp-typography"]} ${j[t]} ${l}`},n);case"h4":return e.createElement("h4",{className:`${j["cp-typography"]} ${j[t]} ${l}`},n);case"h5":return e.createElement("h5",{className:`${j["cp-typography"]} ${j[t]} ${l}`},n);case"h6":return e.createElement("h6",{className:`${j["cp-typography"]} ${j[t]} ${l}`},n);default:return e.createElement("p",{className:`${j["cp-typography"]} ${j[t]} ${l}`},n)}};B.propTypes={variant:S.oneOf(["h1","h2","h3","h4","h5","h6","p"]),marginTop:S.oneOf(["none","small","medium","large","extra-large"]),marginRight:S.oneOf(["none","small","medium","large","extra-large"]),marginBottom:S.oneOf(["none","small","medium","large","extra-large"]),marginLeft:S.oneOf(["none","small","medium","large","extra-large"])};const k=({children:e})=>React.createElement("div",{className:"cp-app-shell"},e),P=({children:n})=>e.createElement("p",{className:"cp-modal"},n);var R={"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 I=({label:n,variant:t="default"})=>e.createElement("p",{className:`${R["cp-badge"]} ${R[t]}`},n);I.propTypes={label:S.string,size:S.oneOf(["small","medium","large"]),variant:S.oneOf(["default","info","warning","error","success"])};var F="FormControls-module_cp-form-field__rvJuX",D="FormControls-module_cp-form-field-fluid__4OlPJ",V="FormControls-module_cp-form-label__ipGaH",A="FormControls-module_cp-form-control__KFQ-6",L="FormControls-module_cp-form-control-error__FG8To",M="FormControls-module_cp-form-error-message__7h2ZR",q="FormControls-module_cp-textarea-field__-u6Jy",U="FormControls-module_cp-select-field__A22qi",z="FormControls-module_cp-select-field-header__x-V6H",H="FormControls-module_cp-select-field-header-open__-yeCb",J="FormControls-module_cp-select-field-options__TCRwC",W="FormControls-module_cp-select-field-options-top__MUGf4",X="FormControls-module_cp-select-field-options-bottom__PKVjk",Y="FormControls-module_cp-select-field-option__16WXY";var 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 G=({name:n="",size:t="medium",className:r="",color:o="black"})=>e.createElement("span",{className:`${K["cp-icon"]} ${K[t]} ${K[o]} ${r}`},n);G.propTypes={name:S.string,size:S.oneOf(["small","medium","large"]),color:S.oneOf(["black","white","gray","blue"])};var Z={Input:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,isRequired:m=!1,isFluid:u=!1,type:d="text",className:c="",placeholder:s="",error:p=""})=>{const f=`${F} ${`${u?D:""}`} ${c}`,g=`${A} ${p?`${L}`:""}`;return e.createElement("div",{className:f},i&&e.createElement("label",{className:V},i," ",m&&e.createElement("span",null,"*")),e.createElement("input",{className:g,type:d,disabled:l,name:n,id:t,defaultValue:o,placeholder:s,value:a,onChange:e=>{r&&r(e)}}),p&&e.createElement("p",{className:M},p))},TextArea:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,isRequired:m=!1,isFluid:u=!1,className:d="",placeholder:c="",error:s=""})=>{const p=`${F} ${d} ${`${u?D:""}`}`,f=`${A} ${q} ${s?`${L}`:""}`;return e.createElement("div",{className:p},i&&e.createElement("label",{className:V},i," ",m&&e.createElement("span",null,"*")),e.createElement("textarea",{className:f,disabled:l,name:n,id:t,defaultValue:o,placeholder:c,value:a,onChange:e=>{r&&r(e)}}),s&&e.createElement("p",{className:M},s))},File:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,type:m="text",className:u=""})=>{const d=`cp-form-field cp-input-field ${u}`;return e.createElement("div",{className:d},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:o,id:a,onChange:i,defaultValue:l,value:m,label:u="",isDisabled:d=!1,className:c="",options:s=[],isRequired:p=!1,placeholder:f="Select an option",error:g=""})=>{const _=`cp-form-field cp-input-field ${c}`,[y,h]=n(!1),[b,v]=n(""),[$,C]=n(!1),x=t(null),w=$?`${W}`:`${X}`,E=`${z} ${y?`${H}`:""}`;return r((()=>{const e=e=>{x.current&&!x.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[]),r((()=>{if(x.current){const e=x.current.getBoundingClientRect(),n=window.innerHeight;C(e.bottom>n)}}),[y]),e.createElement("div",{className:_},u&&e.createElement("label",{className:V},u," ",p&&e.createElement("span",null,"*")),e.createElement("div",{className:U,ref:x},e.createElement("div",{className:E,onClick:()=>h(!y)},e.createElement("span",null,b.label||f),e.createElement(G,{name:y?"arrow_drop_up":"arrow_drop_down",className:"arrow "+(y?"up":"down")})),y&&e.createElement("div",{className:`${J} ${w}`},s.map((n=>e.createElement("div",{key:n.value,className:Y,onClick:e=>{return r=n,(t=e).stopPropagation(),t.preventDefault(),v(r),"function"==typeof i&&i(r),void h(!1);var t,r}},n.label))))),g&&e.createElement("p",{className:M},g))}},Q={"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-fluid":"Button-module_cp-button-fluid__lZE3X","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 ee=({children:n,isLoading:t=!1,isDisabled:r=!1,isFluid:o=!1,size:a="medium",variant:i="solid",marginTop:l="none",marginRight:m="none",marginBottom:u="none",marginLeft:d="none",onClick:c})=>{const s=`${o?Q["cp-button-fluid"]:""}`,p=`${Q[`margin-top-${l}`]} ${Q[`margin-right-${m}`]} ${Q[`margin-bottom-${u}`]} ${Q[`margin-left-${d}`]}`;return e.createElement("button",{className:`${Q["cp-button"]} ${s} ${Q[i]} ${Q[a]} ${r?Q.disabled:""} ${t?Q.loading:""} ${p}`,onClick:e=>(e=>{r||t?e.preventDefault():"function"==typeof c&&c(e)})(e)},t&&e.createElement(G,{name:"progress_activity",className:Q["cp-button-loader"]}),n)};ee.propTypes={size:S.oneOf(["small","medium"]),variant:S.oneOf(["solid","outline"]),isDisabled:S.bool,isLoading:S.bool,marginTop:S.oneOf(["none","small","medium","large","extra-large"]),marginRight:S.oneOf(["none","small","medium","large","extra-large"]),marginBottom:S.oneOf(["none","small","medium","large","extra-large"]),marginLeft:S.oneOf(["none","small","medium","large","extra-large"]),onClick:S.func};var ne={"cp-container":"Container-module_cp-container__WrTi0",border:"Container-module_border__xE-bJ","width-small":"Container-module_width-small__xgrY7","width-medium":"Container-module_width-medium__-st6E","width-large":"Container-module_width-large__F5b-N","width-extra-large":"Container-module_width-extra-large__aI-u5","width-quarter":"Container-module_width-quarter__WDFs7","width-one-third":"Container-module_width-one-third__oaNlD","width-haf":"Container-module_width-haf__F5eEy","width-three-quarters":"Container-module_width-three-quarters__mtvAf","width-full":"Container-module_width-full__dU4Xj","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 te=({children:n,marginTop:t="",marginRight:r="",marginBottom:o="",marginLeft:a="",paddingTop:i="medium",paddingRight:l="medium",paddingBottom:m="medium",paddingLeft:u="medium",display:d="",align:c="",justify:s="",width:p="",showBorder:f=!1,className:g="",onClick:_})=>{const y=d?`display-${d}`:"",h=d?`justify-${s}`:"",b=c?`align-${c}`:"",v=p?`width-${p}`:"",$=f?"border":"",C=t?`margin-top-${t}`:"",x=r?`margin-right-${r}`:"",w=o?`margin-bottom-${o}`:"",E=a?`margin-left-${a}`:"",O=`${C?ne[C]:""} ${x?ne[x]:""} ${w?ne[w]:""} ${E?ne[E]:""}`,T=i?`padding-top-${i}`:"",N=l?`padding-right-${l}`:"",S=m?`padding-bottom-${m}`:"",j=u?`padding-left-${u}`:"",B=`${T?ne[T]:""} ${N?ne[N]:""} ${S?ne[S]:""} ${j?ne[j]:""}`,k=y?`${ne[y]}`:"",P=b?`${ne[b]}`:"",R=h?`${ne[h]}`:"",I=v?`${ne[v]}`:"",F=$?`${ne[$]}`:"";return e.createElement("div",{className:`${ne["cp-container"]} ${I} ${O} ${B} ${F} ${k} ${P} ${R} ${g}`,onClick:e=>(e=>{"function"==typeof _&&_(e)})(e)},n)};te.propTypes={display:S.oneOf(["inline-block","block","flex"]),width:S.oneOf(["small","medium","large","extra-large","quarter","half","three-quarters","full"]),showBorder:S.bool,justify:S.oneOf(["space-between","center","space-around","space-evenly"]),align:S.oneOf(["start","center","end"]),marginTop:S.oneOf(["none","small","medium","large","extra-large"]),marginRight:S.oneOf(["none","small","medium","large","extra-large"]),marginBottom:S.oneOf(["none","small","medium","large","extra-large"]),marginLeft:S.oneOf(["none","small","medium","large","extra-large"]),paddingTop:S.oneOf(["none","small","medium","large","extra-large"]),paddingRight:S.oneOf(["none","small","medium","large","extra-large"]),paddingBottom:S.oneOf(["none","small","medium","large","extra-large"]),paddingLeft:S.oneOf(["none","small","medium","large","extra-large"]),onClick:S.func};export{k as AppShell,I as Badge,ee as Button,te as Container,Z as FormControls,G as Icon,P as Modal,B as Typography};
|
|
14
|
+
*/function O(){if(y)return _;y=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;return _=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 d=0;d<i.length;d++)t.call(a,i[d])&&(l[i[d]]=a[i[d]])}}return l},_}function T(){return b?h:(b=1,h=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var N=E();u.exports=function(){if(x)return C;x=1;var e=E(),n=O(),t=d(),r=T(),o=function(){if($)return v;$=1;var e=function(){};if("production"!==process.env.NODE_ENV){var n=d(),t={},r=T();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 d;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}d=o[u](a,u,l,i,null,n)}catch(e){d=e}if(!d||d 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 d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in t)){t[d.message]=!0;var s=m?m():"";e("Failed "+i+" type: "+d.message+(null!=s?s:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(t={})},v=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){}}),C=function(l,m){var u="function"==typeof Symbol&&Symbol.iterator,d="@@iterator",c="<<anonymous>>",s={array:_("array"),bigint:_("bigint"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:g(i),arrayOf:function(e){return g((function(n,r,o,a,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var l=n[r];if(!Array.isArray(l))return new f("Invalid "+a+" `"+i+"` of type `"+b(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:g((function(e,n,t,r,o){var a=e[n];return l(a)?null:new f("Invalid "+r+" `"+o+"` of type `"+b(a)+"` supplied to `"+t+"`, expected a single ReactElement.")})),elementType:g((function(n,t,r,o,a){var i=n[t];return e.isValidElementType(i)?null:new f("Invalid "+o+" `"+a+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return g((function(n,t,r,o,a){if(!(n[t]instanceof e)){var i=e.name||c;return new f("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:g((function(e,n,t,r,o){return h(e[n])?null:new f("Invalid "+r+" `"+o+"` supplied to `"+t+"`, expected a ReactNode.")})),objectOf:function(e){return g((function(n,o,a,i,l){if("function"!=typeof e)return new f("Property `"+l+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var m=n[o],u=b(m);if("object"!==u)return new f("Invalid "+i+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected an object.");for(var d in m)if(r(m,d)){var c=e(m,d,a,i,l+"."+d,t);if(c instanceof Error)return c}return null}))},oneOf:function(e){return Array.isArray(e)?g((function(n,t,r,o,a){for(var i=n[t],l=0;l<e.length;l++)if(p(i,e[l]))return null;var m=JSON.stringify(e,(function(e,n){return"symbol"===v(n)?String(n):n}));return new f("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 g((function(n,o,a,i,l){for(var m=[],u=0;u<e.length;u++){var d=(0,e[u])(n,o,a,i,l,t);if(null==d)return null;d.data&&r(d.data,"expectedType")&&m.push(d.data.expectedType)}return new f("Invalid "+i+" `"+l+"` supplied to `"+a+"`"+(m.length>0?", expected one of type ["+m.join(", ")+"]":"")+".")}))},shape:function(e){return g((function(n,r,o,a,i){var l=n[r],m=b(l);if("object"!==m)return new f("Invalid "+a+" `"+i+"` of type `"+m+"` supplied to `"+o+"`, expected `object`.");for(var u in e){var d=e[u];if("function"!=typeof d)return y(o,a,i,u,v(d));var c=d(l,u,o,a,i+"."+u,t);if(c)return c}return null}))},exact:function(e){return g((function(o,a,i,l,m){var u=o[a],d=b(u);if("object"!==d)return new f("Invalid "+l+" `"+m+"` of type `"+d+"` supplied to `"+i+"`, expected `object`.");var c=n({},o[a],e);for(var s in c){var p=e[s];if(r(e,s)&&"function"!=typeof p)return y(i,l,m,s,v(p));if(!p)return new f("Invalid "+l+" `"+m+"` key `"+s+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var g=p(u,s,i,l,m+"."+s,t);if(g)return g}return null}))}};function p(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}function f(e,n){this.message=e,this.data=n&&"object"==typeof n?n:{},this.stack=""}function g(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,i,l,u,d,s,p){if(u=u||c,s=s||l,p!==t){if(m){var g=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 g.name="Invariant Violation",g}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 `"+s+"` 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 f("The "+d+" `"+s+"` is marked as required in `"+u+"`, but its value is `null`."):new f("The "+d+" `"+s+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(i,l,u,d,s)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function _(e){return g((function(n,t,r,o,a,i){var l=n[t];return b(l)!==e?new f("Invalid "+o+" `"+a+"` of type `"+v(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function y(e,n,t,r,o){return new f((e||"React class")+": "+n+" type `"+t+"."+r+"` 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||l(e))return!0;var n=function(e){var n=e&&(u&&e[u]||e[d]);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(!h(t.value))return!1}else for(;!(t=r.next()).done;){var o=t.value;if(o&&!h(o[1]))return!1}return!0;default:return!1}}function b(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=b(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 f.prototype=Error.prototype,s.checkPropTypes=o,s.resetWarningCache=o.resetWarningCache,s.PropTypes=s,s},C}()(N.isElement,!0)}else u.exports=function(){if(m)return l;m=1;var e=d();function n(){}function t(){}return t.resetWarningCache=n,l=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 S=o(u.exports),j={"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 B=({children:n,variant:t,marginTop:r="none",marginRight:o="none",marginBottom:a="none",marginLeft:i="none"})=>{const l=`${j[`margin-top-${r}`]} ${j[`margin-right-${o}`]} ${j[`margin-bottom-${a}`]} ${j[`margin-left-${i}`]}`;switch(t){case"h1":return e.createElement("h1",{className:`${j["cp-typography"]} ${j[t]} ${l}`},n);case"h2":return e.createElement("h2",{className:`${j["cp-typography"]} ${j[t]} ${l}`},n);case"h3":return e.createElement("h3",{className:`${j["cp-typography"]} ${j[t]} ${l}`},n);case"h4":return e.createElement("h4",{className:`${j["cp-typography"]} ${j[t]} ${l}`},n);case"h5":return e.createElement("h5",{className:`${j["cp-typography"]} ${j[t]} ${l}`},n);case"h6":return e.createElement("h6",{className:`${j["cp-typography"]} ${j[t]} ${l}`},n);default:return e.createElement("p",{className:`${j["cp-typography"]} ${j[t]} ${l}`},n)}};B.propTypes={variant:S.oneOf(["h1","h2","h3","h4","h5","h6","p"]),marginTop:S.oneOf(["none","small","medium","large","extra-large"]),marginRight:S.oneOf(["none","small","medium","large","extra-large"]),marginBottom:S.oneOf(["none","small","medium","large","extra-large"]),marginLeft:S.oneOf(["none","small","medium","large","extra-large"])};const k=({children:e})=>React.createElement("div",{className:"cp-app-shell"},e),P=({children:n})=>e.createElement("p",{className:"cp-modal"},n);var R={"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 F=({label:n,variant:t="default"})=>e.createElement("p",{className:`${R["cp-badge"]} ${R[t]}`},n);F.propTypes={label:S.string,size:S.oneOf(["small","medium","large"]),variant:S.oneOf(["default","info","warning","error","success"])};var I="FormControls-module_cp-form-field__rvJuX",D="FormControls-module_cp-form-field-fluid__4OlPJ",V="FormControls-module_cp-form-label__ipGaH",A="FormControls-module_cp-form-control__KFQ-6",L="FormControls-module_cp-form-control-error__FG8To",M="FormControls-module_cp-form-error-message__7h2ZR",q="FormControls-module_cp-textarea-field__-u6Jy",U="FormControls-module_cp-select-field__A22qi",z="FormControls-module_cp-select-field-header__x-V6H",H="FormControls-module_cp-select-field-header-open__-yeCb",J="FormControls-module_cp-select-field-options__TCRwC",W="FormControls-module_cp-select-field-options-top__MUGf4",X="FormControls-module_cp-select-field-options-bottom__PKVjk",Y="FormControls-module_cp-select-field-option__16WXY";var 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 G=({name:n="",size:t="medium",className:r="",color:o="black"})=>e.createElement("span",{className:`${K["cp-icon"]} ${K[t]} ${K[o]} ${r}`},n);G.propTypes={name:S.string,size:S.oneOf(["small","medium","large"]),color:S.oneOf(["black","white","gray","blue"])};var Z={Input:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,isRequired:m=!1,isFluid:u=!1,type:d="text",className:c="",placeholder:s="",error:p=""})=>{const f=`${I} ${`${u?D:""}`} ${c}`,g=`${A} ${p?`${L}`:""}`;return e.createElement("div",{className:f},i&&e.createElement("label",{className:V},i," ",m&&e.createElement("span",null,"*")),e.createElement("input",{className:g,type:d,disabled:l,name:n,id:t,defaultValue:o,placeholder:s,value:a,onChange:e=>{r&&r(e)}}),p&&e.createElement("p",{className:M},p))},TextArea:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,isRequired:m=!1,isFluid:u=!1,className:d="",placeholder:c="",error:s=""})=>{const p=`${I} ${d} ${`${u?D:""}`}`,f=`${A} ${q} ${s?`${L}`:""}`;return e.createElement("div",{className:p},i&&e.createElement("label",{className:V},i," ",m&&e.createElement("span",null,"*")),e.createElement("textarea",{className:f,disabled:l,name:n,id:t,defaultValue:o,placeholder:c,value:a,onChange:e=>{r&&r(e)}}),s&&e.createElement("p",{className:M},s))},File:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,type:m="text",className:u=""})=>{const d=`cp-form-field cp-input-field ${u}`;return e.createElement("div",{className:d},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:o,id:a,onChange:i,defaultValue:l,value:m,label:u="",isDisabled:d=!1,className:c="",options:s=[],isRequired:p=!1,placeholder:f="Select an option",error:g="",isFluid:_=!1})=>{const y=`${I} ${`${_?D:""}`} ${c}`,[h,b]=n(!1),[v,$]=n(""),[C,x]=n(!1),w=t(null),E=C?`${W}`:`${X}`,O=`${z} ${h?`${H}`:""}`;return r((()=>{const e=e=>{w.current&&!w.current.contains(e.target)&&b(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[]),r((()=>{if(w.current){const e=w.current.getBoundingClientRect(),n=window.innerHeight;x(e.bottom>n)}}),[h]),e.createElement("div",{className:y},u&&e.createElement("label",{className:V},u," ",p&&e.createElement("span",null,"*")),e.createElement("div",{className:U,ref:w},e.createElement("div",{className:O,onClick:()=>b(!h)},e.createElement("span",null,v.label||f),e.createElement(G,{name:h?"arrow_drop_up":"arrow_drop_down",className:"arrow "+(h?"up":"down")})),h&&e.createElement("div",{className:`${J} ${E}`},s.map((n=>e.createElement("div",{key:n.value,className:Y,onClick:e=>{return r=n,(t=e).stopPropagation(),t.preventDefault(),$(r),"function"==typeof i&&i(r),void b(!1);var t,r}},n.label))))),g&&e.createElement("p",{className:M},g))}},Q={"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-fluid":"Button-module_cp-button-fluid__lZE3X","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 ee=({children:n,isLoading:t=!1,isDisabled:r=!1,isFluid:o=!1,size:a="medium",variant:i="solid",marginTop:l="none",marginRight:m="none",marginBottom:u="none",marginLeft:d="none",onClick:c})=>{const s=`${o?Q["cp-button-fluid"]:""}`,p=`${Q[`margin-top-${l}`]} ${Q[`margin-right-${m}`]} ${Q[`margin-bottom-${u}`]} ${Q[`margin-left-${d}`]}`;return e.createElement("button",{className:`${Q["cp-button"]} ${s} ${Q[i]} ${Q[a]} ${r?Q.disabled:""} ${t?Q.loading:""} ${p}`,onClick:e=>(e=>{r||t?e.preventDefault():"function"==typeof c&&c(e)})(e)},t&&e.createElement(G,{name:"progress_activity",className:Q["cp-button-loader"]}),n)};ee.propTypes={size:S.oneOf(["small","medium"]),variant:S.oneOf(["solid","outline"]),isDisabled:S.bool,isLoading:S.bool,marginTop:S.oneOf(["none","small","medium","large","extra-large"]),marginRight:S.oneOf(["none","small","medium","large","extra-large"]),marginBottom:S.oneOf(["none","small","medium","large","extra-large"]),marginLeft:S.oneOf(["none","small","medium","large","extra-large"]),onClick:S.func};var ne={"cp-container":"Container-module_cp-container__WrTi0",border:"Container-module_border__xE-bJ","width-small":"Container-module_width-small__xgrY7","width-medium":"Container-module_width-medium__-st6E","width-large":"Container-module_width-large__F5b-N","width-extra-large":"Container-module_width-extra-large__aI-u5","width-quarter":"Container-module_width-quarter__WDFs7","width-one-third":"Container-module_width-one-third__oaNlD","width-haf":"Container-module_width-haf__F5eEy","width-three-quarters":"Container-module_width-three-quarters__mtvAf","width-full":"Container-module_width-full__dU4Xj","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 te=({children:n,marginTop:t="",marginRight:r="",marginBottom:o="",marginLeft:a="",paddingTop:i="medium",paddingRight:l="medium",paddingBottom:m="medium",paddingLeft:u="medium",display:d="",align:c="",justify:s="",width:p="",showBorder:f=!1,className:g="",onClick:_})=>{const y=d?`display-${d}`:"",h=d?`justify-${s}`:"",b=c?`align-${c}`:"",v=p?`width-${p}`:"",$=f?"border":"",C=t?`margin-top-${t}`:"",x=r?`margin-right-${r}`:"",w=o?`margin-bottom-${o}`:"",E=a?`margin-left-${a}`:"",O=`${C?ne[C]:""} ${x?ne[x]:""} ${w?ne[w]:""} ${E?ne[E]:""}`,T=i?`padding-top-${i}`:"",N=l?`padding-right-${l}`:"",S=m?`padding-bottom-${m}`:"",j=u?`padding-left-${u}`:"",B=`${T?ne[T]:""} ${N?ne[N]:""} ${S?ne[S]:""} ${j?ne[j]:""}`,k=y?`${ne[y]}`:"",P=b?`${ne[b]}`:"",R=h?`${ne[h]}`:"",F=v?`${ne[v]}`:"",I=$?`${ne[$]}`:"";return e.createElement("div",{className:`${ne["cp-container"]} ${F} ${O} ${B} ${I} ${k} ${P} ${R} ${g}`,onClick:e=>(e=>{"function"==typeof _&&_(e)})(e)},n)};te.propTypes={display:S.oneOf(["inline-block","block","flex"]),width:S.oneOf(["small","medium","large","extra-large","quarter","half","three-quarters","full"]),showBorder:S.bool,justify:S.oneOf(["space-between","center","space-around","space-evenly"]),align:S.oneOf(["start","center","end"]),marginTop:S.oneOf(["none","small","medium","large","extra-large"]),marginRight:S.oneOf(["none","small","medium","large","extra-large"]),marginBottom:S.oneOf(["none","small","medium","large","extra-large"]),marginLeft:S.oneOf(["none","small","medium","large","extra-large"]),paddingTop:S.oneOf(["none","small","medium","large","extra-large"]),paddingRight:S.oneOf(["none","small","medium","large","extra-large"]),paddingBottom:S.oneOf(["none","small","medium","large","extra-large"]),paddingLeft:S.oneOf(["none","small","medium","large","extra-large"]),onClick:S.func};export{k as AppShell,F as Badge,ee as Button,te as Container,Z as FormControls,G as Icon,P as Modal,B as Typography};
|
package/dist/index.js
CHANGED
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
object-assign
|
|
12
12
|
(c) Sindre Sorhus
|
|
13
13
|
@license MIT
|
|
14
|
-
*/function x(){if(f)return p;f=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;return p=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 d=0;d<i.length;d++)t.call(a,i[d])&&(l[i[d]]=a[i[d]])}}return l},p}function w(){return _?g:(_=1,g=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var E=C();i.exports=function(){if(v)return b;v=1;var e=C(),n=x(),t=l(),r=w(),o=function(){if(h)return y;h=1;var e=function(){};if("production"!==process.env.NODE_ENV){var n=l(),t={},r=w();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 d;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}d=o[u](a,u,l,i,null,n)}catch(e){d=e}if(!d||d 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 d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in t)){t[d.message]=!0;var s=m?m():"";e("Failed "+i+" type: "+d.message+(null!=s?s:""))}}}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){}}),b=function(l,m){var u="function"==typeof Symbol&&Symbol.iterator,d="@@iterator",c="<<anonymous>>",s={array:_("array"),bigint:_("bigint"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:g(i),arrayOf:function(e){return g((function(n,r,o,a,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var l=n[r];if(!Array.isArray(l))return new f("Invalid "+a+" `"+i+"` of type `"+b(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:g((function(e,n,t,r,o){var a=e[n];return l(a)?null:new f("Invalid "+r+" `"+o+"` of type `"+b(a)+"` supplied to `"+t+"`, expected a single ReactElement.")})),elementType:g((function(n,t,r,o,a){var i=n[t];return e.isValidElementType(i)?null:new f("Invalid "+o+" `"+a+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return g((function(n,t,r,o,a){if(!(n[t]instanceof e)){var i=e.name||c;return new f("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:g((function(e,n,t,r,o){return h(e[n])?null:new f("Invalid "+r+" `"+o+"` supplied to `"+t+"`, expected a ReactNode.")})),objectOf:function(e){return g((function(n,o,a,i,l){if("function"!=typeof e)return new f("Property `"+l+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var m=n[o],u=b(m);if("object"!==u)return new f("Invalid "+i+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected an object.");for(var d in m)if(r(m,d)){var c=e(m,d,a,i,l+"."+d,t);if(c instanceof Error)return c}return null}))},oneOf:function(e){return Array.isArray(e)?g((function(n,t,r,o,a){for(var i=n[t],l=0;l<e.length;l++)if(p(i,e[l]))return null;var m=JSON.stringify(e,(function(e,n){return"symbol"===v(n)?String(n):n}));return new f("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 g((function(n,o,a,i,l){for(var m=[],u=0;u<e.length;u++){var d=(0,e[u])(n,o,a,i,l,t);if(null==d)return null;d.data&&r(d.data,"expectedType")&&m.push(d.data.expectedType)}return new f("Invalid "+i+" `"+l+"` supplied to `"+a+"`"+(m.length>0?", expected one of type ["+m.join(", ")+"]":"")+".")}))},shape:function(e){return g((function(n,r,o,a,i){var l=n[r],m=b(l);if("object"!==m)return new f("Invalid "+a+" `"+i+"` of type `"+m+"` supplied to `"+o+"`, expected `object`.");for(var u in e){var d=e[u];if("function"!=typeof d)return y(o,a,i,u,v(d));var c=d(l,u,o,a,i+"."+u,t);if(c)return c}return null}))},exact:function(e){return g((function(o,a,i,l,m){var u=o[a],d=b(u);if("object"!==d)return new f("Invalid "+l+" `"+m+"` of type `"+d+"` supplied to `"+i+"`, expected `object`.");var c=n({},o[a],e);for(var s in c){var p=e[s];if(r(e,s)&&"function"!=typeof p)return y(i,l,m,s,v(p));if(!p)return new f("Invalid "+l+" `"+m+"` key `"+s+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var g=p(u,s,i,l,m+"."+s,t);if(g)return g}return null}))}};function p(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}function f(e,n){this.message=e,this.data=n&&"object"==typeof n?n:{},this.stack=""}function g(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,i,l,u,d,s,p){if(u=u||c,s=s||l,p!==t){if(m){var g=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 g.name="Invariant Violation",g}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 `"+s+"` 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 f("The "+d+" `"+s+"` is marked as required in `"+u+"`, but its value is `null`."):new f("The "+d+" `"+s+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(i,l,u,d,s)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function _(e){return g((function(n,t,r,o,a,i){var l=n[t];return b(l)!==e?new f("Invalid "+o+" `"+a+"` of type `"+v(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function y(e,n,t,r,o){return new f((e||"React class")+": "+n+" type `"+t+"."+r+"` 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||l(e))return!0;var n=function(e){var n=e&&(u&&e[u]||e[d]);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(!h(t.value))return!1}else for(;!(t=r.next()).done;){var o=t.value;if(o&&!h(o[1]))return!1}return!0;default:return!1}}function b(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=b(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 f.prototype=Error.prototype,s.checkPropTypes=o,s.resetWarningCache=o.resetWarningCache,s.PropTypes=s,s},b}()(E.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 O=n(i.exports),T={"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=`${T[`margin-top-${r}`]} ${T[`margin-right-${o}`]} ${T[`margin-bottom-${a}`]} ${T[`margin-left-${i}`]}`;switch(t){case"h1":return e.createElement("h1",{className:`${T["cp-typography"]} ${T[t]} ${l}`},n);case"h2":return e.createElement("h2",{className:`${T["cp-typography"]} ${T[t]} ${l}`},n);case"h3":return e.createElement("h3",{className:`${T["cp-typography"]} ${T[t]} ${l}`},n);case"h4":return e.createElement("h4",{className:`${T["cp-typography"]} ${T[t]} ${l}`},n);case"h5":return e.createElement("h5",{className:`${T["cp-typography"]} ${T[t]} ${l}`},n);case"h6":return e.createElement("h6",{className:`${T["cp-typography"]} ${T[t]} ${l}`},n);default:return e.createElement("p",{className:`${T["cp-typography"]} ${T[t]} ${l}`},n)}};S.propTypes={variant:O.oneOf(["h1","h2","h3","h4","h5","h6","p"]),marginTop:O.oneOf(["none","small","medium","large","extra-large"]),marginRight:O.oneOf(["none","small","medium","large","extra-large"]),marginBottom:O.oneOf(["none","small","medium","large","extra-large"]),marginLeft:O.oneOf(["none","small","medium","large","extra-large"])};var N={"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 j=({label:n,variant:t="default"})=>e.createElement("p",{className:`${N["cp-badge"]} ${N[t]}`},n);j.propTypes={label:O.string,size:O.oneOf(["small","medium","large"]),variant:O.oneOf(["default","info","warning","error","success"])};var B="FormControls-module_cp-form-field__rvJuX",k="FormControls-module_cp-form-field-fluid__4OlPJ",P="FormControls-module_cp-form-label__ipGaH",R="FormControls-module_cp-form-control__KFQ-6",I="FormControls-module_cp-form-control-error__FG8To",F="FormControls-module_cp-form-error-message__7h2ZR",D="FormControls-module_cp-textarea-field__-u6Jy",A="FormControls-module_cp-select-field__A22qi",V="FormControls-module_cp-select-field-header__x-V6H",L="FormControls-module_cp-select-field-header-open__-yeCb",M="FormControls-module_cp-select-field-options__TCRwC",q="FormControls-module_cp-select-field-options-top__MUGf4",U="FormControls-module_cp-select-field-options-bottom__PKVjk",z="FormControls-module_cp-select-field-option__16WXY";var H={"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 J=({name:n="",size:t="medium",className:r="",color:o="black"})=>e.createElement("span",{className:`${H["cp-icon"]} ${H[t]} ${H[o]} ${r}`},n);J.propTypes={name:O.string,size:O.oneOf(["small","medium","large"]),color:O.oneOf(["black","white","gray","blue"])};var W={Input:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,isRequired:m=!1,isFluid:u=!1,type:d="text",className:c="",placeholder:s="",error:p=""})=>{const f=`${B} ${`${u?k:""}`} ${c}`,g=`${R} ${p?`${I}`:""}`;return e.createElement("div",{className:f},i&&e.createElement("label",{className:P},i," ",m&&e.createElement("span",null,"*")),e.createElement("input",{className:g,type:d,disabled:l,name:n,id:t,defaultValue:o,placeholder:s,value:a,onChange:e=>{r&&r(e)}}),p&&e.createElement("p",{className:F},p))},TextArea:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,isRequired:m=!1,isFluid:u=!1,className:d="",placeholder:c="",error:s=""})=>{const p=`${B} ${d} ${`${u?k:""}`}`,f=`${R} ${D} ${s?`${I}`:""}`;return e.createElement("div",{className:p},i&&e.createElement("label",{className:P},i," ",m&&e.createElement("span",null,"*")),e.createElement("textarea",{className:f,disabled:l,name:n,id:t,defaultValue:o,placeholder:c,value:a,onChange:e=>{r&&r(e)}}),s&&e.createElement("p",{className:F},s))},File:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,type:m="text",className:u=""})=>{const d=`cp-form-field cp-input-field ${u}`;return e.createElement("div",{className:d},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,className:m="",options:u=[],isRequired:d=!1,placeholder:c="Select an option",error:s=""})=>{const p=`cp-form-field cp-input-field ${m}`,[f,g]=e.useState(!1),[_,y]=e.useState(""),[h,b]=e.useState(!1),v=e.useRef(null),$=h?`${q}`:`${U}`,C=`${V} ${f?`${L}`:""}`;return e.useEffect((()=>{const e=e=>{v.current&&!v.current.contains(e.target)&&g(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[]),e.useEffect((()=>{if(v.current){const e=v.current.getBoundingClientRect(),n=window.innerHeight;b(e.bottom>n)}}),[f]),e.createElement("div",{className:p},i&&e.createElement("label",{className:P},i," ",d&&e.createElement("span",null,"*")),e.createElement("div",{className:A,ref:v},e.createElement("div",{className:C,onClick:()=>g(!f)},e.createElement("span",null,_.label||c),e.createElement(J,{name:f?"arrow_drop_up":"arrow_drop_down",className:"arrow "+(f?"up":"down")})),f&&e.createElement("div",{className:`${M} ${$}`},u.map((n=>e.createElement("div",{key:n.value,className:z,onClick:e=>{return o=n,(t=e).stopPropagation(),t.preventDefault(),y(o),"function"==typeof r&&r(o),void g(!1);var t,o}},n.label))))),s&&e.createElement("p",{className:F},s))}},X={"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-fluid":"Button-module_cp-button-fluid__lZE3X","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 Y=({children:n,isLoading:t=!1,isDisabled:r=!1,isFluid:o=!1,size:a="medium",variant:i="solid",marginTop:l="none",marginRight:m="none",marginBottom:u="none",marginLeft:d="none",onClick:c})=>{const s=`${o?X["cp-button-fluid"]:""}`,p=`${X[`margin-top-${l}`]} ${X[`margin-right-${m}`]} ${X[`margin-bottom-${u}`]} ${X[`margin-left-${d}`]}`;return e.createElement("button",{className:`${X["cp-button"]} ${s} ${X[i]} ${X[a]} ${r?X.disabled:""} ${t?X.loading:""} ${p}`,onClick:e=>(e=>{r||t?e.preventDefault():"function"==typeof c&&c(e)})(e)},t&&e.createElement(J,{name:"progress_activity",className:X["cp-button-loader"]}),n)};Y.propTypes={size:O.oneOf(["small","medium"]),variant:O.oneOf(["solid","outline"]),isDisabled:O.bool,isLoading:O.bool,marginTop:O.oneOf(["none","small","medium","large","extra-large"]),marginRight:O.oneOf(["none","small","medium","large","extra-large"]),marginBottom:O.oneOf(["none","small","medium","large","extra-large"]),marginLeft:O.oneOf(["none","small","medium","large","extra-large"]),onClick:O.func};var K={"cp-container":"Container-module_cp-container__WrTi0",border:"Container-module_border__xE-bJ","width-small":"Container-module_width-small__xgrY7","width-medium":"Container-module_width-medium__-st6E","width-large":"Container-module_width-large__F5b-N","width-extra-large":"Container-module_width-extra-large__aI-u5","width-quarter":"Container-module_width-quarter__WDFs7","width-one-third":"Container-module_width-one-third__oaNlD","width-haf":"Container-module_width-haf__F5eEy","width-three-quarters":"Container-module_width-three-quarters__mtvAf","width-full":"Container-module_width-full__dU4Xj","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 G=({children:n,marginTop:t="",marginRight:r="",marginBottom:o="",marginLeft:a="",paddingTop:i="medium",paddingRight:l="medium",paddingBottom:m="medium",paddingLeft:u="medium",display:d="",align:c="",justify:s="",width:p="",showBorder:f=!1,className:g="",onClick:_})=>{const y=d?`display-${d}`:"",h=d?`justify-${s}`:"",b=c?`align-${c}`:"",v=p?`width-${p}`:"",$=f?"border":"",C=t?`margin-top-${t}`:"",x=r?`margin-right-${r}`:"",w=o?`margin-bottom-${o}`:"",E=a?`margin-left-${a}`:"",O=`${C?K[C]:""} ${x?K[x]:""} ${w?K[w]:""} ${E?K[E]:""}`,T=i?`padding-top-${i}`:"",S=l?`padding-right-${l}`:"",N=m?`padding-bottom-${m}`:"",j=u?`padding-left-${u}`:"",B=`${T?K[T]:""} ${S?K[S]:""} ${N?K[N]:""} ${j?K[j]:""}`,k=y?`${K[y]}`:"",P=b?`${K[b]}`:"",R=h?`${K[h]}`:"",I=v?`${K[v]}`:"",F=$?`${K[$]}`:"";return e.createElement("div",{className:`${K["cp-container"]} ${I} ${O} ${B} ${F} ${k} ${P} ${R} ${g}`,onClick:e=>(e=>{"function"==typeof _&&_(e)})(e)},n)};G.propTypes={display:O.oneOf(["inline-block","block","flex"]),width:O.oneOf(["small","medium","large","extra-large","quarter","half","three-quarters","full"]),showBorder:O.bool,justify:O.oneOf(["space-between","center","space-around","space-evenly"]),align:O.oneOf(["start","center","end"]),marginTop:O.oneOf(["none","small","medium","large","extra-large"]),marginRight:O.oneOf(["none","small","medium","large","extra-large"]),marginBottom:O.oneOf(["none","small","medium","large","extra-large"]),marginLeft:O.oneOf(["none","small","medium","large","extra-large"]),paddingTop:O.oneOf(["none","small","medium","large","extra-large"]),paddingRight:O.oneOf(["none","small","medium","large","extra-large"]),paddingBottom:O.oneOf(["none","small","medium","large","extra-large"]),paddingLeft:O.oneOf(["none","small","medium","large","extra-large"]),onClick:O.func},exports.AppShell=({children:e})=>React.createElement("div",{className:"cp-app-shell"},e),exports.Badge=j,exports.Button=Y,exports.Container=G,exports.FormControls=W,exports.Icon=J,exports.Modal=({children:n})=>e.createElement("p",{className:"cp-modal"},n),exports.Typography=S;
|
|
14
|
+
*/function x(){if(f)return p;f=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;return p=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 d=0;d<i.length;d++)t.call(a,i[d])&&(l[i[d]]=a[i[d]])}}return l},p}function w(){return _?g:(_=1,g=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var E=C();i.exports=function(){if(v)return b;v=1;var e=C(),n=x(),t=l(),r=w(),o=function(){if(h)return y;h=1;var e=function(){};if("production"!==process.env.NODE_ENV){var n=l(),t={},r=w();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 d;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}d=o[u](a,u,l,i,null,n)}catch(e){d=e}if(!d||d 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 d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in t)){t[d.message]=!0;var s=m?m():"";e("Failed "+i+" type: "+d.message+(null!=s?s:""))}}}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){}}),b=function(l,m){var u="function"==typeof Symbol&&Symbol.iterator,d="@@iterator",c="<<anonymous>>",s={array:_("array"),bigint:_("bigint"),bool:_("boolean"),func:_("function"),number:_("number"),object:_("object"),string:_("string"),symbol:_("symbol"),any:g(i),arrayOf:function(e){return g((function(n,r,o,a,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var l=n[r];if(!Array.isArray(l))return new f("Invalid "+a+" `"+i+"` of type `"+b(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:g((function(e,n,t,r,o){var a=e[n];return l(a)?null:new f("Invalid "+r+" `"+o+"` of type `"+b(a)+"` supplied to `"+t+"`, expected a single ReactElement.")})),elementType:g((function(n,t,r,o,a){var i=n[t];return e.isValidElementType(i)?null:new f("Invalid "+o+" `"+a+"` of type `"+b(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return g((function(n,t,r,o,a){if(!(n[t]instanceof e)){var i=e.name||c;return new f("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:g((function(e,n,t,r,o){return h(e[n])?null:new f("Invalid "+r+" `"+o+"` supplied to `"+t+"`, expected a ReactNode.")})),objectOf:function(e){return g((function(n,o,a,i,l){if("function"!=typeof e)return new f("Property `"+l+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var m=n[o],u=b(m);if("object"!==u)return new f("Invalid "+i+" `"+l+"` of type `"+u+"` supplied to `"+a+"`, expected an object.");for(var d in m)if(r(m,d)){var c=e(m,d,a,i,l+"."+d,t);if(c instanceof Error)return c}return null}))},oneOf:function(e){return Array.isArray(e)?g((function(n,t,r,o,a){for(var i=n[t],l=0;l<e.length;l++)if(p(i,e[l]))return null;var m=JSON.stringify(e,(function(e,n){return"symbol"===v(n)?String(n):n}));return new f("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 g((function(n,o,a,i,l){for(var m=[],u=0;u<e.length;u++){var d=(0,e[u])(n,o,a,i,l,t);if(null==d)return null;d.data&&r(d.data,"expectedType")&&m.push(d.data.expectedType)}return new f("Invalid "+i+" `"+l+"` supplied to `"+a+"`"+(m.length>0?", expected one of type ["+m.join(", ")+"]":"")+".")}))},shape:function(e){return g((function(n,r,o,a,i){var l=n[r],m=b(l);if("object"!==m)return new f("Invalid "+a+" `"+i+"` of type `"+m+"` supplied to `"+o+"`, expected `object`.");for(var u in e){var d=e[u];if("function"!=typeof d)return y(o,a,i,u,v(d));var c=d(l,u,o,a,i+"."+u,t);if(c)return c}return null}))},exact:function(e){return g((function(o,a,i,l,m){var u=o[a],d=b(u);if("object"!==d)return new f("Invalid "+l+" `"+m+"` of type `"+d+"` supplied to `"+i+"`, expected `object`.");var c=n({},o[a],e);for(var s in c){var p=e[s];if(r(e,s)&&"function"!=typeof p)return y(i,l,m,s,v(p));if(!p)return new f("Invalid "+l+" `"+m+"` key `"+s+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var g=p(u,s,i,l,m+"."+s,t);if(g)return g}return null}))}};function p(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}function f(e,n){this.message=e,this.data=n&&"object"==typeof n?n:{},this.stack=""}function g(e){if("production"!==process.env.NODE_ENV)var n={},r=0;function o(o,i,l,u,d,s,p){if(u=u||c,s=s||l,p!==t){if(m){var g=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 g.name="Invariant Violation",g}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 `"+s+"` 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 f("The "+d+" `"+s+"` is marked as required in `"+u+"`, but its value is `null`."):new f("The "+d+" `"+s+"` is marked as required in `"+u+"`, but its value is `undefined`."):null:e(i,l,u,d,s)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function _(e){return g((function(n,t,r,o,a,i){var l=n[t];return b(l)!==e?new f("Invalid "+o+" `"+a+"` of type `"+v(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function y(e,n,t,r,o){return new f((e||"React class")+": "+n+" type `"+t+"."+r+"` 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||l(e))return!0;var n=function(e){var n=e&&(u&&e[u]||e[d]);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(!h(t.value))return!1}else for(;!(t=r.next()).done;){var o=t.value;if(o&&!h(o[1]))return!1}return!0;default:return!1}}function b(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=b(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 f.prototype=Error.prototype,s.checkPropTypes=o,s.resetWarningCache=o.resetWarningCache,s.PropTypes=s,s},b}()(E.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 O=n(i.exports),T={"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=`${T[`margin-top-${r}`]} ${T[`margin-right-${o}`]} ${T[`margin-bottom-${a}`]} ${T[`margin-left-${i}`]}`;switch(t){case"h1":return e.createElement("h1",{className:`${T["cp-typography"]} ${T[t]} ${l}`},n);case"h2":return e.createElement("h2",{className:`${T["cp-typography"]} ${T[t]} ${l}`},n);case"h3":return e.createElement("h3",{className:`${T["cp-typography"]} ${T[t]} ${l}`},n);case"h4":return e.createElement("h4",{className:`${T["cp-typography"]} ${T[t]} ${l}`},n);case"h5":return e.createElement("h5",{className:`${T["cp-typography"]} ${T[t]} ${l}`},n);case"h6":return e.createElement("h6",{className:`${T["cp-typography"]} ${T[t]} ${l}`},n);default:return e.createElement("p",{className:`${T["cp-typography"]} ${T[t]} ${l}`},n)}};S.propTypes={variant:O.oneOf(["h1","h2","h3","h4","h5","h6","p"]),marginTop:O.oneOf(["none","small","medium","large","extra-large"]),marginRight:O.oneOf(["none","small","medium","large","extra-large"]),marginBottom:O.oneOf(["none","small","medium","large","extra-large"]),marginLeft:O.oneOf(["none","small","medium","large","extra-large"])};var N={"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 j=({label:n,variant:t="default"})=>e.createElement("p",{className:`${N["cp-badge"]} ${N[t]}`},n);j.propTypes={label:O.string,size:O.oneOf(["small","medium","large"]),variant:O.oneOf(["default","info","warning","error","success"])};var B="FormControls-module_cp-form-field__rvJuX",k="FormControls-module_cp-form-field-fluid__4OlPJ",P="FormControls-module_cp-form-label__ipGaH",R="FormControls-module_cp-form-control__KFQ-6",I="FormControls-module_cp-form-control-error__FG8To",F="FormControls-module_cp-form-error-message__7h2ZR",D="FormControls-module_cp-textarea-field__-u6Jy",A="FormControls-module_cp-select-field__A22qi",V="FormControls-module_cp-select-field-header__x-V6H",L="FormControls-module_cp-select-field-header-open__-yeCb",M="FormControls-module_cp-select-field-options__TCRwC",q="FormControls-module_cp-select-field-options-top__MUGf4",U="FormControls-module_cp-select-field-options-bottom__PKVjk",z="FormControls-module_cp-select-field-option__16WXY";var H={"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 J=({name:n="",size:t="medium",className:r="",color:o="black"})=>e.createElement("span",{className:`${H["cp-icon"]} ${H[t]} ${H[o]} ${r}`},n);J.propTypes={name:O.string,size:O.oneOf(["small","medium","large"]),color:O.oneOf(["black","white","gray","blue"])};var W={Input:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,isRequired:m=!1,isFluid:u=!1,type:d="text",className:c="",placeholder:s="",error:p=""})=>{const f=`${B} ${`${u?k:""}`} ${c}`,g=`${R} ${p?`${I}`:""}`;return e.createElement("div",{className:f},i&&e.createElement("label",{className:P},i," ",m&&e.createElement("span",null,"*")),e.createElement("input",{className:g,type:d,disabled:l,name:n,id:t,defaultValue:o,placeholder:s,value:a,onChange:e=>{r&&r(e)}}),p&&e.createElement("p",{className:F},p))},TextArea:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,isRequired:m=!1,isFluid:u=!1,className:d="",placeholder:c="",error:s=""})=>{const p=`${B} ${d} ${`${u?k:""}`}`,f=`${R} ${D} ${s?`${I}`:""}`;return e.createElement("div",{className:p},i&&e.createElement("label",{className:P},i," ",m&&e.createElement("span",null,"*")),e.createElement("textarea",{className:f,disabled:l,name:n,id:t,defaultValue:o,placeholder:c,value:a,onChange:e=>{r&&r(e)}}),s&&e.createElement("p",{className:F},s))},File:({name:n,id:t,onChange:r,defaultValue:o,value:a,label:i="",isDisabled:l=!1,type:m="text",className:u=""})=>{const d=`cp-form-field cp-input-field ${u}`;return e.createElement("div",{className:d},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,className:m="",options:u=[],isRequired:d=!1,placeholder:c="Select an option",error:s="",isFluid:p=!1})=>{const f=`${B} ${`${p?k:""}`} ${m}`,[g,_]=e.useState(!1),[y,h]=e.useState(""),[b,v]=e.useState(!1),$=e.useRef(null),C=b?`${q}`:`${U}`,x=`${V} ${g?`${L}`:""}`;return e.useEffect((()=>{const e=e=>{$.current&&!$.current.contains(e.target)&&_(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[]),e.useEffect((()=>{if($.current){const e=$.current.getBoundingClientRect(),n=window.innerHeight;v(e.bottom>n)}}),[g]),e.createElement("div",{className:f},i&&e.createElement("label",{className:P},i," ",d&&e.createElement("span",null,"*")),e.createElement("div",{className:A,ref:$},e.createElement("div",{className:x,onClick:()=>_(!g)},e.createElement("span",null,y.label||c),e.createElement(J,{name:g?"arrow_drop_up":"arrow_drop_down",className:"arrow "+(g?"up":"down")})),g&&e.createElement("div",{className:`${M} ${C}`},u.map((n=>e.createElement("div",{key:n.value,className:z,onClick:e=>{return o=n,(t=e).stopPropagation(),t.preventDefault(),h(o),"function"==typeof r&&r(o),void _(!1);var t,o}},n.label))))),s&&e.createElement("p",{className:F},s))}},X={"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-fluid":"Button-module_cp-button-fluid__lZE3X","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 Y=({children:n,isLoading:t=!1,isDisabled:r=!1,isFluid:o=!1,size:a="medium",variant:i="solid",marginTop:l="none",marginRight:m="none",marginBottom:u="none",marginLeft:d="none",onClick:c})=>{const s=`${o?X["cp-button-fluid"]:""}`,p=`${X[`margin-top-${l}`]} ${X[`margin-right-${m}`]} ${X[`margin-bottom-${u}`]} ${X[`margin-left-${d}`]}`;return e.createElement("button",{className:`${X["cp-button"]} ${s} ${X[i]} ${X[a]} ${r?X.disabled:""} ${t?X.loading:""} ${p}`,onClick:e=>(e=>{r||t?e.preventDefault():"function"==typeof c&&c(e)})(e)},t&&e.createElement(J,{name:"progress_activity",className:X["cp-button-loader"]}),n)};Y.propTypes={size:O.oneOf(["small","medium"]),variant:O.oneOf(["solid","outline"]),isDisabled:O.bool,isLoading:O.bool,marginTop:O.oneOf(["none","small","medium","large","extra-large"]),marginRight:O.oneOf(["none","small","medium","large","extra-large"]),marginBottom:O.oneOf(["none","small","medium","large","extra-large"]),marginLeft:O.oneOf(["none","small","medium","large","extra-large"]),onClick:O.func};var K={"cp-container":"Container-module_cp-container__WrTi0",border:"Container-module_border__xE-bJ","width-small":"Container-module_width-small__xgrY7","width-medium":"Container-module_width-medium__-st6E","width-large":"Container-module_width-large__F5b-N","width-extra-large":"Container-module_width-extra-large__aI-u5","width-quarter":"Container-module_width-quarter__WDFs7","width-one-third":"Container-module_width-one-third__oaNlD","width-haf":"Container-module_width-haf__F5eEy","width-three-quarters":"Container-module_width-three-quarters__mtvAf","width-full":"Container-module_width-full__dU4Xj","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 G=({children:n,marginTop:t="",marginRight:r="",marginBottom:o="",marginLeft:a="",paddingTop:i="medium",paddingRight:l="medium",paddingBottom:m="medium",paddingLeft:u="medium",display:d="",align:c="",justify:s="",width:p="",showBorder:f=!1,className:g="",onClick:_})=>{const y=d?`display-${d}`:"",h=d?`justify-${s}`:"",b=c?`align-${c}`:"",v=p?`width-${p}`:"",$=f?"border":"",C=t?`margin-top-${t}`:"",x=r?`margin-right-${r}`:"",w=o?`margin-bottom-${o}`:"",E=a?`margin-left-${a}`:"",O=`${C?K[C]:""} ${x?K[x]:""} ${w?K[w]:""} ${E?K[E]:""}`,T=i?`padding-top-${i}`:"",S=l?`padding-right-${l}`:"",N=m?`padding-bottom-${m}`:"",j=u?`padding-left-${u}`:"",B=`${T?K[T]:""} ${S?K[S]:""} ${N?K[N]:""} ${j?K[j]:""}`,k=y?`${K[y]}`:"",P=b?`${K[b]}`:"",R=h?`${K[h]}`:"",I=v?`${K[v]}`:"",F=$?`${K[$]}`:"";return e.createElement("div",{className:`${K["cp-container"]} ${I} ${O} ${B} ${F} ${k} ${P} ${R} ${g}`,onClick:e=>(e=>{"function"==typeof _&&_(e)})(e)},n)};G.propTypes={display:O.oneOf(["inline-block","block","flex"]),width:O.oneOf(["small","medium","large","extra-large","quarter","half","three-quarters","full"]),showBorder:O.bool,justify:O.oneOf(["space-between","center","space-around","space-evenly"]),align:O.oneOf(["start","center","end"]),marginTop:O.oneOf(["none","small","medium","large","extra-large"]),marginRight:O.oneOf(["none","small","medium","large","extra-large"]),marginBottom:O.oneOf(["none","small","medium","large","extra-large"]),marginLeft:O.oneOf(["none","small","medium","large","extra-large"]),paddingTop:O.oneOf(["none","small","medium","large","extra-large"]),paddingRight:O.oneOf(["none","small","medium","large","extra-large"]),paddingBottom:O.oneOf(["none","small","medium","large","extra-large"]),paddingLeft:O.oneOf(["none","small","medium","large","extra-large"]),onClick:O.func},exports.AppShell=({children:e})=>React.createElement("div",{className:"cp-app-shell"},e),exports.Badge=j,exports.Button=Y,exports.Container=G,exports.FormControls=W,exports.Icon=J,exports.Modal=({children:n})=>e.createElement("p",{className:"cp-modal"},n),exports.Typography=S;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cleanplate",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"description": "CleanPlate - A Headless React UI Framework",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"bugs": {
|
|
24
24
|
"url": "https://github.com/sivadass/cleanplate/issues"
|
|
25
25
|
},
|
|
26
|
-
"homepage": "https://
|
|
26
|
+
"homepage": "https://cleanplate.sivadass.in",
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/preset-react": "^7.23.3",
|
|
29
29
|
"@rollup/plugin-babel": "^6.0.4",
|