@yamada-ui/menu 1.3.16 → 1.3.17-dev-20241026110242

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,81 +36,29 @@ declare const useMenuDescendant: (options?: {
36
36
  filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined;
37
37
  } | undefined) => {
38
38
  descendants: {
39
- count: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
40
- [key: string]: any;
41
- }> | undefined) => number;
39
+ count: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => number;
42
40
  destroy: () => void;
43
- enabledCount: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
44
- [key: string]: any;
45
- }> | undefined) => number;
46
- enabledFirstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
47
- [key: string]: any;
48
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
49
- [key: string]: any;
50
- }> | undefined;
51
- enabledIndexOf: (node?: HTMLElement | null | undefined, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
52
- [key: string]: any;
53
- }> | undefined) => number;
54
- enabledLastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
55
- [key: string]: any;
56
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
57
- [key: string]: any;
58
- }> | undefined;
59
- enabledNextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
60
- [key: string]: any;
61
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
62
- [key: string]: any;
63
- }> | undefined;
64
- enabledPrevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
65
- [key: string]: any;
66
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
67
- [key: string]: any;
68
- }> | undefined;
69
- enabledValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
70
- [key: string]: any;
71
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
72
- [key: string]: any;
73
- }> | undefined;
74
- enabledValues: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
75
- [key: string]: any;
76
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
77
- [key: string]: any;
78
- }>[];
79
- firstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
80
- [key: string]: any;
81
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
82
- [key: string]: any;
83
- }> | undefined;
41
+ enabledCount: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => number;
42
+ enabledFirstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
43
+ enabledIndexOf: (node?: HTMLElement | null | undefined, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => number;
44
+ enabledLastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
45
+ enabledNextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
46
+ enabledPrevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
47
+ enabledValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
48
+ enabledValues: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}>[];
49
+ firstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
84
50
  indexOf: (node?: HTMLElement | null | undefined) => number;
85
- lastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
86
- [key: string]: any;
87
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
88
- [key: string]: any;
89
- }> | undefined;
90
- nextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
91
- [key: string]: any;
92
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
93
- [key: string]: any;
94
- }> | undefined;
95
- prevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
96
- [key: string]: any;
97
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
98
- [key: string]: any;
99
- }> | undefined;
100
- register: (nodeOrOptions?: HTMLElement | _yamada_ui_use_descendant.DescendantOptions<HTMLElement, {
101
- [key: string]: any;
102
- }> | null | undefined) => void | ((node: HTMLElement | null) => void);
51
+ lastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
52
+ nextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
53
+ prevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
54
+ register: (nodeOrOptions?: HTMLElement | {
55
+ id?: string;
56
+ disabled?: boolean;
57
+ filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined;
58
+ } | null | undefined) => void | ((node: HTMLElement | null) => void);
103
59
  unregister: (node?: HTMLElement | undefined) => void;
104
- value: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
105
- [key: string]: any;
106
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
107
- [key: string]: any;
108
- }> | undefined;
109
- values: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
110
- [key: string]: any;
111
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
112
- [key: string]: any;
113
- }>[];
60
+ value: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
61
+ values: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}>[];
114
62
  };
115
63
  enabledIndex: number;
116
64
  index: number;
@@ -36,81 +36,29 @@ declare const useMenuDescendant: (options?: {
36
36
  filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined;
37
37
  } | undefined) => {
38
38
  descendants: {
39
- count: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
40
- [key: string]: any;
41
- }> | undefined) => number;
39
+ count: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => number;
42
40
  destroy: () => void;
43
- enabledCount: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
44
- [key: string]: any;
45
- }> | undefined) => number;
46
- enabledFirstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
47
- [key: string]: any;
48
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
49
- [key: string]: any;
50
- }> | undefined;
51
- enabledIndexOf: (node?: HTMLElement | null | undefined, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
52
- [key: string]: any;
53
- }> | undefined) => number;
54
- enabledLastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
55
- [key: string]: any;
56
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
57
- [key: string]: any;
58
- }> | undefined;
59
- enabledNextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
60
- [key: string]: any;
61
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
62
- [key: string]: any;
63
- }> | undefined;
64
- enabledPrevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
65
- [key: string]: any;
66
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
67
- [key: string]: any;
68
- }> | undefined;
69
- enabledValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
70
- [key: string]: any;
71
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
72
- [key: string]: any;
73
- }> | undefined;
74
- enabledValues: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
75
- [key: string]: any;
76
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
77
- [key: string]: any;
78
- }>[];
79
- firstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
80
- [key: string]: any;
81
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
82
- [key: string]: any;
83
- }> | undefined;
41
+ enabledCount: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => number;
42
+ enabledFirstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
43
+ enabledIndexOf: (node?: HTMLElement | null | undefined, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => number;
44
+ enabledLastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
45
+ enabledNextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
46
+ enabledPrevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
47
+ enabledValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
48
+ enabledValues: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}>[];
49
+ firstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
84
50
  indexOf: (node?: HTMLElement | null | undefined) => number;
85
- lastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
86
- [key: string]: any;
87
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
88
- [key: string]: any;
89
- }> | undefined;
90
- nextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
91
- [key: string]: any;
92
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
93
- [key: string]: any;
94
- }> | undefined;
95
- prevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
96
- [key: string]: any;
97
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
98
- [key: string]: any;
99
- }> | undefined;
100
- register: (nodeOrOptions?: HTMLElement | _yamada_ui_use_descendant.DescendantOptions<HTMLElement, {
101
- [key: string]: any;
102
- }> | null | undefined) => void | ((node: HTMLElement | null) => void);
51
+ lastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
52
+ nextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
53
+ prevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
54
+ register: (nodeOrOptions?: HTMLElement | {
55
+ id?: string;
56
+ disabled?: boolean;
57
+ filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined;
58
+ } | null | undefined) => void | ((node: HTMLElement | null) => void);
103
59
  unregister: (node?: HTMLElement | undefined) => void;
104
- value: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
105
- [key: string]: any;
106
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
107
- [key: string]: any;
108
- }> | undefined;
109
- values: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
110
- [key: string]: any;
111
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
112
- [key: string]: any;
113
- }>[];
60
+ value: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
61
+ values: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}>[];
114
62
  };
115
63
  enabledIndex: number;
116
64
  index: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/menu",
3
- "version": "1.3.16",
3
+ "version": "1.3.17-dev-20241026110242",
4
4
  "description": "Yamada UI menu component",
5
5
  "keywords": [
6
6
  "yamada",
@@ -43,7 +43,7 @@
43
43
  "@yamada-ui/transitions": "1.1.8",
44
44
  "@yamada-ui/use-clickable": "1.2.11",
45
45
  "@yamada-ui/use-controllable-state": "1.0.23",
46
- "@yamada-ui/use-descendant": "1.0.24",
46
+ "@yamada-ui/use-descendant": "1.0.25-dev-20241026110242",
47
47
  "@yamada-ui/use-disclosure": "1.1.0",
48
48
  "@yamada-ui/utils": "1.5.4"
49
49
  },