@heroui/autocomplete 2.3.22 → 2.3.23-beta.0
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 +0 -2
- package/dist/autocomplete.mjs +2 -2
- package/dist/{chunk-ENG265Z6.mjs → chunk-BT5DRV5A.mjs} +0 -2
- package/dist/{chunk-FWJM6QZX.mjs → chunk-EG3YEEN2.mjs} +1 -1
- package/dist/index.js +0 -2
- package/dist/index.mjs +2 -2
- package/dist/use-autocomplete.js +0 -2
- package/dist/use-autocomplete.mjs +1 -1
- package/package.json +15 -15
package/dist/autocomplete.js
CHANGED
|
@@ -45,7 +45,6 @@ var import_use_safe_layout_effect = require("@heroui/use-safe-layout-effect");
|
|
|
45
45
|
var import_system = require("@heroui/system");
|
|
46
46
|
var import_combobox2 = require("@react-aria/combobox");
|
|
47
47
|
var import_form = require("@heroui/form");
|
|
48
|
-
var import_aria_utils = require("@heroui/aria-utils");
|
|
49
48
|
function useAutocomplete(originalProps) {
|
|
50
49
|
var _a, _b, _c, _d, _e;
|
|
51
50
|
const globalContext = (0, import_system.useProviderContext)();
|
|
@@ -355,7 +354,6 @@ function useAutocomplete(originalProps) {
|
|
|
355
354
|
)
|
|
356
355
|
})
|
|
357
356
|
},
|
|
358
|
-
shouldCloseOnInteractOutside: (popoverProps2 == null ? void 0 : popoverProps2.shouldCloseOnInteractOutside) ? popoverProps2.shouldCloseOnInteractOutside : (element) => (0, import_aria_utils.ariaShouldCloseOnInteractOutside)(element, inputWrapperRef, state),
|
|
359
357
|
// when the popover is open, the focus should be on input instead of dialog
|
|
360
358
|
// therefore, we skip dialog focus here
|
|
361
359
|
disableDialogFocus: true
|
package/dist/autocomplete.mjs
CHANGED
|
@@ -12,7 +12,6 @@ import { useSafeLayoutEffect } from "@heroui/use-safe-layout-effect";
|
|
|
12
12
|
import { mapPropsVariants, useProviderContext } from "@heroui/system";
|
|
13
13
|
import { useComboBox } from "@react-aria/combobox";
|
|
14
14
|
import { FormContext, useSlottedContext } from "@heroui/form";
|
|
15
|
-
import { ariaShouldCloseOnInteractOutside } from "@heroui/aria-utils";
|
|
16
15
|
function useAutocomplete(originalProps) {
|
|
17
16
|
var _a, _b, _c, _d, _e;
|
|
18
17
|
const globalContext = useProviderContext();
|
|
@@ -322,7 +321,6 @@ function useAutocomplete(originalProps) {
|
|
|
322
321
|
)
|
|
323
322
|
})
|
|
324
323
|
},
|
|
325
|
-
shouldCloseOnInteractOutside: (popoverProps2 == null ? void 0 : popoverProps2.shouldCloseOnInteractOutside) ? popoverProps2.shouldCloseOnInteractOutside : (element) => ariaShouldCloseOnInteractOutside(element, inputWrapperRef, state),
|
|
326
324
|
// when the popover is open, the focus should be on input instead of dialog
|
|
327
325
|
// therefore, we skip dialog focus here
|
|
328
326
|
disableDialogFocus: true
|
package/dist/index.js
CHANGED
|
@@ -51,7 +51,6 @@ var import_use_safe_layout_effect = require("@heroui/use-safe-layout-effect");
|
|
|
51
51
|
var import_system = require("@heroui/system");
|
|
52
52
|
var import_combobox2 = require("@react-aria/combobox");
|
|
53
53
|
var import_form = require("@heroui/form");
|
|
54
|
-
var import_aria_utils = require("@heroui/aria-utils");
|
|
55
54
|
function useAutocomplete(originalProps) {
|
|
56
55
|
var _a, _b, _c, _d, _e;
|
|
57
56
|
const globalContext = (0, import_system.useProviderContext)();
|
|
@@ -361,7 +360,6 @@ function useAutocomplete(originalProps) {
|
|
|
361
360
|
)
|
|
362
361
|
})
|
|
363
362
|
},
|
|
364
|
-
shouldCloseOnInteractOutside: (popoverProps2 == null ? void 0 : popoverProps2.shouldCloseOnInteractOutside) ? popoverProps2.shouldCloseOnInteractOutside : (element) => (0, import_aria_utils.ariaShouldCloseOnInteractOutside)(element, inputWrapperRef, state),
|
|
365
363
|
// when the popover is open, the focus should be on input instead of dialog
|
|
366
364
|
// therefore, we skip dialog focus here
|
|
367
365
|
disableDialogFocus: true
|
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-EG3YEEN2.mjs";
|
|
5
5
|
import {
|
|
6
6
|
useAutocomplete
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BT5DRV5A.mjs";
|
|
8
8
|
|
|
9
9
|
// src/index.ts
|
|
10
10
|
import { ListboxItem, ListboxSection } from "@heroui/listbox";
|
package/dist/use-autocomplete.js
CHANGED
|
@@ -35,7 +35,6 @@ var import_use_safe_layout_effect = require("@heroui/use-safe-layout-effect");
|
|
|
35
35
|
var import_system = require("@heroui/system");
|
|
36
36
|
var import_combobox2 = require("@react-aria/combobox");
|
|
37
37
|
var import_form = require("@heroui/form");
|
|
38
|
-
var import_aria_utils = require("@heroui/aria-utils");
|
|
39
38
|
function useAutocomplete(originalProps) {
|
|
40
39
|
var _a, _b, _c, _d, _e;
|
|
41
40
|
const globalContext = (0, import_system.useProviderContext)();
|
|
@@ -345,7 +344,6 @@ function useAutocomplete(originalProps) {
|
|
|
345
344
|
)
|
|
346
345
|
})
|
|
347
346
|
},
|
|
348
|
-
shouldCloseOnInteractOutside: (popoverProps2 == null ? void 0 : popoverProps2.shouldCloseOnInteractOutside) ? popoverProps2.shouldCloseOnInteractOutside : (element) => (0, import_aria_utils.ariaShouldCloseOnInteractOutside)(element, inputWrapperRef, state),
|
|
349
347
|
// when the popover is open, the focus should be on input instead of dialog
|
|
350
348
|
// therefore, we skip dialog focus here
|
|
351
349
|
disableDialogFocus: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@heroui/autocomplete",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.23-beta.0",
|
|
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"
|
|
@@ -25,30 +25,30 @@
|
|
|
25
25
|
"url": "https://github.com/heroui-inc/heroui/issues"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@heroui/system": ">=2.4.
|
|
29
|
-
"@heroui/theme": ">=2.4.
|
|
28
|
+
"@heroui/system": ">=2.4.18-beta.0",
|
|
29
|
+
"@heroui/theme": ">=2.4.18-beta.0",
|
|
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.12.
|
|
35
|
+
"@react-aria/combobox": "3.12.5",
|
|
36
36
|
"@react-aria/i18n": "3.12.10",
|
|
37
37
|
"@react-aria/utils": "3.29.1",
|
|
38
38
|
"@react-stately/combobox": "3.10.6",
|
|
39
39
|
"@react-types/combobox": "3.13.6",
|
|
40
40
|
"@react-types/shared": "3.30.0",
|
|
41
|
-
"@heroui/form": "2.1.
|
|
42
|
-
"@heroui/aria-utils": "2.2.
|
|
43
|
-
"@heroui/button": "2.2.
|
|
44
|
-
"@heroui/input": "2.4.
|
|
45
|
-
"@heroui/listbox": "2.3.
|
|
46
|
-
"@heroui/popover": "2.3.
|
|
47
|
-
"@heroui/react-utils": "2.1.
|
|
48
|
-
"@heroui/scroll-shadow": "2.3.
|
|
49
|
-
"@heroui/shared-icons": "2.1.
|
|
50
|
-
"@heroui/shared-utils": "2.1.
|
|
51
|
-
"@heroui/use-safe-layout-effect": "2.1.
|
|
41
|
+
"@heroui/form": "2.1.21-beta.0",
|
|
42
|
+
"@heroui/aria-utils": "2.2.19-beta.0",
|
|
43
|
+
"@heroui/button": "2.2.22-beta.0",
|
|
44
|
+
"@heroui/input": "2.4.22-beta.0",
|
|
45
|
+
"@heroui/listbox": "2.3.21-beta.0",
|
|
46
|
+
"@heroui/popover": "2.3.22-beta.0",
|
|
47
|
+
"@heroui/react-utils": "2.1.12-beta.0",
|
|
48
|
+
"@heroui/scroll-shadow": "2.3.15-beta.0",
|
|
49
|
+
"@heroui/shared-icons": "2.1.10-beta.0",
|
|
50
|
+
"@heroui/shared-utils": "2.1.10-beta.2",
|
|
51
|
+
"@heroui/use-safe-layout-effect": "2.1.8-beta.2"
|
|
52
52
|
},
|
|
53
53
|
"clean-package": "../../../clean-package.config.json",
|
|
54
54
|
"module": "dist/index.mjs",
|