@yamada-ui/autocomplete 0.5.2 → 0.5.4

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.
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  AutocompleteCreate
4
- } from "./chunk-JKY5MMNC.mjs";
4
+ } from "./chunk-GQ4NNX5K.mjs";
5
5
  export {
6
6
  AutocompleteCreate
7
7
  };
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  AutocompleteEmpty
4
- } from "./chunk-JKY5MMNC.mjs";
4
+ } from "./chunk-GQ4NNX5K.mjs";
5
5
  export {
6
6
  AutocompleteEmpty
7
7
  };
@@ -3,7 +3,7 @@ import {
3
3
  AutocompleteClearIcon,
4
4
  AutocompleteIcon,
5
5
  AutocompleteItemIcon
6
- } from "./chunk-JKY5MMNC.mjs";
6
+ } from "./chunk-GQ4NNX5K.mjs";
7
7
  export {
8
8
  AutocompleteClearIcon,
9
9
  AutocompleteIcon,
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  AutocompleteList
4
- } from "./chunk-JKY5MMNC.mjs";
4
+ } from "./chunk-GQ4NNX5K.mjs";
5
5
  export {
6
6
  AutocompleteList
7
7
  };
@@ -116,8 +116,8 @@ var AutocompleteOptionGroup = (0, import_core2.forwardRef)(
116
116
  ({ className, color, h, height, minH, minHeight, children, ...rest }, ref) => {
117
117
  const { styles } = useAutocompleteContext();
118
118
  const { label, getContainerProps, getGroupProps } = useAutocompleteOptionGroup(rest);
119
- h = h != null ? h : height;
120
- minH = minH != null ? minH : minHeight;
119
+ h != null ? h : h = height;
120
+ minH != null ? minH : minH = minHeight;
121
121
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
122
122
  import_core2.ui.li,
123
123
  {
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  AutocompleteOptionGroup
4
- } from "./chunk-JKY5MMNC.mjs";
4
+ } from "./chunk-GQ4NNX5K.mjs";
5
5
  export {
6
6
  AutocompleteOptionGroup
7
7
  };
@@ -257,7 +257,7 @@ var AutocompleteOption = (0, import_core3.forwardRef)(
257
257
  ({ className, icon, ...rest }, ref) => {
258
258
  const { styles } = useAutocompleteContext();
259
259
  const { isSelected, customIcon, children, getOptionProps } = useAutocompleteOption(rest);
260
- icon = icon != null ? icon : customIcon;
260
+ icon != null ? icon : icon = customIcon;
261
261
  const css = {
262
262
  textDecoration: "none",
263
263
  color: "inherit",
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  AutocompleteOption
4
- } from "./chunk-JKY5MMNC.mjs";
4
+ } from "./chunk-GQ4NNX5K.mjs";
5
5
  export {
6
6
  AutocompleteOption
7
7
  };
@@ -52,8 +52,8 @@ var AutocompleteOptionGroup = (0, import_core.forwardRef)(
52
52
  ({ className, color, h, height, minH, minHeight, children, ...rest }, ref) => {
53
53
  const { styles } = useAutocompleteContext();
54
54
  const { label, getContainerProps, getGroupProps } = useAutocompleteOptionGroup(rest);
55
- h = h != null ? h : height;
56
- minH = minH != null ? minH : minHeight;
55
+ h != null ? h : h = height;
56
+ minH != null ? minH : minH = minHeight;
57
57
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
58
58
  import_core.ui.li,
59
59
  {
@@ -97,7 +97,7 @@ var AutocompleteOption = (0, import_core2.forwardRef)(
97
97
  ({ className, icon, ...rest }, ref) => {
98
98
  const { styles } = useAutocompleteContext();
99
99
  const { isSelected, customIcon, children, getOptionProps } = useAutocompleteOption(rest);
100
- icon = icon != null ? icon : customIcon;
100
+ icon != null ? icon : icon = customIcon;
101
101
  const css = {
102
102
  textDecoration: "none",
103
103
  color: "inherit",
@@ -1474,8 +1474,8 @@ var Autocomplete = (0, import_core8.forwardRef)(
1474
1474
  computedChildren,
1475
1475
  ...rest
1476
1476
  } = useAutocomplete({ ...computedProps, defaultValue, children });
1477
- h = h != null ? h : height;
1478
- minH = minH != null ? minH : minHeight;
1477
+ h != null ? h : h = height;
1478
+ minH != null ? minH : minH = minHeight;
1479
1479
  const css = {
1480
1480
  position: "relative",
1481
1481
  w: "100%",
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  Autocomplete
4
- } from "./chunk-JKY5MMNC.mjs";
4
+ } from "./chunk-GQ4NNX5K.mjs";
5
5
  export {
6
6
  Autocomplete
7
7
  };
@@ -177,8 +177,8 @@ var Autocomplete = forwardRef2(
177
177
  computedChildren,
178
178
  ...rest
179
179
  } = useAutocomplete({ ...computedProps, defaultValue, children });
180
- h = h != null ? h : height;
181
- minH = minH != null ? minH : minHeight;
180
+ h != null ? h : h = height;
181
+ minH != null ? minH : minH = minHeight;
182
182
  const css = {
183
183
  position: "relative",
184
184
  w: "100%",
@@ -270,8 +270,8 @@ var AutocompleteOptionGroup = forwardRef3(
270
270
  ({ className, color, h, height, minH, minHeight, children, ...rest }, ref) => {
271
271
  const { styles } = useAutocompleteContext();
272
272
  const { label, getContainerProps, getGroupProps } = useAutocompleteOptionGroup(rest);
273
- h = h != null ? h : height;
274
- minH = minH != null ? minH : minHeight;
273
+ h != null ? h : h = height;
274
+ minH != null ? minH : minH = minHeight;
275
275
  return /* @__PURE__ */ jsxs2(
276
276
  ui3.li,
277
277
  {
@@ -315,7 +315,7 @@ var AutocompleteOption = forwardRef4(
315
315
  ({ className, icon, ...rest }, ref) => {
316
316
  const { styles } = useAutocompleteContext();
317
317
  const { isSelected, customIcon, children, getOptionProps } = useAutocompleteOption(rest);
318
- icon = icon != null ? icon : customIcon;
318
+ icon != null ? icon : icon = customIcon;
319
319
  const css = {
320
320
  textDecoration: "none",
321
321
  color: "inherit",
@@ -500,8 +500,8 @@ var MultiAutocomplete = forwardRef7(
500
500
  closeOnSelect,
501
501
  children
502
502
  });
503
- h = h != null ? h : height;
504
- minH = minH != null ? minH : minHeight;
503
+ h != null ? h : h = height;
504
+ minH != null ? minH : minH = minHeight;
505
505
  const css = {
506
506
  position: "relative",
507
507
  w: "100%",
package/dist/index.js CHANGED
@@ -1324,8 +1324,8 @@ var Autocomplete = (0, import_core4.forwardRef)(
1324
1324
  computedChildren,
1325
1325
  ...rest
1326
1326
  } = useAutocomplete({ ...computedProps, defaultValue, children });
1327
- h = h != null ? h : height;
1328
- minH = minH != null ? minH : minHeight;
1327
+ h != null ? h : h = height;
1328
+ minH != null ? minH : minH = minHeight;
1329
1329
  const css = {
1330
1330
  position: "relative",
1331
1331
  w: "100%",
@@ -1417,8 +1417,8 @@ var AutocompleteOptionGroup = (0, import_core5.forwardRef)(
1417
1417
  ({ className, color, h, height, minH, minHeight, children, ...rest }, ref) => {
1418
1418
  const { styles } = useAutocompleteContext();
1419
1419
  const { label, getContainerProps, getGroupProps } = useAutocompleteOptionGroup(rest);
1420
- h = h != null ? h : height;
1421
- minH = minH != null ? minH : minHeight;
1420
+ h != null ? h : h = height;
1421
+ minH != null ? minH : minH = minHeight;
1422
1422
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
1423
1423
  import_core5.ui.li,
1424
1424
  {
@@ -1462,7 +1462,7 @@ var AutocompleteOption = (0, import_core6.forwardRef)(
1462
1462
  ({ className, icon, ...rest }, ref) => {
1463
1463
  const { styles } = useAutocompleteContext();
1464
1464
  const { isSelected, customIcon, children, getOptionProps } = useAutocompleteOption(rest);
1465
- icon = icon != null ? icon : customIcon;
1465
+ icon != null ? icon : icon = customIcon;
1466
1466
  const css = {
1467
1467
  textDecoration: "none",
1468
1468
  color: "inherit",
@@ -1639,8 +1639,8 @@ var MultiAutocomplete = (0, import_core9.forwardRef)(
1639
1639
  closeOnSelect,
1640
1640
  children
1641
1641
  });
1642
- h = h != null ? h : height;
1643
- minH = minH != null ? minH : minHeight;
1642
+ h != null ? h : h = height;
1643
+ minH != null ? minH : minH = minHeight;
1644
1644
  const css = {
1645
1645
  position: "relative",
1646
1646
  w: "100%",
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  AutocompleteOption,
7
7
  AutocompleteOptionGroup,
8
8
  MultiAutocomplete
9
- } from "./chunk-JKY5MMNC.mjs";
9
+ } from "./chunk-GQ4NNX5K.mjs";
10
10
  export {
11
11
  Autocomplete,
12
12
  AutocompleteCreate,
@@ -79,8 +79,8 @@ var AutocompleteOptionGroup = (0, import_core2.forwardRef)(
79
79
  ({ className, color, h, height, minH, minHeight, children, ...rest }, ref) => {
80
80
  const { styles } = useAutocompleteContext();
81
81
  const { label, getContainerProps, getGroupProps } = useAutocompleteOptionGroup(rest);
82
- h = h != null ? h : height;
83
- minH = minH != null ? minH : minHeight;
82
+ h != null ? h : h = height;
83
+ minH != null ? minH : minH = minHeight;
84
84
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
85
85
  import_core2.ui.li,
86
86
  {
@@ -124,7 +124,7 @@ var AutocompleteOption = (0, import_core3.forwardRef)(
124
124
  ({ className, icon, ...rest }, ref) => {
125
125
  const { styles } = useAutocompleteContext();
126
126
  const { isSelected, customIcon, children, getOptionProps } = useAutocompleteOption(rest);
127
- icon = icon != null ? icon : customIcon;
127
+ icon != null ? icon : icon = customIcon;
128
128
  const css = {
129
129
  textDecoration: "none",
130
130
  color: "inherit",
@@ -1514,8 +1514,8 @@ var MultiAutocomplete = (0, import_core8.forwardRef)(
1514
1514
  closeOnSelect,
1515
1515
  children
1516
1516
  });
1517
- h = h != null ? h : height;
1518
- minH = minH != null ? minH : minHeight;
1517
+ h != null ? h : h = height;
1518
+ minH != null ? minH : minH = minHeight;
1519
1519
  const css = {
1520
1520
  position: "relative",
1521
1521
  w: "100%",
@@ -1,7 +1,7 @@
1
1
  "use client"
2
2
  import {
3
3
  MultiAutocomplete
4
- } from "./chunk-JKY5MMNC.mjs";
4
+ } from "./chunk-GQ4NNX5K.mjs";
5
5
  export {
6
6
  MultiAutocomplete
7
7
  };
@@ -119,8 +119,8 @@ var AutocompleteOptionGroup = (0, import_core2.forwardRef)(
119
119
  ({ className, color, h, height, minH, minHeight, children, ...rest }, ref) => {
120
120
  const { styles } = useAutocompleteContext();
121
121
  const { label, getContainerProps, getGroupProps } = useAutocompleteOptionGroup(rest);
122
- h = h != null ? h : height;
123
- minH = minH != null ? minH : minHeight;
122
+ h != null ? h : h = height;
123
+ minH != null ? minH : minH = minHeight;
124
124
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
125
125
  import_core2.ui.li,
126
126
  {
@@ -164,7 +164,7 @@ var AutocompleteOption = (0, import_core3.forwardRef)(
164
164
  ({ className, icon, ...rest }, ref) => {
165
165
  const { styles } = useAutocompleteContext();
166
166
  const { isSelected, customIcon, children, getOptionProps } = useAutocompleteOption(rest);
167
- icon = icon != null ? icon : customIcon;
167
+ icon != null ? icon : icon = customIcon;
168
168
  const css = {
169
169
  textDecoration: "none",
170
170
  color: "inherit",
@@ -13,7 +13,7 @@ import {
13
13
  useAutocompleteList,
14
14
  useAutocompleteOption,
15
15
  useAutocompleteOptionGroup
16
- } from "./chunk-JKY5MMNC.mjs";
16
+ } from "./chunk-GQ4NNX5K.mjs";
17
17
  export {
18
18
  AutocompleteDescendantsContextProvider,
19
19
  AutocompleteProvider,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/autocomplete",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "Yamada UI autocomplete component",
5
5
  "keywords": [
6
6
  "yamada",
@@ -39,13 +39,13 @@
39
39
  "@yamada-ui/core": "0.12.6",
40
40
  "@yamada-ui/utils": "0.3.3",
41
41
  "@yamada-ui/icon": "0.3.16",
42
- "@yamada-ui/select": "0.5.2",
42
+ "@yamada-ui/select": "0.5.4",
43
43
  "@yamada-ui/form-control": "0.3.19",
44
- "@yamada-ui/popover": "0.3.21",
44
+ "@yamada-ui/popover": "0.3.22",
45
45
  "@yamada-ui/use-descendant": "0.2.5",
46
46
  "@yamada-ui/use-clickable": "0.3.5",
47
47
  "@yamada-ui/use-outside-click": "0.2.5",
48
- "@yamada-ui/use-controllable-state": "0.3.0"
48
+ "@yamada-ui/use-controllable-state": "0.3.1"
49
49
  },
50
50
  "devDependencies": {
51
51
  "react": "^18.0.0",