@yamada-ui/autocomplete 1.5.4-dev-20241007025246 → 1.5.4-dev-20241007135427

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. package/dist/autocomplete-create.js +3 -3
  2. package/dist/autocomplete-create.js.map +1 -1
  3. package/dist/autocomplete-create.mjs +3 -3
  4. package/dist/autocomplete-empty.js +2 -2
  5. package/dist/autocomplete-empty.js.map +1 -1
  6. package/dist/autocomplete-empty.mjs +3 -3
  7. package/dist/autocomplete-icon.js +2 -2
  8. package/dist/autocomplete-icon.js.map +1 -1
  9. package/dist/autocomplete-icon.mjs +1 -1
  10. package/dist/autocomplete-option-group.js +4 -4
  11. package/dist/autocomplete-option-group.js.map +1 -1
  12. package/dist/autocomplete-option-group.mjs +2 -2
  13. package/dist/autocomplete-option.js +3 -3
  14. package/dist/autocomplete-option.js.map +1 -1
  15. package/dist/autocomplete-option.mjs +3 -3
  16. package/dist/autocomplete.js +13 -13
  17. package/dist/autocomplete.js.map +1 -1
  18. package/dist/autocomplete.mjs +9 -9
  19. package/dist/{chunk-EWV3Q3S4.mjs → chunk-4SBNPEK7.mjs} +2 -2
  20. package/dist/{chunk-2SISETLV.mjs → chunk-67X7JKWL.mjs} +5 -5
  21. package/dist/{chunk-2SISETLV.mjs.map → chunk-67X7JKWL.mjs.map} +1 -1
  22. package/dist/{chunk-PXQD7AV2.mjs → chunk-AXC7ILCH.mjs} +5 -5
  23. package/dist/{chunk-4APEPTYJ.mjs → chunk-BGZIX6SN.mjs} +8 -8
  24. package/dist/{chunk-4APEPTYJ.mjs.map → chunk-BGZIX6SN.mjs.map} +1 -1
  25. package/dist/{chunk-I4IW2CW7.mjs → chunk-BKW7XJ6R.mjs} +3 -3
  26. package/dist/{chunk-ZJFWWXQM.mjs → chunk-DDMSYTKO.mjs} +3 -3
  27. package/dist/{chunk-ZJFWWXQM.mjs.map → chunk-DDMSYTKO.mjs.map} +1 -1
  28. package/dist/{chunk-TJGVRIGK.mjs → chunk-EEECVCVW.mjs} +7 -7
  29. package/dist/{chunk-TJGVRIGK.mjs.map → chunk-EEECVCVW.mjs.map} +1 -1
  30. package/dist/{chunk-2MVSDK7L.mjs → chunk-KLXMUIGY.mjs} +3 -3
  31. package/dist/{chunk-I5X4WSCX.mjs → chunk-V6YCG642.mjs} +3 -3
  32. package/dist/{chunk-I5X4WSCX.mjs.map → chunk-V6YCG642.mjs.map} +1 -1
  33. package/dist/{chunk-ZEGANG5C.mjs → chunk-WFLZPB35.mjs} +3 -3
  34. package/dist/index.js +15 -15
  35. package/dist/index.js.map +1 -1
  36. package/dist/index.mjs +10 -10
  37. package/dist/multi-autocomplete.js +15 -15
  38. package/dist/multi-autocomplete.js.map +1 -1
  39. package/dist/multi-autocomplete.mjs +9 -9
  40. package/dist/use-autocomplete-option-group.js +4 -4
  41. package/dist/use-autocomplete-option-group.js.map +1 -1
  42. package/dist/use-autocomplete-option-group.mjs +1 -1
  43. package/dist/use-autocomplete-option.js +2 -2
  44. package/dist/use-autocomplete-option.js.map +1 -1
  45. package/dist/use-autocomplete-option.mjs +1 -1
  46. package/dist/use-autocomplete.js +12 -12
  47. package/dist/use-autocomplete.js.map +1 -1
  48. package/dist/use-autocomplete.mjs +6 -6
  49. package/package.json +13 -13
  50. /package/dist/{chunk-EWV3Q3S4.mjs.map → chunk-4SBNPEK7.mjs.map} +0 -0
  51. /package/dist/{chunk-PXQD7AV2.mjs.map → chunk-AXC7ILCH.mjs.map} +0 -0
  52. /package/dist/{chunk-I4IW2CW7.mjs.map → chunk-BKW7XJ6R.mjs.map} +0 -0
  53. /package/dist/{chunk-2MVSDK7L.mjs.map → chunk-KLXMUIGY.mjs.map} +0 -0
  54. /package/dist/{chunk-ZEGANG5C.mjs.map → chunk-WFLZPB35.mjs.map} +0 -0
@@ -33,8 +33,8 @@ var AutocompleteIcon = forwardRef(
33
33
  maxHeight: "1em",
34
34
  maxWidth: "1em"
35
35
  },
36
- focusable: false,
37
- "aria-hidden": true
36
+ "aria-hidden": true,
37
+ focusable: false
38
38
  })
39
39
  );
40
40
  return /* @__PURE__ */ jsx(
@@ -105,4 +105,4 @@ export {
105
105
  AutocompleteClearIcon,
106
106
  AutocompleteItemIcon
107
107
  };
108
- //# sourceMappingURL=chunk-I5X4WSCX.mjs.map
108
+ //# sourceMappingURL=chunk-V6YCG642.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/autocomplete-icon.tsx"],"sourcesContent":["import type { CSSUIObject, FC, HTMLUIProps } from \"@yamada-ui/core\"\nimport type { HTMLAttributes } from \"react\"\nimport { forwardRef, ui } from \"@yamada-ui/core\"\nimport { ChevronIcon, CloseIcon } from \"@yamada-ui/icon\"\nimport { useClickable } from \"@yamada-ui/use-clickable\"\nimport { cx, getValidChildren, isValidElement } from \"@yamada-ui/utils\"\nimport { cloneElement, useRef } from \"react\"\nimport { useAutocompleteContext } from \"./autocomplete-context\"\n\nexport interface AutocompleteIconProps extends HTMLUIProps {}\n\nexport const AutocompleteIcon = forwardRef<AutocompleteIconProps, \"div\">(\n ({ className, children, __css, ...rest }, ref) => {\n const { styles } = useAutocompleteContext()\n\n const css: CSSUIObject = {\n alignItems: \"center\",\n cursor: \"pointer\",\n display: \"inline-flex\",\n justifyContent: \"center\",\n pointerEvents: \"none\",\n position: \"absolute\",\n top: \"50%\",\n transform: \"translateY(-50%)\",\n ...styles.icon,\n ...__css,\n }\n\n const validChildren = getValidChildren(children)\n\n const cloneChildren = validChildren.map((child) =>\n cloneElement(child, {\n style: {\n color: \"currentColor\",\n maxHeight: \"1em\",\n maxWidth: \"1em\",\n },\n focusable: false,\n \"aria-hidden\": true,\n }),\n )\n\n return (\n <ui.div\n ref={ref}\n className={cx(\"ui-autocomplete__icon\", className)}\n __css={css}\n {...rest}\n >\n {isValidElement(children) ? cloneChildren : <ChevronIcon />}\n </ui.div>\n )\n },\n)\n\nAutocompleteIcon.displayName = \"AutocompleteIcon\"\nAutocompleteIcon.__ui__ = \"AutocompleteIcon\"\n\nexport interface AutocompleteClearIconProps extends AutocompleteIconProps {\n disabled?: boolean\n}\n\nexport const AutocompleteClearIcon: FC<AutocompleteClearIconProps> = ({\n className,\n children,\n ...props\n}) => {\n const ref = useRef<HTMLDivElement>(null)\n const { styles } = useAutocompleteContext()\n\n const isDisabled = props.disabled\n\n const rest = useClickable({\n ref,\n isDisabled,\n ...(props as HTMLAttributes<HTMLElement>),\n })\n\n return (\n <AutocompleteIcon\n className={cx(\"ui-autocomplete__icon--clear\", className)}\n aria-label=\"Clear value\"\n __css={styles.clearIcon}\n {...rest}\n >\n {children ?? <CloseIcon h=\"0.5em\" w=\"0.5em\" />}\n </AutocompleteIcon>\n )\n}\n\nAutocompleteClearIcon.displayName = \"AutocompleteClearIcon\"\nAutocompleteClearIcon.__ui__ = \"AutocompleteClearIcon\"\n\nexport interface AutocompleteItemIconProps extends HTMLUIProps<\"span\"> {}\n\nexport const AutocompleteItemIcon = forwardRef<\n AutocompleteItemIconProps,\n \"span\"\n>(({ className, ...rest }, ref) => {\n const { styles } = useAutocompleteContext()\n\n const css: CSSUIObject = {\n alignItems: \"center\",\n display: \"inline-flex\",\n flexShrink: 0,\n fontSize: \"0.85em\",\n justifyContent: \"center\",\n ...styles.itemIcon,\n }\n\n return (\n <ui.span\n ref={ref}\n className={cx(\"ui-autocomplete__item__icon\", className)}\n __css={css}\n {...rest}\n />\n )\n})\n\nAutocompleteItemIcon.displayName = \"AutocompleteItemIcon\"\nAutocompleteItemIcon.__ui__ = \"AutocompleteItemIcon\"\n"],"mappings":";;;;;;AAEA,SAAS,YAAY,UAAU;AAC/B,SAAS,aAAa,iBAAiB;AACvC,SAAS,oBAAoB;AAC7B,SAAS,IAAI,kBAAkB,sBAAsB;AACrD,SAAS,cAAc,cAAc;AA2Ce;AAtC7C,IAAM,mBAAmB;AAAA,EAC9B,CAAC,EAAE,WAAW,UAAU,OAAO,GAAG,KAAK,GAAG,QAAQ;AAChD,UAAM,EAAE,OAAO,IAAI,uBAAuB;AAE1C,UAAM,MAAmB;AAAA,MACvB,YAA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G,KAAK,GAAG,QAAQ;AACjC,QAAM,EAAE,OAAO,IAAI,uBAAuB;AAE1C,QAAM,MAAmB;AAAA,IACvB,YAAY;AAAA,IACZ,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,GAAG,OAAO;AAAA,EACZ;AAEA,SACE;AAAA,IAAC,GAAG;AAAA,IAAH;AAAA,MACC;AAAA,MACA,WAAW,GAAG,+BAA+B,SAAS;AAAA,MACtD,OAAO;AAAA,MACN,GAAG;AAAA;AAAA,EACN;AAEJ,CAAC;AAED,qBAAqB,cAAc;AACnC,qBAAqB,SAAS;","names":[]}
1
+ {"version":3,"sources":["../src/autocomplete-icon.tsx"],"sourcesContent":["import type { CSSUIObject, FC, HTMLUIProps } from \"@yamada-ui/core\"\nimport type { HTMLAttributes } from \"react\"\nimport { forwardRef, ui } from \"@yamada-ui/core\"\nimport { ChevronIcon, CloseIcon } from \"@yamada-ui/icon\"\nimport { useClickable } from \"@yamada-ui/use-clickable\"\nimport { cx, getValidChildren, isValidElement } from \"@yamada-ui/utils\"\nimport { cloneElement, useRef } from \"react\"\nimport { useAutocompleteContext } from \"./autocomplete-context\"\n\nexport interface AutocompleteIconProps extends HTMLUIProps {}\n\nexport const AutocompleteIcon = forwardRef<AutocompleteIconProps, \"div\">(\n ({ className, children, __css, ...rest }, ref) => {\n const { styles } = useAutocompleteContext()\n\n const css: CSSUIObject = {\n alignItems: \"center\",\n cursor: \"pointer\",\n display: \"inline-flex\",\n justifyContent: \"center\",\n pointerEvents: \"none\",\n position: \"absolute\",\n top: \"50%\",\n transform: \"translateY(-50%)\",\n ...styles.icon,\n ...__css,\n }\n\n const validChildren = getValidChildren(children)\n\n const cloneChildren = validChildren.map((child) =>\n cloneElement(child, {\n style: {\n color: \"currentColor\",\n maxHeight: \"1em\",\n maxWidth: \"1em\",\n },\n \"aria-hidden\": true,\n focusable: false,\n }),\n )\n\n return (\n <ui.div\n ref={ref}\n className={cx(\"ui-autocomplete__icon\", className)}\n __css={css}\n {...rest}\n >\n {isValidElement(children) ? cloneChildren : <ChevronIcon />}\n </ui.div>\n )\n },\n)\n\nAutocompleteIcon.displayName = \"AutocompleteIcon\"\nAutocompleteIcon.__ui__ = \"AutocompleteIcon\"\n\nexport interface AutocompleteClearIconProps extends AutocompleteIconProps {\n disabled?: boolean\n}\n\nexport const AutocompleteClearIcon: FC<AutocompleteClearIconProps> = ({\n className,\n children,\n ...props\n}) => {\n const ref = useRef<HTMLDivElement>(null)\n const { styles } = useAutocompleteContext()\n\n const isDisabled = props.disabled\n\n const rest = useClickable({\n ref,\n isDisabled,\n ...(props as HTMLAttributes<HTMLElement>),\n })\n\n return (\n <AutocompleteIcon\n className={cx(\"ui-autocomplete__icon--clear\", className)}\n aria-label=\"Clear value\"\n __css={styles.clearIcon}\n {...rest}\n >\n {children ?? <CloseIcon h=\"0.5em\" w=\"0.5em\" />}\n </AutocompleteIcon>\n )\n}\n\nAutocompleteClearIcon.displayName = \"AutocompleteClearIcon\"\nAutocompleteClearIcon.__ui__ = \"AutocompleteClearIcon\"\n\nexport interface AutocompleteItemIconProps extends HTMLUIProps<\"span\"> {}\n\nexport const AutocompleteItemIcon = forwardRef<\n AutocompleteItemIconProps,\n \"span\"\n>(({ className, ...rest }, ref) => {\n const { styles } = useAutocompleteContext()\n\n const css: CSSUIObject = {\n alignItems: \"center\",\n display: \"inline-flex\",\n flexShrink: 0,\n fontSize: \"0.85em\",\n justifyContent: \"center\",\n ...styles.itemIcon,\n }\n\n return (\n <ui.span\n ref={ref}\n className={cx(\"ui-autocomplete__item__icon\", className)}\n __css={css}\n {...rest}\n />\n )\n})\n\nAutocompleteItemIcon.displayName = \"AutocompleteItemIcon\"\nAutocompleteItemIcon.__ui__ = \"AutocompleteItemIcon\"\n"],"mappings":";;;;;;AAEA,SAAS,YAAY,UAAU;AAC/B,SAAS,aAAa,iBAAiB;AACvC,SAAS,oBAAoB;AAC7B,SAAS,IAAI,kBAAkB,s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AAO,OAAO;AAAA,MACb,GAAG;AAAA,MAEH,wCAAY,oBAAC,aAAU,GAAE,SAAQ,GAAE,SAAQ;AAAA;AAAA,EAC9C;AAEJ;AAEA,sBAAsB,cAAc;AACpC,sBAAsB,SAAS;AAIxB,IAAM,uBAAuB,WAGlC,CAAC,EAAE,WAAW,GAAG,KAAK,GAAG,QAAQ;AACjC,QAAM,EAAE,OAAO,IAAI,uBAAuB;AAE1C,QAAM,MAAmB;AAAA,IACvB,YAAY;AAAA,IACZ,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,GAAG,OAAO;AAAA,EACZ;AAEA,SACE;AAAA,IAAC,GAAG;AAAA,IAAH;AAAA,MACC;AAAA,MACA,WAAW,GAAG,+BAA+B,SAAS;AAAA,MACtD,OAAO;AAAA,MACN,GAAG;AAAA;AAAA,EACN;AAEJ,CAAC;AAED,qBAAqB,cAAc;AACnC,qBAAqB,SAAS;","names":[]}
@@ -1,10 +1,10 @@
1
1
  "use client"
2
2
  import {
3
3
  useAutocompleteOption
4
- } from "./chunk-ZJFWWXQM.mjs";
4
+ } from "./chunk-DDMSYTKO.mjs";
5
5
  import {
6
6
  AutocompleteItemIcon
7
- } from "./chunk-I5X4WSCX.mjs";
7
+ } from "./chunk-V6YCG642.mjs";
8
8
  import {
9
9
  useAutocompleteContext
10
10
  } from "./chunk-WDQYM4FP.mjs";
@@ -60,4 +60,4 @@ AutocompleteCheckIcon.__ui__ = "AutocompleteCheckIcon";
60
60
  export {
61
61
  AutocompleteOption
62
62
  };
63
- //# sourceMappingURL=chunk-ZEGANG5C.mjs.map
63
+ //# sourceMappingURL=chunk-WFLZPB35.mjs.map
package/dist/index.js CHANGED
@@ -84,8 +84,8 @@ var AutocompleteIcon = (0, import_core.forwardRef)(
84
84
  maxHeight: "1em",
85
85
  maxWidth: "1em"
86
86
  },
87
- focusable: false,
88
- "aria-hidden": true
87
+ "aria-hidden": true,
88
+ focusable: false
89
89
  })
90
90
  );
91
91
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
@@ -249,13 +249,13 @@ var useAutocompleteOption = (props) => {
249
249
  ...computedProps,
250
250
  ...props2,
251
251
  style: !isTarget || omitSelectedValues && isSelected ? style : void 0,
252
- tabIndex: -1,
253
252
  "aria-checked": isSelected,
254
253
  "aria-disabled": (0, import_utils3.ariaAttr)(isDisabled),
255
254
  "data-disabled": (0, import_utils3.dataAttr)(isDisabled),
256
255
  "data-focus": (0, import_utils3.dataAttr)(isFocused),
257
256
  "data-target": (0, import_utils3.dataAttr)(true),
258
257
  "data-value": optionValue != null ? optionValue : "",
258
+ tabIndex: -1,
259
259
  onClick: (0, import_utils3.handlerAll)(computedProps.onClick, props2.onClick, onClick)
260
260
  };
261
261
  },
@@ -299,8 +299,8 @@ var useAutocompleteCreate = () => {
299
299
  ref,
300
300
  ...props,
301
301
  style: isHit ? style : void 0,
302
- tabIndex: -1,
303
302
  "data-focus": (0, import_utils3.dataAttr)(!isHit),
303
+ tabIndex: -1,
304
304
  onClick: (0, import_utils3.handlerAll)(props.onClick, onCreate)
305
305
  };
306
306
  },
@@ -677,8 +677,8 @@ var useAutocompleteOptionGroup = ({
677
677
  ...props,
678
678
  ...containerProps,
679
679
  style: isEmpty ? style : void 0,
680
- role: "autocomplete-group-container",
681
- "data-label": label
680
+ "data-label": label,
681
+ role: "autocomplete-group-container"
682
682
  };
683
683
  },
684
684
  [containerProps, isEmpty, label]
@@ -688,8 +688,8 @@ var useAutocompleteOptionGroup = ({
688
688
  ref,
689
689
  ...props,
690
690
  ...groupProps,
691
- role: "autocomplete-group",
692
- "data-label": label
691
+ "data-label": label,
692
+ role: "autocomplete-group"
693
693
  }),
694
694
  [groupProps, label]
695
695
  );
@@ -1543,9 +1543,9 @@ var useAutocomplete = (props) => {
1543
1543
  tabIndex: -1,
1544
1544
  ...props2,
1545
1545
  ...formControlProps,
1546
- placeholder,
1547
1546
  "aria-expanded": (0, import_utils11.dataAttr)(isOpen),
1548
1547
  "data-active": (0, import_utils11.dataAttr)(isOpen),
1548
+ placeholder,
1549
1549
  onFocus: (0, import_utils11.handlerAll)(props2.onFocus, onFocusProp, onFocus),
1550
1550
  onKeyDown: (0, import_utils11.handlerAll)(props2.onKeyDown, onKeyDownProp, onKeyDown)
1551
1551
  }),
@@ -1627,15 +1627,15 @@ var useAutocompleteInput = () => {
1627
1627
  return {
1628
1628
  ref: (0, import_utils11.mergeRefs)(inputRef, ref),
1629
1629
  ...formControlProps,
1630
- autoCapitalize: "none",
1631
- autoComplete: "off",
1632
- role: "combobox",
1633
- spellCheck: "false",
1634
1630
  "aria-activedescendant": (_a = value(focusedIndex)) == null ? void 0 : _a.node.id,
1635
1631
  "aria-autocomplete": "list",
1636
1632
  "aria-controls": (_b = listRef.current) == null ? void 0 : _b.id,
1637
1633
  "aria-expanded": isOpen,
1638
1634
  "aria-haspopup": "listbox",
1635
+ autoCapitalize: "none",
1636
+ autoComplete: "off",
1637
+ role: "combobox",
1638
+ spellCheck: "false",
1639
1639
  ...inputProps,
1640
1640
  ...props,
1641
1641
  id,
@@ -2053,6 +2053,8 @@ var MultiAutocompleteField = (0, import_core10.forwardRef)(
2053
2053
  import_core10.ui.input,
2054
2054
  {
2055
2055
  className: "ui-multi-autocomplete__field__input",
2056
+ "aria-label": "Input value",
2057
+ "aria-multiselectable": "true",
2056
2058
  display: "inline-block",
2057
2059
  flex: "1",
2058
2060
  marginBlockEnd: "0.125rem",
@@ -2060,8 +2062,6 @@ var MultiAutocompleteField = (0, import_core10.forwardRef)(
2060
2062
  minW: "0px",
2061
2063
  overflow: "hidden",
2062
2064
  placeholder: !(label == null ? void 0 : label.length) || keepPlaceholder && isOpen ? placeholder : void 0,
2063
- "aria-label": "Input value",
2064
- "aria-multiselectable": "true",
2065
2065
  ...getInputProps({ ...inputProps, value: inputValue }, ref)
2066
2066
  }
2067
2067
  )