@wistia/ui 0.14.30 → 0.14.31-beta.6f531719.b0ed2a3
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 +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.mjs +8 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.14.
|
|
3
|
+
* @license @wistia/ui v0.14.31-beta.6f531719.b0ed2a3
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -10531,7 +10531,8 @@ var Tooltip = ({
|
|
|
10531
10531
|
content,
|
|
10532
10532
|
children,
|
|
10533
10533
|
forceOpen,
|
|
10534
|
-
hideArrow = false
|
|
10534
|
+
hideArrow = false,
|
|
10535
|
+
container
|
|
10535
10536
|
}) => {
|
|
10536
10537
|
const rootProps = {};
|
|
10537
10538
|
if (content === "" || content === null) {
|
|
@@ -10547,7 +10548,7 @@ var Tooltip = ({
|
|
|
10547
10548
|
...rootProps,
|
|
10548
10549
|
children: [
|
|
10549
10550
|
/* @__PURE__ */ (0, import_jsx_runtime230.jsx)(import_react_tooltip2.Trigger, { asChild: true, children }),
|
|
10550
|
-
/* @__PURE__ */ (0, import_jsx_runtime230.jsx)(import_react_tooltip2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)(
|
|
10551
|
+
/* @__PURE__ */ (0, import_jsx_runtime230.jsx)(import_react_tooltip2.Portal, { container, children: /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)(
|
|
10551
10552
|
StyledContent,
|
|
10552
10553
|
{
|
|
10553
10554
|
side: direction,
|
|
@@ -13627,6 +13628,7 @@ var StyledInput = (0, import_styled_components79.default)(Input)`
|
|
|
13627
13628
|
border: none;
|
|
13628
13629
|
height: ${({ $height }) => `${$height}px`};
|
|
13629
13630
|
min-height: ${({ $height }) => `${$height}px`};
|
|
13631
|
+
resize: none;
|
|
13630
13632
|
}
|
|
13631
13633
|
`;
|
|
13632
13634
|
var editableStyles = import_styled_components79.css`
|
|
@@ -13988,9 +13990,10 @@ var StyledInput2 = (0, import_styled_components83.default)(Input)`
|
|
|
13988
13990
|
${({ $minLines }) => (0, import_type_guards45.isNotNil)($minLines) && `min-height: calc(${$minLines}lh + calc(var(--wui-editable-text-padding) * 2));`}
|
|
13989
13991
|
${({ $maxLines }) => (0, import_type_guards45.isNotNil)($maxLines) && `max-height: calc(${$maxLines}lh + calc(var(--wui-editable-text-padding) * 2));`}
|
|
13990
13992
|
${({ $typographicVariant }) => getTypographicStyles($typographicVariant)}
|
|
13991
|
-
padding: var(--wui-editable-text-padding);
|
|
13992
|
-
border-radius: var(--wui-editable-text-border-radius);
|
|
13993
13993
|
background-color: var(--wui-color-bg-surface);
|
|
13994
|
+
border-radius: var(--wui-editable-text-border-radius);
|
|
13995
|
+
padding: var(--wui-editable-text-padding);
|
|
13996
|
+
resize: none;
|
|
13994
13997
|
}
|
|
13995
13998
|
`;
|
|
13996
13999
|
var EditableTextInput = (props) => {
|