@vendorflow/components 3.0.14 → 4.0.0
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 +55 -1
- package/lib/components/AudioPlayer/index.d.ts +1 -0
- package/lib/components/{material-ui/Button → Button}/Button.d.ts +1 -0
- package/lib/components/Button/index.d.ts +1 -0
- package/lib/components/{material-ui/ButtonMenu → ButtonMenu}/ButtonMenu.d.ts +1 -1
- package/lib/components/ButtonMenu/index.d.ts +1 -0
- package/lib/components/{material-ui/ColorPicker → ColorPicker}/ColorPicker.d.ts +1 -1
- package/lib/components/ColorPicker/index.d.ts +1 -0
- package/lib/components/ColorPicker/styles.d.ts +1 -0
- package/lib/components/{material-ui/DataTable → DataTable}/Data.d.ts +1 -1
- package/lib/components/{material-ui/DataTable → DataTable}/DataTable.d.ts +15 -15
- package/lib/components/{material-ui/DataTable → DataTable}/FilterTool/Filters/MultiSelectFilter.d.ts +2 -2
- package/lib/components/{material-ui/DataTable → DataTable}/FilterTool/Filters/RangeFilter.d.ts +2 -2
- package/lib/components/{material-ui/DataTable → DataTable}/FilterTool/Filters/SingleSelectFilter.d.ts +2 -2
- package/lib/components/{material-ui/DataTable → DataTable}/FilterTool/Filters/TextFilter.d.ts +2 -2
- package/lib/components/{material-ui/DataTable → DataTable}/FilterTool/index.d.ts +2 -2
- package/lib/components/{material-ui/DataTable → DataTable}/TablePieces/AppliedFilters.d.ts +1 -1
- package/lib/components/{material-ui/DataTable → DataTable}/TablePieces/BodyRow.d.ts +1 -1
- package/lib/components/{material-ui/DataTable → DataTable}/TablePieces/HeaderCell.d.ts +1 -1
- package/lib/components/{material-ui/DataTable → DataTable}/TablePieces/IndeterminateCheckbox.d.ts +0 -1
- package/lib/components/{material-ui/DataTable → DataTable}/TablePieces/Toolbar.d.ts +3 -3
- package/lib/components/{material-ui/DataTable → DataTable}/TablePieces/ViewColumnTool.d.ts +1 -1
- package/lib/components/DataTable/index.d.ts +1 -0
- package/lib/components/{material-ui/InputCheckboxGroup → InputCheckboxGroup}/InputCheckboxGroup.d.ts +2 -2
- package/lib/components/InputCheckboxGroup/index.d.ts +1 -0
- package/lib/components/InputDate/InputDate.d.ts +10 -0
- package/lib/components/InputDate/index.d.ts +1 -0
- package/lib/components/InputDateTime/InputDateTime.d.ts +11 -0
- package/lib/components/InputDateTime/index.d.ts +1 -0
- package/lib/components/InputGroup/index.d.ts +1 -0
- package/lib/components/{material-ui/InputRadioGroup → InputRadioGroup}/InputRadioGroup.d.ts +1 -1
- package/lib/components/InputRadioGroup/index.d.ts +1 -0
- package/lib/components/{material-ui/InputSearchDropdown → InputSearchDropdown}/InputSearchDropdown.d.ts +2 -1
- package/lib/components/InputSearchDropdown/index.d.ts +1 -0
- package/lib/components/{material-ui/InputTime → InputTime}/InputTime.d.ts +3 -3
- package/lib/components/InputTime/index.d.ts +1 -0
- package/lib/components/{material-ui/Modal → Modal}/Modal.d.ts +1 -1
- package/lib/components/Modal/index.d.ts +1 -0
- package/lib/components/index.d.ts +13 -13
- package/lib/index.css +1 -0
- package/lib/index.es.js +36847 -0
- package/lib/index.es.js.map +1 -0
- package/lib/index.umd.js +640 -0
- package/lib/index.umd.js.map +1 -0
- package/package.json +51 -83
- package/lib/components/material-ui/AudioPlayer/AudioPlayer.story.d.ts +0 -2
- package/lib/components/material-ui/AudioPlayer/index.d.ts +0 -1
- package/lib/components/material-ui/Button/Button.story.d.ts +0 -2
- package/lib/components/material-ui/Button/index.d.ts +0 -1
- package/lib/components/material-ui/ButtonMenu/ButtonMenu.story.d.ts +0 -5
- package/lib/components/material-ui/ButtonMenu/index.d.ts +0 -1
- package/lib/components/material-ui/ColorPicker/ColorPicker.story.d.ts +0 -2
- package/lib/components/material-ui/ColorPicker/index.d.ts +0 -1
- package/lib/components/material-ui/ColorPicker/styles.d.ts +0 -1
- package/lib/components/material-ui/DataTable/DataTable.story.d.ts +0 -2
- package/lib/components/material-ui/DataTable/index.d.ts +0 -1
- package/lib/components/material-ui/InputCheckboxGroup/InputCheckboxGroup.story.d.ts +0 -2
- package/lib/components/material-ui/InputCheckboxGroup/index.d.ts +0 -1
- package/lib/components/material-ui/InputDate/InputDate.d.ts +0 -11
- package/lib/components/material-ui/InputDate/InputDate.story.d.ts +0 -2
- package/lib/components/material-ui/InputDate/index.d.ts +0 -1
- package/lib/components/material-ui/InputDateTime/InputDateTime.d.ts +0 -11
- package/lib/components/material-ui/InputDateTime/InputDateTime.story.d.ts +0 -2
- package/lib/components/material-ui/InputDateTime/index.d.ts +0 -1
- package/lib/components/material-ui/InputGroup/InputGroup.story.d.ts +0 -2
- package/lib/components/material-ui/InputGroup/index.d.ts +0 -1
- package/lib/components/material-ui/InputRadioGroup/InputRadioGroup.story.d.ts +0 -2
- package/lib/components/material-ui/InputRadioGroup/index.d.ts +0 -1
- package/lib/components/material-ui/InputSearchDropdown/InputSearchDropdown.story.d.ts +0 -4
- package/lib/components/material-ui/InputSearchDropdown/index.d.ts +0 -1
- package/lib/components/material-ui/InputTime/InputTime.story.d.ts +0 -2
- package/lib/components/material-ui/InputTime/index.d.ts +0 -1
- package/lib/components/material-ui/Modal/Modal.story.d.ts +0 -2
- package/lib/components/material-ui/Modal/index.d.ts +0 -1
- package/lib/index.js +0 -3
- package/lib/index.js.LICENSE.txt +0 -29
- package/lib/index.js.map +0 -1
- /package/lib/components/{material-ui/AudioPlayer → AudioPlayer}/AudioPlayer.d.ts +0 -0
- /package/lib/components/{material-ui/DataTable → DataTable}/TablePieces/BodyCell.d.ts +0 -0
- /package/lib/components/{material-ui/DataTable → DataTable}/TablePieces/GlobalSearchFilter.d.ts +0 -0
- /package/lib/components/{material-ui/DataTable → DataTable}/TablePieces/SortIndicator.d.ts +0 -0
- /package/lib/components/{material-ui/DataTable → DataTable}/TablePieces/Table.d.ts +0 -0
- /package/lib/components/{material-ui/DataTable → DataTable}/TablePieces/TableBodyContent.d.ts +0 -0
- /package/lib/components/{material-ui/InputGroup → InputGroup}/InputGroup.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vendorflow/components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "React components for vendorflow",
|
|
5
|
-
"
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.umd.js",
|
|
7
|
+
"module": "lib/index.es.js",
|
|
6
8
|
"types": "lib/index.d.ts",
|
|
7
9
|
"private": false,
|
|
8
10
|
"repository": "https://github.com/vendorflow/vendorflow-components",
|
|
@@ -11,11 +13,14 @@
|
|
|
11
13
|
"lib/**/*"
|
|
12
14
|
],
|
|
13
15
|
"scripts": {
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"build
|
|
17
|
-
"format": "prettier --write \"src/**/*.ts\"",
|
|
16
|
+
"dev": "vite",
|
|
17
|
+
"transpile": "tsc --project ./tsconfig.build.json",
|
|
18
|
+
"build": "vite --config vite.build.config.ts build && yarn transpile",
|
|
18
19
|
"lint": "eslint 'src/**/*.{js,ts,tsx}' --quiet --fix",
|
|
20
|
+
"format": "prettier --write \"src/**/*.ts\"",
|
|
21
|
+
"preview": "vite preview",
|
|
22
|
+
"storybook": "storybook dev -p 6006",
|
|
23
|
+
"build-storybook": "storybook build",
|
|
19
24
|
"prepare": "npm run build",
|
|
20
25
|
"prepublishOnly": "npm run lint",
|
|
21
26
|
"preversion": "npm run lint",
|
|
@@ -35,94 +40,56 @@
|
|
|
35
40
|
]
|
|
36
41
|
},
|
|
37
42
|
"dependencies": {
|
|
38
|
-
"@
|
|
39
|
-
"@svgr/webpack": "4.3.3",
|
|
40
|
-
"@types/faker": "^5.5.8",
|
|
41
|
-
"@types/node": "^12.0.0",
|
|
42
|
-
"@types/react": "^17.0.27",
|
|
43
|
-
"@types/react-dom": "^17.0.9",
|
|
44
|
-
"@types/react-table": "^7.7.6",
|
|
45
|
-
"@typescript-eslint/eslint-plugin": "^4.32.0",
|
|
46
|
-
"@typescript-eslint/parser": "^4.32.0",
|
|
43
|
+
"@mui/x-date-pickers": "^5.0.20",
|
|
47
44
|
"@vendorflow/common": "^1.0.50",
|
|
45
|
+
"@vendorflow/types": "^1.7.2",
|
|
48
46
|
"classnames": "^2.3.1",
|
|
49
|
-
"css-loader": "3.4.2",
|
|
50
47
|
"date-fns": "^2.12.0",
|
|
51
|
-
"eslint": "^7.32.0",
|
|
52
|
-
"eslint-config-react-app": "^6.0.0",
|
|
53
|
-
"eslint-loader": "3.0.3",
|
|
54
|
-
"eslint-plugin-flowtype": "4.6.0",
|
|
55
|
-
"eslint-plugin-import": "^2.24.2",
|
|
56
|
-
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
57
|
-
"eslint-plugin-react": "^7.26.1",
|
|
58
|
-
"eslint-plugin-react-hooks": "^4.2.0",
|
|
59
48
|
"faker": "^5.5.3",
|
|
60
|
-
"file-loader": "4.3.0",
|
|
61
|
-
"html-webpack-plugin": "4.0.0-beta.11",
|
|
62
49
|
"immer": "^9.0.6",
|
|
63
50
|
"lodash": "^4.17.21",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"nanoid": "3.1.31",
|
|
67
|
-
"optimize-css-assets-webpack-plugin": "5.0.3",
|
|
68
|
-
"pnp-webpack-plugin": "1.6.4",
|
|
69
|
-
"postcss-flexbugs-fixes": "4.1.0",
|
|
70
|
-
"postcss-loader": "3.0.0",
|
|
71
|
-
"postcss-normalize": "8.0.1",
|
|
72
|
-
"postcss-preset-env": "6.7.0",
|
|
73
|
-
"postcss-safe-parser": "4.0.1",
|
|
74
|
-
"react-app-polyfill": "^1.0.6",
|
|
75
|
-
"react-color-palette": "^6.1.0",
|
|
76
|
-
"react-dev-utils": "11.0.4",
|
|
51
|
+
"nanoid": "5.0.8",
|
|
52
|
+
"react-color-palette": "^6.2.0",
|
|
77
53
|
"react-h5-audio-player": "^3.8.1",
|
|
78
|
-
"react-measure": "^2.5.2",
|
|
79
|
-
"react-scripts": "^4.0.3",
|
|
80
54
|
"react-scrollbar-size": "^4.0.0",
|
|
81
55
|
"react-table": "^7.7.0",
|
|
82
|
-
"react-text-mask": "^5.4.3",
|
|
83
|
-
"react-textarea-autosize": "^8.3.3",
|
|
84
56
|
"react-virtualized": "^9.22.3",
|
|
85
|
-
"
|
|
86
|
-
"resolve-url-loader": "3.1.1",
|
|
87
|
-
"sass-loader": "8.0.2",
|
|
88
|
-
"semver": "6.3.0",
|
|
89
|
-
"short-uuid": "^4.2.0",
|
|
90
|
-
"style-loader": "0.23.1",
|
|
91
|
-
"terser-webpack-plugin": "2.3.5",
|
|
92
|
-
"ts-pnp": "1.1.6",
|
|
93
|
-
"typescript": "^4.5.5",
|
|
94
|
-
"url-loader": "2.3.0",
|
|
95
|
-
"webpack": "^5.68.0",
|
|
96
|
-
"webpack-dev-server": "3.10.3",
|
|
97
|
-
"webpack-manifest-plugin": "2.2.0",
|
|
98
|
-
"workbox-webpack-plugin": "4.3.1"
|
|
57
|
+
"regenerator-runtime": "^0.14.1"
|
|
99
58
|
},
|
|
100
59
|
"devDependencies": {
|
|
101
|
-
"@
|
|
102
|
-
"@
|
|
103
|
-
"@
|
|
104
|
-
"@
|
|
105
|
-
"@
|
|
106
|
-
"@
|
|
107
|
-
"@storybook/
|
|
108
|
-
"@storybook/
|
|
109
|
-
"@storybook/
|
|
110
|
-
"@
|
|
111
|
-
"@
|
|
112
|
-
"@
|
|
113
|
-
"@types/
|
|
114
|
-
"@types/react-
|
|
115
|
-
"@types/react-text-mask": "^5.4.6",
|
|
60
|
+
"@chromatic-com/storybook": "^3.2.2",
|
|
61
|
+
"@eslint/js": "^9.15.0",
|
|
62
|
+
"@storybook/addon-essentials": "^8.4.7",
|
|
63
|
+
"@storybook/addon-interactions": "^8.4.7",
|
|
64
|
+
"@storybook/addon-onboarding": "^8.4.7",
|
|
65
|
+
"@storybook/blocks": "^8.4.7",
|
|
66
|
+
"@storybook/react": "^8.4.7",
|
|
67
|
+
"@storybook/react-vite": "^8.4.7",
|
|
68
|
+
"@storybook/test": "^8.4.7",
|
|
69
|
+
"@types/faker": "^5.5.8",
|
|
70
|
+
"@types/lodash": "^4.17.14",
|
|
71
|
+
"@types/react": "^18.3.12",
|
|
72
|
+
"@types/react-dom": "^18.3.1",
|
|
73
|
+
"@types/react-table": "^7.7.6",
|
|
116
74
|
"@types/react-virtualized": "^9.21.21",
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"eslint
|
|
121
|
-
"eslint-
|
|
122
|
-
"prettier": "^2.
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
75
|
+
"@types/regenerator-runtime": "^0.13.8",
|
|
76
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
77
|
+
"esbuild-plugin-react-virtualized": "^1.0.4",
|
|
78
|
+
"eslint": "^9.15.0",
|
|
79
|
+
"eslint-config-prettier": "^9.1.0",
|
|
80
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
81
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
82
|
+
"eslint-plugin-react-refresh": "^0.4.14",
|
|
83
|
+
"eslint-plugin-storybook": "^0.11.1",
|
|
84
|
+
"globals": "^15.12.0",
|
|
85
|
+
"prettier": "^3.4.2",
|
|
86
|
+
"storybook": "^8.4.7",
|
|
87
|
+
"typescript": "~5.6.2",
|
|
88
|
+
"typescript-eslint": "^8.15.0",
|
|
89
|
+
"vite": "6.0.1",
|
|
90
|
+
"vite-plugin-dts": "^4.5.0",
|
|
91
|
+
"vite-plugin-lib-inject-css": "^2.2.1",
|
|
92
|
+
"vite-tsconfig-paths": "^5.1.4"
|
|
126
93
|
},
|
|
127
94
|
"peerDependencies": {
|
|
128
95
|
"@emotion/react": "^11.4.0",
|
|
@@ -130,8 +97,9 @@
|
|
|
130
97
|
"@mui/icons-material": "^5.2.1",
|
|
131
98
|
"@mui/lab": "^5.0.0-alpha.50",
|
|
132
99
|
"@mui/material": "^5.0.3",
|
|
100
|
+
"@mui/styled-engine": "^5.16.14",
|
|
133
101
|
"@mui/styles": "^5.0.1",
|
|
134
|
-
"react": "^
|
|
135
|
-
"react-dom": "^
|
|
102
|
+
"react": "^18.3.1",
|
|
103
|
+
"react-dom": "^18.3.1"
|
|
136
104
|
}
|
|
137
105
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './AudioPlayer';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Button';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './ButtonMenu';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './ColorPicker';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const colorPaletteStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DataTable, getColumnFilterConfig, SingleLineCell, usePluginConfig, useDefaultTableInstance } from './DataTable';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './InputCheckboxGroup';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DatePickerProps } from '@mui/lab';
|
|
3
|
-
import { SimpleEventHandler } from '../../../types';
|
|
4
|
-
import { TextFieldProps } from '@mui/material';
|
|
5
|
-
type Props = {
|
|
6
|
-
name?: string;
|
|
7
|
-
onChange: SimpleEventHandler<string>;
|
|
8
|
-
InputProps?: Omit<TextFieldProps, 'id'>;
|
|
9
|
-
} & Omit<DatePickerProps<any>, 'onChange' | 'renderInput' | 'date' | 'rawValue' | 'openPicker' | 'InputProps'> & React.RefAttributes<HTMLDivElement>;
|
|
10
|
-
export default function InputDate(props: Props): JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './InputDate';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DateTimePickerProps } from '@mui/lab';
|
|
3
|
-
import { SimpleEventHandler } from '../../../types';
|
|
4
|
-
import { TextFieldProps } from '@mui/material';
|
|
5
|
-
type Props = {
|
|
6
|
-
name?: string;
|
|
7
|
-
onChange: SimpleEventHandler<string>;
|
|
8
|
-
InputProps?: Omit<TextFieldProps, 'id'>;
|
|
9
|
-
} & Omit<DateTimePickerProps<any>, 'onChange' | 'renderInput' | 'date' | 'rawValue' | 'openPicker' | 'InputProps'> & React.RefAttributes<HTMLDivElement>;
|
|
10
|
-
export default function InputDateTime(props: Props): JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './InputDateTime';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './InputGroup';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './InputRadioGroup';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './InputSearchDropdown';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './InputTime';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Modal';
|