@etsoo/materialui 1.1.64 → 1.1.65

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/lib/SearchBar.js CHANGED
@@ -224,11 +224,11 @@ export function SearchBar(props) {
224
224
  state.form = form;
225
225
  } },
226
226
  React.createElement(Stack, { ref: dimensions[0][0], justifyContent: "center", alignItems: "center", direction: "row", spacing: 1, width: "100%", sx: {
227
- overflowX: "hidden",
228
227
  "& > :not(style)": {
229
- flexBasis: `${itemWidth}px`,
228
+ flexBasis: "auto",
230
229
  flexGrow: 0,
231
230
  flexShrink: 0,
231
+ maxWidth: `${itemWidth}px`,
232
232
  visibility: "hidden"
233
233
  },
234
234
  "& > .hiddenChild": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.1.64",
3
+ "version": "1.1.65",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
package/src/SearchBar.tsx CHANGED
@@ -312,11 +312,11 @@ export function SearchBar(props: SearchBarProps) {
312
312
  spacing={1}
313
313
  width="100%"
314
314
  sx={{
315
- overflowX: "hidden",
316
315
  "& > :not(style)": {
317
- flexBasis: `${itemWidth}px`,
316
+ flexBasis: "auto",
318
317
  flexGrow: 0,
319
318
  flexShrink: 0,
319
+ maxWidth: `${itemWidth}px`,
320
320
  visibility: "hidden"
321
321
  },
322
322
  "& > .hiddenChild": {