@3sc/common-component 0.0.277 → 0.0.278
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.es.js +2 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -40853,7 +40853,7 @@ const x8 = ({ options: e, isDraggable: t }) => {
|
|
|
40853
40853
|
{
|
|
40854
40854
|
inputProps: {
|
|
40855
40855
|
readOnly: !0,
|
|
40856
|
-
style: { cursor: "pointer" }
|
|
40856
|
+
style: { cursor: l != null && l.disabled ? "not-allowed" : "pointer" }
|
|
40857
40857
|
},
|
|
40858
40858
|
InputLabelProps: {
|
|
40859
40859
|
shrink: (r == null ? void 0 : r.length) && !(l != null && l.placeholder)
|
|
@@ -40869,12 +40869,10 @@ const x8 = ({ options: e, isDraggable: t }) => {
|
|
|
40869
40869
|
startAdornment: ((V = l == null ? void 0 : l.styles) == null ? void 0 : V.icon) && /* @__PURE__ */ y.jsx(Ni, { position: "start", sx: { pl: 1 }, children: /* @__PURE__ */ y.jsx(ge, { component: "img", src: (A = l == null ? void 0 : l.styles) == null ? void 0 : A.icon }) })
|
|
40870
40870
|
},
|
|
40871
40871
|
sx: {
|
|
40872
|
-
pointerEvents:
|
|
40872
|
+
// pointerEvents: otherProps?.disabled ? "none" : "auto",
|
|
40873
40873
|
opacity: l != null && l.disabled ? 0.6 : 1,
|
|
40874
40874
|
// height: "3.2rem",
|
|
40875
40875
|
"& .MuiOutlinedInput-root": {
|
|
40876
|
-
cursor: "pointer",
|
|
40877
|
-
// 👈 for root container
|
|
40878
40876
|
borderBottomLeftRadius: c && b.startsWith("bottom") ? 0 : "0.7rem",
|
|
40879
40877
|
borderBottomRightRadius: c && b.startsWith("bottom") ? 0 : "0.7rem",
|
|
40880
40878
|
borderTopLeftRadius: c && b.startsWith("top") ? 0 : "0.7rem",
|