dfh-ui-library 1.9.21 → 1.9.26
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.stories.d.ts +2 -0
- package/dist/cjs/types/components/FormElements/IconInput/IconInput.handler.d.ts +1 -1
- package/dist/cjs/types/components/Media/Icons/Icons.d.ts +3 -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/index.d.ts +1 -0
- package/dist/cjs/types/shared/models/components/base.model.d.ts +1 -1
- package/dist/cjs/types/shared/models/components/common.model.d.ts +19 -0
- 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.stories.d.ts +2 -0
- package/dist/esm/types/components/FormElements/IconInput/IconInput.handler.d.ts +1 -1
- package/dist/esm/types/components/Media/Icons/Icons.d.ts +3 -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/index.d.ts +1 -0
- package/dist/esm/types/shared/models/components/base.model.d.ts +1 -1
- package/dist/esm/types/shared/models/components/common.model.d.ts +19 -0
- package/dist/index.d.ts +23 -2
- package/package.json +106 -106
package/dist/index.d.ts
CHANGED
|
@@ -429,6 +429,25 @@ interface ICardInfoProps {
|
|
|
429
429
|
additionalClasses?: string;
|
|
430
430
|
HeaderText?: string;
|
|
431
431
|
}
|
|
432
|
+
interface TimelineProps {
|
|
433
|
+
timelines: TimelineEventProps[];
|
|
434
|
+
}
|
|
435
|
+
interface TimelineEventProps {
|
|
436
|
+
dateTime?: string;
|
|
437
|
+
name?: string;
|
|
438
|
+
chalenges?: any;
|
|
439
|
+
notes?: NoteProps[];
|
|
440
|
+
lastModified?: string;
|
|
441
|
+
}
|
|
442
|
+
interface NoteProps {
|
|
443
|
+
headerNote?: string;
|
|
444
|
+
footerNote?: string;
|
|
445
|
+
noteOptions?: NoteOptionsProps[];
|
|
446
|
+
}
|
|
447
|
+
interface NoteOptionsProps {
|
|
448
|
+
text?: string;
|
|
449
|
+
checked?: boolean;
|
|
450
|
+
}
|
|
432
451
|
|
|
433
452
|
type VariantTypes = "large" | "small" | "extraSmall" | "largeOutlined" | "smallOutlined" | "extraSmallOutlined" | "default" | "defaultOutlined" | "primaryBlue" | "primaryWhite" | "primaryWhiteSelected" | "primaryWhiteNoBoader" | "primaryWhiteIcon" | "primaryRed" | "primaryFilterSelected" | "primaryBlueFilter" | undefined;
|
|
434
453
|
interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
|
|
@@ -516,7 +535,7 @@ interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
516
535
|
/**
|
|
517
536
|
* Set new variant of the input
|
|
518
537
|
*/
|
|
519
|
-
inputVariant?: "default" | "large" | "dynamic" | "uploadinput";
|
|
538
|
+
inputVariant?: "default" | "large" | "dynamic" | "uploadinput" | "small";
|
|
520
539
|
/**
|
|
521
540
|
* Set Input name
|
|
522
541
|
*/
|
|
@@ -1028,6 +1047,8 @@ declare const FilterButtonGroup: React__default.FC<ButtonGroupProps>;
|
|
|
1028
1047
|
|
|
1029
1048
|
declare const SelectUserWithButton: React__default.FC<UserDropdownProps>;
|
|
1030
1049
|
|
|
1050
|
+
declare const Timeline: React__default.FC<TimelineProps>;
|
|
1051
|
+
|
|
1031
1052
|
interface UseSchemaProcessorProps {
|
|
1032
1053
|
schema: ISchema[];
|
|
1033
1054
|
externalSetComponents: (data: IComponent[]) => void;
|
|
@@ -1332,4 +1353,4 @@ declare const themeConfigs: {
|
|
|
1332
1353
|
plugins: any[];
|
|
1333
1354
|
};
|
|
1334
1355
|
|
|
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 };
|
|
1356
|
+
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, Timeline as imeline, 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.24.0",
|
|
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.26",
|
|
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.24.0",
|
|
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
|
+
}
|