@wistia/ui 0.6.13 → 0.6.14-beta.30f9669d.d887623
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 +5 -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 +5 -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.6.
|
|
3
|
+
* @license @wistia/ui v0.6.14-beta.30f9669d.d887623
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -2203,6 +2203,7 @@ var ellipsisStyle = import_styled_components13.css`
|
|
|
2203
2203
|
overflow: hidden;
|
|
2204
2204
|
text-overflow: ellipsis;
|
|
2205
2205
|
white-space: nowrap;
|
|
2206
|
+
display: block;
|
|
2206
2207
|
|
|
2207
2208
|
/*
|
|
2208
2209
|
Using feature detection (i.e., -webkit-named-image) we only target Safari browsers
|
|
@@ -2225,7 +2226,7 @@ var ellipsisStyle = import_styled_components13.css`
|
|
|
2225
2226
|
var ellipsisFlexParentStyle = import_styled_components13.css`
|
|
2226
2227
|
min-width: 0;
|
|
2227
2228
|
`;
|
|
2228
|
-
var EllipsisComponent = import_styled_components13.default.
|
|
2229
|
+
var EllipsisComponent = import_styled_components13.default.span`
|
|
2229
2230
|
${ellipsisStyle};
|
|
2230
2231
|
${({ $lines }) => {
|
|
2231
2232
|
if ((0, import_type_guards8.isNotNil)($lines)) {
|
|
@@ -9563,13 +9564,14 @@ var StyledSubTrigger = (0, import_styled_components55.default)(import_react_drop
|
|
|
9563
9564
|
background-color: var(--wui-color-bg-surface-hover);
|
|
9564
9565
|
}
|
|
9565
9566
|
`;
|
|
9566
|
-
var SubMenuTrigger = (props) => {
|
|
9567
|
+
var SubMenuTrigger = ({ icon, ...props }) => {
|
|
9567
9568
|
const { isSmAndUp } = useMq();
|
|
9568
9569
|
const Trigger4 = isSmAndUp ? StyledSubTrigger : import_react_dropdown_menu3.DropdownMenuItem;
|
|
9569
9570
|
return /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Trigger4, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
|
|
9570
9571
|
MenuItemButton,
|
|
9571
9572
|
{
|
|
9572
9573
|
...props,
|
|
9574
|
+
leftIcon: icon,
|
|
9573
9575
|
rightIcon: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Icon, { type: "caret-right" })
|
|
9574
9576
|
}
|
|
9575
9577
|
) });
|