@wistia/vhs 5.0.0-beta.c198dcef.645d027 → 5.0.0
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 +4 -9
- package/dist/index.js.map +1 -1
- package/package.json +5 -7
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/vhs v5.0.0
|
|
3
|
+
* @license @wistia/vhs v5.0.0
|
|
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 (+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 } from "styled-components";
|
|
10733
|
+
import { styled as styled50, css as css23, keyframes } from "styled-components";
|
|
10734
10734
|
import {
|
|
10735
10735
|
DropdownMenu,
|
|
10736
10736
|
DropdownMenuTrigger,
|
|
@@ -10738,9 +10738,7 @@ 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
|
-
|
|
10742
|
-
// src/components/Menu/menuContentCss.ts
|
|
10743
|
-
import { css as css23, keyframes } from "styled-components";
|
|
10741
|
+
import { jsx as jsx193, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
10744
10742
|
var gutterWidth = "8px";
|
|
10745
10743
|
var open = keyframes`
|
|
10746
10744
|
from {
|
|
@@ -10792,9 +10790,6 @@ var menuContentCss = css23`
|
|
|
10792
10790
|
margin: ${({ theme: theme2 }) => theme2.spacing.space02} 0;
|
|
10793
10791
|
}
|
|
10794
10792
|
`;
|
|
10795
|
-
|
|
10796
|
-
// src/components/Menu/Menu.tsx
|
|
10797
|
-
import { jsx as jsx193, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
10798
10793
|
var MenuContent = styled50(DropdownMenuContent)`
|
|
10799
10794
|
${menuContentCss}
|
|
10800
10795
|
`;
|