@yamada-ui/autocomplete 1.5.3-dev-20240927132448 → 1.5.3-dev-20240927160413
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/autocomplete-create.js +34 -0
- package/dist/autocomplete-create.js.map +1 -1
- package/dist/autocomplete-create.mjs +2 -2
- package/dist/autocomplete-empty.js +34 -0
- package/dist/autocomplete-empty.js.map +1 -1
- package/dist/autocomplete-empty.mjs +2 -2
- package/dist/autocomplete-icon.d.mts +1 -2
- package/dist/autocomplete-icon.d.ts +1 -2
- package/dist/autocomplete-icon.js +6 -0
- package/dist/autocomplete-icon.js.map +1 -1
- package/dist/autocomplete-icon.mjs +1 -1
- package/dist/autocomplete-list.js +2 -0
- package/dist/autocomplete-list.js.map +1 -1
- package/dist/autocomplete-list.mjs +1 -1
- package/dist/autocomplete-option-group.js +2 -0
- package/dist/autocomplete-option-group.js.map +1 -1
- package/dist/autocomplete-option-group.mjs +1 -1
- package/dist/autocomplete-option.js +34 -0
- package/dist/autocomplete-option.js.map +1 -1
- package/dist/autocomplete-option.mjs +2 -2
- package/dist/autocomplete.js +50 -0
- package/dist/autocomplete.js.map +1 -1
- package/dist/autocomplete.mjs +8 -8
- package/dist/{chunk-3UWNE3MN.mjs → chunk-2GOTGBRK.mjs} +6 -2
- package/dist/chunk-2GOTGBRK.mjs.map +1 -0
- package/dist/{chunk-HL2KEBRX.mjs → chunk-5MMUZ2XQ.mjs} +3 -1
- package/dist/{chunk-HL2KEBRX.mjs.map → chunk-5MMUZ2XQ.mjs.map} +1 -1
- package/dist/{chunk-MB4ABPZP.mjs → chunk-6F3LT7J6.mjs} +3 -1
- package/dist/{chunk-MB4ABPZP.mjs.map → chunk-6F3LT7J6.mjs.map} +1 -1
- package/dist/{chunk-JXFXCGZK.mjs → chunk-7SWSKLSA.mjs} +7 -1
- package/dist/chunk-7SWSKLSA.mjs.map +1 -0
- package/dist/{chunk-4PUN44UX.mjs → chunk-K42L5QVM.mjs} +10 -6
- package/dist/{chunk-4PUN44UX.mjs.map → chunk-K42L5QVM.mjs.map} +1 -1
- package/dist/{chunk-V3FMPDN3.mjs → chunk-OTVG42AD.mjs} +6 -2
- package/dist/{chunk-V3FMPDN3.mjs.map → chunk-OTVG42AD.mjs.map} +1 -1
- package/dist/{chunk-JKW73NYF.mjs → chunk-YEFQMSJM.mjs} +3 -3
- package/dist/{chunk-XLSSDAC6.mjs → chunk-ZTDA3B2B.mjs} +6 -2
- package/dist/{chunk-XLSSDAC6.mjs.map → chunk-ZTDA3B2B.mjs.map} +1 -1
- package/dist/{chunk-5VBRK4H6.mjs → chunk-ZZSGPNV3.mjs} +10 -6
- package/dist/{chunk-5VBRK4H6.mjs.map → chunk-ZZSGPNV3.mjs.map} +1 -1
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/multi-autocomplete.js +26 -0
- package/dist/multi-autocomplete.js.map +1 -1
- package/dist/multi-autocomplete.mjs +8 -8
- package/dist/use-autocomplete.js +36 -0
- package/dist/use-autocomplete.js.map +1 -1
- package/dist/use-autocomplete.mjs +4 -4
- package/package.json +13 -13
- package/dist/chunk-3UWNE3MN.mjs.map +0 -1
- package/dist/chunk-JXFXCGZK.mjs.map +0 -1
- /package/dist/{chunk-JKW73NYF.mjs.map → chunk-YEFQMSJM.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
@@ -1,28 +1,28 @@
|
|
1
1
|
"use client"
|
2
2
|
import {
|
3
3
|
MultiAutocomplete
|
4
|
-
} from "./chunk-
|
4
|
+
} from "./chunk-K42L5QVM.mjs";
|
5
5
|
import {
|
6
6
|
Autocomplete
|
7
|
-
} from "./chunk-
|
8
|
-
import "./chunk-
|
7
|
+
} from "./chunk-ZZSGPNV3.mjs";
|
8
|
+
import "./chunk-YEFQMSJM.mjs";
|
9
9
|
import {
|
10
10
|
AutocompleteCreate
|
11
|
-
} from "./chunk-
|
11
|
+
} from "./chunk-2GOTGBRK.mjs";
|
12
12
|
import {
|
13
13
|
AutocompleteEmpty
|
14
|
-
} from "./chunk-
|
15
|
-
import "./chunk-
|
14
|
+
} from "./chunk-ZTDA3B2B.mjs";
|
15
|
+
import "./chunk-5MMUZ2XQ.mjs";
|
16
16
|
import "./chunk-QGOCVO2C.mjs";
|
17
17
|
import {
|
18
18
|
AutocompleteOptionGroup
|
19
|
-
} from "./chunk-
|
19
|
+
} from "./chunk-6F3LT7J6.mjs";
|
20
20
|
import "./chunk-JMX72TSD.mjs";
|
21
21
|
import {
|
22
22
|
AutocompleteOption
|
23
|
-
} from "./chunk-
|
23
|
+
} from "./chunk-OTVG42AD.mjs";
|
24
24
|
import "./chunk-2JAGPELI.mjs";
|
25
|
-
import "./chunk-
|
25
|
+
import "./chunk-7SWSKLSA.mjs";
|
26
26
|
import "./chunk-JPUKYLBW.mjs";
|
27
27
|
export {
|
28
28
|
Autocomplete,
|
@@ -94,6 +94,8 @@ var AutocompleteIcon = (0, import_core.forwardRef)(
|
|
94
94
|
);
|
95
95
|
}
|
96
96
|
);
|
97
|
+
AutocompleteIcon.displayName = "AutocompleteIcon";
|
98
|
+
AutocompleteIcon.__ui__ = "AutocompleteIcon";
|
97
99
|
var AutocompleteClearIcon = ({
|
98
100
|
className,
|
99
101
|
children,
|
@@ -118,6 +120,8 @@ var AutocompleteClearIcon = ({
|
|
118
120
|
}
|
119
121
|
);
|
120
122
|
};
|
123
|
+
AutocompleteClearIcon.displayName = "AutocompleteClearIcon";
|
124
|
+
AutocompleteClearIcon.__ui__ = "AutocompleteClearIcon";
|
121
125
|
var AutocompleteItemIcon = (0, import_core.forwardRef)(({ className, ...rest }, ref) => {
|
122
126
|
const { styles } = useAutocompleteContext();
|
123
127
|
const css = {
|
@@ -138,6 +142,8 @@ var AutocompleteItemIcon = (0, import_core.forwardRef)(({ className, ...rest },
|
|
138
142
|
}
|
139
143
|
);
|
140
144
|
});
|
145
|
+
AutocompleteItemIcon.displayName = "AutocompleteItemIcon";
|
146
|
+
AutocompleteItemIcon.__ui__ = "AutocompleteItemIcon";
|
141
147
|
|
142
148
|
// src/use-autocomplete-option.ts
|
143
149
|
var import_utils3 = require("@yamada-ui/utils");
|
@@ -355,6 +361,8 @@ var AutocompleteCreate = (0, import_core2.forwardRef)(
|
|
355
361
|
);
|
356
362
|
}
|
357
363
|
);
|
364
|
+
AutocompleteCreate.displayName = "AutocompleteCreate";
|
365
|
+
AutocompleteCreate.__ui__ = "AutocompleteCreate";
|
358
366
|
var PlusIcon = () => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("svg", { viewBox: "0 0 45.402 45.402", width: "1em", height: "1em", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
359
367
|
"path",
|
360
368
|
{
|
@@ -362,6 +370,8 @@ var PlusIcon = () => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("svg", { viewB
|
|
362
370
|
d: "M41.267,18.557H26.832V4.134C26.832,1.851,24.99,0,22.707,0c-2.283,0-4.124,1.851-4.124,4.135v14.432H4.141 c-2.283,0-4.139,1.851-4.138,4.135c-0.001,1.141,0.46,2.187,1.207,2.934c0.748,0.749,1.78,1.222,2.92,1.222h14.453V41.27 c0,1.142,0.453,2.176,1.201,2.922c0.748,0.748,1.777,1.211,2.919,1.211c2.282,0,4.129-1.851,4.129-4.133V26.857h14.435 c2.283,0,4.134-1.867,4.133-4.15C45.399,20.425,43.548,18.557,41.267,18.557z"
|
363
371
|
}
|
364
372
|
) });
|
373
|
+
PlusIcon.displayName = "PlusIcon";
|
374
|
+
PlusIcon.__ui__ = "PlusIcon";
|
365
375
|
|
366
376
|
// src/autocomplete-empty.tsx
|
367
377
|
var import_core3 = require("@yamada-ui/core");
|
@@ -400,6 +410,8 @@ var AutocompleteEmpty = (0, import_core3.forwardRef)(
|
|
400
410
|
);
|
401
411
|
}
|
402
412
|
);
|
413
|
+
AutocompleteEmpty.displayName = "AutocompleteEmpty";
|
414
|
+
AutocompleteEmpty.__ui__ = "AutocompleteEmpty";
|
403
415
|
var MinusIcon = () => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { viewBox: "0 0 448 512", width: "1em", height: "1em", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
404
416
|
"path",
|
405
417
|
{
|
@@ -407,6 +419,8 @@ var MinusIcon = () => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { view
|
|
407
419
|
d: "M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"
|
408
420
|
}
|
409
421
|
) });
|
422
|
+
MinusIcon.displayName = "MinusIcon";
|
423
|
+
MinusIcon.__ui__ = "MinusIcon";
|
410
424
|
|
411
425
|
// src/autocomplete-list.tsx
|
412
426
|
var import_core4 = require("@yamada-ui/core");
|
@@ -542,6 +556,8 @@ var AutocompleteList = (0, import_core4.forwardRef)(
|
|
542
556
|
);
|
543
557
|
}
|
544
558
|
);
|
559
|
+
AutocompleteList.displayName = "AutocompleteList";
|
560
|
+
AutocompleteList.__ui__ = "AutocompleteList";
|
545
561
|
|
546
562
|
// src/use-autocomplete.tsx
|
547
563
|
var import_core8 = require("@yamada-ui/core");
|
@@ -588,6 +604,8 @@ var AutocompleteOption = (0, import_core5.forwardRef)(
|
|
588
604
|
);
|
589
605
|
}
|
590
606
|
);
|
607
|
+
AutocompleteOption.displayName = "AutocompleteOption";
|
608
|
+
AutocompleteOption.__ui__ = "AutocompleteOption";
|
591
609
|
var CheckIcon = () => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("svg", { viewBox: "0 0 14 14", width: "1em", height: "1em", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
592
610
|
"polygon",
|
593
611
|
{
|
@@ -595,6 +613,8 @@ var CheckIcon = () => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("svg", { view
|
|
595
613
|
points: "5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"
|
596
614
|
}
|
597
615
|
) });
|
616
|
+
CheckIcon.displayName = "CheckIcon";
|
617
|
+
CheckIcon.__ui__ = "CheckIcon";
|
598
618
|
|
599
619
|
// src/autocomplete-option-group.tsx
|
600
620
|
var import_core7 = require("@yamada-ui/core");
|
@@ -721,6 +741,8 @@ var AutocompleteOptionGroup = (0, import_core7.forwardRef)(
|
|
721
741
|
);
|
722
742
|
}
|
723
743
|
);
|
744
|
+
AutocompleteOptionGroup.displayName = "AutocompleteOptionGroup";
|
745
|
+
AutocompleteOptionGroup.__ui__ = "AutocompleteOptionGroup";
|
724
746
|
|
725
747
|
// src/use-autocomplete.tsx
|
726
748
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
@@ -1781,6 +1803,8 @@ var MultiAutocomplete = (0, import_core9.forwardRef)(
|
|
1781
1803
|
) });
|
1782
1804
|
}
|
1783
1805
|
);
|
1806
|
+
MultiAutocomplete.displayName = "MultiAutocomplete";
|
1807
|
+
MultiAutocomplete.__ui__ = "MultiAutocomplete";
|
1784
1808
|
var MultiAutocompleteField = (0, import_core9.forwardRef)(
|
1785
1809
|
({
|
1786
1810
|
className,
|
@@ -1867,6 +1891,8 @@ var MultiAutocompleteField = (0, import_core9.forwardRef)(
|
|
1867
1891
|
) });
|
1868
1892
|
}
|
1869
1893
|
);
|
1894
|
+
MultiAutocompleteField.displayName = "MultiAutocompleteField";
|
1895
|
+
MultiAutocompleteField.__ui__ = "MultiAutocompleteField";
|
1870
1896
|
// Annotate the CommonJS export names for ESM import in node:
|
1871
1897
|
0 && (module.exports = {
|
1872
1898
|
MultiAutocomplete
|