@wistia/ui 0.18.0-beta.89fb236c.e8cb4a9 → 0.18.0-beta.90369b5e.f96f73a

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.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.18.0-beta.89fb236c.e8cb4a9
3
+ * @license @wistia/ui v0.18.0-beta.90369b5e.f96f73a
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -11775,11 +11775,12 @@ var StyledInputContainer = import_styled_components62.styled.div`
11775
11775
  position: relative;
11776
11776
  ${inputStyles};
11777
11777
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
11778
- height: ${({ $fullHeight, $isMultiline }) => $fullHeight && $isMultiline ? "100%" : "auto"};
11778
+ height: ${({ $fullHeight }) => $fullHeight ? "100%" : "auto"};
11779
11779
 
11780
11780
  input,
11781
11781
  textarea {
11782
11782
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
11783
+ height: ${({ $fullHeight }) => $fullHeight ? "100%" : "auto"};
11783
11784
  ${({ $monospace }) => $monospace && "font-family: var(--wui-typography-family-mono);"}
11784
11785
  }
11785
11786
 
@@ -11787,7 +11788,6 @@ var StyledInputContainer = import_styled_components62.styled.div`
11787
11788
  --wui-input-line-height: var(--wui-typography-body-3-line-height);
11788
11789
 
11789
11790
  border-radius: var(--wui-input-multiline-border-radius);
11790
- height: ${({ $fullHeight }) => $fullHeight ? "100%" : "auto"};
11791
11791
 
11792
11792
  /* override height calculations when fullHeight is enabled */
11793
11793
  ${({ $fullHeight }) => $fullHeight && `
@@ -11925,7 +11925,6 @@ var Input = (0, import_react47.forwardRef)(
11925
11925
  {
11926
11926
  $fullHeight: fullHeight,
11927
11927
  $fullWidth: fullWidth,
11928
- $isMultiline: type === "multiline",
11929
11928
  $monospace: monospace,
11930
11929
  "data-wui-input-container": true,
11931
11930
  children: [
@@ -15036,7 +15035,6 @@ var FormField = ({
15036
15035
  id: computedId,
15037
15036
  label: isIntegratedLabel ? label : void 0,
15038
15037
  "aria-describedby": ariaDescribedby,
15039
- "aria-invalid": (0, import_type_guards49.isNotNil)(computedError),
15040
15038
  ...props
15041
15039
  };
15042
15040
  if ((0, import_type_guards49.isUndefined)(value) && (0, import_type_guards49.isNotUndefined)(defaultValue)) {
@@ -15058,7 +15056,8 @@ var FormField = ({
15058
15056
  childProps = {
15059
15057
  ...childProps,
15060
15058
  name: computedName,
15061
- onChange: handleChange
15059
+ onChange: handleChange,
15060
+ "aria-invalid": (0, import_type_guards49.isNotNil)(error)
15062
15061
  };
15063
15062
  }
15064
15063
  import_react73.Children.only(children);