@wistia/vhs 4.0.0-beta.aac4187d.4ad4f67 → 4.0.0-beta.bf1fe785.cd2d6ec
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 +80 -49
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +22 -5
- package/dist/index.d.ts +22 -5
- package/dist/index.mjs +76 -46
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as styled_components from 'styled-components';
|
|
|
2
2
|
import { css, DefaultTheme } from 'styled-components';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
5
|
-
import { JSX, ReactNode, ComponentPropsWithoutRef, Dispatch, SetStateAction, RefObject, MutableRefObject, MouseEvent, ComponentPropsWithRef, ChangeEvent, ElementType, FocusEvent, HTMLInputTypeAttribute, KeyboardEvent as KeyboardEvent$1, ReactElement, ComponentType } from 'react';
|
|
5
|
+
import { JSX, ReactNode, ComponentPropsWithoutRef, Dispatch, SetStateAction, RefObject, MutableRefObject, MouseEvent, ComponentPropsWithRef, ChangeEvent, ElementType, FocusEvent, HTMLInputTypeAttribute, KeyboardEvent as KeyboardEvent$1, ReactElement, ComponentType, PropsWithChildren } from 'react';
|
|
6
6
|
import { FormikProps, FormikHelpers, FormikErrors, Field } from 'formik';
|
|
7
7
|
export { useFormikContext } from 'formik';
|
|
8
8
|
import { DropdownMenuProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuCheckboxItemProps, DropdownMenuRadioItemProps } from '@radix-ui/react-dropdown-menu';
|
|
@@ -547,7 +547,7 @@ type Rect = {
|
|
|
547
547
|
x: number;
|
|
548
548
|
y: number;
|
|
549
549
|
};
|
|
550
|
-
declare const useElementObserver: <T extends HTMLElement>() => [RefObject<T>, Rect];
|
|
550
|
+
declare const useElementObserver: <T extends HTMLElement>() => [RefObject<T | null>, Rect];
|
|
551
551
|
|
|
552
552
|
type AddEventListenerType = (type: string, listener: (evt: Event) => void, options?: AddEventListenerOptions | boolean) => void;
|
|
553
553
|
type RemoveEventListenerType = (type: string, listener: (evt: Event) => void, options?: AddEventListenerOptions | boolean) => void;
|
|
@@ -555,7 +555,7 @@ declare const useEvent: <T extends Event>(eventName: Parameters<AddEventListener
|
|
|
555
555
|
|
|
556
556
|
type UseFocusTrapOptions = {
|
|
557
557
|
disableAriaHider?: boolean;
|
|
558
|
-
focusSelector?: HTMLElement | RefObject<HTMLElement> | string | null | undefined;
|
|
558
|
+
focusSelector?: HTMLElement | RefObject<HTMLElement | null> | string | null | undefined;
|
|
559
559
|
};
|
|
560
560
|
declare const useFocusTrap: (active?: boolean, options?: UseFocusTrapOptions) => (node: HTMLElement | null | undefined) => void;
|
|
561
561
|
|
|
@@ -2532,7 +2532,7 @@ type ModalProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
2532
2532
|
/**
|
|
2533
2533
|
* Ref to the element that should receive focus when the modal opens
|
|
2534
2534
|
*/
|
|
2535
|
-
initialFocusRef?: RefObject<HTMLElement>;
|
|
2535
|
+
initialFocusRef?: RefObject<HTMLElement | null>;
|
|
2536
2536
|
/**
|
|
2537
2537
|
* Whether or not the modal is open, and should be rendered
|
|
2538
2538
|
*/
|
|
@@ -3064,6 +3064,23 @@ declare const Slider: {
|
|
|
3064
3064
|
displayName: string;
|
|
3065
3065
|
};
|
|
3066
3066
|
|
|
3067
|
+
type StackProps<T extends ElementType> = ComponentPropsWithoutRef<T> & PropsWithChildren & {
|
|
3068
|
+
/**
|
|
3069
|
+
* The gap between each item in the stack. Should be one of the spacing values from the theme
|
|
3070
|
+
*/
|
|
3071
|
+
gap?: keyof DefaultTheme['spacing'];
|
|
3072
|
+
/**
|
|
3073
|
+
* Vertical is equivalent to `flex-direction: column;`, horizontal is equivalent to `flex-direction: row;`.
|
|
3074
|
+
* The default behavior is `vertical`.
|
|
3075
|
+
*/
|
|
3076
|
+
direction?: 'horizontal' | 'vertical';
|
|
3077
|
+
/**
|
|
3078
|
+
* The element (e.g. div, span, p) or component to render as the root element.
|
|
3079
|
+
*/
|
|
3080
|
+
renderAs?: T | 'div';
|
|
3081
|
+
};
|
|
3082
|
+
declare const Stack: react.ForwardRefExoticComponent<Omit<StackProps<ElementType>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
3083
|
+
|
|
3067
3084
|
type SwitchProps = Omit<ComponentPropsWithoutRef<'button'>, 'onChange'> & {
|
|
3068
3085
|
/**
|
|
3069
3086
|
* Allows user to override default "on" color
|
|
@@ -3465,4 +3482,4 @@ declare const WistiaLogo: {
|
|
|
3465
3482
|
displayName: string;
|
|
3466
3483
|
};
|
|
3467
3484
|
|
|
3468
|
-
export { ActionModal, type ActionModalProps, Avatar, type AvatarInstanceType, type AvatarProps, Backdrop, type BackdropProps, BackgroundImage, type BackgroundImageProps, Badge, type BadgeColorScheme, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, CheckboxMenuItem, type CheckboxMenuItemProps, type CheckboxProps, ClickArea, type ClickAreaProps, CloseButton, type CloseButtonProps, CollapsibleGroup, type CollapsibleGroupProps, Divider, type DividerProps, Ellipsis, type EllipsisProps, FileSelect, type FileSelectProps, Form, FormButtons, type FormButtonsProps, FormField, FormFieldError, type FormFieldErrorProps, type FormFieldProps, FormGlobalError, type FormProps, type FormState, FullScreenModal, type FullScreenModalProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, LabelDescription, type LabelDescriptionProps, type LabelProps, Link, LinkButton, type LinkButtonProps, type LinkProps, List, ListItem, type ListItemProps, type ListProps, Menu, MenuButton, type MenuButtonProps, MenuItem, type MenuItemProps, MenuLabel, type MenuProps, Modal, ModalBase, type ModalBaseContentProps, ModalBody, ModalCloseButton, type ModalCloseButtonProps, ModalFooter, ModalHeader, type ModalProps, type NodeElementObject, type OnBeforeHideInterface, type OptionsType, Paper, type PaperProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, RadioMenuItem, type RadioMenuItemProps, type RadioProps, RangeSelector, type RangeSelectorProps, RichTextEditor, type RichTextEditorProps, ScreenReaderOnly, type ScreenReaderOnlyProps, Select, type SelectProps, Slider, type SliderProps, SubMenu, Switch, type SwitchProps, Text, type TextProps, Thumbnail, ThumbnailCollage, type ThumbnailCollageProps, type ThumbnailProps, Toast, type ToastProps, ToastProvider, type ToastVariants, Tooltip, type TooltipProps, Truncate, type TruncateProps, VHSProvider, type VHSProviderProps, type VHSTheme, WistiaLogo, type WistiaLogoProps, type WrapperProviderLinkType, copyToClipboard, datetimeHelpers, ellipsisFlexParentStyle, ellipsisStyle, getBackgroundGradient, getSemiRandomBackgroundGradient, iconSizeMap, mq, objectHelpers, rteDeserializeHTML, rteFormatTypes, rteSerializeToHTML, screenReaderOnlyStyle, stringHelpers, useBoolean, useClipboard, useElementObserver, useEvent, useFocusTrap, useForceUpdate, useIsHovered, useKey, useKeyPress, useKeyPressOnce, useLocalStorage, useMergedRefs, useMq, useOnClickOutside, usePreventScroll, usePreviousValue, useTheme, useThemeColor, useToast, useWindowSize };
|
|
3485
|
+
export { ActionModal, type ActionModalProps, Avatar, type AvatarInstanceType, type AvatarProps, Backdrop, type BackdropProps, BackgroundImage, type BackgroundImageProps, Badge, type BadgeColorScheme, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, CheckboxMenuItem, type CheckboxMenuItemProps, type CheckboxProps, ClickArea, type ClickAreaProps, CloseButton, type CloseButtonProps, CollapsibleGroup, type CollapsibleGroupProps, Divider, type DividerProps, Ellipsis, type EllipsisProps, FileSelect, type FileSelectProps, Form, FormButtons, type FormButtonsProps, FormField, FormFieldError, type FormFieldErrorProps, type FormFieldProps, FormGlobalError, type FormProps, type FormState, FullScreenModal, type FullScreenModalProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, LabelDescription, type LabelDescriptionProps, type LabelProps, Link, LinkButton, type LinkButtonProps, type LinkProps, List, ListItem, type ListItemProps, type ListProps, Menu, MenuButton, type MenuButtonProps, MenuItem, type MenuItemProps, MenuLabel, type MenuProps, Modal, ModalBase, type ModalBaseContentProps, ModalBody, ModalCloseButton, type ModalCloseButtonProps, ModalFooter, ModalHeader, type ModalProps, type NodeElementObject, type OnBeforeHideInterface, type OptionsType, Paper, type PaperProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, RadioMenuItem, type RadioMenuItemProps, type RadioProps, RangeSelector, type RangeSelectorProps, RichTextEditor, type RichTextEditorProps, ScreenReaderOnly, type ScreenReaderOnlyProps, Select, type SelectProps, Slider, type SliderProps, Stack, type StackProps, SubMenu, Switch, type SwitchProps, Text, type TextProps, Thumbnail, ThumbnailCollage, type ThumbnailCollageProps, type ThumbnailProps, Toast, type ToastProps, ToastProvider, type ToastVariants, Tooltip, type TooltipProps, Truncate, type TruncateProps, VHSProvider, type VHSProviderProps, type VHSTheme, WistiaLogo, type WistiaLogoProps, type WrapperProviderLinkType, copyToClipboard, datetimeHelpers, ellipsisFlexParentStyle, ellipsisStyle, getBackgroundGradient, getSemiRandomBackgroundGradient, iconSizeMap, mq, objectHelpers, rteDeserializeHTML, rteFormatTypes, rteSerializeToHTML, screenReaderOnlyStyle, stringHelpers, useBoolean, useClipboard, useElementObserver, useEvent, useFocusTrap, useForceUpdate, useIsHovered, useKey, useKeyPress, useKeyPressOnce, useLocalStorage, useMergedRefs, useMq, useOnClickOutside, usePreventScroll, usePreviousValue, useTheme, useThemeColor, useToast, useWindowSize };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as styled_components from 'styled-components';
|
|
|
2
2
|
import { css, DefaultTheme } from 'styled-components';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
5
|
-
import { JSX, ReactNode, ComponentPropsWithoutRef, Dispatch, SetStateAction, RefObject, MutableRefObject, MouseEvent, ComponentPropsWithRef, ChangeEvent, ElementType, FocusEvent, HTMLInputTypeAttribute, KeyboardEvent as KeyboardEvent$1, ReactElement, ComponentType } from 'react';
|
|
5
|
+
import { JSX, ReactNode, ComponentPropsWithoutRef, Dispatch, SetStateAction, RefObject, MutableRefObject, MouseEvent, ComponentPropsWithRef, ChangeEvent, ElementType, FocusEvent, HTMLInputTypeAttribute, KeyboardEvent as KeyboardEvent$1, ReactElement, ComponentType, PropsWithChildren } from 'react';
|
|
6
6
|
import { FormikProps, FormikHelpers, FormikErrors, Field } from 'formik';
|
|
7
7
|
export { useFormikContext } from 'formik';
|
|
8
8
|
import { DropdownMenuProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuCheckboxItemProps, DropdownMenuRadioItemProps } from '@radix-ui/react-dropdown-menu';
|
|
@@ -547,7 +547,7 @@ type Rect = {
|
|
|
547
547
|
x: number;
|
|
548
548
|
y: number;
|
|
549
549
|
};
|
|
550
|
-
declare const useElementObserver: <T extends HTMLElement>() => [RefObject<T>, Rect];
|
|
550
|
+
declare const useElementObserver: <T extends HTMLElement>() => [RefObject<T | null>, Rect];
|
|
551
551
|
|
|
552
552
|
type AddEventListenerType = (type: string, listener: (evt: Event) => void, options?: AddEventListenerOptions | boolean) => void;
|
|
553
553
|
type RemoveEventListenerType = (type: string, listener: (evt: Event) => void, options?: AddEventListenerOptions | boolean) => void;
|
|
@@ -555,7 +555,7 @@ declare const useEvent: <T extends Event>(eventName: Parameters<AddEventListener
|
|
|
555
555
|
|
|
556
556
|
type UseFocusTrapOptions = {
|
|
557
557
|
disableAriaHider?: boolean;
|
|
558
|
-
focusSelector?: HTMLElement | RefObject<HTMLElement> | string | null | undefined;
|
|
558
|
+
focusSelector?: HTMLElement | RefObject<HTMLElement | null> | string | null | undefined;
|
|
559
559
|
};
|
|
560
560
|
declare const useFocusTrap: (active?: boolean, options?: UseFocusTrapOptions) => (node: HTMLElement | null | undefined) => void;
|
|
561
561
|
|
|
@@ -2532,7 +2532,7 @@ type ModalProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
2532
2532
|
/**
|
|
2533
2533
|
* Ref to the element that should receive focus when the modal opens
|
|
2534
2534
|
*/
|
|
2535
|
-
initialFocusRef?: RefObject<HTMLElement>;
|
|
2535
|
+
initialFocusRef?: RefObject<HTMLElement | null>;
|
|
2536
2536
|
/**
|
|
2537
2537
|
* Whether or not the modal is open, and should be rendered
|
|
2538
2538
|
*/
|
|
@@ -3064,6 +3064,23 @@ declare const Slider: {
|
|
|
3064
3064
|
displayName: string;
|
|
3065
3065
|
};
|
|
3066
3066
|
|
|
3067
|
+
type StackProps<T extends ElementType> = ComponentPropsWithoutRef<T> & PropsWithChildren & {
|
|
3068
|
+
/**
|
|
3069
|
+
* The gap between each item in the stack. Should be one of the spacing values from the theme
|
|
3070
|
+
*/
|
|
3071
|
+
gap?: keyof DefaultTheme['spacing'];
|
|
3072
|
+
/**
|
|
3073
|
+
* Vertical is equivalent to `flex-direction: column;`, horizontal is equivalent to `flex-direction: row;`.
|
|
3074
|
+
* The default behavior is `vertical`.
|
|
3075
|
+
*/
|
|
3076
|
+
direction?: 'horizontal' | 'vertical';
|
|
3077
|
+
/**
|
|
3078
|
+
* The element (e.g. div, span, p) or component to render as the root element.
|
|
3079
|
+
*/
|
|
3080
|
+
renderAs?: T | 'div';
|
|
3081
|
+
};
|
|
3082
|
+
declare const Stack: react.ForwardRefExoticComponent<Omit<StackProps<ElementType>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
3083
|
+
|
|
3067
3084
|
type SwitchProps = Omit<ComponentPropsWithoutRef<'button'>, 'onChange'> & {
|
|
3068
3085
|
/**
|
|
3069
3086
|
* Allows user to override default "on" color
|
|
@@ -3465,4 +3482,4 @@ declare const WistiaLogo: {
|
|
|
3465
3482
|
displayName: string;
|
|
3466
3483
|
};
|
|
3467
3484
|
|
|
3468
|
-
export { ActionModal, type ActionModalProps, Avatar, type AvatarInstanceType, type AvatarProps, Backdrop, type BackdropProps, BackgroundImage, type BackgroundImageProps, Badge, type BadgeColorScheme, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, CheckboxMenuItem, type CheckboxMenuItemProps, type CheckboxProps, ClickArea, type ClickAreaProps, CloseButton, type CloseButtonProps, CollapsibleGroup, type CollapsibleGroupProps, Divider, type DividerProps, Ellipsis, type EllipsisProps, FileSelect, type FileSelectProps, Form, FormButtons, type FormButtonsProps, FormField, FormFieldError, type FormFieldErrorProps, type FormFieldProps, FormGlobalError, type FormProps, type FormState, FullScreenModal, type FullScreenModalProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, LabelDescription, type LabelDescriptionProps, type LabelProps, Link, LinkButton, type LinkButtonProps, type LinkProps, List, ListItem, type ListItemProps, type ListProps, Menu, MenuButton, type MenuButtonProps, MenuItem, type MenuItemProps, MenuLabel, type MenuProps, Modal, ModalBase, type ModalBaseContentProps, ModalBody, ModalCloseButton, type ModalCloseButtonProps, ModalFooter, ModalHeader, type ModalProps, type NodeElementObject, type OnBeforeHideInterface, type OptionsType, Paper, type PaperProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, RadioMenuItem, type RadioMenuItemProps, type RadioProps, RangeSelector, type RangeSelectorProps, RichTextEditor, type RichTextEditorProps, ScreenReaderOnly, type ScreenReaderOnlyProps, Select, type SelectProps, Slider, type SliderProps, SubMenu, Switch, type SwitchProps, Text, type TextProps, Thumbnail, ThumbnailCollage, type ThumbnailCollageProps, type ThumbnailProps, Toast, type ToastProps, ToastProvider, type ToastVariants, Tooltip, type TooltipProps, Truncate, type TruncateProps, VHSProvider, type VHSProviderProps, type VHSTheme, WistiaLogo, type WistiaLogoProps, type WrapperProviderLinkType, copyToClipboard, datetimeHelpers, ellipsisFlexParentStyle, ellipsisStyle, getBackgroundGradient, getSemiRandomBackgroundGradient, iconSizeMap, mq, objectHelpers, rteDeserializeHTML, rteFormatTypes, rteSerializeToHTML, screenReaderOnlyStyle, stringHelpers, useBoolean, useClipboard, useElementObserver, useEvent, useFocusTrap, useForceUpdate, useIsHovered, useKey, useKeyPress, useKeyPressOnce, useLocalStorage, useMergedRefs, useMq, useOnClickOutside, usePreventScroll, usePreviousValue, useTheme, useThemeColor, useToast, useWindowSize };
|
|
3485
|
+
export { ActionModal, type ActionModalProps, Avatar, type AvatarInstanceType, type AvatarProps, Backdrop, type BackdropProps, BackgroundImage, type BackgroundImageProps, Badge, type BadgeColorScheme, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, CheckboxMenuItem, type CheckboxMenuItemProps, type CheckboxProps, ClickArea, type ClickAreaProps, CloseButton, type CloseButtonProps, CollapsibleGroup, type CollapsibleGroupProps, Divider, type DividerProps, Ellipsis, type EllipsisProps, FileSelect, type FileSelectProps, Form, FormButtons, type FormButtonsProps, FormField, FormFieldError, type FormFieldErrorProps, type FormFieldProps, FormGlobalError, type FormProps, type FormState, FullScreenModal, type FullScreenModalProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, LabelDescription, type LabelDescriptionProps, type LabelProps, Link, LinkButton, type LinkButtonProps, type LinkProps, List, ListItem, type ListItemProps, type ListProps, Menu, MenuButton, type MenuButtonProps, MenuItem, type MenuItemProps, MenuLabel, type MenuProps, Modal, ModalBase, type ModalBaseContentProps, ModalBody, ModalCloseButton, type ModalCloseButtonProps, ModalFooter, ModalHeader, type ModalProps, type NodeElementObject, type OnBeforeHideInterface, type OptionsType, Paper, type PaperProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, type RadioGroupProps, RadioMenuItem, type RadioMenuItemProps, type RadioProps, RangeSelector, type RangeSelectorProps, RichTextEditor, type RichTextEditorProps, ScreenReaderOnly, type ScreenReaderOnlyProps, Select, type SelectProps, Slider, type SliderProps, Stack, type StackProps, SubMenu, Switch, type SwitchProps, Text, type TextProps, Thumbnail, ThumbnailCollage, type ThumbnailCollageProps, type ThumbnailProps, Toast, type ToastProps, ToastProvider, type ToastVariants, Tooltip, type TooltipProps, Truncate, type TruncateProps, VHSProvider, type VHSProviderProps, type VHSTheme, WistiaLogo, type WistiaLogoProps, type WrapperProviderLinkType, copyToClipboard, datetimeHelpers, ellipsisFlexParentStyle, ellipsisStyle, getBackgroundGradient, getSemiRandomBackgroundGradient, iconSizeMap, mq, objectHelpers, rteDeserializeHTML, rteFormatTypes, rteSerializeToHTML, screenReaderOnlyStyle, stringHelpers, useBoolean, useClipboard, useElementObserver, useEvent, useFocusTrap, useForceUpdate, useIsHovered, useKey, useKeyPress, useKeyPressOnce, useLocalStorage, useMergedRefs, useMq, useOnClickOutside, usePreventScroll, usePreviousValue, useTheme, useThemeColor, useToast, useWindowSize };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/vhs v4.0.0-beta.
|
|
3
|
+
* @license @wistia/vhs v4.0.0-beta.bf1fe785.cd2d6ec
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2021-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -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
|
});
|
|
@@ -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)) {
|
|
@@ -7555,7 +7555,7 @@ import { useEffect as useEffect13 } from "react";
|
|
|
7555
7555
|
import { useCallback as useCallback10, useEffect as useEffect12, useRef as useRef10 } from "react";
|
|
7556
7556
|
var useTimeoutFunc = (func, timeout2 = 0) => {
|
|
7557
7557
|
const readyRef = useRef10(false);
|
|
7558
|
-
const timeoutRef = useRef10();
|
|
7558
|
+
const timeoutRef = useRef10(void 0);
|
|
7559
7559
|
const callbackRef = useRef10(func);
|
|
7560
7560
|
const isReady = useCallback10(() => readyRef.current, []);
|
|
7561
7561
|
const set = useCallback10(() => {
|
|
@@ -11307,7 +11307,7 @@ var Menu2 = forwardRef16(
|
|
|
11307
11307
|
onClose,
|
|
11308
11308
|
...otherProps
|
|
11309
11309
|
}, ref) => {
|
|
11310
|
-
const menuRef = useRef12();
|
|
11310
|
+
const menuRef = useRef12(void 0);
|
|
11311
11311
|
const onClickOutsideFn = isNotNil32(onClickOutside) ? onClickOutside : () => {
|
|
11312
11312
|
};
|
|
11313
11313
|
useOnClickOutside(menuRef, onClickOutsideFn);
|
|
@@ -13413,10 +13413,39 @@ var Slider = ({
|
|
|
13413
13413
|
};
|
|
13414
13414
|
Slider.displayName = "Slider_VHS";
|
|
13415
13415
|
|
|
13416
|
-
// src/components/
|
|
13417
|
-
import {
|
|
13416
|
+
// src/components/Stack/Stack.tsx
|
|
13417
|
+
import { forwardRef as forwardRef18 } from "react";
|
|
13418
|
+
import { styled as styled68 } from "styled-components";
|
|
13418
13419
|
import { jsx as jsx210 } from "react/jsx-runtime";
|
|
13419
|
-
var
|
|
13420
|
+
var StyledStack = styled68.div`
|
|
13421
|
+
display: flex;
|
|
13422
|
+
flex-direction: ${({ $direction }) => $direction === "horizontal" ? "row" : "column"};
|
|
13423
|
+
gap: ${({ $gap, theme: theme2 }) => theme2.spacing[$gap]};
|
|
13424
|
+
|
|
13425
|
+
> * {
|
|
13426
|
+
flex: 1;
|
|
13427
|
+
}
|
|
13428
|
+
`;
|
|
13429
|
+
var Stack = forwardRef18(
|
|
13430
|
+
({ renderAs = "div", direction = "vertical", gap = "space02", ...props }, ref) => {
|
|
13431
|
+
return /* @__PURE__ */ jsx210(
|
|
13432
|
+
StyledStack,
|
|
13433
|
+
{
|
|
13434
|
+
...props,
|
|
13435
|
+
ref,
|
|
13436
|
+
$direction: direction,
|
|
13437
|
+
$gap: gap,
|
|
13438
|
+
as: renderAs
|
|
13439
|
+
}
|
|
13440
|
+
);
|
|
13441
|
+
}
|
|
13442
|
+
);
|
|
13443
|
+
Stack.displayName = "Stack_VHS";
|
|
13444
|
+
|
|
13445
|
+
// src/components/Switch/Switch.tsx
|
|
13446
|
+
import { styled as styled69, css as css29 } from "styled-components";
|
|
13447
|
+
import { jsx as jsx211 } from "react/jsx-runtime";
|
|
13448
|
+
var SwitchComponent = styled69.button`
|
|
13420
13449
|
background-color: white;
|
|
13421
13450
|
border-color: ${({ theme: theme2 }) => theme2.color.grey700};
|
|
13422
13451
|
border-radius: 20px;
|
|
@@ -13481,7 +13510,7 @@ var ShowTextStyles = css29`
|
|
|
13481
13510
|
}
|
|
13482
13511
|
}
|
|
13483
13512
|
`;
|
|
13484
|
-
var SwitchKnob =
|
|
13513
|
+
var SwitchKnob = styled69.div`
|
|
13485
13514
|
background-color: ${({ theme: theme2 }) => theme2.color.grey700};
|
|
13486
13515
|
border-radius: 50%;
|
|
13487
13516
|
height: 12px;
|
|
@@ -13516,7 +13545,7 @@ var Switch = ({
|
|
|
13516
13545
|
onChange(!isChecked);
|
|
13517
13546
|
}
|
|
13518
13547
|
};
|
|
13519
|
-
return /* @__PURE__ */
|
|
13548
|
+
return /* @__PURE__ */ jsx211(
|
|
13520
13549
|
SwitchComponent,
|
|
13521
13550
|
{
|
|
13522
13551
|
$colorOverride: colorOverride,
|
|
@@ -13528,17 +13557,17 @@ var Switch = ({
|
|
|
13528
13557
|
role: "switch",
|
|
13529
13558
|
type: "button",
|
|
13530
13559
|
...otherProps,
|
|
13531
|
-
children: /* @__PURE__ */
|
|
13560
|
+
children: /* @__PURE__ */ jsx211(SwitchKnob, { $hideText: hideText })
|
|
13532
13561
|
}
|
|
13533
13562
|
);
|
|
13534
13563
|
};
|
|
13535
13564
|
Switch.displayName = "Switch_VHS";
|
|
13536
13565
|
|
|
13537
13566
|
// src/components/Thumbnail/Thumbnail.tsx
|
|
13538
|
-
import { styled as
|
|
13567
|
+
import { styled as styled70 } from "styled-components";
|
|
13539
13568
|
import { isNotNil as isNotNil43 } from "@wistia/type-guards";
|
|
13540
|
-
import { jsx as
|
|
13541
|
-
var ThumbnailComponent =
|
|
13569
|
+
import { jsx as jsx212, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
13570
|
+
var ThumbnailComponent = styled70.div`
|
|
13542
13571
|
${({ $gradientBackground }) => getBackgroundGradient($gradientBackground)};
|
|
13543
13572
|
aspect-ratio: 16 / 9;
|
|
13544
13573
|
background-image: ${({ $backgroundUrl }) => $backgroundUrl};
|
|
@@ -13550,17 +13579,17 @@ var ThumbnailComponent = styled69.div`
|
|
|
13550
13579
|
position: relative;
|
|
13551
13580
|
width: ${({ $width }) => $width};
|
|
13552
13581
|
`;
|
|
13553
|
-
var WideThumbnailImage =
|
|
13582
|
+
var WideThumbnailImage = styled70.img`
|
|
13554
13583
|
height: 100%;
|
|
13555
13584
|
object-fit: cover;
|
|
13556
13585
|
width: 100%;
|
|
13557
13586
|
`;
|
|
13558
|
-
var SquareThumbnailImage =
|
|
13587
|
+
var SquareThumbnailImage = styled70.img`
|
|
13559
13588
|
backdrop-filter: blur(8px);
|
|
13560
13589
|
object-fit: contain;
|
|
13561
13590
|
width: 100%;
|
|
13562
13591
|
`;
|
|
13563
|
-
var BottomRightText =
|
|
13592
|
+
var BottomRightText = styled70.div`
|
|
13564
13593
|
align-items: center;
|
|
13565
13594
|
background-color: rgb(0 0 0 / 50%);
|
|
13566
13595
|
border-radius: 2px;
|
|
@@ -13577,7 +13606,7 @@ var BottomRightText = styled69.div`
|
|
|
13577
13606
|
right: 0;
|
|
13578
13607
|
z-index: 1;
|
|
13579
13608
|
`;
|
|
13580
|
-
var IconContainer3 =
|
|
13609
|
+
var IconContainer3 = styled70.div`
|
|
13581
13610
|
align-self: center;
|
|
13582
13611
|
aspect-ratio: 1;
|
|
13583
13612
|
margin: 30%;
|
|
@@ -13590,7 +13619,7 @@ var IconContainer3 = styled69.div`
|
|
|
13590
13619
|
`;
|
|
13591
13620
|
var ThumbnailImage = ({ $thumbnailImageType, $thumbnailUrl }) => {
|
|
13592
13621
|
if ($thumbnailImageType === "wide") {
|
|
13593
|
-
return /* @__PURE__ */
|
|
13622
|
+
return /* @__PURE__ */ jsx212(
|
|
13594
13623
|
WideThumbnailImage,
|
|
13595
13624
|
{
|
|
13596
13625
|
alt: "",
|
|
@@ -13599,7 +13628,7 @@ var ThumbnailImage = ({ $thumbnailImageType, $thumbnailUrl }) => {
|
|
|
13599
13628
|
);
|
|
13600
13629
|
}
|
|
13601
13630
|
if ($thumbnailImageType === "square") {
|
|
13602
|
-
return /* @__PURE__ */
|
|
13631
|
+
return /* @__PURE__ */ jsx212(
|
|
13603
13632
|
SquareThumbnailImage,
|
|
13604
13633
|
{
|
|
13605
13634
|
alt: "",
|
|
@@ -13609,13 +13638,13 @@ var ThumbnailImage = ({ $thumbnailImageType, $thumbnailUrl }) => {
|
|
|
13609
13638
|
}
|
|
13610
13639
|
return null;
|
|
13611
13640
|
};
|
|
13612
|
-
var Collage =
|
|
13641
|
+
var Collage = styled70.div`
|
|
13613
13642
|
display: grid;
|
|
13614
13643
|
grid-template-columns: auto auto;
|
|
13615
13644
|
grid-template-rows: 50% 50%;
|
|
13616
13645
|
width: 100%;
|
|
13617
13646
|
`;
|
|
13618
|
-
var CollageImage =
|
|
13647
|
+
var CollageImage = styled70.div`
|
|
13619
13648
|
background-image: ${({ $thumbnailUrl }) => `url(${$thumbnailUrl})`};
|
|
13620
13649
|
background-position: center;
|
|
13621
13650
|
background-size: cover;
|
|
@@ -13652,30 +13681,30 @@ var Thumbnail = ({
|
|
|
13652
13681
|
...otherProps,
|
|
13653
13682
|
children: [
|
|
13654
13683
|
isNotNil43(bottomRightText) ? /* @__PURE__ */ jsxs44(BottomRightText, { children: [
|
|
13655
|
-
bottomRightIcon ? /* @__PURE__ */
|
|
13684
|
+
bottomRightIcon ? /* @__PURE__ */ jsx212(
|
|
13656
13685
|
Icon,
|
|
13657
13686
|
{
|
|
13658
13687
|
size: "sm",
|
|
13659
13688
|
type: bottomRightIcon
|
|
13660
13689
|
}
|
|
13661
13690
|
) : null,
|
|
13662
|
-
/* @__PURE__ */
|
|
13691
|
+
/* @__PURE__ */ jsx212("span", { children: bottomRightText })
|
|
13663
13692
|
] }) : null,
|
|
13664
|
-
isNotNil43(icon) && /* @__PURE__ */
|
|
13693
|
+
isNotNil43(icon) && /* @__PURE__ */ jsx212(IconContainer3, { children: /* @__PURE__ */ jsx212(
|
|
13665
13694
|
Icon,
|
|
13666
13695
|
{
|
|
13667
13696
|
color: iconColor,
|
|
13668
13697
|
type: icon
|
|
13669
13698
|
}
|
|
13670
13699
|
) }),
|
|
13671
|
-
!Array.isArray(thumbnailUrl) && isNotNil43(thumbnailImageType) && isNotNil43(thumbnailUrl) && /* @__PURE__ */
|
|
13700
|
+
!Array.isArray(thumbnailUrl) && isNotNil43(thumbnailImageType) && isNotNil43(thumbnailUrl) && /* @__PURE__ */ jsx212(
|
|
13672
13701
|
ThumbnailImage,
|
|
13673
13702
|
{
|
|
13674
13703
|
$thumbnailImageType: thumbnailImageType,
|
|
13675
13704
|
$thumbnailUrl: thumbnailUrl
|
|
13676
13705
|
}
|
|
13677
13706
|
),
|
|
13678
|
-
Array.isArray(thumbnailUrl) && isNotNil43(thumbnailImageType) && isNotNil43(thumbnailUrl) && /* @__PURE__ */
|
|
13707
|
+
Array.isArray(thumbnailUrl) && isNotNil43(thumbnailImageType) && isNotNil43(thumbnailUrl) && /* @__PURE__ */ jsx212(Collage, { "data-testid": "thumbnail-collage", children: thumbnailUrl.map((url, index) => /* @__PURE__ */ jsx212(
|
|
13679
13708
|
CollageImage,
|
|
13680
13709
|
{
|
|
13681
13710
|
$thumbnailUrl: url,
|
|
@@ -13691,10 +13720,10 @@ var Thumbnail = ({
|
|
|
13691
13720
|
Thumbnail.displayName = "Thumbnail_VHS";
|
|
13692
13721
|
|
|
13693
13722
|
// src/components/ThumbnailCollage/ThumbnailCollage.tsx
|
|
13694
|
-
import { styled as
|
|
13723
|
+
import { styled as styled71 } from "styled-components";
|
|
13695
13724
|
import { isNotNil as isNotNil44 } from "@wistia/type-guards";
|
|
13696
|
-
import { jsx as
|
|
13697
|
-
var ThumbnailCollageContainer =
|
|
13725
|
+
import { jsx as jsx213 } from "react/jsx-runtime";
|
|
13726
|
+
var ThumbnailCollageContainer = styled71.div`
|
|
13698
13727
|
display: grid;
|
|
13699
13728
|
grid-template-columns: 3fr 2fr;
|
|
13700
13729
|
grid-template-rows: 1fr 1fr;
|
|
@@ -13702,7 +13731,7 @@ var ThumbnailCollageContainer = styled70.div`
|
|
|
13702
13731
|
grid-gap: ${({ theme: theme2 }) => theme2.spacing.space01};
|
|
13703
13732
|
height: 100%;
|
|
13704
13733
|
`;
|
|
13705
|
-
var CollageImage2 =
|
|
13734
|
+
var CollageImage2 = styled71.div`
|
|
13706
13735
|
${({ $thumbnailUrl }) => isNotNil44($thumbnailUrl) && `background-image: url(${$thumbnailUrl})`};
|
|
13707
13736
|
${({ $backgroundGradient }) => $backgroundGradient && getBackgroundGradient($backgroundGradient)};
|
|
13708
13737
|
background-position: center;
|
|
@@ -13732,37 +13761,37 @@ var ThumbnailCollage = ({
|
|
|
13732
13761
|
gradientBackground = "defaultMidOne",
|
|
13733
13762
|
...props
|
|
13734
13763
|
}) => {
|
|
13735
|
-
return /* @__PURE__ */
|
|
13764
|
+
return /* @__PURE__ */ jsx213(
|
|
13736
13765
|
ThumbnailCollageContainer,
|
|
13737
13766
|
{
|
|
13738
13767
|
role: "presentation",
|
|
13739
13768
|
...props,
|
|
13740
|
-
children: thumbnailUrls.length ? thumbnailUrls.map((thumbnailUrl) => /* @__PURE__ */
|
|
13769
|
+
children: thumbnailUrls.length ? thumbnailUrls.map((thumbnailUrl) => /* @__PURE__ */ jsx213(
|
|
13741
13770
|
CollageImage2,
|
|
13742
13771
|
{
|
|
13743
13772
|
$thumbnailUrl: thumbnailUrl
|
|
13744
13773
|
},
|
|
13745
13774
|
thumbnailUrl
|
|
13746
|
-
)) : /* @__PURE__ */
|
|
13775
|
+
)) : /* @__PURE__ */ jsx213(CollageImage2, { $backgroundGradient: gradientBackground })
|
|
13747
13776
|
}
|
|
13748
13777
|
);
|
|
13749
13778
|
};
|
|
13750
13779
|
|
|
13751
13780
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
13752
|
-
import { styled as
|
|
13781
|
+
import { styled as styled72 } from "styled-components";
|
|
13753
13782
|
import { isNotNil as isNotNil45 } from "@wistia/type-guards";
|
|
13754
|
-
import { jsx as
|
|
13783
|
+
import { jsx as jsx214, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
13755
13784
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|
|
13756
13785
|
if (iconOnly) {
|
|
13757
|
-
return /* @__PURE__ */
|
|
13786
|
+
return /* @__PURE__ */ jsx214("g", { fill: brandmarkColor, children: /* @__PURE__ */ jsx214("path", { d: "M16.09 17.1h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 26.53c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87ZM32.14 0c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" }) });
|
|
13758
13787
|
}
|
|
13759
|
-
return /* @__PURE__ */
|
|
13788
|
+
return /* @__PURE__ */ jsx214("g", { fill: brandmarkColor, children: /* @__PURE__ */ jsx214("path", { d: "M16.09 21.37h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 30.8c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87Zm16.05-17.1c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" }) });
|
|
13760
13789
|
};
|
|
13761
13790
|
var renderLogotype = (logotypeColor, iconOnly) => {
|
|
13762
13791
|
if (iconOnly) {
|
|
13763
13792
|
return null;
|
|
13764
13793
|
}
|
|
13765
|
-
return /* @__PURE__ */
|
|
13794
|
+
return /* @__PURE__ */ jsx214("g", { fill: logotypeColor, children: /* @__PURE__ */ jsx214("path", { d: "M70.16 8.66v15.18c0 1.68-.35 3.09-1.05 4.23a6.612 6.612 0 0 1-2.85 2.54c-1.19.55-2.52.82-4.01.82s-2.8-.28-4.01-.85a6.655 6.655 0 0 1-3.11-2.96c-.08.15-.16.29-.24.42a6.552 6.552 0 0 1-2.87 2.54c-1.2.56-2.54.85-4.01.85s-2.8-.27-3.94-.82a6.214 6.214 0 0 1-2.71-2.52c-.67-1.14-1.01-2.56-1.02-4.25l-.22-15.18h7.34V22.3c0 .82.19 1.37.56 1.67.39.28.85.42 1.38.42s1.02-.15 1.45-.45c.43-.3.65-.85.65-1.65V8.65h7.3v13.64c0 .8.22 1.35.65 1.65.43.3.91.45 1.45.45s.99-.14 1.36-.42c.39-.3.58-.85.58-1.67V8.66h7.34Zm2.45 0v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89A3.43 3.43 0 0 0 78.28.44c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.13 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm8.86 1.96c-1.42.4-2.6 1.11-3.54 2.14-.93 1.02-1.4 2.4-1.4 4.12 0 1.11.17 2.09.51 2.94.36.85.82 1.62 1.38 2.34.22.28.55.65.98 1.11.37.4.64.72.8.96.18.24.27.47.27.69 0 .5-.4.87-1.2 1.09-.8.21-1.62.31-2.47.31-.1-.01-.22-.02-.33-.02l1.02 6.94c.42.07.92.11 1.51.11 1.9 0 3.6-.28 5.1-.85 1.5-.56 2.68-1.42 3.54-2.56.88-1.14 1.31-2.55 1.31-4.23 0-.68-.07-1.31-.22-1.87-.13-.58-.32-1.09-.56-1.54a6.64 6.64 0 0 0-.8-1.27c-.3-.37-.74-.82-1.34-1.36-.39-.33-.67-.59-.85-.8-.18-.22-.27-.45-.27-.67 0-.46.26-.79.78-.98.53-.19 1.17-.29 1.91-.29.25 0 .51.01.78.04l-.71-6.88a10.4 10.4 0 0 0-1.56-.11c-1.66 0-3.21.21-4.65.62Zm19.54 15.71c-.99 0-1.71-.23-2.14-.69-.42-.47-.62-1.18-.62-2.11v-6.57h4.21V8.66h-4.21V3.38l-7.34 1.85V24.1c0 2.45.47 4.29 1.4 5.52.95 1.22 2.45 1.83 4.49 1.83.95 0 1.86-.07 2.74-.22.88-.13 1.62-.34 2.25-.62l1.38-6.3c-.55.1-1.27.16-2.16.16Zm4.13-15.8v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89a3.43 3.43 0 0 0-1.42-1.27c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.14 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm27.51 1.87v22.26h-7.34v-2.28c-.41.43-.85.83-1.34 1.19-1.44 1.07-3.12 1.6-5.05 1.6s-3.61-.52-5.1-1.56c-1.48-1.05-2.63-2.47-3.45-4.25-.82-1.78-1.22-3.73-1.22-5.85s.41-4.07 1.22-5.83c.82-1.78 1.97-3.19 3.45-4.23 1.48-1.05 3.18-1.58 5.1-1.58s3.61.53 5.05 1.6c.48.36.93.75 1.34 1.19V8.66h7.34Zm-7.1 11.11c0-.8-.19-1.53-.56-2.18-.37-.67-.88-1.19-1.54-1.58-.64-.39-1.34-.58-2.09-.58s-1.45.19-2.09.58c-.64.39-1.15.91-1.54 1.58-.37.67-.56 1.39-.56 2.18s.19 1.51.56 2.18c.39.67.9 1.19 1.54 1.58.64.39 1.34.58 2.09.58s1.45-.19 2.09-.58c.65-.39 1.16-.91 1.54-1.56.37-.67.56-1.4.56-2.2Z" }) });
|
|
13766
13795
|
};
|
|
13767
13796
|
var computedViewBox = (iconOnly) => {
|
|
13768
13797
|
if (iconOnly) {
|
|
@@ -13770,7 +13799,7 @@ var computedViewBox = (iconOnly) => {
|
|
|
13770
13799
|
}
|
|
13771
13800
|
return "0 0 144 31.47";
|
|
13772
13801
|
};
|
|
13773
|
-
var WistiaLogoComponent =
|
|
13802
|
+
var WistiaLogoComponent = styled72.svg`
|
|
13774
13803
|
height: ${({ height }) => `${height}px`};
|
|
13775
13804
|
|
|
13776
13805
|
/* ensure it will always fit on mobile */
|
|
@@ -13822,14 +13851,14 @@ var WistiaLogo = ({
|
|
|
13822
13851
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13823
13852
|
...otherProps,
|
|
13824
13853
|
children: [
|
|
13825
|
-
/* @__PURE__ */
|
|
13826
|
-
isNotNil45(description) ? /* @__PURE__ */
|
|
13854
|
+
/* @__PURE__ */ jsx214("title", { children: title }),
|
|
13855
|
+
isNotNil45(description) ? /* @__PURE__ */ jsx214("desc", { children: description }) : null,
|
|
13827
13856
|
renderBrandmark(brandmarkColor, iconOnly),
|
|
13828
13857
|
renderLogotype(logotypeColor, iconOnly)
|
|
13829
13858
|
]
|
|
13830
13859
|
}
|
|
13831
13860
|
);
|
|
13832
|
-
return href !== void 0 ? /* @__PURE__ */
|
|
13861
|
+
return href !== void 0 ? /* @__PURE__ */ jsx214("a", { href, children: Logo }) : Logo;
|
|
13833
13862
|
};
|
|
13834
13863
|
WistiaLogo.displayName = "WistiaLogo_VHS";
|
|
13835
13864
|
export {
|
|
@@ -13890,6 +13919,7 @@ export {
|
|
|
13890
13919
|
ScreenReaderOnly,
|
|
13891
13920
|
Select,
|
|
13892
13921
|
Slider,
|
|
13922
|
+
Stack,
|
|
13893
13923
|
SubMenu,
|
|
13894
13924
|
Switch,
|
|
13895
13925
|
Text,
|