@hai-dev/ui-kit 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/button.css +1 -1
- package/dist/assets/circular-progress-loader.css +1 -1
- package/dist/assets/code-input.css +1 -1
- package/dist/assets/error-upload-dialog.css +1 -1
- package/dist/assets/upload-dialog-errors.css +1 -1
- package/dist/button.module-BnTmlu-U.js +40 -0
- package/dist/components/button/button-content.js +8 -8
- package/dist/components/button/button.js +21 -22
- package/dist/components/button/utils/get-button-classnames.js +10 -10
- package/dist/components/circular-progress-loader/circular-progress-loader.js +25 -28
- package/dist/components/code-input/code-input.js +114 -915
- package/dist/components/code-input/types.d.ts +1 -0
- package/dist/components/photo-crop-uploader/components/error-upload-dialog/error-upload-dialog.js +26 -94
- package/dist/components/photo-crop-uploader/components/photo-list/photo-list.js +38 -120
- package/dist/components/photo-crop-uploader/components/upload-button/upload-button.js +16 -16
- package/dist/components/photo-crop-uploader/components/upload-dialog/upload-dialog-errors.js +4 -5
- package/dist/components/photo-crop-uploader/components/upload-dialog/upload-dialog.js +111 -403
- package/dist/components/photo-crop-uploader/photo-crop-uploader.js +12 -12
- package/dist/components/photo-crop-uploader/utils/draw-cropped-image.js +8 -8
- package/dist/components/photo-crop-uploader/utils/get-cropped-source.js +10 -10
- package/dist/components/photo-crop-uploader/utils/get-default-cropped-photo.js +10 -10
- package/dist/components/photo-crop-uploader/utils/get-photo-crop.js +18 -18
- package/dist/upload-dialog-errors-B7V0G-Ey.js +71 -0
- package/package.json +1 -1
- package/dist/Box-BgNAyP2L.js +0 -56
- package/dist/Button-DTV8ztWw.js +0 -660
- package/dist/ButtonBase-C4krg_zd.js +0 -913
- package/dist/CircularProgress-BoaEg4rF.js +0 -274
- package/dist/Dialog-BK9lMUKV.js +0 -2632
- package/dist/DialogTitle-ByUfLB5M.js +0 -254
- package/dist/Typography-BMyz0ZCh.js +0 -255
- package/dist/assets/inter.css +0 -1
- package/dist/button.module-C0UNQnBk.js +0 -40
- package/dist/chainPropTypes-DgqFdXGi.js +0 -532
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createTheme-BoOmbNvy.js +0 -4119
- package/dist/extendSxProp-BaUCVMKV.js +0 -50
- package/dist/index-CcueJ2sD.js +0 -432
- package/dist/index-YnD2EP-S.js +0 -43
- package/dist/index-h5oTv8GF.js +0 -91
- package/dist/isHostComponent-Dm_U9uOy.js +0 -14
- package/dist/memoTheme-BYBJ2Fe6.js +0 -15
- package/dist/refType-CsohaiiT.js +0 -60
- package/dist/upload-dialog-errors-CCRxzIZp.js +0 -367
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useId-CK6Kn3Tn.js +0 -21
package/dist/assets/button.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._button_np1tt_1{display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:var(--font-inter, sans-serif);transition:opacity .3s}._button_np1tt_1 ._startContent_np1tt_9{width:auto!important;margin-right:8px;display:flex;align-items:center;justify-content:center}._button_np1tt_1 ._text_np1tt_16{width:auto!important}._button_np1tt_1 ._endContent_np1tt_19{width:auto!important;margin-left:8px;display:flex;align-items:center;justify-content:center}._button_np1tt_1 ._link_np1tt_26{color:#fff;height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}._button_np1tt_1 ._description_np1tt_35{font-size:14px;color:#fff;align-self:flex-end}@media(max-width:1280px){._button_np1tt_1 ._description_np1tt_35{font-size:14px}}._button_np1tt_1 ._text_np1tt_16{width:auto!important;display:flex;align-items:center}._button_np1tt_1 ._text_np1tt_16._withDescription_np1tt_50{margin-right:32px}._button_np1tt_1._specific_np1tt_53{color:#fff;border-radius:12px}._button_np1tt_1._default_np1tt_57{height:70px;padding:0 12px;font-size:24px;letter-spacing:2%}@media(max-width:1280px){._button_np1tt_1._default_np1tt_57{height:36px;padding:0 4px;font-size:14px}}._button_np1tt_1._medium_np1tt_70{height:65px;padding:0 12px;font-size:28px;letter-spacing:2%}@media(max-width:1280px){._button_np1tt_1._medium_np1tt_70{height:36px;padding:0 4px;font-size:14px}}._button_np1tt_1._smallMedium_np1tt_83{height:60px;padding:0 12px;font-size:16px}@media(max-width:1280px){._button_np1tt_1._smallMedium_np1tt_83{min-height:36px;padding:0 4px;font-size:14px}}._button_np1tt_1._small_np1tt_83{height:48px;padding:0 8px;font-size:16px}@media(max-width:1280px){._button_np1tt_1._small_np1tt_83{min-height:36px;padding:0 4px;font-size:14px}}._button_np1tt_1._smaller_np1tt_107{height:40px;padding:0 8px;font-size:16px}@media(max-width:1280px){._button_np1tt_1._smaller_np1tt_107{min-height:36px;padding:0 4px;font-size:14px}}._button_np1tt_1._smallest_np1tt_119{height:34px;padding:0 8px;font-size:16px}@media(max-width:1280px){._button_np1tt_1._smallest_np1tt_119{min-height:30px;padding:0 4px;font-size:14px}}._button_np1tt_1._tiny_np1tt_131{height:28px;padding:0 8px;font-size:16px}@media(max-width:1280px){._button_np1tt_1._tiny_np1tt_131{min-height:24px;padding:0 4px;font-size:14px}}._button_np1tt_1._filled_np1tt_143._white_np1tt_143{background-color:#fff;color:#1a1a1a}._button_np1tt_1._filled_np1tt_143._white_np1tt_143 ._link_np1tt_26{color:#1a1a1a}._button_np1tt_1._filled_np1tt_143._white_np1tt_143 ._description_np1tt_35{color:#303030cc}._button_np1tt_1._filled_np1tt_143._dark_np1tt_153{background-color:#22202a;color:#fff}._button_np1tt_1._filled_np1tt_143._dark_np1tt_153 ._link_np1tt_26,._button_np1tt_1._filled_np1tt_143._dark_np1tt_153 ._description_np1tt_35{color:#fff}._button_np1tt_1._filled_np1tt_143._darkerBlue_np1tt_163{background-color:#3aa8ff1a;color:#3aa8ff}._button_np1tt_1._filled_np1tt_143._darkerBlue_np1tt_163 ._link_np1tt_26{color:#3aa8ff}._button_np1tt_1._filled_np1tt_143._blue_np1tt_170{background-color:#3aa8ff;color:#fff}._button_np1tt_1._filled_np1tt_143._blue_np1tt_170 ._description_np1tt_35{color:#fff}._button_np1tt_1._filled_np1tt_143._red_np1tt_177{background-color:#e2402fe0;color:#fff}._button_np1tt_1._filled_np1tt_143._red_np1tt_177 ._link_np1tt_26{color:#fff}._button_np1tt_1._filled_np1tt_143._lightRed_np1tt_184{background-color:#e2402f4d;color:#e2402f}._button_np1tt_1._filled_np1tt_143._gray_np1tt_188{background-color:#ffffff24;color:#fff}._button_np1tt_1._filled_np1tt_143._darkGray_np1tt_192{background-color:#8b97a81a;color:#fff}._button_np1tt_1._filled_np1tt_143._lightGray_np1tt_196{background-color:#f2f3f5;color:#1a1a1a}._button_np1tt_1._filled_np1tt_143._darkBlue_np1tt_200{background-color:#0072b7;color:#fff}._button_np1tt_1._filled_np1tt_143._darkBlue_np1tt_200 ._description_np1tt_35{color:#fff}._button_np1tt_1._filled_np1tt_143._lightGreen_np1tt_207{background-color:#24b8304d;color:#24b830}._button_np1tt_1._filled_np1tt_143._green_np1tt_211{background-color:#26cc311a;color:#26cc31e0}._button_np1tt_1._filled_np1tt_143._orange_np1tt_215{background-color:#e28e2f;color:#000}._button_np1tt_1._filled_np1tt_143._darkOrange_np1tt_219{background-color:#ffa33a1a;color:#ffa33a}._button_np1tt_1._outlined_np1tt_223{color:#fff}._button_np1tt_1._outlined_np1tt_223._white_np1tt_143{border:1px solid #ffffff}._button_np1tt_1._outlined_np1tt_223._dark_np1tt_153{border:1px solid #22202a}._button_np1tt_1._outlined_np1tt_223._gray_np1tt_188{border:1px solid rgba(255,255,255,.14)}._button_np1tt_1._outlined_np1tt_223._blue_np1tt_170{color:#6bbeff;border:1px solid #6bbeff;box-shadow:0 0 20px #3aa8ff33}._button_np1tt_1._outlined_np1tt_223._blue_np1tt_170 ._link_np1tt_26{color:#6bbeff}._button_np1tt_1._outlined_np1tt_223._blue_np1tt_170 ._text_np1tt_16,._button_np1tt_1._outlined_np1tt_223._blue_np1tt_170 ._startContent_np1tt_9,._button_np1tt_1._outlined_np1tt_223._blue_np1tt_170 ._endContent_np1tt_19{filter:drop-shadow(0 0 10px rgba(58,168,255,.2))}._button_np1tt_1._outlined_np1tt_223._orange_np1tt_215{border:1px solid #ef842b;color:#ef842b;box-shadow:0 0 20px #ef842b33}._button_np1tt_1._outlined_np1tt_223._orange_np1tt_215 ._link_np1tt_26{color:#ef842b}._button_np1tt_1._outlined_np1tt_223._orange_np1tt_215 ._text_np1tt_16,._button_np1tt_1._outlined_np1tt_223._orange_np1tt_215 ._startContent_np1tt_9,._button_np1tt_1._outlined_np1tt_223._orange_np1tt_215 ._endContent_np1tt_19{filter:drop-shadow(0 0 10px rgba(239,132,43,.2))}._button_np1tt_1._outlined_np1tt_223._red_np1tt_177{color:#e2402fe0;border:1px solid rgba(226,64,47,.88);box-shadow:0 0 20px #e2402f33}._button_np1tt_1._outlined_np1tt_223._red_np1tt_177 ._text_np1tt_16,._button_np1tt_1._outlined_np1tt_223._red_np1tt_177 ._startContent_np1tt_9,._button_np1tt_1._outlined_np1tt_223._red_np1tt_177 ._endContent_np1tt_19{filter:drop-shadow(0 0 10px rgba(226,64,47,.2))}._button_np1tt_1._outlined_np1tt_223._darkBlue_np1tt_200{color:#0072b7;border:1px solid #0072b7}._button_np1tt_1._outlined_np1tt_223._darkBlue_np1tt_200 ._link_np1tt_26{color:#0072b7}._button_np1tt_1._outlined_np1tt_223._red_np1tt_177{color:#e2402fe0;border:1px solid rgba(226,64,47,.88)}._button_np1tt_1._outlined_np1tt_223._red_np1tt_177 ._link_np1tt_26{color:#e2402fe0}._button_np1tt_1._text_np1tt_16._white_np1tt_143{color:#ffffffe0}._button_np1tt_1._text_np1tt_16._dark_np1tt_153{color:#22202a}._button_np1tt_1._text_np1tt_16._gray_np1tt_188{color:#fff}._button_np1tt_1._text_np1tt_16._blue_np1tt_170{color:#3aa8ff}._button_np1tt_1._text_np1tt_16._darkBlue_np1tt_200{color:#0072b7}._button_np1tt_1._text_np1tt_16._red_np1tt_177{color:#e2402fe0}._button_np1tt_1._disabled_np1tt_313{opacity:.6}._button_np1tt_1._noTextTransform_np1tt_316{text-transform:none}._button_np1tt_1._uppercase_np1tt_319{text-transform:uppercase}._button_np1tt_1._leftSide_np1tt_322{align-items:flex-start;justify-content:center;padding-left:12px}._button_np1tt_1._leftSide_np1tt_322 ._link_np1tt_26{align-items:flex-start;justify-content:center}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._circularProgressLoader_1nqyx_1{position:relative;display:inline-flex}._circularProgressLoader_1nqyx_1 ._progress_1nqyx_5{color:#3aa8ff}._circularProgressLoader_1nqyx_1 ._labelContainer_1nqyx_8{inset:0;position:absolute;display:flex;align-items:center;justify-content:center}._circularProgressLoader_1nqyx_1 ._labelContainer_1nqyx_8 ._labelText_1nqyx_18{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:700;font-family:var(--font-inter, sans-serif);font-size:28px;line-height:100%;color:#3aa8ff}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._codeInput_1iq1n_1{display:flex;gap:12px}._codeInput_1iq1n_1._isPatient_1iq1n_5 ._codeInputItem_1iq1n_5{height:60px;background-color:#ecedef;border-color:inherit;color:#303030}._codeInput_1iq1n_1 ._codeInputItem_1iq1n_5{width:50px;height:50px;background-color:#f2f3f51a;border:1px solid;border-color:#e6e6e61a;color:#fff;border-radius:12px;font-family:var(--font-inter, sans-serif);font-size:20px;line-height:150%;font-weight:600;transition:border-color .3s ease}._codeInput_1iq1n_1 ._codeInputItem_1iq1n_5 input{text-align:center}._codeInput_1iq1n_1 ._codeInputItem_1iq1n_5.Mui-focused{border-color:#e6e6e6}@media(max-width:767px){._codeInput_1iq1n_1 ._codeInputItem_1iq1n_5{width:44px}}@media(max-width:575px){._codeInput_1iq1n_1{gap:8px}._codeInput_1iq1n_1 ._codeInputItem_1iq1n_5{width:44px}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._dialog_1l401_1{font-family:var(--font-inter, sans-serif);z-index:4250!important}._dialog_1l401_1._dark_1l401_5 .MuiPaper-root{background-color:#191b28;color:#fff}._dialog_1l401_1._dark_1l401_5 .MuiPaper-root ._dialogErrorText_1l401_9::-webkit-scrollbar{height:8px;width:8px}._dialog_1l401_1._dark_1l401_5 .MuiPaper-root ._dialogErrorText_1l401_9::-webkit-scrollbar-track{background:#070e1d;border-radius:16px}._dialog_1l401_1._dark_1l401_5 .MuiPaper-root ._dialogErrorText_1l401_9::-webkit-scrollbar-thumb{background-color:#ffffff24;border-radius:16px}@media(max-width:767px){._dialogErrorText_1l401_9{font-size:18px}}@media(max-width:575px){._dialogErrorText_1l401_9{font-size:16px}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._dialog_c18v1_1{font-family:var(--font-inter, sans-serif);z-index:4250!important}._dialog_c18v1_1._dark_c18v1_5 .MuiPaper-root{background-color:#191b28;color:#fff}._dialog_c18v1_1._dark_c18v1_5 .MuiPaper-root ._errorContent_c18v1_9::-webkit-scrollbar{height:8px;width:8px}._dialog_c18v1_1._dark_c18v1_5 .MuiPaper-root ._errorContent_c18v1_9::-webkit-scrollbar-track{background:#070e1d;border-radius:16px}._dialog_c18v1_1._dark_c18v1_5 .MuiPaper-root ._errorContent_c18v1_9::-webkit-scrollbar-thumb{background-color:#ffffff24;border-radius:16px}._dialog_c18v1_1 .MuiPaper-root{border-radius:24px;padding:48px;max-width:100%;max-height:100%;display:flex;flex-direction:column;overflow:hidden}._dialog_c18v1_1 .MuiPaper-root::-webkit-scrollbar{height:8px;width:8px}._dialog_c18v1_1 .MuiPaper-root::-webkit-scrollbar-track{background:#070e1d;border-radius:16px}._dialog_c18v1_1 .MuiPaper-root::-webkit-scrollbar-thumb{background-color:#ffffff24;border-radius:16px}._dialog_c18v1_1 .MuiPaper-root ._errorContent_c18v1_9::-webkit-scrollbar{height:8px;width:8px}._dialog_c18v1_1 .MuiPaper-root ._errorContent_c18v1_9::-webkit-scrollbar-track{background:#070e1d;border-radius:16px}._dialog_c18v1_1 .MuiPaper-root ._errorContent_c18v1_9::-webkit-scrollbar-thumb{background-color:#ffffff24;border-radius:16px}._dialog_c18v1_1 .MuiPaper-root ._errorContent_c18v1_9{margin:32px 0 24px;display:flex;flex-direction:column;padding:0;gap:16px}._dialog_c18v1_1 .MuiPaper-root ._errorContent_c18v1_9 ._errorItem_c18v1_61{font-size:22px;letter-spacing:0%;line-height:150%;font-weight:500;color:#e2402fe0}._dialog_c18v1_1 .MuiPaper-root ._errorContent_c18v1_9 ._errorItem_c18v1_61 ._fileName_c18v1_68{font-weight:700}._dialog_c18v1_1 .MuiPaper-root ._topActions_c18v1_71{position:absolute;right:0;top:0;padding:32px}._dialog_c18v1_1 .MuiPaper-root ._topActions_c18v1_71 ._close_c18v1_77{width:40px;height:40px}._dialog_c18v1_1 .MuiPaper-root ._topActions_c18v1_71 ._close_c18v1_77 img{width:22px;height:22px}._dialog_c18v1_1 .MuiPaper-root ._botActions_c18v1_85{padding:0;display:flex;justify-content:space-between;gap:8px}._dialog_c18v1_1 .MuiPaper-root ._botActions_c18v1_85 ._button_c18v1_91{width:100%;text-transform:none;margin-left:0}._dialog_c18v1_1 .MuiPaper-root ._title_c18v1_96{padding:0;font-weight:600;font-size:32px;line-height:100%;margin-right:40px}._dialog_c18v1_1 .MuiPaper-root ._content_c18v1_103{max-height:100%;margin:32px 0 24px;padding:0;display:flex;flex:1;gap:12px;align-items:center;justify-content:center}._dialog_c18v1_1 .MuiPaper-root ._content_c18v1_103::-webkit-scrollbar{height:8px;width:8px}._dialog_c18v1_1 .MuiPaper-root ._content_c18v1_103::-webkit-scrollbar-track{background:#070e1d;border-radius:16px}._dialog_c18v1_1 .MuiPaper-root ._content_c18v1_103::-webkit-scrollbar-thumb{background-color:#ffffff24;border-radius:16px}._dialog_c18v1_1 .MuiPaper-root ._content_c18v1_103._many_c18v1_125{justify-content:space-between;align-items:stretch}._dialog_c18v1_1 .MuiPaper-root ._content_c18v1_103 ._crop_c18v1_129{max-height:670px;overflow:hidden}._dialog_c18v1_1 .MuiPaper-root ._content_c18v1_103 ._crop_c18v1_129 .ReactCrop__child-wrapper,._dialog_c18v1_1 .MuiPaper-root ._content_c18v1_103 ._crop_c18v1_129 .ReactCrop__crop-mask{border-radius:12px}@media(max-width:767px){._dialog_c18v1_1 .MuiPaper-root{padding:24px;margin:12px}._dialog_c18v1_1 .MuiPaper-root ._topActions_c18v1_71{position:absolute;right:0;top:0;padding:24px}._dialog_c18v1_1 .MuiPaper-root ._topActions_c18v1_71 ._close_c18v1_77{width:36px;height:36px}._dialog_c18v1_1 .MuiPaper-root ._topActions_c18v1_71 ._close_c18v1_77 img{width:20px;height:20px}._dialog_c18v1_1 .MuiPaper-root ._errorContent_c18v1_9{margin:16px 0 12px;gap:8px}._dialog_c18v1_1 .MuiPaper-root ._errorContent_c18v1_9 ._errorItem_c18v1_61{font-size:18px}._dialog_c18v1_1 .MuiPaper-root ._content_c18v1_103{flex-direction:column;margin:20px}._dialog_c18v1_1 .MuiPaper-root ._botActions_c18v1_85{flex-direction:column-reverse}._dialog_c18v1_1 .MuiPaper-root ._title_c18v1_96{font-size:20px;margin-right:36px}}._dialog_c18v1_1 .MuiPaper-root ._dialogText_c18v1_177{color:#e2402fe0}@media(max-width:575px){._dialog_c18v1_1 .MuiPaper-root{padding:16px;margin:8px}._dialog_c18v1_1 .MuiPaper-root ._content_c18v1_103{margin:12px}._dialog_c18v1_1 .MuiPaper-root ._topActions_c18v1_71{position:absolute;right:0;top:0;padding:8px}._dialog_c18v1_1 .MuiPaper-root ._topActions_c18v1_71 ._close_c18v1_77{width:32px;height:32px}._dialog_c18v1_1 .MuiPaper-root ._topActions_c18v1_71 ._close_c18v1_77 img{width:18px;height:18px}._dialog_c18v1_1 .MuiPaper-root ._errorContent_c18v1_9{margin:8px 0;gap:4px}._dialog_c18v1_1 .MuiPaper-root ._errorContent_c18v1_9 ._errorItem_c18v1_61{font-size:16px}._dialog_c18v1_1 .MuiPaper-root ._title_c18v1_96{font-size:16px;margin-right:32px}}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import './assets/button.css';const t = "_button_np1tt_1", n = "_startContent_np1tt_9", _ = "_text_np1tt_16", e = "_endContent_np1tt_19", s = "_link_np1tt_26", r = "_description_np1tt_35", l = "_withDescription_np1tt_50", o = "_specific_np1tt_53", a = "_medium_np1tt_70", i = "_smallMedium_np1tt_83", p = "_small_np1tt_83", c = "_smaller_np1tt_107", d = "_smallest_np1tt_119", u = "_tiny_np1tt_131", m = "_filled_np1tt_143", g = "_white_np1tt_143", k = "_dark_np1tt_153", h = "_darkerBlue_np1tt_163", f = "_blue_np1tt_170", y = "_red_np1tt_177", b = "_lightRed_np1tt_184", G = "_gray_np1tt_188", x = "_darkGray_np1tt_192", w = "_lightGray_np1tt_196", B = "_darkBlue_np1tt_200", C = "_lightGreen_np1tt_207", T = "_green_np1tt_211", D = "_orange_np1tt_215", M = "_darkOrange_np1tt_219", O = "_outlined_np1tt_223", R = "_disabled_np1tt_313", S = "_noTextTransform_np1tt_316", j = "_uppercase_np1tt_319", q = "_leftSide_np1tt_322", v = {
|
|
2
|
+
button: t,
|
|
3
|
+
startContent: n,
|
|
4
|
+
text: _,
|
|
5
|
+
endContent: e,
|
|
6
|
+
link: s,
|
|
7
|
+
description: r,
|
|
8
|
+
withDescription: l,
|
|
9
|
+
specific: o,
|
|
10
|
+
default: "_default_np1tt_57",
|
|
11
|
+
medium: a,
|
|
12
|
+
smallMedium: i,
|
|
13
|
+
small: p,
|
|
14
|
+
smaller: c,
|
|
15
|
+
smallest: d,
|
|
16
|
+
tiny: u,
|
|
17
|
+
filled: m,
|
|
18
|
+
white: g,
|
|
19
|
+
dark: k,
|
|
20
|
+
darkerBlue: h,
|
|
21
|
+
blue: f,
|
|
22
|
+
red: y,
|
|
23
|
+
lightRed: b,
|
|
24
|
+
gray: G,
|
|
25
|
+
darkGray: x,
|
|
26
|
+
lightGray: w,
|
|
27
|
+
darkBlue: B,
|
|
28
|
+
lightGreen: C,
|
|
29
|
+
green: T,
|
|
30
|
+
orange: D,
|
|
31
|
+
darkOrange: M,
|
|
32
|
+
outlined: O,
|
|
33
|
+
disabled: R,
|
|
34
|
+
noTextTransform: S,
|
|
35
|
+
uppercase: j,
|
|
36
|
+
leftSide: q
|
|
37
|
+
};
|
|
38
|
+
export {
|
|
39
|
+
v as s
|
|
40
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsxs as r, Fragment as p, jsx as
|
|
2
|
-
import
|
|
3
|
-
import { s as t } from "../../button.module-
|
|
1
|
+
import { jsxs as r, Fragment as p, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import s from "classnames";
|
|
3
|
+
import { s as t } from "../../button.module-BnTmlu-U.js";
|
|
4
4
|
const h = (a) => {
|
|
5
5
|
const { children: o, description: e, startContent: c, endContent: i } = a;
|
|
6
6
|
return /* @__PURE__ */ r(p, { children: [
|
|
7
|
-
/* @__PURE__ */ r("div", { className:
|
|
8
|
-
c && /* @__PURE__ */
|
|
9
|
-
/* @__PURE__ */
|
|
10
|
-
i && /* @__PURE__ */
|
|
7
|
+
/* @__PURE__ */ r("div", { className: s(t.text, e && t.withDescription), children: [
|
|
8
|
+
c && /* @__PURE__ */ n("span", { className: s(t.startContent, t.specific), children: c }),
|
|
9
|
+
/* @__PURE__ */ n("span", { className: t.text, children: o }),
|
|
10
|
+
i && /* @__PURE__ */ n("span", { className: s(t.endContent, t.specific), children: i })
|
|
11
11
|
] }),
|
|
12
|
-
/* @__PURE__ */
|
|
12
|
+
/* @__PURE__ */ n("span", { className: s(t.description), children: e })
|
|
13
13
|
] });
|
|
14
14
|
};
|
|
15
15
|
export {
|
|
@@ -1,53 +1,52 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { ButtonBase as U } from "@mui/material";
|
|
3
|
+
import x from "classnames";
|
|
3
4
|
import { ButtonContent as a } from "./button-content.js";
|
|
4
|
-
import { BUTTON_COLOR_GRAY as
|
|
5
|
-
import
|
|
6
|
-
import { s as A } from "../../button.module-C0UNQnBk.js";
|
|
7
|
-
import { B as D } from "../../ButtonBase-C4krg_zd.js";
|
|
5
|
+
import { BUTTON_COLOR_GRAY as I, BUTTON_SIZE_DEFAULT as g, BUTTON_VARIANT_OUTLINED as C, MIN_WIDTH_DEFAULT as E, BUTTON_WEIGHT_MEDIUM as A } from "./constants.js";
|
|
6
|
+
import { s as D } from "../../button.module-BnTmlu-U.js";
|
|
8
7
|
import { getButtonClassnames as L } from "./utils/get-button-classnames.js";
|
|
9
|
-
const
|
|
8
|
+
const H = (m) => {
|
|
10
9
|
const {
|
|
11
|
-
buttonColor:
|
|
12
|
-
buttonSize:
|
|
13
|
-
buttonVariant:
|
|
10
|
+
buttonColor: l = I,
|
|
11
|
+
buttonSize: T = g,
|
|
12
|
+
buttonVariant: c = C,
|
|
14
13
|
isLink: f,
|
|
15
14
|
href: o,
|
|
16
15
|
description: e,
|
|
17
16
|
className: p,
|
|
18
17
|
children: n,
|
|
19
|
-
minWidth: u =
|
|
20
|
-
sx:
|
|
21
|
-
buttonWeight:
|
|
18
|
+
minWidth: u = E,
|
|
19
|
+
sx: _,
|
|
20
|
+
buttonWeight: d = A,
|
|
22
21
|
startContent: r,
|
|
23
22
|
endContent: s,
|
|
24
23
|
disabled: i,
|
|
25
|
-
noTextTransform:
|
|
24
|
+
noTextTransform: B,
|
|
26
25
|
leftSide: N,
|
|
27
26
|
uppercase: h,
|
|
28
27
|
prefetch: W,
|
|
29
28
|
...b
|
|
30
|
-
} = m, O = Object.assign({},
|
|
29
|
+
} = m, O = Object.assign({}, _, {
|
|
31
30
|
minWidth: u,
|
|
32
|
-
fontWeight:
|
|
31
|
+
fontWeight: d
|
|
33
32
|
});
|
|
34
33
|
return /* @__PURE__ */ t(
|
|
35
|
-
|
|
34
|
+
U,
|
|
36
35
|
{
|
|
37
36
|
className: L({
|
|
38
37
|
className: p,
|
|
39
|
-
buttonColor:
|
|
40
|
-
buttonSize:
|
|
41
|
-
buttonVariant:
|
|
38
|
+
buttonColor: l,
|
|
39
|
+
buttonSize: T,
|
|
40
|
+
buttonVariant: c,
|
|
42
41
|
disabled: i,
|
|
43
|
-
noTextTransform:
|
|
42
|
+
noTextTransform: B,
|
|
44
43
|
leftSide: N,
|
|
45
44
|
uppercase: h
|
|
46
45
|
}),
|
|
47
46
|
sx: O,
|
|
48
47
|
disabled: i,
|
|
49
48
|
...b,
|
|
50
|
-
children: f && o ? /* @__PURE__ */ t("a", { className:
|
|
49
|
+
children: f && o ? /* @__PURE__ */ t("a", { className: x(D.link), href: o, draggable: !1, children: /* @__PURE__ */ t(
|
|
51
50
|
a,
|
|
52
51
|
{
|
|
53
52
|
description: e,
|
|
@@ -68,5 +67,5 @@ const V = (m) => {
|
|
|
68
67
|
);
|
|
69
68
|
};
|
|
70
69
|
export {
|
|
71
|
-
|
|
70
|
+
H as Button
|
|
72
71
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { s as t } from "../../../button.module-
|
|
1
|
+
import m from "classnames";
|
|
2
|
+
import { s as t } from "../../../button.module-BnTmlu-U.js";
|
|
3
3
|
const f = (e) => {
|
|
4
4
|
const {
|
|
5
|
-
className:
|
|
6
|
-
buttonColor:
|
|
5
|
+
className: o,
|
|
6
|
+
buttonColor: s,
|
|
7
7
|
buttonSize: r,
|
|
8
|
-
buttonVariant:
|
|
9
|
-
disabled:
|
|
8
|
+
buttonVariant: n,
|
|
9
|
+
disabled: a,
|
|
10
10
|
noTextTransform: i,
|
|
11
11
|
leftSide: c,
|
|
12
12
|
uppercase: l
|
|
@@ -14,14 +14,14 @@ const f = (e) => {
|
|
|
14
14
|
return m(
|
|
15
15
|
t.button,
|
|
16
16
|
t.specific,
|
|
17
|
-
t[
|
|
17
|
+
t[s],
|
|
18
18
|
t[r],
|
|
19
|
-
t[
|
|
20
|
-
|
|
19
|
+
t[n],
|
|
20
|
+
a && t.disabled,
|
|
21
21
|
i && t.noTextTransform,
|
|
22
22
|
c && t.leftSide,
|
|
23
23
|
l && t.uppercase,
|
|
24
|
-
|
|
24
|
+
o
|
|
25
25
|
);
|
|
26
26
|
};
|
|
27
27
|
export {
|
|
@@ -1,47 +1,44 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
1
|
+
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Box as a, CircularProgress as p, Typography as x } from "@mui/material";
|
|
3
|
+
import R from "classnames";
|
|
3
4
|
import { PERCENT_SYMBOL as T } from "../../constants.js";
|
|
4
|
-
import { CIRCULAR_PROGRESS_DEFAULT_VALUE as
|
|
5
|
-
import '../../assets/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
progress: P,
|
|
12
|
-
labelContainer: b,
|
|
13
|
-
labelText: d
|
|
14
|
-
}, k = (t) => {
|
|
5
|
+
import { CIRCULAR_PROGRESS_DEFAULT_VALUE as E, PROGRESS_VARIANT_DETERMINATE as l, CIRCULAR_PROGRESS_DEFAULT_SIZE as g } from "./constants.js";
|
|
6
|
+
import '../../assets/circular-progress-loader.css';const C = "_circularProgressLoader_1nqyx_1", L = "_progress_1nqyx_5", P = "_labelContainer_1nqyx_8", b = "_labelText_1nqyx_18", r = {
|
|
7
|
+
circularProgressLoader: C,
|
|
8
|
+
progress: L,
|
|
9
|
+
labelContainer: P,
|
|
10
|
+
labelText: b
|
|
11
|
+
}, y = (t) => {
|
|
15
12
|
const {
|
|
16
|
-
value:
|
|
17
|
-
variant: s =
|
|
18
|
-
size:
|
|
19
|
-
className:
|
|
13
|
+
value: o = E,
|
|
14
|
+
variant: s = l,
|
|
15
|
+
size: n = g,
|
|
16
|
+
className: c,
|
|
20
17
|
...i
|
|
21
|
-
} = t,
|
|
22
|
-
return /* @__PURE__ */
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
|
|
18
|
+
} = t, _ = `${Math.round(o)}${T}`;
|
|
19
|
+
return /* @__PURE__ */ m(a, { className: r.circularProgressLoader, children: [
|
|
20
|
+
/* @__PURE__ */ e(
|
|
21
|
+
p,
|
|
25
22
|
{
|
|
26
|
-
className:
|
|
23
|
+
className: R(r.progress, c),
|
|
27
24
|
enableTrackSlot: !0,
|
|
28
25
|
variant: s,
|
|
29
|
-
value:
|
|
30
|
-
size:
|
|
26
|
+
value: o,
|
|
27
|
+
size: n,
|
|
31
28
|
...i
|
|
32
29
|
}
|
|
33
30
|
),
|
|
34
|
-
s ===
|
|
35
|
-
|
|
31
|
+
s === l && /* @__PURE__ */ e(a, { className: r.labelContainer, children: /* @__PURE__ */ e(
|
|
32
|
+
x,
|
|
36
33
|
{
|
|
37
34
|
className: r.labelText,
|
|
38
35
|
variant: "caption",
|
|
39
36
|
component: "div",
|
|
40
|
-
children:
|
|
37
|
+
children: _
|
|
41
38
|
}
|
|
42
39
|
) })
|
|
43
40
|
] });
|
|
44
41
|
};
|
|
45
42
|
export {
|
|
46
|
-
|
|
43
|
+
y as CircularProgressLoader
|
|
47
44
|
};
|