@arthurzakharov/ui-kit 1.4.6 → 1.4.7
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/form-row-tmjvl6nb.css +1 -0
- package/dist/assets/sidebar-ODZFjsSe.css +1 -0
- package/dist/components/form-row/form-row.component.d.ts +2 -2
- package/dist/components/form-row/form-row.component.js +43 -7
- package/dist/components/form-row/index.d.ts +1 -0
- package/dist/components/form-row/index.js +4 -0
- package/dist/components/sidebar/index.d.ts +1 -0
- package/dist/components/sidebar/index.js +4 -0
- package/dist/components/sidebar/sidebar.component.d.ts +10 -5
- package/dist/components/sidebar/sidebar.component.js +64 -35
- package/dist/main.d.ts +1 -2
- package/dist/main.js +42 -44
- package/package.json +1 -1
- package/dist/assets/board-DdRugbJz.css +0 -1
- package/dist/assets/sidebar-B3KPFpFU.css +0 -1
- package/dist/components/sidebar/components/board/board.component.d.ts +0 -3
- package/dist/components/sidebar/components/board/board.component.js +0 -16
- package/dist/components/sidebar/components/info/info.component.d.ts +0 -4
- package/dist/components/sidebar/components/info/info.component.js +0 -13
- package/dist/components/sidebar/components/step/step.component.d.ts +0 -6
- package/dist/components/sidebar/components/step/step.component.js +0 -14
- package/dist/components/sidebar/components/steps/steps.component.d.ts +0 -5
- package/dist/components/sidebar/components/steps/steps.component.js +0 -10
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._FormRow_f70c8_1{display:flex;flex-direction:column;align-items:stretch}._XXS_f70c8_7{gap:var(--rm-ui-padding-xxs)}._XS_f70c8_11{gap:var(--rm-ui-padding-xs)}._SM_f70c8_15{gap:var(--rm-ui-padding-sm)}._MD_f70c8_19{gap:var(--rm-ui-padding-md)}._LG_f70c8_23,._XL_f70c8_27{gap:var(--rm-ui-padding-xl)}._XXL_f70c8_31{gap:var(--rm-ui-padding-xxl)}._XXXL_f70c8_35{gap:var(--rm-ui-padding-xxxl)}._Child_f70c8_39{flex-grow:1}@media screen and (min-width:768px){._FormRow_f70c8_1{flex-direction:row}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Sidebar_13hlr_1{display:block}._Board_13hlr_5{border-radius:var(--rm-ui-border-radius-md);padding:var(--rm-ui-padding-lg);background-color:var(--rm-ui-sidebar-bg)}._SidebarTitle_13hlr_11,._SidebarButton_13hlr_12{padding-bottom:var(--rm-ui-padding-md)}._Steps_13hlr_16,._Info_13hlr_17{display:flex;flex-direction:column;align-items:flex-start;gap:var(--rm-ui-padding-sm)}._Step_13hlr_16{display:inline-flex;align-items:center;gap:var(--rm-ui-padding-xs)}._InfoRow_13hlr_30{display:inline-flex;align-items:center;justify-content:space-between;gap:var(--rm-ui-padding-xs)}._SidebarButton_13hlr_12{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}@media screen and (min-width:1024px){._Board_13hlr_5{padding:var(--rm-ui-padding-xl)}}@media screen and (min-width:1200px){._Board_13hlr_5{padding:var(--rm-ui-padding-xxl)}._SidebarTitle_13hlr_11,._SidebarButton_13hlr_12{padding-bottom:var(--rm-ui-padding-lg)}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Base, Size } from '../../utils/types';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { Base, Size } from '../../utils/types';
|
|
3
3
|
export interface FormRowProps extends PropsWithChildren<Base> {
|
|
4
4
|
gap: Size;
|
|
5
5
|
}
|
|
6
|
-
export declare const FormRow: (
|
|
6
|
+
export declare const FormRow: ({ children, gap, ...base }: FormRowProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,10 +1,46 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { Children as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { Children as r, isValidElement as f, cloneElement as L } from "react";
|
|
3
|
+
import _ from "clsx";
|
|
4
|
+
import { baseProps as n } from "../../utils/functions/functions.util.js";
|
|
5
|
+
import '../../assets/form-row-tmjvl6nb.css';const i = "_FormRow_f70c8_1", x = "_XXS_f70c8_7", S = "_XS_f70c8_11", d = "_SM_f70c8_15", M = "_MD_f70c8_19", a = "_LG_f70c8_23", u = "_XL_f70c8_27", w = "_XXL_f70c8_31", C = "_XXXL_f70c8_35", F = "_Child_f70c8_39", o = {
|
|
6
|
+
FormRow: i,
|
|
7
|
+
XXS: x,
|
|
8
|
+
XS: S,
|
|
9
|
+
SM: d,
|
|
10
|
+
MD: M,
|
|
11
|
+
LG: a,
|
|
12
|
+
XL: u,
|
|
13
|
+
XXL: w,
|
|
14
|
+
XXXL: C,
|
|
15
|
+
Child: F
|
|
16
|
+
}, G = ({ children: t, gap: X = "sm", ...c }) => r.count(t) === 0 ? null : /* @__PURE__ */ e(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
"data-testid": n(c, "data-testid", "form-row"),
|
|
20
|
+
className: _(o.FormRow, n(c, "className"), {
|
|
21
|
+
[o.XXS]: X === "xxs",
|
|
22
|
+
[o.XS]: X === "xs",
|
|
23
|
+
[o.SM]: X === "sm",
|
|
24
|
+
[o.MD]: X === "md",
|
|
25
|
+
[o.LG]: X === "lg",
|
|
26
|
+
[o.XL]: X === "xl",
|
|
27
|
+
[o.XXL]: X === "xxl",
|
|
28
|
+
[o.XXXL]: X === "xxxl"
|
|
29
|
+
}),
|
|
30
|
+
children: r.map(t, (s) => {
|
|
31
|
+
if (!f(s)) return null;
|
|
32
|
+
const { className: m, children: l } = s.props;
|
|
33
|
+
return L(
|
|
34
|
+
s,
|
|
35
|
+
{
|
|
36
|
+
...s.props,
|
|
37
|
+
className: _(m, o.Child)
|
|
38
|
+
},
|
|
39
|
+
l
|
|
40
|
+
);
|
|
41
|
+
})
|
|
42
|
+
}
|
|
43
|
+
);
|
|
8
44
|
export {
|
|
9
|
-
|
|
45
|
+
G as FormRow
|
|
10
46
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FormRow } from './form-row.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Sidebar, type SidebarProps } from './sidebar.component';
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { CertificationsProps } from '../certifications';
|
|
3
3
|
import { UserPanelProps } from '../user-panel';
|
|
4
|
-
import {
|
|
5
|
-
import { StepsProps } from './components/steps/steps.component';
|
|
4
|
+
import { State } from '../../controls/utils/types';
|
|
6
5
|
import { Base } from '../../utils/types';
|
|
6
|
+
type SidebarStep = {
|
|
7
|
+
state: State;
|
|
8
|
+
text: string;
|
|
9
|
+
};
|
|
10
|
+
type SidebarInfo = [string, string];
|
|
7
11
|
export interface SidebarProps extends PropsWithChildren<Base> {
|
|
8
12
|
isButtonVisible: boolean;
|
|
9
13
|
isUserOpen: boolean;
|
|
10
14
|
title: string;
|
|
11
|
-
steps:
|
|
12
|
-
info:
|
|
15
|
+
steps: SidebarStep[];
|
|
16
|
+
info: SidebarInfo[];
|
|
13
17
|
user: UserPanelProps;
|
|
14
18
|
certifications: CertificationsProps['icons'];
|
|
15
19
|
}
|
|
16
|
-
export declare const Sidebar: ({ children, isButtonVisible, isUserOpen, title, steps, info, certifications, user, }: SidebarProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const Sidebar: ({ children, isButtonVisible, isUserOpen, title, steps, info, certifications, user, ...base }: SidebarProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export {};
|
|
@@ -1,37 +1,66 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import '../../assets/sidebar-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
1
|
+
import { jsx as t, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import N from "clsx";
|
|
3
|
+
import { AnimationFadeScale as l } from "../../animations/animation-fade-scale/animation-fade-scale.component.js";
|
|
4
|
+
import { Certifications as B } from "../certifications/certifications.component.js";
|
|
5
|
+
import { Line as d } from "../line/line.component.js";
|
|
6
|
+
import { Text as s } from "../text/text.component.js";
|
|
7
|
+
import { UserPanel as u } from "../user-panel/user-panel.component.js";
|
|
8
|
+
import { ControlStatus as v } from "../../controls/control-status/control-status.component.js";
|
|
9
|
+
import { baseProps as c } from "../../utils/functions/functions.util.js";
|
|
10
|
+
import '../../assets/sidebar-ODZFjsSe.css';const x = "_Sidebar_13hlr_1", g = "_Board_13hlr_5", w = "_SidebarTitle_13hlr_11", y = "_SidebarButton_13hlr_12", T = "_Steps_13hlr_16", C = "_Info_13hlr_17", R = "_Step_13hlr_16", z = "_InfoRow_13hlr_30", e = {
|
|
11
|
+
Sidebar: x,
|
|
12
|
+
Board: g,
|
|
13
|
+
SidebarTitle: w,
|
|
14
|
+
SidebarButton: y,
|
|
15
|
+
Steps: T,
|
|
16
|
+
Info: C,
|
|
17
|
+
Step: R,
|
|
18
|
+
InfoRow: z
|
|
19
|
+
}, D = ({
|
|
20
|
+
children: m,
|
|
21
|
+
isButtonVisible: p = !1,
|
|
22
|
+
isUserOpen: b = !1,
|
|
23
|
+
title: h = "Ihre Übersicht",
|
|
24
|
+
steps: _ = [],
|
|
25
|
+
info: S = [],
|
|
26
|
+
certifications: f = [],
|
|
27
|
+
user: a,
|
|
28
|
+
...n
|
|
29
|
+
}) => /* @__PURE__ */ t(
|
|
30
|
+
"div",
|
|
31
|
+
{
|
|
32
|
+
"data-testid": c(n, "data-testid", "sidebar"),
|
|
33
|
+
className: N(e.Sidebar, c(n, "className")),
|
|
34
|
+
children: /* @__PURE__ */ r("div", { className: e.Board, children: [
|
|
35
|
+
/* @__PURE__ */ t(s, { preset: "sidebar-title", className: e.SidebarTitle, children: h }),
|
|
36
|
+
/* @__PURE__ */ t("div", { className: e.Steps, "data-testid": "sidebar-steps", children: _.map(({ state: i, text: o }) => /* @__PURE__ */ r("div", { className: e.Step, "data-testid": "sidebar-step", children: [
|
|
37
|
+
/* @__PURE__ */ t(v, { state: i }),
|
|
38
|
+
/* @__PURE__ */ t(
|
|
39
|
+
s,
|
|
40
|
+
{
|
|
41
|
+
tag: "span",
|
|
42
|
+
weight: "medium",
|
|
43
|
+
size: "body-small",
|
|
44
|
+
color: i === "idle" ? "text-secondary" : "text-primary",
|
|
45
|
+
children: o
|
|
46
|
+
}
|
|
47
|
+
)
|
|
48
|
+
] }, o)) }),
|
|
49
|
+
/* @__PURE__ */ t(d, {}),
|
|
50
|
+
/* @__PURE__ */ t("div", { className: e.Info, "data-testid": "sidebar-info", children: S.map(([i, o], I) => /* @__PURE__ */ r("div", { className: e.InfoRow, "data-testid": "sidebar-info-row", children: [
|
|
51
|
+
/* @__PURE__ */ t(s, { tag: "span", size: "body-small", color: "text-secondary", children: i }),
|
|
52
|
+
/* @__PURE__ */ t(s, { tag: "span", size: "body-small", align: "right", children: o })
|
|
53
|
+
] }, `${i}-${I}`)) }),
|
|
54
|
+
/* @__PURE__ */ t(d, {}),
|
|
55
|
+
/* @__PURE__ */ r(l, { name: "user", condition: b, children: [
|
|
56
|
+
/* @__PURE__ */ t(u, { title: a.title, button: a.button, data: a.data, onClick: a.onClick }),
|
|
57
|
+
/* @__PURE__ */ t(d, {})
|
|
58
|
+
] }),
|
|
59
|
+
/* @__PURE__ */ t(l, { name: "button", condition: p, children: /* @__PURE__ */ t("div", { className: e.SidebarButton, children: m }) }),
|
|
60
|
+
/* @__PURE__ */ t(B, { icons: f })
|
|
61
|
+
] })
|
|
62
|
+
}
|
|
63
|
+
);
|
|
35
64
|
export {
|
|
36
|
-
|
|
65
|
+
D as Sidebar
|
|
37
66
|
};
|
package/dist/main.d.ts
CHANGED
|
@@ -29,7 +29,6 @@ export { DataProtectedLabel } from './components/data-protected-label';
|
|
|
29
29
|
export { Dialog, type DialogProps, type DialogSize, type DialogPosition } from './components/dialog/dialog.component';
|
|
30
30
|
export { DialogArticle } from './components/dialog-article';
|
|
31
31
|
export { Expenses, type ExpensesProps } from './components/expenses';
|
|
32
|
-
export { Flex, type FlexProps } from './components/flex/flex.component';
|
|
33
32
|
export { Footer } from './components/footer';
|
|
34
33
|
export { FormRow, type FormRowProps } from './components/form-row/form-row.component';
|
|
35
34
|
export { Header, type HeaderProps, type HeaderDescription } from './components/header/header.component';
|
|
@@ -43,7 +42,7 @@ export { Message, type MessageProps } from './components/message';
|
|
|
43
42
|
export { MessageBlock } from './components/message-block';
|
|
44
43
|
export { NotFound, type NotFoundProps } from './components/not-found';
|
|
45
44
|
export { Payment, type PaymentBlockProps, type PaymentGlassProps, type PaymentSidebarProps, type PaymentTextBlocksProps, type PaymentTextBlockItem, } from './components/payment/payment.component';
|
|
46
|
-
export { Sidebar, type SidebarProps } from './components/sidebar
|
|
45
|
+
export { Sidebar, type SidebarProps } from './components/sidebar';
|
|
47
46
|
export { Signature } from './components/signature';
|
|
48
47
|
export { Svg, type SvgProps } from './utils/svg/svg.component';
|
|
49
48
|
export { Text } from './components/text';
|
package/dist/main.js
CHANGED
|
@@ -7,8 +7,8 @@ import { ControlButton as C } from "./controls/control-button/control-button.com
|
|
|
7
7
|
import { ControlButtonCard as c } from "./controls/control-button-card/control-button-card.component.js";
|
|
8
8
|
import { ControlButtonRadio as s } from "./controls/control-button-radio/control-button-radio.component.js";
|
|
9
9
|
import { ControlButtonText as g } from "./controls/control-button-text/control-button-text.component.js";
|
|
10
|
-
import { ControlCardImage as
|
|
11
|
-
import { ControlCardText as
|
|
10
|
+
import { ControlCardImage as T } from "./controls/control-card-image/control-card-image.component.js";
|
|
11
|
+
import { ControlCardText as F } from "./controls/control-card-text/control-card-text.component.js";
|
|
12
12
|
import { ControlCheckbox as R } from "./controls/control-checkbox/control-checkbox.component.js";
|
|
13
13
|
import { ControlChoice as I } from "./controls/control-choice/control-choice.component.js";
|
|
14
14
|
import { ControlDropdown as P } from "./controls/control-dropdown/control-dropdown.component.js";
|
|
@@ -28,26 +28,25 @@ import { DataProtectedLabel as oo } from "./components/data-protected-label/data
|
|
|
28
28
|
import { Dialog as to } from "./components/dialog/dialog.component.js";
|
|
29
29
|
import { DialogArticle as mo } from "./components/dialog-article/dialog-article.component.js";
|
|
30
30
|
import { Expenses as po } from "./components/expenses/expenses.component.js";
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import { Warranty as Qo } from "./components/warranty/warranty.component.js";
|
|
31
|
+
import { Footer as no } from "./components/footer/footer.component.js";
|
|
32
|
+
import { FormRow as lo } from "./components/form-row/form-row.component.js";
|
|
33
|
+
import { Header as Co } from "./components/header/header.component.js";
|
|
34
|
+
import { InfoPanel as uo } from "./components/info-panel/info-panel.component.js";
|
|
35
|
+
import { Information as Bo } from "./components/information/information.component.js";
|
|
36
|
+
import { Layout as Ao } from "./components/layout/layout.component.js";
|
|
37
|
+
import { Line as bo } from "./components/line/line.component.js";
|
|
38
|
+
import { Loader as Lo } from "./components/loader/loader.component.js";
|
|
39
|
+
import { MainAttachment as So } from "./components/main-attachment/main-attachment.component.js";
|
|
40
|
+
import { Message as Do } from "./components/message/message.component.js";
|
|
41
|
+
import { MessageBlock as ho } from "./components/message-block/message-block.component.js";
|
|
42
|
+
import { NotFound as yo } from "./components/not-found/not-found.component.js";
|
|
43
|
+
import { Payment as ko } from "./components/payment/payment.component.js";
|
|
44
|
+
import { Sidebar as vo } from "./components/sidebar/sidebar.component.js";
|
|
45
|
+
import { Signature as Go } from "./components/signature/signature.component.js";
|
|
46
|
+
import { Svg as Uo } from "./utils/svg/svg.component.js";
|
|
47
|
+
import { Text as jo } from "./components/text/text.component.js";
|
|
48
|
+
import { UserPanel as zo } from "./components/user-panel/user-panel.component.js";
|
|
49
|
+
import { Warranty as Ko } from "./components/warranty/warranty.component.js";
|
|
51
50
|
import './assets/main-DlyWXITA.css';export {
|
|
52
51
|
V as AccordionTable,
|
|
53
52
|
t as AnimationFadeGrow,
|
|
@@ -61,8 +60,8 @@ import './assets/main-DlyWXITA.css';export {
|
|
|
61
60
|
c as ControlButtonCard,
|
|
62
61
|
s as ControlButtonRadio,
|
|
63
62
|
g as ControlButtonText,
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
T as ControlCardImage,
|
|
64
|
+
F as ControlCardText,
|
|
66
65
|
R as ControlCheckbox,
|
|
67
66
|
I as ControlChoice,
|
|
68
67
|
P as ControlDropdown,
|
|
@@ -79,24 +78,23 @@ import './assets/main-DlyWXITA.css';export {
|
|
|
79
78
|
to as Dialog,
|
|
80
79
|
mo as DialogArticle,
|
|
81
80
|
po as Expenses,
|
|
82
|
-
no as
|
|
83
|
-
lo as
|
|
84
|
-
Co as
|
|
85
|
-
uo as
|
|
86
|
-
Bo as
|
|
87
|
-
Ao as
|
|
88
|
-
|
|
89
|
-
Lo as
|
|
90
|
-
So as
|
|
91
|
-
Do as
|
|
92
|
-
ho as
|
|
93
|
-
yo as
|
|
94
|
-
ko as
|
|
95
|
-
vo as
|
|
96
|
-
Go as
|
|
97
|
-
Uo as
|
|
98
|
-
jo as
|
|
99
|
-
zo as
|
|
100
|
-
Ko as
|
|
101
|
-
Qo as Warranty
|
|
81
|
+
no as Footer,
|
|
82
|
+
lo as FormRow,
|
|
83
|
+
Co as Header,
|
|
84
|
+
uo as InfoPanel,
|
|
85
|
+
Bo as Information,
|
|
86
|
+
Ao as Layout,
|
|
87
|
+
bo as Line,
|
|
88
|
+
Lo as Loader,
|
|
89
|
+
So as MainAttachment,
|
|
90
|
+
Do as Message,
|
|
91
|
+
ho as MessageBlock,
|
|
92
|
+
yo as NotFound,
|
|
93
|
+
ko as Payment,
|
|
94
|
+
vo as Sidebar,
|
|
95
|
+
Go as Signature,
|
|
96
|
+
Uo as Svg,
|
|
97
|
+
jo as Text,
|
|
98
|
+
zo as UserPanel,
|
|
99
|
+
Ko as Warranty
|
|
102
100
|
};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._Board_daowi_1{border-radius:var(--rm-ui-border-radius-md);padding:var(--rm-ui-padding-lg);background-color:var(--rm-ui-sidebar-bg)}@media screen and (min-width:1024px){._Board_daowi_1{padding:var(--rm-ui-padding-xl)}}@media screen and (min-width:1200px){._Board_daowi_1{padding:var(--rm-ui-padding-xxl)}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._SidebarTitle_1sscs_1,._SidebarButton_1sscs_2{padding-bottom:var(--rm-ui-padding-md)}._SidebarButton_1sscs_2{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}@media screen and (min-width:1200px){._SidebarTitle_1sscs_1,._SidebarButton_1sscs_2{padding-bottom:var(--rm-ui-padding-lg)}}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import s from "clsx";
|
|
3
|
-
import { baseProps as a } from "../../../../utils/functions/functions.util.js";
|
|
4
|
-
import '../../../../assets/board-DdRugbJz.css';const t = "_Board_daowi_1", i = {
|
|
5
|
-
Board: t
|
|
6
|
-
}, p = ({ children: r, ...o }) => /* @__PURE__ */ d(
|
|
7
|
-
"div",
|
|
8
|
-
{
|
|
9
|
-
"data-testid": a(o, "data-testid", "sidebar-board"),
|
|
10
|
-
className: s(i.Board, a(o, "className")),
|
|
11
|
-
children: r
|
|
12
|
-
}
|
|
13
|
-
);
|
|
14
|
-
export {
|
|
15
|
-
p as Board
|
|
16
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { Flex as e } from "../../../flex/flex.component.js";
|
|
3
|
-
import { Text as o } from "../../../text/text.component.js";
|
|
4
|
-
const d = (i) => {
|
|
5
|
-
const { data: n = [] } = i;
|
|
6
|
-
return /* @__PURE__ */ t(e, { direction: "column", justify: "start", gap: "sm", children: n.map(([r, s]) => /* @__PURE__ */ a(e, { direction: "row", gap: "xs", align: "center", justify: "space-between", children: [
|
|
7
|
-
/* @__PURE__ */ t(o, { tag: "span", size: "body-small", color: "text-secondary", children: r }),
|
|
8
|
-
/* @__PURE__ */ t(o, { tag: "span", size: "body-small", align: "right", children: s })
|
|
9
|
-
] }, r)) });
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
d as Info
|
|
13
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { ControlStatus as s } from "../../../../controls/control-status/control-status.component.js";
|
|
3
|
-
import { Flex as m } from "../../../flex/flex.component.js";
|
|
4
|
-
import { Text as n } from "../../../text/text.component.js";
|
|
5
|
-
const c = (e) => {
|
|
6
|
-
const { state: t = "idle", text: o = "" } = e;
|
|
7
|
-
return /* @__PURE__ */ i(m, { direction: "row", align: "center", justify: "start", gap: "xs", children: [
|
|
8
|
-
/* @__PURE__ */ r(s, { state: t }),
|
|
9
|
-
/* @__PURE__ */ r(n, { tag: "span", weight: "medium", size: "body-small", color: t === "idle" ? "text-secondary" : "text-primary", children: o })
|
|
10
|
-
] });
|
|
11
|
-
};
|
|
12
|
-
export {
|
|
13
|
-
c as Step
|
|
14
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { Flex as i } from "../../../flex/flex.component.js";
|
|
3
|
-
import { Step as s } from "../step/step.component.js";
|
|
4
|
-
const c = (o) => {
|
|
5
|
-
const { data: m } = o;
|
|
6
|
-
return /* @__PURE__ */ t(i, { direction: "column", justify: "start", gap: "sm", children: m.map(({ state: p, text: r }) => /* @__PURE__ */ t(s, { state: p, text: r }, r)) });
|
|
7
|
-
};
|
|
8
|
-
export {
|
|
9
|
-
c as Steps
|
|
10
|
-
};
|