@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/main.js CHANGED
@@ -742,10 +742,11 @@ function $ec2376a5dd0d13e6$export$a455218a85c89869({ label: label, description:
742
742
  $ec2376a5dd0d13e6$export$a455218a85c89869.displayName = "Field";
743
743
 
744
744
 
745
- function $d9ffc65197682590$export$f5b8910cec6cf069({ className: className, classNames: classNames, style: style, styles: styles, inputRef: inputRef, ...props }) {
745
+ function $d9ffc65197682590$export$f5b8910cec6cf069({ className: className, classNames: classNames, style: style, styles: styles, onChange: onChange, inputRef: inputRef, ...props }) {
746
746
  const internalInputRef = (0, ($parcel$interopDefault($8zHUo$react))).useRef(null);
747
747
  const { labelProps: labelProps, inputProps: inputProps, errorMessageProps: errorMessageProps, descriptionProps: descriptionProps } = (0, $8zHUo$reactaria.useTextField)({
748
748
  ...props,
749
+ onChange: onChange,
749
750
  inputElementType: "input"
750
751
  }, internalInputRef);
751
752
  return /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)((0, $ec2376a5dd0d13e6$export$a455218a85c89869), {
@@ -758,7 +759,7 @@ function $d9ffc65197682590$export$f5b8910cec6cf069({ className: className, class
758
759
  style: style,
759
760
  ...props,
760
761
  children: /*#__PURE__*/ (0, $8zHUo$reactjsxruntime.jsx)("input", {
761
- ref: (0, $62f1c614c0962470$export$c9058316764c140e)(internalInputRef, inputRef),
762
+ ref: (0, $62f1c614c0962470$export$c9058316764c140e)(inputRef, internalInputRef),
762
763
  "data-has-left-addon": !!props.prepend,
763
764
  "data-has-right-addon": !!props.append,
764
765
  className: (0, $62f1c614c0962470$export$a274e22fb40f762e)("p-text-input-el"),
@@ -989,12 +990,13 @@ $3af04cd154cf4de1$export$c25acd513dcc8062.displayName = "IconButton";
989
990
 
990
991
 
991
992
 
992
- function $77c71203b3212c65$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 }) {
993
+ function $77c71203b3212c65$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 }) {
993
994
  const ariaProps = {
994
995
  ...props,
995
996
  maxValue: maxValue,
996
997
  formatOptions: formatOptions,
997
998
  minValue: minValue,
999
+ onChange: onChange,
998
1000
  "aria-label": props["aria-label"] ?? "number input"
999
1001
  };
1000
1002
  const space = (0, $eae337549f49a5a2$export$450c36e0b0e62ccd)();