@parrot-co/parrot-ui 0.1.11 → 0.1.12

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/module.js CHANGED
@@ -675,10 +675,11 @@ function $095d89378519ff08$export$a455218a85c89869({ label: label, description:
675
675
  $095d89378519ff08$export$a455218a85c89869.displayName = "Field";
676
676
 
677
677
 
678
- function $ef10b8551376ecd8$export$f5b8910cec6cf069({ className: className, classNames: classNames, style: style, styles: styles, inputRef: inputRef, ...props }) {
678
+ function $ef10b8551376ecd8$export$f5b8910cec6cf069({ className: className, classNames: classNames, style: style, styles: styles, onChange: onChange, inputRef: inputRef, ...props }) {
679
679
  const internalInputRef = (0, $hgUW1$react).useRef(null);
680
680
  const { labelProps: labelProps, inputProps: inputProps, errorMessageProps: errorMessageProps, descriptionProps: descriptionProps } = (0, $hgUW1$useTextField)({
681
681
  ...props,
682
+ onChange: onChange,
682
683
  inputElementType: "input"
683
684
  }, internalInputRef);
684
685
  return /*#__PURE__*/ (0, $hgUW1$jsx)((0, $095d89378519ff08$export$a455218a85c89869), {
@@ -691,7 +692,7 @@ function $ef10b8551376ecd8$export$f5b8910cec6cf069({ className: className, class
691
692
  style: style,
692
693
  ...props,
693
694
  children: /*#__PURE__*/ (0, $hgUW1$jsx)("input", {
694
- ref: (0, $cce662c1d2ec881b$export$c9058316764c140e)(internalInputRef, inputRef),
695
+ ref: (0, $cce662c1d2ec881b$export$c9058316764c140e)(inputRef, internalInputRef),
695
696
  "data-has-left-addon": !!props.prepend,
696
697
  "data-has-right-addon": !!props.append,
697
698
  className: (0, $cce662c1d2ec881b$export$a274e22fb40f762e)("p-text-input-el"),
@@ -922,12 +923,13 @@ $e3f71af5eaf1c216$export$c25acd513dcc8062.displayName = "IconButton";
922
923
 
923
924
 
924
925
 
925
- function $2e89c7375b40283e$export$6bf0cd3a219bbade({ appearance: appearance = "outline", size: size = "md", color: color = "gray", classNames: classNames, styles: styles, append: append, prepend: prepend, placeholder: placeholder, showSteppers: showSteppers = false, error: error, label: label, minValue: minValue, maxValue: maxValue, formatOptions: formatOptions, inputRef: inputRef, incrementIcon: incrementIcon, decrementIcon: decrementIcon, ...props }) {
926
+ function $2e89c7375b40283e$export$6bf0cd3a219bbade({ appearance: appearance = "outline", size: size = "md", color: color = "gray", classNames: classNames, styles: styles, append: append, prepend: prepend, placeholder: placeholder, showSteppers: showSteppers = false, error: error, label: label, minValue: minValue, maxValue: maxValue, formatOptions: formatOptions, inputRef: inputRef, incrementIcon: incrementIcon, decrementIcon: decrementIcon, onChange: onChange, ...props }) {
926
927
  const ariaProps = {
927
928
  ...props,
928
929
  maxValue: maxValue,
929
930
  formatOptions: formatOptions,
930
931
  minValue: minValue,
932
+ onChange: onChange,
931
933
  "aria-label": props["aria-label"] ?? "number input"
932
934
  };
933
935
  const space = (0, $41cc567ab0625f8f$export$450c36e0b0e62ccd)();