@arthurzakharov/ui-kit 1.0.52 → 1.0.53
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-DZ6T9O3D.css +1 -0
- package/dist/assets/checkbox-BOAgvTCW.css +1 -0
- package/dist/assets/dropdown-DLXy_DVj.css +1 -0
- package/dist/assets/footer-NUuDxNN-.css +1 -0
- package/dist/assets/header-DUrwESVa.css +1 -0
- package/dist/assets/info-D53IeuxI.css +1 -0
- package/dist/assets/info-panel-BIiNm40w.css +1 -0
- package/dist/assets/input-Cckwgcro.css +1 -0
- package/dist/assets/label-bo2ALC-X.css +1 -0
- package/dist/assets/line-bZQwu8hc.css +1 -0
- package/dist/assets/main-CIxxGyFV.css +1 -0
- package/dist/assets/not-found-ZbA42G36.css +1 -0
- package/dist/assets/page-info-Bs3RDQxp.css +1 -0
- package/dist/assets/page-title-BjnleMqb.css +1 -0
- package/dist/assets/radio-text-DWahCkjT.css +1 -0
- package/dist/assets/sidebar-title-BQlVGM_v.css +1 -0
- package/dist/assets/step-CqA1H4j2.css +1 -0
- package/dist/assets/step-title-1uG3ODlr.css +1 -0
- package/dist/assets/steps-DFGoeyXm.css +1 -0
- package/dist/assets/textarea-ByqzZaxm.css +1 -0
- package/dist/assets/user-panel-BEeXLR6v.css +1 -0
- package/dist/components/control/components/button/button.component.js +43 -43
- package/dist/components/control/components/checkbox/checkbox.component.js +24 -24
- package/dist/components/control/components/dropdown/dropdown.component.js +33 -33
- package/dist/components/control/components/input/input.component.js +9 -9
- package/dist/components/control/components/label/label.component.js +13 -13
- package/dist/components/control/components/radio-text/radio-text.component.js +5 -5
- package/dist/components/control/components/textarea/textarea.component.js +18 -18
- package/dist/components/footer/footer.component.js +6 -6
- package/dist/components/header/header.component.js +25 -25
- package/dist/components/info-panel/info-panel.component.js +9 -9
- package/dist/components/line/line.component.js +3 -3
- package/dist/components/not-found/not-found.component.js +13 -13
- package/dist/components/sidebar/components/info/info.component.js +9 -9
- package/dist/components/sidebar/components/step/step.component.js +18 -18
- package/dist/components/sidebar/components/steps/steps.component.js +6 -6
- package/dist/components/text/components/page-info/page-info.component.js +1 -1
- package/dist/components/text/components/page-title/page-title.component.js +3 -3
- package/dist/components/text/components/sidebar-title/sidebar-title.component.js +1 -1
- package/dist/components/text/components/step-title/step-title.component.js +4 -4
- package/dist/components/user-panel/user-panel.component.js +12 -12
- package/dist/main.js +1 -1
- package/package.json +1 -1
- package/dist/assets/button-MNE41RxH.css +0 -1
- package/dist/assets/checkbox-BWTt8the.css +0 -1
- package/dist/assets/dropdown-BE2zB445.css +0 -1
- package/dist/assets/footer-BmRLU0Dk.css +0 -1
- package/dist/assets/header-D_UjUcnc.css +0 -1
- package/dist/assets/info-CjC17wJc.css +0 -1
- package/dist/assets/info-panel-DP7xgiJH.css +0 -1
- package/dist/assets/input-69-VoJEI.css +0 -1
- package/dist/assets/label-BwfE1izZ.css +0 -1
- package/dist/assets/line-6qClfE6s.css +0 -1
- package/dist/assets/main-C3Esf5IV.css +0 -1
- package/dist/assets/not-found-CMw2WVPk.css +0 -1
- package/dist/assets/page-info-DQWu7Lmf.css +0 -1
- package/dist/assets/page-title-BH7m2875.css +0 -1
- package/dist/assets/radio-text-B4Qx8pq3.css +0 -1
- package/dist/assets/sidebar-title-75iCn3V4.css +0 -1
- package/dist/assets/step-aCbFSgeN.css +0 -1
- package/dist/assets/step-title-XugimmRe.css +0 -1
- package/dist/assets/steps-C-5KF0tq.css +0 -1
- package/dist/assets/textarea-VM-QuRZR.css +0 -1
- package/dist/assets/user-panel-rIZL2mJR.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Button_1dpso_1{position:relative;box-sizing:border-box;border:none;display:flex;flex-direction:column;align-items:center;justify-content:center}._ButtonSizeSm_1dpso_11{border-radius:var(--rm-ui-border-radius-sm);padding:var(--rm-ui-padding-xs) var(--rm-ui-padding-sm)}._ButtonSizeSm_1dpso_11 ._ButtonText_1dpso_16{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small)}._ButtonSizeMd_1dpso_22,._ButtonSizeLg_1dpso_23{border-radius:var(--rm-ui-border-radius-md);padding:var(--rm-ui-padding-sm) var(--rm-ui-padding-md)}._ButtonSizeMd_1dpso_22 ._ButtonText_1dpso_16{font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}._ButtonSizeLg_1dpso_23 ._ButtonText_1dpso_16{font-size:var(--rm-ui-font-size-body-large);line-height:var(--rm-ui-line-height-body-large)}._ButtonColorNext_1dpso_38{background-color:var(--rm-ui-next-btn-bg)}._ButtonColorNext_1dpso_38 ._ButtonText_1dpso_16{color:#fff}._ButtonColorPrevious_1dpso_46{background-color:transparent}._ButtonColorPrevious_1dpso_46 ._ButtonText_1dpso_16{color:var(--rm-ui-color-text-secondary)}._Button_1dpso_1:not(._ButtonLoading_1dpso_54):not(:disabled):hover{cursor:pointer}._Button_1dpso_1:focus{outline-color:var(--rm-ui-color-focus)}._ButtonFullWidth_1dpso_62{width:100%}._ButtonText_1dpso_16{font-weight:var(--rm-ui-font-weight-medium)}._ButtonInfo_1dpso_70{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:calc(var(--rm-ui-line-height-body-small) - 2px);color:#fff}._ButtonContent_1dpso_77{transition:opacity .2s ease-in-out .2s}._ButtonContentLoading_1dpso_81{opacity:0}._ButtonContentIdle_1dpso_85{opacity:1}._ButtonLoaderWrap_1dpso_89{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}._ButtonLoaderAnimationWrap_1dpso_96{display:flex;flex-direction:column;align-items:center;justify-content:center}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Checkbox_1ez0v_1{position:relative;display:inline-flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._Checkbox_1ez0v_1:hover{cursor:pointer}._CheckboxChoice_1ez0v_14{position:relative;left:0;top:3px}._CheckboxContent_1ez0v_20{font-weight:var(--rm-ui-font-weight-regular);color:var(--rm-ui-color-text-primary)}._CheckboxContent_1ez0v_20 button{color:var(--rm-ui-color-link);outline-offset:2px}._CheckboxContent_1ez0v_20 button:hover{cursor:pointer;text-decoration:underline}._CheckboxContent_1ez0v_20 button:focus-visible{outline-color:var(--rm-ui-color-focus)}._CheckboxContentTextBody_1ez0v_39{font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}._CheckboxContentTextBodySmall_1ez0v_44{font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Dropdown_1bylm_1{--transition-time: .2s;--under-chevron: linear-gradient(90deg, rgba(255, 255, 255, 0) -10%, rgba(255, 255, 255, .5411764706) 25%, #fff 50%);--border-radius: 3px;position:relative;font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small);color:var(--rm-ui-color-text-primary);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-xxs)}._DropdownBorder_1bylm_17{position:relative;min-height:60px;flex-grow:1;display:flex;align-items:center;justify-content:flex-start;padding:var(--rm-ui-padding-xs) var(--rm-ui-padding-sm);overflow:hidden}._DropdownContent_1bylm_28{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}._DropdownBorder_1bylm_17:hover{cursor:pointer}._DropdownChevron_1bylm_39{width:24px;height:24px;transition:transform var(--transition-time) ease-out}._DropdownChevron_1bylm_39[data-open=false]{transform:rotate(0)}._DropdownChevron_1bylm_39[data-open=true]{transform:rotate(180deg)}._DropdownChevronWrap_1bylm_53{position:absolute;z-index:1;right:0;top:50%;transform:translateY(-50%);background:var(--under-chevron);border-radius:10px;width:80px;height:100%;padding-right:var(--rm-ui-padding-sm);display:flex;justify-content:flex-end;align-items:center}._DropdownBox_1bylm_69{flex-grow:1;border-radius:10px;background-color:var(--rm-ui-grey-50)}._DropdownBoxVisible_1bylm_75{display:block}._DropdownBoxHidden_1bylm_79{display:none}._DropdownSearch_1bylm_83{position:relative;border-bottom:1px var(--rm-ui-grey-300) solid;padding:var(--rm-ui-padding-sm)}._DropdownSearchVisible_1bylm_89{display:block}._DropdownSearchHidden_1bylm_93{display:none}._DropdownClose_1bylm_97{border-top:1px var(--rm-ui-grey-300) solid;padding:var(--rm-ui-padding-sm);display:flex;flex-direction:row;align-items:center;justify-content:flex-end}._DropdownInput_1bylm_106{width:100%;border-radius:10px;padding:var(--rm-ui-padding-xs) calc(var(--rm-ui-padding-sm) * 2 + 12px) var(--rm-ui-padding-xs) var(--rm-ui-padding-sm);border:1px var(--rm-ui-grey-300) solid;box-sizing:border-box;font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary);outline-color:var(--rm-ui-color-accent-primary)}._DropdownGlass_1bylm_120{position:absolute;z-index:1;right:calc(var(--rm-ui-padding-sm) * 2);top:50%;transform:translateY(-50%);width:24px;height:24px;color:var(--rm-ui-grey-300)}._DropdownChoices_1bylm_131{max-height:228px;overflow-y:scroll;border-radius:10px}._DropdownChoice_1bylm_131{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-sm);padding:6px var(--rm-ui-padding-sm)}._DropdownChoice_1bylm_131:hover{cursor:pointer;background-color:#fff}._DropdownChoiceNoResult_1bylm_151{color:var(--rm-ui-grey-600);text-align:center}html[dir=rtl] ._DropdownGlass_1bylm_120{left:31px;right:initial}html[dir=rtl] ._DropdownChevronWrap_1bylm_53{left:19px;right:initial}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Footer_c94xo_1{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:center;justify-content:center;white-space:nowrap;gap:var(--rm-ui-padding-md)}._FooterCopyright_c94xo_11{font-weight:var(--rm-ui-font-weight-light);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small);color:var(--rm-ui-color-text-secondary)}._FooterLinks_c94xo_18{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--rm-ui-padding-md)}._FooterLink_c94xo_18{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center}._FooterButton_c94xo_33{font-weight:var(--rm-ui-font-weight-light);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small);color:var(--rm-ui-color-text-secondary)}._FooterButton_c94xo_33:focus-visible{outline-offset:2px;outline-color:var(--rm-ui-color-focus)}._FooterSeparator_c94xo_45{display:none}@media screen and (min-width:768px){._Footer_c94xo_1{flex-direction:row-reverse;justify-content:space-between}._FooterLinks_c94xo_18{gap:0}._FooterLink_c94xo_18:last-of-type ._FooterSeparator_c94xo_45{display:none}._FooterSeparator_c94xo_45{display:flex;border-right:1px solid var(--rm-ui-color-text-secondary);margin-right:var(--rm-ui-padding-xs);margin-left:var(--rm-ui-padding-xs);height:16px}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Header_hpcf9_1{display:flex;flex-direction:row;align-items:center;justify-content:space-between}._HeaderInfo_hpcf9_8{display:flex;flex-direction:column;align-items:flex-end;gap:2px}._HeaderLogo_hpcf9_15{height:var(--rm-ui-header-logo-height);pointer-events:none}._HeaderLogoPlaceholder_hpcf9_20{display:flex;width:var(--rm-ui-header-logo-height);height:var(--rm-ui-header-logo-height)}._HeaderPhoneButton_hpcf9_26{padding:0;border:none;background-color:transparent;display:flex;flex-direction:row;align-items:center;gap:var(--rm-ui-padding-xs)}._HeaderPhoneButton_hpcf9_26:focus-visible{outline-offset:2px;outline-color:var(--rm-ui-color-focus)}._HeaderPhoneButtonIcon_hpcf9_41{width:22px;height:22px;stroke:var(--rm-ui-color-theme-primary);stroke-width:3px}._HeaderPhoneButtonNumber_hpcf9_48,._HeaderDescriptions_hpcf9_49{display:none}@media screen and (min-width:768px){._HeaderPhoneButtonNumber_hpcf9_48{display:flex;font-weight:var(--rm-ui-font-weight-bold);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);letter-spacing:.1px;color:var(--rm-ui-color-theme-primary)}._HeaderDescriptions_hpcf9_49{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-xxs);font-weight:var(--rm-ui-font-weight-light);font-size:var( --rm-ui-font-size-body-extra-small);line-height:var( --rm-ui-line-height-body-extra-small);color:var(--rm-ui-color-theme-primary)}._HeaderDescriptionsIcon_hpcf9_75{stroke:var(--rm-ui-color-theme-primary);stroke-width:3px}._HeaderDescriptionsIconSm_hpcf9_80{width:10px;height:10px}._HeaderDescriptionsIconMd_hpcf9_85{width:12px;height:12px}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._InfoPanel_cjut0_1{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-sm)}._InfoPanelRow_cjut0_9{display:flex;flex-direction:row;align-items:center;justify-content:space-between}._InfoPanelKey_cjut0_16{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-font-size-body-small);color:var(--rm-ui-color-text-secondary)}._InfoPanelValue_cjut0_23{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-font-size-body-small);color:var(--rm-ui-color-text-primary)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._InfoPanel_6laja_1{position:relative;padding:var(--rm-ui-padding-md) 0;background-color:var(--rm-ui-info-panel-bg)}._InfoPanel_6laja_1:before,._InfoPanel_6laja_1:after{content:"";display:block;position:absolute;top:0;z-index:1;height:100%;width:100vw;background-color:var(--rm-ui-info-panel-bg)}._InfoPanel_6laja_1:before{left:0}._InfoPanel_6laja_1:after{right:0}._InfoPanelList_6laja_27{position:relative;z-index:2;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._InfoPanelItem_6laja_37{display:flex;flex-direction:row;align-items:center;justify-content:space-between}._InfoPanelKey_6laja_44{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-font-size-body-small);color:var(--rm-ui-color-text-secondary)}._InfoPanelValue_6laja_51{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-font-size-body-small);color:var(--rm-ui-color-text-primary)}@media screen and (min-width:480px){._InfoPanelItem_6laja_37{justify-content:flex-start;gap:var(--rm-ui-padding-xxs)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Input_1df40_1{outline:none;box-sizing:border-box;width:100%;border:none;font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._Input_1df40_1:hover{cursor:pointer}._Input_1df40_1:disabled{opacity:.33}._Input_1df40_1:disabled,._Input_1df40_1:-webkit-autofill,._Input_1df40_1:-webkit-autofill:hover,._Input_1df40_1:-webkit-autofill:focus,._Input_1df40_1:-webkit-autofill:active,._Input_1df40_1:autofill,._Input_1df40_1:autofill:hover,._Input_1df40_1:autofill:focus,._Input_1df40_1:autofill:active{background:transparent;transition:background 7200s ease-in-out 0s}._Input_1df40_1:-webkit-autofill{animation-name:_autofill-start_1df40_1;animation-duration:.1s;-webkit-text-fill-color:var(--rm-ui-color-text-primary)}._Input_1df40_1:not(:-webkit-autofill){animation-name:_autofill-cancel_1df40_1;animation-duration:.1s}@keyframes _autofill-start_1df40_1{}@keyframes _autofill-cancel_1df40_1{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Label_1ahya_1{font-weight:var(--rm-ui-font-weight-regular);transition:color .15s ease-out}._LabelPositionIdle_1ahya_6{font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}._LabelPositionActive_1ahya_11{font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small)}._LabelStateIdle_1ahya_16{color:var(--rm-ui-color-text-secondary)}._LabelStateError_1ahya_20{color:var(--rm-ui-color-error)}._LabelStateSuccess_1ahya_24{color:var(--rm-ui-color-success)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Line_amfgc_1{margin:var(--rm-ui-padding-lg) 0}._LineElement_amfgc_5{border:1px solid var(--rm-ui-sidebar-line-color)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,*:before,*:after{margin:0;padding:0;box-sizing:border-box}body{background-color:var(--rm-ui-body-bg);font-family:Lato,sans-serif;font-size:16px;line-height:24px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}ul,ol{list-style:none}a{text-decoration:none;color:inherit;border-radius:.125rem;outline:2px solid transparent}button,*[role=button]{border:none;border-radius:0;background-color:transparent;font-family:inherit;font-weight:inherit;font-size:inherit;line-height:inherit;color:inherit;outline:2px solid transparent}a:hover,button:hover,*[role=button]:hover{cursor:pointer}a:focus-visible:not(:active),button:focus-visible:not(:active),*[role=button]:focus-visible:not(:active){outline-color:var(--rm-ui-color-focus);outline-offset:0;transition:outline-color var(--rm-ui-amimation-speed-primary) ease-in-out;transition-delay:calc(var(--rm-ui-amimation-speed-primary) / 2)}:root{--rm-ui-padding-xxs: 4px;--rm-ui-padding-xs: 8px;--rm-ui-padding-sm: 12px;--rm-ui-padding-md: 16px;--rm-ui-padding-lg: 24px;--rm-ui-padding-xl: 32px;--rm-ui-padding-xxl: 40px;--rm-ui-padding-xxxl: 48px;--rm-ui-border-radius-sm: 8px;--rm-ui-border-radius-md: 12px;--rm-ui-border-radius-lg: 16px;--rm-ui-border-radius-xl: 24px;--rm-ui-font-size-body-extra-small: 12px;--rm-ui-line-height-body-extra-small: 16px;--rm-ui-font-size-body-small: 14px;--rm-ui-line-height-body-small: 20px;--rm-ui-font-size-body: 16px;--rm-ui-line-height-body: 24px;--rm-ui-font-size-body-large: 20px;--rm-ui-line-height-body-large: 30px;--rm-ui-font-size-hl5: 14px;--rm-ui-line-height-hl5: 22px;--rm-ui-font-size-hl4: 18px;--rm-ui-line-height-hl4: 24px;--rm-ui-font-size-hl3: 20px;--rm-ui-line-height-hl3: 30px;--rm-ui-font-size-hl2: 24px;--rm-ui-line-height-hl2: 32px;--rm-ui-font-size-hl1: 28px;--rm-ui-line-height-hl1: 36px;--rm-ui-font-family-light: "Lato Light", sans-serif;--rm-ui-font-family-light-i: "Lato Light Italic", sans-serif;--rm-ui-font-weight-light: 300;--rm-ui-font-family-regular: "Lato Regular", sans-serif;--rm-ui-font-family-regular-i: "Lato Regular Italic", sans-serif;--rm-ui-font-weight-regular: 400;--rm-ui-font-family-medium: "Lato Bold", sans-serif;--rm-ui-font-family-medium-i: "Lato Bold Italic", sans-serif;--rm-ui-font-weight-medium: 700;--rm-ui-font-family-bold: "Lato Black", sans-serif;--rm-ui-font-family-bold-i: "Lato Black Italic", sans-serif;--rm-ui-font-weight-bold: 900;--rm-ui-grey-950: #0a0a0a;--rm-ui-grey-900: #171717;--rm-ui-grey-800: #262626;--rm-ui-grey-700: #404040;--rm-ui-grey-600: #525252;--rm-ui-grey-500: #737373;--rm-ui-grey-400: #a3a3a3;--rm-ui-grey-300: #d4d4d4;--rm-ui-grey-200: #e5e5e5;--rm-ui-grey-100: #f5f5f5;--rm-ui-grey-50: #fafafa;--rm-ui-color-text-primary: var(--rm-ui-grey-800);--rm-ui-color-text-secondary: var(--rm-ui-grey-500);--rm-ui-color-accent-primary: #23bf96;--rm-ui-color-accent-secondary: #23bf96;--rm-ui-color-theme-primary: #302677;--rm-ui-color-theme-secondary: #302677;--rm-ui-color-action: #006cff;--rm-ui-color-inverted: #ffffff;--rm-ui-color-error: #dc2626;--rm-ui-color-success: #00b649;--rm-ui-color-focus: #ff8d02;--rm-ui-color-link: #ff8206;--rm-ui-body-color: #f0faff;--rm-ui-certifications-color: #b1b4c7;--rm-ui-certifications-size: 20px;--rm-ui-card-background: #ffffff;--rm-ui-next-btn-bg: #23bf96;--rm-ui-next-btn-bg-hover: #3adbb1;--rm-ui-header-logo-height: 30px;--rm-ui-info-panel-bg: var(--rm-ui-body-color);--rm-ui-step-idle-color: #82868f;--rm-ui-sidebar-bg: #f6f6f6;--rm-ui-sidebar-line-color: var(--rm-ui-grey-200);--rm-ui-loading-screen-height: 400px;--rm-ui-body-bg: #f0faff;--rm-ui-amimation-speed-primary: .2s;--rm-ui-amimation-speed-secondary: .3s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._NotFound_nybsl_1{padding:var(--rm-ui-padding-sm) var(--rm-ui-padding-md) var(--rm-ui-padding-sm);background-color:transparent;font-weight:var(--rm-ui-font-weight-light);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._NotFoundH1_nybsl_10{margin-bottom:var(--rm-ui-padding-lg);font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2)}._NotFoundH2_nybsl_17{margin-bottom:var(--rm-ui-padding-md);font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-hl3);line-height:var(--rm-ui-line-height-hl3)}._NotFoundH3_nybsl_24{margin-bottom:var(--rm-ui-padding-md);font-weight:var(--rm-ui-font-weight-light);font-size:var(--rm-ui-font-size-hl4);line-height:var(--rm-ui-line-height-hl4)}._NotFoundTable_nybsl_31{width:100%;border-spacing:0;border-collapse:collapse}._NotFoundTh_nybsl_37,._NotFoundTd_nybsl_38{padding:var(--rm-ui-padding-xs);vertical-align:top;border-top:1px solid var(--rm-ui-grey-300);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small)}._NotFoundTh_nybsl_37{text-align:left;font-weight:var(--rm-ui-font-weight-regular)}._NotFoundTd_nybsl_38{font-weight:var(--rm-ui-font-weight-light)}@media screen and (min-width:1024px){._NotFound_nybsl_1{padding:var(--rm-ui-padding-md) var(--rm-ui-padding-lg) var(--rm-ui-padding-md)}}@media screen and (min-width:1200px){._NotFound_nybsl_1{padding:var(--rm-ui-padding-lg)}._NotFoundH1_nybsl_10{font-size:var(--rm-ui-font-size-hl1);line-height:var(--rm-ui-line-height-hl1)}._NotFoundH2_nybsl_17{font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2)}._NotFoundH3_nybsl_24{font-size:var(--rm-ui-font-size-hl3);line-height:var(--rm-ui-line-height-hl3)}._NotFoundTh_nybsl_37,._NotFoundTd_nybsl_38{font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._PageInfo_116l6_1{font-weight:var(--rm-ui-font-weight-light);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-secondary)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._PageTitle_12qbw_1{font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2);color:var(--rm-ui-color-text-primary)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._RadioText_elg0h_1{position:relative;display:flex;align-items:center;justify-content:center}._RadioTextSizeMd_elg0h_8{font-size:12px;line-height:14px}._RadioTextSizeLg_elg0h_13{font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body)}._RadioTextOneLine_elg0h_18,._RadioTextOneLine_elg0h_18 ._RadioTextContent_elg0h_19{white-space:nowrap}._RadioTextContent_elg0h_19{display:flex;align-items:center;justify-content:flex-start;color:var(--rm-ui-color-text-primary);text-align:left;white-space:pre-wrap}._RadioTextContent_elg0h_19[data-checked=false]{font-weight:var(--rm-ui-font-weight-regular)}._RadioTextContent_elg0h_19[data-checked=true]{font-weight:var(--rm-ui-font-weight-medium)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._SidebarTitle_1y8hk_1{font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-hl3);line-height:var(--rm-ui-line-height-hl3);color:var(--rm-ui-color-text-primary)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Step_121yt_1{--step-animation: .2s;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._StepIcon_121yt_10{position:relative;display:inline-flex}._StepCircle_121yt_15{stroke-width:2px;transition:stroke var(--step-animation) ease-in-out,fill var(--step-animation) ease-in-out,fill-opacity var(--step-animation) ease-in-out}._StepCircleIdle_121yt_20{stroke:var(--rm-ui-step-idle-color);fill:var(--rm-ui-step-idle-color);fill-opacity:.1}._StepCircleSuccess_121yt_26{stroke:var(--rm-ui-color-accent-primary);fill:var(--rm-ui-color-accent-primary);fill-opacity:1}._StepCircleError_121yt_32{stroke:var(--rm-ui-color-error);fill:var(--rm-ui-color-error);fill-opacity:1}._StepIconContent_121yt_38{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%)}._StepIconAnimate_121yt_46{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:center;justify-content:center}._StepCheck_121yt_54,._StepX_121yt_55{stroke-width:2.5;stroke:#fff}._StepText_121yt_60{font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small)}._StepTextIdle_121yt_66{color:var(--rm-ui-color-text-secondary)}._StepTextActive_121yt_70{color:var(--rm-ui-color-text-primary)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._StepTitle_1nv0x_1{font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-hl4);line-height:var(--rm-ui-line-height-hl4);color:var(--rm-ui-color-text-primary)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Steps_nwvci_1{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-sm)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Textarea_1eevb_1{resize:none;outline:none;box-sizing:border-box;width:100%;border:none;border-radius:10px;padding:var(--rm-ui-padding-xs) var(--rm-ui-padding-sm);font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._Textarea_1eevb_1:hover{cursor:pointer}._Textarea_1eevb_1:disabled{opacity:.33}._Textarea_1eevb_1:disabled,._Textarea_1eevb_1:-webkit-autofill,._Textarea_1eevb_1:-webkit-autofill:hover,._Textarea_1eevb_1:-webkit-autofill:focus,._Textarea_1eevb_1:-webkit-autofill:active,._Textarea_1eevb_1:autofill,._Textarea_1eevb_1:autofill:hover,._Textarea_1eevb_1:autofill:focus,._Textarea_1eevb_1:autofill:active{background:transparent;transition:background 7200s ease-in-out 0s}._Textarea_1eevb_1:-webkit-autofill{animation-name:_autofill-start_1eevb_1;animation-duration:.1s;-webkit-text-fill-color:var(--rm-ui-grey-500)}._Textarea_1eevb_1:not(:-webkit-autofill){animation-name:_autofill-cancel_1eevb_1;animation-duration:.1s}@keyframes _autofill-start_1eevb_1{}@keyframes _autofill-cancel_1eevb_1{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._User_1kveo_1{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-sm)}._UserHead_1kveo_9{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between}._UserTitle_1kveo_17{font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._UserButton_1kveo_24{padding:0;border:none;background-color:transparent;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._UserButton_1kveo_24:focus-visible{outline-offset:2px;outline-color:var(--rm-ui-color-focus)}._UserButtonText_1kveo_41{font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._UserButtonIcon_1kveo_48{width:24px;height:24px;stroke-width:2px;stroke:var(--rm-ui-color-text-primary)}._UserInfo_1kveo_55{display:inline-flex;flex-direction:column;flex-wrap:nowrap;align-items:flex-start;justify-content:flex-start}._UserInfoRaw_1kveo_63{font-weight:var(--rm-ui-font-weight-light);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-secondary)}
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { Animation as
|
|
4
|
-
import { Loader as
|
|
5
|
-
import { containsHtml as
|
|
6
|
-
import '../../../../assets/button-
|
|
7
|
-
Button:
|
|
8
|
-
ButtonSizeSm:
|
|
9
|
-
ButtonText:
|
|
10
|
-
ButtonSizeMd:
|
|
11
|
-
ButtonSizeLg:
|
|
12
|
-
ButtonColorNext:
|
|
13
|
-
ButtonColorPrevious:
|
|
14
|
-
ButtonLoading:
|
|
15
|
-
ButtonFullWidth:
|
|
16
|
-
ButtonInfo:
|
|
17
|
-
ButtonContent:
|
|
18
|
-
ButtonContentLoading:
|
|
19
|
-
ButtonContentIdle:
|
|
20
|
-
ButtonLoaderWrap:
|
|
1
|
+
import { jsxs as d, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import i from "clsx";
|
|
3
|
+
import { Animation as C } from "../../../animation/animation.component.js";
|
|
4
|
+
import { Loader as L } from "../../../loader/loader.component.js";
|
|
5
|
+
import { containsHtml as S } from "../../utils/utils.js";
|
|
6
|
+
import '../../../../assets/button-DZ6T9O3D.css';const f = "_Button_1dpso_1", g = "_ButtonSizeSm_1dpso_11", z = "_ButtonText_1dpso_16", h = "_ButtonSizeMd_1dpso_22", x = "_ButtonSizeLg_1dpso_23", W = "_ButtonColorNext_1dpso_38", N = "_ButtonColorPrevious_1dpso_46", I = "_ButtonLoading_1dpso_54", v = "_ButtonFullWidth_1dpso_62", F = "_ButtonInfo_1dpso_70", A = "_ButtonContent_1dpso_77", M = "_ButtonContentLoading_1dpso_81", T = "_ButtonContentIdle_1dpso_85", b = "_ButtonLoaderWrap_1dpso_89", P = "_ButtonLoaderAnimationWrap_1dpso_96", t = {
|
|
7
|
+
Button: f,
|
|
8
|
+
ButtonSizeSm: g,
|
|
9
|
+
ButtonText: z,
|
|
10
|
+
ButtonSizeMd: h,
|
|
11
|
+
ButtonSizeLg: x,
|
|
12
|
+
ButtonColorNext: W,
|
|
13
|
+
ButtonColorPrevious: N,
|
|
14
|
+
ButtonLoading: I,
|
|
15
|
+
ButtonFullWidth: v,
|
|
16
|
+
ButtonInfo: F,
|
|
17
|
+
ButtonContent: A,
|
|
18
|
+
ButtonContentLoading: M,
|
|
19
|
+
ButtonContentIdle: T,
|
|
20
|
+
ButtonLoaderWrap: b,
|
|
21
21
|
ButtonLoaderAnimationWrap: P
|
|
22
|
-
}, $ = (
|
|
22
|
+
}, $ = (l) => {
|
|
23
23
|
const {
|
|
24
|
-
children:
|
|
25
|
-
color:
|
|
24
|
+
children: a,
|
|
25
|
+
color: s,
|
|
26
26
|
size: u,
|
|
27
|
-
type:
|
|
28
|
-
disabled:
|
|
27
|
+
type: B,
|
|
28
|
+
disabled: r = !1,
|
|
29
29
|
info: n = "",
|
|
30
30
|
fullWidth: _ = !1,
|
|
31
31
|
loading: e = !1,
|
|
32
|
-
onClick:
|
|
33
|
-
onFocus:
|
|
34
|
-
onBlur:
|
|
35
|
-
} =
|
|
36
|
-
return /* @__PURE__ */
|
|
32
|
+
onClick: c,
|
|
33
|
+
onFocus: p,
|
|
34
|
+
onBlur: m
|
|
35
|
+
} = l;
|
|
36
|
+
return /* @__PURE__ */ d(
|
|
37
37
|
"button",
|
|
38
38
|
{
|
|
39
39
|
"data-testid": "button",
|
|
40
|
-
type:
|
|
41
|
-
disabled:
|
|
42
|
-
className:
|
|
40
|
+
type: B,
|
|
41
|
+
disabled: r || e,
|
|
42
|
+
className: i(t.Button, {
|
|
43
43
|
[t.ButtonSizeSm]: u === "sm",
|
|
44
44
|
[t.ButtonSizeMd]: u === "md",
|
|
45
45
|
[t.ButtonSizeLg]: u === "lg",
|
|
46
|
-
[t.ButtonColorNext]:
|
|
47
|
-
[t.ButtonColorPrevious]:
|
|
46
|
+
[t.ButtonColorNext]: s === "next",
|
|
47
|
+
[t.ButtonColorPrevious]: s === "previous",
|
|
48
48
|
[t.ButtonFullWidth]: _,
|
|
49
49
|
[t.ButtonLoading]: e
|
|
50
50
|
}),
|
|
51
|
-
onClick: () =>
|
|
52
|
-
onFocus: () =>
|
|
53
|
-
onBlur: () =>
|
|
51
|
+
onClick: () => c?.call(null),
|
|
52
|
+
onFocus: () => p?.call(null),
|
|
53
|
+
onBlur: () => m?.call(null),
|
|
54
54
|
children: [
|
|
55
55
|
/* @__PURE__ */ o("div", { className: t.ButtonLoaderWrap, children: /* @__PURE__ */ o(
|
|
56
|
-
|
|
56
|
+
C.FadeScale,
|
|
57
57
|
{
|
|
58
58
|
name: "loader",
|
|
59
59
|
condition: e,
|
|
60
60
|
duration: 0.2,
|
|
61
61
|
delay: 0.2,
|
|
62
62
|
className: t.ButtonLoaderAnimationWrap,
|
|
63
|
-
children: /* @__PURE__ */ o(
|
|
63
|
+
children: /* @__PURE__ */ o(L, { size: 24, color: "white" })
|
|
64
64
|
}
|
|
65
65
|
) }),
|
|
66
|
-
/* @__PURE__ */
|
|
67
|
-
/* @__PURE__ */ o("span", { className: t.ButtonText, children:
|
|
68
|
-
|
|
66
|
+
/* @__PURE__ */ d("div", { className: i(t.ButtonContent, e ? t.ButtonContentLoading : t.ButtonContentIdle), children: [
|
|
67
|
+
/* @__PURE__ */ o("span", { className: t.ButtonText, children: a }),
|
|
68
|
+
S(n) && n ? /* @__PURE__ */ o("span", { className: t.ButtonInfo, dangerouslySetInnerHTML: { __html: n } }) : /* @__PURE__ */ o("span", { className: t.ButtonInfo, children: n })
|
|
69
69
|
] })
|
|
70
70
|
]
|
|
71
71
|
}
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as B, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import g from "clsx";
|
|
3
3
|
import { useToggle as a } from "usehooks-ts";
|
|
4
|
-
import { Choice as
|
|
4
|
+
import { Choice as T } from "../choice/choice.component.js";
|
|
5
5
|
import { HiddenInput as z } from "../hidden-input/hidden-input.component.js";
|
|
6
6
|
import { Converter as F } from "../../../../utils/converter/converter.js";
|
|
7
|
-
import '../../../../assets/checkbox-
|
|
7
|
+
import '../../../../assets/checkbox-BOAgvTCW.css';const S = "_Checkbox_1ez0v_1", I = "_CheckboxChoice_1ez0v_14", N = "_CheckboxContent_1ez0v_20", j = "_CheckboxContentTextBody_1ez0v_39", H = "_CheckboxContentTextBodySmall_1ez0v_44", t = {
|
|
8
8
|
Checkbox: S,
|
|
9
9
|
CheckboxChoice: I,
|
|
10
10
|
CheckboxContent: N,
|
|
11
11
|
CheckboxContentTextBody: j,
|
|
12
12
|
CheckboxContentTextBodySmall: H
|
|
13
|
-
}, q = (
|
|
13
|
+
}, q = (i) => {
|
|
14
14
|
const {
|
|
15
|
-
children:
|
|
16
|
-
state:
|
|
17
|
-
icon:
|
|
15
|
+
children: b,
|
|
16
|
+
state: d = "idle",
|
|
17
|
+
icon: k = "md",
|
|
18
18
|
text: C = "body-small",
|
|
19
19
|
id: o,
|
|
20
20
|
value: n,
|
|
21
21
|
disabled: e = !1,
|
|
22
|
-
onChange:
|
|
22
|
+
onChange: s,
|
|
23
23
|
onFocus: u,
|
|
24
24
|
onBlur: m
|
|
25
|
-
} =
|
|
26
|
-
e ||
|
|
25
|
+
} = i, [h, r] = a(!1), [p, x] = a(!1), f = (l) => {
|
|
26
|
+
e || h || (l.preventDefault(), s(!n, o));
|
|
27
27
|
}, _ = (l) => {
|
|
28
|
-
e || (l.stopPropagation(),
|
|
28
|
+
e || (l.stopPropagation(), s(!n, o));
|
|
29
|
+
}, v = () => {
|
|
30
|
+
e || (r(), u?.call(null, o));
|
|
29
31
|
}, y = () => {
|
|
30
|
-
e || (
|
|
31
|
-
}, B = () => {
|
|
32
|
-
e || (h(), m?.call(null, o));
|
|
32
|
+
e || (r(), m?.call(null, o));
|
|
33
33
|
};
|
|
34
|
-
return /* @__PURE__ */
|
|
34
|
+
return /* @__PURE__ */ B(
|
|
35
35
|
"label",
|
|
36
36
|
{
|
|
37
37
|
htmlFor: o,
|
|
38
38
|
className: t.Checkbox,
|
|
39
39
|
onClick: f,
|
|
40
|
-
onFocus:
|
|
41
|
-
onBlur:
|
|
40
|
+
onFocus: v,
|
|
41
|
+
onBlur: y,
|
|
42
42
|
onMouseEnter: () => x(),
|
|
43
43
|
onMouseLeave: () => x(),
|
|
44
44
|
children: [
|
|
@@ -55,13 +55,13 @@ import '../../../../assets/checkbox-BWTt8the.css';const S = "_Checkbox_4ezrk_1",
|
|
|
55
55
|
}
|
|
56
56
|
),
|
|
57
57
|
/* @__PURE__ */ c("div", { className: t.CheckboxChoice, children: /* @__PURE__ */ c(
|
|
58
|
-
|
|
58
|
+
T,
|
|
59
59
|
{
|
|
60
60
|
type: "checkbox",
|
|
61
|
-
size:
|
|
62
|
-
state:
|
|
61
|
+
size: k,
|
|
62
|
+
state: d,
|
|
63
63
|
checked: n,
|
|
64
|
-
focused:
|
|
64
|
+
focused: h,
|
|
65
65
|
hovered: p,
|
|
66
66
|
disabled: e
|
|
67
67
|
}
|
|
@@ -69,11 +69,11 @@ import '../../../../assets/checkbox-BWTt8the.css';const S = "_Checkbox_4ezrk_1",
|
|
|
69
69
|
/* @__PURE__ */ c(
|
|
70
70
|
"div",
|
|
71
71
|
{
|
|
72
|
-
className:
|
|
72
|
+
className: g(t.CheckboxContent, {
|
|
73
73
|
[t.CheckboxContentTextBody]: C === "body",
|
|
74
74
|
[t.CheckboxContentTextBodySmall]: C === "body-small"
|
|
75
75
|
}),
|
|
76
|
-
children:
|
|
76
|
+
children: b
|
|
77
77
|
}
|
|
78
78
|
)
|
|
79
79
|
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as r, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as
|
|
2
|
+
import { useRef as u, useState as C, useEffect as g, useMemo as K } from "react";
|
|
3
3
|
import { useBoolean as M, useResizeObserver as T, useOnClickOutside as E } from "usehooks-ts";
|
|
4
4
|
import { ChevronDown as $, Search as q } from "lucide-react";
|
|
5
5
|
import N from "clsx";
|
|
@@ -7,10 +7,10 @@ import { Box as R } from "../box/box.component.js";
|
|
|
7
7
|
import { Button as J } from "../button/button.component.js";
|
|
8
8
|
import { Choice as P } from "../choice/choice.component.js";
|
|
9
9
|
import { Label as Q } from "../label/label.component.js";
|
|
10
|
-
import { RadioText as
|
|
10
|
+
import { RadioText as b } from "../radio-text/radio-text.component.js";
|
|
11
11
|
import { clickHasNode as U } from "../../utils/utils.js";
|
|
12
12
|
import { Converter as X } from "../../../../utils/converter/converter.js";
|
|
13
|
-
import '../../../../assets/dropdown-
|
|
13
|
+
import '../../../../assets/dropdown-DLXy_DVj.css';const Y = "_Dropdown_1bylm_1", Z = "_DropdownBorder_1bylm_17", oo = "_DropdownContent_1bylm_28", eo = "_DropdownChevron_1bylm_39", no = "_DropdownChevronWrap_1bylm_53", ro = "_DropdownBox_1bylm_69", so = "_DropdownBoxVisible_1bylm_75", lo = "_DropdownBoxHidden_1bylm_79", co = "_DropdownSearch_1bylm_83", io = "_DropdownSearchVisible_1bylm_89", to = "_DropdownSearchHidden_1bylm_93", po = "_DropdownClose_1bylm_97", ao = "_DropdownInput_1bylm_106", ho = "_DropdownGlass_1bylm_120", wo = "_DropdownChoices_1bylm_131", Do = "_DropdownChoice_1bylm_131", mo = "_DropdownChoiceNoResult_1bylm_151", e = {
|
|
14
14
|
Dropdown: Y,
|
|
15
15
|
DropdownBorder: Z,
|
|
16
16
|
DropdownContent: oo,
|
|
@@ -18,49 +18,49 @@ import '../../../../assets/dropdown-BE2zB445.css';const Y = "_Dropdown_119hk_1",
|
|
|
18
18
|
DropdownChevronWrap: no,
|
|
19
19
|
DropdownBox: ro,
|
|
20
20
|
DropdownBoxVisible: so,
|
|
21
|
-
DropdownBoxHidden:
|
|
22
|
-
DropdownSearch:
|
|
23
|
-
DropdownSearchVisible:
|
|
21
|
+
DropdownBoxHidden: lo,
|
|
22
|
+
DropdownSearch: co,
|
|
23
|
+
DropdownSearchVisible: io,
|
|
24
24
|
DropdownSearchHidden: to,
|
|
25
|
-
DropdownClose:
|
|
26
|
-
DropdownInput:
|
|
27
|
-
DropdownGlass:
|
|
25
|
+
DropdownClose: po,
|
|
26
|
+
DropdownInput: ao,
|
|
27
|
+
DropdownGlass: ho,
|
|
28
28
|
DropdownChoices: wo,
|
|
29
29
|
DropdownChoice: Do,
|
|
30
|
-
DropdownChoiceNoResult:
|
|
30
|
+
DropdownChoiceNoResult: mo
|
|
31
31
|
}, Ro = (s) => {
|
|
32
|
-
const { choices:
|
|
32
|
+
const { choices: f = [], value: a = [], isSearchHidden: k = !1, multiple: i = !1, onChange: h, onOpen: H, onClose: z } = s, V = s.label || "", I = s.placeholder || "Wählen Sie Ihre private Krankenversicherung...", O = s.noResult || "Keine Versicherung gefunden.", W = s.closeButton || "Schließen", v = u(null), w = u(null), x = u(null), { value: t, setFalse: D, toggle: A } = M(!1), [m, G] = C(""), [l, L] = C({ width: 0, height: 0 }), [p, y] = C([]);
|
|
33
33
|
T({
|
|
34
34
|
ref: w,
|
|
35
35
|
onResize: (o) => L({ width: o.width || 0, height: o.height || 0 })
|
|
36
36
|
}), E(w, (o) => {
|
|
37
|
-
U(o, v) || (
|
|
38
|
-
}), g(() =>
|
|
39
|
-
t &&
|
|
40
|
-
}, [t,
|
|
41
|
-
const j = (o,
|
|
42
|
-
|
|
37
|
+
U(o, v) || (i && h(p), D());
|
|
38
|
+
}), g(() => y(Array.isArray(a) ? a : []), [a]), g(() => {
|
|
39
|
+
t && l.width && l.height ? (x.current?.focus(), H?.call(null, l.height, l.width)) : z?.call(null);
|
|
40
|
+
}, [t, l]);
|
|
41
|
+
const j = (o, c) => {
|
|
42
|
+
y((d) => d.some(({ value: _ }) => _ === o) ? d.filter(({ value: _ }) => _ !== o) : [...d, { value: o, label: c }]);
|
|
43
43
|
}, F = () => {
|
|
44
|
-
D(),
|
|
45
|
-
},
|
|
46
|
-
() =>
|
|
47
|
-
[
|
|
44
|
+
D(), h(p);
|
|
45
|
+
}, B = K(
|
|
46
|
+
() => f.filter(({ label: o }) => o.toLowerCase().includes(m.toLowerCase())),
|
|
47
|
+
[m, f]
|
|
48
48
|
);
|
|
49
49
|
return /* @__PURE__ */ r("div", { className: e.Dropdown, children: [
|
|
50
50
|
/* @__PURE__ */ n(R, { ref: v, onClick: A, children: /* @__PURE__ */ r("div", { className: e.DropdownBorder, children: [
|
|
51
51
|
/* @__PURE__ */ r("div", { className: e.DropdownContent, children: [
|
|
52
|
-
/* @__PURE__ */ n(Q, { position: "active", children:
|
|
53
|
-
/* @__PURE__ */ n(
|
|
52
|
+
/* @__PURE__ */ n(Q, { position: "active", children: V }),
|
|
53
|
+
/* @__PURE__ */ n(b, { size: "lg", checked: !0, oneLine: !0, children: X.Answer.FromArrayToMultiple(p.map(({ label: o }) => o)) || I })
|
|
54
54
|
] }),
|
|
55
55
|
/* @__PURE__ */ n("div", { className: e.DropdownChevronWrap, children: /* @__PURE__ */ n($, { "data-open": t, className: e.DropdownChevron }) })
|
|
56
56
|
] }) }),
|
|
57
57
|
/* @__PURE__ */ n(R, { ref: w, className: t ? e.DropdownBoxVisible : e.DropdownBoxHidden, children: /* @__PURE__ */ r("div", { className: e.DropdownBox, children: [
|
|
58
|
-
/* @__PURE__ */ r("div", { className: N(e.DropdownSearch,
|
|
58
|
+
/* @__PURE__ */ r("div", { className: N(e.DropdownSearch, k ? e.DropdownSearchHidden : e.DropdownSearchVisible), children: [
|
|
59
59
|
/* @__PURE__ */ n(
|
|
60
60
|
"input",
|
|
61
61
|
{
|
|
62
62
|
ref: x,
|
|
63
|
-
value:
|
|
63
|
+
value: m,
|
|
64
64
|
type: "text",
|
|
65
65
|
className: e.DropdownInput,
|
|
66
66
|
onChange: (o) => G(o.target.value)
|
|
@@ -68,27 +68,27 @@ import '../../../../assets/dropdown-BE2zB445.css';const Y = "_Dropdown_119hk_1",
|
|
|
68
68
|
),
|
|
69
69
|
/* @__PURE__ */ n(q, { className: e.DropdownGlass })
|
|
70
70
|
] }),
|
|
71
|
-
/* @__PURE__ */ n("ul", { className: e.DropdownChoices, children:
|
|
71
|
+
/* @__PURE__ */ n("ul", { className: e.DropdownChoices, children: B.length ? B.map(({ value: o, label: c }, d) => /* @__PURE__ */ r(
|
|
72
72
|
"li",
|
|
73
73
|
{
|
|
74
74
|
className: e.DropdownChoice,
|
|
75
75
|
onClick: () => {
|
|
76
|
-
|
|
76
|
+
i ? j(o, c) : (D(), h([{ value: o, label: c }]));
|
|
77
77
|
},
|
|
78
78
|
children: [
|
|
79
|
-
|
|
79
|
+
i && /* @__PURE__ */ n(
|
|
80
80
|
P,
|
|
81
81
|
{
|
|
82
82
|
type: "checkbox",
|
|
83
|
-
checked:
|
|
83
|
+
checked: p.some((S) => S.value === o)
|
|
84
84
|
}
|
|
85
85
|
),
|
|
86
|
-
/* @__PURE__ */ n(
|
|
86
|
+
/* @__PURE__ */ n(b, { size: "lg", checked: !1, children: c })
|
|
87
87
|
]
|
|
88
88
|
},
|
|
89
|
-
o +
|
|
90
|
-
)) : /* @__PURE__ */ n("li", { className: N(e.DropdownChoice, e.DropdownChoiceNoResult), children: /* @__PURE__ */ n(
|
|
91
|
-
|
|
89
|
+
o + d
|
|
90
|
+
)) : /* @__PURE__ */ n("li", { className: N(e.DropdownChoice, e.DropdownChoiceNoResult), children: /* @__PURE__ */ n(b, { size: "lg", checked: !1, children: O }) }) }),
|
|
91
|
+
i && /* @__PURE__ */ n("div", { className: e.DropdownClose, children: /* @__PURE__ */ n(J, { color: "next", size: "sm", type: "button", onClick: () => F(), children: W }) })
|
|
92
92
|
] }) })
|
|
93
93
|
] });
|
|
94
94
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import '../../../../assets/input-
|
|
2
|
+
import '../../../../assets/input-Cckwgcro.css';const m = "_Input_1df40_1", a = {
|
|
3
3
|
Input: m,
|
|
4
|
-
"autofill-start": "_autofill-
|
|
5
|
-
"autofill-cancel": "_autofill-
|
|
4
|
+
"autofill-start": "_autofill-start_1df40_1",
|
|
5
|
+
"autofill-cancel": "_autofill-cancel_1df40_1"
|
|
6
6
|
}, _ = ({
|
|
7
7
|
id: t,
|
|
8
8
|
value: n,
|
|
@@ -10,9 +10,9 @@ import '../../../../assets/input-69-VoJEI.css';const m = "_Input_1uozt_1", a = {
|
|
|
10
10
|
type: u = "text",
|
|
11
11
|
onAutofill: c,
|
|
12
12
|
onAutofillCancel: e,
|
|
13
|
-
onChange:
|
|
14
|
-
onFocus:
|
|
15
|
-
onBlur:
|
|
13
|
+
onChange: f,
|
|
14
|
+
onFocus: i,
|
|
15
|
+
onBlur: s
|
|
16
16
|
}) => /* @__PURE__ */ r(
|
|
17
17
|
"input",
|
|
18
18
|
{
|
|
@@ -23,12 +23,12 @@ import '../../../../assets/input-69-VoJEI.css';const m = "_Input_1uozt_1", a = {
|
|
|
23
23
|
name: t,
|
|
24
24
|
value: n,
|
|
25
25
|
className: a.Input,
|
|
26
|
-
onChange: (l) =>
|
|
26
|
+
onChange: (l) => f(l.target.value, t, "keyboard"),
|
|
27
27
|
onAnimationStart: (l) => {
|
|
28
28
|
l.animationName === a["autofill-start"] && c?.call(null, t), l.animationName === a["autofill-cancel"] && e?.call(null, t);
|
|
29
29
|
},
|
|
30
|
-
onFocus: () =>
|
|
31
|
-
onBlur: () =>
|
|
30
|
+
onFocus: () => i?.call(null, t),
|
|
31
|
+
onBlur: () => s?.call(null, t)
|
|
32
32
|
}
|
|
33
33
|
);
|
|
34
34
|
export {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import i from "clsx";
|
|
3
|
-
import '../../../../assets/label-
|
|
4
|
-
Label:
|
|
5
|
-
LabelPositionIdle:
|
|
6
|
-
LabelPositionActive:
|
|
7
|
-
LabelStateIdle:
|
|
3
|
+
import '../../../../assets/label-bo2ALC-X.css';const c = "_Label_1ahya_1", b = "_LabelPositionIdle_1ahya_6", L = "_LabelPositionActive_1ahya_11", r = "_LabelStateIdle_1ahya_16", n = "_LabelStateError_1ahya_20", _ = "_LabelStateSuccess_1ahya_24", e = {
|
|
4
|
+
Label: c,
|
|
5
|
+
LabelPositionIdle: b,
|
|
6
|
+
LabelPositionActive: L,
|
|
7
|
+
LabelStateIdle: r,
|
|
8
8
|
LabelStateError: n,
|
|
9
9
|
LabelStateSuccess: _
|
|
10
|
-
},
|
|
11
|
-
const { children: o, position:
|
|
10
|
+
}, I = (l) => {
|
|
11
|
+
const { children: o, position: t = "idle", state: a = "idle" } = l;
|
|
12
12
|
return /* @__PURE__ */ s(
|
|
13
13
|
"span",
|
|
14
14
|
{
|
|
15
15
|
className: i(e.Label, {
|
|
16
|
-
[e.LabelPositionIdle]:
|
|
17
|
-
[e.LabelPositionActive]:
|
|
18
|
-
[e.LabelStateIdle]:
|
|
19
|
-
[e.LabelStateError]:
|
|
20
|
-
[e.LabelStateSuccess]:
|
|
16
|
+
[e.LabelPositionIdle]: t === "idle",
|
|
17
|
+
[e.LabelPositionActive]: t === "active",
|
|
18
|
+
[e.LabelStateIdle]: a === "idle",
|
|
19
|
+
[e.LabelStateError]: a === "error",
|
|
20
|
+
[e.LabelStateSuccess]: a === "success"
|
|
21
21
|
}),
|
|
22
22
|
children: o
|
|
23
23
|
}
|
|
24
24
|
);
|
|
25
25
|
};
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
I as Label
|
|
28
28
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import x from "clsx";
|
|
3
|
-
import '../../../../assets/radio-text-
|
|
3
|
+
import '../../../../assets/radio-text-DWahCkjT.css';const T = "_RadioText_elg0h_1", R = "_RadioTextSizeMd_elg0h_8", c = "_RadioTextSizeLg_elg0h_13", s = "_RadioTextOneLine_elg0h_18", _ = "_RadioTextContent_elg0h_19", e = {
|
|
4
4
|
RadioText: T,
|
|
5
5
|
RadioTextSizeMd: R,
|
|
6
6
|
RadioTextSizeLg: c,
|
|
7
7
|
RadioTextOneLine: s,
|
|
8
8
|
RadioTextContent: _
|
|
9
|
-
},
|
|
10
|
-
const { children: t, size: i, checked:
|
|
9
|
+
}, r = (d) => {
|
|
10
|
+
const { children: t, size: i, checked: n, oneLine: a = !1 } = d;
|
|
11
11
|
return /* @__PURE__ */ o(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
@@ -20,7 +20,7 @@ import '../../../../assets/radio-text-B4Qx8pq3.css';const T = "_RadioText_9pn46_
|
|
|
20
20
|
"span",
|
|
21
21
|
{
|
|
22
22
|
"data-text": t,
|
|
23
|
-
"data-checked":
|
|
23
|
+
"data-checked": n,
|
|
24
24
|
className: e.RadioTextContent,
|
|
25
25
|
dangerouslySetInnerHTML: { __html: t }
|
|
26
26
|
}
|
|
@@ -29,5 +29,5 @@ import '../../../../assets/radio-text-B4Qx8pq3.css';const T = "_RadioText_9pn46_
|
|
|
29
29
|
);
|
|
30
30
|
};
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
r as RadioText
|
|
33
33
|
};
|