@dartech/arsenal-ui 1.4.73 → 1.4.74

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.
Files changed (2) hide show
  1. package/index.js +9 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1058,7 +1058,7 @@ function ControlQueryAutocomplete(_a) {
1058
1058
  }
1059
1059
  }, [data, options]);
1060
1060
  const handleOpen = () => {
1061
- setOpen(true);
1061
+ if (options.length) setOpen(true);
1062
1062
  };
1063
1063
  const handleClose = () => {
1064
1064
  setOpen(false);
@@ -1114,10 +1114,14 @@ function ControlQueryAutocomplete(_a) {
1114
1114
  },
1115
1115
  InputProps: Object.assign(Object.assign({}, params.InputProps), {
1116
1116
  endAdornment: endAdornment ? endAdornment : jsxs(React.Fragment, {
1117
- children: [isFetching ? jsx(CircularProgress, {
1118
- color: "inherit",
1119
- size: 20
1120
- }) : null, params.InputProps.endAdornment]
1117
+ children: [isFetching ? jsx(InputAdornment, Object.assign({
1118
+ position: "end"
1119
+ }, {
1120
+ children: jsx(CircularProgress, {
1121
+ color: "inherit",
1122
+ size: 20
1123
+ })
1124
+ })) : null, params.InputProps.endAdornment]
1121
1125
  }),
1122
1126
  startAdornment: startAdornment ? startAdornment : params.InputProps.startAdornment
1123
1127
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartech/arsenal-ui",
3
- "version": "1.4.73",
3
+ "version": "1.4.74",
4
4
  "author": "DAR",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"