beeple-toolkit 1.0.23 → 1.0.25

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,16 +1,20 @@
1
1
  import type { MenuProps, DropDownOption } from '../types';
2
2
  import '../DropDown/dropdown.css';
3
3
  import './menu.css';
4
- declare var __VLS_1: {};
4
+ declare var __VLS_1: {
5
+ isOpen: boolean;
6
+ };
5
7
  type __VLS_Slots = {} & {
6
8
  trigger?: (props: typeof __VLS_1) => any;
7
9
  };
8
10
  declare const __VLS_base: import("vue").DefineComponent<MenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
11
  select: (item: DropDownOption) => any;
10
12
  close: () => any;
13
+ open: () => any;
11
14
  }, string, import("vue").PublicProps, Readonly<MenuProps> & Readonly<{
12
15
  onSelect?: ((item: DropDownOption) => any) | undefined;
13
16
  onClose?: (() => any) | undefined;
17
+ onOpen?: (() => any) | undefined;
14
18
  }>, {
15
19
  position: "top" | "bottom" | "left" | "right";
16
20
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -243,6 +243,7 @@ export interface DatePickerProps {
243
243
  export interface MenuProps {
244
244
  items: DropDownOption[] | DropDownOption[][];
245
245
  position?: 'top' | 'bottom' | 'left' | 'right';
246
+ triggerEl?: HTMLElement | null;
246
247
  }
247
248
  export interface TextareaProps {
248
249
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beeple-toolkit",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "Vue 3 component library beeple-toolkit",
5
5
  "keywords": [
6
6
  "vue",