@wistia/ui 0.15.14-beta.1e41934b.72b042b → 0.15.14-beta.a458371c.6fd5976
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 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.mjs +4 -3
- 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.15.14-beta.
|
|
3
|
+
* @license @wistia/ui v0.15.14-beta.a458371c.6fd5976
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -14937,6 +14937,7 @@ var FormField = ({
|
|
|
14937
14937
|
label,
|
|
14938
14938
|
labelPosition,
|
|
14939
14939
|
name,
|
|
14940
|
+
required = false,
|
|
14940
14941
|
value,
|
|
14941
14942
|
...props
|
|
14942
14943
|
}) => {
|
|
@@ -14986,7 +14987,7 @@ var FormField = ({
|
|
|
14986
14987
|
...props,
|
|
14987
14988
|
"data-label-position": labelPosition ?? formState.labelPosition,
|
|
14988
14989
|
children: [
|
|
14989
|
-
!isIntegratedLabel && /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(Label, { htmlFor: computedId, children: label }),
|
|
14990
|
+
!isIntegratedLabel && /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(Label, { htmlFor: computedId, required, children: label }),
|
|
14990
14991
|
(0, import_type_guards49.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
|
|
14991
14992
|
(0, import_react73.cloneElement)(children, childProps),
|
|
14992
14993
|
(0, import_type_guards49.isNotNil)(computedError) ? /* @__PURE__ */ (0, import_jsx_runtime283.jsxs)(import_jsx_runtime283.Fragment, { children: [
|
|
@@ -16997,6 +16998,7 @@ var StyledTrigger2 = (0, import_styled_components110.default)(import_react_selec
|
|
|
16997
16998
|
outline: 1px solid var(--wui-input-color-border);
|
|
16998
16999
|
outline-offset: -2px;
|
|
16999
17000
|
border-radius: var(--wui-input-border-radius);
|
|
17001
|
+
min-width: 200px;
|
|
17000
17002
|
text-align: left;
|
|
17001
17003
|
display: inline-flex;
|
|
17002
17004
|
align-items: center;
|
|
@@ -17140,7 +17142,6 @@ var StyledItem = (0, import_styled_components111.default)(import_react_select2.I
|
|
|
17140
17142
|
align-items: ${({ $checkmarkVerticalAlign }) => $checkmarkVerticalAlign === "center" ? "center" : "flex-start"};
|
|
17141
17143
|
background-color: transparent;
|
|
17142
17144
|
display: flex;
|
|
17143
|
-
gap: var(--wui-space-01);
|
|
17144
17145
|
padding: var(--wui-select-option-padding);
|
|
17145
17146
|
justify-content: space-between;
|
|
17146
17147
|
font-size: var(--font-size);
|