@comercti/react-components-hmg 0.31.1 → 0.32.1
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/comerc-style-guide.cjs.js +1 -1
- package/comerc-style-guide.es.js +6 -2
- package/comerc-style-guide.umd.js +1 -1
- package/index.d.ts +4 -4
- package/package.json +1 -1
package/comerc-style-guide.es.js
CHANGED
|
@@ -1809,9 +1809,12 @@ const Bo = (e, t) => {
|
|
|
1809
1809
|
F("update:modelValue", K);
|
|
1810
1810
|
}
|
|
1811
1811
|
function H(F) {
|
|
1812
|
-
if (!h.value || h.value.length === 0)
|
|
1812
|
+
if (!Array.isArray(h.value) || h.value.length === 0)
|
|
1813
1813
|
return;
|
|
1814
|
-
const K = h.value.reduce(
|
|
1814
|
+
const K = h.value.reduce(
|
|
1815
|
+
(ae, le) => (ae[String(le.id)] = !0, ae),
|
|
1816
|
+
{}
|
|
1817
|
+
);
|
|
1815
1818
|
a.value = K;
|
|
1816
1819
|
const _ = p.value.filter((ae) => a.value[ae.id]);
|
|
1817
1820
|
if (se("ce-data-table")) {
|
|
@@ -2956,6 +2959,7 @@ const Bo = (e, t) => {
|
|
|
2956
2959
|
return (t, a) => (d(), f("button", {
|
|
2957
2960
|
id: String(e.id),
|
|
2958
2961
|
disabled: e.disabled,
|
|
2962
|
+
type: "button",
|
|
2959
2963
|
class: y(["px-4 py-2 text-gray-700 dark:text-ce_light_gray border-r last:border-r-0 hover:bg-gray-50 dark:bg-ce_black flex items-center justify-between space-x-2", { "bg-ce_white ": e.selected == e.id }])
|
|
2960
2964
|
}, [
|
|
2961
2965
|
e.variant === "radio" ? (d(), f("div", {
|