@central-design-system/components 3.12.0 → 3.12.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.
@@ -2,7 +2,7 @@ import { InjectionKey } from 'vue';
2
2
  interface IMenuProvider {
3
3
  register(): void;
4
4
  unregister(): void;
5
- closeParents(): void;
5
+ closeParents(event?: MouseEvent): void;
6
6
  }
7
7
  export declare const CdsMenuSymbol: InjectionKey<IMenuProvider>;
8
8
  export declare const MENU_OPEN_DELAY = 300;
@@ -190,6 +190,7 @@ export declare function defer(timeout: number, cb: () => void): () => void;
190
190
  export declare function isValidElement(element: any): any;
191
191
  export declare function ensureValidVNode(vnodes: VNodeArrayChildren): VNodeArrayChildren | null;
192
192
  export declare function noop(): void;
193
+ export declare function isClickInsideElement(event: MouseEvent, targetDiv: HTMLElement): boolean;
193
194
  /**
194
195
  * Types
195
196
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@central-design-system/components",
3
- "version": "3.12.0",
3
+ "version": "3.12.1",
4
4
  "description": "Central Design System on the Vue 3.0 and TypeScript",
5
5
  "author": {
6
6
  "name": "magersoft",