@povio/ui 2.2.9-rc.41 → 2.2.9-rc.42

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.
@@ -102,6 +102,10 @@ function Autocomplete({ renderStaticInput, ...props }) {
102
102
  children: (dataAttributeProps) => /* @__PURE__ */ jsxs(Fragment, { children: [isMultiple && !isEmpty && displayValue, /* @__PURE__ */ jsx("input", {
103
103
  disabled: isDisabled,
104
104
  tabIndex: -1,
105
+ role: "combobox",
106
+ "aria-autocomplete": "list",
107
+ "aria-controls": `${dataAttributeProps.id}-listbox`,
108
+ "aria-expanded": false,
105
109
  value: inputValue,
106
110
  placeholder: isMultiple && shouldRenderPlaceholderAfterValue ? props.placeholder : placeholder ?? void 0,
107
111
  className: clsx("w-full flex-1 bg-transparent outline-none placeholder:text-text-default-3 disabled:text-interactive-text-secondary-disabled", props.inputClassName),
@@ -104,6 +104,10 @@ function Select({ renderStaticInput, ...props }) {
104
104
  children: (dataAttributeProps) => /* @__PURE__ */ jsxs(Fragment, { children: [isMultiple && !isEmpty && displayValue, isSearchable ? /* @__PURE__ */ jsx("input", {
105
105
  disabled: isDisabled,
106
106
  tabIndex: -1,
107
+ role: "combobox",
108
+ "aria-autocomplete": "list",
109
+ "aria-controls": `${dataAttributeProps.id}-listbox`,
110
+ "aria-expanded": false,
107
111
  value: inputValue,
108
112
  placeholder: shouldRenderPlaceholderAfterValue ? props.placeholder : placeholder ?? void 0,
109
113
  className: clsx("w-full flex-1 bg-transparent outline-none placeholder:text-text-default-3 disabled:text-interactive-text-secondary-disabled", props.inputClassName),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@povio/ui",
3
- "version": "2.2.9-rc.41",
3
+ "version": "2.2.9-rc.42",
4
4
  "type": "module",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",