@arthurzakharov/ui-kit 3.4.0 → 3.6.0

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.
@@ -0,0 +1 @@
1
+ ._Dropzone_e3zu0_1{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--rm-ui-padding-xs);width:100%;min-height:160px;padding:var(--rm-ui-padding-md);border:2px dashed var(--rm-ui-grey-300);border-radius:var(--rm-ui-border-radius-md, 8px);background-color:var(--rm-ui-grey-50);text-align:center;cursor:pointer;transition:border-color .12s ease,background-color .12s ease}._Dropzone_e3zu0_1:hover,._Active_e3zu0_21{border-color:var(--rm-ui-color-theme-primary);background-color:var(--rm-ui-color-background-primary, #fff)}._Dropzone_e3zu0_1:focus-visible{outline:2px solid var(--rm-ui-color-focus);outline-offset:2px}._Disabled_e3zu0_31{cursor:not-allowed;opacity:.5}._HiddenInput_e3zu0_36{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}._Title_e3zu0_48{font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._Icon_e3zu0_54{color:var(--rm-ui-color-theme-primary)}._Invitation_e3zu0_58{font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._HelpText_e3zu0_64{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)}
@@ -6,9 +6,10 @@ export interface DropzoneProps extends Base {
6
6
  multiple?: boolean;
7
7
  maxSize?: number;
8
8
  disabled?: boolean;
9
+ title?: ReactNode;
9
10
  invitation: ReactNode;
10
11
  helpText?: ReactNode;
11
12
  onDrop: (files: File[]) => void;
12
13
  onReject?: (files: File[], reason: DropzoneRejectionReason) => void;
13
14
  }
14
- export declare const Dropzone: ({ accept, multiple, maxSize, disabled, invitation, helpText, onDrop, onReject, ...base }: DropzoneProps) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const Dropzone: ({ accept, multiple, maxSize, disabled, title, invitation, helpText, onDrop, onReject, ...base }: DropzoneProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,107 +1,110 @@
1
- import { jsxs as C, jsx as p } from "react/jsx-runtime";
2
- import { useRef as N, useState as T } from "react";
3
- import { Upload as L } from "lucide-react";
4
- import { baseProps as I, clsx as P } from "../../utils/functions/functions.util.js";
5
- import '../../assets/dropzone-iRe6v-43.css';const W = "_Dropzone_14jbn_1", k = "_Active_14jbn_21", E = "_Disabled_14jbn_31", K = "_HiddenInput_14jbn_36", O = "_Icon_14jbn_48", $ = "_Invitation_14jbn_52", B = "_HelpText_14jbn_58", o = {
6
- Dropzone: W,
7
- Active: k,
8
- Disabled: E,
9
- HiddenInput: K,
10
- Icon: O,
11
- Invitation: $,
12
- HelpText: B
13
- }, F = (r, u) => {
14
- const s = u.split(",").map((n) => n.trim()).filter(Boolean);
15
- return s.length === 0 ? !0 : s.some((n) => {
16
- if (n.startsWith("."))
17
- return r.name.toLowerCase().endsWith(n.toLowerCase());
18
- if (n.endsWith("/*")) {
19
- const f = n.slice(0, -1);
20
- return r.type.startsWith(f);
1
+ import { jsxs as L, jsx as l } from "react/jsx-runtime";
2
+ import { useRef as P, useState as W } from "react";
3
+ import { Upload as k } from "lucide-react";
4
+ import { baseProps as I, clsx as E } from "../../utils/functions/functions.util.js";
5
+ import '../../assets/dropzone-CxglLL5C.css';const K = "_Dropzone_e3zu0_1", O = "_Active_e3zu0_21", $ = "_Disabled_e3zu0_31", b = "_HiddenInput_e3zu0_36", B = "_Title_e3zu0_48", F = "_Icon_e3zu0_54", U = "_Invitation_e3zu0_58", q = "_HelpText_e3zu0_64", o = {
6
+ Dropzone: K,
7
+ Active: O,
8
+ Disabled: $,
9
+ HiddenInput: b,
10
+ Title: B,
11
+ Icon: F,
12
+ Invitation: U,
13
+ HelpText: q
14
+ }, G = (r, d) => {
15
+ const s = d.split(",").map((e) => e.trim()).filter(Boolean);
16
+ return s.length === 0 ? !0 : s.some((e) => {
17
+ if (e.startsWith("."))
18
+ return r.name.toLowerCase().endsWith(e.toLowerCase());
19
+ if (e.endsWith("/*")) {
20
+ const a = e.slice(0, -1);
21
+ return r.type.startsWith(a);
21
22
  }
22
- return r.type === n;
23
+ return r.type === e;
23
24
  });
24
- }, M = ({
25
+ }, V = ({
25
26
  accept: r,
26
- multiple: u = !1,
27
+ multiple: d = !1,
27
28
  maxSize: s,
28
- disabled: n = !1,
29
- invitation: f,
30
- helpText: d,
29
+ disabled: e = !1,
30
+ title: a,
31
+ invitation: z,
32
+ helpText: f,
31
33
  onDrop: y,
32
- onReject: c,
33
- ...D
34
+ onReject: p,
35
+ ...g
34
36
  }) => {
35
- const h = N(null), [b, g] = T(!1), _ = I(D, "data-testid", "dropzone"), x = (t) => {
36
- const l = [], a = [], i = [];
37
- for (const e of t) {
38
- if (!F(e, r)) {
39
- i.push(e);
37
+ const h = P(null), [T, _] = W(!1), D = I(g, "data-testid", "dropzone"), x = (t) => {
38
+ const u = [], i = [], c = [];
39
+ for (const n of t) {
40
+ if (!G(n, r)) {
41
+ c.push(n);
40
42
  continue;
41
43
  }
42
- if (s !== void 0 && e.size > s) {
43
- a.push(e);
44
+ if (s !== void 0 && n.size > s) {
45
+ i.push(n);
44
46
  continue;
45
47
  }
46
- l.push(e);
48
+ u.push(n);
47
49
  }
48
- return { accepted: l, tooLarge: a, wrongType: i };
50
+ return { accepted: u, tooLarge: i, wrongType: c };
49
51
  }, m = (t) => {
50
52
  if (!t || t.length === 0) return;
51
- const l = Array.from(t), { accepted: a, tooLarge: i, wrongType: e } = x(l);
52
- a.length > 0 && y(a), i.length > 0 && c && c(i, "tooLarge"), e.length > 0 && c && c(e, "wrongType");
53
+ const u = Array.from(t), { accepted: i, tooLarge: c, wrongType: n } = x(u);
54
+ i.length > 0 && y(i), c.length > 0 && p && p(c, "tooLarge"), n.length > 0 && p && p(n, "wrongType");
53
55
  }, A = () => {
54
- n || h.current?.click();
56
+ e || h.current?.click();
55
57
  }, H = (t) => {
56
- n || (t.key === "Enter" || t.key === " ") && (t.preventDefault(), h.current?.click());
58
+ e || (t.key === "Enter" || t.key === " ") && (t.preventDefault(), h.current?.click());
57
59
  }, w = (t) => {
58
60
  m(t.target.files), t.target.value = "";
59
61
  }, v = (t) => {
60
- t.preventDefault(), t.stopPropagation(), !n && g(!0);
61
- }, z = (t) => {
62
- t.preventDefault(), t.stopPropagation(), g(!1);
63
- }, j = (t) => {
64
- t.preventDefault(), t.stopPropagation(), g(!1), !n && m(t.dataTransfer.files);
62
+ t.preventDefault(), t.stopPropagation(), !e && _(!0);
63
+ }, N = (t) => {
64
+ t.preventDefault(), t.stopPropagation(), _(!1);
65
+ }, C = (t) => {
66
+ t.preventDefault(), t.stopPropagation(), _(!1), !e && m(t.dataTransfer.files);
65
67
  };
66
- return /* @__PURE__ */ C(
68
+ return /* @__PURE__ */ L(
67
69
  "div",
68
70
  {
69
- "data-testid": _,
70
- className: P(o.Dropzone, I(D, "className"), {
71
- [o.Active]: b,
72
- [o.Disabled]: n
71
+ "data-testid": D,
72
+ className: E(o.Dropzone, I(g, "className"), {
73
+ [o.Active]: T,
74
+ [o.Disabled]: e
73
75
  }),
74
76
  role: "button",
75
- tabIndex: n ? -1 : 0,
76
- "aria-disabled": n,
77
+ tabIndex: e ? -1 : 0,
78
+ "aria-disabled": e,
77
79
  onClick: A,
78
80
  onKeyDown: H,
79
81
  onDragOver: v,
80
82
  onDragEnter: v,
81
- onDragLeave: z,
82
- onDrop: j,
83
+ onDragLeave: N,
84
+ onDrop: C,
83
85
  children: [
84
- /* @__PURE__ */ p(
86
+ /* @__PURE__ */ l(
85
87
  "input",
86
88
  {
87
89
  ref: h,
88
90
  type: "file",
89
91
  className: o.HiddenInput,
90
92
  accept: r,
91
- multiple: u,
92
- disabled: n,
93
+ multiple: d,
94
+ disabled: e,
93
95
  onChange: w,
94
- "data-testid": `${_}-input`,
96
+ "data-testid": `${D}-input`,
95
97
  tabIndex: -1
96
98
  }
97
99
  ),
98
- /* @__PURE__ */ p(L, { size: 32, className: o.Icon, "aria-hidden": !0 }),
99
- /* @__PURE__ */ p("div", { className: o.Invitation, children: f }),
100
- d != null && /* @__PURE__ */ p("div", { className: o.HelpText, children: d })
100
+ a != null && /* @__PURE__ */ l("div", { className: o.Title, children: a }),
101
+ /* @__PURE__ */ l(k, { size: 32, className: o.Icon, "aria-hidden": !0 }),
102
+ /* @__PURE__ */ l("div", { className: o.Invitation, children: z }),
103
+ f != null && /* @__PURE__ */ l("div", { className: o.HelpText, children: f })
101
104
  ]
102
105
  }
103
106
  );
104
107
  };
105
108
  export {
106
- M as Dropzone
109
+ V as Dropzone
107
110
  };
@@ -1,6 +1,6 @@
1
- import { PropsWithChildren } from 'react';
1
+ import { PropsWithChildren, ReactNode } from 'react';
2
2
  export interface MainAttachmentProps extends PropsWithChildren {
3
- title?: string;
4
- subtitle?: string;
3
+ title?: ReactNode;
4
+ subtitle?: ReactNode;
5
5
  }
6
6
  export declare const MainAttachment: (props: MainAttachmentProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,25 +1,33 @@
1
- import { jsxs as m, jsx as a } from "react/jsx-runtime";
2
- import { clsx as h } from "../../utils/functions/functions.util.js";
3
- import { FadeScale as o } from "../../animations/fade-scale/fade-scale.component.js";
4
- import { Text as i } from "../text/text.component.js";
5
- import '../../assets/main-attachment-Cw8AP6xv.css';const r = "_MainAttachment_1oa7f_1", s = "_MainAttachmentTitle_1oa7f_5", A = "_MainAttachmentTitleWithSubtitle_1oa7f_9", M = "_MainAttachmentSubtitle_1oa7f_13", t = {
6
- MainAttachment: r,
7
- MainAttachmentTitle: s,
8
- MainAttachmentTitleWithSubtitle: A,
9
- MainAttachmentSubtitle: M
10
- }, d = (c) => {
11
- const { children: l, title: n = "", subtitle: e = "" } = c;
12
- return /* @__PURE__ */ m("div", { className: t.MainAttachment, children: [
13
- n ? /* @__PURE__ */ a(
1
+ import { jsxs as h, jsx as r } from "react/jsx-runtime";
2
+ import { clsx as s } from "../../utils/functions/functions.util.js";
3
+ import { isValidElement as o, cloneElement as u } from "react";
4
+ import { FadeScale as A } from "../../animations/fade-scale/fade-scale.component.js";
5
+ import { Text as M } from "../text/text.component.js";
6
+ import '../../assets/main-attachment-Cw8AP6xv.css';const f = "_MainAttachment_1oa7f_1", p = "_MainAttachmentTitle_1oa7f_5", b = "_MainAttachmentTitleWithSubtitle_1oa7f_9", _ = "_MainAttachmentSubtitle_1oa7f_13", a = {
7
+ MainAttachment: f,
8
+ MainAttachmentTitle: p,
9
+ MainAttachmentTitleWithSubtitle: b,
10
+ MainAttachmentSubtitle: _
11
+ }, c = (t) => t == null || t === "" || t === !1, m = (t, n, i) => {
12
+ if (typeof t == "string" || typeof t == "number")
13
+ return /* @__PURE__ */ r(M, { preset: i, className: n, children: t });
14
+ if (o(t)) {
15
+ const e = t;
16
+ return u(e, {
17
+ className: s(e.props.className, n)
18
+ });
19
+ }
20
+ return t;
21
+ }, d = (t) => {
22
+ const { children: n, title: i, subtitle: e } = t, l = !c(e);
23
+ return /* @__PURE__ */ h("div", { className: a.MainAttachment, children: [
24
+ c(i) ? null : m(
14
25
  i,
15
- {
16
- preset: "page-title",
17
- className: h(t.MainAttachmentTitle, { [t.MainAttachmentTitleWithSubtitle]: !!e }),
18
- children: n
19
- }
20
- ) : null,
21
- e ? /* @__PURE__ */ a(i, { preset: "page-subtitle", className: t.MainAttachmentSubtitle, children: e }) : null,
22
- /* @__PURE__ */ a(o, { name: "attachment-main", condition: !0, animateOnStart: !0, duration: 0.2, delay: 0.1, children: l })
26
+ s(a.MainAttachmentTitle, { [a.MainAttachmentTitleWithSubtitle]: l }),
27
+ "page-title"
28
+ ),
29
+ l ? m(e, a.MainAttachmentSubtitle, "page-subtitle") : null,
30
+ /* @__PURE__ */ r(A, { name: "attachment-main", condition: !0, animateOnStart: !0, duration: 0.2, delay: 0.1, children: n })
23
31
  ] });
24
32
  };
25
33
  export {
@@ -1,11 +1,11 @@
1
- import { PropsWithChildren } from 'react';
1
+ import { PropsWithChildren, ReactNode } from 'react';
2
2
  import { CertificationsProps } from '../certifications';
3
3
  import { UserPanelProps } from '../user-panel';
4
4
  import { State } from '../../controls/utils';
5
5
  import { Base } from '../../utils/types';
6
6
  type SidebarStep = {
7
7
  state: State;
8
- text: string;
8
+ text: ReactNode;
9
9
  };
10
10
  type SidebarInfoRow = [string, string];
11
11
  interface SidebarStepsProps extends Base {
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, jsxs as b } from "react/jsx-runtime";
2
- import { clsx as l, baseProps as d, parseSpacingValue as m } from "../../utils/functions/functions.util.js";
2
+ import { clsx as l, baseProps as s, parseSpacingValue as m } from "../../utils/functions/functions.util.js";
3
3
  import { FadeScale as p } from "../../animations/fade-scale/fade-scale.component.js";
4
4
  import { Certifications as S } from "../certifications/certifications.component.js";
5
5
  import { Line as _ } from "../line/line.component.js";
@@ -10,7 +10,7 @@ import "../../utils/content/content.component.js";
10
10
  import "lucide-react";
11
11
  import "usehooks-ts";
12
12
  import { Status as u } from "../../controls/primitives/status/status.component.js";
13
- import '../../assets/sidebar-C-EyF8q9.css';const N = "_Sidebar_bino6_1", h = "_Board_bino6_5", v = "_Steps_bino6_13", g = "_Info_bino6_14", I = "_Step_bino6_13", y = "_InfoRow_bino6_27", T = "_SidebarButton_bino6_35", B = "_Timetable_bino6_42", w = "_Space_bino6_48", o = {
13
+ import '../../assets/sidebar-C-EyF8q9.css';const N = "_Sidebar_bino6_1", h = "_Board_bino6_5", v = "_Steps_bino6_13", g = "_Info_bino6_14", I = "_Step_bino6_13", y = "_InfoRow_bino6_27", T = "_SidebarButton_bino6_35", B = "_Timetable_bino6_42", x = "_Space_bino6_48", n = {
14
14
  Sidebar: N,
15
15
  Board: h,
16
16
  Steps: v,
@@ -19,85 +19,85 @@ import '../../assets/sidebar-C-EyF8q9.css';const N = "_Sidebar_bino6_1", h = "_B
19
19
  InfoRow: y,
20
20
  SidebarButton: T,
21
21
  Timetable: B,
22
- Space: w
23
- }, x = ({ children: a, ...t }) => /* @__PURE__ */ e(
22
+ Space: x
23
+ }, w = ({ children: a, ...t }) => /* @__PURE__ */ e(
24
24
  "div",
25
25
  {
26
- "data-testid": d(t, "data-testid", "sidebar"),
27
- className: l(o.Sidebar, d(t, "className")),
28
- children: /* @__PURE__ */ e("div", { className: o.Board, children: a })
26
+ "data-testid": s(t, "data-testid", "sidebar"),
27
+ className: l(n.Sidebar, s(t, "className")),
28
+ children: /* @__PURE__ */ e("div", { className: n.Board, children: a })
29
29
  }
30
30
  ), $ = ({ children: a, ...t }) => /* @__PURE__ */ e(
31
31
  c,
32
32
  {
33
33
  preset: "sidebar-title",
34
- "data-testid": d(t, "data-testid", "sidebar-title"),
35
- className: d(t, "className"),
34
+ "data-testid": s(t, "data-testid", "sidebar-title"),
35
+ className: s(t, "className"),
36
36
  children: a
37
37
  }
38
38
  ), z = ({ steps: a, ...t }) => /* @__PURE__ */ e(
39
39
  "div",
40
40
  {
41
- "data-testid": d(t, "data-testid", "sidebar-steps"),
42
- className: l(o.Steps, d(t, "className")),
43
- children: a.map(({ state: i, text: s }) => /* @__PURE__ */ b("div", { className: o.Step, "data-testid": "sidebar-step", children: [
41
+ "data-testid": s(t, "data-testid", "sidebar-steps"),
42
+ className: l(n.Steps, s(t, "className")),
43
+ children: a.map(({ state: i, text: d }, r) => /* @__PURE__ */ b("div", { className: n.Step, "data-testid": "sidebar-step", children: [
44
44
  /* @__PURE__ */ e(u, { state: i }),
45
- /* @__PURE__ */ e(c, { tag: "span", weight: "medium", size: "body-small", color: i === "idle" ? "grey-400" : "text-primary", children: s })
46
- ] }, s))
45
+ /* @__PURE__ */ e(c, { tag: "span", weight: "medium", size: "body-small", color: i === "idle" ? "grey-400" : "text-primary", children: d })
46
+ ] }, r))
47
47
  }
48
48
  ), R = ({ rows: a, ...t }) => {
49
- const i = a.filter(([, s]) => s.trim() !== "");
49
+ const i = a.filter(([, d]) => d.trim() !== "");
50
50
  return i.length === 0 ? null : /* @__PURE__ */ e(
51
51
  "div",
52
52
  {
53
- "data-testid": d(t, "data-testid", "sidebar-info"),
54
- className: l(o.Info, d(t, "className")),
55
- children: i.map(([s, n], r) => /* @__PURE__ */ b("div", { className: o.InfoRow, "data-testid": "sidebar-info-row", children: [
56
- /* @__PURE__ */ e(c, { tag: "span", size: "body-small", color: "text-secondary", children: s }),
57
- /* @__PURE__ */ e(c, { tag: "span", size: "body-small", align: "right", children: n })
58
- ] }, `${s}-${r}`))
53
+ "data-testid": s(t, "data-testid", "sidebar-info"),
54
+ className: l(n.Info, s(t, "className")),
55
+ children: i.map(([d, r], o) => /* @__PURE__ */ b("div", { className: n.InfoRow, "data-testid": "sidebar-info-row", children: [
56
+ /* @__PURE__ */ e(c, { tag: "span", size: "body-small", color: "text-secondary", children: d }),
57
+ /* @__PURE__ */ e(c, { tag: "span", size: "body-small", align: "right", children: r })
58
+ ] }, `${d}-${o}`))
59
59
  }
60
60
  );
61
- }, j = ({ isOpen: a, title: t, data: i, button: s, onClick: n, ...r }) => /* @__PURE__ */ e(
61
+ }, j = ({ isOpen: a, title: t, data: i, button: d, onClick: r, ...o }) => /* @__PURE__ */ e(
62
62
  p,
63
63
  {
64
64
  name: "sidebar-user",
65
65
  condition: a,
66
- "data-testid": d(r, "data-testid", "sidebar-user"),
67
- className: d(r, "className"),
68
- children: /* @__PURE__ */ e(f, { title: t, data: i, button: s, onClick: n })
66
+ "data-testid": s(o, "data-testid", "sidebar-user"),
67
+ className: s(o, "className"),
68
+ children: /* @__PURE__ */ e(f, { title: t, data: i, button: d, onClick: r })
69
69
  }
70
70
  ), C = ({ isVisible: a, children: t, ...i }) => /* @__PURE__ */ e(
71
71
  p,
72
72
  {
73
73
  name: "sidebar-submit",
74
74
  condition: a,
75
- "data-testid": d(i, "data-testid", "sidebar-submit"),
76
- className: d(i, "className"),
77
- children: /* @__PURE__ */ e("div", { className: o.SidebarButton, children: t })
75
+ "data-testid": s(i, "data-testid", "sidebar-submit"),
76
+ className: s(i, "className"),
77
+ children: /* @__PURE__ */ e("div", { className: n.SidebarButton, children: t })
78
78
  }
79
79
  ), L = (a) => /* @__PURE__ */ e(S, { ...a }), U = ({ title: a, lines: t, ...i }) => {
80
- const s = d(i, "data-testid", "sidebar-timetable");
81
- return /* @__PURE__ */ b("div", { "data-testid": s, className: l(o.Timetable, d(i, "className")), children: [
82
- /* @__PURE__ */ e(c, { tag: "span", size: "body-small", color: "text-secondary", "data-testid": `${s}-title`, children: a }),
83
- t.map((n, r) => /* @__PURE__ */ e(c, { tag: "span", size: "body-small", "data-testid": `${s}-line-${r}`, children: n }, r))
80
+ const d = s(i, "data-testid", "sidebar-timetable");
81
+ return /* @__PURE__ */ b("div", { "data-testid": d, className: l(n.Timetable, s(i, "className")), children: [
82
+ /* @__PURE__ */ e(c, { tag: "span", size: "body-small", color: "text-secondary", "data-testid": `${d}-title`, children: a }),
83
+ t.map((r, o) => /* @__PURE__ */ e(c, { tag: "span", size: "body-small", "data-testid": `${d}-line-${o}`, children: r }, o))
84
84
  ] });
85
- }, P = () => /* @__PURE__ */ e(_, {}), F = ({ height: a, 768: t, 1024: i, 1200: s, ...n }) => {
86
- const r = {
85
+ }, P = () => /* @__PURE__ */ e(_, {}), F = ({ height: a, 768: t, 1024: i, 1200: d, ...r }) => {
86
+ const o = {
87
87
  "--rm-ui-sidebar-space-base": m(a),
88
88
  ...t !== void 0 ? { "--rm-ui-sidebar-space-768": m(t) } : {},
89
89
  ...i !== void 0 ? { "--rm-ui-sidebar-space-1024": m(i) } : {},
90
- ...s !== void 0 ? { "--rm-ui-sidebar-space-1200": m(s) } : {}
90
+ ...d !== void 0 ? { "--rm-ui-sidebar-space-1200": m(d) } : {}
91
91
  };
92
92
  return /* @__PURE__ */ e(
93
93
  "div",
94
94
  {
95
- "data-testid": d(n, "data-testid", "sidebar-space"),
96
- className: l(o.Space, d(n, "className")),
97
- style: r
95
+ "data-testid": s(r, "data-testid", "sidebar-space"),
96
+ className: l(n.Space, s(r, "className")),
97
+ style: o
98
98
  }
99
99
  );
100
- }, W = Object.assign(x, {
100
+ }, W = Object.assign(w, {
101
101
  Title: $,
102
102
  Steps: z,
103
103
  Info: R,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arthurzakharov/ui-kit",
3
3
  "private": false,
4
- "version": "3.4.0",
4
+ "version": "3.6.0",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -1 +0,0 @@
1
- ._Dropzone_14jbn_1{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--rm-ui-padding-xs);width:100%;min-height:160px;padding:var(--rm-ui-padding-md);border:2px dashed var(--rm-ui-grey-300);border-radius:var(--rm-ui-border-radius-md, 8px);background-color:var(--rm-ui-grey-50);text-align:center;cursor:pointer;transition:border-color .12s ease,background-color .12s ease}._Dropzone_14jbn_1:hover,._Active_14jbn_21{border-color:var(--rm-ui-color-theme-primary);background-color:var(--rm-ui-color-background-primary, #fff)}._Dropzone_14jbn_1:focus-visible{outline:2px solid var(--rm-ui-color-focus);outline-offset:2px}._Disabled_14jbn_31{cursor:not-allowed;opacity:.5}._HiddenInput_14jbn_36{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}._Icon_14jbn_48{color:var(--rm-ui-color-theme-primary)}._Invitation_14jbn_52{font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._HelpText_14jbn_58{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)}