@comercti/web-components-hmg 0.41.4 → 0.41.5
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.es.js
CHANGED
|
@@ -6739,7 +6739,7 @@ const Dd = ["onClick"], jd = {
|
|
|
6739
6739
|
emits: ["updateValue"],
|
|
6740
6740
|
setup(e, { emit: t }) {
|
|
6741
6741
|
const a = e, r = t, n = E(a.initialTab), l = (i) => {
|
|
6742
|
-
n.value = i, r("updateValue", i);
|
|
6742
|
+
console.log("tabAtual.value", n.value), console.log("id", i), n.value = i, console.log("tabAtual.value2", n.value), r("updateValue", i);
|
|
6743
6743
|
}, s = (i) => a.variant === i;
|
|
6744
6744
|
return (i, u) => (d(), g(J, null, [
|
|
6745
6745
|
s("primary") || s("secondary") ? (d(), g("div", bc, [
|
|
@@ -6786,15 +6786,14 @@ const Dd = ["onClick"], jd = {
|
|
|
6786
6786
|
disabled: e.inactivate || m.disabled,
|
|
6787
6787
|
type: "button",
|
|
6788
6788
|
onClick: (f) => l(m.id),
|
|
6789
|
-
class: w(["px-5 py-2 font-semibold
|
|
6790
|
-
"bg-white
|
|
6791
|
-
"cursor-not-allowed": e.inactivate || m.disabled
|
|
6789
|
+
class: w(["px-5 py-2 font-semibold", {
|
|
6790
|
+
"bg-white shadow-lg rounded-t-lg": n.value == m.id,
|
|
6791
|
+
"cursor-not-allowed": e.inactivate || m.disabled,
|
|
6792
|
+
"text-ce_light_green": n.value == m.id,
|
|
6793
|
+
"text-ce_stone_gray": n.value != m.id
|
|
6792
6794
|
}])
|
|
6793
6795
|
}, H(m.label), 11, Cc))), 128))
|
|
6794
6796
|
])) : k("", !0),
|
|
6795
|
-
c("div", null, [
|
|
6796
|
-
R(i.$slots, "default")
|
|
6797
|
-
]),
|
|
6798
6797
|
c("div", null, [
|
|
6799
6798
|
R(i.$slots, "default")
|
|
6800
6799
|
])
|