@wistia/vhs 5.0.0-beta.5c8f6fa33d415.febfc22 → 5.0.0-beta.c198dcef.645d027
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.js +9 -4
- package/dist/index.js.map +1 -1
- package/package.json +7 -5
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/vhs v5.0.0-beta.
|
|
3
|
+
* @license @wistia/vhs v5.0.0-beta.c198dcef.645d027
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2021-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -588,7 +588,7 @@ var objectHelpers = { isObject, deepFreeze, merge, selectKeys };
|
|
|
588
588
|
var camelCase = (str = "") => (
|
|
589
589
|
// https://stackoverflow.com/questions/2970525/converting-any-string-into-camel-case
|
|
590
590
|
str.replace(/(?:^\w|[A-Z]|\b\w|\s+)/g, (match, index) => {
|
|
591
|
-
if (
|
|
591
|
+
if (Number(match) === 0) {
|
|
592
592
|
return "";
|
|
593
593
|
}
|
|
594
594
|
return index === 0 ? match.toLowerCase() : match.toUpperCase();
|
|
@@ -10730,7 +10730,7 @@ List.displayName = "List_VHS";
|
|
|
10730
10730
|
import { DropdownMenuRadioGroup } from "@radix-ui/react-dropdown-menu";
|
|
10731
10731
|
|
|
10732
10732
|
// src/components/Menu/Menu.tsx
|
|
10733
|
-
import { styled as styled50
|
|
10733
|
+
import { styled as styled50 } from "styled-components";
|
|
10734
10734
|
import {
|
|
10735
10735
|
DropdownMenu,
|
|
10736
10736
|
DropdownMenuTrigger,
|
|
@@ -10738,7 +10738,9 @@ import {
|
|
|
10738
10738
|
DropdownMenuContent
|
|
10739
10739
|
} from "@radix-ui/react-dropdown-menu";
|
|
10740
10740
|
import { isNotNil as isNotNil30, isNotUndefined as isNotUndefined12 } from "@wistia/type-guards";
|
|
10741
|
-
|
|
10741
|
+
|
|
10742
|
+
// src/components/Menu/menuContentCss.ts
|
|
10743
|
+
import { css as css23, keyframes } from "styled-components";
|
|
10742
10744
|
var gutterWidth = "8px";
|
|
10743
10745
|
var open = keyframes`
|
|
10744
10746
|
from {
|
|
@@ -10790,6 +10792,9 @@ var menuContentCss = css23`
|
|
|
10790
10792
|
margin: ${({ theme: theme2 }) => theme2.spacing.space02} 0;
|
|
10791
10793
|
}
|
|
10792
10794
|
`;
|
|
10795
|
+
|
|
10796
|
+
// src/components/Menu/Menu.tsx
|
|
10797
|
+
import { jsx as jsx193, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
10793
10798
|
var MenuContent = styled50(DropdownMenuContent)`
|
|
10794
10799
|
${menuContentCss}
|
|
10795
10800
|
`;
|