@central-design-system/components 3.3.1 → 3.3.2
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 +8206 -8269
- 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/CdsButton/CdsButton.figma.d.ts +1 -0
- package/dist/components/CdsCombobox/CdsCombobox.d.ts +4083 -5090
- package/dist/composable/menu.d.ts +1 -1
- package/dist/utils/helpers.d.ts +2 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ export interface IUseMenu<MenuRef> {
|
|
|
7
7
|
internalMenu: WritableComputedRef<boolean | undefined>;
|
|
8
8
|
menuRef: Ref<MenuRef | undefined>;
|
|
9
9
|
}
|
|
10
|
-
export declare const DEFAULT_MENU_HEIGHT =
|
|
10
|
+
export declare const DEFAULT_MENU_HEIGHT = 178;
|
|
11
11
|
export declare const DEFAULT_MENU_OFFSET = 4;
|
|
12
12
|
export declare const makeMenuProps: <Defaults extends {
|
|
13
13
|
menu?: unknown;
|
package/dist/utils/helpers.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VNode, ComponentPublicInstance, ComponentInternalInstance, ComputedGetter, InjectionKey, PropType, Ref, ToRefs, VNodeProps, VNodeChild, AllowedComponentProps, Component } from 'vue';
|
|
2
1
|
import { TItemKey } from '../composable';
|
|
2
|
+
import { ComponentPublicInstance, ComponentInternalInstance, ComputedGetter, InjectionKey, PropType, Ref, ToRefs, VNodeProps, VNodeChild, AllowedComponentProps, Component, VNode, VNodeArrayChildren } from 'vue';
|
|
3
3
|
export declare const preventedScrollClass = "cds-scroll-blocked";
|
|
4
4
|
export declare const keyNames: Record<string, KeyboardEvent['key']>;
|
|
5
5
|
export declare const classesStates: Readonly<{
|
|
@@ -178,6 +178,7 @@ export declare function plurals(n: number, opts: string[]): string;
|
|
|
178
178
|
export declare function chunk(str: string, size?: number): string[];
|
|
179
179
|
export declare function defer(timeout: number, cb: () => void): () => void;
|
|
180
180
|
export declare function isValidElement(element: any): any;
|
|
181
|
+
export declare function ensureValidVNode(vnodes: VNodeArrayChildren): VNodeArrayChildren | null;
|
|
181
182
|
export declare function noop(): void;
|
|
182
183
|
/**
|
|
183
184
|
* Types
|