@yamada-ui/autocomplete 1.5.4-dev-20240929142808 → 1.5.4-dev-20241001120721
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/autocomplete-create.js +4 -4
- package/dist/autocomplete-create.js.map +1 -1
- package/dist/autocomplete-create.mjs +1 -1
- package/dist/autocomplete-empty.js +4 -4
- package/dist/autocomplete-empty.js.map +1 -1
- package/dist/autocomplete-empty.mjs +1 -1
- package/dist/autocomplete-option.js +4 -4
- package/dist/autocomplete-option.js.map +1 -1
- package/dist/autocomplete-option.mjs +1 -1
- package/dist/autocomplete.js +12 -12
- package/dist/autocomplete.js.map +1 -1
- package/dist/autocomplete.mjs +5 -5
- package/dist/{chunk-CCOWDDFS.mjs → chunk-5GKGL6BL.mjs} +5 -5
- package/dist/chunk-5GKGL6BL.mjs.map +1 -0
- package/dist/{chunk-UNGOVJSY.mjs → chunk-HZECQUHV.mjs} +4 -4
- package/dist/{chunk-PCQMCEHL.mjs → chunk-OLOU5HFC.mjs} +2 -2
- package/dist/{chunk-E3Y2E2TK.mjs → chunk-Q2HZVVOI.mjs} +5 -5
- package/dist/chunk-Q2HZVVOI.mjs.map +1 -0
- package/dist/{chunk-7OWUOQZD.mjs → chunk-QPIWG4ZF.mjs} +4 -4
- package/dist/{chunk-2WVIW6HR.mjs → chunk-S2HFYJVI.mjs} +5 -5
- package/dist/chunk-S2HFYJVI.mjs.map +1 -0
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/multi-autocomplete.js +12 -12
- package/dist/multi-autocomplete.js.map +1 -1
- package/dist/multi-autocomplete.mjs +5 -5
- package/dist/use-autocomplete.js +4 -4
- package/dist/use-autocomplete.js.map +1 -1
- package/dist/use-autocomplete.mjs +2 -2
- package/package.json +3 -3
- package/dist/chunk-2WVIW6HR.mjs.map +0 -1
- package/dist/chunk-CCOWDDFS.mjs.map +0 -1
- package/dist/chunk-E3Y2E2TK.mjs.map +0 -1
- /package/dist/{chunk-UNGOVJSY.mjs.map → chunk-HZECQUHV.mjs.map} +0 -0
- /package/dist/{chunk-PCQMCEHL.mjs.map → chunk-OLOU5HFC.mjs.map} +0 -0
- /package/dist/{chunk-7OWUOQZD.mjs.map → chunk-QPIWG4ZF.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
"use client"
|
2
2
|
import {
|
3
3
|
MultiAutocomplete
|
4
|
-
} from "./chunk-
|
4
|
+
} from "./chunk-QPIWG4ZF.mjs";
|
5
5
|
import {
|
6
6
|
Autocomplete
|
7
|
-
} from "./chunk-
|
8
|
-
import "./chunk-
|
7
|
+
} from "./chunk-HZECQUHV.mjs";
|
8
|
+
import "./chunk-OLOU5HFC.mjs";
|
9
9
|
import {
|
10
10
|
AutocompleteCreate
|
11
|
-
} from "./chunk-
|
11
|
+
} from "./chunk-Q2HZVVOI.mjs";
|
12
12
|
import {
|
13
13
|
AutocompleteEmpty
|
14
|
-
} from "./chunk-
|
14
|
+
} from "./chunk-5GKGL6BL.mjs";
|
15
15
|
import "./chunk-S53LMDD7.mjs";
|
16
16
|
import "./chunk-R76HPAN4.mjs";
|
17
17
|
import {
|
@@ -20,7 +20,7 @@ import {
|
|
20
20
|
import "./chunk-JMX72TSD.mjs";
|
21
21
|
import {
|
22
22
|
AutocompleteOption
|
23
|
-
} from "./chunk-
|
23
|
+
} from "./chunk-S2HFYJVI.mjs";
|
24
24
|
import "./chunk-5LPWFWE6.mjs";
|
25
25
|
import "./chunk-7SWSKLSA.mjs";
|
26
26
|
import "./chunk-JPUKYLBW.mjs";
|
@@ -356,7 +356,7 @@ var AutocompleteCreate = (0, import_core2.forwardRef)(
|
|
356
356
|
__css: css,
|
357
357
|
...getCreateProps(rest, ref),
|
358
358
|
children: [
|
359
|
-
icon !== null ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(AutocompleteItemIcon, { children: icon || /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
359
|
+
icon !== null ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(AutocompleteItemIcon, { children: icon || /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(AutocompletePlusIcon, {}) }) : null,
|
360
360
|
icon ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_core2.ui.span, { style: { pointerEvents: "none", flex: 1 }, lineClamp: 1, children: (0, import_utils4.runIfFunc)(children, inputValue) }) : (0, import_utils4.runIfFunc)(children, inputValue)
|
361
361
|
]
|
362
362
|
}
|
@@ -365,15 +365,15 @@ var AutocompleteCreate = (0, import_core2.forwardRef)(
|
|
365
365
|
);
|
366
366
|
AutocompleteCreate.displayName = "AutocompleteCreate";
|
367
367
|
AutocompleteCreate.__ui__ = "AutocompleteCreate";
|
368
|
-
var
|
368
|
+
var AutocompletePlusIcon = () => /* @__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)(
|
369
369
|
"path",
|
370
370
|
{
|
371
371
|
fill: "currentColor",
|
372
372
|
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"
|
373
373
|
}
|
374
374
|
) });
|
375
|
-
|
376
|
-
|
375
|
+
AutocompletePlusIcon.displayName = "AutocompletePlusIcon";
|
376
|
+
AutocompletePlusIcon.__ui__ = "AutocompletePlusIcon";
|
377
377
|
|
378
378
|
// src/autocomplete-empty.tsx
|
379
379
|
var import_core3 = require("@yamada-ui/core");
|
@@ -405,7 +405,7 @@ var AutocompleteEmpty = (0, import_core3.forwardRef)(
|
|
405
405
|
__css: css,
|
406
406
|
...getEmptyProps(rest, ref),
|
407
407
|
children: [
|
408
|
-
icon !== null ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(AutocompleteItemIcon, { children: icon || /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
408
|
+
icon !== null ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(AutocompleteItemIcon, { children: icon || /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(AutocompleteMinusIcon, {}) }) : null,
|
409
409
|
icon ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_core3.ui.span, { style: { pointerEvents: "none", flex: 1 }, lineClamp: 1, children }) : children
|
410
410
|
]
|
411
411
|
}
|
@@ -414,15 +414,15 @@ var AutocompleteEmpty = (0, import_core3.forwardRef)(
|
|
414
414
|
);
|
415
415
|
AutocompleteEmpty.displayName = "AutocompleteEmpty";
|
416
416
|
AutocompleteEmpty.__ui__ = "AutocompleteEmpty";
|
417
|
-
var
|
417
|
+
var AutocompleteMinusIcon = () => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("svg", { viewBox: "0 0 448 512", width: "1em", height: "1em", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
418
418
|
"path",
|
419
419
|
{
|
420
420
|
fill: "currentColor",
|
421
421
|
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"
|
422
422
|
}
|
423
423
|
) });
|
424
|
-
|
425
|
-
|
424
|
+
AutocompleteMinusIcon.displayName = "AutocompleteMinusIcon";
|
425
|
+
AutocompleteMinusIcon.__ui__ = "AutocompleteMinusIcon";
|
426
426
|
|
427
427
|
// src/autocomplete-list.tsx
|
428
428
|
var import_core4 = require("@yamada-ui/core");
|
@@ -603,7 +603,7 @@ var AutocompleteOption = (0, import_core5.forwardRef)(
|
|
603
603
|
__css: css,
|
604
604
|
...getOptionProps({}, ref),
|
605
605
|
children: [
|
606
|
-
icon !== null ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(AutocompleteItemIcon, { opacity: isSelected ? 1 : 0, children: icon || /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
606
|
+
icon !== null ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(AutocompleteItemIcon, { opacity: isSelected ? 1 : 0, children: icon || /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(AutocompleteCheckIcon, {}) }) : null,
|
607
607
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_core5.ui.span, { style: { flex: 1 }, "data-label": true, children })
|
608
608
|
]
|
609
609
|
}
|
@@ -612,15 +612,15 @@ var AutocompleteOption = (0, import_core5.forwardRef)(
|
|
612
612
|
);
|
613
613
|
AutocompleteOption.displayName = "AutocompleteOption";
|
614
614
|
AutocompleteOption.__ui__ = "AutocompleteOption";
|
615
|
-
var
|
615
|
+
var AutocompleteCheckIcon = () => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("svg", { viewBox: "0 0 14 14", width: "1em", height: "1em", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
616
616
|
"polygon",
|
617
617
|
{
|
618
618
|
fill: "currentColor",
|
619
619
|
points: "5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"
|
620
620
|
}
|
621
621
|
) });
|
622
|
-
|
623
|
-
|
622
|
+
AutocompleteCheckIcon.displayName = "AutocompleteCheckIcon";
|
623
|
+
AutocompleteCheckIcon.__ui__ = "AutocompleteCheckIcon";
|
624
624
|
|
625
625
|
// src/autocomplete-option-group.tsx
|
626
626
|
var import_core7 = require("@yamada-ui/core");
|