triafly-ui-kit 1.0.23 → 1.0.24
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/README.md +93 -93
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/assets/Accordeon.css +1 -0
- package/dist/assets/Alert.css +1 -0
- package/dist/assets/Avatar.css +1 -0
- package/dist/assets/Badge.css +1 -0
- package/dist/assets/Button.css +1 -0
- package/dist/assets/ButtonsArray.css +1 -0
- package/dist/assets/Checkbox.css +1 -0
- package/dist/assets/CliTextareaInput.css +1 -0
- package/dist/assets/CustomLink.css +1 -0
- package/dist/assets/DatePicker.css +1 -0
- package/dist/assets/DropdownInput.css +1 -0
- package/dist/assets/DropdownMenu.css +1 -0
- package/dist/assets/FileUpload.css +1 -0
- package/dist/assets/FormRoot.css +1 -0
- package/dist/assets/Loader.css +1 -0
- package/dist/assets/ModalWindow.css +1 -0
- package/dist/assets/Pagination.css +1 -0
- package/dist/assets/Radio.css +1 -0
- package/dist/assets/SearchInput.css +1 -0
- package/dist/assets/Skeleton.css +1 -0
- package/dist/assets/Switch.css +1 -0
- package/dist/assets/Table.css +1 -0
- package/dist/assets/Tabs.css +1 -0
- package/dist/assets/TextInput.css +1 -0
- package/dist/assets/TextareaInput.css +1 -0
- package/dist/assets/ToastContext.css +1 -0
- package/dist/assets/Tooltip.css +1 -0
- package/dist/assets/Tooltip2.css +1 -0
- package/dist/assets/fonts/FiraCode-Regular.ttf +0 -0
- package/dist/assets/fonts/Manrope-Bold.ttf +0 -0
- package/dist/assets/fonts/Manrope-Regular.ttf +0 -0
- package/dist/assets/fonts/Manrope-SemiBold.ttf +0 -0
- package/dist/assets/fonts/RobotoSlab-SemiBold.ttf +0 -0
- package/dist/components/Ui/Accordeon/Accordeon.js +33 -0
- package/dist/components/Ui/Accordeon/Accordeon.stories.js +72 -0
- package/dist/components/Ui/Accordeon/index.js +4 -0
- package/dist/components/Ui/Alert/Alert.js +14 -0
- package/dist/components/Ui/Alert/index.js +4 -0
- package/dist/components/Ui/Avatar/Avatar.js +10 -0
- package/dist/components/Ui/Avatar/index.js +4 -0
- package/dist/components/Ui/Badge/Badge.js +43 -0
- package/dist/components/Ui/Badge/index.js +4 -0
- package/dist/components/Ui/Button/Button.js +49 -0
- package/dist/components/Ui/Button/index.js +4 -0
- package/dist/components/Ui/ButtonsArray/ButtonsArray.js +28 -0
- package/dist/components/Ui/ButtonsArray/ButtonsArray.stories.js +78 -0
- package/dist/components/Ui/ButtonsArray/index.js +4 -0
- package/dist/components/Ui/Checkbox/Checkbox.js +39 -0
- package/dist/components/Ui/Checkbox/Checkbox.stories.js +120 -0
- package/dist/components/Ui/Checkbox/index.js +4 -0
- package/dist/components/Ui/CliTextareaInput/CliTextareaInput.js +121 -0
- package/dist/components/Ui/CliTextareaInput/index.js +23 -0
- package/dist/components/Ui/CliTextareaInput/utils/escapeHtml/escapeHtml.js +4 -0
- package/dist/components/Ui/CliTextareaInput/utils/fixJson/fixJson.js +12 -0
- package/dist/components/Ui/CliTextareaInput/utils/highlightSyntax/highlightSyntax.js +20 -0
- package/dist/components/Ui/CliTextareaInput/utils/highlightSyntax/index.js +4 -0
- package/dist/components/Ui/CliTextareaInput/utils/hooks/index.js +17 -0
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useFixFormat/index.js +4 -0
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useFixFormat/useFixFormat.js +29 -0
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useHistoryNavigation/index.js +4 -0
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useHistoryNavigation/useHistoryNavigation.js +34 -0
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useKeyHandlers/index.js +4 -0
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useKeyHandlers/useKeyHandlers.js +45 -0
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useLineNumbers/index.js +5 -0
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useLineNumbers/useLineNumbers.js +17 -0
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useScrollSync/index.js +4 -0
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useScrollSync/useScrollSync.js +13 -0
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextActions/index.js +4 -0
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextActions/useTextActions.js +37 -0
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextCoursore/index.js +4 -0
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextCoursore/useTextCoursore.js +14 -0
- package/dist/components/Ui/CliTextareaInput/utils/index.js +21 -0
- package/dist/components/Ui/CliTextareaInput/utils/processJson/index.js +4 -0
- package/dist/components/Ui/CliTextareaInput/utils/processJson/processJson.js +11 -0
- package/dist/components/Ui/CliTextareaInput/utils/processXml/processXml.js +8 -0
- package/dist/components/Ui/CliTextareaInput/utils/processYml/processYml.js +27 -0
- package/dist/components/Ui/CliTextareaInput/utils/types.js +1 -0
- package/dist/components/Ui/CustomLink/CustomLink.js +49 -0
- package/dist/components/Ui/CustomLink/index.js +4 -0
- package/dist/components/Ui/DatePicker/DatePicker.js +175 -0
- package/dist/components/Ui/DatePicker/DatePicker.stories.js +114 -0
- package/dist/components/Ui/DatePicker/index.js +4 -0
- package/dist/components/Ui/DropdownInput/DropdownInput.js +91 -0
- package/dist/components/Ui/DropdownInput/DropdownInput.stories.js +77 -0
- package/dist/components/Ui/DropdownInput/index.js +4 -0
- package/dist/components/Ui/DropdownMenu/DropdownMenu.js +83 -0
- package/dist/components/Ui/DropdownMenu/DropdownMenu.stories.js +50 -0
- package/dist/components/Ui/DropdownMenu/index.js +4 -0
- package/dist/components/Ui/FileUpload/FileUpload.js +615 -0
- package/dist/components/Ui/FileUpload/fn.js +10 -0
- package/dist/components/Ui/FileUpload/index.js +4 -0
- package/dist/components/Ui/FileUpload/types.js +1 -0
- package/dist/components/Ui/Form/FormContext/FormContext.js +5 -0
- package/dist/components/Ui/Form/FormItem/FormItem.js +107 -0
- package/dist/components/Ui/Form/FormItem/fn.js +25 -0
- package/dist/components/Ui/Form/FormItem/types.js +1 -0
- package/dist/components/Ui/Form/FormRoot/FormRoot.js +25 -0
- package/dist/components/Ui/Form/FormRoot/index.js +4 -0
- package/dist/components/Ui/Form/FormRoot/types.js +1 -0
- package/dist/components/Ui/Form/index.js +6 -0
- package/dist/components/Ui/Form/useForm/index.js +4 -0
- package/dist/components/Ui/Form/useForm/useForm.js +111 -0
- package/dist/components/Ui/Form/utils/fn.js +31 -0
- package/dist/components/Ui/Form/utils/types.js +1 -0
- package/dist/components/Ui/Icons/Icons.js +577 -0
- package/dist/components/Ui/Icons/index.js +97 -0
- package/dist/components/Ui/Icons/utils/CreateIcon.js +23 -0
- package/dist/components/Ui/Loader/Loader.js +6 -0
- package/dist/components/Ui/Loader/index.js +4 -0
- package/dist/components/Ui/ModalWindow/ModalWindow.js +50 -0
- package/dist/components/Ui/ModalWindow/index.js +4 -0
- package/dist/components/Ui/Pagination/Pagination.js +294 -0
- package/dist/components/Ui/Pagination/index.js +4 -0
- package/dist/components/Ui/Radio/Radio.js +30 -0
- package/dist/components/Ui/Radio/Radio.stories.js +42 -0
- package/dist/components/Ui/Radio/index.js +4 -0
- package/dist/components/Ui/SearchInput/SearchData.js +30 -0
- package/dist/components/Ui/SearchInput/SearchInput.js +109 -0
- package/dist/components/Ui/Skeleton/Skeleton.js +28 -0
- package/dist/components/Ui/Skeleton/index.js +4 -0
- package/dist/components/Ui/Switch/Switch.js +25 -0
- package/dist/components/Ui/Switch/index.js +4 -0
- package/dist/components/Ui/Table/MemoizedRow/MemoizedRow.js +79 -0
- package/dist/components/Ui/Table/Table.js +160 -0
- package/dist/components/Ui/Table/TableTypes.js +1 -0
- package/dist/components/Ui/Table/index.js +4 -0
- package/dist/components/Ui/Tabs/Tabs.js +24 -0
- package/dist/components/Ui/Tabs/Tabs.stories.js +67 -0
- package/dist/components/Ui/Tabs/index.js +4 -0
- package/dist/components/Ui/TextInput/TextInput.js +85 -0
- package/dist/components/Ui/TextInput/TextInput.stories.js +225 -0
- package/dist/components/Ui/TextInput/index.js +4 -0
- package/dist/components/Ui/TextareaInput/TextareaInput.js +68 -0
- package/dist/components/Ui/TextareaInput/TextareaInput.stories.js +19 -0
- package/dist/components/Ui/TextareaInput/index.js +4 -0
- package/dist/components/Ui/Tooltip/Tooltip.js +92 -0
- package/dist/components/Ui/Tooltip/Tooltip.stories.js +92 -0
- package/dist/components/Ui/Tooltip/index.js +4 -0
- package/dist/context/ToastContext/ToastContext.js +40 -0
- package/dist/context/ToastContext/index.js +5 -0
- package/dist/context/TriaflyContext/TriaflyContext.types.js +1 -0
- package/dist/context/TriaflyContext/TriaflyProvider.js +27 -0
- package/dist/context/TriaflyContext/hooks/index.js +8 -0
- package/dist/context/TriaflyContext/hooks/useBreakpointValue/index.js +4 -0
- package/dist/context/TriaflyContext/hooks/useBreakpointValue/useBreakpointValue.js +11 -0
- package/dist/context/TriaflyContext/hooks/useModal/index.js +4 -0
- package/dist/context/TriaflyContext/hooks/useModal/useModal.js +16 -0
- package/dist/context/TriaflyContext/hooks/useTheme/index.js +4 -0
- package/dist/context/TriaflyContext/hooks/useTheme/useTheme.js +17 -0
- package/dist/context/TriaflyContext/index.js +12 -0
- package/dist/index-2QXL0WYc.js +45 -0
- package/dist/main.d.ts +1243 -0
- package/dist/main.js +164 -0
- package/dist/vite-env.d.js +1 -0
- package/package.json +106 -106
package/dist/main.js
ADDED
@@ -0,0 +1,164 @@
|
|
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 { ModalWindow as p } from "./components/Ui/ModalWindow/ModalWindow.js";
|
5
|
+
import { Badge as f } from "./components/Ui/Badge/Badge.js";
|
6
|
+
import { DatePicker as x } from "./components/Ui/DatePicker/DatePicker.js";
|
7
|
+
import { Button as u } from "./components/Ui/Button/Button.js";
|
8
|
+
import { ButtonsArray as C } from "./components/Ui/ButtonsArray/ButtonsArray.js";
|
9
|
+
import { Checkbox as h } from "./components/Ui/Checkbox/Checkbox.js";
|
10
|
+
import { CliTextareaInput as T } from "./components/Ui/CliTextareaInput/CliTextareaInput.js";
|
11
|
+
import "react";
|
12
|
+
import { CustomLink as A } from "./components/Ui/CustomLink/CustomLink.js";
|
13
|
+
import { DropdownInput as D } from "./components/Ui/DropdownInput/DropdownInput.js";
|
14
|
+
import { DropdownMenu as P } from "./components/Ui/DropdownMenu/DropdownMenu.js";
|
15
|
+
import { FileUpload as U } from "./components/Ui/FileUpload/FileUpload.js";
|
16
|
+
import { Form as F } from "./components/Ui/Form/FormRoot/FormRoot.js";
|
17
|
+
import { useForm as v } from "./components/Ui/Form/useForm/useForm.js";
|
18
|
+
import { Loader as X } from "./components/Ui/Loader/Loader.js";
|
19
|
+
import { Pagination as H } from "./components/Ui/Pagination/Pagination.js";
|
20
|
+
import { Radio as O } from "./components/Ui/Radio/Radio.js";
|
21
|
+
import { SearchInput as E } from "./components/Ui/SearchInput/SearchInput.js";
|
22
|
+
import { Skeleton as W } from "./components/Ui/Skeleton/Skeleton.js";
|
23
|
+
import { Switch as z } from "./components/Ui/Switch/Switch.js";
|
24
|
+
import { Table as Y } from "./components/Ui/Table/Table.js";
|
25
|
+
import { TextInput as q } from "./components/Ui/TextInput/TextInput.js";
|
26
|
+
import { TextareaInput as Z } from "./components/Ui/TextareaInput/TextareaInput.js";
|
27
|
+
import { Tooltip as $ } from "./components/Ui/Tooltip/Tooltip.js";
|
28
|
+
import { Tabs as no } from "./components/Ui/Tabs/Tabs.js";
|
29
|
+
import { IconArrowBendUpRight as eo, IconArrowClockwise as co, IconArrowDown as Io, IconArrowLeft as to, IconArrowLineDown as io, IconArrowLineLeft as ao, IconArrowLineRight as po, IconArrowLineUp as lo, IconArrowRight as fo, IconArrowUp as mo, IconArrowsOut as xo, IconArticle as so, IconAt as uo, IconBellSimple as Co, IconBookOpenText as wo, IconCalendarBlank as ho, IconCaretDown as So, IconCaretLeft as To, IconCaretRight as go, IconCaretUp as Ao, IconCaretUpDown as ko, IconChartPieSlice as Do, IconChatText as Lo, IconCheck as Po, IconCheckCircle as yo, IconChecks as Uo, IconCircleNotch as Bo, IconCopy as Fo, IconCornersOut as Mo, IconCsv as vo, IconCube as Ro, IconDatabase as Xo, IconDotsNine as bo, IconDotsThreeVertical as Ho, IconExport as No, IconEye as Oo, IconEyeSlash as Qo, IconFile as Eo, IconFiles as Go, IconFloppyDisk as Wo, IconFolderSimple as Vo, IconFolderSimpleX as zo, IconFunnel as Jo, IconGauge as Yo, IconGear as jo, IconGoogleDrive as qo, IconHand as Ko, IconHeadCircuit as Zo, IconHouse as _o, IconIcon as $o, IconInfo as on, IconJoin as nn, IconLanguage as rn, IconLink as en, IconList as cn, IconLock as In, IconLockOpen as tn, IconMariaDB as an, IconMinus as pn, IconMongoDB as ln, IconMoon as fn, IconMySQL as mn, IconNavigationArrow as xn, IconNotePencil as sn, IconPassword as un, IconPen as dn, IconPlay as Cn, IconPlugsX as wn, IconPlus as hn, IconPorsgteSQL as Sn, IconPresentationChart as Tn, IconQuestion as gn, IconQuestionFullfilled as An, IconRedo as kn, IconRoleX as Dn, IconSearch as Ln, IconSearchX as Pn, IconSelection as yn, IconServer as Un, IconSlidersHorizontal as Bn, IconSticker as Fn, IconSun as Mn, IconThreeDot as vn, IconTrash as Rn, IconTriangleDown as Xn, IconTriangleUp as bn, IconUndo as Hn, IconUploadSimple as Nn, IconUser as On, IconUserX as Qn, IconWarningCircle as En, IconWrench as Gn, IconX as Wn, IconYandexDisk as Vn } from "./components/Ui/Icons/Icons.js";
|
30
|
+
import { ToastProvider as Jn } from "./context/ToastContext/ToastContext.js";
|
31
|
+
import { TriaflyContext as jn, TriaflyProvider as qn, useTriafly as Kn } from "./context/TriaflyContext/TriaflyProvider.js";
|
32
|
+
import { useBreakpointValueTriafly as _n } from "./context/TriaflyContext/hooks/useBreakpointValue/useBreakpointValue.js";
|
33
|
+
import { useThemeLogic as or } from "./context/TriaflyContext/hooks/useTheme/useTheme.js";
|
34
|
+
import { useModalState as rr } from "./context/TriaflyContext/hooks/useModal/useModal.js";
|
35
|
+
export {
|
36
|
+
e as Accordeon,
|
37
|
+
I as Alert,
|
38
|
+
i as Avatar,
|
39
|
+
f as Badge,
|
40
|
+
u as Button,
|
41
|
+
C as ButtonsArray,
|
42
|
+
h as Checkbox,
|
43
|
+
T as CliTextareaInput,
|
44
|
+
A as CustomLink,
|
45
|
+
x as DatePicker,
|
46
|
+
D as DropdownInput,
|
47
|
+
P as DropdownMenu,
|
48
|
+
U as FileUpload,
|
49
|
+
F as Form,
|
50
|
+
eo as IconArrowBendUpRight,
|
51
|
+
co as IconArrowClockwise,
|
52
|
+
Io as IconArrowDown,
|
53
|
+
to as IconArrowLeft,
|
54
|
+
io as IconArrowLineDown,
|
55
|
+
ao as IconArrowLineLeft,
|
56
|
+
po as IconArrowLineRight,
|
57
|
+
lo as IconArrowLineUp,
|
58
|
+
fo as IconArrowRight,
|
59
|
+
mo as IconArrowUp,
|
60
|
+
xo as IconArrowsOut,
|
61
|
+
so as IconArticle,
|
62
|
+
uo as IconAt,
|
63
|
+
Co as IconBellSimple,
|
64
|
+
wo as IconBookOpenText,
|
65
|
+
ho as IconCalendarBlank,
|
66
|
+
So as IconCaretDown,
|
67
|
+
To as IconCaretLeft,
|
68
|
+
go as IconCaretRight,
|
69
|
+
Ao as IconCaretUp,
|
70
|
+
ko as IconCaretUpDown,
|
71
|
+
Do as IconChartPieSlice,
|
72
|
+
Lo as IconChatText,
|
73
|
+
Po as IconCheck,
|
74
|
+
yo as IconCheckCircle,
|
75
|
+
Uo as IconChecks,
|
76
|
+
Bo as IconCircleNotch,
|
77
|
+
Fo as IconCopy,
|
78
|
+
Mo as IconCornersOut,
|
79
|
+
vo as IconCsv,
|
80
|
+
Ro as IconCube,
|
81
|
+
Xo as IconDatabase,
|
82
|
+
bo as IconDotsNine,
|
83
|
+
Ho as IconDotsThreeVertical,
|
84
|
+
No as IconExport,
|
85
|
+
Oo as IconEye,
|
86
|
+
Qo as IconEyeSlash,
|
87
|
+
Eo as IconFile,
|
88
|
+
Go as IconFiles,
|
89
|
+
Wo as IconFloppyDisk,
|
90
|
+
Vo as IconFolderSimple,
|
91
|
+
zo as IconFolderSimpleX,
|
92
|
+
Jo as IconFunnel,
|
93
|
+
Yo as IconGauge,
|
94
|
+
jo as IconGear,
|
95
|
+
qo as IconGoogleDrive,
|
96
|
+
Ko as IconHand,
|
97
|
+
Zo as IconHeadCircuit,
|
98
|
+
_o as IconHouse,
|
99
|
+
$o as IconIcon,
|
100
|
+
on as IconInfo,
|
101
|
+
nn as IconJoin,
|
102
|
+
rn as IconLanguage,
|
103
|
+
en as IconLink,
|
104
|
+
cn as IconList,
|
105
|
+
In as IconLock,
|
106
|
+
tn as IconLockOpen,
|
107
|
+
an as IconMariaDB,
|
108
|
+
pn as IconMinus,
|
109
|
+
ln as IconMongoDB,
|
110
|
+
fn as IconMoon,
|
111
|
+
mn as IconMySQL,
|
112
|
+
xn as IconNavigationArrow,
|
113
|
+
sn as IconNotePencil,
|
114
|
+
un as IconPassword,
|
115
|
+
dn as IconPen,
|
116
|
+
Cn as IconPlay,
|
117
|
+
wn as IconPlugsX,
|
118
|
+
hn as IconPlus,
|
119
|
+
Sn as IconPorsgteSQL,
|
120
|
+
Tn as IconPresentationChart,
|
121
|
+
gn as IconQuestion,
|
122
|
+
An as IconQuestionFullfilled,
|
123
|
+
kn as IconRedo,
|
124
|
+
Dn as IconRoleX,
|
125
|
+
Ln as IconSearch,
|
126
|
+
Pn as IconSearchX,
|
127
|
+
yn as IconSelection,
|
128
|
+
Un as IconServer,
|
129
|
+
Bn as IconSlidersHorizontal,
|
130
|
+
Fn as IconSticker,
|
131
|
+
Mn as IconSun,
|
132
|
+
vn as IconThreeDot,
|
133
|
+
Rn as IconTrash,
|
134
|
+
Xn as IconTriangleDown,
|
135
|
+
bn as IconTriangleUp,
|
136
|
+
Hn as IconUndo,
|
137
|
+
Nn as IconUploadSimple,
|
138
|
+
On as IconUser,
|
139
|
+
Qn as IconUserX,
|
140
|
+
En as IconWarningCircle,
|
141
|
+
Gn as IconWrench,
|
142
|
+
Wn as IconX,
|
143
|
+
Vn as IconYandexDisk,
|
144
|
+
X as Loader,
|
145
|
+
p as ModalWindow,
|
146
|
+
H as Pagination,
|
147
|
+
O as Radio,
|
148
|
+
E as SearchInput,
|
149
|
+
W as Skeleton,
|
150
|
+
z as Switch,
|
151
|
+
Y as Table,
|
152
|
+
no as Tabs,
|
153
|
+
q as TextInput,
|
154
|
+
Z as TextareaInput,
|
155
|
+
Jn as ToastProvider,
|
156
|
+
$ as Tooltip,
|
157
|
+
jn as TriaflyContext,
|
158
|
+
qn as TriaflyProvider,
|
159
|
+
_n as useBreakpointValueTriafly,
|
160
|
+
v as useForm,
|
161
|
+
rr as useModalState,
|
162
|
+
or as useThemeLogic,
|
163
|
+
Kn as useTriafly
|
164
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
|
package/package.json
CHANGED
@@ -1,106 +1,106 @@
|
|
1
|
-
{
|
2
|
-
"name": "triafly-ui-kit",
|
3
|
-
"version": "1.0.
|
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
|
-
},
|
18
|
-
"files": [
|
19
|
-
"dist"
|
20
|
-
],
|
21
|
-
"scripts": {
|
22
|
-
"build": "npm run build:types && vite build",
|
23
|
-
"build:types": "tsc --build tsconfig.build.json",
|
24
|
-
"dev": "vite",
|
25
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
|
26
|
-
"preview": "vite preview",
|
27
|
-
"prepare": "husky install",
|
28
|
-
"precommit": "npm run lint-staged",
|
29
|
-
"lint-staged": "lint-staged",
|
30
|
-
"storybook": "storybook dev -p 6006",
|
31
|
-
"build-storybook": "storybook build",
|
32
|
-
"prepublish": "npm run build",
|
33
|
-
"release-patch": "npm run build && npm version patch && git push && npm publish"
|
34
|
-
},
|
35
|
-
"browserslist": [
|
36
|
-
"cover 99.5%"
|
37
|
-
],
|
38
|
-
"peerDependencies": {
|
39
|
-
"classnames": "^2.5.1",
|
40
|
-
"react": "^18.0.0",
|
41
|
-
"react-dom": "^18.0.0",
|
42
|
-
"react-router-dom": "6.26.1"
|
43
|
-
},
|
44
|
-
"dependencies": {
|
45
|
-
"fast-deep-equal": "^3.1.3",
|
46
|
-
"papaparse": "^5.4.1",
|
47
|
-
"react-paginate": "^8.2.0"
|
48
|
-
},
|
49
|
-
"devDependencies": {
|
50
|
-
"storybook": "^8.6.14",
|
51
|
-
"vite-plugin-lib-inject-css": "^2.2.2",
|
52
|
-
"@chromatic-com/storybook": "^3.2.3",
|
53
|
-
"@eslint/js": "^9.25.0",
|
54
|
-
"@storybook/addon-backgrounds": "^8.5.2",
|
55
|
-
"@storybook/addon-essentials": "^8.4.7",
|
56
|
-
"@storybook/addon-interactions": "^8.4.7",
|
57
|
-
"@storybook/addon-onboarding": "^8.4.7",
|
58
|
-
"@storybook/blocks": "^8.4.7",
|
59
|
-
"@storybook/react": "^8.4.7",
|
60
|
-
"@storybook/react-vite": "^8.4.7",
|
61
|
-
"@storybook/test": "^8.4.7",
|
62
|
-
"@types/eslint-plugin-jsx-a11y": "^6.10.0",
|
63
|
-
"@types/eslint-plugin-prettier": "^3.1.3",
|
64
|
-
"@types/node": "^22.15.21",
|
65
|
-
"@types/papaparse": "^5.3.16",
|
66
|
-
"@types/react": "^18.2.25",
|
67
|
-
"@types/react-dom": "^18.2.25",
|
68
|
-
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
69
|
-
"@typescript-eslint/parser": "^6.21.0",
|
70
|
-
"@vitejs/plugin-react-swc": "^3.9.0",
|
71
|
-
"autoprefixer": "^10.4.21",
|
72
|
-
"eslint": "^8.57.0",
|
73
|
-
"eslint-config-airbnb-typescript": "^17.1.0",
|
74
|
-
"eslint-config-prettier": "^9.1.0",
|
75
|
-
"eslint-import-resolver-typescript": "^4.4.1",
|
76
|
-
"eslint-plugin-import": "^2.29.1",
|
77
|
-
"eslint-plugin-jsx-a11y": "^6.8.0",
|
78
|
-
"eslint-plugin-prettier": "^5.2.1",
|
79
|
-
"eslint-plugin-react": "^7.34.1",
|
80
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
81
|
-
"eslint-plugin-react-refresh": "^0.4.19",
|
82
|
-
"glob": "^11.0.2",
|
83
|
-
"globals": "^16.0.0",
|
84
|
-
"husky": "^9.1.7",
|
85
|
-
"lint-staged": "^16.0.0",
|
86
|
-
"react": "18.2.0",
|
87
|
-
"react-dom": "18.2.0",
|
88
|
-
"react-router-dom": "6.26.1",
|
89
|
-
"sass": "^1.89.0",
|
90
|
-
"typescript": "~5.8.3",
|
91
|
-
"typescript-eslint": "^8.30.1",
|
92
|
-
"vite": "^6.3.5",
|
93
|
-
"vite-plugin-dts": "^4.5.4",
|
94
|
-
"vite-plugin-static-copy": "^3.0.0",
|
95
|
-
"vite-plugin-svgr": "^4.3.0"
|
96
|
-
},
|
97
|
-
"publishConfig": {
|
98
|
-
"access": "public"
|
99
|
-
},
|
100
|
-
"lint-staged": {
|
101
|
-
"src/**/*.{ts,tsx}": [
|
102
|
-
"eslint --fix",
|
103
|
-
"prettier --write --ignore-unknown"
|
104
|
-
]
|
105
|
-
}
|
106
|
-
}
|
1
|
+
{
|
2
|
+
"name": "triafly-ui-kit",
|
3
|
+
"version": "1.0.24",
|
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
|
+
},
|
18
|
+
"files": [
|
19
|
+
"dist"
|
20
|
+
],
|
21
|
+
"scripts": {
|
22
|
+
"build": "npm run build:types && vite build",
|
23
|
+
"build:types": "tsc --build tsconfig.build.json",
|
24
|
+
"dev": "vite",
|
25
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
|
26
|
+
"preview": "vite preview",
|
27
|
+
"prepare": "husky install",
|
28
|
+
"precommit": "npm run lint-staged",
|
29
|
+
"lint-staged": "lint-staged",
|
30
|
+
"storybook": "storybook dev -p 6006",
|
31
|
+
"build-storybook": "storybook build",
|
32
|
+
"prepublish": "npm run build",
|
33
|
+
"release-patch": "npm run build && npm version patch && git push && npm publish"
|
34
|
+
},
|
35
|
+
"browserslist": [
|
36
|
+
"cover 99.5%"
|
37
|
+
],
|
38
|
+
"peerDependencies": {
|
39
|
+
"classnames": "^2.5.1",
|
40
|
+
"react": "^18.0.0",
|
41
|
+
"react-dom": "^18.0.0",
|
42
|
+
"react-router-dom": "6.26.1"
|
43
|
+
},
|
44
|
+
"dependencies": {
|
45
|
+
"fast-deep-equal": "^3.1.3",
|
46
|
+
"papaparse": "^5.4.1",
|
47
|
+
"react-paginate": "^8.2.0"
|
48
|
+
},
|
49
|
+
"devDependencies": {
|
50
|
+
"storybook": "^8.6.14",
|
51
|
+
"vite-plugin-lib-inject-css": "^2.2.2",
|
52
|
+
"@chromatic-com/storybook": "^3.2.3",
|
53
|
+
"@eslint/js": "^9.25.0",
|
54
|
+
"@storybook/addon-backgrounds": "^8.5.2",
|
55
|
+
"@storybook/addon-essentials": "^8.4.7",
|
56
|
+
"@storybook/addon-interactions": "^8.4.7",
|
57
|
+
"@storybook/addon-onboarding": "^8.4.7",
|
58
|
+
"@storybook/blocks": "^8.4.7",
|
59
|
+
"@storybook/react": "^8.4.7",
|
60
|
+
"@storybook/react-vite": "^8.4.7",
|
61
|
+
"@storybook/test": "^8.4.7",
|
62
|
+
"@types/eslint-plugin-jsx-a11y": "^6.10.0",
|
63
|
+
"@types/eslint-plugin-prettier": "^3.1.3",
|
64
|
+
"@types/node": "^22.15.21",
|
65
|
+
"@types/papaparse": "^5.3.16",
|
66
|
+
"@types/react": "^18.2.25",
|
67
|
+
"@types/react-dom": "^18.2.25",
|
68
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
69
|
+
"@typescript-eslint/parser": "^6.21.0",
|
70
|
+
"@vitejs/plugin-react-swc": "^3.9.0",
|
71
|
+
"autoprefixer": "^10.4.21",
|
72
|
+
"eslint": "^8.57.0",
|
73
|
+
"eslint-config-airbnb-typescript": "^17.1.0",
|
74
|
+
"eslint-config-prettier": "^9.1.0",
|
75
|
+
"eslint-import-resolver-typescript": "^4.4.1",
|
76
|
+
"eslint-plugin-import": "^2.29.1",
|
77
|
+
"eslint-plugin-jsx-a11y": "^6.8.0",
|
78
|
+
"eslint-plugin-prettier": "^5.2.1",
|
79
|
+
"eslint-plugin-react": "^7.34.1",
|
80
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
81
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
82
|
+
"glob": "^11.0.2",
|
83
|
+
"globals": "^16.0.0",
|
84
|
+
"husky": "^9.1.7",
|
85
|
+
"lint-staged": "^16.0.0",
|
86
|
+
"react": "18.2.0",
|
87
|
+
"react-dom": "18.2.0",
|
88
|
+
"react-router-dom": "6.26.1",
|
89
|
+
"sass": "^1.89.0",
|
90
|
+
"typescript": "~5.8.3",
|
91
|
+
"typescript-eslint": "^8.30.1",
|
92
|
+
"vite": "^6.3.5",
|
93
|
+
"vite-plugin-dts": "^4.5.4",
|
94
|
+
"vite-plugin-static-copy": "^3.0.0",
|
95
|
+
"vite-plugin-svgr": "^4.3.0"
|
96
|
+
},
|
97
|
+
"publishConfig": {
|
98
|
+
"access": "public"
|
99
|
+
},
|
100
|
+
"lint-staged": {
|
101
|
+
"src/**/*.{ts,tsx}": [
|
102
|
+
"eslint --fix",
|
103
|
+
"prettier --write --ignore-unknown"
|
104
|
+
]
|
105
|
+
}
|
106
|
+
}
|