@wistia/ui 0.18.0-beta.46b86a85.538143d → 0.18.0-beta.613e8e53.b4159b2

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.46b86a85.538143d
3
+ * @license @wistia/ui v0.18.0-beta.613e8e53.b4159b2
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -11849,7 +11849,6 @@ var Input = (0, import_react47.forwardRef)(
11849
11849
  autoSelect = false,
11850
11850
  leftIcon,
11851
11851
  rightIcon,
11852
- className,
11853
11852
  ...props
11854
11853
  }, externalRef) => {
11855
11854
  const internalRef = (0, import_react47.useRef)(null);
@@ -11886,7 +11885,6 @@ var Input = (0, import_react47.forwardRef)(
11886
11885
  {
11887
11886
  $fullWidth: fullWidth,
11888
11887
  $monospace: monospace,
11889
- className,
11890
11888
  "data-wui-input-container": true,
11891
11889
  children: [
11892
11890
  leftIconToDisplay ?? null,
@@ -14189,26 +14187,24 @@ var import_styled_components81 = require("styled-components");
14189
14187
  var import_react63 = require("react");
14190
14188
  var import_jsx_runtime276 = require("react/jsx-runtime");
14191
14189
  var StyledInput = (0, import_styled_components81.styled)(Input)`
14192
- input {
14193
- &:not([rows]) {
14194
- min-height: unset;
14195
- }
14190
+ &:not([rows]) {
14191
+ min-height: unset;
14192
+ }
14196
14193
 
14197
- && {
14198
- ${({ $variant }) => variantStyleMap[$variant]}
14199
- /* The input font styles (edit mode) needs the same font styles as Heading */
14200
- --wui-input-font-size: var(--font-size);
14201
- --wui-input-font-weight: var(--font-weight);
14202
- --wui-input-line-height: var(--line-height);
14194
+ && {
14195
+ ${({ $variant }) => variantStyleMap[$variant]}
14196
+ /* The input font styles (edit mode) needs the same font styles as Heading */
14197
+ --wui-input-font-size: var(--font-size);
14198
+ --wui-input-font-weight: var(--font-weight);
14199
+ --wui-input-line-height: var(--line-height);
14203
14200
 
14204
- font-family: var(--font-family);
14205
- width: 100%;
14206
- padding: var(--wui-space-02);
14207
- border: none;
14208
- height: ${({ $height }) => `${$height}px`};
14209
- min-height: ${({ $height }) => `${$height}px`};
14210
- resize: none;
14211
- }
14201
+ font-family: var(--font-family);
14202
+ width: 100%;
14203
+ padding: var(--wui-space-02);
14204
+ border: none;
14205
+ height: ${({ $height }) => `${$height}px`};
14206
+ min-height: ${({ $height }) => `${$height}px`};
14207
+ resize: none;
14212
14208
  }
14213
14209
  `;
14214
14210
  var editableStyles = import_styled_components81.css`
@@ -15024,7 +15020,9 @@ var FormField = ({
15024
15020
  StyledFormField,
15025
15021
  {
15026
15022
  ...props,
15023
+ "aria-labelledby": computedId,
15027
15024
  "data-label-position": labelPosition ?? formState.labelPosition,
15025
+ role: "group",
15028
15026
  children: [
15029
15027
  !isIntegratedLabel && /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(
15030
15028
  Label,