@true-engineering/true-react-common-ui-kit 4.0.0-alpha51 → 4.0.0-alpha52

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@true-engineering/true-react-common-ui-kit",
3
- "version": "4.0.0-alpha51",
3
+ "version": "4.0.0-alpha52",
4
4
  "description": "True Engineering React UI Kit with theming support",
5
5
  "author": "True Engineering (https://trueengineering.ru)",
6
6
  "keywords": [
@@ -44,15 +44,14 @@ export const useStyles = createThemedStyles('Input', {
44
44
  },
45
45
 
46
46
  defaultWrapper: {
47
- display: 'contents',
47
+ display: 'flex',
48
+ flexGrow: 1,
48
49
  },
49
50
 
50
51
  autoSizeWrapper: {
51
52
  position: 'relative',
52
- display: 'flex',
53
53
  minWidth: 0,
54
54
  zIndex: 0,
55
- flexGrow: 1,
56
55
  },
57
56
 
58
57
  autoSized: {
@@ -198,7 +198,7 @@ export const InputBase = forwardRef<HTMLInputElement, IInputBaseProps>(
198
198
  if (shouldFocusOnMount) {
199
199
  inputRef.current?.focus();
200
200
  }
201
- }, []);
201
+ }, [shouldFocusOnMount]);
202
202
 
203
203
  return (
204
204
  <ControlWrapper