mytek-components 2.1.9 → 2.1.10
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/main.es.js +4 -2
- package/dist/main.es.js.map +1 -1
- package/dist/main.umd.js +4 -2
- package/dist/main.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -14478,7 +14478,9 @@ const CustomInput = ({
|
|
|
14478
14478
|
},
|
|
14479
14479
|
min: minValue,
|
|
14480
14480
|
max: maxValue,
|
|
14481
|
-
step: stepValue
|
|
14481
|
+
step: stepValue,
|
|
14482
|
+
maxLength,
|
|
14483
|
+
minLength
|
|
14482
14484
|
}
|
|
14483
14485
|
),
|
|
14484
14486
|
suffix && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "px-2 bg-white text-gray-700 border-l border-[#3B5AA1]", children: suffix }),
|
|
@@ -15824,7 +15826,7 @@ function DynamicTabs({
|
|
|
15824
15826
|
}) {
|
|
15825
15827
|
const [value, setValue] = useState(tabIndex || defaultValue);
|
|
15826
15828
|
useEffect(() => {
|
|
15827
|
-
const setUpVal = tabs.length - 1 >= tabIndex ? tabIndex : tabs.length - 1;
|
|
15829
|
+
const setUpVal = tabs.length === 0 ? 0 : tabs.length - 1 >= tabIndex ? tabIndex : tabs.length - 1;
|
|
15828
15830
|
setValue(setUpVal);
|
|
15829
15831
|
}, [tabIndex]);
|
|
15830
15832
|
const handleChange = (event, newValue) => {
|