@movable/ui 0.14.0 → 0.14.1

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/index.mjs CHANGED
@@ -3182,9 +3182,19 @@ const Zo = {
3182
3182
  }
3183
3183
  },
3184
3184
  inputRoot: ({ theme: e }) => ({
3185
- padding: e.spacing(1, 5, 1, 1.5),
3186
- ".MuiFilledInput-input": {
3187
- padding: 0
3185
+ "&.MuiInputBase-hiddenLabel": {
3186
+ padding: e.spacing(1, 1.5),
3187
+ "& .MuiAutocomplete-input": {
3188
+ padding: e.spacing(0)
3189
+ }
3190
+ },
3191
+ "&.MuiInputBase-hiddenLabel.MuiInputBase-sizeSmall": {
3192
+ paddingTop: e.spacing(0.5),
3193
+ paddingBottom: e.spacing(0.5),
3194
+ paddingLeft: e.spacing(1),
3195
+ "& .MuiAutocomplete-input": {
3196
+ padding: e.spacing(0)
3197
+ }
3188
3198
  },
3189
3199
  gap: e.spacing(1)
3190
3200
  })
@@ -3399,7 +3409,7 @@ const Zo = {
3399
3409
  disableUnderline: !0
3400
3410
  },
3401
3411
  styleOverrides: {
3402
- root: ({ theme: e, ownerState: r }) => ({
3412
+ root: ({ theme: e }) => ({
3403
3413
  backgroundColor: e.palette.neutral100,
3404
3414
  borderRadius: e.spacing(1),
3405
3415
  lineHeight: e.spacing(3),
@@ -3426,17 +3436,11 @@ const Zo = {
3426
3436
  "&.Mui-readOnly": {
3427
3437
  border: `1px solid ${e.palette.neutral200}`,
3428
3438
  backgroundColor: "inherit"
3429
- },
3430
- "&": {
3431
- padding: e.spacing(1, 1.5),
3432
- ...r.size === "small" && {
3433
- padding: e.spacing(0.5, 1)
3434
- }
3435
3439
  }
3436
3440
  }),
3437
- input: {
3438
- padding: 0
3439
- }
3441
+ input: ({ theme: e, ownerState: r }) => ({
3442
+ padding: r.size === "small" ? e.spacing(0.5, 1) : e.spacing(1, 1.5)
3443
+ })
3440
3444
  }
3441
3445
  }
3442
3446
  },