@gustavo-valsechi/client 1.4.134 → 1.4.135

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.
@@ -125,7 +125,10 @@ function InputSelect(props) {
125
125
  {
126
126
  className: "input-icon",
127
127
  "data-focus": focus,
128
- onClick: !focus && inputRef.current.click,
128
+ onClick: () => {
129
+ if (focus) return;
130
+ inputRef.current.click();
131
+ },
129
132
  children: [
130
133
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("i", { "aria-hidden": true, className: "fa-solid fa-chevron-up" }),
131
134
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("i", { "aria-hidden": true, className: "fa-solid fa-chevron-down" })
@@ -92,7 +92,10 @@ function InputSelect(props) {
92
92
  {
93
93
  className: "input-icon",
94
94
  "data-focus": focus,
95
- onClick: !focus && inputRef.current.click,
95
+ onClick: () => {
96
+ if (focus) return;
97
+ inputRef.current.click();
98
+ },
96
99
  children: [
97
100
  /* @__PURE__ */ jsx("i", { "aria-hidden": true, className: "fa-solid fa-chevron-up" }),
98
101
  /* @__PURE__ */ jsx("i", { "aria-hidden": true, className: "fa-solid fa-chevron-down" })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gustavo-valsechi/client",
3
- "version": "1.4.134",
3
+ "version": "1.4.135",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",