@heroui/autocomplete 2.3.29 → 2.3.31
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.js +8 -8
- package/dist/autocomplete.mjs +2 -2
- package/dist/{chunk-IQYJV2AF.mjs → chunk-NJJHRP6D.mjs} +10 -10
- package/dist/{chunk-DM2TGBNX.mjs → chunk-RXKUWVQZ.mjs} +1 -1
- package/dist/index.js +8 -8
- package/dist/index.mjs +2 -2
- package/dist/use-autocomplete.js +8 -8
- package/dist/use-autocomplete.mjs +1 -1
- package/package.json +13 -13
package/dist/autocomplete.js
CHANGED
|
@@ -50,7 +50,7 @@ function useAutocomplete(originalProps) {
|
|
|
50
50
|
const { validationBehavior: formValidationBehavior } = (0, import_form.useSlottedContext)(import_form.FormContext) || {};
|
|
51
51
|
const [props, variantProps] = (0, import_system.mapPropsVariants)(originalProps, import_theme.autocomplete.variantKeys);
|
|
52
52
|
const disableAnimation = (_b = (_a = originalProps.disableAnimation) != null ? _a : globalContext == null ? void 0 : globalContext.disableAnimation) != null ? _b : false;
|
|
53
|
-
const isClearable = originalProps.disableClearable !== void 0 ? !originalProps.disableClearable : originalProps.isReadOnly ? false : originalProps.isClearable;
|
|
53
|
+
const isClearable = originalProps.disableClearable !== void 0 ? !originalProps.disableClearable : originalProps.isDisabled ? false : originalProps.isReadOnly ? false : originalProps.isClearable;
|
|
54
54
|
const {
|
|
55
55
|
ref,
|
|
56
56
|
as,
|
|
@@ -172,7 +172,7 @@ function useAutocomplete(originalProps) {
|
|
|
172
172
|
),
|
|
173
173
|
listboxProps: (0, import_shared_utils.mergeProps)(
|
|
174
174
|
{
|
|
175
|
-
hideEmptyContent: allowsCustomValue,
|
|
175
|
+
hideEmptyContent: allowsCustomValue && !(listboxProps == null ? void 0 : listboxProps.emptyContent),
|
|
176
176
|
emptyContent: "No results found.",
|
|
177
177
|
disableAnimation
|
|
178
178
|
},
|
|
@@ -202,7 +202,7 @@ function useAutocomplete(originalProps) {
|
|
|
202
202
|
clearButtonProps
|
|
203
203
|
)
|
|
204
204
|
};
|
|
205
|
-
const baseStyles = (0,
|
|
205
|
+
const baseStyles = (0, import_theme.cn)(classNames == null ? void 0 : classNames.base, className);
|
|
206
206
|
const isOpen = ((_e = slotsProps.listboxProps) == null ? void 0 : _e.hideEmptyContent) ? state.isOpen && !!state.collection.size : state.isOpen;
|
|
207
207
|
(0, import_use_safe_layout_effect.useSafeLayoutEffect)(() => {
|
|
208
208
|
if (!inputRef.current) return;
|
|
@@ -278,7 +278,7 @@ function useAutocomplete(originalProps) {
|
|
|
278
278
|
...(0, import_shared_utils.mergeProps)(buttonProps, slotsProps.selectorButtonProps),
|
|
279
279
|
"data-open": (0, import_shared_utils.dataAttr)(state.isOpen),
|
|
280
280
|
className: slots.selectorButton({
|
|
281
|
-
class: (0,
|
|
281
|
+
class: (0, import_theme.cn)(classNames == null ? void 0 : classNames.selectorButton, (_a2 = slotsProps.selectorButtonProps) == null ? void 0 : _a2.className)
|
|
282
282
|
})
|
|
283
283
|
};
|
|
284
284
|
};
|
|
@@ -305,7 +305,7 @@ function useAutocomplete(originalProps) {
|
|
|
305
305
|
},
|
|
306
306
|
"data-visible": !!state.selectedItem || ((_a2 = state.inputValue) == null ? void 0 : _a2.length) > 0,
|
|
307
307
|
className: slots.clearButton({
|
|
308
|
-
class: (0,
|
|
308
|
+
class: (0, import_theme.cn)(classNames == null ? void 0 : classNames.clearButton, (_b2 = slotsProps.clearButtonProps) == null ? void 0 : _b2.className)
|
|
309
309
|
})
|
|
310
310
|
};
|
|
311
311
|
};
|
|
@@ -348,7 +348,7 @@ function useAutocomplete(originalProps) {
|
|
|
348
348
|
classNames: {
|
|
349
349
|
...(_a2 = slotsProps.popoverProps) == null ? void 0 : _a2.classNames,
|
|
350
350
|
content: slots.popoverContent({
|
|
351
|
-
class: (0,
|
|
351
|
+
class: (0, import_theme.cn)(
|
|
352
352
|
classNames == null ? void 0 : classNames.popoverContent,
|
|
353
353
|
(_c2 = (_b2 = slotsProps.popoverProps) == null ? void 0 : _b2.classNames) == null ? void 0 : _c2["content"],
|
|
354
354
|
props2.className
|
|
@@ -371,7 +371,7 @@ function useAutocomplete(originalProps) {
|
|
|
371
371
|
return {
|
|
372
372
|
...(0, import_shared_utils.mergeProps)(slotsProps.scrollShadowProps, props2),
|
|
373
373
|
className: slots.listboxWrapper({
|
|
374
|
-
class: (0,
|
|
374
|
+
class: (0, import_theme.cn)(
|
|
375
375
|
classNames == null ? void 0 : classNames.listboxWrapper,
|
|
376
376
|
(_a2 = slotsProps.scrollShadowProps) == null ? void 0 : _a2.className,
|
|
377
377
|
props2 == null ? void 0 : props2.className
|
|
@@ -384,7 +384,7 @@ function useAutocomplete(originalProps) {
|
|
|
384
384
|
};
|
|
385
385
|
const getEndContentWrapperProps = (props2 = {}) => ({
|
|
386
386
|
className: slots.endContentWrapper({
|
|
387
|
-
class: (0,
|
|
387
|
+
class: (0, import_theme.cn)(classNames == null ? void 0 : classNames.endContentWrapper, props2 == null ? void 0 : props2.className)
|
|
388
388
|
}),
|
|
389
389
|
onPointerDown: (0, import_shared_utils.chain)(props2.onPointerDown, (e) => {
|
|
390
390
|
var _a2;
|
package/dist/autocomplete.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
// src/use-autocomplete.ts
|
|
4
|
-
import {
|
|
4
|
+
import { dataAttr, objectToDeps, chain, mergeProps } from "@heroui/shared-utils";
|
|
5
5
|
import { useEffect, useMemo, useRef } from "react";
|
|
6
6
|
import { useDOMRef } from "@heroui/react-utils";
|
|
7
7
|
import { useComboBoxState } from "@react-stately/combobox";
|
|
8
8
|
import { useFilter } from "@react-aria/i18n";
|
|
9
|
-
import { autocomplete } from "@heroui/theme";
|
|
9
|
+
import { autocomplete, cn } from "@heroui/theme";
|
|
10
10
|
import { useSafeLayoutEffect } from "@heroui/use-safe-layout-effect";
|
|
11
11
|
import { mapPropsVariants, useProviderContext } from "@heroui/system";
|
|
12
12
|
import { useComboBox } from "@react-aria/combobox";
|
|
@@ -17,7 +17,7 @@ function useAutocomplete(originalProps) {
|
|
|
17
17
|
const { validationBehavior: formValidationBehavior } = useSlottedContext(FormContext) || {};
|
|
18
18
|
const [props, variantProps] = mapPropsVariants(originalProps, autocomplete.variantKeys);
|
|
19
19
|
const disableAnimation = (_b = (_a = originalProps.disableAnimation) != null ? _a : globalContext == null ? void 0 : globalContext.disableAnimation) != null ? _b : false;
|
|
20
|
-
const isClearable = originalProps.disableClearable !== void 0 ? !originalProps.disableClearable : originalProps.isReadOnly ? false : originalProps.isClearable;
|
|
20
|
+
const isClearable = originalProps.disableClearable !== void 0 ? !originalProps.disableClearable : originalProps.isDisabled ? false : originalProps.isReadOnly ? false : originalProps.isClearable;
|
|
21
21
|
const {
|
|
22
22
|
ref,
|
|
23
23
|
as,
|
|
@@ -139,7 +139,7 @@ function useAutocomplete(originalProps) {
|
|
|
139
139
|
),
|
|
140
140
|
listboxProps: mergeProps(
|
|
141
141
|
{
|
|
142
|
-
hideEmptyContent: allowsCustomValue,
|
|
142
|
+
hideEmptyContent: allowsCustomValue && !(listboxProps == null ? void 0 : listboxProps.emptyContent),
|
|
143
143
|
emptyContent: "No results found.",
|
|
144
144
|
disableAnimation
|
|
145
145
|
},
|
|
@@ -169,7 +169,7 @@ function useAutocomplete(originalProps) {
|
|
|
169
169
|
clearButtonProps
|
|
170
170
|
)
|
|
171
171
|
};
|
|
172
|
-
const baseStyles =
|
|
172
|
+
const baseStyles = cn(classNames == null ? void 0 : classNames.base, className);
|
|
173
173
|
const isOpen = ((_e = slotsProps.listboxProps) == null ? void 0 : _e.hideEmptyContent) ? state.isOpen && !!state.collection.size : state.isOpen;
|
|
174
174
|
useSafeLayoutEffect(() => {
|
|
175
175
|
if (!inputRef.current) return;
|
|
@@ -245,7 +245,7 @@ function useAutocomplete(originalProps) {
|
|
|
245
245
|
...mergeProps(buttonProps, slotsProps.selectorButtonProps),
|
|
246
246
|
"data-open": dataAttr(state.isOpen),
|
|
247
247
|
className: slots.selectorButton({
|
|
248
|
-
class:
|
|
248
|
+
class: cn(classNames == null ? void 0 : classNames.selectorButton, (_a2 = slotsProps.selectorButtonProps) == null ? void 0 : _a2.className)
|
|
249
249
|
})
|
|
250
250
|
};
|
|
251
251
|
};
|
|
@@ -272,7 +272,7 @@ function useAutocomplete(originalProps) {
|
|
|
272
272
|
},
|
|
273
273
|
"data-visible": !!state.selectedItem || ((_a2 = state.inputValue) == null ? void 0 : _a2.length) > 0,
|
|
274
274
|
className: slots.clearButton({
|
|
275
|
-
class:
|
|
275
|
+
class: cn(classNames == null ? void 0 : classNames.clearButton, (_b2 = slotsProps.clearButtonProps) == null ? void 0 : _b2.className)
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
};
|
|
@@ -315,7 +315,7 @@ function useAutocomplete(originalProps) {
|
|
|
315
315
|
classNames: {
|
|
316
316
|
...(_a2 = slotsProps.popoverProps) == null ? void 0 : _a2.classNames,
|
|
317
317
|
content: slots.popoverContent({
|
|
318
|
-
class:
|
|
318
|
+
class: cn(
|
|
319
319
|
classNames == null ? void 0 : classNames.popoverContent,
|
|
320
320
|
(_c2 = (_b2 = slotsProps.popoverProps) == null ? void 0 : _b2.classNames) == null ? void 0 : _c2["content"],
|
|
321
321
|
props2.className
|
|
@@ -338,7 +338,7 @@ function useAutocomplete(originalProps) {
|
|
|
338
338
|
return {
|
|
339
339
|
...mergeProps(slotsProps.scrollShadowProps, props2),
|
|
340
340
|
className: slots.listboxWrapper({
|
|
341
|
-
class:
|
|
341
|
+
class: cn(
|
|
342
342
|
classNames == null ? void 0 : classNames.listboxWrapper,
|
|
343
343
|
(_a2 = slotsProps.scrollShadowProps) == null ? void 0 : _a2.className,
|
|
344
344
|
props2 == null ? void 0 : props2.className
|
|
@@ -351,7 +351,7 @@ function useAutocomplete(originalProps) {
|
|
|
351
351
|
};
|
|
352
352
|
const getEndContentWrapperProps = (props2 = {}) => ({
|
|
353
353
|
className: slots.endContentWrapper({
|
|
354
|
-
class:
|
|
354
|
+
class: cn(classNames == null ? void 0 : classNames.endContentWrapper, props2 == null ? void 0 : props2.className)
|
|
355
355
|
}),
|
|
356
356
|
onPointerDown: chain(props2.onPointerDown, (e) => {
|
|
357
357
|
var _a2;
|
package/dist/index.js
CHANGED
|
@@ -56,7 +56,7 @@ function useAutocomplete(originalProps) {
|
|
|
56
56
|
const { validationBehavior: formValidationBehavior } = (0, import_form.useSlottedContext)(import_form.FormContext) || {};
|
|
57
57
|
const [props, variantProps] = (0, import_system.mapPropsVariants)(originalProps, import_theme.autocomplete.variantKeys);
|
|
58
58
|
const disableAnimation = (_b = (_a = originalProps.disableAnimation) != null ? _a : globalContext == null ? void 0 : globalContext.disableAnimation) != null ? _b : false;
|
|
59
|
-
const isClearable = originalProps.disableClearable !== void 0 ? !originalProps.disableClearable : originalProps.isReadOnly ? false : originalProps.isClearable;
|
|
59
|
+
const isClearable = originalProps.disableClearable !== void 0 ? !originalProps.disableClearable : originalProps.isDisabled ? false : originalProps.isReadOnly ? false : originalProps.isClearable;
|
|
60
60
|
const {
|
|
61
61
|
ref,
|
|
62
62
|
as,
|
|
@@ -178,7 +178,7 @@ function useAutocomplete(originalProps) {
|
|
|
178
178
|
),
|
|
179
179
|
listboxProps: (0, import_shared_utils.mergeProps)(
|
|
180
180
|
{
|
|
181
|
-
hideEmptyContent: allowsCustomValue,
|
|
181
|
+
hideEmptyContent: allowsCustomValue && !(listboxProps == null ? void 0 : listboxProps.emptyContent),
|
|
182
182
|
emptyContent: "No results found.",
|
|
183
183
|
disableAnimation
|
|
184
184
|
},
|
|
@@ -208,7 +208,7 @@ function useAutocomplete(originalProps) {
|
|
|
208
208
|
clearButtonProps
|
|
209
209
|
)
|
|
210
210
|
};
|
|
211
|
-
const baseStyles = (0,
|
|
211
|
+
const baseStyles = (0, import_theme.cn)(classNames == null ? void 0 : classNames.base, className);
|
|
212
212
|
const isOpen = ((_e = slotsProps.listboxProps) == null ? void 0 : _e.hideEmptyContent) ? state.isOpen && !!state.collection.size : state.isOpen;
|
|
213
213
|
(0, import_use_safe_layout_effect.useSafeLayoutEffect)(() => {
|
|
214
214
|
if (!inputRef.current) return;
|
|
@@ -284,7 +284,7 @@ function useAutocomplete(originalProps) {
|
|
|
284
284
|
...(0, import_shared_utils.mergeProps)(buttonProps, slotsProps.selectorButtonProps),
|
|
285
285
|
"data-open": (0, import_shared_utils.dataAttr)(state.isOpen),
|
|
286
286
|
className: slots.selectorButton({
|
|
287
|
-
class: (0,
|
|
287
|
+
class: (0, import_theme.cn)(classNames == null ? void 0 : classNames.selectorButton, (_a2 = slotsProps.selectorButtonProps) == null ? void 0 : _a2.className)
|
|
288
288
|
})
|
|
289
289
|
};
|
|
290
290
|
};
|
|
@@ -311,7 +311,7 @@ function useAutocomplete(originalProps) {
|
|
|
311
311
|
},
|
|
312
312
|
"data-visible": !!state.selectedItem || ((_a2 = state.inputValue) == null ? void 0 : _a2.length) > 0,
|
|
313
313
|
className: slots.clearButton({
|
|
314
|
-
class: (0,
|
|
314
|
+
class: (0, import_theme.cn)(classNames == null ? void 0 : classNames.clearButton, (_b2 = slotsProps.clearButtonProps) == null ? void 0 : _b2.className)
|
|
315
315
|
})
|
|
316
316
|
};
|
|
317
317
|
};
|
|
@@ -354,7 +354,7 @@ function useAutocomplete(originalProps) {
|
|
|
354
354
|
classNames: {
|
|
355
355
|
...(_a2 = slotsProps.popoverProps) == null ? void 0 : _a2.classNames,
|
|
356
356
|
content: slots.popoverContent({
|
|
357
|
-
class: (0,
|
|
357
|
+
class: (0, import_theme.cn)(
|
|
358
358
|
classNames == null ? void 0 : classNames.popoverContent,
|
|
359
359
|
(_c2 = (_b2 = slotsProps.popoverProps) == null ? void 0 : _b2.classNames) == null ? void 0 : _c2["content"],
|
|
360
360
|
props2.className
|
|
@@ -377,7 +377,7 @@ function useAutocomplete(originalProps) {
|
|
|
377
377
|
return {
|
|
378
378
|
...(0, import_shared_utils.mergeProps)(slotsProps.scrollShadowProps, props2),
|
|
379
379
|
className: slots.listboxWrapper({
|
|
380
|
-
class: (0,
|
|
380
|
+
class: (0, import_theme.cn)(
|
|
381
381
|
classNames == null ? void 0 : classNames.listboxWrapper,
|
|
382
382
|
(_a2 = slotsProps.scrollShadowProps) == null ? void 0 : _a2.className,
|
|
383
383
|
props2 == null ? void 0 : props2.className
|
|
@@ -390,7 +390,7 @@ function useAutocomplete(originalProps) {
|
|
|
390
390
|
};
|
|
391
391
|
const getEndContentWrapperProps = (props2 = {}) => ({
|
|
392
392
|
className: slots.endContentWrapper({
|
|
393
|
-
class: (0,
|
|
393
|
+
class: (0, import_theme.cn)(classNames == null ? void 0 : classNames.endContentWrapper, props2 == null ? void 0 : props2.className)
|
|
394
394
|
}),
|
|
395
395
|
onPointerDown: (0, import_shared_utils.chain)(props2.onPointerDown, (e) => {
|
|
396
396
|
var _a2;
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
autocomplete_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RXKUWVQZ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
useAutocomplete
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NJJHRP6D.mjs";
|
|
8
8
|
|
|
9
9
|
// src/index.ts
|
|
10
10
|
import { ListboxItem, ListboxSection } from "@heroui/listbox";
|
package/dist/use-autocomplete.js
CHANGED
|
@@ -40,7 +40,7 @@ function useAutocomplete(originalProps) {
|
|
|
40
40
|
const { validationBehavior: formValidationBehavior } = (0, import_form.useSlottedContext)(import_form.FormContext) || {};
|
|
41
41
|
const [props, variantProps] = (0, import_system.mapPropsVariants)(originalProps, import_theme.autocomplete.variantKeys);
|
|
42
42
|
const disableAnimation = (_b = (_a = originalProps.disableAnimation) != null ? _a : globalContext == null ? void 0 : globalContext.disableAnimation) != null ? _b : false;
|
|
43
|
-
const isClearable = originalProps.disableClearable !== void 0 ? !originalProps.disableClearable : originalProps.isReadOnly ? false : originalProps.isClearable;
|
|
43
|
+
const isClearable = originalProps.disableClearable !== void 0 ? !originalProps.disableClearable : originalProps.isDisabled ? false : originalProps.isReadOnly ? false : originalProps.isClearable;
|
|
44
44
|
const {
|
|
45
45
|
ref,
|
|
46
46
|
as,
|
|
@@ -162,7 +162,7 @@ function useAutocomplete(originalProps) {
|
|
|
162
162
|
),
|
|
163
163
|
listboxProps: (0, import_shared_utils.mergeProps)(
|
|
164
164
|
{
|
|
165
|
-
hideEmptyContent: allowsCustomValue,
|
|
165
|
+
hideEmptyContent: allowsCustomValue && !(listboxProps == null ? void 0 : listboxProps.emptyContent),
|
|
166
166
|
emptyContent: "No results found.",
|
|
167
167
|
disableAnimation
|
|
168
168
|
},
|
|
@@ -192,7 +192,7 @@ function useAutocomplete(originalProps) {
|
|
|
192
192
|
clearButtonProps
|
|
193
193
|
)
|
|
194
194
|
};
|
|
195
|
-
const baseStyles = (0,
|
|
195
|
+
const baseStyles = (0, import_theme.cn)(classNames == null ? void 0 : classNames.base, className);
|
|
196
196
|
const isOpen = ((_e = slotsProps.listboxProps) == null ? void 0 : _e.hideEmptyContent) ? state.isOpen && !!state.collection.size : state.isOpen;
|
|
197
197
|
(0, import_use_safe_layout_effect.useSafeLayoutEffect)(() => {
|
|
198
198
|
if (!inputRef.current) return;
|
|
@@ -268,7 +268,7 @@ function useAutocomplete(originalProps) {
|
|
|
268
268
|
...(0, import_shared_utils.mergeProps)(buttonProps, slotsProps.selectorButtonProps),
|
|
269
269
|
"data-open": (0, import_shared_utils.dataAttr)(state.isOpen),
|
|
270
270
|
className: slots.selectorButton({
|
|
271
|
-
class: (0,
|
|
271
|
+
class: (0, import_theme.cn)(classNames == null ? void 0 : classNames.selectorButton, (_a2 = slotsProps.selectorButtonProps) == null ? void 0 : _a2.className)
|
|
272
272
|
})
|
|
273
273
|
};
|
|
274
274
|
};
|
|
@@ -295,7 +295,7 @@ function useAutocomplete(originalProps) {
|
|
|
295
295
|
},
|
|
296
296
|
"data-visible": !!state.selectedItem || ((_a2 = state.inputValue) == null ? void 0 : _a2.length) > 0,
|
|
297
297
|
className: slots.clearButton({
|
|
298
|
-
class: (0,
|
|
298
|
+
class: (0, import_theme.cn)(classNames == null ? void 0 : classNames.clearButton, (_b2 = slotsProps.clearButtonProps) == null ? void 0 : _b2.className)
|
|
299
299
|
})
|
|
300
300
|
};
|
|
301
301
|
};
|
|
@@ -338,7 +338,7 @@ function useAutocomplete(originalProps) {
|
|
|
338
338
|
classNames: {
|
|
339
339
|
...(_a2 = slotsProps.popoverProps) == null ? void 0 : _a2.classNames,
|
|
340
340
|
content: slots.popoverContent({
|
|
341
|
-
class: (0,
|
|
341
|
+
class: (0, import_theme.cn)(
|
|
342
342
|
classNames == null ? void 0 : classNames.popoverContent,
|
|
343
343
|
(_c2 = (_b2 = slotsProps.popoverProps) == null ? void 0 : _b2.classNames) == null ? void 0 : _c2["content"],
|
|
344
344
|
props2.className
|
|
@@ -361,7 +361,7 @@ function useAutocomplete(originalProps) {
|
|
|
361
361
|
return {
|
|
362
362
|
...(0, import_shared_utils.mergeProps)(slotsProps.scrollShadowProps, props2),
|
|
363
363
|
className: slots.listboxWrapper({
|
|
364
|
-
class: (0,
|
|
364
|
+
class: (0, import_theme.cn)(
|
|
365
365
|
classNames == null ? void 0 : classNames.listboxWrapper,
|
|
366
366
|
(_a2 = slotsProps.scrollShadowProps) == null ? void 0 : _a2.className,
|
|
367
367
|
props2 == null ? void 0 : props2.className
|
|
@@ -374,7 +374,7 @@ function useAutocomplete(originalProps) {
|
|
|
374
374
|
};
|
|
375
375
|
const getEndContentWrapperProps = (props2 = {}) => ({
|
|
376
376
|
className: slots.endContentWrapper({
|
|
377
|
-
class: (0,
|
|
377
|
+
class: (0, import_theme.cn)(classNames == null ? void 0 : classNames.endContentWrapper, props2 == null ? void 0 : props2.className)
|
|
378
378
|
}),
|
|
379
379
|
onPointerDown: (0, import_shared_utils.chain)(props2.onPointerDown, (e) => {
|
|
380
380
|
var _a2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heroui/autocomplete",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.31",
|
|
4
4
|
"description": "An autocomplete combines a text input with a listbox, allowing users to filter a list of options to items matching a query.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"autocomplete"
|
|
@@ -26,25 +26,25 @@
|
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@heroui/system": ">=2.4.18",
|
|
29
|
-
"@heroui/theme": ">=2.4.
|
|
29
|
+
"@heroui/theme": ">=2.4.24",
|
|
30
30
|
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
|
|
31
31
|
"react": ">=18 || >=19.0.0-rc.0",
|
|
32
32
|
"react-dom": ">=18 || >=19.0.0-rc.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@react-aria/combobox": "3.14.
|
|
36
|
-
"@react-aria/i18n": "3.12.
|
|
37
|
-
"@react-stately/combobox": "3.12.
|
|
38
|
-
"@react-types/combobox": "3.13.
|
|
35
|
+
"@react-aria/combobox": "3.14.1",
|
|
36
|
+
"@react-aria/i18n": "3.12.14",
|
|
37
|
+
"@react-stately/combobox": "3.12.1",
|
|
38
|
+
"@react-types/combobox": "3.13.10",
|
|
39
39
|
"@react-types/shared": "3.32.1",
|
|
40
|
-
"@heroui/form": "2.1.
|
|
41
|
-
"@heroui/aria-utils": "2.2.
|
|
42
|
-
"@heroui/button": "2.2.
|
|
43
|
-
"@heroui/input": "2.4.
|
|
44
|
-
"@heroui/listbox": "2.3.
|
|
45
|
-
"@heroui/popover": "2.3.
|
|
40
|
+
"@heroui/form": "2.1.29",
|
|
41
|
+
"@heroui/aria-utils": "2.2.26",
|
|
42
|
+
"@heroui/button": "2.2.29",
|
|
43
|
+
"@heroui/input": "2.4.30",
|
|
44
|
+
"@heroui/listbox": "2.3.28",
|
|
45
|
+
"@heroui/popover": "2.3.29",
|
|
46
46
|
"@heroui/react-utils": "2.1.14",
|
|
47
|
-
"@heroui/scroll-shadow": "2.3.
|
|
47
|
+
"@heroui/scroll-shadow": "2.3.19",
|
|
48
48
|
"@heroui/shared-icons": "2.1.10",
|
|
49
49
|
"@heroui/shared-utils": "2.1.12",
|
|
50
50
|
"@heroui/use-safe-layout-effect": "2.1.8"
|