sit-onyx 1.0.0-beta.5 → 1.0.0-beta.7

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,11 @@ import { type VNode } from "vue";
2
2
  import type { SelectOptionValue } from "../../../../types";
3
3
  import type { OnyxFlyoutMenuProps } from "./types";
4
4
  declare const _default: <TValue extends SelectOptionValue = SelectOptionValue>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, never>, never> & OnyxFlyoutMenuProps> & __VLS_BuiltInPublicProps;
5
+ props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
6
+ "onUpdate:open"?: ((open: boolean) => any) | undefined;
7
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>> & {
8
+ "onUpdate:open"?: ((open: boolean) => any) | undefined;
9
+ }, never>, "onUpdate:open"> & OnyxFlyoutMenuProps> & __VLS_BuiltInPublicProps;
6
10
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
7
11
  attrs: any;
8
12
  slots: ReturnType<() => Readonly<{
@@ -40,7 +44,7 @@ declare const _default: <TValue extends SelectOptionValue = SelectOptionValue>(_
40
44
  */
41
45
  footer?(): unknown;
42
46
  }>;
43
- emit: {};
47
+ emit: ((evt: "update:open", open: boolean) => void) & {};
44
48
  }>) => VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
49
  [key: string]: any;
46
50
  }> & {
@@ -1,4 +1,9 @@
1
1
  export type OnyxFlyoutMenuProps = {
2
+ /**
3
+ * If the flyout is expanded or not.
4
+ * If `undefined`, the state will be managed internally.
5
+ */
6
+ open?: boolean;
2
7
  /**
3
8
  * Aria label for the flyout.
4
9
  */
@@ -11,4 +11,9 @@ export type OnyxUserMenuProps = {
11
11
  * Optional user description that is displayed when the menu is opened.
12
12
  */
13
13
  description?: string;
14
+ /**
15
+ * If the flyout is expanded or not.
16
+ * If `undefined`, the state will be managed internally.
17
+ */
18
+ open?: boolean;
14
19
  };