@v-c/mentions 1.1.0 → 1.1.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.
@@ -45,15 +45,14 @@ var KeywordTrigger = /* @__PURE__ */ defineComponent((props, { slots }) => {
45
45
  return () => {
46
46
  const { prefixCls, options, visible, transitionName, getPopupContainer, popupClassName, popupStyle } = props;
47
47
  const dropdownPrefix = `${prefixCls}-dropdown`;
48
- const dropdownElement = createVNode(DropdownMenu, {
49
- "prefixCls": dropdownPrefix,
50
- "options": options,
51
- "opened": opened.value
52
- }, null);
53
48
  return createVNode(Trigger, {
54
49
  "prefixCls": dropdownPrefix,
55
50
  "popupVisible": visible,
56
- "popup": dropdownElement,
51
+ "popup": createVNode(DropdownMenu, {
52
+ "prefixCls": dropdownPrefix,
53
+ "options": options,
54
+ "opened": opened.value
55
+ }, null),
57
56
  "popupPlacement": dropdownPlacement.value,
58
57
  "popupMotion": { name: transitionName },
59
58
  "builtinPlacements": BUILT_IN_PLACEMENTS,
package/dist/Mentions.js CHANGED
@@ -341,7 +341,7 @@ var InternalMentions = /* @__PURE__ */ defineComponent((props, { slots, expose,
341
341
  return mentionNode;
342
342
  };
343
343
  }, {
344
- props: /* @__PURE__ */ mergeDefaults({
344
+ props: /*@__PURE__*/ mergeDefaults({
345
345
  hasWrapper: {
346
346
  type: Boolean,
347
347
  required: true
package/package.json CHANGED
@@ -1,8 +1,14 @@
1
1
  {
2
2
  "name": "@v-c/mentions",
3
3
  "type": "module",
4
- "version": "1.1.0",
4
+ "version": "1.1.1",
5
5
  "description": "",
6
+ "license": "MIT",
7
+ "homepage": "https://github.com/antdv-next/vue-components/tree/next/packages/mentions",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/antdv-next/vue-components.git"
11
+ },
6
12
  "publishConfig": {
7
13
  "access": "public"
8
14
  },
@@ -24,11 +30,11 @@
24
30
  "vue": "^3.0.0"
25
31
  },
26
32
  "dependencies": {
27
- "@v-c/input": "^1.1.0",
28
- "@v-c/menu": "^1.1.0",
33
+ "@v-c/input": "^1.1.1",
29
34
  "@v-c/textarea": "^1.1.0",
30
- "@v-c/trigger": "^1.0.14",
31
- "@v-c/util": "^1.0.19"
35
+ "@v-c/menu": "^1.2.2",
36
+ "@v-c/util": "^1.0.19",
37
+ "@v-c/trigger": "^1.0.17"
32
38
  },
33
39
  "scripts": {
34
40
  "build": "vite build",