@arthurzakharov/ui-kit 1.0.101 → 1.0.102
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-radio-BxBnV2gt.css +1 -0
- package/dist/assets/data-protected-label-zRn9upL6.css +1 -0
- package/dist/assets/{main-DORvkSZL.css → main-DyrTSsPp.css} +1 -1
- package/dist/assets/status-6MH80dkz.css +1 -0
- package/dist/assets/step-Bq2nontX.css +1 -0
- package/dist/components/animation/fade-scale/fade-scale.component.js +1 -1
- package/dist/components/control/components/button-radio/button-radio.component.d.ts +18 -0
- package/dist/components/control/components/button-radio/button-radio.component.js +59 -0
- package/dist/components/control/components/status/status.component.d.ts +6 -0
- package/dist/components/control/components/status/status.component.js +37 -0
- package/dist/components/control/control.component.d.ts +2 -0
- package/dist/components/control/control.component.js +28 -24
- package/dist/components/data-protected-label/data-protected-label.component.js +12 -12
- package/dist/components/sidebar/components/step/step.component.js +16 -62
- package/dist/main.js +1 -1
- package/package.json +1 -1
- package/dist/assets/data-protected-label-7q4XjAcN.css +0 -1
- package/dist/assets/step-CqA1H4j2.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._ButtonRadio_mm33y_1{--icon-size: 24px;--icon-gap: var(--rm-ui-padding-sm);padding:var(--rm-ui-padding-md);border-radius:var(--rm-ui-border-radius-md);border:1px solid var(--rm-ui-grey-300);outline-offset:-2px;outline:2px solid transparent;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-start;justify-content:flex-start;transition:background-color var(--rm-ui-amimation-speed-secondary) var(--rm-ui-amimation-cubic-primary),border-color var(--rm-ui-amimation-speed-secondary) var(--rm-ui-amimation-cubic-primary),box-shadow var(--rm-ui-amimation-speed-secondary) var(--rm-ui-amimation-cubic-primary),outline-color var(--rm-ui-amimation-speed-secondary) var(--rm-ui-amimation-cubic-primary)}._ButtonRadio_mm33y_1:not(:disabled):hover{cursor:pointer;border-color:var(--rm-ui-next-btn-bg)}._ButtonRadio_mm33y_1:disabled ._ButtonRadioWrap_mm33y_26{opacity:.25}._ButtonRadio_mm33y_1:disabled:hover{cursor:not-allowed}._ButtonRadioFullWidth_mm33y_34{width:100%}._ButtonRadioActive_mm33y_38{outline-color:var(--rm-ui-next-btn-bg)}._ButtonRadioActive_mm33y_38 ._ButtonRadioIconDot_mm33y_42{stroke:var(--rm-ui-next-btn-bg);fill:var(--rm-ui-next-btn-bg)}._ButtonRadioActive_mm33y_38 ._ButtonRadioText_mm33y_47{font-weight:var(--rm-ui-font-weight-medium)}._ButtonRadioRow_mm33y_51{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:var(--rm-ui-padding-sm)}._ButtonRadioWrap_mm33y_26{display:flex;flex-direction:row;flex-wrap:wrap;flex-grow:1;align-items:flex-start;justify-content:flex-start;transition:opacity var(--rm-ui-amimation-speed-secondary) var(--rm-ui-amimation-cubic-primary)}._ButtonRadioContent_mm33y_70{margin-left:var(--icon-gap);flex-basis:calc(100% - var(--icon-size) - var(--icon-gap));display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-xxs)}._ButtonRadioText_mm33y_47{font-weight:var(--rm-ui-font-weight-regular);color:var(--rm-ui-color-text-primary);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);text-align:left}._ButtonRadioTextPrimary_mm33y_88{color:var(--rm-ui-color-accent-primary)}._ButtonRadioHint_mm33y_92{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-secondary)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._DataProtectedLabel_1gfl2_1{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:var(--rm-ui-padding-sm)}._DataProtectedLabelAlignLeft_1gfl2_9{justify-content:flex-start}._DataProtectedLabelAlignCenter_1gfl2_13{justify-content:center}._DataProtectedLabelAlignRight_1gfl2_17{justify-content:flex-end}._DataProtectedLabelIcon_1gfl2_21{width:24px;height:24px;color:var(--rm-ui-data-protected-label-icon)}._DataProtectedLabelText_1gfl2_27{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-data-protected-label-text)}
|
|
@@ -1 +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-weight:var(--rm-ui-font-weight-regular);font-size:16px;line-height:24px;-webkit-hyphens:manual;hyphens:manual;white-space:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}ul,ol{list-style:none}h1,h2,h3,h4,h5,h6,b,strong{font-weight:var(--rm-ui-font-weight-medium)}h1{font-size:var(--rm-ui-font-size-hl1);line-height:var(--rm-ui-line-height-hl1)}h2{font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2)}h3{font-size:var(--rm-ui-font-size-hl3);line-height:var(--rm-ui-line-height-hl3)}h4{font-size:var(--rm-ui-font-size-hl4);line-height:var(--rm-ui-line-height-hl4)}h5,h6{font-size:var(--rm-ui-font-size-hl5);line-height:var(--rm-ui-line-height-hl5)}a{text-decoration:none;color:inherit;border-radius:var(--rm-ui-border-radius-sm);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;-webkit-hyphens:inherit;hyphens:inherit;white-space:inherit;outline-offset:-2px;outline:2px solid transparent}a:hover,button:hover,*[role=button]:hover{cursor:pointer}a:active,button:active,*[role=button]:active{outline:none}a:focus-visible,button:focus-visible,*[role=button]:focus-visible{outline-color:var(--rm-ui-color-focus);outline-offset:-2px;transition:outline-color var(--rm-ui-amimation-speed-primary) ease-in-out;transition-delay:calc(var(--rm-ui-amimation-speed-primary) / 2)}.text-primary{color:var(--rm-ui-color-text-primary)}.text-secondary{color:var(--rm-ui-color-text-secondary)}.fw-light{font-weight:var(--rm-ui-font-weight-light)}.fw-regular{font-weight:var(--rm-ui-font-weight-regular)}.fw-medium{font-weight:var(--rm-ui-font-weight-medium)}.fw-bold{font-weight:var(--rm-ui-font-weight-bold)}: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-weight-light: 300;--rm-ui-font-weight-regular: 400;--rm-ui-font-weight-medium: 700;--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-header-logo-height: 30px;--rm-ui-header-phone: #ff9900;--rm-ui-header-phone-size: 22px;--rm-ui-header-text: var(--rm-ui-color-text-primary);--rm-ui-header-check-icon: var(--rm-ui-color-text-primary);--rm-ui-certifications-color: #b1b4c7;--rm-ui-certifications-size: 20px;--rm-ui-message-success-primary: #29c667;--rm-ui-message-success-secondary: #f1fdf4;--rm-ui-message-question-primary: #a76000;--rm-ui-message-question-secondary: #fefce8;--rm-ui-message-error-primary: var(--rm-ui-color-error);--rm-ui-message-error-secondary: #fef3f3;--rm-ui-message-info-primary: #3289c4;--rm-ui-message-info-secondary: #f3f7fe;--rm-ui-payment-sidebar-bg: #f8fcff;--rm-ui-payment-text-blocks-gap: var(--rm-ui-padding-lg);--rm-ui-data-protected-label-icon: var(--rm-ui-next-btn-bg);--rm-ui-data-protected-label-text: var(--rm-ui-color-text-primary);--rm-ui-card-background: #ffffff;--rm-ui-next-btn-bg: #23bf96;--rm-ui-next-btn-bg-hover: #3adbb1;--rm-ui-info-panel-bg: var(--rm-ui-body-color);--rm-ui-
|
|
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-weight:var(--rm-ui-font-weight-regular);font-size:16px;line-height:24px;-webkit-hyphens:manual;hyphens:manual;white-space:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}ul,ol{list-style:none}h1,h2,h3,h4,h5,h6,b,strong{font-weight:var(--rm-ui-font-weight-medium)}h1{font-size:var(--rm-ui-font-size-hl1);line-height:var(--rm-ui-line-height-hl1)}h2{font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2)}h3{font-size:var(--rm-ui-font-size-hl3);line-height:var(--rm-ui-line-height-hl3)}h4{font-size:var(--rm-ui-font-size-hl4);line-height:var(--rm-ui-line-height-hl4)}h5,h6{font-size:var(--rm-ui-font-size-hl5);line-height:var(--rm-ui-line-height-hl5)}a{text-decoration:none;color:inherit;border-radius:var(--rm-ui-border-radius-sm);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;-webkit-hyphens:inherit;hyphens:inherit;white-space:inherit;outline-offset:-2px;outline:2px solid transparent}a:hover,button:hover,*[role=button]:hover{cursor:pointer}a:active,button:active,*[role=button]:active{outline:none}a:focus-visible,button:focus-visible,*[role=button]:focus-visible{outline-color:var(--rm-ui-color-focus);outline-offset:-2px;transition:outline-color var(--rm-ui-amimation-speed-primary) ease-in-out;transition-delay:calc(var(--rm-ui-amimation-speed-primary) / 2)}.text-primary{color:var(--rm-ui-color-text-primary)}.text-secondary{color:var(--rm-ui-color-text-secondary)}.fw-light{font-weight:var(--rm-ui-font-weight-light)}.fw-regular{font-weight:var(--rm-ui-font-weight-regular)}.fw-medium{font-weight:var(--rm-ui-font-weight-medium)}.fw-bold{font-weight:var(--rm-ui-font-weight-bold)}: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-weight-light: 300;--rm-ui-font-weight-regular: 400;--rm-ui-font-weight-medium: 700;--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-header-logo-height: 30px;--rm-ui-header-phone: #ff9900;--rm-ui-header-phone-size: 22px;--rm-ui-header-text: var(--rm-ui-color-text-primary);--rm-ui-header-check-icon: var(--rm-ui-color-text-primary);--rm-ui-certifications-color: #b1b4c7;--rm-ui-certifications-size: 20px;--rm-ui-message-success-primary: #29c667;--rm-ui-message-success-secondary: #f1fdf4;--rm-ui-message-question-primary: #a76000;--rm-ui-message-question-secondary: #fefce8;--rm-ui-message-error-primary: var(--rm-ui-color-error);--rm-ui-message-error-secondary: #fef3f3;--rm-ui-message-info-primary: #3289c4;--rm-ui-message-info-secondary: #f3f7fe;--rm-ui-payment-sidebar-bg: #f8fcff;--rm-ui-payment-text-blocks-gap: var(--rm-ui-padding-lg);--rm-ui-data-protected-label-icon: var(--rm-ui-next-btn-bg);--rm-ui-data-protected-label-text: var(--rm-ui-color-text-primary);--rm-ui-status-idle-color: #82868f;--rm-ui-status-success-color: var(--rm-ui-color-accent-primary);--rm-ui-status-error-color: var(--rm-ui-color-error);--rm-ui-card-background: #ffffff;--rm-ui-next-btn-bg: #23bf96;--rm-ui-next-btn-bg-hover: #3adbb1;--rm-ui-info-panel-bg: var(--rm-ui-body-color);--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: #ffffff;--rm-ui-content-bg: #ffffff;--rm-ui-amimation-speed-primary: .15s;--rm-ui-amimation-speed-secondary: .3s;--rm-ui-amimation-speed-tertiary: .4s;--rm-ui-amimation-cubic-primary: cubic-bezier(.3, 0, 0, 1);--rm-ui-amimation-cubic-secondary: cubic-bezier(.65, 0, .35, 1);--rm-ui-amimation-cubic-tertiary: cubic-bezier(.68, -.6, .32, 1.6);--rm-ui-warranty-bg: #f9fcff}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Status_5dqaf_1{position:relative;display:inline-flex}._StatusCircle_5dqaf_6{stroke-width:2px;transition:stroke var(--rm-ui-amimation-cubic-primary) var(--rm-ui-amimation-speed-primary),fill var(--rm-ui-amimation-cubic-primary) var(--rm-ui-amimation-speed-primary),fill-opacity var(--rm-ui-amimation-cubic-primary) var(--rm-ui-amimation-speed-primary)}._StatusCircleIdle_5dqaf_14{stroke:var(--rm-ui-status-idle-color);fill:var(--rm-ui-status-idle-color);fill-opacity:.1}._StatusCircleSuccess_5dqaf_20{stroke:var(--rm-ui-status-success-color);fill:var(--rm-ui-status-success-color);fill-opacity:1}._StatusCircleError_5dqaf_26{stroke:var(--rm-ui-status-error-color);fill:var(--rm-ui-status-error-color);fill-opacity:1}._StatusIconContent_5dqaf_32{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%)}._StatusIconAnimate_5dqaf_40{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:center;justify-content:center}._StatusCheck_5dqaf_48,._StatusX_5dqaf_49{stroke-width:2.5;stroke:#fff}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Step_9bp6g_1{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._StepText_9bp6g_9{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_9bp6g_15{color:var(--rm-ui-color-text-secondary)}._StepTextActive_9bp6g_19{color:var(--rm-ui-color-text-primary)}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
export interface ButtonRadioInfo {
|
|
3
|
+
text: string;
|
|
4
|
+
hintLeft?: string;
|
|
5
|
+
hintRight?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ButtonRadioProps extends PropsWithChildren {
|
|
8
|
+
active?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
fullWidth?: boolean;
|
|
11
|
+
preventDefault?: boolean;
|
|
12
|
+
blurAfterCLick?: boolean;
|
|
13
|
+
info?: ButtonRadioInfo;
|
|
14
|
+
onClick?: () => void;
|
|
15
|
+
onFocus?: () => void;
|
|
16
|
+
onBlur?: () => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const ButtonRadio: (props: ButtonRadioProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { jsx as o, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import d from "clsx";
|
|
3
|
+
import { Status as h } from "../status/status.component.js";
|
|
4
|
+
import '../../../../assets/button-radio-BxBnV2gt.css';const f = "_ButtonRadio_mm33y_1", p = "_ButtonRadioWrap_mm33y_26", x = "_ButtonRadioFullWidth_mm33y_34", y = "_ButtonRadioActive_mm33y_38", v = "_ButtonRadioText_mm33y_47", T = "_ButtonRadioRow_mm33y_51", N = "_ButtonRadioContent_mm33y_70", W = "_ButtonRadioTextPrimary_mm33y_88", C = "_ButtonRadioHint_mm33y_92", t = {
|
|
5
|
+
ButtonRadio: f,
|
|
6
|
+
ButtonRadioWrap: p,
|
|
7
|
+
ButtonRadioFullWidth: x,
|
|
8
|
+
ButtonRadioActive: y,
|
|
9
|
+
ButtonRadioText: v,
|
|
10
|
+
ButtonRadioRow: T,
|
|
11
|
+
ButtonRadioContent: N,
|
|
12
|
+
ButtonRadioTextPrimary: W,
|
|
13
|
+
ButtonRadioHint: C
|
|
14
|
+
}, A = (e) => {
|
|
15
|
+
const {
|
|
16
|
+
children: l,
|
|
17
|
+
info: n,
|
|
18
|
+
onClick: s,
|
|
19
|
+
onFocus: c,
|
|
20
|
+
onBlur: R,
|
|
21
|
+
active: a = !1,
|
|
22
|
+
disabled: B = !1,
|
|
23
|
+
fullWidth: r = !1,
|
|
24
|
+
preventDefault: m = !1,
|
|
25
|
+
blurAfterCLick: _ = !1
|
|
26
|
+
} = e;
|
|
27
|
+
return /* @__PURE__ */ o(
|
|
28
|
+
"button",
|
|
29
|
+
{
|
|
30
|
+
type: "button",
|
|
31
|
+
disabled: B,
|
|
32
|
+
className: d(t.ButtonRadio, {
|
|
33
|
+
[t.ButtonRadioActive]: a,
|
|
34
|
+
[t.ButtonRadioFullWidth]: r
|
|
35
|
+
}),
|
|
36
|
+
onClick: (u) => {
|
|
37
|
+
m && u.preventDefault(), _ && u.currentTarget.blur(), s?.call(null);
|
|
38
|
+
},
|
|
39
|
+
onFocus: () => c?.call(null),
|
|
40
|
+
onBlur: () => R?.call(null),
|
|
41
|
+
children: /* @__PURE__ */ i("div", { className: t.ButtonRadioWrap, children: [
|
|
42
|
+
/* @__PURE__ */ o(h, { state: a ? "success" : "idle" }),
|
|
43
|
+
/* @__PURE__ */ i("div", { className: t.ButtonRadioContent, children: [
|
|
44
|
+
/* @__PURE__ */ i("div", { className: t.ButtonRadioRow, children: [
|
|
45
|
+
/* @__PURE__ */ o("span", { className: t.ButtonRadioText, children: l }),
|
|
46
|
+
n ? /* @__PURE__ */ o("span", { className: d(t.ButtonRadioText, t.ButtonRadioTextPrimary), children: n.text }) : null
|
|
47
|
+
] }),
|
|
48
|
+
n && /* @__PURE__ */ i("div", { className: t.ButtonRadioRow, children: [
|
|
49
|
+
/* @__PURE__ */ o("span", { className: t.ButtonRadioHint, children: n.hintLeft }),
|
|
50
|
+
/* @__PURE__ */ o("span", { className: t.ButtonRadioHint, children: n.hintRight })
|
|
51
|
+
] })
|
|
52
|
+
] })
|
|
53
|
+
] })
|
|
54
|
+
}
|
|
55
|
+
);
|
|
56
|
+
};
|
|
57
|
+
export {
|
|
58
|
+
A as ButtonRadio
|
|
59
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsxs as a, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { Circle as i, X as u, Check as S } from "lucide-react";
|
|
3
|
+
import { Animation as e } from "../../../animation/animation.component.js";
|
|
4
|
+
import n from "clsx";
|
|
5
|
+
import '../../../../assets/status-6MH80dkz.css';const l = "_Status_5dqaf_1", _ = "_StatusCircle_5dqaf_6", C = "_StatusCircleIdle_5dqaf_14", d = "_StatusCircleSuccess_5dqaf_20", m = "_StatusCircleError_5dqaf_26", f = "_StatusIconContent_5dqaf_32", I = "_StatusIconAnimate_5dqaf_40", h = "_StatusCheck_5dqaf_48", q = "_StatusX_5dqaf_49", t = {
|
|
6
|
+
Status: l,
|
|
7
|
+
StatusCircle: _,
|
|
8
|
+
StatusCircleIdle: C,
|
|
9
|
+
StatusCircleSuccess: d,
|
|
10
|
+
StatusCircleError: m,
|
|
11
|
+
StatusIconContent: f,
|
|
12
|
+
StatusIconAnimate: I,
|
|
13
|
+
StatusCheck: h,
|
|
14
|
+
StatusX: q
|
|
15
|
+
}, x = (r) => {
|
|
16
|
+
const { className: o, state: s = "idle" } = r;
|
|
17
|
+
return /* @__PURE__ */ a("div", { className: n(t.Status, o), children: [
|
|
18
|
+
/* @__PURE__ */ c(
|
|
19
|
+
i,
|
|
20
|
+
{
|
|
21
|
+
size: 24,
|
|
22
|
+
className: n(t.StatusCircle, {
|
|
23
|
+
[t.StatusCircleIdle]: s === "idle",
|
|
24
|
+
[t.StatusCircleSuccess]: s === "success",
|
|
25
|
+
[t.StatusCircleError]: s === "error"
|
|
26
|
+
})
|
|
27
|
+
}
|
|
28
|
+
),
|
|
29
|
+
/* @__PURE__ */ a("div", { className: t.StatusIconContent, children: [
|
|
30
|
+
/* @__PURE__ */ c(e.FadeScale, { name: "icon-x", condition: s === "error", className: t.StatusIconAnimate, children: /* @__PURE__ */ c(u, { size: 14, className: t.StatusX }) }),
|
|
31
|
+
/* @__PURE__ */ c(e.FadeScale, { name: "icon-check", condition: s === "success", className: t.StatusIconAnimate, children: /* @__PURE__ */ c(S, { size: 14, className: t.StatusCheck }) })
|
|
32
|
+
] })
|
|
33
|
+
] });
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
x as Status
|
|
37
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const Control: {
|
|
2
2
|
Box: import('react').ForwardRefExoticComponent<import('./components/box/box.component').BoxProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
3
3
|
Button: (props: import('./components/button/button.component').ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
ButtonRadio: (props: import('./components/button-radio/button-radio.component').ButtonRadioProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
5
|
ButtonText: (props: import('./components/button-text/button-text.component').ButtonTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
CardImage: (props: import('./components/card-image/card-image.component').CardImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
CardText: (props: import('./components/card-text/card-text.component').CardTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -13,6 +14,7 @@ export declare const Control: {
|
|
|
13
14
|
Radio: (props: import('./components/radio/radio.component').RadioProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
RadioLabel: <T extends import('./types').ChoiceValue>(props: import('./components/radio-label/radio-label.component').RadioLabelProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
15
16
|
RadioText: (props: import('./components/radio-text/radio-text.component').RadioTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
Status: (props: import('./components/status/status.component').StatusProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
18
|
Text: (props: import('./components/text/text.component').TextProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
19
|
Textarea: (props: import('./components/textarea/textarea.component').TextareaProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
20
|
};
|
|
@@ -1,37 +1,41 @@
|
|
|
1
1
|
import { Box as o } from "./components/box/box.component.js";
|
|
2
2
|
import { Button as r } from "./components/button/button.component.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
3
|
+
import { ButtonRadio as m } from "./components/button-radio/button-radio.component.js";
|
|
4
|
+
import { ButtonText as t } from "./components/button-text/button-text.component.js";
|
|
5
|
+
import { CardImage as i } from "./components/card-image/card-image.component.js";
|
|
6
|
+
import { CardText as p } from "./components/card-text/card-text.component.js";
|
|
7
|
+
import { Checkbox as f } from "./components/checkbox/checkbox.component.js";
|
|
8
|
+
import { Choice as e } from "./components/choice/choice.component.js";
|
|
9
|
+
import { Dropdown as a } from "./components/dropdown/dropdown.component.js";
|
|
10
|
+
import { HiddenInput as d } from "./components/hidden-input/hidden-input.component.js";
|
|
11
|
+
import { Input as n } from "./components/input/input.component.js";
|
|
12
|
+
import { Label as x } from "./components/label/label.component.js";
|
|
13
|
+
import { Radio as u } from "./components/radio/radio.component.js";
|
|
13
14
|
import { RadioLabel as C } from "./components/radio-label/radio-label.component.js";
|
|
14
15
|
import { RadioText as T } from "./components/radio-text/radio-text.component.js";
|
|
15
|
-
import {
|
|
16
|
+
import { Status as B } from "./components/status/status.component.js";
|
|
17
|
+
import { Text as R } from "./components/text/text.component.js";
|
|
16
18
|
import { Textarea as b } from "./components/textarea/textarea.component.js";
|
|
17
|
-
const
|
|
19
|
+
const E = {
|
|
18
20
|
Box: o,
|
|
19
21
|
Button: r,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
ButtonRadio: m,
|
|
23
|
+
ButtonText: t,
|
|
24
|
+
CardImage: i,
|
|
25
|
+
CardText: p,
|
|
26
|
+
Checkbox: f,
|
|
27
|
+
Choice: e,
|
|
28
|
+
Dropdown: a,
|
|
29
|
+
HiddenInput: d,
|
|
30
|
+
Input: n,
|
|
31
|
+
Label: x,
|
|
32
|
+
Radio: u,
|
|
30
33
|
RadioLabel: C,
|
|
31
34
|
RadioText: T,
|
|
32
|
-
|
|
35
|
+
Status: B,
|
|
36
|
+
Text: R,
|
|
33
37
|
Textarea: b
|
|
34
38
|
};
|
|
35
39
|
export {
|
|
36
|
-
|
|
40
|
+
E as Control
|
|
37
41
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as o, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { LockKeyhole as r } from "lucide-react";
|
|
3
3
|
import n from "clsx";
|
|
4
|
-
import '../../assets/data-protected-label-
|
|
4
|
+
import '../../assets/data-protected-label-zRn9upL6.css';const L = "_DataProtectedLabel_1gfl2_1", d = "_DataProtectedLabelAlignLeft_1gfl2_9", i = "_DataProtectedLabelAlignCenter_1gfl2_13", D = "_DataProtectedLabelAlignRight_1gfl2_17", b = "_DataProtectedLabelIcon_1gfl2_21", P = "_DataProtectedLabelText_1gfl2_27", t = {
|
|
5
5
|
DataProtectedLabel: L,
|
|
6
6
|
DataProtectedLabelAlignLeft: d,
|
|
7
7
|
DataProtectedLabelAlignCenter: i,
|
|
8
8
|
DataProtectedLabelAlignRight: D,
|
|
9
9
|
DataProtectedLabelIcon: b,
|
|
10
10
|
DataProtectedLabelText: P
|
|
11
|
-
},
|
|
12
|
-
const { text:
|
|
13
|
-
return /* @__PURE__ */
|
|
11
|
+
}, f = (l) => {
|
|
12
|
+
const { text: c = "Höchste Datensicherheit", align: e = "center" } = l;
|
|
13
|
+
return /* @__PURE__ */ o(
|
|
14
14
|
"div",
|
|
15
15
|
{
|
|
16
|
-
className: n(
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
16
|
+
className: n(t.DataProtectedLabel, {
|
|
17
|
+
[t.DataProtectedLabelAlignLeft]: e === "left",
|
|
18
|
+
[t.DataProtectedLabelAlignCenter]: e === "center",
|
|
19
|
+
[t.DataProtectedLabelAlignRight]: e === "right"
|
|
20
20
|
}),
|
|
21
21
|
children: [
|
|
22
|
-
/* @__PURE__ */ a(r, { className:
|
|
23
|
-
/* @__PURE__ */ a("span", { className:
|
|
22
|
+
/* @__PURE__ */ a(r, { className: t.DataProtectedLabelIcon }),
|
|
23
|
+
/* @__PURE__ */ a("span", { className: t.DataProtectedLabelText, children: c })
|
|
24
24
|
]
|
|
25
25
|
}
|
|
26
26
|
);
|
|
27
27
|
};
|
|
28
28
|
export {
|
|
29
|
-
|
|
29
|
+
f as DataProtectedLabel
|
|
30
30
|
};
|
|
@@ -1,73 +1,27 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
StepCheck: T,
|
|
15
|
-
StepX: h,
|
|
16
|
-
StepText: u,
|
|
17
|
-
StepTextIdle: A,
|
|
18
|
-
StepTextActive: N
|
|
19
|
-
}, E = (p) => {
|
|
20
|
-
const { state: t = "idle", text: o = "" } = p;
|
|
21
|
-
return /* @__PURE__ */ n("div", { className: e.Step, children: [
|
|
22
|
-
/* @__PURE__ */ n("div", { className: e.StepIcon, children: [
|
|
23
|
-
/* @__PURE__ */ c(
|
|
24
|
-
r,
|
|
25
|
-
{
|
|
26
|
-
size: 24,
|
|
27
|
-
className: S(e.StepCircle, {
|
|
28
|
-
[e.StepCircleIdle]: t === "idle",
|
|
29
|
-
[e.StepCircleSuccess]: t === "success",
|
|
30
|
-
[e.StepCircleError]: t === "error"
|
|
31
|
-
})
|
|
32
|
-
}
|
|
33
|
-
),
|
|
34
|
-
/* @__PURE__ */ n("div", { className: e.StepIconContent, children: [
|
|
35
|
-
/* @__PURE__ */ c(
|
|
36
|
-
s.FadeScale,
|
|
37
|
-
{
|
|
38
|
-
name: "icon-x",
|
|
39
|
-
condition: t === "error",
|
|
40
|
-
duration: 0.2,
|
|
41
|
-
delay: 0.2,
|
|
42
|
-
className: e.StepIconAnimate,
|
|
43
|
-
children: /* @__PURE__ */ c(i, { size: 14, className: e.StepX })
|
|
44
|
-
}
|
|
45
|
-
),
|
|
46
|
-
/* @__PURE__ */ c(
|
|
47
|
-
s.FadeScale,
|
|
48
|
-
{
|
|
49
|
-
name: "icon-check",
|
|
50
|
-
condition: t === "success",
|
|
51
|
-
duration: 0.2,
|
|
52
|
-
delay: 0.2,
|
|
53
|
-
className: e.StepIconAnimate,
|
|
54
|
-
children: /* @__PURE__ */ c(l, { size: 14, className: e.StepCheck })
|
|
55
|
-
}
|
|
56
|
-
)
|
|
57
|
-
] })
|
|
58
|
-
] }),
|
|
59
|
-
/* @__PURE__ */ c(
|
|
1
|
+
import { jsxs as c, jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import { Control as o } from "../../../control/control.component.js";
|
|
3
|
+
import x from "clsx";
|
|
4
|
+
import '../../../../assets/step-Bq2nontX.css';const r = "_Step_9bp6g_1", n = "_StepText_9bp6g_9", _ = "_StepTextIdle_9bp6g_15", l = "_StepTextActive_9bp6g_19", e = {
|
|
5
|
+
Step: r,
|
|
6
|
+
StepText: n,
|
|
7
|
+
StepTextIdle: _,
|
|
8
|
+
StepTextActive: l
|
|
9
|
+
}, m = (s) => {
|
|
10
|
+
const { state: t = "idle", text: S = "" } = s;
|
|
11
|
+
return /* @__PURE__ */ c("div", { className: e.Step, children: [
|
|
12
|
+
/* @__PURE__ */ p(o.Status, { state: t }),
|
|
13
|
+
/* @__PURE__ */ p(
|
|
60
14
|
"span",
|
|
61
15
|
{
|
|
62
|
-
className:
|
|
16
|
+
className: x(e.StepText, {
|
|
63
17
|
[e.StepTextIdle]: t === "idle",
|
|
64
18
|
[e.StepTextActive]: t === "success" || t === "error"
|
|
65
19
|
}),
|
|
66
|
-
dangerouslySetInnerHTML: { __html:
|
|
20
|
+
dangerouslySetInnerHTML: { __html: S }
|
|
67
21
|
}
|
|
68
22
|
)
|
|
69
23
|
] });
|
|
70
24
|
};
|
|
71
25
|
export {
|
|
72
|
-
|
|
26
|
+
m as Step
|
|
73
27
|
};
|
package/dist/main.js
CHANGED
|
@@ -21,7 +21,7 @@ import { Sidebar as w } from "./components/sidebar/sidebar.component.js";
|
|
|
21
21
|
import { Text as G } from "./components/text/text.component.js";
|
|
22
22
|
import { UserPanel as K } from "./components/user-panel/user-panel.component.js";
|
|
23
23
|
import { Warranty as Q } from "./components/warranty/warranty.component.js";
|
|
24
|
-
import './assets/main-
|
|
24
|
+
import './assets/main-DyrTSsPp.css';export {
|
|
25
25
|
e as Animation,
|
|
26
26
|
m as Certifications,
|
|
27
27
|
x as Control,
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._DataProtectedLabel_ceqv9_1{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:var(--rm-ui-padding-sm)}._DataProtectedLabelAlignLeft_ceqv9_9,._DataProtectedLabelAlignCenter_ceqv9_13{justify-content:flex-start}._DataProtectedLabelAlignRight_ceqv9_17{justify-content:flex-end}._DataProtectedLabelIcon_ceqv9_21{width:24px;height:24px;color:var(--rm-ui-data-protected-label-icon)}._DataProtectedLabelText_ceqv9_27{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-data-protected-label-text)}
|
|
@@ -1 +0,0 @@
|
|
|
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)}
|