@wistia/ui 0.6.31 → 0.6.32-beta.243d13e8.9c16c92
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 +1 -1
- package/dist/index.d.ts +1 -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.6.
|
|
3
|
+
* @license @wistia/ui v0.6.32-beta.243d13e8.9c16c92
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -6779,7 +6779,8 @@ var Link = (0, import_react12.forwardRef)(
|
|
|
6779
6779
|
...commonProps,
|
|
6780
6780
|
...externalLinkProps
|
|
6781
6781
|
};
|
|
6782
|
-
|
|
6782
|
+
const shouldUseReactRouterLink = inRouterContext && type !== "external" && !to?.startsWith("http");
|
|
6783
|
+
return shouldUseReactRouterLink ? /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
|
|
6783
6784
|
StyledLink,
|
|
6784
6785
|
{
|
|
6785
6786
|
as: import_react_router_dom.Link,
|
|
@@ -8029,7 +8030,7 @@ var CollapsibleContent = ({ clamp, children }) => {
|
|
|
8029
8030
|
if ((0, import_type_guards24.isNotUndefined)(clamp)) {
|
|
8030
8031
|
return /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(ClampedContent, { $clamp: clamp, children });
|
|
8031
8032
|
}
|
|
8032
|
-
return /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(import_react_collapsible3.Content, {
|
|
8033
|
+
return /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(import_react_collapsible3.Content, { children: /* @__PURE__ */ (0, import_jsx_runtime209.jsxs)(import_jsx_runtime209.Fragment, { children: [
|
|
8033
8034
|
children,
|
|
8034
8035
|
" "
|
|
8035
8036
|
] }) });
|