next-recomponents 1.7.22 → 1.7.24

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.
package/dist/index.js CHANGED
@@ -44320,7 +44320,6 @@ function Select(_a) {
44320
44320
  ].join(" "),
44321
44321
  value: inputValue,
44322
44322
  onBlur: (e) => {
44323
- var _a2;
44324
44323
  const item = validOption(e.target.value);
44325
44324
  if (!item) {
44326
44325
  if (strictMode) {
@@ -44335,12 +44334,9 @@ function Select(_a) {
44335
44334
  e.currentTarget.classList.add("bg-green-200");
44336
44335
  e.currentTarget.classList.remove("bg-red-200");
44337
44336
  }
44338
- (_a2 = props == null ? void 0 : props.onChange) == null ? void 0 : _a2.call(props, e);
44339
44337
  },
44340
44338
  onChange: (e) => {
44341
- var _a2;
44342
44339
  setInputValue(e.target.value);
44343
- (_a2 = props == null ? void 0 : props.onChange) == null ? void 0 : _a2.call(props, e);
44344
44340
  },
44345
44341
  placeholder,
44346
44342
  onFocus: () => setIsOpen(true),
package/dist/index.mjs CHANGED
@@ -44308,7 +44308,6 @@ function Select(_a) {
44308
44308
  ].join(" "),
44309
44309
  value: inputValue,
44310
44310
  onBlur: (e) => {
44311
- var _a2;
44312
44311
  const item = validOption(e.target.value);
44313
44312
  if (!item) {
44314
44313
  if (strictMode) {
@@ -44323,12 +44322,9 @@ function Select(_a) {
44323
44322
  e.currentTarget.classList.add("bg-green-200");
44324
44323
  e.currentTarget.classList.remove("bg-red-200");
44325
44324
  }
44326
- (_a2 = props == null ? void 0 : props.onChange) == null ? void 0 : _a2.call(props, e);
44327
44325
  },
44328
44326
  onChange: (e) => {
44329
- var _a2;
44330
44327
  setInputValue(e.target.value);
44331
- (_a2 = props == null ? void 0 : props.onChange) == null ? void 0 : _a2.call(props, e);
44332
44328
  },
44333
44329
  placeholder,
44334
44330
  onFocus: () => setIsOpen(true),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-recomponents",
3
- "version": "1.7.22",
3
+ "version": "1.7.24",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -132,11 +132,11 @@ export default function Select({
132
132
  e.currentTarget.classList.remove("bg-red-200");
133
133
  }
134
134
 
135
- props?.onChange?.(e);
135
+ // props?.onChange?.(e);
136
136
  }}
137
137
  onChange={(e) => {
138
138
  setInputValue(e.target.value);
139
- props?.onChange?.(e);
139
+ // props?.onChange?.(e);
140
140
  }}
141
141
  placeholder={placeholder}
142
142
  onFocus={() => setIsOpen(true)}