@inera/ids-react 9.1.0 → 9.1.1

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.
@@ -19,9 +19,10 @@ function IDSInputBase({ label, type = "text", icon, hint, unit, showSearchLabel
19
19
  }
20
20
  : {};
21
21
  ariaHandler["aria-label"] = type === "search" && !showSearchLabel ? label : "";
22
- return (jsxs(Fragment, { children: [jsxs("div", { className: clsx("ids-input", { "ids-input--search": type === "search", "ids-inout--icon": !!icon }, className), "data-testid": dataTestId, style: style, children: [jsxs("div", { className: "ids-input__wrapper", children: [label && (jsxs("div", { className: "ids-label-wrapper ids-label-wrapper--margin-bottom", children: [jsx("label", { className: clsx("ids-label", {
23
- "ids-label--disabled": disabled || readOnly,
24
- "ids-hidden": type === "search" && !showSearchLabel
22
+ return (jsxs(Fragment, { children: [jsxs("div", { className: clsx("ids-input", { "ids-input--search": type === "search", "ids-input--icon": !!icon }, className), "data-testid": dataTestId, style: style, children: [jsxs("div", { className: "ids-input__wrapper", children: [label && (jsxs("div", { className: clsx("ids-label-wrapper", "ids-label-wrapper--margin-bottom", {
23
+ "ids-hidden": type === "search" && !showSearchLabel
24
+ }), children: [jsx("label", { className: clsx("ids-label", {
25
+ "ids-label--disabled": disabled || readOnly
25
26
  }), htmlFor: inputId, children: label }), tooltip && jsx("span", { className: "ids-label__tooltip", children: tooltip })] })), jsxs("div", { className: "ids-input__unit-wrapper", children: [jsxs("div", { className: "ids-input__input-wrapper", children: [type === "search" && jsx("span", { className: "ids-input__search-icon" }), jsx("input", { ref: inputRef, id: inputId, type: type, readOnly: readOnly, className: clsx("ids-input__input", {
26
27
  "ids-input--light": light,
27
28
  "ids-input--invalid": invalid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inera/ids-react",
3
- "version": "9.1.0",
3
+ "version": "9.1.1",
4
4
  "type": "module",
5
5
  "peerDependencies": {
6
6
  "react": "*",