@wikicasa-dev/components 2.2.9-alpha.45 → 2.2.9-alpha.46

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.
@@ -47,6 +47,7 @@ const q = { class: "uikit-relative uikit-flex uikit-h-12 uikit-items-center" },
47
47
  open: m.value,
48
48
  "onUpdate:open": v[1] || (v[1] = (d) => m.value = d),
49
49
  class: s([e.wrapperClasses]),
50
+ "data-cy": e.dataCy,
50
51
  "activate-keyboard-controller": "",
51
52
  "close-when-clicked-outside": e.closeOnBodyPressed,
52
53
  direction: e.dropdownPosition === "top" ? "up" : "down",
@@ -176,7 +177,7 @@ const q = { class: "uikit-relative uikit-flex uikit-h-12 uikit-items-center" },
176
177
  ], 42, J))), 128))
177
178
  ]),
178
179
  _: 3
179
- }, 8, ["open", "class", "close-when-clicked-outside", "direction", "dropdown-classes"]),
180
+ }, 8, ["open", "class", "data-cy", "close-when-clicked-outside", "direction", "dropdown-classes"]),
180
181
  e.feedback ? (l(), o(g, { key: 0 }, [
181
182
  e.feedback.valid ? (l(), o("span", {
182
183
  key: 0,
@@ -17,10 +17,7 @@ const b = /* @__PURE__ */ n({
17
17
  },
18
18
  setup(e) {
19
19
  const o = c("isActive");
20
- return (i, v) => (d(), u(t(h), {
21
- value: e.value,
22
- "data-cy": e.dataCy
23
- }, {
20
+ return (i, v) => (d(), u(t(h), { value: e.value }, {
24
21
  default: a(() => [
25
22
  s(t(m), {
26
23
  as: e.headerTag,
@@ -32,6 +29,7 @@ const b = /* @__PURE__ */ n({
32
29
  default: a(() => [
33
30
  l(i.$slots, "header-content"),
34
31
  s(t(g), {
32
+ "data-cy": e.dataCy,
35
33
  class: r([
36
34
  e.triggerClasses,
37
35
  {
@@ -54,7 +52,7 @@ const b = /* @__PURE__ */ n({
54
52
  ])
55
53
  ]),
56
54
  _: 3
57
- }, 8, ["class"])
55
+ }, 8, ["data-cy", "class"])
58
56
  ]),
59
57
  _: 3
60
58
  }, 8, ["as", "class"]),
@@ -71,7 +69,7 @@ const b = /* @__PURE__ */ n({
71
69
  }, 8, ["class"])
72
70
  ]),
73
71
  _: 3
74
- }, 8, ["value", "data-cy"]));
72
+ }, 8, ["value"]));
75
73
  }
76
74
  });
77
75
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "2.2.9-alpha.45",
3
+ "version": "2.2.9-alpha.46",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",