dfh-ui-library 1.9.46 → 1.9.49
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 +118 -118
- package/dist/cjs/index.css +1 -1
- package/dist/cjs/index.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Button/Button.handler.d.ts +1 -1
- package/dist/cjs/types/components/Button/Button.stories.d.ts +2 -0
- package/dist/cjs/types/components/FilterButtonGroup/Checkbox.d.ts +1 -0
- package/dist/cjs/types/components/FormElements/IconInput/IconInput.handler.d.ts +1 -1
- package/dist/cjs/types/components/Media/Icons/Icons.d.ts +5 -0
- package/dist/cjs/types/components/NotesEditor/NoteEditor.d.ts +4 -0
- package/dist/cjs/types/components/NotesEditor/index.d.ts +1 -0
- package/dist/cjs/types/components/Timeline/Timeline.d.ts +4 -0
- package/dist/cjs/types/components/Timeline/TimelineEvent.d.ts +4 -0
- package/dist/cjs/types/components/Timeline/index.d.ts +1 -0
- package/dist/cjs/types/components/VersionDateDropdown/VersionDateDropdown.d.ts +4 -0
- package/dist/cjs/types/components/VersionDateDropdown/index.d.ts +1 -0
- package/dist/cjs/types/components/index.d.ts +3 -0
- package/dist/cjs/types/index.d.ts +2 -2
- package/dist/cjs/types/shared/models/components/base.model.d.ts +5 -2
- package/dist/cjs/types/shared/models/components/common.model.d.ts +54 -1
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.css.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Button/Button.handler.d.ts +1 -1
- package/dist/esm/types/components/Button/Button.stories.d.ts +2 -0
- package/dist/esm/types/components/FilterButtonGroup/Checkbox.d.ts +1 -0
- package/dist/esm/types/components/FormElements/IconInput/IconInput.handler.d.ts +1 -1
- package/dist/esm/types/components/Media/Icons/Icons.d.ts +5 -0
- package/dist/esm/types/components/NotesEditor/NoteEditor.d.ts +4 -0
- package/dist/esm/types/components/NotesEditor/index.d.ts +1 -0
- package/dist/esm/types/components/Timeline/Timeline.d.ts +4 -0
- package/dist/esm/types/components/Timeline/TimelineEvent.d.ts +4 -0
- package/dist/esm/types/components/Timeline/index.d.ts +1 -0
- package/dist/esm/types/components/VersionDateDropdown/VersionDateDropdown.d.ts +4 -0
- package/dist/esm/types/components/VersionDateDropdown/index.d.ts +1 -0
- package/dist/esm/types/components/index.d.ts +3 -0
- package/dist/esm/types/index.d.ts +2 -2
- package/dist/esm/types/shared/models/components/base.model.d.ts +5 -2
- package/dist/esm/types/shared/models/components/common.model.d.ts +54 -1
- package/dist/index.d.ts +51 -4
- package/package.json +106 -106
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Timeline";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./VersionDateDropdown";
|
|
@@ -38,3 +38,6 @@ export { default as DynamicDualInputTextGroupFormGen } from "./DynamicDualInputT
|
|
|
38
38
|
export { default as FilterButtonGroup } from "./FilterButtonGroup";
|
|
39
39
|
export { IndeterminateCheckbox } from "./Gird";
|
|
40
40
|
export { SelectUserWithButton } from "./SelectDropdownUser";
|
|
41
|
+
export { default as Timeline } from "./Timeline";
|
|
42
|
+
export { default as NoteEditor } from "./NotesEditor";
|
|
43
|
+
export { default as VersionDateDropdown } from "./VersionDateDropdown";
|
|
@@ -5,9 +5,9 @@ export { InputType } from "./shared/models/components/common.model";
|
|
|
5
5
|
export { LogoProps } from "./shared/models/components/base.model";
|
|
6
6
|
export { MessageProps } from "./shared/models/components/common.model";
|
|
7
7
|
export { VariantTypes } from "./shared/models/components/base.model";
|
|
8
|
-
export { DropdownSearchProps, ClickedAction, } from "./shared/models/components/common.model";
|
|
8
|
+
export { DropdownSearchProps, ClickedAction, TimelineEventProps, } from "./shared/models/components/common.model";
|
|
9
9
|
export { BtnOptionDropdown } from "./shared/models/components/common.model";
|
|
10
|
-
export { OptionProps } from "./shared/models/components/common.model";
|
|
10
|
+
export { OptionProps, NoteItemProps, } from "./shared/models/components/common.model";
|
|
11
11
|
export { ColumnDef, SortingState } from "@tanstack/react-table";
|
|
12
12
|
export { usePagination } from "./hooks/usePagination";
|
|
13
13
|
export { useSorting } from "./hooks/useSorting";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InputHTMLAttributes, SelectHTMLAttributes, TextareaHTMLAttributes } from "react";
|
|
2
2
|
import { IAdditionalClassesProp, IChildrenProp, IIconTypeProp, AlignmentType, IOnClickEventProps, TyphoTypes, TyphoComponents, IconHoverColorTypes, MessageTypes, InputType, IconType, LableTypes, ToolTipProps, selectedValue } from "./common.model";
|
|
3
|
-
export type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | "primaryFilterSelected" | "primaryBlueFilter" | undefined;
|
|
3
|
+
export type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | "primaryFilterSelected" | "primaryBlueFilter" | "smallWhite" | "smallWhiteSelected" | undefined;
|
|
4
4
|
export interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
|
|
5
5
|
/**
|
|
6
6
|
* Set the button type
|
|
@@ -86,7 +86,7 @@ export interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputEleme
|
|
|
86
86
|
/**
|
|
87
87
|
* Set new variant of the input
|
|
88
88
|
*/
|
|
89
|
-
inputVariant?: "default" | "large" | "dynamic" | "uploadinput";
|
|
89
|
+
inputVariant?: "default" | "large" | "dynamic" | "uploadinput" | "small" | "noborder";
|
|
90
90
|
/**
|
|
91
91
|
* Set Input name
|
|
92
92
|
*/
|
|
@@ -158,6 +158,9 @@ export interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputEleme
|
|
|
158
158
|
suffixed?: string;
|
|
159
159
|
labelLeftAction?: () => void;
|
|
160
160
|
labelLeftText?: string;
|
|
161
|
+
ref?: any;
|
|
162
|
+
inputFocus?: any;
|
|
163
|
+
refProps?: any;
|
|
161
164
|
}
|
|
162
165
|
export interface IFormGenInputProps {
|
|
163
166
|
/**
|
|
@@ -324,6 +324,21 @@ export interface DropdownSearchProps {
|
|
|
324
324
|
listHeader?: string;
|
|
325
325
|
selected?: string;
|
|
326
326
|
}
|
|
327
|
+
export interface DropdownVersionProps {
|
|
328
|
+
options?: OptionProps[];
|
|
329
|
+
label?: string;
|
|
330
|
+
labelType?: LableTypes;
|
|
331
|
+
onSelectedValuesChange?: (selectedValue: OptionProps) => void;
|
|
332
|
+
buttonProps?: BtnOptionDropdown[];
|
|
333
|
+
defaultValue?: string;
|
|
334
|
+
additionalErrorClasses?: string;
|
|
335
|
+
error?: string;
|
|
336
|
+
additionalClasses?: string;
|
|
337
|
+
readOnly?: boolean;
|
|
338
|
+
isBorderedError?: boolean;
|
|
339
|
+
listHeader?: string;
|
|
340
|
+
selected?: string;
|
|
341
|
+
}
|
|
327
342
|
export interface UserDropdownProps {
|
|
328
343
|
options?: OptionProps[];
|
|
329
344
|
label?: string;
|
|
@@ -347,6 +362,16 @@ export interface UserDropdownProps {
|
|
|
347
362
|
edited?: boolean;
|
|
348
363
|
editedValue?: OptionProps;
|
|
349
364
|
}
|
|
365
|
+
export interface VersionDropDownProps {
|
|
366
|
+
options?: {
|
|
367
|
+
displayText: string;
|
|
368
|
+
value: string;
|
|
369
|
+
}[];
|
|
370
|
+
additionalClasses?: string;
|
|
371
|
+
onClick?: () => void;
|
|
372
|
+
selectedValues?: string;
|
|
373
|
+
handleSelectedValuesChange?: (selectedValue: string) => void;
|
|
374
|
+
}
|
|
350
375
|
export declare enum ClickedAction {
|
|
351
376
|
NONE = "NONE",
|
|
352
377
|
ADDME = "ADDME",
|
|
@@ -383,6 +408,7 @@ export interface ButtonGroupProps extends InputGroupProps {
|
|
|
383
408
|
onSelectedUsers?: (selectedOption: OptionProps[] | undefined) => void;
|
|
384
409
|
buttonGroupCol?: string;
|
|
385
410
|
onValueChange?: (value: string) => void;
|
|
411
|
+
buttonType?: string;
|
|
386
412
|
}
|
|
387
413
|
export interface ButtonGroupWithUploadProps extends InputGroupProps {
|
|
388
414
|
options: {
|
|
@@ -495,7 +521,6 @@ export interface FormGenButtonGroupProps extends FormGenInputGroupProps {
|
|
|
495
521
|
additionalClasses?: string;
|
|
496
522
|
onFileChange?: (file: File | null) => void;
|
|
497
523
|
secondaryComponentsVisible?: boolean;
|
|
498
|
-
viewMode?: boolean;
|
|
499
524
|
}
|
|
500
525
|
export interface selectedValue {
|
|
501
526
|
value?: any;
|
|
@@ -541,4 +566,32 @@ export interface ICardInfoProps {
|
|
|
541
566
|
additionalClasses?: string;
|
|
542
567
|
HeaderText?: string;
|
|
543
568
|
}
|
|
569
|
+
export interface TimelineProps {
|
|
570
|
+
timelines: TimelineEventProps[];
|
|
571
|
+
}
|
|
572
|
+
export interface TimelineEventProps {
|
|
573
|
+
dateTime?: string;
|
|
574
|
+
name?: string;
|
|
575
|
+
chalenges?: any;
|
|
576
|
+
notes?: NoteProps[];
|
|
577
|
+
lastModified?: string;
|
|
578
|
+
}
|
|
579
|
+
export interface NoteProps {
|
|
580
|
+
headerNote?: string;
|
|
581
|
+
footerNote?: string;
|
|
582
|
+
noteOptions?: NoteOptionsProps[];
|
|
583
|
+
}
|
|
584
|
+
export interface NoteOptionsProps {
|
|
585
|
+
text?: string;
|
|
586
|
+
checked?: boolean;
|
|
587
|
+
}
|
|
588
|
+
export interface NoteItemProps {
|
|
589
|
+
isChecked?: boolean;
|
|
590
|
+
text: string;
|
|
591
|
+
enableCheckbox: boolean;
|
|
592
|
+
}
|
|
593
|
+
export interface NoteComponentProps {
|
|
594
|
+
onAdd: (items: NoteItemProps[]) => void;
|
|
595
|
+
cancelAction?: () => void;
|
|
596
|
+
}
|
|
544
597
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -311,6 +311,16 @@ interface UserDropdownProps {
|
|
|
311
311
|
edited?: boolean;
|
|
312
312
|
editedValue?: OptionProps;
|
|
313
313
|
}
|
|
314
|
+
interface VersionDropDownProps {
|
|
315
|
+
options?: {
|
|
316
|
+
displayText: string;
|
|
317
|
+
value: string;
|
|
318
|
+
}[];
|
|
319
|
+
additionalClasses?: string;
|
|
320
|
+
onClick?: () => void;
|
|
321
|
+
selectedValues?: string;
|
|
322
|
+
handleSelectedValuesChange?: (selectedValue: string) => void;
|
|
323
|
+
}
|
|
314
324
|
declare enum ClickedAction {
|
|
315
325
|
NONE = "NONE",
|
|
316
326
|
ADDME = "ADDME",
|
|
@@ -347,6 +357,7 @@ interface ButtonGroupProps extends InputGroupProps {
|
|
|
347
357
|
onSelectedUsers?: (selectedOption: OptionProps[] | undefined) => void;
|
|
348
358
|
buttonGroupCol?: string;
|
|
349
359
|
onValueChange?: (value: string) => void;
|
|
360
|
+
buttonType?: string;
|
|
350
361
|
}
|
|
351
362
|
interface ButtonGroupWithUploadProps extends InputGroupProps {
|
|
352
363
|
options: {
|
|
@@ -396,7 +407,6 @@ interface FormGenButtonGroupProps extends FormGenInputGroupProps {
|
|
|
396
407
|
additionalClasses?: string;
|
|
397
408
|
onFileChange?: (file: File | null) => void;
|
|
398
409
|
secondaryComponentsVisible?: boolean;
|
|
399
|
-
viewMode?: boolean;
|
|
400
410
|
}
|
|
401
411
|
interface selectedValue {
|
|
402
412
|
value?: any;
|
|
@@ -429,8 +439,36 @@ interface ICardInfoProps {
|
|
|
429
439
|
additionalClasses?: string;
|
|
430
440
|
HeaderText?: string;
|
|
431
441
|
}
|
|
442
|
+
interface TimelineProps {
|
|
443
|
+
timelines: TimelineEventProps[];
|
|
444
|
+
}
|
|
445
|
+
interface TimelineEventProps {
|
|
446
|
+
dateTime?: string;
|
|
447
|
+
name?: string;
|
|
448
|
+
chalenges?: any;
|
|
449
|
+
notes?: NoteProps[];
|
|
450
|
+
lastModified?: string;
|
|
451
|
+
}
|
|
452
|
+
interface NoteProps {
|
|
453
|
+
headerNote?: string;
|
|
454
|
+
footerNote?: string;
|
|
455
|
+
noteOptions?: NoteOptionsProps[];
|
|
456
|
+
}
|
|
457
|
+
interface NoteOptionsProps {
|
|
458
|
+
text?: string;
|
|
459
|
+
checked?: boolean;
|
|
460
|
+
}
|
|
461
|
+
interface NoteItemProps {
|
|
462
|
+
isChecked?: boolean;
|
|
463
|
+
text: string;
|
|
464
|
+
enableCheckbox: boolean;
|
|
465
|
+
}
|
|
466
|
+
interface NoteComponentProps {
|
|
467
|
+
onAdd: (items: NoteItemProps[]) => void;
|
|
468
|
+
cancelAction?: () => void;
|
|
469
|
+
}
|
|
432
470
|
|
|
433
|
-
type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | "primaryFilterSelected" | "primaryBlueFilter" | undefined;
|
|
471
|
+
type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | "primaryFilterSelected" | "primaryBlueFilter" | "smallWhite" | "smallWhiteSelected" | undefined;
|
|
434
472
|
interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
|
|
435
473
|
/**
|
|
436
474
|
* Set the button type
|
|
@@ -516,7 +554,7 @@ interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
516
554
|
/**
|
|
517
555
|
* Set new variant of the input
|
|
518
556
|
*/
|
|
519
|
-
inputVariant?: "default" | "large" | "dynamic" | "uploadinput";
|
|
557
|
+
inputVariant?: "default" | "large" | "dynamic" | "uploadinput" | "small" | "noborder";
|
|
520
558
|
/**
|
|
521
559
|
* Set Input name
|
|
522
560
|
*/
|
|
@@ -588,6 +626,9 @@ interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
588
626
|
suffixed?: string;
|
|
589
627
|
labelLeftAction?: () => void;
|
|
590
628
|
labelLeftText?: string;
|
|
629
|
+
ref?: any;
|
|
630
|
+
inputFocus?: any;
|
|
631
|
+
refProps?: any;
|
|
591
632
|
}
|
|
592
633
|
interface ICheckboxProps {
|
|
593
634
|
onChange?: (checked: boolean) => void;
|
|
@@ -1028,6 +1069,12 @@ declare const FilterButtonGroup: React__default.FC<ButtonGroupProps>;
|
|
|
1028
1069
|
|
|
1029
1070
|
declare const SelectUserWithButton: React__default.FC<UserDropdownProps>;
|
|
1030
1071
|
|
|
1072
|
+
declare const Timeline: React__default.FC<TimelineProps>;
|
|
1073
|
+
|
|
1074
|
+
declare const NoteEditor: React__default.FC<NoteComponentProps>;
|
|
1075
|
+
|
|
1076
|
+
declare const VersionDateDropdown: React__default.FC<VersionDropDownProps>;
|
|
1077
|
+
|
|
1031
1078
|
interface UseSchemaProcessorProps {
|
|
1032
1079
|
schema: ISchema[];
|
|
1033
1080
|
externalSetComponents: (data: IComponent[]) => void;
|
|
@@ -1332,4 +1379,4 @@ declare const themeConfigs: {
|
|
|
1332
1379
|
plugins: any[];
|
|
1333
1380
|
};
|
|
1334
1381
|
|
|
1335
|
-
export { Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, type InputType, InputValidation, InputsGroup, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, type OptionProps, PanelCard, PhoneNumberInput, ProgressBar, RadioButton, Row, SearchDropdownWithButton, Select, SelectUserWithButton, Stepper, Tab, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, themeConfigs, usePagination, useSorting };
|
|
1382
|
+
export { Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, type InputType, InputValidation, InputsGroup, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, NoteEditor, type NoteItemProps, type OptionProps, PanelCard, PhoneNumberInput, ProgressBar, RadioButton, Row, SearchDropdownWithButton, Select, SelectUserWithButton, Stepper, Tab, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, type TimelineEventProps, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
|
package/package.json
CHANGED
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dfh-ui-library",
|
|
3
|
-
"version": "1.9.
|
|
4
|
-
"description": "",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
|
|
7
|
-
"storybook": "storybook dev -p 6006",
|
|
8
|
-
"build-storybook": "storybook build",
|
|
9
|
-
"test": "jest"
|
|
10
|
-
},
|
|
11
|
-
"author": "DFH dev",
|
|
12
|
-
"license": "ISC",
|
|
13
|
-
"dependencies": {
|
|
14
|
-
"@babel/preset-env": "^7.23.3",
|
|
15
|
-
"@babel/preset-react": "^7.23.3",
|
|
16
|
-
"@babel/preset-typescript": "^7.23.3",
|
|
17
|
-
"@faker-js/faker": "^8.3.1",
|
|
18
|
-
"@fontsource/inter": "^5.0.16",
|
|
19
|
-
"@rollup/plugin-sucrase": "^5.0.2",
|
|
20
|
-
"@rollup/plugin-terser": "^0.4.4",
|
|
21
|
-
"@tailwindcss/forms": "^0.5.7",
|
|
22
|
-
"@tanstack/react-table": "^8.11.3",
|
|
23
|
-
"@types/react": "^18.2.37",
|
|
24
|
-
"autoprefixer": "^10.4.16",
|
|
25
|
-
"classnames": "^2.3.2",
|
|
26
|
-
"formik": "^2.4.5",
|
|
27
|
-
"lodash": "^4.17.21",
|
|
28
|
-
"moment": "^2.29.4",
|
|
29
|
-
"react": "^18.2.0",
|
|
30
|
-
"react-datepicker": "^4.24.0",
|
|
31
|
-
"react-dom": "^18.2.0",
|
|
32
|
-
"react-input-mask": "^3.0.0-alpha.2",
|
|
33
|
-
"react-phone-number-input": "^3.3.7",
|
|
34
|
-
"react-select": "^5.8.0",
|
|
35
|
-
"react-tooltip": "^5.
|
|
36
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
37
|
-
"rollup-plugin-scss": "^4.0.0",
|
|
38
|
-
"tailwindcss": "^3.3.5",
|
|
39
|
-
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
40
|
-
"tslib": "^2.6.2",
|
|
41
|
-
"typescript": "^5.2.2"
|
|
42
|
-
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@rollup/plugin-commonjs": "^25.0.7",
|
|
45
|
-
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
46
|
-
"@rollup/plugin-typescript": "^11.1.5",
|
|
47
|
-
"@storybook/addon-actions": "^7.6.3",
|
|
48
|
-
"@storybook/addon-docs": "^7.5.3",
|
|
49
|
-
"@storybook/addon-essentials": "^7.5.3",
|
|
50
|
-
"@storybook/addon-interactions": "^7.5.3",
|
|
51
|
-
"@storybook/addon-links": "^7.5.3",
|
|
52
|
-
"@storybook/addon-onboarding": "^1.0.8",
|
|
53
|
-
"@storybook/addon-postcss": "^2.0.0",
|
|
54
|
-
"@storybook/blocks": "^7.5.3",
|
|
55
|
-
"@storybook/cli": "^7.5.3",
|
|
56
|
-
"@storybook/react": "^7.5.3",
|
|
57
|
-
"@storybook/react-webpack5": "^7.5.3",
|
|
58
|
-
"@storybook/testing-library": "^0.2.2",
|
|
59
|
-
"@storybook/theming": "^7.5.3",
|
|
60
|
-
"@testing-library/jest-dom": "^6.1.4",
|
|
61
|
-
"@testing-library/react": "^14.1.2",
|
|
62
|
-
"@testing-library/user-event": "^14.5.1",
|
|
63
|
-
"@types/jest": "^29.5.9",
|
|
64
|
-
"@types/react-datepicker": "^4.19.4",
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
|
66
|
-
"@typescript-eslint/parser": "^6.12.0",
|
|
67
|
-
"autoprefixer": "^10.4.16",
|
|
68
|
-
"cssnano": "^6.0.1",
|
|
69
|
-
"eslint": "^8.54.0",
|
|
70
|
-
"eslint-plugin-react": "^7.33.2",
|
|
71
|
-
"jest": "^29.7.0",
|
|
72
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
73
|
-
"postcss": "^8.4.31",
|
|
74
|
-
"postcss-cssnext": "^3.1.1",
|
|
75
|
-
"postcss-import": "^15.1.0",
|
|
76
|
-
"postcss-loader": "^7.3.3",
|
|
77
|
-
"rollup": "^4.5.0",
|
|
78
|
-
"rollup-plugin-css-only": "^4.5.2",
|
|
79
|
-
"rollup-plugin-dts": "^6.1.0",
|
|
80
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
81
|
-
"storybook": "^7.5.3",
|
|
82
|
-
"sugarss": "^4.0.1",
|
|
83
|
-
"vite": "^5.0.0"
|
|
84
|
-
},
|
|
85
|
-
"peerDependencies": {
|
|
86
|
-
"@tailwindcss/forms": "^0.5.7",
|
|
87
|
-
"autoprefixer": "^10.4.16",
|
|
88
|
-
"classnames": "^2.3.2",
|
|
89
|
-
"cssnano": "^6.0.1",
|
|
90
|
-
"lodash": "^4.17.21",
|
|
91
|
-
"moment": "^2.29.4",
|
|
92
|
-
"postcss": "^8.4.31",
|
|
93
|
-
"postcss-cssnext": "^3.1.1",
|
|
94
|
-
"postcss-import": "^15.1.0",
|
|
95
|
-
"postcss-loader": "^7.3.3",
|
|
96
|
-
"react": "^18.2.0",
|
|
97
|
-
"react-dom": "^18.2.0",
|
|
98
|
-
"tailwindcss": "^3.3.5"
|
|
99
|
-
},
|
|
100
|
-
"main": "dist/cjs/index.js",
|
|
101
|
-
"module": "dist/esm/index.js",
|
|
102
|
-
"files": [
|
|
103
|
-
"dist"
|
|
104
|
-
],
|
|
105
|
-
"types": "dist/index.d.ts"
|
|
106
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "dfh-ui-library",
|
|
3
|
+
"version": "1.9.49",
|
|
4
|
+
"description": "",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
|
|
7
|
+
"storybook": "storybook dev -p 6006",
|
|
8
|
+
"build-storybook": "storybook build",
|
|
9
|
+
"test": "jest"
|
|
10
|
+
},
|
|
11
|
+
"author": "DFH dev",
|
|
12
|
+
"license": "ISC",
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"@babel/preset-env": "^7.23.3",
|
|
15
|
+
"@babel/preset-react": "^7.23.3",
|
|
16
|
+
"@babel/preset-typescript": "^7.23.3",
|
|
17
|
+
"@faker-js/faker": "^8.3.1",
|
|
18
|
+
"@fontsource/inter": "^5.0.16",
|
|
19
|
+
"@rollup/plugin-sucrase": "^5.0.2",
|
|
20
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
21
|
+
"@tailwindcss/forms": "^0.5.7",
|
|
22
|
+
"@tanstack/react-table": "^8.11.3",
|
|
23
|
+
"@types/react": "^18.2.37",
|
|
24
|
+
"autoprefixer": "^10.4.16",
|
|
25
|
+
"classnames": "^2.3.2",
|
|
26
|
+
"formik": "^2.4.5",
|
|
27
|
+
"lodash": "^4.17.21",
|
|
28
|
+
"moment": "^2.29.4",
|
|
29
|
+
"react": "^18.2.0",
|
|
30
|
+
"react-datepicker": "^4.24.0",
|
|
31
|
+
"react-dom": "^18.2.0",
|
|
32
|
+
"react-input-mask": "^3.0.0-alpha.2",
|
|
33
|
+
"react-phone-number-input": "^3.3.7",
|
|
34
|
+
"react-select": "^5.8.0",
|
|
35
|
+
"react-tooltip": "^5.26.3",
|
|
36
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
37
|
+
"rollup-plugin-scss": "^4.0.0",
|
|
38
|
+
"tailwindcss": "^3.3.5",
|
|
39
|
+
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
40
|
+
"tslib": "^2.6.2",
|
|
41
|
+
"typescript": "^5.2.2"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@rollup/plugin-commonjs": "^25.0.7",
|
|
45
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
46
|
+
"@rollup/plugin-typescript": "^11.1.5",
|
|
47
|
+
"@storybook/addon-actions": "^7.6.3",
|
|
48
|
+
"@storybook/addon-docs": "^7.5.3",
|
|
49
|
+
"@storybook/addon-essentials": "^7.5.3",
|
|
50
|
+
"@storybook/addon-interactions": "^7.5.3",
|
|
51
|
+
"@storybook/addon-links": "^7.5.3",
|
|
52
|
+
"@storybook/addon-onboarding": "^1.0.8",
|
|
53
|
+
"@storybook/addon-postcss": "^2.0.0",
|
|
54
|
+
"@storybook/blocks": "^7.5.3",
|
|
55
|
+
"@storybook/cli": "^7.5.3",
|
|
56
|
+
"@storybook/react": "^7.5.3",
|
|
57
|
+
"@storybook/react-webpack5": "^7.5.3",
|
|
58
|
+
"@storybook/testing-library": "^0.2.2",
|
|
59
|
+
"@storybook/theming": "^7.5.3",
|
|
60
|
+
"@testing-library/jest-dom": "^6.1.4",
|
|
61
|
+
"@testing-library/react": "^14.1.2",
|
|
62
|
+
"@testing-library/user-event": "^14.5.1",
|
|
63
|
+
"@types/jest": "^29.5.9",
|
|
64
|
+
"@types/react-datepicker": "^4.19.4",
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
|
66
|
+
"@typescript-eslint/parser": "^6.12.0",
|
|
67
|
+
"autoprefixer": "^10.4.16",
|
|
68
|
+
"cssnano": "^6.0.1",
|
|
69
|
+
"eslint": "^8.54.0",
|
|
70
|
+
"eslint-plugin-react": "^7.33.2",
|
|
71
|
+
"jest": "^29.7.0",
|
|
72
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
73
|
+
"postcss": "^8.4.31",
|
|
74
|
+
"postcss-cssnext": "^3.1.1",
|
|
75
|
+
"postcss-import": "^15.1.0",
|
|
76
|
+
"postcss-loader": "^7.3.3",
|
|
77
|
+
"rollup": "^4.5.0",
|
|
78
|
+
"rollup-plugin-css-only": "^4.5.2",
|
|
79
|
+
"rollup-plugin-dts": "^6.1.0",
|
|
80
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
81
|
+
"storybook": "^7.5.3",
|
|
82
|
+
"sugarss": "^4.0.1",
|
|
83
|
+
"vite": "^5.0.0"
|
|
84
|
+
},
|
|
85
|
+
"peerDependencies": {
|
|
86
|
+
"@tailwindcss/forms": "^0.5.7",
|
|
87
|
+
"autoprefixer": "^10.4.16",
|
|
88
|
+
"classnames": "^2.3.2",
|
|
89
|
+
"cssnano": "^6.0.1",
|
|
90
|
+
"lodash": "^4.17.21",
|
|
91
|
+
"moment": "^2.29.4",
|
|
92
|
+
"postcss": "^8.4.31",
|
|
93
|
+
"postcss-cssnext": "^3.1.1",
|
|
94
|
+
"postcss-import": "^15.1.0",
|
|
95
|
+
"postcss-loader": "^7.3.3",
|
|
96
|
+
"react": "^18.2.0",
|
|
97
|
+
"react-dom": "^18.2.0",
|
|
98
|
+
"tailwindcss": "^3.3.5"
|
|
99
|
+
},
|
|
100
|
+
"main": "dist/cjs/index.js",
|
|
101
|
+
"module": "dist/esm/index.js",
|
|
102
|
+
"files": [
|
|
103
|
+
"dist"
|
|
104
|
+
],
|
|
105
|
+
"types": "dist/index.d.ts"
|
|
106
|
+
}
|