@hai-dev/ui-kit 1.2.0 → 1.2.1

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.
@@ -1 +1 @@
1
- ._dialog_gmwe9_1{font-family:inter}._dialog_gmwe9_1._dark_gmwe9_4 .MuiPaper-root{background-color:#191b28;color:#fff}._dialog_gmwe9_1._dark_gmwe9_4 .MuiPaper-root ._dialogErrorText_gmwe9_8::-webkit-scrollbar{height:8px;width:8px}._dialog_gmwe9_1._dark_gmwe9_4 .MuiPaper-root ._dialogErrorText_gmwe9_8::-webkit-scrollbar-track{background:#070e1d;border-radius:16px}._dialog_gmwe9_1._dark_gmwe9_4 .MuiPaper-root ._dialogErrorText_gmwe9_8::-webkit-scrollbar-thumb{background-color:#ffffff24;border-radius:16px}@media(max-width:767px){._dialogErrorText_gmwe9_8{font-size:18px}}@media(max-width:575px){._dialogErrorText_gmwe9_8{font-size:16px}}
1
+ ._dialog_1xvwn_1{font-family:inter;z-index:4250!important}._dialog_1xvwn_1._dark_1xvwn_5 .MuiPaper-root{background-color:#191b28;color:#fff}._dialog_1xvwn_1._dark_1xvwn_5 .MuiPaper-root ._dialogErrorText_1xvwn_9::-webkit-scrollbar{height:8px;width:8px}._dialog_1xvwn_1._dark_1xvwn_5 .MuiPaper-root ._dialogErrorText_1xvwn_9::-webkit-scrollbar-track{background:#070e1d;border-radius:16px}._dialog_1xvwn_1._dark_1xvwn_5 .MuiPaper-root ._dialogErrorText_1xvwn_9::-webkit-scrollbar-thumb{background-color:#ffffff24;border-radius:16px}@media(max-width:767px){._dialogErrorText_1xvwn_9{font-size:18px}}@media(max-width:575px){._dialogErrorText_1xvwn_9{font-size:16px}}
@@ -1 +1 @@
1
- ._dialog_1y4gd_1{font-family:inter}._dialog_1y4gd_1._dark_1y4gd_4 .MuiPaper-root{background-color:#191b28;color:#fff}._dialog_1y4gd_1._dark_1y4gd_4 .MuiPaper-root ._errorContent_1y4gd_8::-webkit-scrollbar{height:8px;width:8px}._dialog_1y4gd_1._dark_1y4gd_4 .MuiPaper-root ._errorContent_1y4gd_8::-webkit-scrollbar-track{background:#070e1d;border-radius:16px}._dialog_1y4gd_1._dark_1y4gd_4 .MuiPaper-root ._errorContent_1y4gd_8::-webkit-scrollbar-thumb{background-color:#ffffff24;border-radius:16px}._dialog_1y4gd_1 .MuiPaper-root{border-radius:24px;padding:48px;max-width:100%;max-height:100%;display:flex;flex-direction:column;overflow:hidden}._dialog_1y4gd_1 .MuiPaper-root::-webkit-scrollbar{height:8px;width:8px}._dialog_1y4gd_1 .MuiPaper-root::-webkit-scrollbar-track{background:#070e1d;border-radius:16px}._dialog_1y4gd_1 .MuiPaper-root::-webkit-scrollbar-thumb{background-color:#ffffff24;border-radius:16px}._dialog_1y4gd_1 .MuiPaper-root ._errorContent_1y4gd_8::-webkit-scrollbar{height:8px;width:8px}._dialog_1y4gd_1 .MuiPaper-root ._errorContent_1y4gd_8::-webkit-scrollbar-track{background:#070e1d;border-radius:16px}._dialog_1y4gd_1 .MuiPaper-root ._errorContent_1y4gd_8::-webkit-scrollbar-thumb{background-color:#ffffff24;border-radius:16px}._dialog_1y4gd_1 .MuiPaper-root ._errorContent_1y4gd_8{margin:32px 0 24px;display:flex;flex-direction:column;padding:0;gap:16px}._dialog_1y4gd_1 .MuiPaper-root ._errorContent_1y4gd_8 ._errorItem_1y4gd_60{font-size:22px;letter-spacing:0%;line-height:150%;font-weight:500;color:#e2402fe0}._dialog_1y4gd_1 .MuiPaper-root ._errorContent_1y4gd_8 ._errorItem_1y4gd_60 ._fileName_1y4gd_67{font-weight:700}._dialog_1y4gd_1 .MuiPaper-root ._topActions_1y4gd_70{position:absolute;right:0;top:0;padding:32px}._dialog_1y4gd_1 .MuiPaper-root ._topActions_1y4gd_70 ._close_1y4gd_76{width:40px;height:40px}._dialog_1y4gd_1 .MuiPaper-root ._topActions_1y4gd_70 ._close_1y4gd_76 img{width:22px;height:22px}._dialog_1y4gd_1 .MuiPaper-root ._botActions_1y4gd_84{padding:0;display:flex;justify-content:space-between;gap:8px}._dialog_1y4gd_1 .MuiPaper-root ._botActions_1y4gd_84 ._button_1y4gd_90{width:100%;text-transform:none;margin-left:0}._dialog_1y4gd_1 .MuiPaper-root ._title_1y4gd_95{padding:0;font-weight:600;font-size:32px;line-height:100%;margin-right:40px}._dialog_1y4gd_1 .MuiPaper-root ._content_1y4gd_102{max-height:100%;margin:32px 0 24px;padding:0;display:flex;flex:1;gap:12px;align-items:center;justify-content:center}._dialog_1y4gd_1 .MuiPaper-root ._content_1y4gd_102::-webkit-scrollbar{height:8px;width:8px}._dialog_1y4gd_1 .MuiPaper-root ._content_1y4gd_102::-webkit-scrollbar-track{background:#070e1d;border-radius:16px}._dialog_1y4gd_1 .MuiPaper-root ._content_1y4gd_102::-webkit-scrollbar-thumb{background-color:#ffffff24;border-radius:16px}._dialog_1y4gd_1 .MuiPaper-root ._content_1y4gd_102._many_1y4gd_124{justify-content:space-between;align-items:stretch}._dialog_1y4gd_1 .MuiPaper-root ._content_1y4gd_102 ._crop_1y4gd_128{max-height:670px;overflow:hidden}._dialog_1y4gd_1 .MuiPaper-root ._content_1y4gd_102 ._crop_1y4gd_128 .ReactCrop__child-wrapper,._dialog_1y4gd_1 .MuiPaper-root ._content_1y4gd_102 ._crop_1y4gd_128 .ReactCrop__crop-mask{border-radius:12px}@media(max-width:767px){._dialog_1y4gd_1 .MuiPaper-root{padding:24px;margin:12px}._dialog_1y4gd_1 .MuiPaper-root ._topActions_1y4gd_70{position:absolute;right:0;top:0;padding:24px}._dialog_1y4gd_1 .MuiPaper-root ._topActions_1y4gd_70 ._close_1y4gd_76{width:36px;height:36px}._dialog_1y4gd_1 .MuiPaper-root ._topActions_1y4gd_70 ._close_1y4gd_76 img{width:20px;height:20px}._dialog_1y4gd_1 .MuiPaper-root ._errorContent_1y4gd_8{margin:16px 0 12px;gap:8px}._dialog_1y4gd_1 .MuiPaper-root ._errorContent_1y4gd_8 ._errorItem_1y4gd_60{font-size:18px}._dialog_1y4gd_1 .MuiPaper-root ._content_1y4gd_102{flex-direction:column;margin:20px}._dialog_1y4gd_1 .MuiPaper-root ._botActions_1y4gd_84{flex-direction:column-reverse}._dialog_1y4gd_1 .MuiPaper-root ._title_1y4gd_95{font-size:20px;margin-right:36px}}._dialog_1y4gd_1 .MuiPaper-root ._dialogText_1y4gd_176{color:#e2402fe0}@media(max-width:575px){._dialog_1y4gd_1 .MuiPaper-root{padding:16px;margin:8px}._dialog_1y4gd_1 .MuiPaper-root ._content_1y4gd_102{margin:12px}._dialog_1y4gd_1 .MuiPaper-root ._topActions_1y4gd_70{position:absolute;right:0;top:0;padding:8px}._dialog_1y4gd_1 .MuiPaper-root ._topActions_1y4gd_70 ._close_1y4gd_76{width:32px;height:32px}._dialog_1y4gd_1 .MuiPaper-root ._topActions_1y4gd_70 ._close_1y4gd_76 img{width:18px;height:18px}._dialog_1y4gd_1 .MuiPaper-root ._errorContent_1y4gd_8{margin:8px 0;gap:4px}._dialog_1y4gd_1 .MuiPaper-root ._errorContent_1y4gd_8 ._errorItem_1y4gd_60{font-size:16px}._dialog_1y4gd_1 .MuiPaper-root ._title_1y4gd_95{font-size:16px;margin-right:32px}}
1
+ ._dialog_9wmpu_1{font-family:inter;z-index:4250!important}._dialog_9wmpu_1._dark_9wmpu_5 .MuiPaper-root{background-color:#191b28;color:#fff}._dialog_9wmpu_1._dark_9wmpu_5 .MuiPaper-root ._errorContent_9wmpu_9::-webkit-scrollbar{height:8px;width:8px}._dialog_9wmpu_1._dark_9wmpu_5 .MuiPaper-root ._errorContent_9wmpu_9::-webkit-scrollbar-track{background:#070e1d;border-radius:16px}._dialog_9wmpu_1._dark_9wmpu_5 .MuiPaper-root ._errorContent_9wmpu_9::-webkit-scrollbar-thumb{background-color:#ffffff24;border-radius:16px}._dialog_9wmpu_1 .MuiPaper-root{border-radius:24px;padding:48px;max-width:100%;max-height:100%;display:flex;flex-direction:column;overflow:hidden}._dialog_9wmpu_1 .MuiPaper-root::-webkit-scrollbar{height:8px;width:8px}._dialog_9wmpu_1 .MuiPaper-root::-webkit-scrollbar-track{background:#070e1d;border-radius:16px}._dialog_9wmpu_1 .MuiPaper-root::-webkit-scrollbar-thumb{background-color:#ffffff24;border-radius:16px}._dialog_9wmpu_1 .MuiPaper-root ._errorContent_9wmpu_9::-webkit-scrollbar{height:8px;width:8px}._dialog_9wmpu_1 .MuiPaper-root ._errorContent_9wmpu_9::-webkit-scrollbar-track{background:#070e1d;border-radius:16px}._dialog_9wmpu_1 .MuiPaper-root ._errorContent_9wmpu_9::-webkit-scrollbar-thumb{background-color:#ffffff24;border-radius:16px}._dialog_9wmpu_1 .MuiPaper-root ._errorContent_9wmpu_9{margin:32px 0 24px;display:flex;flex-direction:column;padding:0;gap:16px}._dialog_9wmpu_1 .MuiPaper-root ._errorContent_9wmpu_9 ._errorItem_9wmpu_61{font-size:22px;letter-spacing:0%;line-height:150%;font-weight:500;color:#e2402fe0}._dialog_9wmpu_1 .MuiPaper-root ._errorContent_9wmpu_9 ._errorItem_9wmpu_61 ._fileName_9wmpu_68{font-weight:700}._dialog_9wmpu_1 .MuiPaper-root ._topActions_9wmpu_71{position:absolute;right:0;top:0;padding:32px}._dialog_9wmpu_1 .MuiPaper-root ._topActions_9wmpu_71 ._close_9wmpu_77{width:40px;height:40px}._dialog_9wmpu_1 .MuiPaper-root ._topActions_9wmpu_71 ._close_9wmpu_77 img{width:22px;height:22px}._dialog_9wmpu_1 .MuiPaper-root ._botActions_9wmpu_85{padding:0;display:flex;justify-content:space-between;gap:8px}._dialog_9wmpu_1 .MuiPaper-root ._botActions_9wmpu_85 ._button_9wmpu_91{width:100%;text-transform:none;margin-left:0}._dialog_9wmpu_1 .MuiPaper-root ._title_9wmpu_96{padding:0;font-weight:600;font-size:32px;line-height:100%;margin-right:40px}._dialog_9wmpu_1 .MuiPaper-root ._content_9wmpu_103{max-height:100%;margin:32px 0 24px;padding:0;display:flex;flex:1;gap:12px;align-items:center;justify-content:center}._dialog_9wmpu_1 .MuiPaper-root ._content_9wmpu_103::-webkit-scrollbar{height:8px;width:8px}._dialog_9wmpu_1 .MuiPaper-root ._content_9wmpu_103::-webkit-scrollbar-track{background:#070e1d;border-radius:16px}._dialog_9wmpu_1 .MuiPaper-root ._content_9wmpu_103::-webkit-scrollbar-thumb{background-color:#ffffff24;border-radius:16px}._dialog_9wmpu_1 .MuiPaper-root ._content_9wmpu_103._many_9wmpu_125{justify-content:space-between;align-items:stretch}._dialog_9wmpu_1 .MuiPaper-root ._content_9wmpu_103 ._crop_9wmpu_129{max-height:670px;overflow:hidden}._dialog_9wmpu_1 .MuiPaper-root ._content_9wmpu_103 ._crop_9wmpu_129 .ReactCrop__child-wrapper,._dialog_9wmpu_1 .MuiPaper-root ._content_9wmpu_103 ._crop_9wmpu_129 .ReactCrop__crop-mask{border-radius:12px}@media(max-width:767px){._dialog_9wmpu_1 .MuiPaper-root{padding:24px;margin:12px}._dialog_9wmpu_1 .MuiPaper-root ._topActions_9wmpu_71{position:absolute;right:0;top:0;padding:24px}._dialog_9wmpu_1 .MuiPaper-root ._topActions_9wmpu_71 ._close_9wmpu_77{width:36px;height:36px}._dialog_9wmpu_1 .MuiPaper-root ._topActions_9wmpu_71 ._close_9wmpu_77 img{width:20px;height:20px}._dialog_9wmpu_1 .MuiPaper-root ._errorContent_9wmpu_9{margin:16px 0 12px;gap:8px}._dialog_9wmpu_1 .MuiPaper-root ._errorContent_9wmpu_9 ._errorItem_9wmpu_61{font-size:18px}._dialog_9wmpu_1 .MuiPaper-root ._content_9wmpu_103{flex-direction:column;margin:20px}._dialog_9wmpu_1 .MuiPaper-root ._botActions_9wmpu_85{flex-direction:column-reverse}._dialog_9wmpu_1 .MuiPaper-root ._title_9wmpu_96{font-size:20px;margin-right:36px}}._dialog_9wmpu_1 .MuiPaper-root ._dialogText_9wmpu_177{color:#e2402fe0}@media(max-width:575px){._dialog_9wmpu_1 .MuiPaper-root{padding:16px;margin:8px}._dialog_9wmpu_1 .MuiPaper-root ._content_9wmpu_103{margin:12px}._dialog_9wmpu_1 .MuiPaper-root ._topActions_9wmpu_71{position:absolute;right:0;top:0;padding:8px}._dialog_9wmpu_1 .MuiPaper-root ._topActions_9wmpu_71 ._close_9wmpu_77{width:32px;height:32px}._dialog_9wmpu_1 .MuiPaper-root ._topActions_9wmpu_71 ._close_9wmpu_77 img{width:18px;height:18px}._dialog_9wmpu_1 .MuiPaper-root ._errorContent_9wmpu_9{margin:8px 0;gap:4px}._dialog_9wmpu_1 .MuiPaper-root ._errorContent_9wmpu_9 ._errorItem_9wmpu_61{font-size:16px}._dialog_9wmpu_1 .MuiPaper-root ._title_9wmpu_96{font-size:16px;margin-right:32px}}
@@ -1,32 +1,32 @@
1
- import { jsx as e, jsxs as f } from "react/jsx-runtime";
2
- import { c as p } from "../../../../index-YnD2EP-S.js";
1
+ import { jsx as e, jsxs as x } from "react/jsx-runtime";
2
+ import { c as m } from "../../../../index-YnD2EP-S.js";
3
3
  import { localizedText as d } from "../../locale.js";
4
- import { EN_LOCALE as T, DARK_THEME as u } from "../../../../constants.js";
4
+ import { EN_LOCALE as f, DARK_THEME as T } from "../../../../constants.js";
5
5
  import '../../../../assets/inter.css';import '../../../../assets/error-upload-dialog.css';/* empty css */
6
- import { D as x } from "../../../../Dialog-BK9lMUKV.js";
6
+ import { D as u } from "../../../../Dialog-BK9lMUKV.js";
7
7
  import { D as C, a as D, b as y } from "../../../../DialogTitle-ByUfLB5M.js";
8
8
  import * as h from "react";
9
9
  import { g as E, a as _, c as N, P as o } from "../../../../createTheme-BoOmbNvy.js";
10
- import { u as w, c as b, s as P, r as j } from "../../../../chainPropTypes-DgqFdXGi.js";
11
- import { T as k } from "../../../../Typography-BMyz0ZCh.js";
12
- import { B as M } from "../../../../Button-DTV8ztWw.js";
13
- function O(t) {
10
+ import { u as w, c as b, s as v, r as P } from "../../../../chainPropTypes-DgqFdXGi.js";
11
+ import { T as j } from "../../../../Typography-BMyz0ZCh.js";
12
+ import { B as k } from "../../../../Button-DTV8ztWw.js";
13
+ function M(t) {
14
14
  return E("MuiDialogContentText", t);
15
15
  }
16
16
  _("MuiDialogContentText", ["root"]);
17
- const R = (t) => {
17
+ const O = (t) => {
18
18
  const {
19
19
  classes: r
20
20
  } = t, s = b({
21
21
  root: ["root"]
22
- }, O, r);
22
+ }, M, r);
23
23
  return {
24
24
  ...r,
25
25
  // forward classes to the Typography
26
26
  ...s
27
27
  };
28
- }, U = P(k, {
29
- shouldForwardProp: (t) => j(t) || t === "classes",
28
+ }, R = v(j, {
29
+ shouldForwardProp: (t) => P(t) || t === "classes",
30
30
  name: "MuiDialogContentText",
31
31
  slot: "Root"
32
32
  })({}), g = /* @__PURE__ */ h.forwardRef(function(r, a) {
@@ -35,18 +35,18 @@ const R = (t) => {
35
35
  name: "MuiDialogContentText"
36
36
  }), {
37
37
  children: c,
38
- className: n,
39
- ...l
40
- } = s, m = R(l);
41
- return /* @__PURE__ */ e(U, {
38
+ className: l,
39
+ ...n
40
+ } = s, p = O(n);
41
+ return /* @__PURE__ */ e(R, {
42
42
  component: "p",
43
43
  variant: "body1",
44
44
  color: "textSecondary",
45
45
  ref: a,
46
- ownerState: l,
47
- className: N(m.root, n),
46
+ ownerState: n,
47
+ className: N(p.root, l),
48
48
  ...s,
49
- classes: m
49
+ classes: p
50
50
  });
51
51
  });
52
52
  process.env.NODE_ENV !== "production" && (g.propTypes = {
@@ -71,29 +71,29 @@ process.env.NODE_ENV !== "production" && (g.propTypes = {
71
71
  */
72
72
  sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
73
73
  });
74
- const S = "_dialog_gmwe9_1", v = "_dark_gmwe9_4", A = "_dialogErrorText_gmwe9_8", i = {
75
- dialog: S,
76
- dark: v,
74
+ const U = "_dialog_1xvwn_1", S = "_dark_1xvwn_5", A = "_dialogErrorText_1xvwn_9", i = {
75
+ dialog: U,
76
+ dark: S,
77
77
  dialogErrorText: A
78
78
  }, Q = (t) => {
79
79
  const {
80
80
  photoError: r,
81
81
  onCloseErrorDialog: a,
82
- locale: s = T,
83
- theme: c = u,
84
- className: n,
85
- ...l
82
+ locale: s = f,
83
+ theme: c = T,
84
+ className: l,
85
+ ...n
86
86
  } = t;
87
- return /* @__PURE__ */ f(
88
- x,
87
+ return /* @__PURE__ */ x(
88
+ u,
89
89
  {
90
- className: p(i.dialog, n, i[c]),
90
+ className: m(i.dialog, l, i[c]),
91
91
  onClose: a,
92
- ...l,
92
+ ...n,
93
93
  children: [
94
94
  /* @__PURE__ */ e(C, { children: d[s].error }),
95
- /* @__PURE__ */ e(D, { children: /* @__PURE__ */ e(g, { className: p(i.dialogErrorText), children: r }) }),
96
- /* @__PURE__ */ e(y, { children: /* @__PURE__ */ e(M, { onClick: a, children: d[s].back }) })
95
+ /* @__PURE__ */ e(D, { children: /* @__PURE__ */ e(g, { className: m(i.dialogErrorText), children: r }) }),
96
+ /* @__PURE__ */ e(y, { children: /* @__PURE__ */ e(k, { onClick: a, children: d[s].back }) })
97
97
  ]
98
98
  }
99
99
  );
@@ -3,7 +3,7 @@ import "../../../../index-YnD2EP-S.js";
3
3
  import "../../locale.js";
4
4
  import "../../../../constants.js";
5
5
  import '../../../../assets/inter.css';/* empty css */
6
- import { U } from "../../../../upload-dialog-errors-CCRxzIZp.js";
6
+ import { U } from "../../../../upload-dialog-errors-BwQsTOc3.js";
7
7
  import "../../../../DialogTitle-ByUfLB5M.js";
8
8
  import "../../../button/button.js";
9
9
  export {
@@ -4,7 +4,7 @@ import { useState as q, useCallback as G } from "react";
4
4
  import { useScaledMinDimension as J } from "./use-scaled-min-dimension.js";
5
5
  import { S as Q } from "../../../../index-CcueJ2sD.js";
6
6
  import { c as i } from "../../../../index-YnD2EP-S.js";
7
- import { s as n, U as X } from "../../../../upload-dialog-errors-CCRxzIZp.js";
7
+ import { s as n, U as X } from "../../../../upload-dialog-errors-BwQsTOc3.js";
8
8
  import { PhotoList as oo } from "../photo-list/photo-list.js";
9
9
  import { localizedText as g } from "../../locale.js";
10
10
  import { EN_LOCALE as eo, DARK_THEME as to } from "../../../../constants.js";
@@ -1,13 +1,13 @@
1
- import { jsx as s, jsxs as h, Fragment as y } from "react/jsx-runtime";
1
+ import { jsx as s, jsxs as g, Fragment as w } from "react/jsx-runtime";
2
2
  import { c } from "./index-YnD2EP-S.js";
3
- import { localizedText as f } from "./components/photo-crop-uploader/locale.js";
3
+ import { localizedText as h } from "./components/photo-crop-uploader/locale.js";
4
4
  import { EN_LOCALE as S, DASH_SYMBOL as L } from "./constants.js";
5
5
  import './assets/inter.css';import './assets/upload-dialog-errors.css';/* empty css */
6
6
  import { D as I, a as R, b as W } from "./DialogTitle-ByUfLB5M.js";
7
7
  import * as O from "react";
8
8
  import { g as V, a as k, c as B, P as r } from "./createTheme-BoOmbNvy.js";
9
- import { m as C } from "./memoTheme-BYBJ2Fe6.js";
10
- import { u as $, c as z, s as w } from "./chainPropTypes-DgqFdXGi.js";
9
+ import { m as y } from "./memoTheme-BYBJ2Fe6.js";
10
+ import { u as $, c as z, s as C } from "./chainPropTypes-DgqFdXGi.js";
11
11
  import { Button as x } from "./components/button/button.js";
12
12
  function E(e) {
13
13
  return V("MuiDivider", e);
@@ -17,18 +17,18 @@ const M = (e) => {
17
17
  const {
18
18
  absolute: t,
19
19
  children: o,
20
- classes: p,
21
- flexItem: g,
20
+ classes: d,
21
+ flexItem: m,
22
22
  light: i,
23
23
  orientation: n,
24
24
  textAlign: l,
25
25
  variant: a
26
26
  } = e;
27
27
  return z({
28
- root: ["root", t && "absolute", a, i && "light", n === "vertical" && "vertical", g && "flexItem", o && "withChildren", o && n === "vertical" && "withChildrenVertical", l === "right" && n !== "vertical" && "textAlignRight", l === "left" && n !== "vertical" && "textAlignLeft"],
28
+ root: ["root", t && "absolute", a, i && "light", n === "vertical" && "vertical", m && "flexItem", o && "withChildren", o && n === "vertical" && "withChildrenVertical", l === "right" && n !== "vertical" && "textAlignRight", l === "left" && n !== "vertical" && "textAlignLeft"],
29
29
  wrapper: ["wrapper", n === "vertical" && "wrapperVertical"]
30
- }, E, p);
31
- }, U = w("div", {
30
+ }, E, d);
31
+ }, U = C("div", {
32
32
  name: "MuiDivider",
33
33
  slot: "Root",
34
34
  overridesResolver: (e, t) => {
@@ -37,7 +37,7 @@ const M = (e) => {
37
37
  } = e;
38
38
  return [t.root, o.absolute && t.absolute, t[o.variant], o.light && t.light, o.orientation === "vertical" && t.vertical, o.flexItem && t.flexItem, o.children && t.withChildren, o.children && o.orientation === "vertical" && t.withChildrenVertical, o.textAlign === "right" && o.orientation !== "vertical" && t.textAlignRight, o.textAlign === "left" && o.orientation !== "vertical" && t.textAlignLeft];
39
39
  }
40
- })(C(({
40
+ })(y(({
41
41
  theme: e
42
42
  }) => ({
43
43
  margin: 0,
@@ -169,7 +169,7 @@ const M = (e) => {
169
169
  }
170
170
  }
171
171
  }]
172
- }))), j = w("span", {
172
+ }))), j = C("span", {
173
173
  name: "MuiDivider",
174
174
  slot: "Wrapper",
175
175
  overridesResolver: (e, t) => {
@@ -178,7 +178,7 @@ const M = (e) => {
178
178
  } = e;
179
179
  return [t.wrapper, o.orientation === "vertical" && t.wrapperVertical];
180
180
  }
181
- })(C(({
181
+ })(y(({
182
182
  theme: e
183
183
  }) => ({
184
184
  display: "inline-block",
@@ -194,40 +194,40 @@ const M = (e) => {
194
194
  paddingBottom: `calc(${e.spacing(1)} * 1.2)`
195
195
  }
196
196
  }]
197
- }))), m = /* @__PURE__ */ O.forwardRef(function(t, o) {
198
- const p = $({
197
+ }))), u = /* @__PURE__ */ O.forwardRef(function(t, o) {
198
+ const d = $({
199
199
  props: t,
200
200
  name: "MuiDivider"
201
201
  }), {
202
- absolute: g = !1,
202
+ absolute: m = !1,
203
203
  children: i,
204
204
  className: n,
205
205
  orientation: l = "horizontal",
206
206
  component: a = i || l === "vertical" ? "div" : "hr",
207
207
  flexItem: b = !1,
208
208
  light: A = !1,
209
- role: u = a !== "hr" ? "separator" : void 0,
209
+ role: f = a !== "hr" ? "separator" : void 0,
210
210
  textAlign: D = "center",
211
211
  variant: N = "fullWidth",
212
212
  ...T
213
- } = p, v = {
214
- ...p,
215
- absolute: g,
213
+ } = d, v = {
214
+ ...d,
215
+ absolute: m,
216
216
  component: a,
217
217
  flexItem: b,
218
218
  light: A,
219
219
  orientation: l,
220
- role: u,
220
+ role: f,
221
221
  textAlign: D,
222
222
  variant: N
223
223
  }, _ = M(v);
224
224
  return /* @__PURE__ */ s(U, {
225
225
  as: a,
226
226
  className: B(_.root, n),
227
- role: u,
227
+ role: f,
228
228
  ref: o,
229
229
  ownerState: v,
230
- "aria-orientation": u === "separator" && (a !== "hr" || l === "vertical") ? l : void 0,
230
+ "aria-orientation": f === "separator" && (a !== "hr" || l === "vertical") ? l : void 0,
231
231
  ...T,
232
232
  children: i ? /* @__PURE__ */ s(j, {
233
233
  className: _.wrapper,
@@ -236,8 +236,8 @@ const M = (e) => {
236
236
  }) : null
237
237
  });
238
238
  });
239
- m && (m.muiSkipListHighlight = !0);
240
- process.env.NODE_ENV !== "production" && (m.propTypes = {
239
+ u && (u.muiSkipListHighlight = !0);
240
+ process.env.NODE_ENV !== "production" && (u.propTypes = {
241
241
  // ┌────────────────────────────── Warning ──────────────────────────────┐
242
242
  // │ These PropTypes are generated from the TypeScript type definitions. │
243
243
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -300,7 +300,7 @@ process.env.NODE_ENV !== "production" && (m.propTypes = {
300
300
  */
301
301
  variant: r.oneOfType([r.oneOf(["fullWidth", "inset", "middle"]), r.string])
302
302
  });
303
- const H = "_dialog_1y4gd_1", P = "_dark_1y4gd_4", F = "_errorContent_1y4gd_8", Y = "_errorItem_1y4gd_60", q = "_fileName_1y4gd_67", G = "_topActions_1y4gd_70", J = "_close_1y4gd_76", K = "_botActions_1y4gd_84", Q = "_button_1y4gd_90", X = "_title_1y4gd_95", Z = "_content_1y4gd_102", tt = "_many_1y4gd_124", et = "_crop_1y4gd_128", ot = "_dialogText_1y4gd_176", d = {
303
+ const H = "_dialog_9wmpu_1", P = "_dark_9wmpu_5", F = "_errorContent_9wmpu_9", Y = "_errorItem_9wmpu_61", q = "_fileName_9wmpu_68", G = "_topActions_9wmpu_71", J = "_close_9wmpu_77", K = "_botActions_9wmpu_85", Q = "_button_9wmpu_91", X = "_title_9wmpu_96", Z = "_content_9wmpu_103", tt = "_many_9wmpu_125", et = "_crop_9wmpu_129", ot = "_dialogText_9wmpu_177", p = {
304
304
  dialog: H,
305
305
  dark: P,
306
306
  errorContent: F,
@@ -315,25 +315,25 @@ const H = "_dialog_1y4gd_1", P = "_dark_1y4gd_4", F = "_errorContent_1y4gd_8", Y
315
315
  many: tt,
316
316
  crop: et,
317
317
  dialogText: ot
318
- }, ht = (e) => {
318
+ }, gt = (e) => {
319
319
  const {
320
320
  photoSources: t,
321
321
  errors: o = [],
322
- onCloseDialogHandler: p,
323
- onClearErrors: g,
322
+ onCloseDialogHandler: d,
323
+ onClearErrors: m,
324
324
  locale: i = S
325
325
  } = e;
326
- return /* @__PURE__ */ h(y, { children: [
327
- /* @__PURE__ */ s(I, { className: c(d.title), children: t.length ? f[i]["some-not-uploaded"] : f[i]["not-uploaded"] }),
328
- /* @__PURE__ */ s(R, { className: c(d.errorContent), children: o.map(({ photoName: n, errorMessage: l }, a) => /* @__PURE__ */ h(y, { children: [
329
- !!a && /* @__PURE__ */ s(m, {}),
330
- /* @__PURE__ */ h("div", { className: c(d.errorItem), children: [
331
- /* @__PURE__ */ s("span", { className: c(d.fileName), children: n }),
326
+ return /* @__PURE__ */ g(w, { children: [
327
+ /* @__PURE__ */ s(I, { className: c(p.title), children: t.length ? h[i]["some-not-uploaded"] : h[i]["not-uploaded"] }),
328
+ /* @__PURE__ */ s(R, { className: c(p.errorContent), children: o.map(({ photoName: n, errorMessage: l }, a) => /* @__PURE__ */ g(w, { children: [
329
+ !!a && /* @__PURE__ */ s(u, {}),
330
+ /* @__PURE__ */ g("div", { className: c(p.errorItem), children: [
331
+ /* @__PURE__ */ s("span", { className: c(p.fileName), children: n }),
332
332
  " ",
333
333
  ` ${L} ${l}`
334
334
  ] })
335
335
  ] }, a)) }),
336
- /* @__PURE__ */ h(W, { className: c(d.botActions), children: [
336
+ /* @__PURE__ */ g(W, { className: c(p.botActions), children: [
337
337
  /* @__PURE__ */ s(
338
338
  x,
339
339
  {
@@ -341,9 +341,9 @@ const H = "_dialog_1y4gd_1", P = "_dark_1y4gd_4", F = "_errorContent_1y4gd_8", Y
341
341
  buttonColor: "red",
342
342
  buttonVariant: "outlined",
343
343
  buttonWeight: 500,
344
- onClick: p,
345
- className: c(d.button),
346
- children: f[i].close
344
+ onClick: d,
345
+ className: c(p.button),
346
+ children: h[i].close
347
347
  }
348
348
  ),
349
349
  !!t.length && /* @__PURE__ */ s(
@@ -353,15 +353,15 @@ const H = "_dialog_1y4gd_1", P = "_dark_1y4gd_4", F = "_errorContent_1y4gd_8", Y
353
353
  buttonColor: "blue",
354
354
  buttonVariant: "outlined",
355
355
  buttonWeight: 500,
356
- onClick: g,
357
- className: c(d.button),
358
- children: f[i].continue
356
+ onClick: m,
357
+ className: c(p.button),
358
+ children: h[i].continue
359
359
  }
360
360
  )
361
361
  ] })
362
362
  ] });
363
363
  };
364
364
  export {
365
- ht as U,
366
- d as s
365
+ gt as U,
366
+ p as s
367
367
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hai-dev/ui-kit",
3
3
  "private": false,
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "license": "UNLICENSED",
6
6
  "author": {
7
7
  "name": "Vladislav Knitrunov",