@m4l/components 9.2.42 → 9.2.43

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.
@@ -1,4 +1,4 @@
1
- import { a as getHeightSizeStyles } from "../../../utils/getSizeStyles/getSizeStyles.js";
1
+ import { g as getSizeStyles } from "../../../utils/getSizeStyles/getSizeStyles.js";
2
2
  const autocompleteSyles = {
3
3
  /**
4
4
  * Styles for the root component.
@@ -17,7 +17,11 @@ const autocompleteSyles = {
17
17
  adorments: ({ theme }) => ({
18
18
  display: "flex",
19
19
  alignItems: "center",
20
- gap: theme.vars.size.baseSpacings.sp1
20
+ gap: theme.vars.size.baseSpacings.sp1,
21
+ position: "absolute",
22
+ right: 0,
23
+ top: 0,
24
+ bottom: 0
21
25
  }),
22
26
  /**
23
27
  * Styles for the typography component.
@@ -48,10 +52,13 @@ const autocompleteSyles = {
48
52
  textField: ({ theme }) => ({
49
53
  // position: 'relative',
50
54
  height: "auto !important",
55
+ position: "relative",
51
56
  "& .MuiInputBase-root": {
52
- padding: "unset !important",
57
+ padding: `${theme.vars.size.baseSpacings.sp1} ${theme.vars.size.baseSpacings.sp12} ${theme.vars.size.baseSpacings.sp1} 0!important`,
53
58
  gap: theme.vars.size.baseSpacings.sp1,
59
+ flexWrap: "wrap",
54
60
  "& > input": {
61
+ width: "100px",
55
62
  textOverflow: "ellipsis",
56
63
  whiteSpace: "nowrap",
57
64
  overflow: "hidden!important"
@@ -80,8 +87,8 @@ const autocompleteSyles = {
80
87
  background: theme.vars.palette.skeleton.transition,
81
88
  display: "flex",
82
89
  borderRadius: theme.vars.size.borderRadius.r1,
83
- ...getHeightSizeStyles(
84
- theme.generalSettings.isMobile,
90
+ ...getSizeStyles(
91
+ theme,
85
92
  ownerState?.size || "medium",
86
93
  "action",
87
94
  (height) => ({ minHeight: height })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.2.42",
3
+ "version": "9.2.43",
4
4
  "license": "UNLICENSED",
5
5
  "lint-staged": {
6
6
  "*.{js,ts,tsx}": "eslint --fix --max-warnings 0 --no-warn-ignored"