@yamada-ui/menu 1.3.3 → 1.3.4-dev-20240624102031
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/menu-option-group.d.mts +5 -3
- package/dist/menu-option-group.d.ts +5 -3
- package/dist/menu.d.mts +4 -4
- package/dist/menu.d.ts +4 -4
- package/package.json +6 -6
@@ -26,8 +26,10 @@ type MenuOptionGroupOptions<Y extends string | string[] = string> = {
|
|
26
26
|
onChange?: (value: Y) => void;
|
27
27
|
};
|
28
28
|
type MenuOptionGroupProps<Y extends string | string[] = string> = Omit<HTMLUIProps<"div">, keyof MenuOptionGroupOptions> & MenuOptionGroupOptions<Y>;
|
29
|
-
declare const MenuOptionGroup:
|
30
|
-
|
31
|
-
|
29
|
+
declare const MenuOptionGroup: {
|
30
|
+
<Y extends string | string[] = string>(props: MenuOptionGroupProps<Y> & {
|
31
|
+
ref?: Ref<HTMLDivElement>;
|
32
|
+
}): JSX.Element;
|
33
|
+
} & ComponentArgs;
|
32
34
|
|
33
35
|
export { MenuOptionGroup, type MenuOptionGroupProps };
|
@@ -26,8 +26,10 @@ type MenuOptionGroupOptions<Y extends string | string[] = string> = {
|
|
26
26
|
onChange?: (value: Y) => void;
|
27
27
|
};
|
28
28
|
type MenuOptionGroupProps<Y extends string | string[] = string> = Omit<HTMLUIProps<"div">, keyof MenuOptionGroupOptions> & MenuOptionGroupOptions<Y>;
|
29
|
-
declare const MenuOptionGroup:
|
30
|
-
|
31
|
-
|
29
|
+
declare const MenuOptionGroup: {
|
30
|
+
<Y extends string | string[] = string>(props: MenuOptionGroupProps<Y> & {
|
31
|
+
ref?: Ref<HTMLDivElement>;
|
32
|
+
}): JSX.Element;
|
33
|
+
} & ComponentArgs;
|
32
34
|
|
33
35
|
export { MenuOptionGroup, type MenuOptionGroupProps };
|
package/dist/menu.d.mts
CHANGED
@@ -6,8 +6,8 @@ import { PopoverProps } from '@yamada-ui/popover';
|
|
6
6
|
|
7
7
|
declare const useMenuDescendantsContext: () => {
|
8
8
|
register: (nodeOrOptions: HTMLElement | {
|
9
|
-
disabled?: boolean
|
10
|
-
id?: string
|
9
|
+
disabled?: boolean;
|
10
|
+
id?: string;
|
11
11
|
filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined;
|
12
12
|
} | null) => void | ((node: HTMLElement | null) => void);
|
13
13
|
unregister: (node: HTMLElement) => void;
|
@@ -30,8 +30,8 @@ declare const useMenuDescendantsContext: () => {
|
|
30
30
|
enabledNextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
|
31
31
|
};
|
32
32
|
declare const useMenuDescendant: (options?: {
|
33
|
-
disabled?: boolean
|
34
|
-
id?: string
|
33
|
+
disabled?: boolean;
|
34
|
+
id?: string;
|
35
35
|
filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined;
|
36
36
|
} | undefined) => {
|
37
37
|
descendants: {
|
package/dist/menu.d.ts
CHANGED
@@ -6,8 +6,8 @@ import { PopoverProps } from '@yamada-ui/popover';
|
|
6
6
|
|
7
7
|
declare const useMenuDescendantsContext: () => {
|
8
8
|
register: (nodeOrOptions: HTMLElement | {
|
9
|
-
disabled?: boolean
|
10
|
-
id?: string
|
9
|
+
disabled?: boolean;
|
10
|
+
id?: string;
|
11
11
|
filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined;
|
12
12
|
} | null) => void | ((node: HTMLElement | null) => void);
|
13
13
|
unregister: (node: HTMLElement) => void;
|
@@ -30,8 +30,8 @@ declare const useMenuDescendantsContext: () => {
|
|
30
30
|
enabledNextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
|
31
31
|
};
|
32
32
|
declare const useMenuDescendant: (options?: {
|
33
|
-
disabled?: boolean
|
34
|
-
id?: string
|
33
|
+
disabled?: boolean;
|
34
|
+
id?: string;
|
35
35
|
filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined;
|
36
36
|
} | undefined) => {
|
37
37
|
descendants: {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@yamada-ui/menu",
|
3
|
-
"version": "1.3.
|
3
|
+
"version": "1.3.4-dev-20240624102031",
|
4
4
|
"description": "Yamada UI menu component",
|
5
5
|
"keywords": [
|
6
6
|
"yamada",
|
@@ -36,12 +36,12 @@
|
|
36
36
|
"url": "https://github.com/yamada-ui/yamada-ui/issues"
|
37
37
|
},
|
38
38
|
"dependencies": {
|
39
|
-
"@yamada-ui/core": "1.
|
39
|
+
"@yamada-ui/core": "1.9.0-dev-20240624102031",
|
40
40
|
"@yamada-ui/utils": "1.3.0",
|
41
|
-
"@yamada-ui/popover": "1.2.
|
42
|
-
"@yamada-ui/motion": "2.0.
|
43
|
-
"@yamada-ui/transitions": "1.0.
|
44
|
-
"@yamada-ui/icon": "1.0.
|
41
|
+
"@yamada-ui/popover": "1.2.4-dev-20240624102031",
|
42
|
+
"@yamada-ui/motion": "2.0.1-dev-20240624102031",
|
43
|
+
"@yamada-ui/transitions": "1.0.31-dev-20240624102031",
|
44
|
+
"@yamada-ui/icon": "1.0.30-dev-20240624102031",
|
45
45
|
"@yamada-ui/use-disclosure": "1.0.15",
|
46
46
|
"@yamada-ui/use-descendant": "1.0.16",
|
47
47
|
"@yamada-ui/use-clickable": "1.2.3",
|