triafly-ui-kit 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.d.ts +10 -1
- package/dist/main.js +137 -131
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
@@ -1168,6 +1168,8 @@ export declare const TriaflyProvider: ({ children }: {
|
|
1168
1168
|
children: ReactNode;
|
1169
1169
|
}) => JSX.Element;
|
1170
1170
|
|
1171
|
+
export declare const useBreakpointValueTriafly: <T>(values: BreakpointValuesTriafly<T>) => T;
|
1172
|
+
|
1171
1173
|
export declare function useForm(): [FormInstance];
|
1172
1174
|
|
1173
1175
|
declare interface UseModalReturn {
|
@@ -1176,6 +1178,13 @@ declare interface UseModalReturn {
|
|
1176
1178
|
onClose: () => void;
|
1177
1179
|
}
|
1178
1180
|
|
1179
|
-
declare const useModalState: () => UseModalReturn;
|
1181
|
+
export declare const useModalState: () => UseModalReturn;
|
1182
|
+
|
1183
|
+
export declare const useThemeLogic: () => {
|
1184
|
+
theme: Theme;
|
1185
|
+
toggleTheme: () => void;
|
1186
|
+
};
|
1187
|
+
|
1188
|
+
export declare const useTriafly: () => TriaflyContextType;
|
1180
1189
|
|
1181
1190
|
export { }
|
package/dist/main.js
CHANGED
@@ -1,152 +1,158 @@
|
|
1
|
-
import { Accordeon as
|
2
|
-
import { Alert as
|
3
|
-
import { Avatar as
|
4
|
-
import { Badge as
|
5
|
-
import { Button as
|
6
|
-
import { Checkbox as
|
1
|
+
import { Accordeon as e } from "./components/Ui/Accordeon/Accordeon.js";
|
2
|
+
import { Alert as I } from "./components/Ui/Alert/Alert.js";
|
3
|
+
import { Avatar as i } from "./components/Ui/Avatar/Avatar.js";
|
4
|
+
import { Badge as p } from "./components/Ui/Badge/Badge.js";
|
5
|
+
import { Button as f } from "./components/Ui/Button/Button.js";
|
6
|
+
import { Checkbox as x } from "./components/Ui/Checkbox/Checkbox.js";
|
7
7
|
import { CliTextareaInput as u } from "./components/Ui/CliTextareaInput/CliTextareaInput.js";
|
8
8
|
import "react";
|
9
|
-
import { CustomLink as
|
10
|
-
import { DropdownInput as
|
11
|
-
import { DropdownMenu as
|
12
|
-
import { FileUpload as
|
9
|
+
import { CustomLink as d } from "./components/Ui/CustomLink/CustomLink.js";
|
10
|
+
import { DropdownInput as w } from "./components/Ui/DropdownInput/DropdownInput.js";
|
11
|
+
import { DropdownMenu as T } from "./components/Ui/DropdownMenu/DropdownMenu.js";
|
12
|
+
import { FileUpload as A } from "./components/Ui/FileUpload/FileUpload.js";
|
13
13
|
import { Form as k } from "./components/Ui/Form/FormRoot/FormRoot.js";
|
14
|
-
import { useForm as
|
14
|
+
import { useForm as P } from "./components/Ui/Form/useForm/useForm.js";
|
15
15
|
import { Loader as y } from "./components/Ui/Loader/Loader.js";
|
16
|
-
import { Pagination as
|
16
|
+
import { Pagination as B } from "./components/Ui/Pagination/Pagination.js";
|
17
17
|
import { Radio as M } from "./components/Ui/Radio/Radio.js";
|
18
|
-
import { SearchInput as
|
19
|
-
import { Skeleton as
|
20
|
-
import { Switch as
|
21
|
-
import { Table as
|
22
|
-
import { TextInput as
|
23
|
-
import { TextareaInput as
|
24
|
-
import { Tooltip as
|
25
|
-
import { Tree as
|
26
|
-
import { IconArrowBendUpRight as
|
27
|
-
import { ToastProvider as
|
28
|
-
import { TriaflyContext as
|
29
|
-
import "./context/TriaflyContext/hooks/
|
18
|
+
import { SearchInput as X } from "./components/Ui/SearchInput/SearchInput.js";
|
19
|
+
import { Skeleton as H } from "./components/Ui/Skeleton/Skeleton.js";
|
20
|
+
import { Switch as O } from "./components/Ui/Switch/Switch.js";
|
21
|
+
import { Table as E } from "./components/Ui/Table/Table.js";
|
22
|
+
import { TextInput as V } from "./components/Ui/TextInput/TextInput.js";
|
23
|
+
import { TextareaInput as z } from "./components/Ui/TextareaInput/TextareaInput.js";
|
24
|
+
import { Tooltip as Y } from "./components/Ui/Tooltip/Tooltip.js";
|
25
|
+
import { Tree as q } from "./components/Ui/Tree/TreeEl/Tree.js";
|
26
|
+
import { IconArrowBendUpRight as Z, IconArrowClockwise as _, IconArrowDown as $, IconArrowLeft as oo, IconArrowLineDown as no, IconArrowLineLeft as ro, IconArrowLineRight as eo, IconArrowLineUp as co, IconArrowRight as Io, IconArrowUp as to, IconArrowsOut as io, IconArticle as ao, IconAt as po, IconBellSimple as lo, IconBookOpenText as fo, IconCalendarBlank as mo, IconCaretDown as xo, IconCaretLeft as so, IconCaretRight as uo, IconCaretUp as Co, IconCaretUpDown as ho, IconChartPieSlice as wo, IconChatText as So, IconCheck as To, IconCheckCircle as go, IconChecks as Ao, IconCircleNotch as Lo, IconCopy as ko, IconCornersOut as Do, IconCsv as Po, IconCube as Uo, IconDatabase as yo, IconDotsNine as Fo, IconDotsThreeVertical as Bo, IconExport as vo, IconEye as Mo, IconEyeSlash as Ro, IconFile as Xo, IconFiles as bo, IconFloppyDisk as Ho, IconFolderSimple as No, IconFolderSimpleX as Oo, IconFunnel as Qo, IconGauge as Eo, IconGear as Go, IconGoogleDrive as Vo, IconHand as Wo, IconHeadCircuit as zo, IconHouse as Jo, IconIcon as Yo, IconInfo as jo, IconJoin as qo, IconLanguage as Ko, IconLink as Zo, IconList as _o, IconLock as $o, IconLockOpen as on, IconMariaDB as nn, IconMinus as rn, IconMongoDB as en, IconMoon as cn, IconMySQL as In, IconNavigationArrow as tn, IconNotePencil as an, IconPassword as pn, IconPen as ln, IconPlay as fn, IconPlugsX as mn, IconPlus as xn, IconPorsgteSQL as sn, IconPresentationChart as un, IconQuestion as Cn, IconQuestionFullfilled as dn, IconRedo as hn, IconRoleX as wn, IconSearch as Sn, IconSearchX as Tn, IconSelection as gn, IconServer as An, IconSlidersHorizontal as Ln, IconSticker as kn, IconSun as Dn, IconThreeDot as Pn, IconTrash as Un, IconTriangleDown as yn, IconTriangleUp as Fn, IconUndo as Bn, IconUploadSimple as vn, IconUser as Mn, IconUserX as Rn, IconWarningCircle as Xn, IconWrench as bn, IconX as Hn, IconYandexDisk as Nn } from "./components/Ui/Icons/Icons.js";
|
27
|
+
import { ToastProvider as Qn } from "./context/ToastContext/ToastContext.js";
|
28
|
+
import { TriaflyContext as Gn, TriaflyProvider as Vn, useTriafly as Wn } from "./context/TriaflyContext/TriaflyProvider.js";
|
29
|
+
import { useBreakpointValueTriafly as Jn } from "./context/TriaflyContext/hooks/useBreakpointValue/useBreakpointValue.js";
|
30
|
+
import { useThemeLogic as jn } from "./context/TriaflyContext/hooks/useTheme/useTheme.js";
|
31
|
+
import { useModalState as Kn } from "./context/TriaflyContext/hooks/useModal/useModal.js";
|
30
32
|
export {
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
33
|
+
e as Accordeon,
|
34
|
+
I as Alert,
|
35
|
+
i as Avatar,
|
36
|
+
p as Badge,
|
37
|
+
f as Button,
|
38
|
+
x as Checkbox,
|
37
39
|
u as CliTextareaInput,
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
40
|
+
d as CustomLink,
|
41
|
+
w as DropdownInput,
|
42
|
+
T as DropdownMenu,
|
43
|
+
A as FileUpload,
|
42
44
|
k as Form,
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
45
|
+
Z as IconArrowBendUpRight,
|
46
|
+
_ as IconArrowClockwise,
|
47
|
+
$ as IconArrowDown,
|
48
|
+
oo as IconArrowLeft,
|
49
|
+
no as IconArrowLineDown,
|
50
|
+
ro as IconArrowLineLeft,
|
51
|
+
eo as IconArrowLineRight,
|
52
|
+
co as IconArrowLineUp,
|
53
|
+
Io as IconArrowRight,
|
54
|
+
to as IconArrowUp,
|
55
|
+
io as IconArrowsOut,
|
56
|
+
ao as IconArticle,
|
57
|
+
po as IconAt,
|
58
|
+
lo as IconBellSimple,
|
59
|
+
fo as IconBookOpenText,
|
60
|
+
mo as IconCalendarBlank,
|
61
|
+
xo as IconCaretDown,
|
62
|
+
so as IconCaretLeft,
|
61
63
|
uo as IconCaretRight,
|
62
|
-
|
64
|
+
Co as IconCaretUp,
|
63
65
|
ho as IconCaretUpDown,
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
66
|
+
wo as IconChartPieSlice,
|
67
|
+
So as IconChatText,
|
68
|
+
To as IconCheck,
|
69
|
+
go as IconCheckCircle,
|
70
|
+
Ao as IconChecks,
|
71
|
+
Lo as IconCircleNotch,
|
70
72
|
ko as IconCopy,
|
71
|
-
|
72
|
-
|
73
|
-
|
73
|
+
Do as IconCornersOut,
|
74
|
+
Po as IconCsv,
|
75
|
+
Uo as IconCube,
|
74
76
|
yo as IconDatabase,
|
75
|
-
|
76
|
-
|
77
|
-
|
77
|
+
Fo as IconDotsNine,
|
78
|
+
Bo as IconDotsThreeVertical,
|
79
|
+
vo as IconExport,
|
78
80
|
Mo as IconEye,
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
81
|
+
Ro as IconEyeSlash,
|
82
|
+
Xo as IconFile,
|
83
|
+
bo as IconFiles,
|
84
|
+
Ho as IconFloppyDisk,
|
85
|
+
No as IconFolderSimple,
|
86
|
+
Oo as IconFolderSimpleX,
|
87
|
+
Qo as IconFunnel,
|
88
|
+
Eo as IconGauge,
|
89
|
+
Go as IconGear,
|
90
|
+
Vo as IconGoogleDrive,
|
91
|
+
Wo as IconHand,
|
92
|
+
zo as IconHeadCircuit,
|
93
|
+
Jo as IconHouse,
|
94
|
+
Yo as IconIcon,
|
95
|
+
jo as IconInfo,
|
96
|
+
qo as IconJoin,
|
97
|
+
Ko as IconLanguage,
|
98
|
+
Zo as IconLink,
|
99
|
+
_o as IconList,
|
100
|
+
$o as IconLock,
|
101
|
+
on as IconLockOpen,
|
102
|
+
nn as IconMariaDB,
|
103
|
+
rn as IconMinus,
|
104
|
+
en as IconMongoDB,
|
105
|
+
cn as IconMoon,
|
106
|
+
In as IconMySQL,
|
107
|
+
tn as IconNavigationArrow,
|
108
|
+
an as IconNotePencil,
|
109
|
+
pn as IconPassword,
|
110
|
+
ln as IconPen,
|
111
|
+
fn as IconPlay,
|
112
|
+
mn as IconPlugsX,
|
113
|
+
xn as IconPlus,
|
114
|
+
sn as IconPorsgteSQL,
|
113
115
|
un as IconPresentationChart,
|
114
|
-
|
115
|
-
|
116
|
+
Cn as IconQuestion,
|
117
|
+
dn as IconQuestionFullfilled,
|
116
118
|
hn as IconRedo,
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
119
|
+
wn as IconRoleX,
|
120
|
+
Sn as IconSearch,
|
121
|
+
Tn as IconSearchX,
|
122
|
+
gn as IconSelection,
|
123
|
+
An as IconServer,
|
124
|
+
Ln as IconSlidersHorizontal,
|
123
125
|
kn as IconSticker,
|
124
|
-
|
125
|
-
|
126
|
-
|
126
|
+
Dn as IconSun,
|
127
|
+
Pn as IconThreeDot,
|
128
|
+
Un as IconTrash,
|
127
129
|
yn as IconTriangleDown,
|
128
|
-
|
129
|
-
|
130
|
-
|
130
|
+
Fn as IconTriangleUp,
|
131
|
+
Bn as IconUndo,
|
132
|
+
vn as IconUploadSimple,
|
131
133
|
Mn as IconUser,
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
134
|
+
Rn as IconUserX,
|
135
|
+
Xn as IconWarningCircle,
|
136
|
+
bn as IconWrench,
|
137
|
+
Hn as IconX,
|
138
|
+
Nn as IconYandexDisk,
|
137
139
|
y as Loader,
|
138
|
-
|
140
|
+
B as Pagination,
|
139
141
|
M as Radio,
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
142
|
+
X as SearchInput,
|
143
|
+
H as Skeleton,
|
144
|
+
O as Switch,
|
145
|
+
E as Table,
|
146
|
+
V as TextInput,
|
147
|
+
z as TextareaInput,
|
148
|
+
Qn as ToastProvider,
|
149
|
+
Y as Tooltip,
|
150
|
+
q as Tree,
|
151
|
+
Gn as TriaflyContext,
|
152
|
+
Vn as TriaflyProvider,
|
153
|
+
Jn as useBreakpointValueTriafly,
|
154
|
+
P as useForm,
|
155
|
+
Kn as useModalState,
|
156
|
+
jn as useThemeLogic,
|
157
|
+
Wn as useTriafly
|
152
158
|
};
|