cloudmr-ux 4.2.2 → 4.2.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.
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
background-color: transparent !important; /* Ensure no background by default */
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.Mui-checked
|
|
17
|
+
/* More specific so we win over app theme .MuiCheckbox-root.Mui-checked */
|
|
18
|
+
.cmr-checkbox-wrapper .MuiCheckbox-root.Mui-checked {
|
|
18
19
|
color: var(--cmr-checkbox-checked-color, #580f8b) !important; /* Default #580f8b; override via checkedColor prop */
|
|
19
20
|
}
|
|
20
21
|
|
|
@@ -11,6 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import "./tk-dual-range.css";
|
|
14
|
+
import CmrLabel from "../label/Label";
|
|
14
15
|
var clamp = function (v, lo, hi) { return Math.max(lo, Math.min(hi, v)); };
|
|
15
16
|
export default function TKDualRange(_a) {
|
|
16
17
|
var _b;
|
|
@@ -38,7 +39,7 @@ export default function TKDualRange(_a) {
|
|
|
38
39
|
var n = Number(s);
|
|
39
40
|
return Number.isFinite(n) ? n : NaN;
|
|
40
41
|
};
|
|
41
|
-
return (_jsxs("div", __assign({ className: "tkdr" }, { children: [_jsxs("div", __assign({ className: "tkdr__row tkdr__row--ends" }, { children: [_jsxs("div", __assign({ className: "tkdr__group" }, { children: [_jsx(
|
|
42
|
+
return (_jsxs("div", __assign({ className: "tkdr" }, { children: [_jsxs("div", __assign({ className: "tkdr__row tkdr__row--ends" }, { children: [_jsxs("div", __assign({ className: "tkdr__group" }, { children: [_jsx(CmrLabel, { children: "Min" }), _jsx("input", { className: "tkdr__num", type: "number", step: s, value: fmt(tLow), onChange: function (e) {
|
|
42
43
|
var n = parse(e.target.value);
|
|
43
44
|
if (!Number.isFinite(n))
|
|
44
45
|
return;
|
|
@@ -48,7 +49,7 @@ export default function TKDualRange(_a) {
|
|
|
48
49
|
if (!Number.isFinite(n))
|
|
49
50
|
return;
|
|
50
51
|
handleLowRender(n);
|
|
51
|
-
} })] })), _jsxs("div", __assign({ className: "tkdr__group" }, { children: [_jsx(
|
|
52
|
+
} })] })), _jsxs("div", __assign({ className: "tkdr__group" }, { children: [_jsx(CmrLabel, { children: "Max" }), _jsx("input", { className: "tkdr__num", type: "number", step: s, value: fmt(tHigh), onChange: function (e) {
|
|
52
53
|
var n = parse(e.target.value);
|
|
53
54
|
if (!Number.isFinite(n))
|
|
54
55
|
return;
|