trithuc-mvc-react 1.8.2 → 1.8.3

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.
@@ -5,7 +5,6 @@ import { useController, useFormContext } from "react-hook-form";
5
5
  import { debounce } from "lodash";
6
6
  import { useDataTable } from "./hooks";
7
7
 
8
-
9
8
  export function FilterElement({
10
9
  name,
11
10
  type,
@@ -36,7 +35,7 @@ export function FilterElement({
36
35
  switch (type) {
37
36
  case "search":
38
37
  return (
39
- <OutlinedInput
38
+ <TextField
40
39
  {...rest}
41
40
  fullWidth
42
41
  value={value ?? ""}
@@ -45,11 +44,14 @@ export function FilterElement({
45
44
  handleFilterChangeDebounce(name, e.target.value);
46
45
  }}
47
46
  placeholder={label}
48
- startAdornment={
49
- <InputAdornment position="start">
50
- <SearchOutlined />
51
- </InputAdornment>
52
- }
47
+ variant="outlined"
48
+ InputProps={{
49
+ startAdornment: (
50
+ <InputAdornment position="start">
51
+ <SearchOutlined />
52
+ </InputAdornment>
53
+ )
54
+ }}
53
55
  />
54
56
  );
55
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trithuc-mvc-react",
3
- "version": "1.8.2",
3
+ "version": "1.8.3",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
package/jsconfig.json DELETED
@@ -1,12 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "baseUrl": ".",
4
- "module": "commonjs",
5
- "target": "es6",
6
- "paths": {
7
- "@/*": ["./src/*"]
8
- }
9
- },
10
- "include": ["src/**/*"],
11
- "exclude": ["node_modules", "**/node_modules", "dist"]
12
- }