@algorithm-shift/design-system 1.3.103 → 1.3.104

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
@@ -983,7 +983,7 @@ var TextInput = ({ className, style, ...props }) => {
983
983
  const isAutocomplete = props.isAutocomplete ?? false;
984
984
  (0, import_react9.useEffect)(() => {
985
985
  if (props.value !== void 0) {
986
- const e = { target: { value: props.value } };
986
+ const e = { target: { value: props.value }, type: "change" };
987
987
  handleChange?.(e);
988
988
  }
989
989
  }, []);
@@ -1033,7 +1033,7 @@ var NumberInput = ({ className, style, ...props }) => {
1033
1033
  const isAutocomplete = props.isAutocomplete ?? false;
1034
1034
  (0, import_react10.useEffect)(() => {
1035
1035
  if (props.value !== void 0) {
1036
- const e = { target: { value: props.value } };
1036
+ const e = { target: { value: props.value }, type: "change" };
1037
1037
  handleChange?.(e);
1038
1038
  }
1039
1039
  }, []);
@@ -1083,7 +1083,7 @@ var EmailInput = ({ className, style, ...props }) => {
1083
1083
  const isAutocomplete = props.isAutocomplete ?? false;
1084
1084
  (0, import_react11.useEffect)(() => {
1085
1085
  if (props.value !== void 0) {
1086
- const e = { target: { value: props.value } };
1086
+ const e = { target: { value: props.value }, type: "change" };
1087
1087
  handleChange?.(e);
1088
1088
  }
1089
1089
  }, []);
@@ -1133,7 +1133,7 @@ var PasswordInput = ({ className, style, ...props }) => {
1133
1133
  const isAutocomplete = props.isAutocomplete ?? false;
1134
1134
  (0, import_react12.useEffect)(() => {
1135
1135
  if (props.value !== void 0) {
1136
- const e = { target: { value: props.value } };
1136
+ const e = { target: { value: props.value }, type: "change" };
1137
1137
  handleChange?.(e);
1138
1138
  }
1139
1139
  }, []);
@@ -1201,7 +1201,7 @@ var Textarea2 = ({ className, style, ...props }) => {
1201
1201
  const isAutocomplete = props.isAutocomplete ?? false;
1202
1202
  (0, import_react13.useEffect)(() => {
1203
1203
  if (props.value !== void 0) {
1204
- const e = { target: { value: props.value } };
1204
+ const e = { target: { value: props.value }, type: "change" };
1205
1205
  handleChange?.(e);
1206
1206
  }
1207
1207
  }, []);
@@ -1243,7 +1243,7 @@ var UrlInput = ({ className, style, ...props }) => {
1243
1243
  const isAutocomplete = props.isAutocomplete ?? false;
1244
1244
  (0, import_react14.useEffect)(() => {
1245
1245
  if (props.value !== void 0) {
1246
- const e = { target: { value: props.value } };
1246
+ const e = { target: { value: props.value }, type: "change" };
1247
1247
  handleChange?.(e);
1248
1248
  }
1249
1249
  }, []);
@@ -2511,7 +2511,7 @@ var SearchInput = ({ className, style, ...props }) => {
2511
2511
  const isAutocomplete = props.isAutocomplete ?? false;
2512
2512
  (0, import_react25.useEffect)(() => {
2513
2513
  if (props.value !== void 0) {
2514
- const e = { target: { value: props.value } };
2514
+ const e = { target: { value: props.value }, type: "change" };
2515
2515
  handleChange?.(e);
2516
2516
  }
2517
2517
  }, []);
@@ -2557,7 +2557,7 @@ var FileInput = ({ className, style, ...props }) => {
2557
2557
  const placeholder = props.placeholder ?? "Placeholder text";
2558
2558
  (0, import_react26.useEffect)(() => {
2559
2559
  if (props.value !== void 0) {
2560
- const e = { target: { value: props.value } };
2560
+ const e = { target: { value: props.value }, type: "change" };
2561
2561
  handleChange?.(e);
2562
2562
  }
2563
2563
  }, []);
@@ -3214,7 +3214,7 @@ var TextInputGroup = ({ className, style, prepend, append, ...props }) => {
3214
3214
  const isAutocomplete = props.isAutocomplete ?? false;
3215
3215
  (0, import_react28.useEffect)(() => {
3216
3216
  if (props.value !== void 0) {
3217
- const e = { target: { value: props.value } };
3217
+ const e = { target: { value: props.value }, type: "change" };
3218
3218
  handleChange?.(e);
3219
3219
  }
3220
3220
  }, []);