dfh-ui-library 1.4.8 → 1.4.10
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 +29 -33
- package/dist/cjs/index.css +1 -1
- package/dist/cjs/index.css.map +1 -1
- package/dist/cjs/index.js +23 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.css.map +1 -1
- package/dist/esm/index.js +23 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +106 -106
- package/dist/cjs/types/shared/configs/themeConfig.d.ts +0 -268
- package/dist/esm/types/shared/configs/themeConfig.d.ts +0 -268
package/package.json
CHANGED
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dfh-ui-library",
|
|
3
|
-
"version": "1.4.
|
|
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.4.10",
|
|
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,268 +0,0 @@
|
|
|
1
|
-
export declare const themeConfigs: {
|
|
2
|
-
purge: string[];
|
|
3
|
-
important: boolean;
|
|
4
|
-
theme: {
|
|
5
|
-
fontFamily: {
|
|
6
|
-
sans: string[];
|
|
7
|
-
};
|
|
8
|
-
fontWeight: {
|
|
9
|
-
thin: number;
|
|
10
|
-
extralight: number;
|
|
11
|
-
light: number;
|
|
12
|
-
normal: number;
|
|
13
|
-
medium: number;
|
|
14
|
-
semibold: number;
|
|
15
|
-
bold: number;
|
|
16
|
-
extrabold: number;
|
|
17
|
-
black: number;
|
|
18
|
-
};
|
|
19
|
-
extend: {
|
|
20
|
-
screens: {
|
|
21
|
-
sm: {
|
|
22
|
-
max: string;
|
|
23
|
-
};
|
|
24
|
-
md: {
|
|
25
|
-
min: string;
|
|
26
|
-
max: string;
|
|
27
|
-
};
|
|
28
|
-
lg: {
|
|
29
|
-
min: string;
|
|
30
|
-
max: string;
|
|
31
|
-
};
|
|
32
|
-
xl: {
|
|
33
|
-
min: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
borderColor: {
|
|
37
|
-
tcustomerror: string;
|
|
38
|
-
};
|
|
39
|
-
colors: {
|
|
40
|
-
transparent: string;
|
|
41
|
-
current: string;
|
|
42
|
-
"sky-light-blue": string;
|
|
43
|
-
btn: {
|
|
44
|
-
black: string;
|
|
45
|
-
disable: string;
|
|
46
|
-
main: string;
|
|
47
|
-
lightBlue: string;
|
|
48
|
-
pinkRead: string;
|
|
49
|
-
};
|
|
50
|
-
primary: {
|
|
51
|
-
500: string;
|
|
52
|
-
400: string;
|
|
53
|
-
300: string;
|
|
54
|
-
200: string;
|
|
55
|
-
100: string;
|
|
56
|
-
75: string;
|
|
57
|
-
50: string;
|
|
58
|
-
};
|
|
59
|
-
secondary: {
|
|
60
|
-
500: string;
|
|
61
|
-
400: string;
|
|
62
|
-
300: string;
|
|
63
|
-
200: string;
|
|
64
|
-
100: string;
|
|
65
|
-
75: string;
|
|
66
|
-
50: string;
|
|
67
|
-
};
|
|
68
|
-
grey: {
|
|
69
|
-
410: string;
|
|
70
|
-
540: string;
|
|
71
|
-
510: string;
|
|
72
|
-
900: string;
|
|
73
|
-
800: string;
|
|
74
|
-
700: string;
|
|
75
|
-
600: string;
|
|
76
|
-
500: string;
|
|
77
|
-
400: string;
|
|
78
|
-
300: string;
|
|
79
|
-
200: string;
|
|
80
|
-
100: string;
|
|
81
|
-
50: string;
|
|
82
|
-
};
|
|
83
|
-
green: {
|
|
84
|
-
500: string;
|
|
85
|
-
400: string;
|
|
86
|
-
300: string;
|
|
87
|
-
200: string;
|
|
88
|
-
100: string;
|
|
89
|
-
75: string;
|
|
90
|
-
50: string;
|
|
91
|
-
};
|
|
92
|
-
red: {
|
|
93
|
-
500: string;
|
|
94
|
-
400: string;
|
|
95
|
-
300: string;
|
|
96
|
-
200: string;
|
|
97
|
-
100: string;
|
|
98
|
-
75: string;
|
|
99
|
-
50: string;
|
|
100
|
-
};
|
|
101
|
-
yellow: {
|
|
102
|
-
500: string;
|
|
103
|
-
400: string;
|
|
104
|
-
300: string;
|
|
105
|
-
200: string;
|
|
106
|
-
100: string;
|
|
107
|
-
75: string;
|
|
108
|
-
50: string;
|
|
109
|
-
};
|
|
110
|
-
orange: {
|
|
111
|
-
500: string;
|
|
112
|
-
400: string;
|
|
113
|
-
300: string;
|
|
114
|
-
200: string;
|
|
115
|
-
100: string;
|
|
116
|
-
75: string;
|
|
117
|
-
50: string;
|
|
118
|
-
};
|
|
119
|
-
black: {
|
|
120
|
-
450: string;
|
|
121
|
-
540: string;
|
|
122
|
-
270: string;
|
|
123
|
-
550: string;
|
|
124
|
-
555: string;
|
|
125
|
-
600: string;
|
|
126
|
-
650: string;
|
|
127
|
-
700: string;
|
|
128
|
-
750: string;
|
|
129
|
-
755: string;
|
|
130
|
-
760: string;
|
|
131
|
-
770: string;
|
|
132
|
-
800: string;
|
|
133
|
-
850: string;
|
|
134
|
-
870: string;
|
|
135
|
-
900: string;
|
|
136
|
-
925: string;
|
|
137
|
-
950: string;
|
|
138
|
-
960: string;
|
|
139
|
-
};
|
|
140
|
-
gray: {
|
|
141
|
-
95: string;
|
|
142
|
-
100: string;
|
|
143
|
-
110: string;
|
|
144
|
-
115: string;
|
|
145
|
-
120: string;
|
|
146
|
-
125: string;
|
|
147
|
-
140: string;
|
|
148
|
-
150: string;
|
|
149
|
-
152: string;
|
|
150
|
-
155: string;
|
|
151
|
-
160: string;
|
|
152
|
-
165: string;
|
|
153
|
-
180: string;
|
|
154
|
-
190: string;
|
|
155
|
-
200: string;
|
|
156
|
-
220: string;
|
|
157
|
-
300: string;
|
|
158
|
-
320: string;
|
|
159
|
-
325: string;
|
|
160
|
-
330: string;
|
|
161
|
-
350: string;
|
|
162
|
-
355: string;
|
|
163
|
-
360: string;
|
|
164
|
-
365: string;
|
|
165
|
-
390: string;
|
|
166
|
-
400: string;
|
|
167
|
-
410: string;
|
|
168
|
-
420: string;
|
|
169
|
-
450: string;
|
|
170
|
-
500: string;
|
|
171
|
-
600: string;
|
|
172
|
-
700: string;
|
|
173
|
-
720: string;
|
|
174
|
-
725: string;
|
|
175
|
-
800: string;
|
|
176
|
-
820: string;
|
|
177
|
-
900: string;
|
|
178
|
-
905: string;
|
|
179
|
-
};
|
|
180
|
-
blue: string;
|
|
181
|
-
primaryBlue: string;
|
|
182
|
-
lightBlue: string;
|
|
183
|
-
lightBlue100: string;
|
|
184
|
-
lightBlue200: string;
|
|
185
|
-
errorRed: string;
|
|
186
|
-
lightRed: string;
|
|
187
|
-
lightGreen: string;
|
|
188
|
-
};
|
|
189
|
-
placeholderColor: {
|
|
190
|
-
gray: string;
|
|
191
|
-
gray350: string;
|
|
192
|
-
gray600: string;
|
|
193
|
-
};
|
|
194
|
-
fontSize: {
|
|
195
|
-
"8s": string[];
|
|
196
|
-
"9s": string[];
|
|
197
|
-
"10s": string[];
|
|
198
|
-
"11s": string[];
|
|
199
|
-
"12s": string[];
|
|
200
|
-
"13s": string[];
|
|
201
|
-
"14s": string[];
|
|
202
|
-
"21s": string[];
|
|
203
|
-
"16s": string[];
|
|
204
|
-
"25s": string[];
|
|
205
|
-
"17s": string[];
|
|
206
|
-
"18s": string[];
|
|
207
|
-
"19s": string[];
|
|
208
|
-
"20s": string[];
|
|
209
|
-
"24s": string[];
|
|
210
|
-
"26s": string[];
|
|
211
|
-
"28s": string[];
|
|
212
|
-
"32s": string[];
|
|
213
|
-
"42s": string[];
|
|
214
|
-
"40s": string[];
|
|
215
|
-
"48s": string[];
|
|
216
|
-
"54s": string[];
|
|
217
|
-
};
|
|
218
|
-
height: {
|
|
219
|
-
sm: string;
|
|
220
|
-
md: string;
|
|
221
|
-
lg: string;
|
|
222
|
-
xl: string;
|
|
223
|
-
25: string;
|
|
224
|
-
36: string;
|
|
225
|
-
38: string;
|
|
226
|
-
40: string;
|
|
227
|
-
"60px": string;
|
|
228
|
-
92: string;
|
|
229
|
-
78: string;
|
|
230
|
-
48: string;
|
|
231
|
-
160: string;
|
|
232
|
-
};
|
|
233
|
-
width: {
|
|
234
|
-
40: string;
|
|
235
|
-
112: string;
|
|
236
|
-
28: string;
|
|
237
|
-
};
|
|
238
|
-
margin: {
|
|
239
|
-
auto: string;
|
|
240
|
-
};
|
|
241
|
-
gap: {
|
|
242
|
-
4: string;
|
|
243
|
-
};
|
|
244
|
-
boxShadow: {
|
|
245
|
-
dropDown: string;
|
|
246
|
-
showMoreDropDown: string;
|
|
247
|
-
messages: string;
|
|
248
|
-
/** Old Shadow */
|
|
249
|
-
input: string;
|
|
250
|
-
swithOption: string;
|
|
251
|
-
analyticsCard: string;
|
|
252
|
-
paynowModal: string;
|
|
253
|
-
importInvoicesModal: string;
|
|
254
|
-
};
|
|
255
|
-
gridTemplateColumns: {
|
|
256
|
-
half: string;
|
|
257
|
-
};
|
|
258
|
-
opacity: {
|
|
259
|
-
12: string;
|
|
260
|
-
};
|
|
261
|
-
};
|
|
262
|
-
};
|
|
263
|
-
variants: {
|
|
264
|
-
screens: string[];
|
|
265
|
-
textColor: string[];
|
|
266
|
-
};
|
|
267
|
-
plugins: any[];
|
|
268
|
-
};
|