@opendesign-plus-test/components 0.0.1-rc.127 → 0.0.1-rc.128

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.
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./HeaderContent.vue2.mjs";
2
2
  import './HeaderContent.css';
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const HeaderContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-61c6b51c"]]);
4
+ const HeaderContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e6e4aedd"]]);
5
5
  export {
6
6
  HeaderContent as default
7
7
  };
@@ -51,8 +51,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
51
51
  var _a;
52
52
  emit("handle-mouseenter-sub", (_a = props.itemData) == null ? void 0 : _a.id);
53
53
  navVisible.value = true;
54
+ console.log("onMouseEnter");
54
55
  };
55
56
  const onMouseLeave = () => {
57
+ console.log("onMouseLeave");
56
58
  emit("handle-mouseleave-sub", "");
57
59
  navVisible.value = false;
58
60
  };
@@ -113,6 +115,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
113
115
  }
114
116
  };
115
117
  const onClickLink = () => {
118
+ console.log("onClickLink");
116
119
  navVisible.value = false;
117
120
  emit("handle-click-link");
118
121
  };
@@ -160,7 +163,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
160
163
  key: subItem.label,
161
164
  class: normalizeClass(["content-item", { "content-item-disabled": subItem == null ? void 0 : subItem.disabled }])
162
165
  }, [
163
- withDirectives((openBlock(), createElementBlock("a", {
166
+ withDirectives((openBlock(), createElementBlock("div", {
164
167
  href: subItem.href,
165
168
  target: linkTarget(subItem.href, subItem == null ? void 0 : subItem.target),
166
169
  rel: "noopener noreferrer",
@@ -247,7 +250,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
247
250
  key: shortcut.label,
248
251
  class: "shortcut"
249
252
  }, [
250
- withDirectives((openBlock(), createElementBlock("a", {
253
+ withDirectives((openBlock(), createElementBlock("div", {
251
254
  href: shortcut.href,
252
255
  target: linkTarget(shortcut.href, shortcut == null ? void 0 : shortcut.target),
253
256
  rel: "noopener noreferrer",
@@ -287,7 +290,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
287
290
  ])
288
291
  ]);
289
292
  }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList((_h = props.itemData) == null ? void 0 : _h.shortcut, (shortcut) => {
290
- return withDirectives((openBlock(), createElementBlock("a", {
293
+ return withDirectives((openBlock(), createElementBlock("div", {
291
294
  key: shortcut.label,
292
295
  href: shortcut.href,
293
296
  target: linkTarget(shortcut.href, shortcut == null ? void 0 : shortcut.target),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendesign-plus-test/components",
3
- "version": "0.0.1-rc.127",
3
+ "version": "0.0.1-rc.128",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -45,8 +45,8 @@
45
45
  "vue-dompurify-html": "^3.1.2",
46
46
  "vue": "^3.5.13",
47
47
  "element-plus": "2.13.1",
48
- "@opendesign-plus/styles": "0.0.1-rc.2",
49
- "@opendesign-plus/composables": "0.0.1-rc.10"
48
+ "@opendesign-plus/composables": "0.0.1-rc.10",
49
+ "@opendesign-plus/styles": "0.0.1-rc.2"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@vitejs/plugin-vue": "^5.2.1",