@yamada-ui/autocomplete 0.1.4 → 0.1.6
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/autocomplete-option-group.d.ts +1 -1
- package/dist/autocomplete-option.d.ts +1 -1
- package/dist/autocomplete.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/multi-autocomplete.d.ts +1 -1
- package/dist/{use-autocomplete-f95f21d6.d.ts → use-autocomplete-42515ffb.d.ts} +11 -11
- package/dist/use-autocomplete.d.ts +1 -1
- package/package.json +11 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _yamada_ui_core from '@yamada-ui/core';
|
|
2
2
|
import { HTMLUIProps } from '@yamada-ui/core';
|
|
3
|
-
import { U as UseAutocompleteOptionGroupProps } from './use-autocomplete-
|
|
3
|
+
import { U as UseAutocompleteOptionGroupProps } from './use-autocomplete-42515ffb.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@yamada-ui/form-control';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@yamada-ui/core';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { a as AutocompleteOption, A as AutocompleteOptionProps } from './use-autocomplete-
|
|
3
|
+
export { a as AutocompleteOption, A as AutocompleteOptionProps } from './use-autocomplete-42515ffb.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import '@yamada-ui/form-control';
|
|
6
6
|
import '@yamada-ui/popover';
|
package/dist/autocomplete.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as _yamada_ui_core from '@yamada-ui/core';
|
|
|
2
2
|
import { ThemeProps, HTMLUIProps } from '@yamada-ui/core';
|
|
3
3
|
import { AutocompleteIconProps } from './autocomplete-icon.js';
|
|
4
4
|
import { AutocompleteListProps } from './autocomplete-list.js';
|
|
5
|
-
import { b as UseAutocompleteProps } from './use-autocomplete-
|
|
5
|
+
import { b as UseAutocompleteProps } from './use-autocomplete-42515ffb.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import '@yamada-ui/form-control';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Autocomplete, AutocompleteProps } from './autocomplete.js';
|
|
2
2
|
export { AutocompleteOptionGroup, AutocompleteOptionGroupProps } from './autocomplete-option-group.js';
|
|
3
|
-
export { a as AutocompleteOption, A as AutocompleteOptionProps } from './use-autocomplete-
|
|
3
|
+
export { a as AutocompleteOption, A as AutocompleteOptionProps } from './use-autocomplete-42515ffb.js';
|
|
4
4
|
export { AutocompleteCreate, AutocompleteCreateProps } from './autocomplete-create.js';
|
|
5
5
|
export { AutocompleteEmpty, AutocompleteEmptyProps } from './autocomplete-empty.js';
|
|
6
6
|
export { MultiAutocomplete, MultiAutocompleteProps } from './multi-autocomplete.js';
|
|
@@ -3,7 +3,7 @@ import { ThemeProps, HTMLUIProps } from '@yamada-ui/core';
|
|
|
3
3
|
import { FC, MouseEventHandler } from 'react';
|
|
4
4
|
import { AutocompleteIconProps } from './autocomplete-icon.js';
|
|
5
5
|
import { AutocompleteListProps } from './autocomplete-list.js';
|
|
6
|
-
import { b as UseAutocompleteProps } from './use-autocomplete-
|
|
6
|
+
import { b as UseAutocompleteProps } from './use-autocomplete-42515ffb.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import '@yamada-ui/form-control';
|
|
9
9
|
import '@yamada-ui/popover';
|
|
@@ -6,7 +6,7 @@ import { HTMLUIProps, CSSUIObject } from '@yamada-ui/core';
|
|
|
6
6
|
import { FormControlOptions } from '@yamada-ui/form-control';
|
|
7
7
|
import { PopoverProps } from '@yamada-ui/popover';
|
|
8
8
|
import { UIOption } from '@yamada-ui/select';
|
|
9
|
-
import { PropGetter,
|
|
9
|
+
import { PropGetter, Dict, DOMAttributes, Union } from '@yamada-ui/utils';
|
|
10
10
|
|
|
11
11
|
type AutocompleteOptionOptions = {
|
|
12
12
|
icon?: ReactElement;
|
|
@@ -4002,25 +4002,25 @@ declare const useAutocomplete: <T extends MaybeValue = string>({ defaultIsOpen,
|
|
|
4002
4002
|
onFocusNext: (index?: number) => void;
|
|
4003
4003
|
onFocusPrev: (index?: number) => void;
|
|
4004
4004
|
getPopoverProps: (props?: PopoverProps) => PopoverProps;
|
|
4005
|
-
getContainerProps: PropGetter
|
|
4006
|
-
getFieldProps: PropGetter
|
|
4007
|
-
inputProps: Omit<Omit<Dict
|
|
4005
|
+
getContainerProps: PropGetter;
|
|
4006
|
+
getFieldProps: PropGetter;
|
|
4007
|
+
inputProps: Omit<Omit<Dict, "value" | "id" | "onChange" | "month" | "onChangeMonth">, any>;
|
|
4008
4008
|
};
|
|
4009
4009
|
type UseAutocompleteReturn = ReturnType<typeof useAutocomplete>;
|
|
4010
4010
|
declare const useAutocompleteInput: () => {
|
|
4011
|
-
getInputProps: PropGetter
|
|
4011
|
+
getInputProps: PropGetter;
|
|
4012
4012
|
};
|
|
4013
4013
|
type UseAutocompleteInputReturn = ReturnType<typeof useAutocompleteInput>;
|
|
4014
4014
|
declare const useAutocompleteList: () => {
|
|
4015
|
-
getListProps: PropGetter
|
|
4015
|
+
getListProps: PropGetter;
|
|
4016
4016
|
};
|
|
4017
4017
|
type UseAutocompleteOptionGroupProps = HTMLUIProps<'ul'> & {
|
|
4018
4018
|
label: string;
|
|
4019
4019
|
};
|
|
4020
4020
|
declare const useAutocompleteOptionGroup: ({ label, ...rest }: UseAutocompleteOptionGroupProps) => {
|
|
4021
4021
|
label: string;
|
|
4022
|
-
getContainerProps: PropGetter
|
|
4023
|
-
getGroupProps: PropGetter
|
|
4022
|
+
getContainerProps: PropGetter;
|
|
4023
|
+
getGroupProps: PropGetter;
|
|
4024
4024
|
};
|
|
4025
4025
|
type UseAutocompleteOptionGroupReturn = ReturnType<typeof useAutocompleteOptionGroup>;
|
|
4026
4026
|
type UseAutocompleteOptionProps = Omit<HTMLUIProps<'li'>, 'value' | 'children'> & {
|
|
@@ -4035,15 +4035,15 @@ declare const useAutocompleteOption: (props: UseAutocompleteOptionProps) => {
|
|
|
4035
4035
|
isFocused: boolean;
|
|
4036
4036
|
customIcon: react.ReactElement<any, string | react.JSXElementConstructor<any>> | undefined;
|
|
4037
4037
|
children: string | undefined;
|
|
4038
|
-
getOptionProps: PropGetter
|
|
4038
|
+
getOptionProps: PropGetter;
|
|
4039
4039
|
};
|
|
4040
4040
|
type UseAutocompleteOptionReturn = ReturnType<typeof useAutocompleteOption>;
|
|
4041
4041
|
declare const useAutocompleteCreate: () => {
|
|
4042
|
-
getCreateProps: PropGetter
|
|
4042
|
+
getCreateProps: PropGetter;
|
|
4043
4043
|
};
|
|
4044
4044
|
type UseAutocompleteCreateReturn = ReturnType<typeof useAutocompleteCreate>;
|
|
4045
4045
|
declare const useAutocompleteEmpty: () => {
|
|
4046
|
-
getEmptyProps: PropGetter
|
|
4046
|
+
getEmptyProps: PropGetter;
|
|
4047
4047
|
};
|
|
4048
4048
|
type UseAutocompleteEmptyReturn = ReturnType<typeof useAutocompleteEmpty>;
|
|
4049
4049
|
|
|
@@ -5,4 +5,4 @@ import '@yamada-ui/form-control';
|
|
|
5
5
|
import '@yamada-ui/popover';
|
|
6
6
|
import '@yamada-ui/select';
|
|
7
7
|
import '@yamada-ui/utils';
|
|
8
|
-
export { c as AutocompleteDescendantsContextProvider, f as AutocompleteProvider, M as MaybeValue, s as UseAutocompleteCreateReturn, v as UseAutocompleteEmptyReturn, k as UseAutocompleteInputReturn, U as UseAutocompleteOptionGroupProps, n as UseAutocompleteOptionGroupReturn, o as UseAutocompleteOptionProps, q as UseAutocompleteOptionReturn, b as UseAutocompleteProps, i as UseAutocompleteReturn, h as useAutocomplete, g as useAutocompleteContext, r as useAutocompleteCreate, e as useAutocompleteDescendant, d as useAutocompleteDescendants, u as useAutocompleteDescendantsContext, t as useAutocompleteEmpty, j as useAutocompleteInput, l as useAutocompleteList, p as useAutocompleteOption, m as useAutocompleteOptionGroup } from './use-autocomplete-
|
|
8
|
+
export { c as AutocompleteDescendantsContextProvider, f as AutocompleteProvider, M as MaybeValue, s as UseAutocompleteCreateReturn, v as UseAutocompleteEmptyReturn, k as UseAutocompleteInputReturn, U as UseAutocompleteOptionGroupProps, n as UseAutocompleteOptionGroupReturn, o as UseAutocompleteOptionProps, q as UseAutocompleteOptionReturn, b as UseAutocompleteProps, i as UseAutocompleteReturn, h as useAutocomplete, g as useAutocompleteContext, r as useAutocompleteCreate, e as useAutocompleteDescendant, d as useAutocompleteDescendants, u as useAutocompleteDescendantsContext, t as useAutocompleteEmpty, j as useAutocompleteInput, l as useAutocompleteList, p as useAutocompleteOption, m as useAutocompleteOptionGroup } from './use-autocomplete-42515ffb.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/autocomplete",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Yamada UI autocomplete component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yamada",
|
|
@@ -36,16 +36,16 @@
|
|
|
36
36
|
"url": "https://github.com/hirotomoyamada/yamada-ui/issues"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@yamada-ui/core": "0.1.
|
|
40
|
-
"@yamada-ui/utils": "0.1.
|
|
41
|
-
"@yamada-ui/icon": "0.1.
|
|
42
|
-
"@yamada-ui/select": "0.1.
|
|
43
|
-
"@yamada-ui/form-control": "0.1.
|
|
44
|
-
"@yamada-ui/popover": "0.1.
|
|
45
|
-
"@yamada-ui/use-descendant": "0.1.
|
|
46
|
-
"@yamada-ui/use-clickable": "0.1.
|
|
47
|
-
"@yamada-ui/use-outside-click": "0.1.
|
|
48
|
-
"@yamada-ui/use-controllable-state": "0.1.
|
|
39
|
+
"@yamada-ui/core": "0.1.6",
|
|
40
|
+
"@yamada-ui/utils": "0.1.1",
|
|
41
|
+
"@yamada-ui/icon": "0.1.6",
|
|
42
|
+
"@yamada-ui/select": "0.1.6",
|
|
43
|
+
"@yamada-ui/form-control": "0.1.6",
|
|
44
|
+
"@yamada-ui/popover": "0.1.6",
|
|
45
|
+
"@yamada-ui/use-descendant": "0.1.1",
|
|
46
|
+
"@yamada-ui/use-clickable": "0.1.1",
|
|
47
|
+
"@yamada-ui/use-outside-click": "0.1.1",
|
|
48
|
+
"@yamada-ui/use-controllable-state": "0.1.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"react": "^18.0.0",
|