@wistia/ui 0.18.0-beta.1338688d.84af1a8 → 0.18.0-beta.1c9fd927.fd83b0d

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.1338688d.84af1a8
3
+ * @license @wistia/ui v0.18.0-beta.1c9fd927.fd83b0d
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -236,7 +236,6 @@ var globalStyleAdjustmentsCss = import_styled_components.css`
236
236
  * 1. Without this fonts are too heavy weight in OS X Firefox
237
237
  * 2. Design decision
238
238
  3. See: https://allthingssmitty.com/2020/05/11/css-fix-for-100vh-in-mobile-webkit/
239
- 4. Default font settings that all elements should get unless overridden
240
239
  */
241
240
  body {
242
241
  -moz-osx-font-smoothing: grayscale; /* 1 */
@@ -244,13 +243,6 @@ var globalStyleAdjustmentsCss = import_styled_components.css`
244
243
  line-height: 1.5; /* 2 */
245
244
  min-height: 100vh; /* 3 */
246
245
  min-height: -webkit-fill-available; /* 3 */
247
- color: var(--wui-color-text-high-contrast); /* 4 */
248
- font-family: var(--wui-typography-body-2-family); /* 4 */
249
- font-size: var(--wui-typography-body-2-size); /* 4 */
250
- font-weight: var(--wui-typography-body-2-weight); /* 4 */
251
-
252
- /* line-height: var(--wui-typography-body-2-line-height); */
253
- margin: 0; /* 2 */
254
246
  }
255
247
 
256
248
  /* Remove default margin in favour of better control in authored CSS */
@@ -14998,6 +14990,7 @@ var FormField = ({
14998
14990
  id: computedId,
14999
14991
  label: isIntegratedLabel ? label : void 0,
15000
14992
  "aria-describedby": ariaDescribedby,
14993
+ "aria-invalid": (0, import_type_guards49.isNotNil)(computedError),
15001
14994
  ...props
15002
14995
  };
15003
14996
  if ((0, import_type_guards49.isUndefined)(value) && (0, import_type_guards49.isNotUndefined)(defaultValue)) {
@@ -15019,8 +15012,7 @@ var FormField = ({
15019
15012
  childProps = {
15020
15013
  ...childProps,
15021
15014
  name: computedName,
15022
- onChange: handleChange,
15023
- "aria-invalid": (0, import_type_guards49.isNotNil)(error)
15015
+ onChange: handleChange
15024
15016
  };
15025
15017
  }
15026
15018
  import_react73.Children.only(children);