dfh-ui-library 1.1.5 → 1.1.7
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/index.d.ts +347 -258
- package/package.json +8 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,245 +1,325 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React$1, {
|
|
2
|
+
import React$1, {
|
|
3
|
+
InputHTMLAttributes,
|
|
4
|
+
SelectHTMLAttributes,
|
|
5
|
+
FC,
|
|
6
|
+
TextareaHTMLAttributes,
|
|
7
|
+
} from "react";
|
|
3
8
|
|
|
4
9
|
type AlignmentType = "center" | "left" | "right";
|
|
5
|
-
type IconColorTypes =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
type IconColorTypes =
|
|
11
|
+
| "white"
|
|
12
|
+
| "black-900"
|
|
13
|
+
| "gray-220"
|
|
14
|
+
| "gray-720"
|
|
15
|
+
| "inherit"
|
|
16
|
+
| "gray-300"
|
|
17
|
+
| string;
|
|
18
|
+
type IconType =
|
|
19
|
+
| "Home"
|
|
20
|
+
| "Info"
|
|
21
|
+
| "Email"
|
|
22
|
+
| "RightArrow"
|
|
23
|
+
| "DropDown"
|
|
24
|
+
| "DropDownArrow"
|
|
25
|
+
| "WhiteArrow"
|
|
26
|
+
| "TrashIcon"
|
|
27
|
+
| "AddNewitemIcon"
|
|
28
|
+
| "OkIcon"
|
|
29
|
+
| "EditIcon"
|
|
30
|
+
| "Delete"
|
|
31
|
+
| "AddIcon"
|
|
32
|
+
| "RemoveTrashIcon"
|
|
33
|
+
| "RoundTickIcon"
|
|
34
|
+
| "ValidationWarningIcon"
|
|
35
|
+
| "WarningIcon"
|
|
36
|
+
| "NeturalIcon"
|
|
37
|
+
| "SuccessIcon"
|
|
38
|
+
| string;
|
|
39
|
+
interface IChildrenProp {
|
|
40
|
+
/**
|
|
41
|
+
* Se the child node and element;
|
|
42
|
+
*/
|
|
43
|
+
children?: React.ReactNode;
|
|
12
44
|
}
|
|
13
|
-
interface
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
45
|
+
interface IIconTypeProp {
|
|
46
|
+
/**
|
|
47
|
+
* Set icon type
|
|
48
|
+
*/
|
|
49
|
+
iconType?: IconType;
|
|
50
|
+
/**
|
|
51
|
+
* Set the Icon Color
|
|
52
|
+
*/
|
|
53
|
+
iconColor?: IconColorTypes;
|
|
22
54
|
}
|
|
23
|
-
interface
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
55
|
+
interface IAdditionalClassesProp {
|
|
56
|
+
/**
|
|
57
|
+
* Optional | Set the additional classes
|
|
58
|
+
*/
|
|
59
|
+
additionalClasses?: string | undefined;
|
|
28
60
|
}
|
|
29
|
-
interface
|
|
30
|
-
|
|
61
|
+
interface IOnClickEventProps {
|
|
62
|
+
onClick?: () => void;
|
|
31
63
|
}
|
|
32
|
-
type TyphoTypes =
|
|
64
|
+
type TyphoTypes =
|
|
65
|
+
| "h1"
|
|
66
|
+
| "h1Bold"
|
|
67
|
+
| "h1ExtraBold"
|
|
68
|
+
| "h2"
|
|
69
|
+
| "h2Bold"
|
|
70
|
+
| "h2ExtraBold"
|
|
71
|
+
| "h10"
|
|
72
|
+
| "h10Bold"
|
|
73
|
+
| "h10ExtraBold"
|
|
74
|
+
| "h6"
|
|
75
|
+
| "h6Bold"
|
|
76
|
+
| "h6ExtraBold"
|
|
77
|
+
| "header1"
|
|
78
|
+
| "header2"
|
|
79
|
+
| "label1"
|
|
80
|
+
| "label2";
|
|
33
81
|
type TyphoComponents = "p" | "span" | "em" | "div" | undefined;
|
|
34
82
|
|
|
35
|
-
interface ButtonProps
|
|
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
|
-
|
|
83
|
+
interface ButtonProps
|
|
84
|
+
extends ChildrenProp,
|
|
85
|
+
AdditionalClassesProp,
|
|
86
|
+
IconTypeProp,
|
|
87
|
+
OnClickEventProps {
|
|
88
|
+
/**
|
|
89
|
+
* Set the button type
|
|
90
|
+
*/
|
|
91
|
+
type?: "submit" | "button";
|
|
92
|
+
/**
|
|
93
|
+
* Button Variants
|
|
94
|
+
*/
|
|
95
|
+
variants?:
|
|
96
|
+
| "large"
|
|
97
|
+
| "small"
|
|
98
|
+
| "extraSmall"
|
|
99
|
+
| "largeOutlined"
|
|
100
|
+
| "smallOutlined"
|
|
101
|
+
| "extraSmallOutlined"
|
|
102
|
+
| "default"
|
|
103
|
+
| "defaultOutlined";
|
|
104
|
+
/**
|
|
105
|
+
* Set the button disable state
|
|
106
|
+
*/
|
|
107
|
+
isDisabled?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Set the button Label
|
|
110
|
+
*/
|
|
111
|
+
buttonLabel?: string | number;
|
|
112
|
+
/**
|
|
113
|
+
* Set the icon visibility
|
|
114
|
+
*/
|
|
115
|
+
isIconEnabled?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Set the icon Alignment
|
|
118
|
+
*/
|
|
119
|
+
iconAlignment?: AlignmentType;
|
|
120
|
+
/**
|
|
121
|
+
* Set icon classes
|
|
122
|
+
*/
|
|
123
|
+
iconClass?: string;
|
|
64
124
|
}
|
|
65
|
-
interface
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
125
|
+
interface ITyphographyProps extends ChildrenProp, AdditionalClassesProp {
|
|
126
|
+
/**
|
|
127
|
+
* Set element type
|
|
128
|
+
*/
|
|
129
|
+
type?: TyphoTypes;
|
|
130
|
+
/**
|
|
131
|
+
* Set element node of the content wrapper
|
|
132
|
+
*/
|
|
133
|
+
component?: TyphoComponents;
|
|
134
|
+
/**
|
|
135
|
+
* Set font-color of the content
|
|
136
|
+
*/
|
|
137
|
+
color?: string;
|
|
138
|
+
onClick?: () => void;
|
|
79
139
|
}
|
|
80
140
|
type InputType$1 = "text" | "email" | "password" | "name" | "date";
|
|
81
|
-
interface
|
|
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
|
-
|
|
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
|
-
|
|
144
|
-
|
|
145
|
-
|
|
141
|
+
interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
142
|
+
/**
|
|
143
|
+
* Set Input type
|
|
144
|
+
*/
|
|
145
|
+
type?: InputType$1;
|
|
146
|
+
/**
|
|
147
|
+
* Set new variant of the input
|
|
148
|
+
*/
|
|
149
|
+
inputVariant?: "default" | "large";
|
|
150
|
+
/**
|
|
151
|
+
* Set Input name
|
|
152
|
+
*/
|
|
153
|
+
id?: string;
|
|
154
|
+
/**
|
|
155
|
+
* Set Input name
|
|
156
|
+
*/
|
|
157
|
+
labelName?: string;
|
|
158
|
+
/**
|
|
159
|
+
* Set the Label Type
|
|
160
|
+
*/
|
|
161
|
+
labelType?: "default" | "black" | "smallSelect" | "blackSmall";
|
|
162
|
+
/**
|
|
163
|
+
* Set Input label name
|
|
164
|
+
*/
|
|
165
|
+
label?: string | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* Ser Error message
|
|
168
|
+
*/
|
|
169
|
+
error?: string;
|
|
170
|
+
/**
|
|
171
|
+
* Ser Error message
|
|
172
|
+
*/
|
|
173
|
+
isBorderedError?: boolean;
|
|
174
|
+
/**
|
|
175
|
+
* Set Wrapper classes, new classes will overide the existing default classes
|
|
176
|
+
*/
|
|
177
|
+
wrapperClass?: string | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* Optional for additional classes
|
|
180
|
+
*/
|
|
181
|
+
additionalClasses?: string | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* Enable read only
|
|
184
|
+
*/
|
|
185
|
+
readonly?: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* LabelClasses
|
|
188
|
+
*/
|
|
189
|
+
labelClasses?: string | undefined;
|
|
190
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
191
|
+
placeholder?: string;
|
|
192
|
+
/**
|
|
193
|
+
* Set label only
|
|
194
|
+
*/
|
|
195
|
+
onlyLabel?: boolean | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* inner span Classes
|
|
198
|
+
*/
|
|
199
|
+
labelSpanClasses?: string;
|
|
200
|
+
/**
|
|
201
|
+
* add additional InputValidation Classes
|
|
202
|
+
*/
|
|
203
|
+
additionalErrorClasses?: string;
|
|
204
|
+
isAdditionalErrorInput?: boolean;
|
|
205
|
+
fullError?: boolean;
|
|
146
206
|
}
|
|
147
207
|
interface CheckboxProps {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
208
|
+
onChange?: (checked: boolean) => void;
|
|
209
|
+
checked?: boolean;
|
|
210
|
+
id?: any;
|
|
211
|
+
label?: string;
|
|
152
212
|
}
|
|
153
213
|
type LABELTYPE = "default" | "black" | "smallSelect" | "blackSmall" | undefined;
|
|
154
|
-
interface
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
214
|
+
interface ILabelProps {
|
|
215
|
+
/**
|
|
216
|
+
* Set the Label Type
|
|
217
|
+
*/
|
|
218
|
+
labelType?: LABELTYPE;
|
|
219
|
+
/**
|
|
220
|
+
* Label name
|
|
221
|
+
*/
|
|
222
|
+
name: string | undefined;
|
|
223
|
+
/**
|
|
224
|
+
* Label contents
|
|
225
|
+
*/
|
|
226
|
+
label?: string | undefined;
|
|
227
|
+
/**
|
|
228
|
+
* Add children
|
|
229
|
+
*/
|
|
230
|
+
children?: React.ReactNode;
|
|
231
|
+
/**
|
|
232
|
+
* Optional for additional classes
|
|
233
|
+
*/
|
|
234
|
+
additionalClasses?: string | undefined;
|
|
235
|
+
/**
|
|
236
|
+
* inner span Classes
|
|
237
|
+
*/
|
|
238
|
+
labelSpanClasses?: string;
|
|
179
239
|
}
|
|
180
|
-
interface
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
240
|
+
interface ISelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
|
|
241
|
+
/**
|
|
242
|
+
* Type
|
|
243
|
+
*/
|
|
244
|
+
selectType?: "small" | "medium";
|
|
245
|
+
/**
|
|
246
|
+
* Set Input type
|
|
247
|
+
*/
|
|
248
|
+
options?: (string | number)[];
|
|
249
|
+
/**
|
|
250
|
+
* Set Input name
|
|
251
|
+
*/
|
|
252
|
+
name: string;
|
|
253
|
+
/**
|
|
254
|
+
* Set Label type
|
|
255
|
+
*/
|
|
256
|
+
labelType?: "default" | "black" | "smallSelect" | "blackSmall";
|
|
257
|
+
/**
|
|
258
|
+
* Set Input label name
|
|
259
|
+
*/
|
|
260
|
+
label?: string | undefined;
|
|
261
|
+
/**
|
|
262
|
+
* LabelClasses
|
|
263
|
+
*/
|
|
264
|
+
labelClasses?: string;
|
|
265
|
+
/**
|
|
266
|
+
* Default text for placeholder
|
|
267
|
+
*/
|
|
268
|
+
defaultText?: string | undefined;
|
|
269
|
+
/**
|
|
270
|
+
* Ser Error message
|
|
271
|
+
*/
|
|
272
|
+
error?: string;
|
|
273
|
+
/**
|
|
274
|
+
* Set Wrapper classes, new classes will overide the existing default classes
|
|
275
|
+
*/
|
|
276
|
+
wrapperClass?: string | undefined;
|
|
277
|
+
/**
|
|
278
|
+
* Optional for additional classes
|
|
279
|
+
*/
|
|
280
|
+
additionalClasses?: string | undefined;
|
|
281
|
+
updateInputValue?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
282
|
+
defaultValue?: string;
|
|
223
283
|
}
|
|
224
284
|
|
|
225
|
-
declare const Button: ({
|
|
285
|
+
declare const Button: ({
|
|
286
|
+
type,
|
|
287
|
+
isDisabled,
|
|
288
|
+
buttonLabel,
|
|
289
|
+
iconType,
|
|
290
|
+
iconColor,
|
|
291
|
+
iconAlignment,
|
|
292
|
+
isIconEnabled,
|
|
293
|
+
variants,
|
|
294
|
+
additionalClasses,
|
|
295
|
+
iconClass,
|
|
296
|
+
onClick,
|
|
297
|
+
}: ButtonProps) => React$1.JSX.Element;
|
|
226
298
|
|
|
227
299
|
/**
|
|
228
300
|
* Primary UI component
|
|
229
301
|
*/
|
|
230
|
-
declare const Typhography: ({
|
|
302
|
+
declare const Typhography: ({
|
|
303
|
+
type,
|
|
304
|
+
component,
|
|
305
|
+
color,
|
|
306
|
+
additionalClasses,
|
|
307
|
+
children,
|
|
308
|
+
onClick,
|
|
309
|
+
...rest
|
|
310
|
+
}: TyphographyProps) => React$1.JSX.Element;
|
|
231
311
|
|
|
232
312
|
declare const Checkbox: React$1.FC<CheckboxProps>;
|
|
233
313
|
|
|
234
|
-
interface
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
314
|
+
interface IInputValidationProps {
|
|
315
|
+
/**
|
|
316
|
+
* Set validation message
|
|
317
|
+
*/
|
|
318
|
+
message?: string | undefined;
|
|
319
|
+
/**
|
|
320
|
+
* Optional for additional classes
|
|
321
|
+
*/
|
|
322
|
+
additionalClasses?: string | undefined;
|
|
243
323
|
}
|
|
244
324
|
/**
|
|
245
325
|
* Primary UI component for user interaction
|
|
@@ -262,51 +342,60 @@ declare const Label: React$1.FC<LabelProps>;
|
|
|
262
342
|
declare const Select: React$1.FC<SelectProps>;
|
|
263
343
|
|
|
264
344
|
type InputType = "text" | "email" | "password" | "name";
|
|
265
|
-
interface
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
345
|
+
interface IInputProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
346
|
+
/**
|
|
347
|
+
* Set Input type
|
|
348
|
+
*/
|
|
349
|
+
type?: InputType;
|
|
350
|
+
/**
|
|
351
|
+
* Set Input name
|
|
352
|
+
*/
|
|
353
|
+
name: string;
|
|
354
|
+
/**
|
|
355
|
+
* Set the Label Type
|
|
356
|
+
*/
|
|
357
|
+
labelType?: "default" | "black" | "smallSelect";
|
|
358
|
+
/**
|
|
359
|
+
* Set Input label name
|
|
360
|
+
*/
|
|
361
|
+
label?: string | undefined;
|
|
362
|
+
/**
|
|
363
|
+
* Ser Error message
|
|
364
|
+
*/
|
|
365
|
+
error?: string;
|
|
366
|
+
/**
|
|
367
|
+
* Set Wrapper classes, new classes will overide the existing default classes
|
|
368
|
+
*/
|
|
369
|
+
wrapperClass?: string | undefined;
|
|
370
|
+
/**
|
|
371
|
+
* Optional for additional classes
|
|
372
|
+
*/
|
|
373
|
+
additionalClasses?: string | undefined;
|
|
374
|
+
/**
|
|
375
|
+
* Enable read only
|
|
376
|
+
*/
|
|
377
|
+
readonly?: boolean;
|
|
378
|
+
/**
|
|
379
|
+
* LabelClasses
|
|
380
|
+
*/
|
|
381
|
+
labelClasses?: string;
|
|
382
|
+
/**
|
|
383
|
+
* Set label only
|
|
384
|
+
*/
|
|
385
|
+
onlyLabel?: boolean;
|
|
306
386
|
}
|
|
307
387
|
/**
|
|
308
388
|
* Primary UI component for user interaction
|
|
309
389
|
*/
|
|
310
390
|
declare const Textarea: React$1.FC<InputProps>;
|
|
311
391
|
|
|
312
|
-
export {
|
|
392
|
+
export {
|
|
393
|
+
Button,
|
|
394
|
+
Checkbox as CheckBox,
|
|
395
|
+
Input,
|
|
396
|
+
InputValidation,
|
|
397
|
+
Label,
|
|
398
|
+
Select,
|
|
399
|
+
Textarea,
|
|
400
|
+
Typhography,
|
|
401
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dfh-ui-library",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"rollup": "rollup -c --bundleConfigAsCjs",
|
|
@@ -16,14 +16,16 @@
|
|
|
16
16
|
"@babel/preset-typescript": "^7.23.3",
|
|
17
17
|
"@rollup/plugin-sucrase": "^5.0.2",
|
|
18
18
|
"@rollup/plugin-terser": "^0.4.4",
|
|
19
|
-
"@storybook/addon-docs": "^7.5.3",
|
|
20
|
-
"@storybook/theming": "^7.5.3",
|
|
21
19
|
"@tailwindcss/forms": "^0.5.7",
|
|
22
20
|
"@types/react": "^18.2.37",
|
|
23
21
|
"autoprefixer": "^10.4.16",
|
|
24
22
|
"classnames": "^2.3.2",
|
|
23
|
+
"lodash": "^4.17.21",
|
|
24
|
+
"moment": "^2.29.4",
|
|
25
25
|
"react": "^18.2.0",
|
|
26
|
+
"react-datepicker": "^4.23.0",
|
|
26
27
|
"react-dom": "^18.2.0",
|
|
28
|
+
"react-tooltip": "^5.24.0",
|
|
27
29
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
28
30
|
"rollup-plugin-scss": "^4.0.0",
|
|
29
31
|
"tailwindcss": "^3.3.5",
|
|
@@ -48,7 +50,10 @@
|
|
|
48
50
|
"@testing-library/jest-dom": "^6.1.4",
|
|
49
51
|
"@testing-library/react": "^14.1.2",
|
|
50
52
|
"@testing-library/user-event": "^14.5.1",
|
|
53
|
+
"@storybook/addon-docs": "^7.5.3",
|
|
54
|
+
"@storybook/theming": "^7.5.3",
|
|
51
55
|
"@types/jest": "^29.5.9",
|
|
56
|
+
"@types/react-datepicker": "^4.19.3",
|
|
52
57
|
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
|
53
58
|
"@typescript-eslint/parser": "^6.12.0",
|
|
54
59
|
"autoprefixer": "^10.4.16",
|