triafly-ui-kit 1.0.76 → 1.0.79

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.
Files changed (28) hide show
  1. package/README.md +93 -93
  2. package/dist/assets/src/components/Ui/Button/Button.css +1 -1
  3. package/dist/assets/src/components/Ui/ButtonsArray/ButtonsArray.css +1 -1
  4. package/dist/assets/src/components/Ui/ModalWindow/ModalWindow.css +1 -1
  5. package/dist/assets/src/components/Ui/Tooltip/Tooltip.stories.module.css +1 -1
  6. package/dist/assets/src/context/ToastContext/ToastContext.css +1 -0
  7. package/dist/components/Ui/ButtonsArray/ButtonsArray.js +28 -25
  8. package/dist/components/Ui/Form/FormItem/FormItem.js +67 -51
  9. package/dist/components/Ui/ModalWindow/ModalWindow.js +13 -13
  10. package/dist/components/Ui/NumberInput/NumberInput.js +49 -0
  11. package/dist/components/Ui/NumberInput/index.js +4 -0
  12. package/dist/components/Ui/Table/Table.js +43 -44
  13. package/dist/context/ToastContext/ToastContext.js +22 -24
  14. package/dist/context/TriaflyContext/TriaflyProvider.js +18 -17
  15. package/dist/context/TriaflyContext/hooks/useTheme/useTheme.js +5 -5
  16. package/dist/main.d.ts +12 -2
  17. package/dist/main.js +13 -11
  18. package/dist/src/components/Ui/Tooltip/Tooltip.stories.module.css.js +1 -1
  19. package/package.json +112 -112
  20. package/src/styles/_mixins.scss +21 -21
  21. package/src/styles/fix.scss +3 -3
  22. package/src/styles/main.scss +26 -26
  23. package/src/styles/reset.scss +105 -105
  24. package/src/styles/typography.scss +106 -106
  25. package/src/styles/variables.scss +277 -342
  26. package/dist/assets/src/context/ToastContext/ToastContext.module.css +0 -1
  27. package/dist/components/Ui/Button/Button.stories.js +0 -145
  28. package/dist/src/context/ToastContext/ToastContext.module.scss.js +0 -9
@@ -1,32 +1,31 @@
1
1
  import { jsx as t, jsxs as u } from "react/jsx-runtime";
2
- import W, { forwardRef as X, useState as B, useMemo as Y, useCallback as w, useEffect as Z } from "react";
2
+ import W, { forwardRef as X, useState as D, useMemo as Y, useCallback as b, useEffect as Z } from "react";
3
3
  import l from "../../../_virtual/index.js";
4
4
  import '../../../assets/src/components/Ui/Table/Table.css';/* empty css */
5
5
  import { MemoizedRow as S } from "./MemoizedRow/MemoizedRow.js";
6
- import { IconCaretDown as C, IconCaretUp as K } from "../Icons/Icons.js";
6
+ import { IconCaretDown as R, IconCaretUp as K } from "../Icons/Icons.js";
7
7
  import { Loader as ee } from "../Loader/Loader.js";
8
- import { TableSkeletonRow as te } from "./TableSkeletonRow/TableSkeletonRow.js";
9
- const D = {
10
- asc: /* @__PURE__ */ t(C, { viewBox: "0 -6 24 24", "aria-hidden": "true" }),
8
+ const T = {
9
+ asc: /* @__PURE__ */ t(R, { viewBox: "0 -6 24 24", "aria-hidden": "true" }),
11
10
  desc: /* @__PURE__ */ t(K, { viewBox: "0 -4 24 24", "aria-hidden": "true" }),
12
- default: /* @__PURE__ */ t(C, { viewBox: "0 -6 24 24", "aria-hidden": "true" })
13
- }, ne = ({
14
- columns: f,
11
+ default: /* @__PURE__ */ t(R, { viewBox: "0 -6 24 24", "aria-hidden": "true" })
12
+ }, te = ({
13
+ columns: y,
15
14
  dataSource: i,
16
- rowKey: o,
15
+ rowKey: c,
17
16
  tableClassName: A,
18
17
  theadClassName: j,
19
18
  trTheadClassNames: E,
20
19
  thTheadClassNames: L,
21
20
  tbodyClassName: M,
22
21
  wrapperClassName: $,
23
- borderBottom: g = !1,
22
+ borderBottom: w = !1,
24
23
  stickyHeader: z = !1,
25
- stickyLeft: y = !1,
24
+ stickyLeft: g = !1,
26
25
  bordered: m = !1,
27
26
  rowClassName: U,
28
27
  defaultSort: q,
29
- onClickTr: d,
28
+ onClickTr: f,
30
29
  onClickTrHeader: F,
31
30
  loading: N = !1,
32
31
  hasMore: G = !1,
@@ -34,44 +33,44 @@ const D = {
34
33
  externalSorting: k = !0,
35
34
  containerRef: H
36
35
  }, J) => {
37
- const x = W.useRef(null), [I, O] = B(i || []), [r, P] = B(
36
+ const x = W.useRef(null), [I, O] = D(i || []), [r, P] = D(
38
37
  q || null
39
- ), _ = Y(() => k ? i : I, [i, I, k]), R = w((e, a) => {
40
- O((c) => [...c].sort((p, T) => {
41
- const n = p[e], s = T[e];
38
+ ), p = Y(() => k ? i : I, [i, I, k]), B = b((e, a) => {
39
+ O((o) => [...o].sort((d, C) => {
40
+ const n = d[e], s = C[e];
42
41
  return typeof n == "string" && typeof s == "string" ? a === "asc" ? n.localeCompare(s) : s.localeCompare(n) : typeof n == "number" && typeof s == "number" ? a === "asc" ? n - s : s - n : n instanceof Date && s instanceof Date ? a === "asc" ? n.getTime() - s.getTime() : s.getTime() - n.getTime() : 0;
43
42
  })), P({ key: e, order: a });
44
- }, []), h = w(
45
- (e) => typeof o == "function" ? o(e) : String(e[o]),
46
- [o]
47
- ), Q = w(
43
+ }, []), _ = b(
44
+ (e) => typeof c == "function" ? c(e) : String(e[c]),
45
+ [c]
46
+ ), Q = b(
48
47
  (e) => {
49
- const c = (r == null ? void 0 : r.key) === e && r.order === "asc" ? "desc" : "asc";
50
- R(e, c);
48
+ const o = (r == null ? void 0 : r.key) === e && r.order === "asc" ? "desc" : "asc";
49
+ B(e, o);
51
50
  },
52
- [r, R]
51
+ [r, B]
53
52
  );
54
53
  return Z(() => {
55
54
  const e = x.current;
56
55
  if (!e) return;
57
- const a = (c) => {
58
- const b = c.target, p = b.closest("tr");
59
- if (!p || b.closest("[data-no-bubble]")) return;
60
- const n = p.dataset.id;
61
- if (!(!n || !d)) {
62
- const s = i == null ? void 0 : i.find((V) => h(V) === n);
63
- s && d(s);
56
+ const a = (o) => {
57
+ const h = o.target, d = h.closest("tr");
58
+ if (!d || h.closest("[data-no-bubble]")) return;
59
+ const n = d.dataset.id;
60
+ if (!(!n || !f)) {
61
+ const s = i == null ? void 0 : i.find((V) => _(V) === n);
62
+ s && f(s);
64
63
  }
65
64
  };
66
65
  return e.addEventListener("click", a), () => e.removeEventListener("click", a);
67
- }, [i, d, h]), /* @__PURE__ */ t("div", { className: l("table-component", $), children: /* @__PURE__ */ t(
66
+ }, [i, f, _]), /* @__PURE__ */ t("div", { className: l("table-component", $), children: /* @__PURE__ */ t(
68
67
  "div",
69
68
  {
70
69
  className: l(
71
70
  "table-component__wrapper",
72
71
  {
73
72
  bordered: m,
74
- borderBottom: g
73
+ borderBottom: w
75
74
  },
76
75
  A
77
76
  ),
@@ -81,7 +80,7 @@ const D = {
81
80
  {
82
81
  className: l("table-component__wrapper__table", {
83
82
  bordered: m,
84
- borderBottom: g
83
+ borderBottom: w
85
84
  }),
86
85
  ref: J,
87
86
  children: [
@@ -103,14 +102,14 @@ const D = {
103
102
  E
104
103
  ),
105
104
  onClick: F,
106
- children: f.map((e, a) => /* @__PURE__ */ t(
105
+ children: y.map((e, a) => /* @__PURE__ */ t(
107
106
  "th",
108
107
  {
109
108
  className: l(
110
109
  "table-component__wrapper__table__thead__th",
111
110
  {
112
111
  bordered: m,
113
- stickyLeft: y && a === 0
112
+ stickyLeft: g && a === 0
114
113
  },
115
114
  L
116
115
  ),
@@ -129,7 +128,7 @@ const D = {
129
128
  className: "th-content",
130
129
  children: [
131
130
  e.title,
132
- e.sorted && /* @__PURE__ */ t("span", { className: "sort-icon", children: (r == null ? void 0 : r.key) === e.key ? D[r.order] : D.default })
131
+ e.sorted && /* @__PURE__ */ t("span", { className: "sort-icon", children: (r == null ? void 0 : r.key) === e.key ? T[r.order] : T.default })
133
132
  ]
134
133
  }
135
134
  )
@@ -146,20 +145,20 @@ const D = {
146
145
  ref: x,
147
146
  className: l("table-component__wrapper__table__tbody", M),
148
147
  children: [
149
- _ == null ? void 0 : _.map((e) => /* @__PURE__ */ t(
148
+ p == null ? void 0 : p.map((e) => /* @__PURE__ */ t(
150
149
  S,
151
150
  {
152
151
  record: e,
153
- columns: f,
154
- rowKey: o,
152
+ columns: y,
153
+ rowKey: c,
155
154
  rowClassName: U,
156
- stickyLeft: y,
155
+ stickyLeft: g,
157
156
  bordered: m
158
157
  },
159
- h(e)
158
+ _(e)
160
159
  )),
161
160
  N ? /* @__PURE__ */ t("td", { children: /* @__PURE__ */ t("tr", { children: /* @__PURE__ */ t("div", { className: "loading_table_init", children: /* @__PURE__ */ t(ee, { className: "centered" }) }) }) }) : null,
162
- !N && G && v && /* @__PURE__ */ t("tr", { ref: v, children: /* @__PURE__ */ t(te, { colSpan: f.length }) })
161
+ !N && G && v && /* @__PURE__ */ t("tr", { ref: v, style: { height: 1, visibility: "hidden" } })
163
162
  ]
164
163
  },
165
164
  "tbody"
@@ -170,7 +169,7 @@ const D = {
170
169
  },
171
170
  "wrapper"
172
171
  ) }, "table-component");
173
- }, pe = X(ne);
172
+ }, oe = X(te);
174
173
  export {
175
- pe as Table
174
+ oe as Table
176
175
  };
@@ -1,40 +1,38 @@
1
- import { jsxs as v, jsx as l } from "react/jsx-runtime";
2
- import { createContext as f, useState as h, useCallback as u, useMemo as w, useContext as g } from "react";
1
+ import { jsxs as p, jsx as d } from "react/jsx-runtime";
2
+ import { createContext as x, useState as f, useCallback as u, useMemo as h, useContext as w } from "react";
3
3
  import C from "react-dom";
4
- import m from "../../src/context/ToastContext/ToastContext.module.scss.js";
5
- const T = f(void 0), y = () => {
6
- const o = g(T);
7
- if (!o)
4
+ import '../../assets/src/context/ToastContext/ToastContext.css';/* empty css */
5
+ const m = x(void 0), j = () => {
6
+ const e = w(m);
7
+ if (!e)
8
8
  throw new Error("useToast must be used within a ToastProvider");
9
- return o;
10
- }, M = ({ children: o }) => {
11
- const [r, n] = h([]), p = 3, c = 4e3, i = u((t) => {
12
- n((e) => e.filter((s) => s.id !== t));
13
- }, []), d = u(
9
+ return e;
10
+ }, M = ({ children: e }) => {
11
+ const [l, a] = f([]), T = 3, n = 4e3, i = u((t) => {
12
+ a((o) => o.filter((s) => s.id !== t));
13
+ }, []), c = u(
14
14
  (t) => {
15
- const e = {
15
+ const o = {
16
16
  id: Date.now(),
17
17
  message: t,
18
- duration: c
18
+ duration: n
19
19
  };
20
- n((s) => {
21
- const a = [...s, e];
22
- return a.length > p ? a.slice(1) : a;
23
- }), setTimeout(() => i(e.id), c);
20
+ a((s) => {
21
+ const r = [...s, o];
22
+ return r.length > T ? r.slice(1) : r;
23
+ }), setTimeout(() => i(o.id), n);
24
24
  },
25
25
  [i]
26
- );
27
- console.log("тест addToast"), console.log("toasts", r);
28
- const x = w(() => ({ addToast: d }), [d]);
29
- return /* @__PURE__ */ v(T.Provider, { value: x, children: [
30
- o,
26
+ ), v = h(() => ({ addToast: c }), [c]);
27
+ return /* @__PURE__ */ p(m.Provider, { value: v, children: [
28
+ e,
31
29
  C.createPortal(
32
- /* @__PURE__ */ l("div", { className: m.Wrapper, children: r.map((t) => /* @__PURE__ */ l("div", { className: m.Toast, children: t.message }, t.id)) }),
30
+ /* @__PURE__ */ d("div", { className: "toast-provider", children: l.map((t) => /* @__PURE__ */ d("div", { className: "toast-provider__element", children: t.message }, t.id)) }),
33
31
  document.body
34
32
  )
35
33
  ] });
36
34
  };
37
35
  export {
38
36
  M as ToastProvider,
39
- y as useToast
37
+ j as useToast
40
38
  };
@@ -1,27 +1,28 @@
1
- import { jsx as n } from "react/jsx-runtime";
2
- import { createContext as s, useMemo as m, useContext as a } from "react";
3
- import { useBreakpointValueTriafly as u } from "./hooks/useBreakpointValue/useBreakpointValue.js";
4
- import { useThemeLogic as f } from "./hooks/useTheme/useTheme.js";
5
- import { useModalState as l } from "./hooks/useModal/useModal.js";
6
- const t = s(void 0), y = () => {
7
- const e = a(t);
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import { createContext as n, useMemo as a, useContext as u } from "react";
3
+ import { useBreakpointValueTriafly as f } from "./hooks/useBreakpointValue/useBreakpointValue.js";
4
+ import { useThemeLogic as l } from "./hooks/useTheme/useTheme.js";
5
+ import { useModalState as c } from "./hooks/useModal/useModal.js";
6
+ const i = n(void 0), y = () => {
7
+ const e = u(i);
8
8
  if (!e)
9
9
  throw new Error("useTriafly must be used within a TriaflyProvider");
10
10
  return e;
11
- }, h = ({ children: e }) => {
12
- const { theme: o, toggleTheme: r } = f(), i = m(
11
+ }, v = ({ children: e }) => {
12
+ const { theme: t, toggleTheme: o, setTheme: r } = l(), s = a(
13
13
  () => ({
14
- theme: o,
15
- toggleTheme: r,
16
- useBreakpointValueTriafly: u,
17
- useModalState: l
14
+ theme: t,
15
+ toggleTheme: o,
16
+ useBreakpointValueTriafly: f,
17
+ useModalState: c,
18
+ setTheme: r
18
19
  }),
19
- [o, r]
20
+ [t, o, r]
20
21
  );
21
- return /* @__PURE__ */ n(t.Provider, { value: i, children: e });
22
+ return /* @__PURE__ */ m(i.Provider, { value: s, children: e });
22
23
  };
23
24
  export {
24
- t as TriaflyContext,
25
- h as TriaflyProvider,
25
+ i as TriaflyContext,
26
+ v as TriaflyProvider,
26
27
  y as useTriafly
27
28
  };
@@ -1,16 +1,16 @@
1
1
  import { useSyncExternalStore as n } from "react";
2
- const o = () => {
2
+ const r = () => {
3
3
  const t = window.matchMedia("(prefers-color-scheme: dark)").matches;
4
4
  return localStorage.getItem("theme") || (t ? "dark" : "light");
5
- }, m = o();
5
+ }, m = r();
6
6
  document.documentElement.setAttribute("data-theme", m);
7
7
  const c = () => {
8
- const t = n((e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e)), o), r = (e) => {
8
+ const t = n((e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e)), r), o = (e) => {
9
9
  localStorage.setItem("theme", e), localStorage.setItem("chakra-ui-color-mode", e), document.documentElement.setAttribute("data-theme", e), window.dispatchEvent(new Event("storage"));
10
10
  };
11
11
  return { theme: t, toggleTheme: () => {
12
- r(t === "light" ? "dark" : "light");
13
- } };
12
+ o(t === "light" ? "dark" : "light");
13
+ }, setTheme: o };
14
14
  };
15
15
  export {
16
16
  c as useThemeLogic
package/dist/main.d.ts CHANGED
@@ -74,13 +74,14 @@ declare type ButtonProps = {
74
74
  iconTail?: ReactElement;
75
75
  };
76
76
 
77
- export declare const ButtonsArray: React.FC<ButtonsArrayProps>;
77
+ export declare const ButtonsArray: ForwardRefExoticComponent<ButtonsArrayProps & RefAttributes<HTMLDivElement>>;
78
78
 
79
79
  export declare interface ButtonsArrayProps {
80
80
  tabs: ButtonTab[];
81
81
  label?: string;
82
82
  onChange?: (key: string | number) => void;
83
83
  activeKey?: string | number | null | undefined;
84
+ isDisabled?: boolean;
84
85
  }
85
86
 
86
87
  declare interface ButtonTab {
@@ -1062,6 +1063,13 @@ declare type ModalWindowProps = {
1062
1063
  foolHeight?: boolean;
1063
1064
  };
1064
1065
 
1066
+ export declare const NumberInput: default_2.ForwardRefExoticComponent<NumberInputProps & default_2.RefAttributes<HTMLInputElement>>;
1067
+
1068
+ declare interface NumberInputProps extends TextInputProps {
1069
+ allowNegative?: boolean;
1070
+ allowDecimal?: boolean;
1071
+ }
1072
+
1065
1073
  declare type Option_2 = {
1066
1074
  value: string;
1067
1075
  label: string;
@@ -1123,7 +1131,7 @@ declare type SearchInputProps = {
1123
1131
  onChange?: (value: string) => void;
1124
1132
  };
1125
1133
 
1126
- declare type SizeModal = "sm" | "md" | "lg" | "full";
1134
+ declare type SizeModal = "sm" | "md" | "lg" | "full" | "inner";
1127
1135
 
1128
1136
  declare type SizeUnit = "B" | "KB" | "MB" | "GB";
1129
1137
 
@@ -1269,6 +1277,7 @@ export declare const TriaflyContext: Context<TriaflyContextType | undefined>;
1269
1277
  declare interface TriaflyContextType {
1270
1278
  theme: Theme;
1271
1279
  toggleTheme: () => void;
1280
+ setTheme: (newTheme: Theme) => void;
1272
1281
  useBreakpointValueTriafly: <T>(values: BreakpointValuesTriafly<T>) => T;
1273
1282
  useModalState: typeof useModalState;
1274
1283
  }
@@ -1292,6 +1301,7 @@ export declare const useModalState: () => UseModalReturn;
1292
1301
  export declare const useThemeLogic: () => {
1293
1302
  theme: Theme;
1294
1303
  toggleTheme: () => void;
1304
+ setTheme: (newTheme: Theme) => void;
1295
1305
  };
1296
1306
 
1297
1307
  export declare const useToast: () => ToastContextType;
package/dist/main.js CHANGED
@@ -16,8 +16,8 @@ import { DropdownMenu as B } from "./components/Ui/DropdownMenu/DropdownMenu.js"
16
16
  import { FileUpload as U } from "./components/Ui/FileUpload/FileUpload.js";
17
17
  import { Form as R } from "./components/Ui/Form/FormRoot/FormRoot.js";
18
18
  import { FormValidationError as X, useForm as b } from "./components/Ui/Form/useForm/useForm.js";
19
- import { Loader as E } from "./components/Ui/Loader/Loader.js";
20
- import { Pagination as N } from "./components/Ui/Pagination/Pagination.js";
19
+ import { Loader as N } from "./components/Ui/Loader/Loader.js";
20
+ import { Pagination as G } from "./components/Ui/Pagination/Pagination.js";
21
21
  import { Radio as Q } from "./components/Ui/Radio/Radio.js";
22
22
  import { SearchInput as W } from "./components/Ui/SearchInput/SearchInput.js";
23
23
  import { Skeleton as J } from "./components/Ui/Skeleton/Skeleton.js";
@@ -27,12 +27,13 @@ import { TextInput as _ } from "./components/Ui/TextInput/TextInput.js";
27
27
  import { TextareaInput as oo } from "./components/Ui/TextareaInput/TextareaInput.js";
28
28
  import { Tooltip as no } from "./components/Ui/Tooltip/Tooltip.js";
29
29
  import { Tabs as co } from "./components/Ui/Tabs/Tabs.js";
30
- import { IconArrowBendUpRight as Io, IconArrowClockwise as ao, IconArrowDown as io, IconArrowLeft as po, IconArrowLineDown as lo, IconArrowLineLeft as mo, IconArrowLineRight as fo, IconArrowLineUp as xo, IconArrowRight as so, IconArrowUp as uo, IconArrowsOut as Co, IconArticle as ho, IconAt as wo, IconBellSimple as To, IconBookOpenText as go, IconCalendarBlank as ko, IconCaretDown as So, IconCaretLeft as Ao, IconCaretRight as Do, IconCaretUp as Lo, IconCaretUpDown as Po, IconChartPieSlice as yo, IconChatText as Bo, IconCheck as Fo, IconCheckCircle as Uo, IconChecks as Mo, IconCircleNotch as Ro, IconClickHouse as vo, IconCopy as Xo, IconCornersOut as bo, IconCsv as Ho, IconCube as Eo, IconDatabase as Go, IconDotsNine as No, IconDotsThreeVertical as Oo, IconExport as Qo, IconEye as Vo, IconEyeSlash as Wo, IconFile as zo, IconFiles as Jo, IconFloppyDisk as Yo, IconFolderSimple as jo, IconFolderSimpleX as qo, IconFunnel as Ko, IconGauge as Zo, IconGear as _o, IconGitBranchX as $o, IconGoogleDrive as or, IconHand as rr, IconHeadCircuit as nr, IconHouse as er, IconIcon as cr, IconInfo as tr, IconJoin as Ir, IconLanguage as ar, IconLink as ir, IconList as pr, IconLock as lr, IconLockOpen as mr, IconMariaDB as fr, IconMinus as xr, IconMongoDB as sr, IconMoon as ur, IconMySQL as dr, IconNavigationArrow as Cr, IconNotePencil as hr, IconPassword as wr, IconPen as Tr, IconPlay as gr, IconPlugsX as kr, IconPlus as Sr, IconPorsgteSQL as Ar, IconPresentationChart as Dr, IconQuestion as Lr, IconQuestionFullfilled as Pr, IconRedo as yr, IconRoleX as Br, IconSearch as Fr, IconSearchX as Ur, IconSelection as Mr, IconServer as Rr, IconSlidersHorizontal as vr, IconSticker as Xr, IconSun as br, IconThreeDot as Hr, IconTrash as Er, IconTriangleDown as Gr, IconTriangleUp as Nr, IconUndo as Or, IconUploadSimple as Qr, IconUser as Vr, IconUserX as Wr, IconWarningCircle as zr, IconWrench as Jr, IconX as Yr, IconYandexDisk as jr } from "./components/Ui/Icons/Icons.js";
30
+ import { IconArrowBendUpRight as Io, IconArrowClockwise as ao, IconArrowDown as io, IconArrowLeft as po, IconArrowLineDown as lo, IconArrowLineLeft as mo, IconArrowLineRight as fo, IconArrowLineUp as xo, IconArrowRight as so, IconArrowUp as uo, IconArrowsOut as Co, IconArticle as ho, IconAt as wo, IconBellSimple as To, IconBookOpenText as go, IconCalendarBlank as ko, IconCaretDown as So, IconCaretLeft as Ao, IconCaretRight as Do, IconCaretUp as Lo, IconCaretUpDown as Po, IconChartPieSlice as yo, IconChatText as Bo, IconCheck as Fo, IconCheckCircle as Uo, IconChecks as Mo, IconCircleNotch as Ro, IconClickHouse as vo, IconCopy as Xo, IconCornersOut as bo, IconCsv as Ho, IconCube as No, IconDatabase as Eo, IconDotsNine as Go, IconDotsThreeVertical as Oo, IconExport as Qo, IconEye as Vo, IconEyeSlash as Wo, IconFile as zo, IconFiles as Jo, IconFloppyDisk as Yo, IconFolderSimple as jo, IconFolderSimpleX as qo, IconFunnel as Ko, IconGauge as Zo, IconGear as _o, IconGitBranchX as $o, IconGoogleDrive as or, IconHand as rr, IconHeadCircuit as nr, IconHouse as er, IconIcon as cr, IconInfo as tr, IconJoin as Ir, IconLanguage as ar, IconLink as ir, IconList as pr, IconLock as lr, IconLockOpen as mr, IconMariaDB as fr, IconMinus as xr, IconMongoDB as sr, IconMoon as ur, IconMySQL as dr, IconNavigationArrow as Cr, IconNotePencil as hr, IconPassword as wr, IconPen as Tr, IconPlay as gr, IconPlugsX as kr, IconPlus as Sr, IconPorsgteSQL as Ar, IconPresentationChart as Dr, IconQuestion as Lr, IconQuestionFullfilled as Pr, IconRedo as yr, IconRoleX as Br, IconSearch as Fr, IconSearchX as Ur, IconSelection as Mr, IconServer as Rr, IconSlidersHorizontal as vr, IconSticker as Xr, IconSun as br, IconThreeDot as Hr, IconTrash as Nr, IconTriangleDown as Er, IconTriangleUp as Gr, IconUndo as Or, IconUploadSimple as Qr, IconUser as Vr, IconUserX as Wr, IconWarningCircle as zr, IconWrench as Jr, IconX as Yr, IconYandexDisk as jr } from "./components/Ui/Icons/Icons.js";
31
31
  import { ToastProvider as Kr, useToast as Zr } from "./context/ToastContext/ToastContext.js";
32
32
  import { TriaflyContext as $r, TriaflyProvider as on, useTriafly as rn } from "./context/TriaflyContext/TriaflyProvider.js";
33
33
  import { useBreakpointValueTriafly as en } from "./context/TriaflyContext/hooks/useBreakpointValue/useBreakpointValue.js";
34
34
  import { useThemeLogic as tn } from "./context/TriaflyContext/hooks/useTheme/useTheme.js";
35
35
  import { useModalState as an } from "./context/TriaflyContext/hooks/useModal/useModal.js";
36
+ import { NumberInput as ln } from "./components/Ui/NumberInput/NumberInput.js";
36
37
  export {
37
38
  e as Accordeon,
38
39
  t as Alert,
@@ -81,9 +82,9 @@ export {
81
82
  Xo as IconCopy,
82
83
  bo as IconCornersOut,
83
84
  Ho as IconCsv,
84
- Eo as IconCube,
85
- Go as IconDatabase,
86
- No as IconDotsNine,
85
+ No as IconCube,
86
+ Eo as IconDatabase,
87
+ Go as IconDotsNine,
87
88
  Oo as IconDotsThreeVertical,
88
89
  Qo as IconExport,
89
90
  Vo as IconEye,
@@ -135,9 +136,9 @@ export {
135
136
  Xr as IconSticker,
136
137
  br as IconSun,
137
138
  Hr as IconThreeDot,
138
- Er as IconTrash,
139
- Gr as IconTriangleDown,
140
- Nr as IconTriangleUp,
139
+ Nr as IconTrash,
140
+ Er as IconTriangleDown,
141
+ Gr as IconTriangleUp,
141
142
  Or as IconUndo,
142
143
  Qr as IconUploadSimple,
143
144
  Vr as IconUser,
@@ -146,9 +147,10 @@ export {
146
147
  Jr as IconWrench,
147
148
  Yr as IconX,
148
149
  jr as IconYandexDisk,
149
- E as Loader,
150
+ N as Loader,
150
151
  p as ModalWindow,
151
- N as Pagination,
152
+ ln as NumberInput,
153
+ G as Pagination,
152
154
  Q as Radio,
153
155
  W as SearchInput,
154
156
  J as Skeleton,
@@ -1,4 +1,4 @@
1
- import '../../../../assets/src/components/Ui/Tooltip/Tooltip.stories.module.css';const i = "_container_x4z3a_1", o = "_trigger_x4z3a_27", t = "_clickTrigger_x4z3a_57 _trigger_x4z3a_27", n = "_positionsContainer_x4z3a_75", r = "_positionGroup_x4z3a_83", s = {
1
+ import '../../../../assets/src/components/Ui/Tooltip/Tooltip.stories.module.css';const i = "_container_193w2_1", o = "_trigger_193w2_14", t = "_clickTrigger_193w2_29 _trigger_193w2_14", n = "_positionsContainer_193w2_38", r = "_positionGroup_193w2_42", s = {
2
2
  container: i,
3
3
  trigger: o,
4
4
  clickTrigger: t,