@movable/ui 0.28.1 → 0.28.2

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
@@ -8881,19 +8881,19 @@ const A0 = ({ name: e, options: t, onChange: r, onBlur: n, value: o, ref: i, dir
8881
8881
  px: 3,
8882
8882
  py: 2,
8883
8883
  height: "100%",
8884
- borderColor: o === u ? "blue800" : "neutral200",
8885
- borderWidth: o === u ? 2 : 1,
8886
- borderStyle: "solid",
8884
+ border: 0,
8887
8885
  bgcolor: o === u ? "primary.selected" : "inherit",
8886
+ outlineWidth: o === u ? 2 : 1,
8888
8887
  "&:hover": {
8889
- bgcolor: "primary.hover",
8890
- borderColor: "outlinedBorder"
8888
+ bgcolor: o === u ? "primary.selected" : "primary.hover",
8889
+ outlineColor: (v) => v.palette.primary.outlinedBorder
8891
8890
  },
8892
8891
  "&:focus-within": {
8893
- bgcolor: "white",
8894
- borderColor: "primary.focus",
8895
- borderWidth: 2
8892
+ bgcolor: "white"
8896
8893
  },
8894
+ outlineStyle: "solid",
8895
+ borderRadius: 1,
8896
+ outlineColor: (v) => o === u ? v.palette.blue800 : v.palette.neutral200,
8897
8897
  ...c
8898
8898
  }, children: R.jsxs(Ze, { direction: "column", alignItems: "center", width: "100%", children: [d && R.jsx(Qt, { sx: {
8899
8899
  color: o === u ? "text.primary" : "action.active",