@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.
- package/dist/cds.css +1 -1
- package/dist/cds.es.js +3642 -3634
- package/dist/cds.es.js.map +1 -1
- package/dist/cds.umd.js +5 -5
- package/dist/cds.umd.js.map +1 -1
- package/dist/components/CdsMenu/shared.d.ts +1 -1
- package/dist/utils/helpers.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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;
|
package/dist/utils/helpers.d.ts
CHANGED
|
@@ -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
|
*/
|