elseware-ui 2.40.4 → 3.0.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.
- package/README.md +289 -289
- package/dist/index.css +484 -310
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +101 -293
- package/dist/index.d.ts +101 -293
- package/dist/index.js +1294 -752
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +986 -449
- package/dist/index.mjs.map +1 -1
- package/dist/index.native.d.mts +16 -0
- package/dist/index.native.d.ts +16 -0
- package/dist/index.native.js +913 -0
- package/dist/index.native.js.map +1 -0
- package/dist/index.native.mjs +904 -0
- package/dist/index.native.mjs.map +1 -0
- package/dist/resolveGlobalConfigs-Cuiq_Zix.d.mts +288 -0
- package/dist/resolveGlobalConfigs-Cuiq_Zix.d.ts +288 -0
- package/package.json +173 -143
- package/tailwind.preset.js +116 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import React__default, { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { FieldHookConfig } from 'formik';
|
|
3
|
+
|
|
4
|
+
declare const CURRENCIES: {
|
|
5
|
+
name: string;
|
|
6
|
+
symbol: string;
|
|
7
|
+
code: string;
|
|
8
|
+
}[];
|
|
9
|
+
|
|
10
|
+
declare enum Variant$1 {
|
|
11
|
+
default = "default",
|
|
12
|
+
primary = "primary",
|
|
13
|
+
secondary = "secondary",
|
|
14
|
+
success = "success",
|
|
15
|
+
danger = "danger",
|
|
16
|
+
warning = "warning",
|
|
17
|
+
info = "info",
|
|
18
|
+
light = "light",
|
|
19
|
+
dark = "dark"
|
|
20
|
+
}
|
|
21
|
+
declare enum TextVariant {
|
|
22
|
+
default = "default",
|
|
23
|
+
primary = "primary",
|
|
24
|
+
secondary = "secondary",
|
|
25
|
+
success = "success",
|
|
26
|
+
danger = "danger",
|
|
27
|
+
warning = "warning",
|
|
28
|
+
info = "info",
|
|
29
|
+
light = "light",
|
|
30
|
+
dark = "dark"
|
|
31
|
+
}
|
|
32
|
+
declare enum Shape$1 {
|
|
33
|
+
circle = "circle",
|
|
34
|
+
roundedSquare = "roundedSquare",
|
|
35
|
+
softRoundedSquare = "softRoundedSquare",
|
|
36
|
+
square = "square"
|
|
37
|
+
}
|
|
38
|
+
declare enum Size$1 {
|
|
39
|
+
xs = "xs",
|
|
40
|
+
sm = "sm",
|
|
41
|
+
md = "md",
|
|
42
|
+
lg = "lg",
|
|
43
|
+
xl = "xl"
|
|
44
|
+
}
|
|
45
|
+
declare enum Appearance$1 {
|
|
46
|
+
solid = "solid",
|
|
47
|
+
lite = "lite",
|
|
48
|
+
ghost = "ghost"
|
|
49
|
+
}
|
|
50
|
+
declare enum Decoration {
|
|
51
|
+
underline = "underline",
|
|
52
|
+
overline = "overline",
|
|
53
|
+
lineThrough = "lineThrough",
|
|
54
|
+
noUnderline = "noUnderline"
|
|
55
|
+
}
|
|
56
|
+
declare enum Target {
|
|
57
|
+
blank = "blank",
|
|
58
|
+
self = "self",
|
|
59
|
+
parent = "parent",
|
|
60
|
+
top = "top"
|
|
61
|
+
}
|
|
62
|
+
declare enum VerticalPosition$1 {
|
|
63
|
+
top = "top",
|
|
64
|
+
bottom = "bottom"
|
|
65
|
+
}
|
|
66
|
+
declare enum HorizontalPosition$1 {
|
|
67
|
+
left = "left",
|
|
68
|
+
right = "right"
|
|
69
|
+
}
|
|
70
|
+
declare enum CardinalPosition$1 {
|
|
71
|
+
top = "top",
|
|
72
|
+
bottom = "bottom",
|
|
73
|
+
left = "left",
|
|
74
|
+
right = "right"
|
|
75
|
+
}
|
|
76
|
+
declare enum CornerPosition$1 {
|
|
77
|
+
"top-left" = "top-left",
|
|
78
|
+
"top-right" = "top-right",
|
|
79
|
+
"bottom-left" = "bottom-left",
|
|
80
|
+
"bottom-right" = "bottom-right"
|
|
81
|
+
}
|
|
82
|
+
declare enum OctilePosition$1 {
|
|
83
|
+
top = "top",
|
|
84
|
+
bottom = "bottom",
|
|
85
|
+
left = "left",
|
|
86
|
+
right = "right",
|
|
87
|
+
"top-left" = "top-left",
|
|
88
|
+
"top-right" = "top-right",
|
|
89
|
+
"bottom-left" = "bottom-left",
|
|
90
|
+
"bottom-right" = "bottom-right"
|
|
91
|
+
}
|
|
92
|
+
declare enum ListBulletType$1 {
|
|
93
|
+
dot = "dot",
|
|
94
|
+
diamond = "diamond",
|
|
95
|
+
number = "number",
|
|
96
|
+
none = "none"
|
|
97
|
+
}
|
|
98
|
+
declare enum ListAlign$1 {
|
|
99
|
+
start = "start",
|
|
100
|
+
center = "center"
|
|
101
|
+
}
|
|
102
|
+
declare enum ListDirection$1 {
|
|
103
|
+
vertical = "vertical",
|
|
104
|
+
horizontal = "horizontal"
|
|
105
|
+
}
|
|
106
|
+
declare enum SpinnerType$1 {
|
|
107
|
+
border = "border",
|
|
108
|
+
ring = "ring",
|
|
109
|
+
dots = "dots",
|
|
110
|
+
bars = "bars",
|
|
111
|
+
pulse = "pulse",
|
|
112
|
+
orbit = "orbit",
|
|
113
|
+
dualRing = "dualRing",
|
|
114
|
+
ripple = "ripple",
|
|
115
|
+
grid = "grid",
|
|
116
|
+
wave = "wave"
|
|
117
|
+
}
|
|
118
|
+
declare enum ToastPosition {
|
|
119
|
+
topLeft = "top-left",
|
|
120
|
+
topCenter = "top-center",
|
|
121
|
+
topRight = "top-right",
|
|
122
|
+
bottomLeft = "bottom-left",
|
|
123
|
+
bottomCenter = "bottom-center",
|
|
124
|
+
bottomRight = "bottom-right"
|
|
125
|
+
}
|
|
126
|
+
declare enum ToastStatus {
|
|
127
|
+
default = "default",
|
|
128
|
+
success = "success",
|
|
129
|
+
warning = "warning",
|
|
130
|
+
error = "error",
|
|
131
|
+
danger = "danger",
|
|
132
|
+
info = "info"
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
type Variant = `${Variant$1}`;
|
|
136
|
+
type Shape = `${Shape$1}`;
|
|
137
|
+
type Size = `${Size$1}`;
|
|
138
|
+
type Appearance = `${Appearance$1}`;
|
|
139
|
+
type TextDecoration = `${Decoration}`;
|
|
140
|
+
type HyperRefTarget = `${Target}`;
|
|
141
|
+
type VerticalPosition = `${VerticalPosition$1}`;
|
|
142
|
+
type HorizontalPosition = `${HorizontalPosition$1}`;
|
|
143
|
+
type CardinalPosition = `${CardinalPosition$1}`;
|
|
144
|
+
type CornerPosition = `${CornerPosition$1}`;
|
|
145
|
+
type OctilePosition = `${OctilePosition$1}`;
|
|
146
|
+
type TitleBannerLevel = 1 | 2;
|
|
147
|
+
type ListBulletType = `${ListBulletType$1}`;
|
|
148
|
+
type ListAlign = `${ListAlign$1}`;
|
|
149
|
+
type ListDirection = `${ListDirection$1}`;
|
|
150
|
+
type RouteTabMode = "route" | "state";
|
|
151
|
+
type CurrencyCode = (typeof CURRENCIES)[number]["code"];
|
|
152
|
+
type SpinnerType = `${SpinnerType$1}`;
|
|
153
|
+
type SpinnerDirection = "vertical" | "horizontal";
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Contains ReactElements such as "children" using HTMLAttributes
|
|
157
|
+
*
|
|
158
|
+
* Contains DOMAttributes such as "onClick" using HTMLAttributes
|
|
159
|
+
*
|
|
160
|
+
* Define the custom types as follows for the custom DOM elements
|
|
161
|
+
* BaseComponentProps<HTMLDivElement> // default
|
|
162
|
+
* BaseComponentProps<HTMLButtonElement> // buttons
|
|
163
|
+
* BaseComponentProps<HTMLAnchorElement> // links
|
|
164
|
+
*/
|
|
165
|
+
interface BaseComponentProps<T extends HTMLElement = HTMLDivElement> extends Omit<HTMLAttributes<T>, "children"> {
|
|
166
|
+
className?: string;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
type ButtonMode = "contained" | "contained-tonal" | "outlined" | "text";
|
|
170
|
+
type ButtonIcon = ReactNode | ((props: {
|
|
171
|
+
color: string;
|
|
172
|
+
size: number;
|
|
173
|
+
}) => ReactNode);
|
|
174
|
+
interface ButtonProps extends Omit<BaseComponentProps<HTMLButtonElement>, "style"> {
|
|
175
|
+
type?: "button" | "submit" | "reset";
|
|
176
|
+
icon?: ButtonIcon;
|
|
177
|
+
text?: string;
|
|
178
|
+
children?: ReactNode;
|
|
179
|
+
loading?: boolean;
|
|
180
|
+
disabled?: boolean;
|
|
181
|
+
block?: boolean;
|
|
182
|
+
compact?: boolean;
|
|
183
|
+
glow?: boolean;
|
|
184
|
+
mode?: ButtonMode;
|
|
185
|
+
contentClassName?: string;
|
|
186
|
+
labelClassName?: string;
|
|
187
|
+
variant?: Variant;
|
|
188
|
+
appearance?: Appearance;
|
|
189
|
+
shape?: Shape;
|
|
190
|
+
size?: Size;
|
|
191
|
+
accessibilityLabel?: string;
|
|
192
|
+
accessibilityRole?: string;
|
|
193
|
+
accessibilityState?: unknown;
|
|
194
|
+
testID?: string;
|
|
195
|
+
onPress?: () => void;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
interface CheckboxOption {
|
|
199
|
+
label: string;
|
|
200
|
+
value: string;
|
|
201
|
+
disabled?: boolean;
|
|
202
|
+
}
|
|
203
|
+
interface BaseCheckboxProps extends BaseComponentProps {
|
|
204
|
+
label?: string;
|
|
205
|
+
placeholder?: string;
|
|
206
|
+
variant?: Variant;
|
|
207
|
+
shape?: Shape;
|
|
208
|
+
disabled?: boolean;
|
|
209
|
+
groupClassName?: string;
|
|
210
|
+
optionClassName?: string;
|
|
211
|
+
indicatorClassName?: string;
|
|
212
|
+
checkedIndicatorClassName?: string;
|
|
213
|
+
checkedIconClassName?: string;
|
|
214
|
+
labelClassName?: string;
|
|
215
|
+
}
|
|
216
|
+
interface SingleCheckboxProps extends BaseCheckboxProps {
|
|
217
|
+
options?: never;
|
|
218
|
+
}
|
|
219
|
+
interface MultiCheckboxProps extends BaseCheckboxProps {
|
|
220
|
+
options: CheckboxOption[];
|
|
221
|
+
}
|
|
222
|
+
type FormikCheckboxProps = (SingleCheckboxProps & FieldHookConfig<boolean>) | (MultiCheckboxProps & FieldHookConfig<string[]>);
|
|
223
|
+
type CheckboxProps = FormikCheckboxProps;
|
|
224
|
+
|
|
225
|
+
type InputType = "text" | "password" | "number";
|
|
226
|
+
interface BaseInputProps extends BaseComponentProps<HTMLInputElement> {
|
|
227
|
+
type?: InputType;
|
|
228
|
+
name: string;
|
|
229
|
+
label?: string;
|
|
230
|
+
placeholder: string;
|
|
231
|
+
inputClassName?: string;
|
|
232
|
+
labelClassName?: string;
|
|
233
|
+
responseClassName?: string;
|
|
234
|
+
step?: string;
|
|
235
|
+
shape?: Shape;
|
|
236
|
+
disabled?: boolean;
|
|
237
|
+
}
|
|
238
|
+
type FormikInputProps = FieldHookConfig<string> & BaseInputProps;
|
|
239
|
+
type InputProps = FormikInputProps;
|
|
240
|
+
|
|
241
|
+
interface InputLabelProps {
|
|
242
|
+
text?: string;
|
|
243
|
+
children?: ReactNode;
|
|
244
|
+
className?: string;
|
|
245
|
+
floating?: boolean;
|
|
246
|
+
focused?: boolean;
|
|
247
|
+
errored?: boolean;
|
|
248
|
+
disabled?: boolean;
|
|
249
|
+
htmlFor?: string;
|
|
250
|
+
animatedValue?: unknown;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
interface InputResponseProps {
|
|
254
|
+
name: string;
|
|
255
|
+
visibility?: boolean;
|
|
256
|
+
variant?: keyof typeof TextVariant;
|
|
257
|
+
className?: string;
|
|
258
|
+
message?: ReactNode;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
interface EUIComponentDefaults {
|
|
262
|
+
variant?: keyof typeof Variant$1;
|
|
263
|
+
size?: keyof typeof Size$1;
|
|
264
|
+
shape?: keyof typeof Shape$1;
|
|
265
|
+
styles?: string;
|
|
266
|
+
}
|
|
267
|
+
interface EUIRoute {
|
|
268
|
+
path: string;
|
|
269
|
+
name: string;
|
|
270
|
+
}
|
|
271
|
+
interface EUIConfigs {
|
|
272
|
+
global?: EUIComponentDefaults;
|
|
273
|
+
routes?: EUIRoute[];
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
interface EUIContextValue {
|
|
277
|
+
config: EUIConfigs;
|
|
278
|
+
setConfig: React__default.Dispatch<React__default.SetStateAction<EUIConfigs>>;
|
|
279
|
+
}
|
|
280
|
+
declare const EUIProvider: ({ config, children, }: {
|
|
281
|
+
config: EUIConfigs;
|
|
282
|
+
children: React__default.ReactNode;
|
|
283
|
+
}) => React__default.JSX.Element;
|
|
284
|
+
declare const useEUIConfig: () => EUIContextValue;
|
|
285
|
+
|
|
286
|
+
declare function resolveWithGlobal<T>(config: EUIConfigs | null, props: T, defaults: Partial<T>): T;
|
|
287
|
+
|
|
288
|
+
export { type Appearance as A, type ButtonProps as B, type CheckboxProps as C, Decoration as D, type EUIComponentDefaults as E, type CornerPosition as F, type HyperRefTarget as G, type HorizontalPosition as H, type InputProps as I, type VerticalPosition as J, type ListBulletType as L, type OctilePosition as O, type RouteTabMode as R, type Shape as S, type TitleBannerLevel as T, type Variant as V, type InputLabelProps as a, type InputResponseProps as b, type ButtonIcon as c, type ButtonMode as d, type CheckboxOption as e, type EUIConfigs as f, EUIProvider as g, type EUIRoute as h, type BaseComponentProps as i, type Size as j, type ListDirection as k, type ListAlign as l, type CurrencyCode as m, type SpinnerType as n, type SpinnerDirection as o, type TextDecoration as p, Shape$1 as q, resolveWithGlobal as r, Variant$1 as s, Size$1 as t, useEUIConfig as u, ToastStatus as v, ToastPosition as w, Target as x, TextVariant as y, type CardinalPosition as z };
|
package/package.json
CHANGED
|
@@ -1,143 +1,173 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "elseware-ui",
|
|
3
|
-
"version": "
|
|
4
|
-
"private": false,
|
|
5
|
-
"description": "A modern and customizable React UI component library by elseware Technology.",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"react",
|
|
8
|
-
"ui-library",
|
|
9
|
-
"component-library",
|
|
10
|
-
"tailwind",
|
|
11
|
-
"design-system",
|
|
12
|
-
"elseware",
|
|
13
|
-
"elseware-technology"
|
|
14
|
-
],
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "https://github.com/elseware-technology/elseware-ui.git"
|
|
18
|
-
},
|
|
19
|
-
"author": "elseware Technology",
|
|
20
|
-
"license": "MIT",
|
|
21
|
-
"main": "./dist/index.js",
|
|
22
|
-
"module": "./dist/index.mjs",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"react-
|
|
76
|
-
"react-
|
|
77
|
-
"
|
|
78
|
-
"
|
|
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
|
-
"eslint
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
"
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
"
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "elseware-ui",
|
|
3
|
+
"version": "3.0.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "A modern and customizable React UI component library by elseware Technology.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"react",
|
|
8
|
+
"ui-library",
|
|
9
|
+
"component-library",
|
|
10
|
+
"tailwind",
|
|
11
|
+
"design-system",
|
|
12
|
+
"elseware",
|
|
13
|
+
"elseware-technology"
|
|
14
|
+
],
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/elseware-technology/elseware-ui.git"
|
|
18
|
+
},
|
|
19
|
+
"author": "elseware Technology",
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"main": "./dist/index.js",
|
|
22
|
+
"module": "./dist/index.mjs",
|
|
23
|
+
"react-native": "./dist/index.native.js",
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"react-native": {
|
|
28
|
+
"types": "./dist/index.native.d.ts",
|
|
29
|
+
"import": "./dist/index.native.mjs",
|
|
30
|
+
"require": "./dist/index.native.js"
|
|
31
|
+
},
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"import": "./dist/index.mjs",
|
|
34
|
+
"require": "./dist/index.js"
|
|
35
|
+
},
|
|
36
|
+
"./native": {
|
|
37
|
+
"types": "./dist/index.native.d.ts",
|
|
38
|
+
"import": "./dist/index.native.mjs",
|
|
39
|
+
"require": "./dist/index.native.js"
|
|
40
|
+
},
|
|
41
|
+
"./tailwind": "./tailwind.preset.js",
|
|
42
|
+
"./styles.css": "./dist/index.css"
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist",
|
|
46
|
+
"tailwind.preset.js"
|
|
47
|
+
],
|
|
48
|
+
"sideEffects": [
|
|
49
|
+
"**/*.css"
|
|
50
|
+
],
|
|
51
|
+
"publishConfig": {
|
|
52
|
+
"access": "public"
|
|
53
|
+
},
|
|
54
|
+
"scripts": {
|
|
55
|
+
"dev": "storybook dev -p 6006",
|
|
56
|
+
"build": "tsup",
|
|
57
|
+
"build:storybook": "storybook build",
|
|
58
|
+
"clean": "rimraf dist node_modules/.cache storybook-static coverage",
|
|
59
|
+
"typecheck": "tsc --noEmit",
|
|
60
|
+
"lint": "eslint .",
|
|
61
|
+
"lint:fix": "eslint . --fix",
|
|
62
|
+
"format": "prettier . --write",
|
|
63
|
+
"format:check": "prettier . --check",
|
|
64
|
+
"deadcode": "knip",
|
|
65
|
+
"validate": "npm run typecheck && npm run lint && npm run format:check && npm run build",
|
|
66
|
+
"prepare": "npm run build",
|
|
67
|
+
"prepare:husky": "husky",
|
|
68
|
+
"release": "npm publish --access public",
|
|
69
|
+
"full": "npm run lint:fix && npm run format && npm run validate"
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"formik": ">=2.4.0 <3",
|
|
73
|
+
"yup": ">=1.3.0 <2",
|
|
74
|
+
"react": ">=18.3.1 <20",
|
|
75
|
+
"react-dom": ">=18.3.1 <20",
|
|
76
|
+
"react-native": "*",
|
|
77
|
+
"nativewind": ">=4.0.0 <5",
|
|
78
|
+
"tailwindcss": ">=3.0.0"
|
|
79
|
+
},
|
|
80
|
+
"peerDependenciesMeta": {
|
|
81
|
+
"nativewind": {
|
|
82
|
+
"optional": true
|
|
83
|
+
},
|
|
84
|
+
"react-native": {
|
|
85
|
+
"optional": true
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"dependencies": {
|
|
89
|
+
"@codemirror/lang-markdown": "^6.5.0",
|
|
90
|
+
"@codemirror/theme-one-dark": "^6.1.3",
|
|
91
|
+
"@mdxeditor/editor": "^4.0.4",
|
|
92
|
+
"@uiw/react-codemirror": "^4.25.10",
|
|
93
|
+
"classnames": "^2.5.1",
|
|
94
|
+
"cloudinary-react": "^1.8.1",
|
|
95
|
+
"d3": "^7.9.0",
|
|
96
|
+
"d3-force": "^3.0.0",
|
|
97
|
+
"emoji-flags": "^1.3.0",
|
|
98
|
+
"framer-motion": "^12.23.24",
|
|
99
|
+
"react-beautiful-dnd": "^13.1.1",
|
|
100
|
+
"react-icons": "^4.12.0",
|
|
101
|
+
"react-markdown": "^10.1.0",
|
|
102
|
+
"react-simple-maps": "^3.0.0",
|
|
103
|
+
"react-syntax-highlighter": "^16.1.1",
|
|
104
|
+
"react-world-flags": "^1.6.0",
|
|
105
|
+
"recharts": "^3.8.1",
|
|
106
|
+
"rehype-raw": "^7.0.0",
|
|
107
|
+
"rehype-sanitize": "^6.0.0",
|
|
108
|
+
"remark-gfm": "^4.0.1",
|
|
109
|
+
"tailwind-merge": "^3.5.0"
|
|
110
|
+
},
|
|
111
|
+
"devDependencies": {
|
|
112
|
+
"@eslint/js": "^9.39.4",
|
|
113
|
+
"@storybook/addon-essentials": "^8.5.0",
|
|
114
|
+
"@storybook/addon-interactions": "^8.5.0",
|
|
115
|
+
"@storybook/addon-links": "^8.5.0",
|
|
116
|
+
"@storybook/addon-onboarding": "^8.5.0",
|
|
117
|
+
"@storybook/blocks": "^8.5.0",
|
|
118
|
+
"@storybook/react": "^8.5.0",
|
|
119
|
+
"@storybook/react-vite": "^8.5.0",
|
|
120
|
+
"@storybook/test": "^8.5.0",
|
|
121
|
+
"@types/d3": "^7.4.3",
|
|
122
|
+
"@types/d3-force": "^3.0.10",
|
|
123
|
+
"@types/emoji-flags": "^1.3.3",
|
|
124
|
+
"@types/jest": "^30.0.0",
|
|
125
|
+
"@types/node": "^24.0.3",
|
|
126
|
+
"@types/react": "^18.3.12",
|
|
127
|
+
"@types/react-beautiful-dnd": "^13.1.8",
|
|
128
|
+
"@types/react-dom": "^18.3.1",
|
|
129
|
+
"@types/react-simple-maps": "^3.0.6",
|
|
130
|
+
"@types/react-syntax-highlighter": "^15.5.13",
|
|
131
|
+
"@types/react-world-flags": "^1.6.0",
|
|
132
|
+
"autoprefixer": "^10.4.16",
|
|
133
|
+
"cssnano": "^6.0.3",
|
|
134
|
+
"eslint": "^9.39.4",
|
|
135
|
+
"eslint-config-prettier": "^10.1.8",
|
|
136
|
+
"eslint-plugin-react": "^7.37.5",
|
|
137
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
138
|
+
"eslint-plugin-storybook": "^0.11.6",
|
|
139
|
+
"formik": "^2.4.9",
|
|
140
|
+
"globals": "^16.5.0",
|
|
141
|
+
"husky": "^9.1.7",
|
|
142
|
+
"knip": "^6.15.0",
|
|
143
|
+
"lint-staged": "^17.0.7",
|
|
144
|
+
"nativewind": "^4.2.6",
|
|
145
|
+
"path": "^0.12.7",
|
|
146
|
+
"postcss": "^8.4.33",
|
|
147
|
+
"prettier": "^3.8.3",
|
|
148
|
+
"prop-types": "^15.8.1",
|
|
149
|
+
"react": "^18.3.1",
|
|
150
|
+
"react-dom": "^18.3.1",
|
|
151
|
+
"react-native": "0.75.2",
|
|
152
|
+
"react-native-css-interop": "0.2.6",
|
|
153
|
+
"react-native-reanimated": "3.10.1",
|
|
154
|
+
"react-native-web": "^0.21.2",
|
|
155
|
+
"rimraf": "^6.0.1",
|
|
156
|
+
"storybook": "^8.5.0",
|
|
157
|
+
"tailwindcss": "^3.4.1",
|
|
158
|
+
"tslib": "^2.8.1",
|
|
159
|
+
"tsup": "^8.5.1",
|
|
160
|
+
"typescript": "^5.9.3",
|
|
161
|
+
"typescript-eslint": "^8.61.1",
|
|
162
|
+
"yup": "^1.7.1"
|
|
163
|
+
},
|
|
164
|
+
"lint-staged": {
|
|
165
|
+
"*.{js,jsx,ts,tsx,mjs,cjs}": [
|
|
166
|
+
"eslint --fix",
|
|
167
|
+
"prettier --write"
|
|
168
|
+
],
|
|
169
|
+
"*.{json,md,css,yml,yaml}": [
|
|
170
|
+
"prettier --write"
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
}
|