@undefine-ui/design-system 3.8.5 → 3.8.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.
package/dist/index.cjs CHANGED
@@ -6005,6 +6005,19 @@ var MuiInputBase = {
6005
6005
  },
6006
6006
  [`& .${import_InputAdornment.inputAdornmentClasses.positionStart}`]: {
6007
6007
  marginTop: "0 !important"
6008
+ },
6009
+ // Autocomplete inputRoot - allow flexible height for multiple mode
6010
+ [`&.${import_Autocomplete2.autocompleteClasses.inputRoot}`]: {
6011
+ height: "auto",
6012
+ minHeight: 44,
6013
+ [`&.${import_InputBase.inputBaseClasses.sizeSmall}`]: {
6014
+ height: "auto",
6015
+ minHeight: 36
6016
+ },
6017
+ [`&.MuiInputBase-sizeLarge`]: {
6018
+ height: "auto",
6019
+ minHeight: 48
6020
+ }
6008
6021
  }
6009
6022
  }),
6010
6023
  input: ({ theme }) => ({
@@ -7698,7 +7711,10 @@ var MultiFilePreview = ({ files, onRemove }) => {
7698
7711
  import_IconButton2.default,
7699
7712
  {
7700
7713
  size: "small",
7701
- onClick: () => handleScroll("left"),
7714
+ onClick: (e) => {
7715
+ e.stopPropagation();
7716
+ handleScroll("left");
7717
+ },
7702
7718
  sx: {
7703
7719
  position: "absolute",
7704
7720
  left: 8,
@@ -7779,7 +7795,10 @@ var MultiFilePreview = ({ files, onRemove }) => {
7779
7795
  import_IconButton2.default,
7780
7796
  {
7781
7797
  size: "small",
7782
- onClick: () => handleScroll("right"),
7798
+ onClick: (e) => {
7799
+ e.stopPropagation();
7800
+ handleScroll("right");
7801
+ },
7783
7802
  sx: {
7784
7803
  position: "absolute",
7785
7804
  right: 8,
@@ -7836,7 +7855,7 @@ var Upload = ({
7836
7855
  }
7837
7856
  return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(UploadPlaceholder, { hasError });
7838
7857
  };
7839
- const shouldShowDropzone = !hasFile && !hasFiles && !isUploading;
7858
+ const shouldShowDropzone = !hasFile && !isUploading;
7840
7859
  return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(import_Box10.default, { sx: { width: 1, position: "relative", ...sx }, children: [
7841
7860
  /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
7842
7861
  import_Box10.default,