@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 +3 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +94 -94
- package/dist/index.d.ts +94 -94
- package/dist/index.mjs +3 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.18.0-beta.
|
|
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
|
*
|
|
@@ -47,7 +47,6 @@ var globalStyleAdjustmentsCss = css`
|
|
|
47
47
|
* 1. Without this fonts are too heavy weight in OS X Firefox
|
|
48
48
|
* 2. Design decision
|
|
49
49
|
3. See: https://allthingssmitty.com/2020/05/11/css-fix-for-100vh-in-mobile-webkit/
|
|
50
|
-
4. Default font settings that all elements should get unless overridden
|
|
51
50
|
*/
|
|
52
51
|
body {
|
|
53
52
|
-moz-osx-font-smoothing: grayscale; /* 1 */
|
|
@@ -55,13 +54,6 @@ var globalStyleAdjustmentsCss = css`
|
|
|
55
54
|
line-height: 1.5; /* 2 */
|
|
56
55
|
min-height: 100vh; /* 3 */
|
|
57
56
|
min-height: -webkit-fill-available; /* 3 */
|
|
58
|
-
color: var(--wui-color-text-high-contrast); /* 4 */
|
|
59
|
-
font-family: var(--wui-typography-body-2-family); /* 4 */
|
|
60
|
-
font-size: var(--wui-typography-body-2-size); /* 4 */
|
|
61
|
-
font-weight: var(--wui-typography-body-2-weight); /* 4 */
|
|
62
|
-
|
|
63
|
-
/* line-height: var(--wui-typography-body-2-line-height); */
|
|
64
|
-
margin: 0; /* 2 */
|
|
65
57
|
}
|
|
66
58
|
|
|
67
59
|
/* Remove default margin in favour of better control in authored CSS */
|
|
@@ -14848,6 +14840,7 @@ var FormField = ({
|
|
|
14848
14840
|
id: computedId,
|
|
14849
14841
|
label: isIntegratedLabel ? label : void 0,
|
|
14850
14842
|
"aria-describedby": ariaDescribedby,
|
|
14843
|
+
"aria-invalid": isNotNil28(computedError),
|
|
14851
14844
|
...props
|
|
14852
14845
|
};
|
|
14853
14846
|
if (isUndefined4(value) && isNotUndefined12(defaultValue)) {
|
|
@@ -14869,8 +14862,7 @@ var FormField = ({
|
|
|
14869
14862
|
childProps = {
|
|
14870
14863
|
...childProps,
|
|
14871
14864
|
name: computedName,
|
|
14872
|
-
onChange: handleChange
|
|
14873
|
-
"aria-invalid": isNotNil28(error)
|
|
14865
|
+
onChange: handleChange
|
|
14874
14866
|
};
|
|
14875
14867
|
}
|
|
14876
14868
|
Children10.only(children);
|