@wistia/vhs 3.0.1-beta.a963c7a8.8b7d153 → 3.0.1-beta.de727c7e.149ab3d
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 +266 -269
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +34 -35
- package/dist/index.d.ts +34 -35
- package/dist/index.mjs +104 -107
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -3
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/vhs v3.0.1-beta.
|
|
3
|
+
* @license @wistia/vhs v3.0.1-beta.de727c7e.149ab3d
|
|
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
|
|
953
|
+
import 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
|
|
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
|
|
2861
|
+
import 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";
|
|
@@ -4456,7 +4456,7 @@ var usePreviousValue = (value) => {
|
|
|
4456
4456
|
};
|
|
4457
4457
|
|
|
4458
4458
|
// src/components/ActionModal/ActionModal.tsx
|
|
4459
|
-
import
|
|
4459
|
+
import styled12 from "styled-components";
|
|
4460
4460
|
import { isNotNil as isNotNil8 } from "@wistia/type-guards";
|
|
4461
4461
|
|
|
4462
4462
|
// src/components/ModalBase/ModalBase.tsx
|
|
@@ -4659,7 +4659,7 @@ var ModalBase = (props) => {
|
|
|
4659
4659
|
ModalBase.displayName = "ModalBase_VHS";
|
|
4660
4660
|
|
|
4661
4661
|
// src/components/ButtonGroup/ButtonGroup.tsx
|
|
4662
|
-
import
|
|
4662
|
+
import 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
|
|
4724
|
+
import 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
|
|
4728
|
+
import 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
|
|
4920
|
+
import styled7 from "styled-components";
|
|
4921
4921
|
import { jsx as jsx125 } from "react/jsx-runtime";
|
|
4922
4922
|
var alignVerticalMap = {
|
|
4923
4923
|
normal: "normal",
|
|
@@ -4966,12 +4966,12 @@ 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
|
|
4969
|
+
import 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
|
|
4974
|
+
import 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`
|
|
@@ -5009,11 +5009,11 @@ ScreenReaderOnly.displayName = "ScreenReaderOnly_VHS";
|
|
|
5009
5009
|
|
|
5010
5010
|
// src/components/Tooltip/Tooltip.tsx
|
|
5011
5011
|
import { useEffect as useEffect9, useState as useState12, useRef as useRef9, useMemo as useMemo4, useId } from "react";
|
|
5012
|
-
import
|
|
5012
|
+
import styled10 from "styled-components";
|
|
5013
5013
|
import { isString as isString3 } from "@wistia/type-guards";
|
|
5014
5014
|
|
|
5015
5015
|
// src/components/Tooltip/TooltipContent.tsx
|
|
5016
|
-
import
|
|
5016
|
+
import styled9, { css as css8 } from "styled-components";
|
|
5017
5017
|
import { jsx as jsx127 } from "react/jsx-runtime";
|
|
5018
5018
|
var ARROW_SIZE = 8;
|
|
5019
5019
|
var StyledTooltipLabel = styled9.div`
|
|
@@ -5681,7 +5681,7 @@ ActionModal.displayName = "ActionModal_VHS";
|
|
|
5681
5681
|
// src/components/Avatar/Avatar.tsx
|
|
5682
5682
|
import { useMemo as useMemo6, useState as useState13, useEffect as useEffect10 } from "react";
|
|
5683
5683
|
import { isNil as isNil6 } from "@wistia/type-guards";
|
|
5684
|
-
import
|
|
5684
|
+
import styled13 from "styled-components";
|
|
5685
5685
|
|
|
5686
5686
|
// src/components/Avatar/generateContactAvatarColors.tsx
|
|
5687
5687
|
var colorVariants = {
|
|
@@ -5831,7 +5831,7 @@ var Avatar = ({
|
|
|
5831
5831
|
Avatar.displayName = "Avatar_VHS";
|
|
5832
5832
|
|
|
5833
5833
|
// src/components/BackgroundImage/BackgroundImage.tsx
|
|
5834
|
-
import
|
|
5834
|
+
import styled14 from "styled-components";
|
|
5835
5835
|
import { isString as isString5 } from "@wistia/type-guards";
|
|
5836
5836
|
import { jsx as jsx134 } from "react/jsx-runtime";
|
|
5837
5837
|
var shouldWrap = (src) => {
|
|
@@ -5935,7 +5935,7 @@ var BackgroundImage = ({
|
|
|
5935
5935
|
BackgroundImage.displayName = "BackgroundImage_VHS";
|
|
5936
5936
|
|
|
5937
5937
|
// src/components/Badge/Badge.tsx
|
|
5938
|
-
import
|
|
5938
|
+
import styled15 from "styled-components";
|
|
5939
5939
|
import { isNotNil as isNotNil9 } from "@wistia/type-guards";
|
|
5940
5940
|
|
|
5941
5941
|
// src/components/Badge/getBadgeColors.ts
|
|
@@ -6046,11 +6046,11 @@ var Badge = ({
|
|
|
6046
6046
|
Badge.displayName = "Badge_VHS";
|
|
6047
6047
|
|
|
6048
6048
|
// src/components/Banner/Banner.tsx
|
|
6049
|
-
import
|
|
6049
|
+
import styled17 from "styled-components";
|
|
6050
6050
|
import { isNotNil as isNotNil10 } from "@wistia/type-guards";
|
|
6051
6051
|
|
|
6052
6052
|
// src/components/Banner/BannerChildComponents.tsx
|
|
6053
|
-
import
|
|
6053
|
+
import styled16, { css as css11 } from "styled-components";
|
|
6054
6054
|
import { jsx as jsx136 } from "react/jsx-runtime";
|
|
6055
6055
|
var BodyComponent = styled16.div`
|
|
6056
6056
|
color: ${({ theme: theme2 }) => theme2.color.grey900};
|
|
@@ -6149,7 +6149,7 @@ Banner.displayName = "Banner_VHS";
|
|
|
6149
6149
|
|
|
6150
6150
|
// src/components/Box/Box.tsx
|
|
6151
6151
|
import { forwardRef as forwardRef4 } from "react";
|
|
6152
|
-
import
|
|
6152
|
+
import styled18 from "styled-components";
|
|
6153
6153
|
import { isNotNil as isNotNil11 } from "@wistia/type-guards";
|
|
6154
6154
|
import { jsx as jsx138 } from "react/jsx-runtime";
|
|
6155
6155
|
var ALIGN_CONTENT_MAP = {
|
|
@@ -6289,11 +6289,11 @@ Box.displayName = "Box_VHS";
|
|
|
6289
6289
|
|
|
6290
6290
|
// src/components/ButtonLink/ButtonLink.tsx
|
|
6291
6291
|
import { forwardRef as forwardRef6 } from "react";
|
|
6292
|
-
import
|
|
6292
|
+
import styled20 from "styled-components";
|
|
6293
6293
|
import { isNotNil as isNotNil12 } from "@wistia/type-guards";
|
|
6294
6294
|
|
|
6295
6295
|
// src/components/Link/Link.tsx
|
|
6296
|
-
import
|
|
6296
|
+
import styled19 from "styled-components";
|
|
6297
6297
|
import { forwardRef as forwardRef5 } from "react";
|
|
6298
6298
|
|
|
6299
6299
|
// src/components/Link/linkStyle.tsx
|
|
@@ -6549,42 +6549,39 @@ var ButtonLink = forwardRef6(
|
|
|
6549
6549
|
}
|
|
6550
6550
|
return null;
|
|
6551
6551
|
};
|
|
6552
|
-
|
|
6553
|
-
|
|
6552
|
+
const styledProps = {
|
|
6553
|
+
ref,
|
|
6554
|
+
$buttonColor: buttonColor,
|
|
6555
|
+
$forceState: forceState,
|
|
6556
|
+
$fullWidth: fullWidth,
|
|
6557
|
+
$icon: icon,
|
|
6558
|
+
$iconPosition: iconPosition,
|
|
6559
|
+
$isLoading: false,
|
|
6560
|
+
$labelWrap: labelWrap,
|
|
6561
|
+
$size: size,
|
|
6562
|
+
$square: square,
|
|
6563
|
+
$textAlign: textAlign,
|
|
6564
|
+
$variant: variant,
|
|
6565
|
+
beforeAction,
|
|
6566
|
+
disabled,
|
|
6567
|
+
href,
|
|
6568
|
+
params,
|
|
6569
|
+
type,
|
|
6570
|
+
unstyled: true,
|
|
6571
|
+
...otherProps
|
|
6572
|
+
};
|
|
6573
|
+
return /* @__PURE__ */ jsx140(StyledButtonLink, { ...styledProps, children: /* @__PURE__ */ jsx140(
|
|
6574
|
+
ButtonContent,
|
|
6554
6575
|
{
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6558
|
-
|
|
6559
|
-
|
|
6560
|
-
|
|
6561
|
-
|
|
6562
|
-
$labelWrap: labelWrap,
|
|
6563
|
-
$size: size,
|
|
6564
|
-
$square: square,
|
|
6565
|
-
$textAlign: textAlign,
|
|
6566
|
-
$variant: variant,
|
|
6567
|
-
beforeAction,
|
|
6568
|
-
disabled,
|
|
6569
|
-
href,
|
|
6570
|
-
params,
|
|
6571
|
-
type,
|
|
6572
|
-
unstyled: true,
|
|
6573
|
-
...otherProps,
|
|
6574
|
-
children: /* @__PURE__ */ jsx140(
|
|
6575
|
-
ButtonContent,
|
|
6576
|
-
{
|
|
6577
|
-
icon,
|
|
6578
|
-
iconName,
|
|
6579
|
-
iconPosition,
|
|
6580
|
-
isLoading: false,
|
|
6581
|
-
size,
|
|
6582
|
-
textAlign,
|
|
6583
|
-
children: getContent()
|
|
6584
|
-
}
|
|
6585
|
-
)
|
|
6576
|
+
icon,
|
|
6577
|
+
iconName,
|
|
6578
|
+
iconPosition,
|
|
6579
|
+
isLoading: false,
|
|
6580
|
+
size,
|
|
6581
|
+
textAlign,
|
|
6582
|
+
children: getContent()
|
|
6586
6583
|
}
|
|
6587
|
-
);
|
|
6584
|
+
) });
|
|
6588
6585
|
}
|
|
6589
6586
|
);
|
|
6590
6587
|
ButtonLink.displayName = "ButtonLink_VHS";
|
|
@@ -6594,7 +6591,7 @@ import { forwardRef as forwardRef7, useState as useState14, isValidElement } fro
|
|
|
6594
6591
|
import { isNonEmptyString as isNonEmptyString4, isNotUndefined as isNotUndefined3 } from "@wistia/type-guards";
|
|
6595
6592
|
|
|
6596
6593
|
// src/components/Checkbox/OptionStyledComponent.tsx
|
|
6597
|
-
import
|
|
6594
|
+
import styled21, { css as css13 } from "styled-components";
|
|
6598
6595
|
var OptionWrapper = styled21.input`
|
|
6599
6596
|
align-self: flex-start;
|
|
6600
6597
|
border-radius: 3px;
|
|
@@ -6727,14 +6724,14 @@ var Checkbox = forwardRef7(
|
|
|
6727
6724
|
Checkbox.displayName = "Checkbox_VHS";
|
|
6728
6725
|
|
|
6729
6726
|
// src/components/CheckboxGroup/CheckboxGroup.tsx
|
|
6730
|
-
import
|
|
6727
|
+
import styled26 from "styled-components";
|
|
6731
6728
|
import { isNotNil as isNotNil13 } from "@wistia/type-guards";
|
|
6732
6729
|
|
|
6733
6730
|
// src/private/components/FormFieldWrapper/FormFieldWrapper.tsx
|
|
6734
|
-
import
|
|
6731
|
+
import styled25 from "styled-components";
|
|
6735
6732
|
|
|
6736
6733
|
// src/components/Label/Label.tsx
|
|
6737
|
-
import
|
|
6734
|
+
import styled22, { css as css14 } from "styled-components";
|
|
6738
6735
|
import { jsx as jsx142 } from "react/jsx-runtime";
|
|
6739
6736
|
var requiredStyle = css14`
|
|
6740
6737
|
&::after {
|
|
@@ -6794,7 +6791,7 @@ var Label = ({
|
|
|
6794
6791
|
Label.displayName = "Label_VHS";
|
|
6795
6792
|
|
|
6796
6793
|
// src/components/FormFieldError/FormFieldError.tsx
|
|
6797
|
-
import
|
|
6794
|
+
import styled23 from "styled-components";
|
|
6798
6795
|
import { isNil as isNil7 } from "@wistia/type-guards";
|
|
6799
6796
|
import { jsx as jsx143 } from "react/jsx-runtime";
|
|
6800
6797
|
var FieldError = styled23.div`
|
|
@@ -6818,7 +6815,7 @@ var FormFieldError = ({
|
|
|
6818
6815
|
FormFieldError.displayName = "FormFieldError_VHS";
|
|
6819
6816
|
|
|
6820
6817
|
// src/components/LabelDescription/LabelDescription.tsx
|
|
6821
|
-
import
|
|
6818
|
+
import styled24, { css as css15 } from "styled-components";
|
|
6822
6819
|
import { jsx as jsx144 } from "react/jsx-runtime";
|
|
6823
6820
|
var disabledStyle5 = css15`
|
|
6824
6821
|
color: ${({ theme: theme2 }) => theme2.color.grey500};
|
|
@@ -6937,7 +6934,7 @@ CheckboxGroup.displayName = "CheckboxGroup_VHS";
|
|
|
6937
6934
|
|
|
6938
6935
|
// src/components/ClickArea/ClickArea.tsx
|
|
6939
6936
|
import { forwardRef as forwardRef8, useCallback as useCallback9 } from "react";
|
|
6940
|
-
import
|
|
6937
|
+
import styled27 from "styled-components";
|
|
6941
6938
|
import { jsx as jsx147 } from "react/jsx-runtime";
|
|
6942
6939
|
var ClickAreaComponent = styled27.div`
|
|
6943
6940
|
cursor: pointer;
|
|
@@ -6981,7 +6978,7 @@ var ClickArea = forwardRef8(
|
|
|
6981
6978
|
ClickArea.displayName = "ClickArea_VHS";
|
|
6982
6979
|
|
|
6983
6980
|
// src/components/CloseButton/CloseButton.tsx
|
|
6984
|
-
import
|
|
6981
|
+
import styled28 from "styled-components";
|
|
6985
6982
|
|
|
6986
6983
|
// src/components/CloseButton/CloseIcon.tsx
|
|
6987
6984
|
import { jsx as jsx148 } from "react/jsx-runtime";
|
|
@@ -7045,7 +7042,7 @@ CloseButton.displayName = "CloseButton_VHS";
|
|
|
7045
7042
|
|
|
7046
7043
|
// src/components/CollapsibleGroup/CollapsibleGroup.tsx
|
|
7047
7044
|
import { useEffect as useEffect11, useLayoutEffect as useLayoutEffect4, useState as useState15, useId as useId2 } from "react";
|
|
7048
|
-
import
|
|
7045
|
+
import styled29, { css as css16 } from "styled-components";
|
|
7049
7046
|
import { darken as darken3 } from "polished";
|
|
7050
7047
|
import { isNil as isNil8, isNonEmptyString as isNonEmptyString5, isNotUndefined as isNotUndefined4 } from "@wistia/type-guards";
|
|
7051
7048
|
import { jsx as jsx150, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
@@ -7337,7 +7334,7 @@ var CollapsibleGroup = ({
|
|
|
7337
7334
|
CollapsibleGroup.displayName = "CollapsibleGroup_VHS";
|
|
7338
7335
|
|
|
7339
7336
|
// src/components/Divider/Divider.tsx
|
|
7340
|
-
import
|
|
7337
|
+
import styled30 from "styled-components";
|
|
7341
7338
|
import { jsx as jsx151 } from "react/jsx-runtime";
|
|
7342
7339
|
var DividerComponent = styled30.hr`
|
|
7343
7340
|
background: none;
|
|
@@ -7374,7 +7371,7 @@ Divider.displayName = "Divider_VHS";
|
|
|
7374
7371
|
|
|
7375
7372
|
// src/components/FileSelect/FileSelect.tsx
|
|
7376
7373
|
import { forwardRef as forwardRef9 } from "react";
|
|
7377
|
-
import
|
|
7374
|
+
import styled31 from "styled-components";
|
|
7378
7375
|
import { jsx as jsx152, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
7379
7376
|
var maxFileSizeInGigs = 26;
|
|
7380
7377
|
var defaultMaximumFileSize = maxFileSizeInGigs * 1024;
|
|
@@ -7470,7 +7467,7 @@ import { isNotNil as isNotNil15, isNotUndefined as isNotUndefined5, isUndefined
|
|
|
7470
7467
|
// src/components/FormGlobalError/FormGlobalError.tsx
|
|
7471
7468
|
import { forwardRef as forwardRef10 } from "react";
|
|
7472
7469
|
import { useFormikContext as useFormikContext2 } from "formik";
|
|
7473
|
-
import
|
|
7470
|
+
import styled32 from "styled-components";
|
|
7474
7471
|
import { isNonEmptyString as isNonEmptyString6, isNotNil as isNotNil14 } from "@wistia/type-guards";
|
|
7475
7472
|
import { jsx as jsx153, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
7476
7473
|
var GlobalErrorsContainer = styled32.div`
|
|
@@ -7802,7 +7799,7 @@ FormButtons.displayName = "FormButtons_VHS";
|
|
|
7802
7799
|
|
|
7803
7800
|
// src/components/FormField/FormField.tsx
|
|
7804
7801
|
import { forwardRef as forwardRef14 } from "react";
|
|
7805
|
-
import
|
|
7802
|
+
import styled43 from "styled-components";
|
|
7806
7803
|
import { Field } from "formik";
|
|
7807
7804
|
|
|
7808
7805
|
// src/components/FormField/inputTypeMap.ts
|
|
@@ -7970,11 +7967,11 @@ import { isNotUndefined as isNotUndefined8 } from "@wistia/type-guards";
|
|
|
7970
7967
|
|
|
7971
7968
|
// src/components/Input/Input.tsx
|
|
7972
7969
|
import { forwardRef as forwardRef11, useEffect as useEffect16, useRef as useRef11 } from "react";
|
|
7973
|
-
import
|
|
7970
|
+
import styled35 from "styled-components";
|
|
7974
7971
|
import { isNotNil as isNotNil18 } from "@wistia/type-guards";
|
|
7975
7972
|
|
|
7976
7973
|
// src/components/Input/InputStyledComponent.tsx
|
|
7977
|
-
import
|
|
7974
|
+
import styled33, { css as css17 } from "styled-components";
|
|
7978
7975
|
var focusStyle = css17`
|
|
7979
7976
|
border-color: ${({ theme: theme2 }) => theme2.color.brandBlue500};
|
|
7980
7977
|
outline: none;
|
|
@@ -8083,7 +8080,7 @@ var InputStyledComponent = styled33.input`
|
|
|
8083
8080
|
|
|
8084
8081
|
// src/components/Input/ClickToCopy.tsx
|
|
8085
8082
|
import { useState as useState17, useEffect as useEffect15 } from "react";
|
|
8086
|
-
import
|
|
8083
|
+
import styled34, { css as css18 } from "styled-components";
|
|
8087
8084
|
import { isFunction as isFunction2 } from "@wistia/type-guards";
|
|
8088
8085
|
import { darken as darken4 } from "polished";
|
|
8089
8086
|
import { jsx as jsx159, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
@@ -8464,7 +8461,7 @@ FormConnectorInput.displayName = "FormConnectorInput";
|
|
|
8464
8461
|
import { useCallback as useCallback11 } from "react";
|
|
8465
8462
|
|
|
8466
8463
|
// src/components/RadioGroup/RadioGroup.tsx
|
|
8467
|
-
import
|
|
8464
|
+
import styled36 from "styled-components";
|
|
8468
8465
|
import { isNotNil as isNotNil20 } from "@wistia/type-guards";
|
|
8469
8466
|
|
|
8470
8467
|
// src/components/Radio/Radio.tsx
|
|
@@ -8619,11 +8616,11 @@ import { isNil as isNil10, isBoolean as isBoolean2 } from "@wistia/type-guards";
|
|
|
8619
8616
|
|
|
8620
8617
|
// src/components/Select/Select.tsx
|
|
8621
8618
|
import { forwardRef as forwardRef13 } from "react";
|
|
8622
|
-
import
|
|
8619
|
+
import styled38, { css as css20 } from "styled-components";
|
|
8623
8620
|
import { isBoolean, isNonEmptyString as isNonEmptyString7, isNotNil as isNotNil21 } from "@wistia/type-guards";
|
|
8624
8621
|
|
|
8625
8622
|
// src/components/Select/SelectStyledComponent.tsx
|
|
8626
|
-
import
|
|
8623
|
+
import styled37, { css as css19 } from "styled-components";
|
|
8627
8624
|
var focusStyle2 = css19`
|
|
8628
8625
|
border: 1px solid ${({ theme: theme2 }) => theme2.color.brandBlue500};
|
|
8629
8626
|
`;
|
|
@@ -8916,12 +8913,12 @@ FormConnectorHidden.displayName = "FormConnectorHidden";
|
|
|
8916
8913
|
|
|
8917
8914
|
// src/private/components/FormConnectorRichTextEditor/FormConnectorRichTextEditor.tsx
|
|
8918
8915
|
import { useState as useState19, useEffect as useEffect19 } from "react";
|
|
8919
|
-
import
|
|
8916
|
+
import styled42 from "styled-components";
|
|
8920
8917
|
import { isNotUndefined as isNotUndefined11 } from "@wistia/type-guards";
|
|
8921
8918
|
|
|
8922
8919
|
// src/components/RichTextEditor/RichTextEditor.tsx
|
|
8923
8920
|
import { useCallback as useCallback12, useMemo as useMemo7, useEffect as useEffect18 } from "react";
|
|
8924
|
-
import
|
|
8921
|
+
import styled41 from "styled-components";
|
|
8925
8922
|
import { Editable, withReact, Slate, ReactEditor } from "slate-react";
|
|
8926
8923
|
import { createEditor, Transforms as Transforms5, Element as Element6, Text as Text4 } from "slate";
|
|
8927
8924
|
import { withHistory } from "slate-history";
|
|
@@ -9232,7 +9229,7 @@ var Leaf = ({
|
|
|
9232
9229
|
|
|
9233
9230
|
// src/components/RichTextEditor/Element.tsx
|
|
9234
9231
|
import { useSelected, useFocused } from "slate-react";
|
|
9235
|
-
import
|
|
9232
|
+
import styled39, { css as css21 } from "styled-components";
|
|
9236
9233
|
import { jsx as jsx170, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
9237
9234
|
var Wrapper = styled39.span`
|
|
9238
9235
|
display: 'inline-block';
|
|
@@ -9352,7 +9349,7 @@ var Element2 = ({
|
|
|
9352
9349
|
|
|
9353
9350
|
// src/components/RichTextEditor/EditorButtons.tsx
|
|
9354
9351
|
import { useSlate } from "slate-react";
|
|
9355
|
-
import
|
|
9352
|
+
import styled40 from "styled-components";
|
|
9356
9353
|
import { Node as Node2 } from "slate";
|
|
9357
9354
|
import { isNonEmptyString as isNonEmptyString10 } from "@wistia/type-guards";
|
|
9358
9355
|
|
|
@@ -10269,7 +10266,7 @@ var FormField = forwardRef14(
|
|
|
10269
10266
|
FormField.displayName = "FormField_VHS";
|
|
10270
10267
|
|
|
10271
10268
|
// src/components/FullScreenModal/FullScreenModal.tsx
|
|
10272
|
-
import
|
|
10269
|
+
import styled44 from "styled-components";
|
|
10273
10270
|
import { isNonEmptyString as isNonEmptyString12 } from "@wistia/type-guards";
|
|
10274
10271
|
import { jsx as jsx187, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
10275
10272
|
var CloseButton2 = styled44(Button)`
|
|
@@ -10324,7 +10321,7 @@ var FullScreenModal = ({
|
|
|
10324
10321
|
FullScreenModal.displayName = "FullScreenModal_VHS";
|
|
10325
10322
|
|
|
10326
10323
|
// src/components/Image/Image.tsx
|
|
10327
|
-
import
|
|
10324
|
+
import styled45 from "styled-components";
|
|
10328
10325
|
import { jsx as jsx188 } from "react/jsx-runtime";
|
|
10329
10326
|
var getFillStyle2 = ($fillContainer) => {
|
|
10330
10327
|
if ($fillContainer === "horizontal") {
|
|
@@ -10369,7 +10366,7 @@ var Image3 = ({
|
|
|
10369
10366
|
Image3.displayName = "Image_VHS";
|
|
10370
10367
|
|
|
10371
10368
|
// src/components/KeyboardShortcut/KeyboardShortcut.tsx
|
|
10372
|
-
import
|
|
10369
|
+
import styled46 from "styled-components";
|
|
10373
10370
|
import { isNotNil as isNotNil27, isArray as isArray3 } from "@wistia/type-guards";
|
|
10374
10371
|
import { jsx as jsx189, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
10375
10372
|
var KeyboardShortcutComponent = styled46.div`
|
|
@@ -10487,7 +10484,7 @@ KeyboardShortcut.displayName = "KeyboardShortcut_VHS";
|
|
|
10487
10484
|
|
|
10488
10485
|
// src/components/LinkButton/LinkButton.tsx
|
|
10489
10486
|
import { forwardRef as forwardRef15 } from "react";
|
|
10490
|
-
import
|
|
10487
|
+
import styled47 from "styled-components";
|
|
10491
10488
|
import { isNotNil as isNotNil28, isNil as isNil15 } from "@wistia/type-guards";
|
|
10492
10489
|
import { jsx as jsx190 } from "react/jsx-runtime";
|
|
10493
10490
|
var isEnterOrSpace = (event) => event.key === "Enter" || event.key === " " || event.key === "Spacebar";
|
|
@@ -10562,10 +10559,10 @@ LinkButton.displayName = "LinkButton_VHS";
|
|
|
10562
10559
|
|
|
10563
10560
|
// src/components/List/List.tsx
|
|
10564
10561
|
import { isNotNil as isNotNil29 } from "@wistia/type-guards";
|
|
10565
|
-
import
|
|
10562
|
+
import styled49, { css as css22 } from "styled-components";
|
|
10566
10563
|
|
|
10567
10564
|
// src/components/List/ListItem.tsx
|
|
10568
|
-
import
|
|
10565
|
+
import styled48 from "styled-components";
|
|
10569
10566
|
import { isNil as isNil16 } from "@wistia/type-guards";
|
|
10570
10567
|
import { jsx as jsx191 } from "react/jsx-runtime";
|
|
10571
10568
|
var ListItemComponent = styled48.li`
|
|
@@ -10722,7 +10719,7 @@ List.displayName = "List_VHS";
|
|
|
10722
10719
|
import { DropdownMenuRadioGroup } from "@radix-ui/react-dropdown-menu";
|
|
10723
10720
|
|
|
10724
10721
|
// src/components/Menu/Menu.tsx
|
|
10725
|
-
import
|
|
10722
|
+
import styled50, { css as css23, keyframes } from "styled-components";
|
|
10726
10723
|
import {
|
|
10727
10724
|
DropdownMenu,
|
|
10728
10725
|
DropdownMenuTrigger,
|
|
@@ -10840,7 +10837,7 @@ import {
|
|
|
10840
10837
|
DropdownMenuSubTrigger
|
|
10841
10838
|
} from "@radix-ui/react-dropdown-menu";
|
|
10842
10839
|
import { isNonEmptyString as isNonEmptyString13, isNotNil as isNotNil31, isNotUndefined as isNotUndefined13 } from "@wistia/type-guards";
|
|
10843
|
-
import
|
|
10840
|
+
import styled51, { css as css24 } from "styled-components";
|
|
10844
10841
|
import { darken as darken5 } from "polished";
|
|
10845
10842
|
import { jsx as jsx194, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
10846
10843
|
var hoverDarken2 = "0.04";
|
|
@@ -11099,7 +11096,7 @@ var SubMenuTrigger = ({
|
|
|
11099
11096
|
};
|
|
11100
11097
|
|
|
11101
11098
|
// src/components/Menu/MenuLabel.tsx
|
|
11102
|
-
import
|
|
11099
|
+
import styled52 from "styled-components";
|
|
11103
11100
|
import { DropdownMenuLabel } from "@radix-ui/react-dropdown-menu";
|
|
11104
11101
|
import { jsx as jsx195 } from "react/jsx-runtime";
|
|
11105
11102
|
var StyledMenuLabel = styled52(DropdownMenuLabel)`
|
|
@@ -11121,7 +11118,7 @@ var MenuLabel = ({ children, ...props }) => {
|
|
|
11121
11118
|
|
|
11122
11119
|
// src/components/Menu/SubMenu.tsx
|
|
11123
11120
|
import { useState as useState20 } from "react";
|
|
11124
|
-
import
|
|
11121
|
+
import styled53 from "styled-components";
|
|
11125
11122
|
import {
|
|
11126
11123
|
DropdownMenuPortal as DropdownMenuPortal2,
|
|
11127
11124
|
DropdownMenuSub,
|
|
@@ -11172,11 +11169,11 @@ var SubMenu = ({ label, icon, description, children }) => {
|
|
|
11172
11169
|
// src/components/MenuButton/MenuButton.tsx
|
|
11173
11170
|
import { useCallback as useCallback13, cloneElement, useState as useState21, useLayoutEffect as useLayoutEffect5, useRef as useRef13 } from "react";
|
|
11174
11171
|
import { isFunction as isFunction3, isNotNil as isNotNil34 } from "@wistia/type-guards";
|
|
11175
|
-
import
|
|
11172
|
+
import styled56, { css as css26 } from "styled-components";
|
|
11176
11173
|
|
|
11177
11174
|
// src/private/components/Menu/Menu.tsx
|
|
11178
11175
|
import { forwardRef as forwardRef16, useRef as useRef12, useEffect as useEffect20 } from "react";
|
|
11179
|
-
import
|
|
11176
|
+
import styled54, { css as css25 } from "styled-components";
|
|
11180
11177
|
import { darken as darken6 } from "polished";
|
|
11181
11178
|
import { isNotNil as isNotNil32, isNonEmptyString as isNonEmptyString14 } from "@wistia/type-guards";
|
|
11182
11179
|
import { Fragment as Fragment12, jsx as jsx197, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
@@ -11379,7 +11376,7 @@ var Menu2 = forwardRef16(
|
|
|
11379
11376
|
Menu2.displayName = "Menu";
|
|
11380
11377
|
|
|
11381
11378
|
// src/components/MenuButton/MenuHeader.tsx
|
|
11382
|
-
import
|
|
11379
|
+
import styled55 from "styled-components";
|
|
11383
11380
|
import { isNotNil as isNotNil33 } from "@wistia/type-guards";
|
|
11384
11381
|
import { jsx as jsx198, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
11385
11382
|
var HeaderAndButton = styled55.div`
|
|
@@ -11547,12 +11544,12 @@ MenuButton.displayName = "MenuButton_VHS";
|
|
|
11547
11544
|
|
|
11548
11545
|
// src/components/Modal/Modal.tsx
|
|
11549
11546
|
import { forwardRef as forwardRef17, useEffect as useEffect21, useRef as useRef14 } from "react";
|
|
11550
|
-
import
|
|
11547
|
+
import styled58, { css as css27 } from "styled-components";
|
|
11551
11548
|
import { hasKey, isNotNil as isNotNil35, isNotUndefined as isNotUndefined15 } from "@wistia/type-guards";
|
|
11552
11549
|
import { createPortal as createPortal3 } from "react-dom";
|
|
11553
11550
|
|
|
11554
11551
|
// src/components/Modal/Dialog.tsx
|
|
11555
|
-
import
|
|
11552
|
+
import styled57 from "styled-components";
|
|
11556
11553
|
var Dialog = styled57.div`
|
|
11557
11554
|
background-color: white;
|
|
11558
11555
|
box-sizing: border-box;
|
|
@@ -11725,7 +11722,7 @@ Modal.displayName = "Modal_VHS";
|
|
|
11725
11722
|
ModalContent.displayName = "ModalContent_VHS";
|
|
11726
11723
|
|
|
11727
11724
|
// src/components/Modal/ModalParts.tsx
|
|
11728
|
-
import
|
|
11725
|
+
import styled59 from "styled-components";
|
|
11729
11726
|
import { jsx as jsx201 } from "react/jsx-runtime";
|
|
11730
11727
|
var ModalHeader = styled59.div`
|
|
11731
11728
|
align-items: center;
|
|
@@ -11769,7 +11766,7 @@ var ModalCloseButton2 = ({ onClick, ...props }) => {
|
|
|
11769
11766
|
};
|
|
11770
11767
|
|
|
11771
11768
|
// src/components/Paper/Paper.tsx
|
|
11772
|
-
import
|
|
11769
|
+
import styled60 from "styled-components";
|
|
11773
11770
|
import { jsx as jsx202 } from "react/jsx-runtime";
|
|
11774
11771
|
var PaperComponent = styled60.div`
|
|
11775
11772
|
background-color: white;
|
|
@@ -11790,7 +11787,7 @@ var Paper = ({ children, elevation = 1, ...otherProps }) => {
|
|
|
11790
11787
|
Paper.displayName = "Paper_VHS";
|
|
11791
11788
|
|
|
11792
11789
|
// src/components/ProgressBar/ProgressBar.tsx
|
|
11793
|
-
import
|
|
11790
|
+
import styled61 from "styled-components";
|
|
11794
11791
|
import { jsx as jsx203, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
11795
11792
|
var progressBarHeight = "8px";
|
|
11796
11793
|
var ProgressBarContainer = styled61.div`
|
|
@@ -11866,13 +11863,13 @@ ProgressBar.displayName = "ProgressBar_VHS";
|
|
|
11866
11863
|
|
|
11867
11864
|
// src/components/RangeSelector/RangeSelector.tsx
|
|
11868
11865
|
import { useEffect as useEffect24, useState as useState24 } from "react";
|
|
11869
|
-
import
|
|
11866
|
+
import styled66 from "styled-components";
|
|
11870
11867
|
import { isSameDay as isSameDay3 } from "date-fns";
|
|
11871
11868
|
|
|
11872
11869
|
// src/private/components/RangeSelectorCalendar/RangeSelectorCalendar.tsx
|
|
11873
11870
|
import { useEffect as useEffect22, useMemo as useMemo8, useState as useState22 } from "react";
|
|
11874
11871
|
import { isNotNil as isNotNil37, isNil as isNil17 } from "@wistia/type-guards";
|
|
11875
|
-
import
|
|
11872
|
+
import styled63 from "styled-components";
|
|
11876
11873
|
import { debounce as debounce2 } from "throttle-debounce";
|
|
11877
11874
|
import {
|
|
11878
11875
|
addDays,
|
|
@@ -11887,7 +11884,7 @@ import {
|
|
|
11887
11884
|
} from "date-fns";
|
|
11888
11885
|
|
|
11889
11886
|
// src/private/components/Calendar/Calendar.tsx
|
|
11890
|
-
import
|
|
11887
|
+
import styled62 from "styled-components";
|
|
11891
11888
|
import {
|
|
11892
11889
|
isBefore,
|
|
11893
11890
|
isAfter,
|
|
@@ -12409,12 +12406,12 @@ RangeSelectorCalendar.displayName = "RangeSelectorCalendar";
|
|
|
12409
12406
|
|
|
12410
12407
|
// src/private/components/RangeSelectorInput/RangeSelectorInput.tsx
|
|
12411
12408
|
import { useCallback as useCallback14, useEffect as useEffect23, useRef as useRef15, useState as useState23 } from "react";
|
|
12412
|
-
import
|
|
12409
|
+
import styled65 from "styled-components";
|
|
12413
12410
|
import { endOfDay as endOfDay3 } from "date-fns";
|
|
12414
12411
|
import { isNotUndefined as isNotUndefined17, isUndefined as isUndefined4, isNotNil as isNotNil41 } from "@wistia/type-guards";
|
|
12415
12412
|
|
|
12416
12413
|
// src/private/components/RangeSelectorInput/ErrorMessages.tsx
|
|
12417
|
-
import
|
|
12414
|
+
import styled64 from "styled-components";
|
|
12418
12415
|
import { jsx as jsx206 } from "react/jsx-runtime";
|
|
12419
12416
|
var ErrorMessagesList = styled64.ul`
|
|
12420
12417
|
list-style: none;
|
|
@@ -13269,7 +13266,7 @@ var RangeSelector = ({
|
|
|
13269
13266
|
RangeSelector.displayName = "RangeSelector_VHS";
|
|
13270
13267
|
|
|
13271
13268
|
// src/components/Slider/Slider.tsx
|
|
13272
|
-
import
|
|
13269
|
+
import styled67, { css as css28 } from "styled-components";
|
|
13273
13270
|
import ReactSlider from "react-slider";
|
|
13274
13271
|
import {
|
|
13275
13272
|
isFunction as isFunction4,
|
|
@@ -13418,7 +13415,7 @@ Slider.displayName = "Slider_VHS";
|
|
|
13418
13415
|
|
|
13419
13416
|
// src/components/Stack/Stack.tsx
|
|
13420
13417
|
import { forwardRef as forwardRef18 } from "react";
|
|
13421
|
-
import
|
|
13418
|
+
import styled68 from "styled-components";
|
|
13422
13419
|
import { jsx as jsx210 } from "react/jsx-runtime";
|
|
13423
13420
|
var StyledStack = styled68.div`
|
|
13424
13421
|
display: flex;
|
|
@@ -13446,7 +13443,7 @@ var Stack = forwardRef18(
|
|
|
13446
13443
|
Stack.displayName = "Stack_VHS";
|
|
13447
13444
|
|
|
13448
13445
|
// src/components/Switch/Switch.tsx
|
|
13449
|
-
import
|
|
13446
|
+
import styled69, { css as css29 } from "styled-components";
|
|
13450
13447
|
import { jsx as jsx211 } from "react/jsx-runtime";
|
|
13451
13448
|
var SwitchComponent = styled69.button`
|
|
13452
13449
|
background-color: white;
|
|
@@ -13567,7 +13564,7 @@ var Switch = ({
|
|
|
13567
13564
|
Switch.displayName = "Switch_VHS";
|
|
13568
13565
|
|
|
13569
13566
|
// src/components/Thumbnail/Thumbnail.tsx
|
|
13570
|
-
import
|
|
13567
|
+
import styled70 from "styled-components";
|
|
13571
13568
|
import { isNotNil as isNotNil43 } from "@wistia/type-guards";
|
|
13572
13569
|
import { jsx as jsx212, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
13573
13570
|
var ThumbnailComponent = styled70.div`
|
|
@@ -13723,7 +13720,7 @@ var Thumbnail = ({
|
|
|
13723
13720
|
Thumbnail.displayName = "Thumbnail_VHS";
|
|
13724
13721
|
|
|
13725
13722
|
// src/components/ThumbnailCollage/ThumbnailCollage.tsx
|
|
13726
|
-
import
|
|
13723
|
+
import styled71 from "styled-components";
|
|
13727
13724
|
import { isNotNil as isNotNil44 } from "@wistia/type-guards";
|
|
13728
13725
|
import { jsx as jsx213 } from "react/jsx-runtime";
|
|
13729
13726
|
var ThumbnailCollageContainer = styled71.div`
|
|
@@ -13781,7 +13778,7 @@ var ThumbnailCollage = ({
|
|
|
13781
13778
|
};
|
|
13782
13779
|
|
|
13783
13780
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
13784
|
-
import
|
|
13781
|
+
import styled72 from "styled-components";
|
|
13785
13782
|
import { isNotNil as isNotNil45 } from "@wistia/type-guards";
|
|
13786
13783
|
import { jsx as jsx214, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
13787
13784
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|