widenarrow-ui 1.1.62 → 1.1.63

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.
@@ -25,7 +25,7 @@ export interface SelectInputProps {
25
25
  loading?: boolean;
26
26
  ariaLabel?: string;
27
27
  label?: string;
28
- name: string;
28
+ name?: string;
29
29
  onChange: (value: string | number) => void;
30
30
  options: Array<OptionItem>;
31
31
  value: string | number;
package/lib/index.d.ts CHANGED
@@ -1018,7 +1018,7 @@ interface SelectInputProps {
1018
1018
  loading?: boolean;
1019
1019
  ariaLabel?: string;
1020
1020
  label?: string;
1021
- name: string;
1021
+ name?: string;
1022
1022
  onChange: (value: string | number) => void;
1023
1023
  options: Array<OptionItem>;
1024
1024
  value: string | number;
package/lib/index.esm.js CHANGED
@@ -3509,13 +3509,14 @@ var styles$1 = {"body":"SelectInput-module_w2mdUW","container":"SelectInput-modu
3509
3509
  var s$1 = classNames.bind(styles$1);
3510
3510
  var SelectInput = function (_a) {
3511
3511
  var _b, _c, _d;
3512
- var label = _a.label, _e = _a.withLabel, withLabel = _e === void 0 ? true : _e, inputRef = _a.inputRef, _f = _a.nativeHtmlComponent, nativeHtmlComponent = _f === void 0 ? true : _f, _g = _a.size, size = _g === void 0 ? SizeTypes.MEDIUM : _g, sizeMd = _a.sizeMd, sizeLg = _a.sizeLg, sizeXl = _a.sizeXl, ariaLabel = _a.ariaLabel, id = _a.id, onChange = _a.onChange, defaultOption = _a.defaultOption, value = _a.value, error = _a.error, autoFocus = _a.autoFocus, helperText = _a.helperText, options = _a.options, disabled = _a.disabled, loading = _a.loading, className = _a.className, inputClassName = _a.inputClassName, marginBottom = _a.marginBottom;
3512
+ var label = _a.label, _e = _a.withLabel, withLabel = _e === void 0 ? true : _e, inputRef = _a.inputRef, _f = _a.nativeHtmlComponent, nativeHtmlComponent = _f === void 0 ? true : _f, _g = _a.size, size = _g === void 0 ? SizeTypes.MEDIUM : _g, sizeMd = _a.sizeMd, sizeLg = _a.sizeLg, sizeXl = _a.sizeXl, ariaLabel = _a.ariaLabel, id = _a.id, onChange = _a.onChange, defaultOption = _a.defaultOption, value = _a.value, error = _a.error, autoFocus = _a.autoFocus, helperText = _a.helperText, options = _a.options, disabled = _a.disabled, loading = _a.loading, name = _a.name, className = _a.className, inputClassName = _a.inputClassName, marginBottom = _a.marginBottom;
3513
3513
  var htmlId = useMemo(function () { return (id ? "".concat(id) : shortUid()); }, []);
3514
3514
  var inputAttributes = (_b = {
3515
3515
  ref: inputRef,
3516
3516
  id: htmlId,
3517
3517
  value: value,
3518
3518
  autoFocus: autoFocus,
3519
+ name: name,
3519
3520
  disabled: disabled || loading
3520
3521
  },
3521
3522
  _b['aria-label'] = ariaLabel || label,