sud-ui 1.3.3 → 1.3.4

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.js CHANGED
@@ -7288,7 +7288,9 @@ const M0 = ({
7288
7288
  display: "flex",
7289
7289
  flexDirection: "column",
7290
7290
  gap: j.sm,
7291
- width: "100%"
7291
+ width: "100%",
7292
+ flex: 1,
7293
+ overflowY: "auto"
7292
7294
  },
7293
7295
  children: c
7294
7296
  }
@@ -14792,14 +14794,13 @@ const s3 = ({ isOpen: s, children: c }) => {
14792
14794
  borderRadius: 10,
14793
14795
  cursor: "pointer",
14794
14796
  padding: 12,
14795
- paddingLeft: L,
14796
14797
  display: "flex",
14797
14798
  justifyContent: "space-between",
14798
14799
  alignItems: "center"
14799
14800
  },
14800
14801
  onClick: () => {
14801
14802
  var T;
14802
- l == null || l(s.key), (T = s.onClick) == null || T.call(s), y || n(s.key);
14803
+ y ? (l == null || l(s.key), (T = s.onClick) == null || T.call(s)) : n(s.key);
14803
14804
  },
14804
14805
  role: f ? "button" : "menuitem",
14805
14806
  "aria-expanded": f ? S : void 0,
@@ -14902,7 +14903,7 @@ const s3 = ({ isOpen: s, children: c }) => {
14902
14903
  (D) => D.includes(C) ? D.filter((E) => E !== C) : [...D, C]
14903
14904
  );
14904
14905
  }, b = (C, D, E) => {
14905
- const A = X === C, G = h1({
14906
+ const A = X === C && D, G = h1({
14906
14907
  border: !1,
14907
14908
  componentType: "etc",
14908
14909
  fallback: A ? "selected" : E ? "hovered" : "default"