ish-ui 1.3.6 → 1.3.7

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.
@@ -29,6 +29,11 @@ import { getHighlightedPartLabel, stubComponent, usePrevious } from '../utils';
29
29
  const useStyles = makeAppStyles()({
30
30
  popper: {
31
31
  zIndex: 1400
32
+ },
33
+ customSelectAdornment: {
34
+ "&&": {
35
+ right: 0
36
+ }
32
37
  }
33
38
  });
34
39
  const SelectContext = React.createContext({});
@@ -301,8 +306,10 @@ function EditInPlaceSearchSelect({ label, disabled, className, labelAdornment, i
301
306
  React.createElement(Select, Object.assign({}, InputProps, { inputRef: ref => {
302
307
  inputProps.ref.current = ref === null || ref === void 0 ? void 0 : ref.node;
303
308
  }, classes: {
304
- select: cx('cursor-text', fieldClasses.text)
305
- }, onFocus: edit, value: (returnType === 'object' ? input.value[selectValueMark] : input.value) || '', endAdornment: loading ? renderLoading : React.createElement(InputAdornment, { position: "end", className: 'd-none' }, renderIcons), IconComponent: stubComponent }), renderValue)
309
+ select: cx('cursor-text', fieldClasses.text),
310
+ }, onFocus: edit, value: (returnType === 'object' ? input.value[selectValueMark] : input.value) || '', endAdornment: loading ? renderLoading : React.createElement(InputAdornment, { position: "end", className: 'd-none', classes: {
311
+ root: ownClasses.customSelectAdornment
312
+ } }, renderIcons), IconComponent: stubComponent }), renderValue)
306
313
  : null })));
307
314
  }, [
308
315
  variant,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ish-ui",
3
3
  "sideEffects": false,
4
- "version": "1.3.6",
4
+ "version": "1.3.7",
5
5
  "description": "UI elements for onCourse and other ish apps",
6
6
  "main": "main.ts",
7
7
  "devDependencies": {