@wistia/vhs 3.0.2 → 4.0.0-beta.144ba507.317e0d6
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 +251 -250
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +39 -38
- package/dist/index.d.ts +39 -38
- package/dist/index.mjs +89 -88
- package/dist/index.mjs.map +1 -1
- package/package.json +30 -36
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/vhs
|
|
3
|
+
* @license @wistia/vhs v4.0.0-beta.144ba507.317e0d6
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2021-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -950,7 +950,7 @@ import { useState as useState3, useCallback as useCallback2 } from "react";
|
|
|
950
950
|
import { memo, useState as useState2, useEffect, useCallback, Fragment as Fragment3 } from "react";
|
|
951
951
|
import { createPortal } from "react-dom";
|
|
952
952
|
import { LiveMessage as LiveMessage2 } from "react-aria-live";
|
|
953
|
-
import styled3 from "styled-components";
|
|
953
|
+
import { styled as styled3 } from "styled-components";
|
|
954
954
|
import { isNonEmptyString as isNonEmptyString2 } from "@wistia/type-guards";
|
|
955
955
|
|
|
956
956
|
// src/components/Toast/ToastAnimation.tsx
|
|
@@ -1092,7 +1092,7 @@ import { forwardRef } from "react";
|
|
|
1092
1092
|
import { isNotNil as isNotNil3 } from "@wistia/type-guards";
|
|
1093
1093
|
|
|
1094
1094
|
// src/components/Button/ButtonContent.tsx
|
|
1095
|
-
import styled from "styled-components";
|
|
1095
|
+
import { styled } from "styled-components";
|
|
1096
1096
|
import { isNotNil as isNotNil2 } from "@wistia/type-guards";
|
|
1097
1097
|
import { LiveMessage } from "react-aria-live";
|
|
1098
1098
|
|
|
@@ -2858,7 +2858,7 @@ var ButtonContent = ({
|
|
|
2858
2858
|
};
|
|
2859
2859
|
|
|
2860
2860
|
// src/components/Button/ButtonStyledComponent.tsx
|
|
2861
|
-
import styled2,
|
|
2861
|
+
import { styled as styled2, css as css2 } from "styled-components";
|
|
2862
2862
|
import { darken, transparentize } from "polished";
|
|
2863
2863
|
var hoverDarken = "0.04";
|
|
2864
2864
|
var activeDarken = "0.08";
|
|
@@ -3707,7 +3707,7 @@ var normalize = css3`
|
|
|
3707
3707
|
[type='button'],
|
|
3708
3708
|
[type='reset'],
|
|
3709
3709
|
[type='submit'] {
|
|
3710
|
-
appearance:
|
|
3710
|
+
appearance: auto;
|
|
3711
3711
|
}
|
|
3712
3712
|
|
|
3713
3713
|
/**
|
|
@@ -3817,7 +3817,7 @@ var normalize = css3`
|
|
|
3817
3817
|
*/
|
|
3818
3818
|
|
|
3819
3819
|
::-webkit-file-upload-button {
|
|
3820
|
-
appearance:
|
|
3820
|
+
appearance: auto; /* 1 */
|
|
3821
3821
|
font: inherit; /* 2 */
|
|
3822
3822
|
}
|
|
3823
3823
|
|
|
@@ -3937,7 +3937,7 @@ import { useCallback as useCallback5 } from "react";
|
|
|
3937
3937
|
import { useEffect as useEffect2, useRef as useRef2, useState as useState5 } from "react";
|
|
3938
3938
|
var useTimedToggle = (initialValue) => {
|
|
3939
3939
|
const [value, setValue] = useState5(false);
|
|
3940
|
-
const timeoutRef = useRef2();
|
|
3940
|
+
const timeoutRef = useRef2(void 0);
|
|
3941
3941
|
const initialValueRef = useRef2(initialValue);
|
|
3942
3942
|
const toggleValue = (timeout2) => {
|
|
3943
3943
|
clearTimeout(timeoutRef.current);
|
|
@@ -4010,8 +4010,8 @@ var isEventTargetSupported = (eventTarget) => (
|
|
|
4010
4010
|
Boolean(typeof eventTarget === "object" && eventTarget?.addEventListener)
|
|
4011
4011
|
);
|
|
4012
4012
|
var useEvent = (eventName, eventHandler, eventTarget = window, eventOptions = {}) => {
|
|
4013
|
-
const savedEventHandler = useRef4();
|
|
4014
|
-
const savedEventOptions = useRef4();
|
|
4013
|
+
const savedEventHandler = useRef4(void 0);
|
|
4014
|
+
const savedEventOptions = useRef4(void 0);
|
|
4015
4015
|
useEffect3(() => {
|
|
4016
4016
|
savedEventHandler.current = eventHandler;
|
|
4017
4017
|
}, [eventHandler]);
|
|
@@ -4448,7 +4448,7 @@ var usePreventScroll = (locked) => {
|
|
|
4448
4448
|
// src/hooks/usePreviousValue/usePreviousValue.ts
|
|
4449
4449
|
import { useEffect as useEffect7, useRef as useRef7 } from "react";
|
|
4450
4450
|
var usePreviousValue = (value) => {
|
|
4451
|
-
const ref = useRef7();
|
|
4451
|
+
const ref = useRef7(void 0);
|
|
4452
4452
|
useEffect7(() => {
|
|
4453
4453
|
ref.current = value;
|
|
4454
4454
|
});
|
|
@@ -4456,7 +4456,7 @@ var usePreviousValue = (value) => {
|
|
|
4456
4456
|
};
|
|
4457
4457
|
|
|
4458
4458
|
// src/components/ActionModal/ActionModal.tsx
|
|
4459
|
-
import styled12 from "styled-components";
|
|
4459
|
+
import { styled as styled12 } from "styled-components";
|
|
4460
4460
|
import { isNotNil as isNotNil8 } from "@wistia/type-guards";
|
|
4461
4461
|
|
|
4462
4462
|
// src/components/ModalBase/ModalBase.tsx
|
|
@@ -4545,7 +4545,7 @@ var ModalBaseContent = ({
|
|
|
4545
4545
|
const wasJustShown = usePreviousValue(isShown);
|
|
4546
4546
|
const hide = () => setIsShownAttempted(false);
|
|
4547
4547
|
const show = useCallback8(() => setIsShownAttempted(true), []);
|
|
4548
|
-
const toggleButtonRef = useRef8();
|
|
4548
|
+
const toggleButtonRef = useRef8(void 0);
|
|
4549
4549
|
const modalEl = document.createElement("div");
|
|
4550
4550
|
modalEl.classList.add("Modal");
|
|
4551
4551
|
if (isNotUndefined2(className)) {
|
|
@@ -4659,7 +4659,7 @@ var ModalBase = (props) => {
|
|
|
4659
4659
|
ModalBase.displayName = "ModalBase_VHS";
|
|
4660
4660
|
|
|
4661
4661
|
// src/components/ButtonGroup/ButtonGroup.tsx
|
|
4662
|
-
import styled4 from "styled-components";
|
|
4662
|
+
import { styled as styled4 } from "styled-components";
|
|
4663
4663
|
import { isNil as isNil3 } from "@wistia/type-guards";
|
|
4664
4664
|
import { jsx as jsx122 } from "react/jsx-runtime";
|
|
4665
4665
|
var getAlignment = (align) => {
|
|
@@ -4721,11 +4721,11 @@ ButtonGroup.displayName = "ButtonGroup_VHS";
|
|
|
4721
4721
|
|
|
4722
4722
|
// src/components/Text/Text.tsx
|
|
4723
4723
|
import { forwardRef as forwardRef2 } from "react";
|
|
4724
|
-
import styled6,
|
|
4724
|
+
import { styled as styled6, css as css6 } from "styled-components";
|
|
4725
4725
|
|
|
4726
4726
|
// src/components/Ellipsis/Ellipsis.tsx
|
|
4727
4727
|
import { isNotNil as isNotNil6 } from "@wistia/type-guards";
|
|
4728
|
-
import styled5,
|
|
4728
|
+
import { styled as styled5, css as css5 } from "styled-components";
|
|
4729
4729
|
import { jsx as jsx123 } from "react/jsx-runtime";
|
|
4730
4730
|
var ellipsisStyle = css5`
|
|
4731
4731
|
overflow: hidden;
|
|
@@ -4917,7 +4917,7 @@ var Text = forwardRef2(
|
|
|
4917
4917
|
Text.displayName = "Text_VHS";
|
|
4918
4918
|
|
|
4919
4919
|
// src/components/Backdrop/Backdrop.tsx
|
|
4920
|
-
import styled7 from "styled-components";
|
|
4920
|
+
import { styled as styled7 } from "styled-components";
|
|
4921
4921
|
import { jsx as jsx125 } from "react/jsx-runtime";
|
|
4922
4922
|
var alignVerticalMap = {
|
|
4923
4923
|
normal: "normal",
|
|
@@ -4966,18 +4966,17 @@ Backdrop.displayName = "Backdrop_VHS";
|
|
|
4966
4966
|
|
|
4967
4967
|
// src/components/IconButton/IconButton.tsx
|
|
4968
4968
|
import { forwardRef as forwardRef3, useMemo as useMemo5 } from "react";
|
|
4969
|
-
import styled11,
|
|
4969
|
+
import { styled as styled11, css as css9 } from "styled-components";
|
|
4970
4970
|
import { transparentize as transparentize2 } from "polished";
|
|
4971
4971
|
import { isNonEmptyString as isNonEmptyString3 } from "@wistia/type-guards";
|
|
4972
4972
|
|
|
4973
4973
|
// src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
|
|
4974
|
-
import styled8,
|
|
4974
|
+
import { styled as styled8, css as css7 } from "styled-components";
|
|
4975
4975
|
import { isNotNil as isNotNil7 } from "@wistia/type-guards";
|
|
4976
4976
|
import { jsx as jsx126 } from "react/jsx-runtime";
|
|
4977
4977
|
var screenReaderOnlyStyle = css7`
|
|
4978
4978
|
border: 0;
|
|
4979
|
-
clip:
|
|
4980
|
-
clip-path: inset(50%); /* modern but less support */
|
|
4979
|
+
clip-path: inset(50%);
|
|
4981
4980
|
height: 1px;
|
|
4982
4981
|
overflow: hidden;
|
|
4983
4982
|
padding: 0;
|
|
@@ -5009,11 +5008,11 @@ ScreenReaderOnly.displayName = "ScreenReaderOnly_VHS";
|
|
|
5009
5008
|
|
|
5010
5009
|
// src/components/Tooltip/Tooltip.tsx
|
|
5011
5010
|
import { useEffect as useEffect9, useState as useState12, useRef as useRef9, useMemo as useMemo4, useId } from "react";
|
|
5012
|
-
import styled10 from "styled-components";
|
|
5011
|
+
import { styled as styled10 } from "styled-components";
|
|
5013
5012
|
import { isString as isString3 } from "@wistia/type-guards";
|
|
5014
5013
|
|
|
5015
5014
|
// src/components/Tooltip/TooltipContent.tsx
|
|
5016
|
-
import styled9,
|
|
5015
|
+
import { styled as styled9, css as css8 } from "styled-components";
|
|
5017
5016
|
import { jsx as jsx127 } from "react/jsx-runtime";
|
|
5018
5017
|
var ARROW_SIZE = 8;
|
|
5019
5018
|
var StyledTooltipLabel = styled9.div`
|
|
@@ -5681,7 +5680,7 @@ ActionModal.displayName = "ActionModal_VHS";
|
|
|
5681
5680
|
// src/components/Avatar/Avatar.tsx
|
|
5682
5681
|
import { useMemo as useMemo6, useState as useState13, useEffect as useEffect10 } from "react";
|
|
5683
5682
|
import { isNil as isNil6 } from "@wistia/type-guards";
|
|
5684
|
-
import styled13 from "styled-components";
|
|
5683
|
+
import { styled as styled13 } from "styled-components";
|
|
5685
5684
|
|
|
5686
5685
|
// src/components/Avatar/generateContactAvatarColors.tsx
|
|
5687
5686
|
var colorVariants = {
|
|
@@ -5831,7 +5830,7 @@ var Avatar = ({
|
|
|
5831
5830
|
Avatar.displayName = "Avatar_VHS";
|
|
5832
5831
|
|
|
5833
5832
|
// src/components/BackgroundImage/BackgroundImage.tsx
|
|
5834
|
-
import styled14 from "styled-components";
|
|
5833
|
+
import { styled as styled14 } from "styled-components";
|
|
5835
5834
|
import { isString as isString5 } from "@wistia/type-guards";
|
|
5836
5835
|
import { jsx as jsx134 } from "react/jsx-runtime";
|
|
5837
5836
|
var shouldWrap = (src) => {
|
|
@@ -5935,7 +5934,7 @@ var BackgroundImage = ({
|
|
|
5935
5934
|
BackgroundImage.displayName = "BackgroundImage_VHS";
|
|
5936
5935
|
|
|
5937
5936
|
// src/components/Badge/Badge.tsx
|
|
5938
|
-
import styled15 from "styled-components";
|
|
5937
|
+
import { styled as styled15 } from "styled-components";
|
|
5939
5938
|
import { isNotNil as isNotNil9 } from "@wistia/type-guards";
|
|
5940
5939
|
|
|
5941
5940
|
// src/components/Badge/getBadgeColors.ts
|
|
@@ -6046,11 +6045,11 @@ var Badge = ({
|
|
|
6046
6045
|
Badge.displayName = "Badge_VHS";
|
|
6047
6046
|
|
|
6048
6047
|
// src/components/Banner/Banner.tsx
|
|
6049
|
-
import styled17 from "styled-components";
|
|
6048
|
+
import { styled as styled17 } from "styled-components";
|
|
6050
6049
|
import { isNotNil as isNotNil10 } from "@wistia/type-guards";
|
|
6051
6050
|
|
|
6052
6051
|
// src/components/Banner/BannerChildComponents.tsx
|
|
6053
|
-
import styled16,
|
|
6052
|
+
import { styled as styled16, css as css11 } from "styled-components";
|
|
6054
6053
|
import { jsx as jsx136 } from "react/jsx-runtime";
|
|
6055
6054
|
var BodyComponent = styled16.div`
|
|
6056
6055
|
color: ${({ theme: theme2 }) => theme2.color.grey900};
|
|
@@ -6149,7 +6148,7 @@ Banner.displayName = "Banner_VHS";
|
|
|
6149
6148
|
|
|
6150
6149
|
// src/components/Box/Box.tsx
|
|
6151
6150
|
import { forwardRef as forwardRef4 } from "react";
|
|
6152
|
-
import styled18 from "styled-components";
|
|
6151
|
+
import { styled as styled18 } from "styled-components";
|
|
6153
6152
|
import { isNotNil as isNotNil11 } from "@wistia/type-guards";
|
|
6154
6153
|
import { jsx as jsx138 } from "react/jsx-runtime";
|
|
6155
6154
|
var ALIGN_CONTENT_MAP = {
|
|
@@ -6289,11 +6288,11 @@ Box.displayName = "Box_VHS";
|
|
|
6289
6288
|
|
|
6290
6289
|
// src/components/ButtonLink/ButtonLink.tsx
|
|
6291
6290
|
import { forwardRef as forwardRef6 } from "react";
|
|
6292
|
-
import styled20 from "styled-components";
|
|
6291
|
+
import { styled as styled20 } from "styled-components";
|
|
6293
6292
|
import { isNotNil as isNotNil12 } from "@wistia/type-guards";
|
|
6294
6293
|
|
|
6295
6294
|
// src/components/Link/Link.tsx
|
|
6296
|
-
import styled19 from "styled-components";
|
|
6295
|
+
import { styled as styled19 } from "styled-components";
|
|
6297
6296
|
import { forwardRef as forwardRef5 } from "react";
|
|
6298
6297
|
|
|
6299
6298
|
// src/components/Link/linkStyle.tsx
|
|
@@ -6591,7 +6590,7 @@ import { forwardRef as forwardRef7, useState as useState14, isValidElement } fro
|
|
|
6591
6590
|
import { isNonEmptyString as isNonEmptyString4, isNotUndefined as isNotUndefined3 } from "@wistia/type-guards";
|
|
6592
6591
|
|
|
6593
6592
|
// src/components/Checkbox/OptionStyledComponent.tsx
|
|
6594
|
-
import styled21,
|
|
6593
|
+
import { styled as styled21, css as css13 } from "styled-components";
|
|
6595
6594
|
var OptionWrapper = styled21.input`
|
|
6596
6595
|
align-self: flex-start;
|
|
6597
6596
|
border-radius: 3px;
|
|
@@ -6623,7 +6622,9 @@ var disabledStyle3 = css13`
|
|
|
6623
6622
|
var errorHoverStyle = css13`
|
|
6624
6623
|
border-color: transparent;
|
|
6625
6624
|
`;
|
|
6626
|
-
var errorFocusedStyle = css13
|
|
6625
|
+
var errorFocusedStyle = css13`
|
|
6626
|
+
outline: none;
|
|
6627
|
+
`;
|
|
6627
6628
|
var errorStyle = css13`
|
|
6628
6629
|
background-color: ${({ theme: theme2 }) => theme2.color.error100};
|
|
6629
6630
|
border: 1px solid ${({ theme: theme2 }) => theme2.color.error500};
|
|
@@ -6724,14 +6725,14 @@ var Checkbox = forwardRef7(
|
|
|
6724
6725
|
Checkbox.displayName = "Checkbox_VHS";
|
|
6725
6726
|
|
|
6726
6727
|
// src/components/CheckboxGroup/CheckboxGroup.tsx
|
|
6727
|
-
import styled26 from "styled-components";
|
|
6728
|
+
import { styled as styled26 } from "styled-components";
|
|
6728
6729
|
import { isNotNil as isNotNil13 } from "@wistia/type-guards";
|
|
6729
6730
|
|
|
6730
6731
|
// src/private/components/FormFieldWrapper/FormFieldWrapper.tsx
|
|
6731
|
-
import styled25 from "styled-components";
|
|
6732
|
+
import { styled as styled25 } from "styled-components";
|
|
6732
6733
|
|
|
6733
6734
|
// src/components/Label/Label.tsx
|
|
6734
|
-
import styled22,
|
|
6735
|
+
import { styled as styled22, css as css14 } from "styled-components";
|
|
6735
6736
|
import { jsx as jsx142 } from "react/jsx-runtime";
|
|
6736
6737
|
var requiredStyle = css14`
|
|
6737
6738
|
&::after {
|
|
@@ -6791,7 +6792,7 @@ var Label = ({
|
|
|
6791
6792
|
Label.displayName = "Label_VHS";
|
|
6792
6793
|
|
|
6793
6794
|
// src/components/FormFieldError/FormFieldError.tsx
|
|
6794
|
-
import styled23 from "styled-components";
|
|
6795
|
+
import { styled as styled23 } from "styled-components";
|
|
6795
6796
|
import { isNil as isNil7 } from "@wistia/type-guards";
|
|
6796
6797
|
import { jsx as jsx143 } from "react/jsx-runtime";
|
|
6797
6798
|
var FieldError = styled23.div`
|
|
@@ -6815,7 +6816,7 @@ var FormFieldError = ({
|
|
|
6815
6816
|
FormFieldError.displayName = "FormFieldError_VHS";
|
|
6816
6817
|
|
|
6817
6818
|
// src/components/LabelDescription/LabelDescription.tsx
|
|
6818
|
-
import styled24,
|
|
6819
|
+
import { styled as styled24, css as css15 } from "styled-components";
|
|
6819
6820
|
import { jsx as jsx144 } from "react/jsx-runtime";
|
|
6820
6821
|
var disabledStyle5 = css15`
|
|
6821
6822
|
color: ${({ theme: theme2 }) => theme2.color.grey500};
|
|
@@ -6934,7 +6935,7 @@ CheckboxGroup.displayName = "CheckboxGroup_VHS";
|
|
|
6934
6935
|
|
|
6935
6936
|
// src/components/ClickArea/ClickArea.tsx
|
|
6936
6937
|
import { forwardRef as forwardRef8, useCallback as useCallback9 } from "react";
|
|
6937
|
-
import styled27 from "styled-components";
|
|
6938
|
+
import { styled as styled27 } from "styled-components";
|
|
6938
6939
|
import { jsx as jsx147 } from "react/jsx-runtime";
|
|
6939
6940
|
var ClickAreaComponent = styled27.div`
|
|
6940
6941
|
cursor: pointer;
|
|
@@ -6978,7 +6979,7 @@ var ClickArea = forwardRef8(
|
|
|
6978
6979
|
ClickArea.displayName = "ClickArea_VHS";
|
|
6979
6980
|
|
|
6980
6981
|
// src/components/CloseButton/CloseButton.tsx
|
|
6981
|
-
import styled28 from "styled-components";
|
|
6982
|
+
import { styled as styled28 } from "styled-components";
|
|
6982
6983
|
|
|
6983
6984
|
// src/components/CloseButton/CloseIcon.tsx
|
|
6984
6985
|
import { jsx as jsx148 } from "react/jsx-runtime";
|
|
@@ -7042,7 +7043,7 @@ CloseButton.displayName = "CloseButton_VHS";
|
|
|
7042
7043
|
|
|
7043
7044
|
// src/components/CollapsibleGroup/CollapsibleGroup.tsx
|
|
7044
7045
|
import { useEffect as useEffect11, useLayoutEffect as useLayoutEffect4, useState as useState15, useId as useId2 } from "react";
|
|
7045
|
-
import styled29,
|
|
7046
|
+
import { styled as styled29, css as css16 } from "styled-components";
|
|
7046
7047
|
import { darken as darken3 } from "polished";
|
|
7047
7048
|
import { isNil as isNil8, isNonEmptyString as isNonEmptyString5, isNotUndefined as isNotUndefined4 } from "@wistia/type-guards";
|
|
7048
7049
|
import { jsx as jsx150, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
@@ -7334,7 +7335,7 @@ var CollapsibleGroup = ({
|
|
|
7334
7335
|
CollapsibleGroup.displayName = "CollapsibleGroup_VHS";
|
|
7335
7336
|
|
|
7336
7337
|
// src/components/Divider/Divider.tsx
|
|
7337
|
-
import styled30 from "styled-components";
|
|
7338
|
+
import { styled as styled30 } from "styled-components";
|
|
7338
7339
|
import { jsx as jsx151 } from "react/jsx-runtime";
|
|
7339
7340
|
var DividerComponent = styled30.hr`
|
|
7340
7341
|
background: none;
|
|
@@ -7371,7 +7372,7 @@ Divider.displayName = "Divider_VHS";
|
|
|
7371
7372
|
|
|
7372
7373
|
// src/components/FileSelect/FileSelect.tsx
|
|
7373
7374
|
import { forwardRef as forwardRef9 } from "react";
|
|
7374
|
-
import styled31 from "styled-components";
|
|
7375
|
+
import { styled as styled31 } from "styled-components";
|
|
7375
7376
|
import { jsx as jsx152, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
7376
7377
|
var maxFileSizeInGigs = 26;
|
|
7377
7378
|
var defaultMaximumFileSize = maxFileSizeInGigs * 1024;
|
|
@@ -7467,7 +7468,7 @@ import { isNotNil as isNotNil15, isNotUndefined as isNotUndefined5, isUndefined
|
|
|
7467
7468
|
// src/components/FormGlobalError/FormGlobalError.tsx
|
|
7468
7469
|
import { forwardRef as forwardRef10 } from "react";
|
|
7469
7470
|
import { useFormikContext as useFormikContext2 } from "formik";
|
|
7470
|
-
import styled32 from "styled-components";
|
|
7471
|
+
import { styled as styled32 } from "styled-components";
|
|
7471
7472
|
import { isNonEmptyString as isNonEmptyString6, isNotNil as isNotNil14 } from "@wistia/type-guards";
|
|
7472
7473
|
import { jsx as jsx153, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
7473
7474
|
var GlobalErrorsContainer = styled32.div`
|
|
@@ -7555,7 +7556,7 @@ import { useEffect as useEffect13 } from "react";
|
|
|
7555
7556
|
import { useCallback as useCallback10, useEffect as useEffect12, useRef as useRef10 } from "react";
|
|
7556
7557
|
var useTimeoutFunc = (func, timeout2 = 0) => {
|
|
7557
7558
|
const readyRef = useRef10(false);
|
|
7558
|
-
const timeoutRef = useRef10();
|
|
7559
|
+
const timeoutRef = useRef10(void 0);
|
|
7559
7560
|
const callbackRef = useRef10(func);
|
|
7560
7561
|
const isReady = useCallback10(() => readyRef.current, []);
|
|
7561
7562
|
const set = useCallback10(() => {
|
|
@@ -7799,7 +7800,7 @@ FormButtons.displayName = "FormButtons_VHS";
|
|
|
7799
7800
|
|
|
7800
7801
|
// src/components/FormField/FormField.tsx
|
|
7801
7802
|
import { forwardRef as forwardRef14 } from "react";
|
|
7802
|
-
import styled43 from "styled-components";
|
|
7803
|
+
import { styled as styled43 } from "styled-components";
|
|
7803
7804
|
import { Field } from "formik";
|
|
7804
7805
|
|
|
7805
7806
|
// src/components/FormField/inputTypeMap.ts
|
|
@@ -7967,11 +7968,11 @@ import { isNotUndefined as isNotUndefined8 } from "@wistia/type-guards";
|
|
|
7967
7968
|
|
|
7968
7969
|
// src/components/Input/Input.tsx
|
|
7969
7970
|
import { forwardRef as forwardRef11, useEffect as useEffect16, useRef as useRef11 } from "react";
|
|
7970
|
-
import styled35 from "styled-components";
|
|
7971
|
+
import { styled as styled35 } from "styled-components";
|
|
7971
7972
|
import { isNotNil as isNotNil18 } from "@wistia/type-guards";
|
|
7972
7973
|
|
|
7973
7974
|
// src/components/Input/InputStyledComponent.tsx
|
|
7974
|
-
import styled33,
|
|
7975
|
+
import { styled as styled33, css as css17 } from "styled-components";
|
|
7975
7976
|
var focusStyle = css17`
|
|
7976
7977
|
border-color: ${({ theme: theme2 }) => theme2.color.brandBlue500};
|
|
7977
7978
|
outline: none;
|
|
@@ -8080,7 +8081,7 @@ var InputStyledComponent = styled33.input`
|
|
|
8080
8081
|
|
|
8081
8082
|
// src/components/Input/ClickToCopy.tsx
|
|
8082
8083
|
import { useState as useState17, useEffect as useEffect15 } from "react";
|
|
8083
|
-
import styled34,
|
|
8084
|
+
import { styled as styled34, css as css18 } from "styled-components";
|
|
8084
8085
|
import { isFunction as isFunction2 } from "@wistia/type-guards";
|
|
8085
8086
|
import { darken as darken4 } from "polished";
|
|
8086
8087
|
import { jsx as jsx159, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
@@ -8461,7 +8462,7 @@ FormConnectorInput.displayName = "FormConnectorInput";
|
|
|
8461
8462
|
import { useCallback as useCallback11 } from "react";
|
|
8462
8463
|
|
|
8463
8464
|
// src/components/RadioGroup/RadioGroup.tsx
|
|
8464
|
-
import styled36 from "styled-components";
|
|
8465
|
+
import { styled as styled36 } from "styled-components";
|
|
8465
8466
|
import { isNotNil as isNotNil20 } from "@wistia/type-guards";
|
|
8466
8467
|
|
|
8467
8468
|
// src/components/Radio/Radio.tsx
|
|
@@ -8616,11 +8617,11 @@ import { isNil as isNil10, isBoolean as isBoolean2 } from "@wistia/type-guards";
|
|
|
8616
8617
|
|
|
8617
8618
|
// src/components/Select/Select.tsx
|
|
8618
8619
|
import { forwardRef as forwardRef13 } from "react";
|
|
8619
|
-
import styled38,
|
|
8620
|
+
import { styled as styled38, css as css20 } from "styled-components";
|
|
8620
8621
|
import { isBoolean, isNonEmptyString as isNonEmptyString7, isNotNil as isNotNil21 } from "@wistia/type-guards";
|
|
8621
8622
|
|
|
8622
8623
|
// src/components/Select/SelectStyledComponent.tsx
|
|
8623
|
-
import styled37,
|
|
8624
|
+
import { styled as styled37, css as css19 } from "styled-components";
|
|
8624
8625
|
var focusStyle2 = css19`
|
|
8625
8626
|
border: 1px solid ${({ theme: theme2 }) => theme2.color.brandBlue500};
|
|
8626
8627
|
`;
|
|
@@ -8913,12 +8914,12 @@ FormConnectorHidden.displayName = "FormConnectorHidden";
|
|
|
8913
8914
|
|
|
8914
8915
|
// src/private/components/FormConnectorRichTextEditor/FormConnectorRichTextEditor.tsx
|
|
8915
8916
|
import { useState as useState19, useEffect as useEffect19 } from "react";
|
|
8916
|
-
import styled42 from "styled-components";
|
|
8917
|
+
import { styled as styled42 } from "styled-components";
|
|
8917
8918
|
import { isNotUndefined as isNotUndefined11 } from "@wistia/type-guards";
|
|
8918
8919
|
|
|
8919
8920
|
// src/components/RichTextEditor/RichTextEditor.tsx
|
|
8920
8921
|
import { useCallback as useCallback12, useMemo as useMemo7, useEffect as useEffect18 } from "react";
|
|
8921
|
-
import styled41 from "styled-components";
|
|
8922
|
+
import { styled as styled41 } from "styled-components";
|
|
8922
8923
|
import { Editable, withReact, Slate, ReactEditor } from "slate-react";
|
|
8923
8924
|
import { createEditor, Transforms as Transforms5, Element as Element6, Text as Text4 } from "slate";
|
|
8924
8925
|
import { withHistory } from "slate-history";
|
|
@@ -9229,10 +9230,10 @@ var Leaf = ({
|
|
|
9229
9230
|
|
|
9230
9231
|
// src/components/RichTextEditor/Element.tsx
|
|
9231
9232
|
import { useSelected, useFocused } from "slate-react";
|
|
9232
|
-
import styled39,
|
|
9233
|
+
import { styled as styled39, css as css21 } from "styled-components";
|
|
9233
9234
|
import { jsx as jsx170, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
9234
9235
|
var Wrapper = styled39.span`
|
|
9235
|
-
display:
|
|
9236
|
+
display: inline-block;
|
|
9236
9237
|
user-select: none;
|
|
9237
9238
|
`;
|
|
9238
9239
|
var Image = styled39.img`
|
|
@@ -9349,7 +9350,7 @@ var Element2 = ({
|
|
|
9349
9350
|
|
|
9350
9351
|
// src/components/RichTextEditor/EditorButtons.tsx
|
|
9351
9352
|
import { useSlate } from "slate-react";
|
|
9352
|
-
import styled40 from "styled-components";
|
|
9353
|
+
import { styled as styled40 } from "styled-components";
|
|
9353
9354
|
import { Node as Node2 } from "slate";
|
|
9354
9355
|
import { isNonEmptyString as isNonEmptyString10 } from "@wistia/type-guards";
|
|
9355
9356
|
|
|
@@ -10266,7 +10267,7 @@ var FormField = forwardRef14(
|
|
|
10266
10267
|
FormField.displayName = "FormField_VHS";
|
|
10267
10268
|
|
|
10268
10269
|
// src/components/FullScreenModal/FullScreenModal.tsx
|
|
10269
|
-
import styled44 from "styled-components";
|
|
10270
|
+
import { styled as styled44 } from "styled-components";
|
|
10270
10271
|
import { isNonEmptyString as isNonEmptyString12 } from "@wistia/type-guards";
|
|
10271
10272
|
import { jsx as jsx187, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
10272
10273
|
var CloseButton2 = styled44(Button)`
|
|
@@ -10321,7 +10322,7 @@ var FullScreenModal = ({
|
|
|
10321
10322
|
FullScreenModal.displayName = "FullScreenModal_VHS";
|
|
10322
10323
|
|
|
10323
10324
|
// src/components/Image/Image.tsx
|
|
10324
|
-
import styled45 from "styled-components";
|
|
10325
|
+
import { styled as styled45 } from "styled-components";
|
|
10325
10326
|
import { jsx as jsx188 } from "react/jsx-runtime";
|
|
10326
10327
|
var getFillStyle2 = ($fillContainer) => {
|
|
10327
10328
|
if ($fillContainer === "horizontal") {
|
|
@@ -10366,7 +10367,7 @@ var Image3 = ({
|
|
|
10366
10367
|
Image3.displayName = "Image_VHS";
|
|
10367
10368
|
|
|
10368
10369
|
// src/components/KeyboardShortcut/KeyboardShortcut.tsx
|
|
10369
|
-
import styled46 from "styled-components";
|
|
10370
|
+
import { styled as styled46 } from "styled-components";
|
|
10370
10371
|
import { isNotNil as isNotNil27, isArray as isArray3 } from "@wistia/type-guards";
|
|
10371
10372
|
import { jsx as jsx189, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
10372
10373
|
var KeyboardShortcutComponent = styled46.div`
|
|
@@ -10484,7 +10485,7 @@ KeyboardShortcut.displayName = "KeyboardShortcut_VHS";
|
|
|
10484
10485
|
|
|
10485
10486
|
// src/components/LinkButton/LinkButton.tsx
|
|
10486
10487
|
import { forwardRef as forwardRef15 } from "react";
|
|
10487
|
-
import styled47 from "styled-components";
|
|
10488
|
+
import { styled as styled47 } from "styled-components";
|
|
10488
10489
|
import { isNotNil as isNotNil28, isNil as isNil15 } from "@wistia/type-guards";
|
|
10489
10490
|
import { jsx as jsx190 } from "react/jsx-runtime";
|
|
10490
10491
|
var isEnterOrSpace = (event) => event.key === "Enter" || event.key === " " || event.key === "Spacebar";
|
|
@@ -10559,10 +10560,10 @@ LinkButton.displayName = "LinkButton_VHS";
|
|
|
10559
10560
|
|
|
10560
10561
|
// src/components/List/List.tsx
|
|
10561
10562
|
import { isNotNil as isNotNil29 } from "@wistia/type-guards";
|
|
10562
|
-
import styled49,
|
|
10563
|
+
import { styled as styled49, css as css22 } from "styled-components";
|
|
10563
10564
|
|
|
10564
10565
|
// src/components/List/ListItem.tsx
|
|
10565
|
-
import styled48 from "styled-components";
|
|
10566
|
+
import { styled as styled48 } from "styled-components";
|
|
10566
10567
|
import { isNil as isNil16 } from "@wistia/type-guards";
|
|
10567
10568
|
import { jsx as jsx191 } from "react/jsx-runtime";
|
|
10568
10569
|
var ListItemComponent = styled48.li`
|
|
@@ -10719,7 +10720,7 @@ List.displayName = "List_VHS";
|
|
|
10719
10720
|
import { DropdownMenuRadioGroup } from "@radix-ui/react-dropdown-menu";
|
|
10720
10721
|
|
|
10721
10722
|
// src/components/Menu/Menu.tsx
|
|
10722
|
-
import styled50,
|
|
10723
|
+
import { styled as styled50, css as css23, keyframes } from "styled-components";
|
|
10723
10724
|
import {
|
|
10724
10725
|
DropdownMenu,
|
|
10725
10726
|
DropdownMenuTrigger,
|
|
@@ -10837,7 +10838,7 @@ import {
|
|
|
10837
10838
|
DropdownMenuSubTrigger
|
|
10838
10839
|
} from "@radix-ui/react-dropdown-menu";
|
|
10839
10840
|
import { isNonEmptyString as isNonEmptyString13, isNotNil as isNotNil31, isNotUndefined as isNotUndefined13 } from "@wistia/type-guards";
|
|
10840
|
-
import styled51,
|
|
10841
|
+
import { styled as styled51, css as css24 } from "styled-components";
|
|
10841
10842
|
import { darken as darken5 } from "polished";
|
|
10842
10843
|
import { jsx as jsx194, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
10843
10844
|
var hoverDarken2 = "0.04";
|
|
@@ -11096,7 +11097,7 @@ var SubMenuTrigger = ({
|
|
|
11096
11097
|
};
|
|
11097
11098
|
|
|
11098
11099
|
// src/components/Menu/MenuLabel.tsx
|
|
11099
|
-
import styled52 from "styled-components";
|
|
11100
|
+
import { styled as styled52 } from "styled-components";
|
|
11100
11101
|
import { DropdownMenuLabel } from "@radix-ui/react-dropdown-menu";
|
|
11101
11102
|
import { jsx as jsx195 } from "react/jsx-runtime";
|
|
11102
11103
|
var StyledMenuLabel = styled52(DropdownMenuLabel)`
|
|
@@ -11118,7 +11119,7 @@ var MenuLabel = ({ children, ...props }) => {
|
|
|
11118
11119
|
|
|
11119
11120
|
// src/components/Menu/SubMenu.tsx
|
|
11120
11121
|
import { useState as useState20 } from "react";
|
|
11121
|
-
import styled53 from "styled-components";
|
|
11122
|
+
import { styled as styled53 } from "styled-components";
|
|
11122
11123
|
import {
|
|
11123
11124
|
DropdownMenuPortal as DropdownMenuPortal2,
|
|
11124
11125
|
DropdownMenuSub,
|
|
@@ -11169,11 +11170,11 @@ var SubMenu = ({ label, icon, description, children }) => {
|
|
|
11169
11170
|
// src/components/MenuButton/MenuButton.tsx
|
|
11170
11171
|
import { useCallback as useCallback13, cloneElement, useState as useState21, useLayoutEffect as useLayoutEffect5, useRef as useRef13 } from "react";
|
|
11171
11172
|
import { isFunction as isFunction3, isNotNil as isNotNil34 } from "@wistia/type-guards";
|
|
11172
|
-
import styled56,
|
|
11173
|
+
import { styled as styled56, css as css26 } from "styled-components";
|
|
11173
11174
|
|
|
11174
11175
|
// src/private/components/Menu/Menu.tsx
|
|
11175
11176
|
import { forwardRef as forwardRef16, useRef as useRef12, useEffect as useEffect20 } from "react";
|
|
11176
|
-
import styled54,
|
|
11177
|
+
import { styled as styled54, css as css25 } from "styled-components";
|
|
11177
11178
|
import { darken as darken6 } from "polished";
|
|
11178
11179
|
import { isNotNil as isNotNil32, isNonEmptyString as isNonEmptyString14 } from "@wistia/type-guards";
|
|
11179
11180
|
import { Fragment as Fragment12, jsx as jsx197, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
@@ -11307,7 +11308,7 @@ var Menu2 = forwardRef16(
|
|
|
11307
11308
|
onClose,
|
|
11308
11309
|
...otherProps
|
|
11309
11310
|
}, ref) => {
|
|
11310
|
-
const menuRef = useRef12();
|
|
11311
|
+
const menuRef = useRef12(void 0);
|
|
11311
11312
|
const onClickOutsideFn = isNotNil32(onClickOutside) ? onClickOutside : () => {
|
|
11312
11313
|
};
|
|
11313
11314
|
useOnClickOutside(menuRef, onClickOutsideFn);
|
|
@@ -11376,7 +11377,7 @@ var Menu2 = forwardRef16(
|
|
|
11376
11377
|
Menu2.displayName = "Menu";
|
|
11377
11378
|
|
|
11378
11379
|
// src/components/MenuButton/MenuHeader.tsx
|
|
11379
|
-
import styled55 from "styled-components";
|
|
11380
|
+
import { styled as styled55 } from "styled-components";
|
|
11380
11381
|
import { isNotNil as isNotNil33 } from "@wistia/type-guards";
|
|
11381
11382
|
import { jsx as jsx198, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
11382
11383
|
var HeaderAndButton = styled55.div`
|
|
@@ -11544,12 +11545,12 @@ MenuButton.displayName = "MenuButton_VHS";
|
|
|
11544
11545
|
|
|
11545
11546
|
// src/components/Modal/Modal.tsx
|
|
11546
11547
|
import { forwardRef as forwardRef17, useEffect as useEffect21, useRef as useRef14 } from "react";
|
|
11547
|
-
import styled58,
|
|
11548
|
+
import { styled as styled58, css as css27 } from "styled-components";
|
|
11548
11549
|
import { hasKey, isNotNil as isNotNil35, isNotUndefined as isNotUndefined15 } from "@wistia/type-guards";
|
|
11549
11550
|
import { createPortal as createPortal3 } from "react-dom";
|
|
11550
11551
|
|
|
11551
11552
|
// src/components/Modal/Dialog.tsx
|
|
11552
|
-
import styled57 from "styled-components";
|
|
11553
|
+
import { styled as styled57 } from "styled-components";
|
|
11553
11554
|
var Dialog = styled57.div`
|
|
11554
11555
|
background-color: white;
|
|
11555
11556
|
box-sizing: border-box;
|
|
@@ -11722,7 +11723,7 @@ Modal.displayName = "Modal_VHS";
|
|
|
11722
11723
|
ModalContent.displayName = "ModalContent_VHS";
|
|
11723
11724
|
|
|
11724
11725
|
// src/components/Modal/ModalParts.tsx
|
|
11725
|
-
import styled59 from "styled-components";
|
|
11726
|
+
import { styled as styled59 } from "styled-components";
|
|
11726
11727
|
import { jsx as jsx201 } from "react/jsx-runtime";
|
|
11727
11728
|
var ModalHeader = styled59.div`
|
|
11728
11729
|
align-items: center;
|
|
@@ -11766,7 +11767,7 @@ var ModalCloseButton2 = ({ onClick, ...props }) => {
|
|
|
11766
11767
|
};
|
|
11767
11768
|
|
|
11768
11769
|
// src/components/Paper/Paper.tsx
|
|
11769
|
-
import styled60 from "styled-components";
|
|
11770
|
+
import { styled as styled60 } from "styled-components";
|
|
11770
11771
|
import { jsx as jsx202 } from "react/jsx-runtime";
|
|
11771
11772
|
var PaperComponent = styled60.div`
|
|
11772
11773
|
background-color: white;
|
|
@@ -11787,7 +11788,7 @@ var Paper = ({ children, elevation = 1, ...otherProps }) => {
|
|
|
11787
11788
|
Paper.displayName = "Paper_VHS";
|
|
11788
11789
|
|
|
11789
11790
|
// src/components/ProgressBar/ProgressBar.tsx
|
|
11790
|
-
import styled61 from "styled-components";
|
|
11791
|
+
import { styled as styled61 } from "styled-components";
|
|
11791
11792
|
import { jsx as jsx203, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
11792
11793
|
var progressBarHeight = "8px";
|
|
11793
11794
|
var ProgressBarContainer = styled61.div`
|
|
@@ -11863,13 +11864,13 @@ ProgressBar.displayName = "ProgressBar_VHS";
|
|
|
11863
11864
|
|
|
11864
11865
|
// src/components/RangeSelector/RangeSelector.tsx
|
|
11865
11866
|
import { useEffect as useEffect24, useState as useState24 } from "react";
|
|
11866
|
-
import styled66 from "styled-components";
|
|
11867
|
+
import { styled as styled66 } from "styled-components";
|
|
11867
11868
|
import { isSameDay as isSameDay3 } from "date-fns";
|
|
11868
11869
|
|
|
11869
11870
|
// src/private/components/RangeSelectorCalendar/RangeSelectorCalendar.tsx
|
|
11870
11871
|
import { useEffect as useEffect22, useMemo as useMemo8, useState as useState22 } from "react";
|
|
11871
11872
|
import { isNotNil as isNotNil37, isNil as isNil17 } from "@wistia/type-guards";
|
|
11872
|
-
import styled63 from "styled-components";
|
|
11873
|
+
import { styled as styled63 } from "styled-components";
|
|
11873
11874
|
import { debounce as debounce2 } from "throttle-debounce";
|
|
11874
11875
|
import {
|
|
11875
11876
|
addDays,
|
|
@@ -11884,7 +11885,7 @@ import {
|
|
|
11884
11885
|
} from "date-fns";
|
|
11885
11886
|
|
|
11886
11887
|
// src/private/components/Calendar/Calendar.tsx
|
|
11887
|
-
import styled62 from "styled-components";
|
|
11888
|
+
import { styled as styled62 } from "styled-components";
|
|
11888
11889
|
import {
|
|
11889
11890
|
isBefore,
|
|
11890
11891
|
isAfter,
|
|
@@ -12406,12 +12407,12 @@ RangeSelectorCalendar.displayName = "RangeSelectorCalendar";
|
|
|
12406
12407
|
|
|
12407
12408
|
// src/private/components/RangeSelectorInput/RangeSelectorInput.tsx
|
|
12408
12409
|
import { useCallback as useCallback14, useEffect as useEffect23, useRef as useRef15, useState as useState23 } from "react";
|
|
12409
|
-
import styled65 from "styled-components";
|
|
12410
|
+
import { styled as styled65 } from "styled-components";
|
|
12410
12411
|
import { endOfDay as endOfDay3 } from "date-fns";
|
|
12411
12412
|
import { isNotUndefined as isNotUndefined17, isUndefined as isUndefined4, isNotNil as isNotNil41 } from "@wistia/type-guards";
|
|
12412
12413
|
|
|
12413
12414
|
// src/private/components/RangeSelectorInput/ErrorMessages.tsx
|
|
12414
|
-
import styled64 from "styled-components";
|
|
12415
|
+
import { styled as styled64 } from "styled-components";
|
|
12415
12416
|
import { jsx as jsx206 } from "react/jsx-runtime";
|
|
12416
12417
|
var ErrorMessagesList = styled64.ul`
|
|
12417
12418
|
list-style: none;
|
|
@@ -12633,7 +12634,7 @@ var setCursorPosition = (ref, start, end) => {
|
|
|
12633
12634
|
var getSelectionFromMove = (selection, move, positions) => {
|
|
12634
12635
|
const currentIndex = positions.findIndex((pos) => pos.start === selection[0]);
|
|
12635
12636
|
let nextPosition = positions[currentIndex + move];
|
|
12636
|
-
if (nextPosition
|
|
12637
|
+
if (nextPosition?.type === "skip") {
|
|
12637
12638
|
nextPosition = positions[currentIndex + move * 2];
|
|
12638
12639
|
}
|
|
12639
12640
|
if (nextPosition) {
|
|
@@ -13266,7 +13267,7 @@ var RangeSelector = ({
|
|
|
13266
13267
|
RangeSelector.displayName = "RangeSelector_VHS";
|
|
13267
13268
|
|
|
13268
13269
|
// src/components/Slider/Slider.tsx
|
|
13269
|
-
import styled67,
|
|
13270
|
+
import { styled as styled67, css as css28 } from "styled-components";
|
|
13270
13271
|
import ReactSlider from "react-slider";
|
|
13271
13272
|
import {
|
|
13272
13273
|
isFunction as isFunction4,
|
|
@@ -13415,7 +13416,7 @@ Slider.displayName = "Slider_VHS";
|
|
|
13415
13416
|
|
|
13416
13417
|
// src/components/Stack/Stack.tsx
|
|
13417
13418
|
import { forwardRef as forwardRef18 } from "react";
|
|
13418
|
-
import styled68 from "styled-components";
|
|
13419
|
+
import { styled as styled68 } from "styled-components";
|
|
13419
13420
|
import { jsx as jsx210 } from "react/jsx-runtime";
|
|
13420
13421
|
var StyledStack = styled68.div`
|
|
13421
13422
|
display: flex;
|
|
@@ -13443,7 +13444,7 @@ var Stack = forwardRef18(
|
|
|
13443
13444
|
Stack.displayName = "Stack_VHS";
|
|
13444
13445
|
|
|
13445
13446
|
// src/components/Switch/Switch.tsx
|
|
13446
|
-
import styled69,
|
|
13447
|
+
import { styled as styled69, css as css29 } from "styled-components";
|
|
13447
13448
|
import { jsx as jsx211 } from "react/jsx-runtime";
|
|
13448
13449
|
var SwitchComponent = styled69.button`
|
|
13449
13450
|
background-color: white;
|
|
@@ -13564,7 +13565,7 @@ var Switch = ({
|
|
|
13564
13565
|
Switch.displayName = "Switch_VHS";
|
|
13565
13566
|
|
|
13566
13567
|
// src/components/Thumbnail/Thumbnail.tsx
|
|
13567
|
-
import styled70 from "styled-components";
|
|
13568
|
+
import { styled as styled70 } from "styled-components";
|
|
13568
13569
|
import { isNotNil as isNotNil43 } from "@wistia/type-guards";
|
|
13569
13570
|
import { jsx as jsx212, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
13570
13571
|
var ThumbnailComponent = styled70.div`
|
|
@@ -13720,7 +13721,7 @@ var Thumbnail = ({
|
|
|
13720
13721
|
Thumbnail.displayName = "Thumbnail_VHS";
|
|
13721
13722
|
|
|
13722
13723
|
// src/components/ThumbnailCollage/ThumbnailCollage.tsx
|
|
13723
|
-
import styled71 from "styled-components";
|
|
13724
|
+
import { styled as styled71 } from "styled-components";
|
|
13724
13725
|
import { isNotNil as isNotNil44 } from "@wistia/type-guards";
|
|
13725
13726
|
import { jsx as jsx213 } from "react/jsx-runtime";
|
|
13726
13727
|
var ThumbnailCollageContainer = styled71.div`
|
|
@@ -13728,7 +13729,7 @@ var ThumbnailCollageContainer = styled71.div`
|
|
|
13728
13729
|
grid-template-columns: 3fr 2fr;
|
|
13729
13730
|
grid-template-rows: 1fr 1fr;
|
|
13730
13731
|
width: 100%;
|
|
13731
|
-
|
|
13732
|
+
gap: ${({ theme: theme2 }) => theme2.spacing.space01};
|
|
13732
13733
|
height: 100%;
|
|
13733
13734
|
`;
|
|
13734
13735
|
var CollageImage2 = styled71.div`
|
|
@@ -13778,7 +13779,7 @@ var ThumbnailCollage = ({
|
|
|
13778
13779
|
};
|
|
13779
13780
|
|
|
13780
13781
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
13781
|
-
import styled72 from "styled-components";
|
|
13782
|
+
import { styled as styled72 } from "styled-components";
|
|
13782
13783
|
import { isNotNil as isNotNil45 } from "@wistia/type-guards";
|
|
13783
13784
|
import { jsx as jsx214, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
13784
13785
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|