@wistia/ui 0.18.0-beta.782f3b36.e196b15 → 0.18.0-beta.9dd31b7e.fa98d59
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 +4 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -9
- package/dist/index.d.ts +2 -9
- package/dist/index.mjs +4 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
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.9dd31b7e.fa98d59
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -8600,7 +8600,7 @@ var DEFAULT_ELEMENT = "div";
|
|
|
8600
8600
|
var BoxComponent = (0, import_react27.forwardRef)(
|
|
8601
8601
|
({
|
|
8602
8602
|
alignContent = "stretch",
|
|
8603
|
-
alignItems = "
|
|
8603
|
+
alignItems = "flex-start",
|
|
8604
8604
|
alignSelf,
|
|
8605
8605
|
basis,
|
|
8606
8606
|
children,
|
|
@@ -9481,7 +9481,6 @@ var prominenceMap = {
|
|
|
9481
9481
|
};
|
|
9482
9482
|
var Card = ({
|
|
9483
9483
|
children,
|
|
9484
|
-
alignItems = "flex-start",
|
|
9485
9484
|
border = false,
|
|
9486
9485
|
borderRadius = "border-radius-04",
|
|
9487
9486
|
colorScheme = "inherit",
|
|
@@ -9495,7 +9494,6 @@ var Card = ({
|
|
|
9495
9494
|
}) => /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
|
|
9496
9495
|
StyledCard,
|
|
9497
9496
|
{
|
|
9498
|
-
$alignItems: alignItems,
|
|
9499
9497
|
$backgroundColor: prominenceMap[prominence].backgroundColor,
|
|
9500
9498
|
$borderColor: border ? prominenceMap[prominence].borderColor : "transparent",
|
|
9501
9499
|
$borderRadius: borderRadius,
|
|
@@ -14992,6 +14990,7 @@ var FormField = ({
|
|
|
14992
14990
|
id: computedId,
|
|
14993
14991
|
label: isIntegratedLabel ? label : void 0,
|
|
14994
14992
|
"aria-describedby": ariaDescribedby,
|
|
14993
|
+
"aria-invalid": (0, import_type_guards49.isNotNil)(computedError),
|
|
14995
14994
|
...props
|
|
14996
14995
|
};
|
|
14997
14996
|
if ((0, import_type_guards49.isUndefined)(value) && (0, import_type_guards49.isNotUndefined)(defaultValue)) {
|
|
@@ -15013,8 +15012,7 @@ var FormField = ({
|
|
|
15013
15012
|
childProps = {
|
|
15014
15013
|
...childProps,
|
|
15015
15014
|
name: computedName,
|
|
15016
|
-
onChange: handleChange
|
|
15017
|
-
"aria-invalid": (0, import_type_guards49.isNotNil)(error)
|
|
15015
|
+
onChange: handleChange
|
|
15018
15016
|
};
|
|
15019
15017
|
}
|
|
15020
15018
|
import_react73.Children.only(children);
|