@v-c/dropdown 1.0.3 → 1.0.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/dist/Dropdown.d.ts +2 -2
- package/dist/Dropdown.js +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +3 -3
package/dist/Dropdown.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ActionType, AlignType, AnimationType, BuildInPlacements, TriggerProps } from '
|
|
2
|
-
import { VueNode } from '
|
|
1
|
+
import { ActionType, AlignType, AnimationType, BuildInPlacements, TriggerProps } from '@v-c/trigger';
|
|
2
|
+
import { VueNode } from '@v-c/util/dist/type';
|
|
3
3
|
import { CSSProperties } from 'vue';
|
|
4
4
|
import { default as Placements } from './placements';
|
|
5
5
|
export interface DropdownProps extends Pick<TriggerProps, 'getPopupContainer' | 'mouseEnterDelay' | 'mouseLeaveDelay' | 'onPopupAlign' | 'builtinPlacements' | 'autoDestroy'> {
|
package/dist/Dropdown.js
CHANGED
|
@@ -40,7 +40,7 @@ var Dropdown = /* @__PURE__ */ defineComponent((props, { expose, slots }) => {
|
|
|
40
40
|
if (onOverlayClick) onOverlayClick(e);
|
|
41
41
|
};
|
|
42
42
|
return () => {
|
|
43
|
-
const { overlay, prefixCls, arrow, hideAction, trigger, placement, placements, overlayClassName, getPopupContainer, showAction, overlayStyle, align, ...otherProps } = props;
|
|
43
|
+
const { overlay, prefixCls, arrow, hideAction, trigger, placement, placements, overlayClassName, getPopupContainer, showAction, overlayStyle, align, disabled: _disabled, ...otherProps } = props;
|
|
44
44
|
const getMenuElement = () => createVNode(Overlay, {
|
|
45
45
|
"ref": overlayRef,
|
|
46
46
|
"overlay": overlay,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as Dropdown } from './Dropdown';
|
|
2
2
|
export type { DropdownProps } from './Dropdown';
|
|
3
3
|
export type { OverlayProps } from './Overlay';
|
|
4
|
-
export type { TriggerProps } from '
|
|
4
|
+
export type { TriggerProps } from '@v-c/trigger';
|
|
5
5
|
export default Dropdown;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@v-c/dropdown",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.5",
|
|
5
5
|
"description": "dropdown ui component for vue",
|
|
6
6
|
"author": "",
|
|
7
7
|
"license": "MIT",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"vue": "^3.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@v-c/trigger": "^1.0
|
|
38
|
-
"@v-c/util": "^1.0
|
|
37
|
+
"@v-c/trigger": "^1.1.0",
|
|
38
|
+
"@v-c/util": "^1.1.0"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "vite build",
|