triafly-ui-kit 1.0.43 → 1.0.47

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 (34) hide show
  1. package/README.md +93 -93
  2. package/dist/_virtual/index2.js +2 -5
  3. package/dist/assets/src/components/Ui/Skeleton/Skeleton.module.css +1 -1
  4. package/dist/assets/src/components/Ui/Table/Table.css +1 -1
  5. package/dist/assets/src/components/Ui/Table/TableSkeletonRow/TableSkeletonRow.css +1 -0
  6. package/dist/assets/src/components/Ui/Tooltip/Tooltip.stories.module.css +1 -1
  7. package/dist/components/Ui/ButtonsArray/ButtonsArray.js +15 -16
  8. package/dist/components/Ui/ButtonsArray/ButtonsArray.stories.js +8 -8
  9. package/dist/components/Ui/Icons/Icons.js +32 -24
  10. package/dist/components/Ui/Icons/index.js +69 -67
  11. package/dist/components/Ui/ModalWindow/ModalWindow.stories.js +89 -0
  12. package/dist/components/Ui/Table/MemoizedRow/MemoizedRow.js +30 -31
  13. package/dist/components/Ui/Table/Table.js +149 -112
  14. package/dist/components/Ui/Table/TableSkeletonRow/TableSkeletonRow.js +11 -0
  15. package/dist/main.d.ts +27 -4
  16. package/dist/main.js +105 -103
  17. package/dist/node_modules/classnames/index.js +1 -1
  18. package/dist/src/components/Ui/Skeleton/Skeleton.module.scss.js +5 -5
  19. package/dist/src/components/Ui/Tooltip/Tooltip.stories.module.css.js +1 -1
  20. package/package.json +112 -112
  21. package/src/styles/_mixins.scss +21 -21
  22. package/src/styles/fix.scss +3 -3
  23. package/src/styles/main.scss +26 -26
  24. package/src/styles/reset.scss +105 -105
  25. package/src/styles/typography.scss +106 -106
  26. package/src/styles/variables.scss +277 -277
  27. package/dist/_virtual/index3.js +0 -4
  28. package/dist/node_modules/fast-deep-equal/index.js +0 -31
  29. package/dist/styles/_mixins.scss +0 -22
  30. package/dist/styles/fix.scss +0 -4
  31. package/dist/styles/main.scss +0 -27
  32. package/dist/styles/reset.scss +0 -106
  33. package/dist/styles/typography.scss +0 -106
  34. package/dist/styles/variables.scss +0 -277
@@ -0,0 +1,11 @@
1
+ import { jsx as o, jsxs as t } from "react/jsx-runtime";
2
+ import { Skeleton as e } from "../../Skeleton/Skeleton.js";
3
+ import '../../../../assets/src/components/Ui/Table/TableSkeletonRow/TableSkeletonRow.css';/* empty css */
4
+ const n = ({ colSpan: r }) => /* @__PURE__ */ o("tr", { className: "skeleton-row", children: /* @__PURE__ */ t("td", { colSpan: r, children: [
5
+ /* @__PURE__ */ o(e, {}),
6
+ /* @__PURE__ */ o(e, {}),
7
+ /* @__PURE__ */ o(e, {})
8
+ ] }) });
9
+ export {
10
+ n as TableSkeletonRow
11
+ };
package/dist/main.d.ts CHANGED
@@ -79,8 +79,8 @@ export declare const ButtonsArray: React.FC<ButtonsArrayProps>;
79
79
  export declare interface ButtonsArrayProps {
80
80
  tabs: ButtonTab[];
81
81
  label?: string;
82
- initialActiveTab?: number;
83
- onChange?: (status: string | number) => void;
82
+ onChange?: (key: string | number) => void;
83
+ activeKey?: string | number | null | undefined;
84
84
  }
85
85
 
86
86
  declare interface ButtonTab {
@@ -516,6 +516,13 @@ className?: string;
516
516
  viewBox?: string;
517
517
  }>;
518
518
 
519
+ export declare const IconClickHouse: FC< {
520
+ size?: number;
521
+ color?: string;
522
+ className?: string;
523
+ viewBox?: string;
524
+ }>;
525
+
519
526
  export declare const IconCopy: FC< {
520
527
  size?: number;
521
528
  color?: string;
@@ -642,6 +649,13 @@ className?: string;
642
649
  viewBox?: string;
643
650
  }>;
644
651
 
652
+ export declare const IconGitBranchX: FC< {
653
+ size?: number;
654
+ color?: string;
655
+ className?: string;
656
+ viewBox?: string;
657
+ }>;
658
+
645
659
  export declare const IconGoogleDrive: FC< {
646
660
  size?: number;
647
661
  color?: string;
@@ -1135,11 +1149,13 @@ export declare interface TabItem {
1135
1149
  disabled?: boolean;
1136
1150
  }
1137
1151
 
1138
- export declare const Table: <T extends object>(props: TablesProps<T>) => JSX.Element;
1152
+ export declare const Table: <T extends object>(props: TablesProps<T> & {
1153
+ ref?: default_2.ForwardedRef<HTMLTableElement>;
1154
+ }) => JSX.Element;
1139
1155
 
1140
1156
  declare type TablesProps<T extends object = Record<string, unknown>> = {
1141
1157
  columns: Column<T>[];
1142
- dataSource: T[];
1158
+ dataSource?: T[];
1143
1159
  rowKey: keyof T | ((record: T) => string);
1144
1160
  tableClassName?: string;
1145
1161
  trTheadClassNames?: string;
@@ -1159,6 +1175,13 @@ declare type TablesProps<T extends object = Record<string, unknown>> = {
1159
1175
  onClickTr?: (record: T) => void;
1160
1176
  onClickTrHeader?: () => void;
1161
1177
  loading?: boolean;
1178
+ hasMore?: boolean;
1179
+ loadingIndicator?: default_2.ReactNode;
1180
+ loaderRef?: default_2.Ref<HTMLTableRowElement>;
1181
+ entities?: Record<string, T>;
1182
+ sortedIds?: string[];
1183
+ externalSorting?: boolean;
1184
+ containerRef?: default_2.RefObject<HTMLDivElement>;
1162
1185
  };
1163
1186
 
1164
1187
  export declare const Tabs: React.FC<TabsProps>;
package/dist/main.js CHANGED
@@ -1,58 +1,58 @@
1
1
  import { Accordeon as e } from "./components/Ui/Accordeon/Accordeon.js";
2
2
  import { Alert as t } from "./components/Ui/Alert/Alert.js";
3
- import { Avatar as a } from "./components/Ui/Avatar/Avatar.js";
3
+ import { Avatar as i } from "./components/Ui/Avatar/Avatar.js";
4
4
  import { ModalWindow as p } from "./components/Ui/ModalWindow/ModalWindow.js";
5
5
  import { Badge as f } from "./components/Ui/Badge/Badge.js";
6
6
  import { DatePicker as x } from "./components/Ui/DatePicker/DatePicker.js";
7
7
  import { DateRangePicker as u } from "./components/Ui/DateRangePicker/DateRangePicker.js";
8
- import { Button as C } from "./components/Ui/Button/Button.js";
9
- import { ButtonsArray as h } from "./components/Ui/ButtonsArray/ButtonsArray.js";
10
- import { Checkbox as S } from "./components/Ui/Checkbox/Checkbox.js";
11
- import { CliTextareaInput as k } from "./components/Ui/CliTextareaInput/CliTextareaInput.js";
8
+ import { Button as d } from "./components/Ui/Button/Button.js";
9
+ import { ButtonsArray as w } from "./components/Ui/ButtonsArray/ButtonsArray.js";
10
+ import { Checkbox as k } from "./components/Ui/Checkbox/Checkbox.js";
11
+ import { CliTextareaInput as T } from "./components/Ui/CliTextareaInput/CliTextareaInput.js";
12
12
  import "react";
13
13
  import { CustomLink as D } from "./components/Ui/CustomLink/CustomLink.js";
14
14
  import { DropdownInput as P } from "./components/Ui/DropdownInput/DropdownInput.js";
15
- import { DropdownMenu as U } from "./components/Ui/DropdownMenu/DropdownMenu.js";
15
+ import { DropdownMenu as B } from "./components/Ui/DropdownMenu/DropdownMenu.js";
16
16
  import { FileUpload as F } from "./components/Ui/FileUpload/FileUpload.js";
17
17
  import { Form as R } from "./components/Ui/Form/FormRoot/FormRoot.js";
18
18
  import { useForm as X } from "./components/Ui/Form/useForm/useForm.js";
19
19
  import { Loader as H } from "./components/Ui/Loader/Loader.js";
20
- import { Pagination as O } from "./components/Ui/Pagination/Pagination.js";
21
- import { Radio as E } from "./components/Ui/Radio/Radio.js";
20
+ import { Pagination as N } from "./components/Ui/Pagination/Pagination.js";
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 z } from "./components/Ui/Skeleton/Skeleton.js";
24
24
  import { Switch as Y } from "./components/Ui/Switch/Switch.js";
25
25
  import { Table as q } from "./components/Ui/Table/Table.js";
26
26
  import { TextInput as Z } from "./components/Ui/TextInput/TextInput.js";
27
27
  import { TextareaInput as $ } from "./components/Ui/TextareaInput/TextareaInput.js";
28
- import { Tooltip as ro } from "./components/Ui/Tooltip/Tooltip.js";
28
+ import { Tooltip as no } from "./components/Ui/Tooltip/Tooltip.js";
29
29
  import { Tabs as eo } from "./components/Ui/Tabs/Tabs.js";
30
- import { IconArrowBendUpRight as to, IconArrowClockwise as Io, IconArrowDown as ao, IconArrowLeft as io, IconArrowLineDown as po, IconArrowLineLeft as lo, IconArrowLineRight as fo, IconArrowLineUp as mo, IconArrowRight as xo, IconArrowUp as so, IconArrowsOut as uo, IconArticle as Co, IconAt as wo, IconBellSimple as ho, IconBookOpenText as go, IconCalendarBlank as So, IconCaretDown as To, IconCaretLeft as ko, IconCaretRight as Ao, IconCaretUp as Do, IconCaretUpDown as Lo, IconChartPieSlice as Po, IconChatText as yo, IconCheck as Uo, IconCheckCircle as Bo, IconChecks as Fo, IconCircleNotch as Mo, IconCopy as Ro, IconCornersOut as vo, IconCsv as Xo, IconCube as bo, IconDatabase as Ho, IconDotsNine as No, IconDotsThreeVertical as Oo, IconExport as Qo, IconEye as Eo, IconEyeSlash as Go, IconFile as Wo, IconFiles as Vo, IconFloppyDisk as zo, IconFolderSimple as Jo, IconFolderSimpleX as Yo, IconFunnel as jo, IconGauge as qo, IconGear as Ko, IconGoogleDrive as Zo, IconHand as _o, IconHeadCircuit as $o, IconHouse as or, IconIcon as rr, IconInfo as nr, IconJoin as er, IconLanguage as cr, IconLink as tr, IconList as Ir, IconLock as ar, IconLockOpen as ir, IconMariaDB as pr, IconMinus as lr, IconMongoDB as fr, IconMoon as mr, IconMySQL as xr, IconNavigationArrow as sr, IconNotePencil as ur, IconPassword as dr, IconPen as Cr, IconPlay as wr, IconPlugsX as hr, IconPlus as gr, IconPorsgteSQL as Sr, IconPresentationChart as Tr, IconQuestion as kr, IconQuestionFullfilled as Ar, IconRedo as Dr, IconRoleX as Lr, IconSearch as Pr, IconSearchX as yr, IconSelection as Ur, IconServer as Br, IconSlidersHorizontal as Fr, IconSticker as Mr, IconSun as Rr, IconThreeDot as vr, IconTrash as Xr, IconTriangleDown as br, IconTriangleUp as Hr, IconUndo as Nr, IconUploadSimple as Or, IconUser as Qr, IconUserX as Er, IconWarningCircle as Gr, IconWrench as Wr, IconX as Vr, IconYandexDisk as zr } from "./components/Ui/Icons/Icons.js";
31
- import { ToastProvider as Yr } from "./context/ToastContext/ToastContext.js";
32
- import { TriaflyContext as qr, TriaflyProvider as Kr, useTriafly as Zr } from "./context/TriaflyContext/TriaflyProvider.js";
33
- import { useBreakpointValueTriafly as $r } from "./context/TriaflyContext/hooks/useBreakpointValue/useBreakpointValue.js";
34
- import { useThemeLogic as rn } from "./context/TriaflyContext/hooks/useTheme/useTheme.js";
35
- import { useModalState as en } from "./context/TriaflyContext/hooks/useModal/useModal.js";
30
+ import { IconArrowBendUpRight as to, IconArrowClockwise as Io, IconArrowDown as io, IconArrowLeft as ao, IconArrowLineDown as po, IconArrowLineLeft as lo, IconArrowLineRight as fo, IconArrowLineUp as mo, IconArrowRight as xo, IconArrowUp as so, IconArrowsOut as uo, IconArticle as Co, IconAt as ho, IconBellSimple as wo, IconBookOpenText as go, IconCalendarBlank as ko, IconCaretDown as So, IconCaretLeft as To, IconCaretRight as Ao, IconCaretUp as Do, IconCaretUpDown as Lo, IconChartPieSlice as Po, IconChatText as yo, IconCheck as Bo, IconCheckCircle as Uo, IconChecks as Fo, IconCircleNotch as Mo, IconClickHouse as Ro, IconCopy as vo, IconCornersOut as Xo, IconCsv as bo, IconCube as Ho, IconDatabase as Go, IconDotsNine as No, IconDotsThreeVertical as Oo, IconExport as Qo, IconEye as Eo, IconEyeSlash as Wo, IconFile as Vo, IconFiles as zo, IconFloppyDisk as Jo, IconFolderSimple as Yo, IconFolderSimpleX as jo, IconFunnel as qo, IconGauge as Ko, IconGear as Zo, IconGitBranchX as _o, IconGoogleDrive as $o, IconHand as on, IconHeadCircuit as nn, IconHouse as rn, IconIcon as en, IconInfo as cn, IconJoin as tn, IconLanguage as In, IconLink as an, IconList as pn, IconLock as ln, IconLockOpen as fn, IconMariaDB as mn, IconMinus as xn, IconMongoDB as sn, IconMoon as un, IconMySQL as Cn, IconNavigationArrow as dn, IconNotePencil as hn, IconPassword as wn, IconPen as gn, IconPlay as kn, IconPlugsX as Sn, IconPlus as Tn, IconPorsgteSQL as An, IconPresentationChart as Dn, IconQuestion as Ln, IconQuestionFullfilled as Pn, IconRedo as yn, IconRoleX as Bn, IconSearch as Un, IconSearchX as Fn, IconSelection as Mn, IconServer as Rn, IconSlidersHorizontal as vn, IconSticker as Xn, IconSun as bn, IconThreeDot as Hn, IconTrash as Gn, IconTriangleDown as Nn, IconTriangleUp as On, IconUndo as Qn, IconUploadSimple as En, IconUser as Wn, IconUserX as Vn, IconWarningCircle as zn, IconWrench as Jn, IconX as Yn, IconYandexDisk as jn } from "./components/Ui/Icons/Icons.js";
31
+ import { ToastProvider as Kn } from "./context/ToastContext/ToastContext.js";
32
+ import { TriaflyContext as _n, TriaflyProvider as $n, useTriafly as or } from "./context/TriaflyContext/TriaflyProvider.js";
33
+ import { useBreakpointValueTriafly as rr } from "./context/TriaflyContext/hooks/useBreakpointValue/useBreakpointValue.js";
34
+ import { useThemeLogic as cr } from "./context/TriaflyContext/hooks/useTheme/useTheme.js";
35
+ import { useModalState as Ir } from "./context/TriaflyContext/hooks/useModal/useModal.js";
36
36
  export {
37
37
  e as Accordeon,
38
38
  t as Alert,
39
- a as Avatar,
39
+ i as Avatar,
40
40
  f as Badge,
41
- C as Button,
42
- h as ButtonsArray,
43
- S as Checkbox,
44
- k as CliTextareaInput,
41
+ d as Button,
42
+ w as ButtonsArray,
43
+ k as Checkbox,
44
+ T as CliTextareaInput,
45
45
  D as CustomLink,
46
46
  x as DatePicker,
47
47
  u as DateRangePicker,
48
48
  P as DropdownInput,
49
- U as DropdownMenu,
49
+ B as DropdownMenu,
50
50
  F as FileUpload,
51
51
  R as Form,
52
52
  to as IconArrowBendUpRight,
53
53
  Io as IconArrowClockwise,
54
- ao as IconArrowDown,
55
- io as IconArrowLeft,
54
+ io as IconArrowDown,
55
+ ao as IconArrowLeft,
56
56
  po as IconArrowLineDown,
57
57
  lo as IconArrowLineLeft,
58
58
  fo as IconArrowLineRight,
@@ -61,92 +61,94 @@ export {
61
61
  so as IconArrowUp,
62
62
  uo as IconArrowsOut,
63
63
  Co as IconArticle,
64
- wo as IconAt,
65
- ho as IconBellSimple,
64
+ ho as IconAt,
65
+ wo as IconBellSimple,
66
66
  go as IconBookOpenText,
67
- So as IconCalendarBlank,
68
- To as IconCaretDown,
69
- ko as IconCaretLeft,
67
+ ko as IconCalendarBlank,
68
+ So as IconCaretDown,
69
+ To as IconCaretLeft,
70
70
  Ao as IconCaretRight,
71
71
  Do as IconCaretUp,
72
72
  Lo as IconCaretUpDown,
73
73
  Po as IconChartPieSlice,
74
74
  yo as IconChatText,
75
- Uo as IconCheck,
76
- Bo as IconCheckCircle,
75
+ Bo as IconCheck,
76
+ Uo as IconCheckCircle,
77
77
  Fo as IconChecks,
78
78
  Mo as IconCircleNotch,
79
- Ro as IconCopy,
80
- vo as IconCornersOut,
81
- Xo as IconCsv,
82
- bo as IconCube,
83
- Ho as IconDatabase,
79
+ Ro as IconClickHouse,
80
+ vo as IconCopy,
81
+ Xo as IconCornersOut,
82
+ bo as IconCsv,
83
+ Ho as IconCube,
84
+ Go as IconDatabase,
84
85
  No as IconDotsNine,
85
86
  Oo as IconDotsThreeVertical,
86
87
  Qo as IconExport,
87
88
  Eo as IconEye,
88
- Go as IconEyeSlash,
89
- Wo as IconFile,
90
- Vo as IconFiles,
91
- zo as IconFloppyDisk,
92
- Jo as IconFolderSimple,
93
- Yo as IconFolderSimpleX,
94
- jo as IconFunnel,
95
- qo as IconGauge,
96
- Ko as IconGear,
97
- Zo as IconGoogleDrive,
98
- _o as IconHand,
99
- $o as IconHeadCircuit,
100
- or as IconHouse,
101
- rr as IconIcon,
102
- nr as IconInfo,
103
- er as IconJoin,
104
- cr as IconLanguage,
105
- tr as IconLink,
106
- Ir as IconList,
107
- ar as IconLock,
108
- ir as IconLockOpen,
109
- pr as IconMariaDB,
110
- lr as IconMinus,
111
- fr as IconMongoDB,
112
- mr as IconMoon,
113
- xr as IconMySQL,
114
- sr as IconNavigationArrow,
115
- ur as IconNotePencil,
116
- dr as IconPassword,
117
- Cr as IconPen,
118
- wr as IconPlay,
119
- hr as IconPlugsX,
120
- gr as IconPlus,
121
- Sr as IconPorsgteSQL,
122
- Tr as IconPresentationChart,
123
- kr as IconQuestion,
124
- Ar as IconQuestionFullfilled,
125
- Dr as IconRedo,
126
- Lr as IconRoleX,
127
- Pr as IconSearch,
128
- yr as IconSearchX,
129
- Ur as IconSelection,
130
- Br as IconServer,
131
- Fr as IconSlidersHorizontal,
132
- Mr as IconSticker,
133
- Rr as IconSun,
134
- vr as IconThreeDot,
135
- Xr as IconTrash,
136
- br as IconTriangleDown,
137
- Hr as IconTriangleUp,
138
- Nr as IconUndo,
139
- Or as IconUploadSimple,
140
- Qr as IconUser,
141
- Er as IconUserX,
142
- Gr as IconWarningCircle,
143
- Wr as IconWrench,
144
- Vr as IconX,
145
- zr as IconYandexDisk,
89
+ Wo as IconEyeSlash,
90
+ Vo as IconFile,
91
+ zo as IconFiles,
92
+ Jo as IconFloppyDisk,
93
+ Yo as IconFolderSimple,
94
+ jo as IconFolderSimpleX,
95
+ qo as IconFunnel,
96
+ Ko as IconGauge,
97
+ Zo as IconGear,
98
+ _o as IconGitBranchX,
99
+ $o as IconGoogleDrive,
100
+ on as IconHand,
101
+ nn as IconHeadCircuit,
102
+ rn as IconHouse,
103
+ en as IconIcon,
104
+ cn as IconInfo,
105
+ tn as IconJoin,
106
+ In as IconLanguage,
107
+ an as IconLink,
108
+ pn as IconList,
109
+ ln as IconLock,
110
+ fn as IconLockOpen,
111
+ mn as IconMariaDB,
112
+ xn as IconMinus,
113
+ sn as IconMongoDB,
114
+ un as IconMoon,
115
+ Cn as IconMySQL,
116
+ dn as IconNavigationArrow,
117
+ hn as IconNotePencil,
118
+ wn as IconPassword,
119
+ gn as IconPen,
120
+ kn as IconPlay,
121
+ Sn as IconPlugsX,
122
+ Tn as IconPlus,
123
+ An as IconPorsgteSQL,
124
+ Dn as IconPresentationChart,
125
+ Ln as IconQuestion,
126
+ Pn as IconQuestionFullfilled,
127
+ yn as IconRedo,
128
+ Bn as IconRoleX,
129
+ Un as IconSearch,
130
+ Fn as IconSearchX,
131
+ Mn as IconSelection,
132
+ Rn as IconServer,
133
+ vn as IconSlidersHorizontal,
134
+ Xn as IconSticker,
135
+ bn as IconSun,
136
+ Hn as IconThreeDot,
137
+ Gn as IconTrash,
138
+ Nn as IconTriangleDown,
139
+ On as IconTriangleUp,
140
+ Qn as IconUndo,
141
+ En as IconUploadSimple,
142
+ Wn as IconUser,
143
+ Vn as IconUserX,
144
+ zn as IconWarningCircle,
145
+ Jn as IconWrench,
146
+ Yn as IconX,
147
+ jn as IconYandexDisk,
146
148
  H as Loader,
147
149
  p as ModalWindow,
148
- O as Pagination,
149
- E as Radio,
150
+ N as Pagination,
151
+ Q as Radio,
150
152
  W as SearchInput,
151
153
  z as Skeleton,
152
154
  Y as Switch,
@@ -154,13 +156,13 @@ export {
154
156
  eo as Tabs,
155
157
  Z as TextInput,
156
158
  $ as TextareaInput,
157
- Yr as ToastProvider,
158
- ro as Tooltip,
159
- qr as TriaflyContext,
160
- Kr as TriaflyProvider,
161
- $r as useBreakpointValueTriafly,
159
+ Kn as ToastProvider,
160
+ no as Tooltip,
161
+ _n as TriaflyContext,
162
+ $n as TriaflyProvider,
163
+ rr as useBreakpointValueTriafly,
162
164
  X as useForm,
163
- en as useModalState,
164
- rn as useThemeLogic,
165
- Zr as useTriafly
165
+ Ir as useModalState,
166
+ cr as useThemeLogic,
167
+ or as useTriafly
166
168
  };
@@ -1,4 +1,4 @@
1
- import { __module as s } from "../../_virtual/index3.js";
1
+ import { __module as s } from "../../_virtual/index2.js";
2
2
  /*!
3
3
  Copyright (c) 2018 Jed Watson.
4
4
  Licensed under the MIT License (MIT), see
@@ -1,9 +1,9 @@
1
- import '../../../../assets/src/components/Ui/Skeleton/Skeleton.module.css';const t = "_skeleton_yatxz_1", e = "_animated_yatxz_6", a = {
2
- skeleton: t,
3
- animated: e
1
+ import '../../../../assets/src/components/Ui/Skeleton/Skeleton.module.css';const e = "_skeleton_1xagr_1", t = "_animated_1xagr_6", a = {
2
+ skeleton: e,
3
+ animated: t
4
4
  };
5
5
  export {
6
- e as animated,
6
+ t as animated,
7
7
  a as default,
8
- t as skeleton
8
+ e as skeleton
9
9
  };
@@ -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,
package/package.json CHANGED
@@ -1,112 +1,112 @@
1
- {
2
- "name": "triafly-ui-kit",
3
- "version": "1.0.43",
4
- "description": "UI Kit from Triafly",
5
- "main": "./dist/main.js",
6
- "module": "./dist/main.js",
7
- "types": "./dist/main.d.ts",
8
- "type": "module",
9
- "exports": {
10
- ".": {
11
- "import": "./dist/main.js",
12
- "types": "./dist/main.d.ts"
13
- },
14
- "./dist/*": {
15
- "types": "./dist/*.d.ts"
16
- },
17
- "./variables.scss": {
18
- "default": "./src/styles/variables.scss"
19
- }
20
- },
21
- "files": [
22
- "dist",
23
- "src/styles",
24
- "src/assets/fonts"
25
- ],
26
- "scripts": {
27
- "build": "npm run build:types && vite build",
28
- "build:types": "tsc --build tsconfig.build.json",
29
- "dev": "vite",
30
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
31
- "preview": "vite preview",
32
- "prepare": "husky install",
33
- "precommit": "npm run lint-staged",
34
- "lint-staged": "lint-staged",
35
- "storybook": "storybook dev -p 6006",
36
- "build-storybook": "storybook build",
37
- "prepublish": "npm run build",
38
- "release-patch": "npm run build && npm version patch && git push && npm publish"
39
- },
40
- "browserslist": [
41
- "cover 99.5%"
42
- ],
43
- "peerDependencies": {
44
- "classnames": "^2.5.1",
45
- "react": "^18.0.0",
46
- "react-dom": "^18.0.0",
47
- "react-router-dom": "6.26.1"
48
- },
49
- "dependencies": {
50
- "dayjs": "^1.11.13",
51
- "fast-deep-equal": "^3.1.3",
52
- "papaparse": "^5.4.1",
53
- "react-paginate": "^8.2.0"
54
- },
55
- "devDependencies": {
56
- "@chromatic-com/storybook": "^3.2.3",
57
- "@eslint/js": "^9.25.0",
58
- "@storybook/addon-backgrounds": "^8.5.2",
59
- "@storybook/addon-essentials": "^8.4.7",
60
- "@storybook/addon-interactions": "^8.4.7",
61
- "@storybook/addon-onboarding": "^8.4.7",
62
- "@storybook/blocks": "^8.4.7",
63
- "@storybook/react": "^8.4.7",
64
- "@storybook/react-vite": "^8.4.7",
65
- "@storybook/test": "^8.4.7",
66
- "@types/eslint-plugin-jsx-a11y": "^6.10.0",
67
- "@types/eslint-plugin-prettier": "^3.1.3",
68
- "@types/node": "^22.15.21",
69
- "@types/papaparse": "^5.3.16",
70
- "@types/react": "^18.2.25",
71
- "@types/react-dom": "^18.2.25",
72
- "@typescript-eslint/eslint-plugin": "^6.21.0",
73
- "@typescript-eslint/parser": "^6.21.0",
74
- "@vitejs/plugin-react-swc": "^3.9.0",
75
- "autoprefixer": "^10.4.21",
76
- "eslint": "^8.57.0",
77
- "eslint-config-airbnb-typescript": "^17.1.0",
78
- "eslint-config-prettier": "^9.1.0",
79
- "eslint-import-resolver-typescript": "^4.4.1",
80
- "eslint-plugin-import": "^2.29.1",
81
- "eslint-plugin-jsx-a11y": "^6.8.0",
82
- "eslint-plugin-prettier": "^5.2.1",
83
- "eslint-plugin-react": "^7.34.1",
84
- "eslint-plugin-react-hooks": "^4.6.0",
85
- "eslint-plugin-react-refresh": "^0.4.19",
86
- "glob": "^11.0.2",
87
- "globals": "^16.0.0",
88
- "husky": "^9.1.7",
89
- "lint-staged": "^16.0.0",
90
- "react": "18.2.0",
91
- "react-dom": "18.2.0",
92
- "react-router-dom": "6.26.1",
93
- "sass": "^1.89.0",
94
- "storybook": "^8.6.14",
95
- "typescript": "~5.8.3",
96
- "typescript-eslint": "^8.30.1",
97
- "vite": "^6.3.5",
98
- "vite-plugin-dts": "^4.5.4",
99
- "vite-plugin-lib-inject-css": "^2.2.2",
100
- "vite-plugin-static-copy": "^3.0.0",
101
- "vite-plugin-svgr": "^4.3.0"
102
- },
103
- "publishConfig": {
104
- "access": "public"
105
- },
106
- "lint-staged": {
107
- "src/**/*.{ts,tsx}": [
108
- "eslint --fix",
109
- "prettier --write --ignore-unknown"
110
- ]
111
- }
112
- }
1
+ {
2
+ "name": "triafly-ui-kit",
3
+ "version": "1.0.47",
4
+ "description": "UI Kit from Triafly",
5
+ "main": "./dist/main.js",
6
+ "module": "./dist/main.js",
7
+ "types": "./dist/main.d.ts",
8
+ "type": "module",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/main.js",
12
+ "types": "./dist/main.d.ts"
13
+ },
14
+ "./dist/*": {
15
+ "types": "./dist/*.d.ts"
16
+ },
17
+ "./variables.scss": {
18
+ "default": "./src/styles/variables.scss"
19
+ }
20
+ },
21
+ "files": [
22
+ "dist",
23
+ "src/styles",
24
+ "src/assets/fonts"
25
+ ],
26
+ "scripts": {
27
+ "build": "npm run build:types && vite build",
28
+ "build:types": "tsc --build tsconfig.build.json",
29
+ "dev": "vite",
30
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
31
+ "preview": "vite preview",
32
+ "prepare": "husky install",
33
+ "precommit": "npm run lint-staged",
34
+ "lint-staged": "lint-staged",
35
+ "storybook": "storybook dev -p 6006",
36
+ "build-storybook": "storybook build",
37
+ "prepublish": "npm run build",
38
+ "release-patch": "npm run build && npm version patch && git push && npm publish"
39
+ },
40
+ "browserslist": [
41
+ "cover 99.5%"
42
+ ],
43
+ "peerDependencies": {
44
+ "classnames": "^2.5.1",
45
+ "react": "^18.0.0",
46
+ "react-dom": "^18.0.0",
47
+ "react-router-dom": "6.26.1"
48
+ },
49
+ "dependencies": {
50
+ "dayjs": "^1.11.13",
51
+ "fast-deep-equal": "^3.1.3",
52
+ "papaparse": "^5.4.1",
53
+ "react-paginate": "^8.2.0"
54
+ },
55
+ "devDependencies": {
56
+ "@chromatic-com/storybook": "^3.2.3",
57
+ "@eslint/js": "^9.25.0",
58
+ "@storybook/addon-backgrounds": "^8.5.2",
59
+ "@storybook/addon-essentials": "^8.4.7",
60
+ "@storybook/addon-interactions": "^8.4.7",
61
+ "@storybook/addon-onboarding": "^8.4.7",
62
+ "@storybook/blocks": "^8.4.7",
63
+ "@storybook/react": "^8.4.7",
64
+ "@storybook/react-vite": "^8.4.7",
65
+ "@storybook/test": "^8.4.7",
66
+ "@types/eslint-plugin-jsx-a11y": "^6.10.0",
67
+ "@types/eslint-plugin-prettier": "^3.1.3",
68
+ "@types/node": "^22.15.21",
69
+ "@types/papaparse": "^5.3.16",
70
+ "@types/react": "^18.2.25",
71
+ "@types/react-dom": "^18.2.25",
72
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
73
+ "@typescript-eslint/parser": "^6.21.0",
74
+ "@vitejs/plugin-react-swc": "^3.9.0",
75
+ "autoprefixer": "^10.4.21",
76
+ "eslint": "^8.57.0",
77
+ "eslint-config-airbnb-typescript": "^17.1.0",
78
+ "eslint-config-prettier": "^9.1.0",
79
+ "eslint-import-resolver-typescript": "^4.4.1",
80
+ "eslint-plugin-import": "^2.29.1",
81
+ "eslint-plugin-jsx-a11y": "^6.8.0",
82
+ "eslint-plugin-prettier": "^5.2.1",
83
+ "eslint-plugin-react": "^7.34.1",
84
+ "eslint-plugin-react-hooks": "^4.6.0",
85
+ "eslint-plugin-react-refresh": "^0.4.19",
86
+ "glob": "^11.0.2",
87
+ "globals": "^16.0.0",
88
+ "husky": "^9.1.7",
89
+ "lint-staged": "^16.0.0",
90
+ "react": "18.2.0",
91
+ "react-dom": "18.2.0",
92
+ "react-router-dom": "6.26.1",
93
+ "sass": "^1.89.0",
94
+ "storybook": "^8.6.14",
95
+ "typescript": "~5.8.3",
96
+ "typescript-eslint": "^8.30.1",
97
+ "vite": "^6.3.5",
98
+ "vite-plugin-dts": "^4.5.4",
99
+ "vite-plugin-lib-inject-css": "^2.2.2",
100
+ "vite-plugin-static-copy": "^3.0.0",
101
+ "vite-plugin-svgr": "^4.3.0"
102
+ },
103
+ "publishConfig": {
104
+ "access": "public"
105
+ },
106
+ "lint-staged": {
107
+ "src/**/*.{ts,tsx}": [
108
+ "eslint --fix",
109
+ "prettier --write --ignore-unknown"
110
+ ]
111
+ }
112
+ }