@yamada-ui/autocomplete 1.6.1-next-20241022143327 → 1.6.2-dev-20241026093521

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,81 +42,29 @@ declare const useAutocompleteDescendant: (options?: {
42
42
  filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined;
43
43
  } | undefined) => {
44
44
  descendants: {
45
- count: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
46
- [key: string]: any;
47
- }> | undefined) => number;
45
+ count: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => number;
48
46
  destroy: () => void;
49
- enabledCount: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
50
- [key: string]: any;
51
- }> | undefined) => number;
52
- enabledFirstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
53
- [key: string]: any;
54
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
55
- [key: string]: any;
56
- }> | undefined;
57
- enabledIndexOf: (node?: HTMLElement | null | undefined, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
58
- [key: string]: any;
59
- }> | undefined) => number;
60
- enabledLastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
61
- [key: string]: any;
62
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
63
- [key: string]: any;
64
- }> | undefined;
65
- enabledNextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
66
- [key: string]: any;
67
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
68
- [key: string]: any;
69
- }> | undefined;
70
- enabledPrevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
71
- [key: string]: any;
72
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
73
- [key: string]: any;
74
- }> | undefined;
75
- enabledValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
76
- [key: string]: any;
77
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
78
- [key: string]: any;
79
- }> | undefined;
80
- enabledValues: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
81
- [key: string]: any;
82
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
83
- [key: string]: any;
84
- }>[];
85
- firstValue: (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;
47
+ enabledCount: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => number;
48
+ enabledFirstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
49
+ enabledIndexOf: (node?: HTMLElement | null | undefined, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => number;
50
+ enabledLastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
51
+ enabledNextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
52
+ enabledPrevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
53
+ enabledValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
54
+ enabledValues: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}>[];
55
+ firstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
90
56
  indexOf: (node?: HTMLElement | null | undefined) => number;
91
- lastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
92
- [key: string]: any;
93
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
94
- [key: string]: any;
95
- }> | undefined;
96
- nextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
97
- [key: string]: any;
98
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
99
- [key: string]: any;
100
- }> | undefined;
101
- prevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
102
- [key: string]: any;
103
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
104
- [key: string]: any;
105
- }> | undefined;
106
- register: (nodeOrOptions?: HTMLElement | _yamada_ui_use_descendant.DescendantOptions<HTMLElement, {
107
- [key: string]: any;
108
- }> | null | undefined) => void | ((node: HTMLElement | null) => void);
57
+ lastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
58
+ nextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
59
+ prevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
60
+ register: (nodeOrOptions?: HTMLElement | {
61
+ id?: string;
62
+ disabled?: boolean;
63
+ filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined;
64
+ } | null | undefined) => void | ((node: HTMLElement | null) => void);
109
65
  unregister: (node?: HTMLElement | undefined) => void;
110
- value: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
111
- [key: string]: any;
112
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
113
- [key: string]: any;
114
- }> | undefined;
115
- values: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
116
- [key: string]: any;
117
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
118
- [key: string]: any;
119
- }>[];
66
+ value: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
67
+ values: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}>[];
120
68
  };
121
69
  enabledIndex: number;
122
70
  index: number;
@@ -42,81 +42,29 @@ declare const useAutocompleteDescendant: (options?: {
42
42
  filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined;
43
43
  } | undefined) => {
44
44
  descendants: {
45
- count: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
46
- [key: string]: any;
47
- }> | undefined) => number;
45
+ count: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => number;
48
46
  destroy: () => void;
49
- enabledCount: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
50
- [key: string]: any;
51
- }> | undefined) => number;
52
- enabledFirstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
53
- [key: string]: any;
54
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
55
- [key: string]: any;
56
- }> | undefined;
57
- enabledIndexOf: (node?: HTMLElement | null | undefined, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
58
- [key: string]: any;
59
- }> | undefined) => number;
60
- enabledLastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
61
- [key: string]: any;
62
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
63
- [key: string]: any;
64
- }> | undefined;
65
- enabledNextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
66
- [key: string]: any;
67
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
68
- [key: string]: any;
69
- }> | undefined;
70
- enabledPrevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
71
- [key: string]: any;
72
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
73
- [key: string]: any;
74
- }> | undefined;
75
- enabledValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
76
- [key: string]: any;
77
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
78
- [key: string]: any;
79
- }> | undefined;
80
- enabledValues: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
81
- [key: string]: any;
82
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
83
- [key: string]: any;
84
- }>[];
85
- firstValue: (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;
47
+ enabledCount: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => number;
48
+ enabledFirstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
49
+ enabledIndexOf: (node?: HTMLElement | null | undefined, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => number;
50
+ enabledLastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
51
+ enabledNextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
52
+ enabledPrevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
53
+ enabledValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
54
+ enabledValues: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}>[];
55
+ firstValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
90
56
  indexOf: (node?: HTMLElement | null | undefined) => number;
91
- lastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
92
- [key: string]: any;
93
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
94
- [key: string]: any;
95
- }> | undefined;
96
- nextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
97
- [key: string]: any;
98
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
99
- [key: string]: any;
100
- }> | undefined;
101
- prevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
102
- [key: string]: any;
103
- }> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
104
- [key: string]: any;
105
- }> | undefined;
106
- register: (nodeOrOptions?: HTMLElement | _yamada_ui_use_descendant.DescendantOptions<HTMLElement, {
107
- [key: string]: any;
108
- }> | null | undefined) => void | ((node: HTMLElement | null) => void);
57
+ lastValue: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
58
+ nextValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
59
+ prevValue: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined, loop?: boolean) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
60
+ register: (nodeOrOptions?: HTMLElement | {
61
+ id?: string;
62
+ disabled?: boolean;
63
+ filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined;
64
+ } | null | undefined) => void | ((node: HTMLElement | null) => void);
109
65
  unregister: (node?: HTMLElement | undefined) => void;
110
- value: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
111
- [key: string]: any;
112
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
113
- [key: string]: any;
114
- }> | undefined;
115
- values: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {
116
- [key: string]: any;
117
- }> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {
118
- [key: string]: any;
119
- }>[];
66
+ value: (index: number, filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}> | undefined;
67
+ values: (filter?: _yamada_ui_use_descendant.FilterDescendant<HTMLElement, {}> | undefined) => _yamada_ui_use_descendant.Descendant<HTMLElement, {}>[];
120
68
  };
121
69
  enabledIndex: number;
122
70
  index: number;
@@ -141,12 +141,12 @@ declare const useAutocomplete: <T extends MaybeValue = string>(props: UseAutocom
141
141
  setFocusedIndex: react.Dispatch<react.SetStateAction<number>>;
142
142
  value: T;
143
143
  formControlProps: {
144
- disabled: boolean | undefined;
145
144
  _active?: ({} & _yamada_ui_core.CSSUIObject) | undefined;
146
145
  _focus?: ({} & _yamada_ui_core.CSSUIObject) | undefined;
147
146
  _focusVisible?: ({} & _yamada_ui_core.CSSUIObject) | undefined;
148
147
  _hover?: ({} & _yamada_ui_core.CSSUIObject) | undefined;
149
148
  _invalid?: ({} & _yamada_ui_core.CSSUIObject) | undefined;
149
+ disabled: boolean | undefined;
150
150
  readOnly: boolean | undefined;
151
151
  required: boolean | undefined;
152
152
  "aria-disabled": boolean | undefined;
@@ -141,12 +141,12 @@ declare const useAutocomplete: <T extends MaybeValue = string>(props: UseAutocom
141
141
  setFocusedIndex: react.Dispatch<react.SetStateAction<number>>;
142
142
  value: T;
143
143
  formControlProps: {
144
- disabled: boolean | undefined;
145
144
  _active?: ({} & _yamada_ui_core.CSSUIObject) | undefined;
146
145
  _focus?: ({} & _yamada_ui_core.CSSUIObject) | undefined;
147
146
  _focusVisible?: ({} & _yamada_ui_core.CSSUIObject) | undefined;
148
147
  _hover?: ({} & _yamada_ui_core.CSSUIObject) | undefined;
149
148
  _invalid?: ({} & _yamada_ui_core.CSSUIObject) | undefined;
149
+ disabled: boolean | undefined;
150
150
  readOnly: boolean | undefined;
151
151
  required: boolean | undefined;
152
152
  "aria-disabled": boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/autocomplete",
3
- "version": "1.6.1-next-20241022143327",
3
+ "version": "1.6.2-dev-20241026093521",
4
4
  "description": "Yamada UI autocomplete component",
5
5
  "keywords": [
6
6
  "yamada",
@@ -37,18 +37,18 @@
37
37
  "url": "https://github.com/yamada-ui/yamada-ui/issues"
38
38
  },
39
39
  "dependencies": {
40
- "@yamada-ui/core": "1.15.3-next-20241022143327",
41
- "@yamada-ui/form-control": "2.1.5-next-20241022143327",
42
- "@yamada-ui/icon": "1.1.9-next-20241022143327",
43
- "@yamada-ui/motion": "2.2.5-next-20241022143327",
44
- "@yamada-ui/popover": "1.3.5-next-20241022143327",
45
- "@yamada-ui/portal": "1.0.24-next-20241022143327",
46
- "@yamada-ui/use-clickable": "1.2.11-next-20241022143327",
47
- "@yamada-ui/use-controllable-state": "1.0.23-next-20241022143327",
48
- "@yamada-ui/use-descendant": "1.0.24-next-20241022143327",
49
- "@yamada-ui/use-disclosure": "1.0.23-next-20241022143327",
50
- "@yamada-ui/use-outside-click": "1.0.23-next-20241022143327",
51
- "@yamada-ui/utils": "1.5.4-next-20241022143327"
40
+ "@yamada-ui/core": "1.15.3",
41
+ "@yamada-ui/form-control": "2.1.5",
42
+ "@yamada-ui/icon": "1.1.9",
43
+ "@yamada-ui/motion": "2.2.5",
44
+ "@yamada-ui/popover": "1.3.5",
45
+ "@yamada-ui/portal": "1.0.24",
46
+ "@yamada-ui/use-clickable": "1.2.11",
47
+ "@yamada-ui/use-controllable-state": "1.0.23",
48
+ "@yamada-ui/use-descendant": "1.0.25-dev-20241026093521",
49
+ "@yamada-ui/use-disclosure": "1.1.0",
50
+ "@yamada-ui/use-outside-click": "1.0.23",
51
+ "@yamada-ui/utils": "1.5.4"
52
52
  },
53
53
  "devDependencies": {
54
54
  "clean-package": "2.2.0",