@wistia/ui 0.17.1 → 0.18.0-beta.3a151a03.96acbe5
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 +322 -315
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +72 -61
- package/dist/index.d.ts +72 -61
- package/dist/index.mjs +130 -123
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -9
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.
|
|
3
|
+
* @license @wistia/ui v0.18.0-beta.3a151a03.96acbe5
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -3058,12 +3058,12 @@ import { toast as sonnerToast } from "sonner";
|
|
|
3058
3058
|
|
|
3059
3059
|
// src/private/components/Toast/Toast.tsx
|
|
3060
3060
|
import { cloneElement, isValidElement } from "react";
|
|
3061
|
-
import styled2 from "styled-components";
|
|
3061
|
+
import { styled as styled2 } from "styled-components";
|
|
3062
3062
|
import { isNotNil as isNotNil4 } from "@wistia/type-guards";
|
|
3063
3063
|
|
|
3064
3064
|
// src/components/Ellipsis/Ellipsis.tsx
|
|
3065
3065
|
import { isNotNil as isNotNil3 } from "@wistia/type-guards";
|
|
3066
|
-
import styled,
|
|
3066
|
+
import { styled, css as css14 } from "styled-components";
|
|
3067
3067
|
|
|
3068
3068
|
// src/css/lineClampCss.tsx
|
|
3069
3069
|
import { css as css13 } from "styled-components";
|
|
@@ -3267,11 +3267,11 @@ var useToast = () => {
|
|
|
3267
3267
|
|
|
3268
3268
|
// src/components/ActionButton/ActionButton.tsx
|
|
3269
3269
|
import { forwardRef as forwardRef3 } from "react";
|
|
3270
|
-
import styled6,
|
|
3270
|
+
import { styled as styled6, css as css19 } from "styled-components";
|
|
3271
3271
|
|
|
3272
3272
|
// src/components/Button/Button.tsx
|
|
3273
3273
|
import { forwardRef as forwardRef2 } from "react";
|
|
3274
|
-
import styled5 from "styled-components";
|
|
3274
|
+
import { styled as styled5 } from "styled-components";
|
|
3275
3275
|
import { isNotNil as isNotNil6, isNotUndefined as isNotUndefined4 } from "@wistia/type-guards";
|
|
3276
3276
|
|
|
3277
3277
|
// src/css/buttonResetCss.tsx
|
|
@@ -3477,7 +3477,7 @@ var buttonSizeStyles = {
|
|
|
3477
3477
|
|
|
3478
3478
|
// src/components/Icon/Icon.tsx
|
|
3479
3479
|
import { isNil as isNil5 } from "@wistia/type-guards";
|
|
3480
|
-
import styled3,
|
|
3480
|
+
import { styled as styled3, css as css18 } from "styled-components";
|
|
3481
3481
|
|
|
3482
3482
|
// src/components/Icon/icons/AbTestIcon.tsx
|
|
3483
3483
|
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
@@ -7569,7 +7569,7 @@ Icon.displayName = "Icon_UI";
|
|
|
7569
7569
|
|
|
7570
7570
|
// src/components/Link/Link.tsx
|
|
7571
7571
|
import { forwardRef } from "react";
|
|
7572
|
-
import styled4 from "styled-components";
|
|
7572
|
+
import { styled as styled4 } from "styled-components";
|
|
7573
7573
|
import { Link as RouterLink, useInRouterContext } from "react-router";
|
|
7574
7574
|
import { isFunction as isFunction2, isNil as isNil6, isNotNil as isNotNil5, isNotUndefined as isNotUndefined3, isUndefined as isUndefined2 } from "@wistia/type-guards";
|
|
7575
7575
|
import { jsx as jsx199, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
@@ -8002,7 +8002,7 @@ ActionButton.displayName = "ActionButton_UI";
|
|
|
8002
8002
|
// src/components/Avatar/Avatar.tsx
|
|
8003
8003
|
import { useState as useState9, useMemo as useMemo4, useEffect as useEffect7 } from "react";
|
|
8004
8004
|
import { isNil as isNil8, isNotNil as isNotNil8 } from "@wistia/type-guards";
|
|
8005
|
-
import styled9 from "styled-components";
|
|
8005
|
+
import { styled as styled9 } from "styled-components";
|
|
8006
8006
|
|
|
8007
8007
|
// src/components/Avatar/formatNameForDisplay.tsx
|
|
8008
8008
|
import { isNil as isNil7, isString, isEmptyString } from "@wistia/type-guards";
|
|
@@ -8019,7 +8019,7 @@ var formatNameForDisplay = (name) => {
|
|
|
8019
8019
|
};
|
|
8020
8020
|
|
|
8021
8021
|
// src/components/Image/Image.tsx
|
|
8022
|
-
import styled7 from "styled-components";
|
|
8022
|
+
import { styled as styled7 } from "styled-components";
|
|
8023
8023
|
import { isNotNil as isNotNil7 } from "@wistia/type-guards";
|
|
8024
8024
|
import { jsx as jsx202 } from "react/jsx-runtime";
|
|
8025
8025
|
var getFillStyle = (fillContainer) => {
|
|
@@ -8072,7 +8072,7 @@ var Image = ({
|
|
|
8072
8072
|
Image.displayName = "Image_UI";
|
|
8073
8073
|
|
|
8074
8074
|
// src/components/ColorSchemeWrapper/ColorSchemeWrapper.tsx
|
|
8075
|
-
import styled8 from "styled-components";
|
|
8075
|
+
import { styled as styled8 } from "styled-components";
|
|
8076
8076
|
import { jsx as jsx203 } from "react/jsx-runtime";
|
|
8077
8077
|
var defaultColorSchemeOptions = ["standard", "inherit"];
|
|
8078
8078
|
var semanticColorSchemeOptions = ["error", "info", "success", "warning"];
|
|
@@ -8254,7 +8254,7 @@ Avatar.displayName = "Avatar_UI";
|
|
|
8254
8254
|
|
|
8255
8255
|
// src/components/Badge/Badge.tsx
|
|
8256
8256
|
import { forwardRef as forwardRef4 } from "react";
|
|
8257
|
-
import styled10 from "styled-components";
|
|
8257
|
+
import { styled as styled10 } from "styled-components";
|
|
8258
8258
|
import { isNotNil as isNotNil9 } from "@wistia/type-guards";
|
|
8259
8259
|
import { jsx as jsx205, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
8260
8260
|
var StyledBadge = styled10.div`
|
|
@@ -8306,12 +8306,12 @@ Badge.displayName = "Badge_UI";
|
|
|
8306
8306
|
|
|
8307
8307
|
// src/components/Banner/Banner.tsx
|
|
8308
8308
|
import { useEffect as useEffect8, useState as useState10, useMemo as useMemo5 } from "react";
|
|
8309
|
-
import styled16 from "styled-components";
|
|
8309
|
+
import { styled as styled16 } from "styled-components";
|
|
8310
8310
|
import { isNil as isNil11, isNotNil as isNotNil13 } from "@wistia/type-guards";
|
|
8311
8311
|
|
|
8312
8312
|
// src/components/Box/Box.tsx
|
|
8313
8313
|
import { forwardRef as forwardRef5 } from "react";
|
|
8314
|
-
import styled11,
|
|
8314
|
+
import { styled as styled11, css as css20 } from "styled-components";
|
|
8315
8315
|
import { isNotNil as isNotNil10, isRecord as isRecord3, isNotUndefined as isNotUndefined5 } from "@wistia/type-guards";
|
|
8316
8316
|
|
|
8317
8317
|
// src/private/helpers/makePolymorphic/makePolymorphic.tsx
|
|
@@ -8508,7 +8508,7 @@ var Box = makePolymorphic(BoxComponent);
|
|
|
8508
8508
|
|
|
8509
8509
|
// src/components/Heading/Heading.tsx
|
|
8510
8510
|
import { forwardRef as forwardRef6 } from "react";
|
|
8511
|
-
import styled12,
|
|
8511
|
+
import { styled as styled12, css as css21 } from "styled-components";
|
|
8512
8512
|
import { isNotNil as isNotNil11 } from "@wistia/type-guards";
|
|
8513
8513
|
|
|
8514
8514
|
// src/private/helpers/applyMaxCharsToChildren/applyMaxCharsToChildren.ts
|
|
@@ -8687,7 +8687,7 @@ var Heading = makePolymorphic(HeadingComponent);
|
|
|
8687
8687
|
|
|
8688
8688
|
// src/components/Text/Text.tsx
|
|
8689
8689
|
import { forwardRef as forwardRef7 } from "react";
|
|
8690
|
-
import styled13,
|
|
8690
|
+
import { styled as styled13, css as css22 } from "styled-components";
|
|
8691
8691
|
import { isNotNil as isNotNil12 } from "@wistia/type-guards";
|
|
8692
8692
|
import { jsx as jsx208 } from "react/jsx-runtime";
|
|
8693
8693
|
var sharedBodyStyle = css22`
|
|
@@ -8909,7 +8909,7 @@ TextComponent.displayName = "Text_UI";
|
|
|
8909
8909
|
var Text = makePolymorphic(TextComponent);
|
|
8910
8910
|
|
|
8911
8911
|
// src/components/ButtonGroup/ButtonGroup.tsx
|
|
8912
|
-
import styled14,
|
|
8912
|
+
import { styled as styled14, css as css23 } from "styled-components";
|
|
8913
8913
|
import { isNil as isNil10 } from "@wistia/type-guards";
|
|
8914
8914
|
import { jsx as jsx209 } from "react/jsx-runtime";
|
|
8915
8915
|
var getAlignment = (align) => {
|
|
@@ -8989,7 +8989,7 @@ ButtonGroup.displayName = "ButtonGroup_UI";
|
|
|
8989
8989
|
|
|
8990
8990
|
// src/components/IconButton/IconButton.tsx
|
|
8991
8991
|
import { Children, cloneElement as cloneElement2, forwardRef as forwardRef8 } from "react";
|
|
8992
|
-
import styled15 from "styled-components";
|
|
8992
|
+
import { styled as styled15 } from "styled-components";
|
|
8993
8993
|
import { jsx as jsx210 } from "react/jsx-runtime";
|
|
8994
8994
|
var StyledButton2 = styled15(Button)`
|
|
8995
8995
|
--icon-button-size-sm: 24px;
|
|
@@ -9190,7 +9190,7 @@ Banner.displayName = "Banner_UI";
|
|
|
9190
9190
|
|
|
9191
9191
|
// src/components/Breadcrumbs/Breadcrumbs.tsx
|
|
9192
9192
|
import { Children as Children2 } from "react";
|
|
9193
|
-
import styled17 from "styled-components";
|
|
9193
|
+
import { styled as styled17 } from "styled-components";
|
|
9194
9194
|
import { Fragment as Fragment4, jsx as jsx212, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
9195
9195
|
var StyledBreadcrumbs = styled17.nav`
|
|
9196
9196
|
display: flex;
|
|
@@ -9237,7 +9237,7 @@ var Breadcrumbs = ({ children, ...props }) => {
|
|
|
9237
9237
|
Breadcrumbs.displayName = "Breadcrumbs_UI";
|
|
9238
9238
|
|
|
9239
9239
|
// src/components/Breadcrumbs/Breadcrumb.tsx
|
|
9240
|
-
import styled18 from "styled-components";
|
|
9240
|
+
import { styled as styled18 } from "styled-components";
|
|
9241
9241
|
import { Fragment as Fragment5, jsx as jsx213, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
9242
9242
|
var BreadcrumbContent = styled18.span`
|
|
9243
9243
|
overflow: hidden;
|
|
@@ -9271,7 +9271,7 @@ var Breadcrumb = ({ icon, href, children, ...props }) => {
|
|
|
9271
9271
|
};
|
|
9272
9272
|
|
|
9273
9273
|
// src/components/Card/Card.tsx
|
|
9274
|
-
import styled19 from "styled-components";
|
|
9274
|
+
import { styled as styled19 } from "styled-components";
|
|
9275
9275
|
import { jsx as jsx214 } from "react/jsx-runtime";
|
|
9276
9276
|
var StyledCard = styled19(Box)`
|
|
9277
9277
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -9331,7 +9331,7 @@ Card.displayName = "Card_UI";
|
|
|
9331
9331
|
|
|
9332
9332
|
// src/components/Center/Center.tsx
|
|
9333
9333
|
import { forwardRef as forwardRef9 } from "react";
|
|
9334
|
-
import styled20 from "styled-components";
|
|
9334
|
+
import { styled as styled20 } from "styled-components";
|
|
9335
9335
|
import { jsx as jsx215 } from "react/jsx-runtime";
|
|
9336
9336
|
var StyledCenter = styled20.div`
|
|
9337
9337
|
box-sizing: border-box;
|
|
@@ -9363,14 +9363,14 @@ Center.displayName = "Center_UI";
|
|
|
9363
9363
|
// src/components/Checkbox/Checkbox.tsx
|
|
9364
9364
|
import { isNonEmptyString as isNonEmptyString3, isNotUndefined as isNotUndefined7 } from "@wistia/type-guards";
|
|
9365
9365
|
import { forwardRef as forwardRef12, useId as useId2 } from "react";
|
|
9366
|
-
import styled27,
|
|
9366
|
+
import { styled as styled27, css as css26 } from "styled-components";
|
|
9367
9367
|
|
|
9368
9368
|
// src/private/components/FormControlLabel/FormControlLabel.tsx
|
|
9369
9369
|
import { isNil as isNil13, isNotNil as isNotNil15 } from "@wistia/type-guards";
|
|
9370
|
-
import styled23,
|
|
9370
|
+
import { styled as styled23, css as css25 } from "styled-components";
|
|
9371
9371
|
|
|
9372
9372
|
// src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
|
|
9373
|
-
import styled21 from "styled-components";
|
|
9373
|
+
import { styled as styled21 } from "styled-components";
|
|
9374
9374
|
import { isNotNil as isNotNil14 } from "@wistia/type-guards";
|
|
9375
9375
|
import { jsx as jsx216 } from "react/jsx-runtime";
|
|
9376
9376
|
var VisuallyHidden = styled21.div({ ...visuallyHiddenStyle });
|
|
@@ -9392,7 +9392,7 @@ var ScreenReaderOnly = ({
|
|
|
9392
9392
|
ScreenReaderOnly.displayName = "ScreenReaderOnly_UI";
|
|
9393
9393
|
|
|
9394
9394
|
// src/private/components/FormControlLabel/FormControlLabelDescription.tsx
|
|
9395
|
-
import styled22,
|
|
9395
|
+
import { styled as styled22, css as css24 } from "styled-components";
|
|
9396
9396
|
import { isNil as isNil12 } from "@wistia/type-guards";
|
|
9397
9397
|
import { jsx as jsx217 } from "react/jsx-runtime";
|
|
9398
9398
|
var disabledStyle = css24`
|
|
@@ -9489,13 +9489,13 @@ import { createContext as createContext4, useMemo as useMemo7, useContext as use
|
|
|
9489
9489
|
import { isArray } from "@wistia/type-guards";
|
|
9490
9490
|
|
|
9491
9491
|
// src/components/FormGroup/FormGroup.tsx
|
|
9492
|
-
import styled25 from "styled-components";
|
|
9492
|
+
import { styled as styled25 } from "styled-components";
|
|
9493
9493
|
import { useRef as useRef7 } from "react";
|
|
9494
9494
|
import { isNonEmptyString as isNonEmptyString2, isNotNil as isNotNil16 } from "@wistia/type-guards";
|
|
9495
9495
|
|
|
9496
9496
|
// src/components/Stack/Stack.tsx
|
|
9497
9497
|
import { forwardRef as forwardRef10 } from "react";
|
|
9498
|
-
import styled24 from "styled-components";
|
|
9498
|
+
import { styled as styled24 } from "styled-components";
|
|
9499
9499
|
import { jsx as jsx219 } from "react/jsx-runtime";
|
|
9500
9500
|
var DEFAULT_ELEMENT4 = "div";
|
|
9501
9501
|
var StyledStack = styled24.div`
|
|
@@ -9584,7 +9584,7 @@ FormGroup.displayName = "FormGroup_UI";
|
|
|
9584
9584
|
|
|
9585
9585
|
// src/components/Form/Form.tsx
|
|
9586
9586
|
import { forwardRef as forwardRef11, useRef as useRef8, useMemo as useMemo6, createContext as createContext3, useState as useState11, useId } from "react";
|
|
9587
|
-
import styled26 from "styled-components";
|
|
9587
|
+
import { styled as styled26 } from "styled-components";
|
|
9588
9588
|
import { isNotUndefined as isNotUndefined6, isUndefined as isUndefined3 } from "@wistia/type-guards";
|
|
9589
9589
|
|
|
9590
9590
|
// src/components/Form/serializeFormData.tsx
|
|
@@ -9950,7 +9950,7 @@ ClickRegion.displayName = "ClickRegion_UI";
|
|
|
9950
9950
|
// src/components/Collapsible/Collapsible.tsx
|
|
9951
9951
|
import { Root as CollapsibleRoot } from "@radix-ui/react-collapsible";
|
|
9952
9952
|
import { isNotNil as isNotNil17 } from "@wistia/type-guards";
|
|
9953
|
-
import styled28 from "styled-components";
|
|
9953
|
+
import { styled as styled28 } from "styled-components";
|
|
9954
9954
|
import { jsx as jsx224 } from "react/jsx-runtime";
|
|
9955
9955
|
var StyledRoot = styled28(CollapsibleRoot)`
|
|
9956
9956
|
&[data-state='closed'] [data-wui-collapsible-content] {
|
|
@@ -9975,7 +9975,7 @@ Collapsible.displayName = "Collapsible_UI";
|
|
|
9975
9975
|
// src/components/Collapsible/CollapsibleTrigger.tsx
|
|
9976
9976
|
import { Children as Children4 } from "react";
|
|
9977
9977
|
import { Trigger } from "@radix-ui/react-collapsible";
|
|
9978
|
-
import styled29 from "styled-components";
|
|
9978
|
+
import { styled as styled29 } from "styled-components";
|
|
9979
9979
|
import { jsx as jsx225 } from "react/jsx-runtime";
|
|
9980
9980
|
var StyledTrigger = styled29(Trigger)`
|
|
9981
9981
|
[data-wui-collapsible-icon] {
|
|
@@ -10026,7 +10026,7 @@ var CollapsibleTriggerIcon = ({ type, ...props }) => {
|
|
|
10026
10026
|
CollapsibleTriggerIcon.displayName = "CollapsibleTriggerIcon_UI";
|
|
10027
10027
|
|
|
10028
10028
|
// src/components/Collapsible/CollapsibleContent.tsx
|
|
10029
|
-
import styled30 from "styled-components";
|
|
10029
|
+
import { styled as styled30 } from "styled-components";
|
|
10030
10030
|
import { Content } from "@radix-ui/react-collapsible";
|
|
10031
10031
|
import { isNotUndefined as isNotUndefined8 } from "@wistia/type-guards";
|
|
10032
10032
|
import { Fragment as Fragment6, jsx as jsx227, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
@@ -10052,7 +10052,7 @@ var CollapsibleContent = ({ clamp, children }) => {
|
|
|
10052
10052
|
|
|
10053
10053
|
// src/components/ColorPicker/ColorGrid.tsx
|
|
10054
10054
|
import { useCallback as useCallback10 } from "react";
|
|
10055
|
-
import styled32 from "styled-components";
|
|
10055
|
+
import { styled as styled32 } from "styled-components";
|
|
10056
10056
|
import { Root as RadioGroupRoot } from "@radix-ui/react-radio-group";
|
|
10057
10057
|
|
|
10058
10058
|
// src/components/ColorPicker/ColorPickerContext.tsx
|
|
@@ -10597,7 +10597,7 @@ var useColorPickerState = () => {
|
|
|
10597
10597
|
};
|
|
10598
10598
|
|
|
10599
10599
|
// src/components/Label/Label.tsx
|
|
10600
|
-
import styled31,
|
|
10600
|
+
import { styled as styled31, css as css27 } from "styled-components";
|
|
10601
10601
|
import { jsx as jsx229 } from "react/jsx-runtime";
|
|
10602
10602
|
var requiredStyle = css27`
|
|
10603
10603
|
&::after {
|
|
@@ -10698,12 +10698,12 @@ var ColorGrid = ({ children, label }) => {
|
|
|
10698
10698
|
ColorGrid.displayName = "ColorGrid_UI";
|
|
10699
10699
|
|
|
10700
10700
|
// src/components/ColorPicker/ColorGridOption.tsx
|
|
10701
|
-
import styled35 from "styled-components";
|
|
10701
|
+
import { styled as styled35 } from "styled-components";
|
|
10702
10702
|
import { Item as RadioGroupItem } from "@radix-ui/react-radio-group";
|
|
10703
10703
|
import { formatHex as formatHex3 } from "culori/fn";
|
|
10704
10704
|
|
|
10705
10705
|
// src/components/ColorPicker/ColorSwatch.tsx
|
|
10706
|
-
import styled33 from "styled-components";
|
|
10706
|
+
import { styled as styled33 } from "styled-components";
|
|
10707
10707
|
import { jsx as jsx231, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
10708
10708
|
var ColorSwatchDiv = styled33.div`
|
|
10709
10709
|
aspect-ratio: 1;
|
|
@@ -10767,7 +10767,7 @@ import {
|
|
|
10767
10767
|
Portal as TooltipPortal,
|
|
10768
10768
|
Arrow as TooltipArrow
|
|
10769
10769
|
} from "@radix-ui/react-tooltip";
|
|
10770
|
-
import styled34,
|
|
10770
|
+
import { styled as styled34, keyframes } from "styled-components";
|
|
10771
10771
|
import { jsx as jsx232, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
10772
10772
|
var hide = keyframes`
|
|
10773
10773
|
from {
|
|
@@ -10962,7 +10962,7 @@ ColorGridOption.displayName = "ColorGridOption_UI";
|
|
|
10962
10962
|
|
|
10963
10963
|
// src/components/ColorPicker/ColorList.tsx
|
|
10964
10964
|
import { useCallback as useCallback11 } from "react";
|
|
10965
|
-
import styled36 from "styled-components";
|
|
10965
|
+
import { styled as styled36 } from "styled-components";
|
|
10966
10966
|
import { Root as ToggleGroupRoot } from "@radix-ui/react-toggle-group";
|
|
10967
10967
|
import { jsx as jsx234 } from "react/jsx-runtime";
|
|
10968
10968
|
var Container3 = styled36(ToggleGroupRoot)`
|
|
@@ -10994,7 +10994,7 @@ var ColorList = ({ children }) => {
|
|
|
10994
10994
|
ColorList.displayName = "ColorList_UI";
|
|
10995
10995
|
|
|
10996
10996
|
// src/components/ColorPicker/ColorListGroup.tsx
|
|
10997
|
-
import styled37 from "styled-components";
|
|
10997
|
+
import { styled as styled37 } from "styled-components";
|
|
10998
10998
|
import { jsx as jsx235, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
10999
10999
|
var Container4 = styled37.div`
|
|
11000
11000
|
display: grid;
|
|
@@ -11024,7 +11024,7 @@ var ColorListGroup = ({ label, children }) => {
|
|
|
11024
11024
|
ColorListGroup.displayName = "ColorListGroup_UI";
|
|
11025
11025
|
|
|
11026
11026
|
// src/components/ColorPicker/ColorListOption.tsx
|
|
11027
|
-
import styled38 from "styled-components";
|
|
11027
|
+
import { styled as styled38 } from "styled-components";
|
|
11028
11028
|
import { Item as ToggleGroupItem } from "@radix-ui/react-toggle-group";
|
|
11029
11029
|
import { formatHex as formatHex4 } from "culori/fn";
|
|
11030
11030
|
|
|
@@ -11148,7 +11148,7 @@ ColorPicker.displayName = "ColorPicker_UI";
|
|
|
11148
11148
|
|
|
11149
11149
|
// src/components/ColorPicker/ColorPickerPopoverContent.tsx
|
|
11150
11150
|
import { Content as PopoverContent, Portal as PopoverPortal } from "@radix-ui/react-popover";
|
|
11151
|
-
import styled39 from "styled-components";
|
|
11151
|
+
import { styled as styled39 } from "styled-components";
|
|
11152
11152
|
import { jsx as jsx239 } from "react/jsx-runtime";
|
|
11153
11153
|
var StyledPopoverContent = styled39(PopoverContent)`
|
|
11154
11154
|
background-color: var(--wui-color-bg-surface);
|
|
@@ -11177,7 +11177,7 @@ var ColorPickerPopoverContent = ({
|
|
|
11177
11177
|
ColorPickerPopoverContent.displayName = "ColorPickerPopoverContent_UI";
|
|
11178
11178
|
|
|
11179
11179
|
// src/components/ColorPicker/ColorPickerSection.tsx
|
|
11180
|
-
import styled40 from "styled-components";
|
|
11180
|
+
import { styled as styled40 } from "styled-components";
|
|
11181
11181
|
import { jsx as jsx240 } from "react/jsx-runtime";
|
|
11182
11182
|
var Container6 = styled40.div`
|
|
11183
11183
|
padding: var(--wui-space-02);
|
|
@@ -11190,7 +11190,7 @@ ColorPickerSection.displayName = "ColorPickerSection_UI";
|
|
|
11190
11190
|
// src/components/ColorPicker/ColorPickerTrigger.tsx
|
|
11191
11191
|
import { forwardRef as forwardRef13 } from "react";
|
|
11192
11192
|
import { Trigger as PopoverTrigger } from "@radix-ui/react-popover";
|
|
11193
|
-
import styled41 from "styled-components";
|
|
11193
|
+
import { styled as styled41 } from "styled-components";
|
|
11194
11194
|
|
|
11195
11195
|
// src/components/ColorPicker/ValueSwatch.tsx
|
|
11196
11196
|
import { jsx as jsx241 } from "react/jsx-runtime";
|
|
@@ -11257,7 +11257,7 @@ var ColorPickerTrigger = forwardRef13(
|
|
|
11257
11257
|
ColorPickerTrigger.displayName = "ColorPickerTrigger_UI";
|
|
11258
11258
|
|
|
11259
11259
|
// src/components/ColorPicker/ContrastIndicator.tsx
|
|
11260
|
-
import styled42 from "styled-components";
|
|
11260
|
+
import { styled as styled42 } from "styled-components";
|
|
11261
11261
|
import { jsx as jsx244, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
11262
11262
|
var Container7 = styled42.div`
|
|
11263
11263
|
display: flex;
|
|
@@ -11317,7 +11317,7 @@ import { useCallback as useCallback12 } from "react";
|
|
|
11317
11317
|
|
|
11318
11318
|
// src/components/Switch/Switch.tsx
|
|
11319
11319
|
import { forwardRef as forwardRef14, useId as useId3 } from "react";
|
|
11320
|
-
import styled43,
|
|
11320
|
+
import { styled as styled43, css as css28 } from "styled-components";
|
|
11321
11321
|
import { isNonEmptyString as isNonEmptyString4 } from "@wistia/type-guards";
|
|
11322
11322
|
import { jsx as jsx245, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
11323
11323
|
var switchHeightMap = {
|
|
@@ -11528,7 +11528,7 @@ import { parseHex as parseHex2 } from "culori/fn";
|
|
|
11528
11528
|
|
|
11529
11529
|
// src/components/Input/Input.tsx
|
|
11530
11530
|
import { isValidElement as isValidElement2, forwardRef as forwardRef15, cloneElement as cloneElement4, useRef as useRef9 } from "react";
|
|
11531
|
-
import styled44,
|
|
11531
|
+
import { styled as styled44, css as css30 } from "styled-components";
|
|
11532
11532
|
import { isNil as isNil14, isNotNil as isNotNil18, isRecord as isRecord4 } from "@wistia/type-guards";
|
|
11533
11533
|
|
|
11534
11534
|
// src/css/inputCss.ts
|
|
@@ -11908,12 +11908,12 @@ import {
|
|
|
11908
11908
|
Track as SliderTrack,
|
|
11909
11909
|
Thumb as SliderThumb
|
|
11910
11910
|
} from "@radix-ui/react-slider";
|
|
11911
|
-
import styled46 from "styled-components";
|
|
11911
|
+
import { styled as styled46 } from "styled-components";
|
|
11912
11912
|
import { formatHex as formatHex6 } from "culori/fn";
|
|
11913
11913
|
|
|
11914
11914
|
// src/components/ColorPicker/HSVHueCanvas.tsx
|
|
11915
11915
|
import { useEffect as useEffect12, useRef as useRef11 } from "react";
|
|
11916
|
-
import styled45 from "styled-components";
|
|
11916
|
+
import { styled as styled45 } from "styled-components";
|
|
11917
11917
|
import { formatHex as formatHex5 } from "culori/fn";
|
|
11918
11918
|
import { jsx as jsx251 } from "react/jsx-runtime";
|
|
11919
11919
|
var Canvas = styled45.canvas`
|
|
@@ -12044,11 +12044,11 @@ HueSlider.displayName = "HueSlider_UI";
|
|
|
12044
12044
|
|
|
12045
12045
|
// src/components/ColorPicker/SaturationAndValuePicker.tsx
|
|
12046
12046
|
import { useCallback as useCallback15, useEffect as useEffect14, useLayoutEffect as useLayoutEffect4, useMemo as useMemo10, useRef as useRef13, useState as useState14 } from "react";
|
|
12047
|
-
import styled48 from "styled-components";
|
|
12047
|
+
import { styled as styled48 } from "styled-components";
|
|
12048
12048
|
|
|
12049
12049
|
// src/components/ColorPicker/HSVSaturationValueCanvas.tsx
|
|
12050
12050
|
import { useEffect as useEffect13, useRef as useRef12 } from "react";
|
|
12051
|
-
import styled47 from "styled-components";
|
|
12051
|
+
import { styled as styled47 } from "styled-components";
|
|
12052
12052
|
|
|
12053
12053
|
// src/components/ColorPicker/canvas-utils.ts
|
|
12054
12054
|
var drawSmoothCurve = (context, points) => {
|
|
@@ -12427,12 +12427,12 @@ import {
|
|
|
12427
12427
|
isValidElement as isValidElement3
|
|
12428
12428
|
} from "react";
|
|
12429
12429
|
import { matchSorter } from "match-sorter";
|
|
12430
|
-
import styled50 from "styled-components";
|
|
12430
|
+
import { styled as styled50 } from "styled-components";
|
|
12431
12431
|
import { isArray as isArray2, isString as isString3 } from "@wistia/type-guards";
|
|
12432
12432
|
|
|
12433
12433
|
// src/components/Tag/Tag.tsx
|
|
12434
12434
|
import { forwardRef as forwardRef16 } from "react";
|
|
12435
|
-
import styled49 from "styled-components";
|
|
12435
|
+
import { styled as styled49 } from "styled-components";
|
|
12436
12436
|
import { isNil as isNil15, isNotNil as isNotNil19, isNonEmptyString as isNonEmptyString5 } from "@wistia/type-guards";
|
|
12437
12437
|
import { Fragment as Fragment7, jsx as jsx255, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
12438
12438
|
var TagLabel = styled49.a`
|
|
@@ -12888,7 +12888,7 @@ import {
|
|
|
12888
12888
|
} from "@radix-ui/react-dropdown-menu";
|
|
12889
12889
|
import { isNotNil as isNotNil20, isNotUndefined as isNotUndefined9 } from "@wistia/type-guards";
|
|
12890
12890
|
import { forwardRef as forwardRef17, useMemo as useMemo12 } from "react";
|
|
12891
|
-
import styled51,
|
|
12891
|
+
import { styled as styled51, css as css32, keyframes as keyframes2 } from "styled-components";
|
|
12892
12892
|
|
|
12893
12893
|
// src/components/Menu/MenuContext.tsx
|
|
12894
12894
|
import { createContext as createContext6, useContext as useContext5 } from "react";
|
|
@@ -13051,7 +13051,7 @@ Menu.displayName = "Menu_UI";
|
|
|
13051
13051
|
Menu.displayName = "Menu_UI";
|
|
13052
13052
|
|
|
13053
13053
|
// src/components/Menu/MenuLabel.tsx
|
|
13054
|
-
import styled52 from "styled-components";
|
|
13054
|
+
import { styled as styled52 } from "styled-components";
|
|
13055
13055
|
import { DropdownMenuLabel } from "@radix-ui/react-dropdown-menu";
|
|
13056
13056
|
import { jsx as jsx258 } from "react/jsx-runtime";
|
|
13057
13057
|
var StyledMenuLabel = styled52(DropdownMenuLabel)`
|
|
@@ -13079,7 +13079,7 @@ MenuLabel.displayName = "MenuLabel_UI";
|
|
|
13079
13079
|
|
|
13080
13080
|
// src/components/Menu/SubMenu.tsx
|
|
13081
13081
|
import { useState as useState16 } from "react";
|
|
13082
|
-
import styled55 from "styled-components";
|
|
13082
|
+
import { styled as styled55 } from "styled-components";
|
|
13083
13083
|
import {
|
|
13084
13084
|
DropdownMenuPortal as DropdownMenuPortal2,
|
|
13085
13085
|
DropdownMenuSub,
|
|
@@ -13092,7 +13092,7 @@ import { isNotNil as isNotNil22 } from "@wistia/type-guards";
|
|
|
13092
13092
|
|
|
13093
13093
|
// src/components/Menu/MenuItemButton.tsx
|
|
13094
13094
|
import { forwardRef as forwardRef18 } from "react";
|
|
13095
|
-
import styled53 from "styled-components";
|
|
13095
|
+
import { styled as styled53 } from "styled-components";
|
|
13096
13096
|
import { isNotNil as isNotNil21, isNotUndefined as isNotUndefined10 } from "@wistia/type-guards";
|
|
13097
13097
|
import { jsx as jsx259, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
13098
13098
|
var StyledButton3 = styled53(Button)`
|
|
@@ -13212,7 +13212,7 @@ var MenuItemButton = forwardRef18(({ children, appearance, command, icon, ...pro
|
|
|
13212
13212
|
MenuItemButton.displayName = "MenuItemButton_UI";
|
|
13213
13213
|
|
|
13214
13214
|
// src/components/Menu/MenuItemLabelDescription.tsx
|
|
13215
|
-
import styled54 from "styled-components";
|
|
13215
|
+
import { styled as styled54 } from "styled-components";
|
|
13216
13216
|
import { jsx as jsx260 } from "react/jsx-runtime";
|
|
13217
13217
|
var StyledMenuItemLabel = styled54.span``;
|
|
13218
13218
|
var StyledMenuItemDescription = styled54(Text)``;
|
|
@@ -13621,7 +13621,7 @@ var ContextMenu = ({
|
|
|
13621
13621
|
|
|
13622
13622
|
// src/components/DataCards/DataCard.tsx
|
|
13623
13623
|
import { useRef as useRef15 } from "react";
|
|
13624
|
-
import styled56,
|
|
13624
|
+
import { styled as styled56, keyframes as keyframes3 } from "styled-components";
|
|
13625
13625
|
import { isNotNil as isNotNil25 } from "@wistia/type-guards";
|
|
13626
13626
|
import { jsx as jsx268, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
13627
13627
|
var StyledDataCard = styled56.div`
|
|
@@ -13820,7 +13820,7 @@ var DataCard = (props) => {
|
|
|
13820
13820
|
DataCard.displayName = "DataCard_UI";
|
|
13821
13821
|
|
|
13822
13822
|
// src/components/DataCards/DataCards.tsx
|
|
13823
|
-
import styled57 from "styled-components";
|
|
13823
|
+
import { styled as styled57 } from "styled-components";
|
|
13824
13824
|
import { jsx as jsx269 } from "react/jsx-runtime";
|
|
13825
13825
|
var StyledDataCards = styled57(Box)`
|
|
13826
13826
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -13855,7 +13855,7 @@ var DataCards = ({
|
|
|
13855
13855
|
DataCards.displayName = "DataCards_UI";
|
|
13856
13856
|
|
|
13857
13857
|
// src/components/DataCards/DataCardTrend.tsx
|
|
13858
|
-
import styled58 from "styled-components";
|
|
13858
|
+
import { styled as styled58 } from "styled-components";
|
|
13859
13859
|
import { jsx as jsx270, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
13860
13860
|
var StyledDataCardTrend = styled58.div`
|
|
13861
13861
|
${({ $outlook }) => getColorScheme($outlook === "positive" ? "success" : "error")};
|
|
@@ -13893,7 +13893,7 @@ var DataCardTrend = ({
|
|
|
13893
13893
|
};
|
|
13894
13894
|
|
|
13895
13895
|
// src/components/DataCards/DataCardHoverArrow.tsx
|
|
13896
|
-
import styled59 from "styled-components";
|
|
13896
|
+
import { styled as styled59 } from "styled-components";
|
|
13897
13897
|
import { jsx as jsx271 } from "react/jsx-runtime";
|
|
13898
13898
|
var StyledIconContainer = styled59.div`
|
|
13899
13899
|
display: flex;
|
|
@@ -13911,7 +13911,7 @@ var DataCardHoverArrow = () => /* @__PURE__ */ jsx271(StyledIconContainer, { chi
|
|
|
13911
13911
|
DataCardHoverArrow.displayName = "DataCardHoverArrow_UI";
|
|
13912
13912
|
|
|
13913
13913
|
// src/components/DataList/DataList.tsx
|
|
13914
|
-
import styled60 from "styled-components";
|
|
13914
|
+
import { styled as styled60 } from "styled-components";
|
|
13915
13915
|
import { jsx as jsx272 } from "react/jsx-runtime";
|
|
13916
13916
|
var StyledDataList = styled60.dl`
|
|
13917
13917
|
display: grid;
|
|
@@ -13992,7 +13992,7 @@ var DataListItemValue = (props) => {
|
|
|
13992
13992
|
DataListItemValue.displayName = "DataListItemValue_UI";
|
|
13993
13993
|
|
|
13994
13994
|
// src/components/Divider/Divider.tsx
|
|
13995
|
-
import styled61,
|
|
13995
|
+
import { styled as styled61, css as css33 } from "styled-components";
|
|
13996
13996
|
import { jsx as jsx275 } from "react/jsx-runtime";
|
|
13997
13997
|
var horizontalBorderCss = css33`
|
|
13998
13998
|
border-top-color: var(--wui-color-border);
|
|
@@ -14033,7 +14033,7 @@ var Divider = ({ orientation = "horizontal", ...props }) => {
|
|
|
14033
14033
|
Divider.displayName = "Divider_UI";
|
|
14034
14034
|
|
|
14035
14035
|
// src/components/EditableHeading/EditableHeading.tsx
|
|
14036
|
-
import styled62,
|
|
14036
|
+
import { styled as styled62, css as css34 } from "styled-components";
|
|
14037
14037
|
import { useState as useState18, useRef as useRef16 } from "react";
|
|
14038
14038
|
import { Fragment as Fragment8, jsx as jsx276, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
14039
14039
|
var StyledInput = styled62(Input)`
|
|
@@ -14170,13 +14170,13 @@ var EditableHeading = ({
|
|
|
14170
14170
|
|
|
14171
14171
|
// src/components/EditableText/EditableTextDisplay.tsx
|
|
14172
14172
|
import { useContext as useContext6, useRef as useRef17, forwardRef as forwardRef21 } from "react";
|
|
14173
|
-
import styled64,
|
|
14173
|
+
import { styled as styled64, css as css35 } from "styled-components";
|
|
14174
14174
|
import { isNotNil as isNotNil26 } from "@wistia/type-guards";
|
|
14175
14175
|
|
|
14176
14176
|
// src/components/EditableText/EditableTextRoot.tsx
|
|
14177
14177
|
import { createContext as createContext7, useMemo as useMemo13, useState as useState19, useCallback as useCallback16, useId as useId4 } from "react";
|
|
14178
14178
|
import { isNonEmptyString as isNonEmptyString6 } from "@wistia/type-guards";
|
|
14179
|
-
import styled63 from "styled-components";
|
|
14179
|
+
import { styled as styled63 } from "styled-components";
|
|
14180
14180
|
import { jsx as jsx277 } from "react/jsx-runtime";
|
|
14181
14181
|
var LARGE_PADDING = "var(--wui-space-02)";
|
|
14182
14182
|
var SMALL_PADDING = "var(--wui-space-01)";
|
|
@@ -14426,7 +14426,7 @@ var EditableTextDisplay = makePolymorphic(
|
|
|
14426
14426
|
|
|
14427
14427
|
// src/components/EditableText/EditableTextInput.tsx
|
|
14428
14428
|
import { useContext as useContext7, useEffect as useEffect17, useRef as useRef18 } from "react";
|
|
14429
|
-
import styled65 from "styled-components";
|
|
14429
|
+
import { styled as styled65 } from "styled-components";
|
|
14430
14430
|
import { isNotNil as isNotNil27 } from "@wistia/type-guards";
|
|
14431
14431
|
import { jsx as jsx279 } from "react/jsx-runtime";
|
|
14432
14432
|
var StyledInput2 = styled65(Input)`
|
|
@@ -14731,7 +14731,7 @@ var FormErrorSummary = ({ description }) => {
|
|
|
14731
14731
|
|
|
14732
14732
|
// src/components/FormField/FormField.tsx
|
|
14733
14733
|
import { Children as Children10, cloneElement as cloneElement8, useContext as useContext13 } from "react";
|
|
14734
|
-
import styled66 from "styled-components";
|
|
14734
|
+
import { styled as styled66 } from "styled-components";
|
|
14735
14735
|
import { isArray as isArray4, isNotNil as isNotNil28, isNotUndefined as isNotUndefined12, isUndefined as isUndefined4 } from "@wistia/type-guards";
|
|
14736
14736
|
import { Fragment as Fragment9, jsx as jsx283, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
14737
14737
|
var StyledFormField = styled66.div`
|
|
@@ -14927,7 +14927,7 @@ RadioGroup.displayName = "RadioGroup_UI";
|
|
|
14927
14927
|
|
|
14928
14928
|
// src/components/Grid/Grid.tsx
|
|
14929
14929
|
import { forwardRef as forwardRef22 } from "react";
|
|
14930
|
-
import styled67,
|
|
14930
|
+
import { styled as styled67, css as css36 } from "styled-components";
|
|
14931
14931
|
import { isRecord as isRecord5 } from "@wistia/type-guards";
|
|
14932
14932
|
import { jsx as jsx285 } from "react/jsx-runtime";
|
|
14933
14933
|
var DEFAULT_ELEMENT5 = "div";
|
|
@@ -15001,7 +15001,7 @@ GridComponent.displayName = "Grid_UI";
|
|
|
15001
15001
|
var Grid = makePolymorphic(GridComponent);
|
|
15002
15002
|
|
|
15003
15003
|
// src/components/InputClickToCopy/InputClickToCopy.tsx
|
|
15004
|
-
import styled68 from "styled-components";
|
|
15004
|
+
import { styled as styled68 } from "styled-components";
|
|
15005
15005
|
import { forwardRef as forwardRef23, useEffect as useEffect18, useState as useState21 } from "react";
|
|
15006
15006
|
import { isFunction as isFunction3 } from "@wistia/type-guards";
|
|
15007
15007
|
import { jsx as jsx286 } from "react/jsx-runtime";
|
|
@@ -15071,7 +15071,7 @@ var InputClickToCopy = forwardRef23(
|
|
|
15071
15071
|
InputClickToCopy.displayName = "InputClickToCopy_UI";
|
|
15072
15072
|
|
|
15073
15073
|
// src/components/InputPassword/InputPassword.tsx
|
|
15074
|
-
import styled69 from "styled-components";
|
|
15074
|
+
import { styled as styled69 } from "styled-components";
|
|
15075
15075
|
import { forwardRef as forwardRef24, useState as useState22 } from "react";
|
|
15076
15076
|
import { isFunction as isFunction4 } from "@wistia/type-guards";
|
|
15077
15077
|
import { jsx as jsx287 } from "react/jsx-runtime";
|
|
@@ -15118,7 +15118,7 @@ var InputPassword = forwardRef24(
|
|
|
15118
15118
|
InputPassword.displayName = "InputPassword_UI";
|
|
15119
15119
|
|
|
15120
15120
|
// src/components/KeyboardShortcut/KeyboardShortcut.tsx
|
|
15121
|
-
import styled70 from "styled-components";
|
|
15121
|
+
import { styled as styled70 } from "styled-components";
|
|
15122
15122
|
import { isNotNil as isNotNil29 } from "@wistia/type-guards";
|
|
15123
15123
|
import { jsx as jsx288, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
15124
15124
|
var StyledKeyboardShortcut = styled70.div`
|
|
@@ -15228,10 +15228,10 @@ KeyboardShortcut.displayName = "KeyboardShortcut_UI";
|
|
|
15228
15228
|
|
|
15229
15229
|
// src/components/List/List.tsx
|
|
15230
15230
|
import { isNotNil as isNotNil30 } from "@wistia/type-guards";
|
|
15231
|
-
import styled72,
|
|
15231
|
+
import { styled as styled72, css as css37 } from "styled-components";
|
|
15232
15232
|
|
|
15233
15233
|
// src/components/List/ListItem.tsx
|
|
15234
|
-
import styled71 from "styled-components";
|
|
15234
|
+
import { styled as styled71 } from "styled-components";
|
|
15235
15235
|
import { isNil as isNil17 } from "@wistia/type-guards";
|
|
15236
15236
|
import { jsx as jsx289 } from "react/jsx-runtime";
|
|
15237
15237
|
var ListItemComponent = styled71.li`
|
|
@@ -15385,7 +15385,7 @@ var List = ({
|
|
|
15385
15385
|
List.displayName = "List_UI";
|
|
15386
15386
|
|
|
15387
15387
|
// src/components/Mark/Mark.tsx
|
|
15388
|
-
import styled73 from "styled-components";
|
|
15388
|
+
import { styled as styled73 } from "styled-components";
|
|
15389
15389
|
import { jsx as jsx291 } from "react/jsx-runtime";
|
|
15390
15390
|
var StyledMark = styled73.mark`
|
|
15391
15391
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -15407,16 +15407,16 @@ Mark.displayName = "Mark_UI";
|
|
|
15407
15407
|
|
|
15408
15408
|
// src/components/Modal/Modal.tsx
|
|
15409
15409
|
import { forwardRef as forwardRef26 } from "react";
|
|
15410
|
-
import styled78 from "styled-components";
|
|
15410
|
+
import { styled as styled78 } from "styled-components";
|
|
15411
15411
|
import { Root as DialogRoot, Portal as DialogPortal } from "@radix-ui/react-dialog";
|
|
15412
15412
|
import { isNotNil as isNotNil32 } from "@wistia/type-guards";
|
|
15413
15413
|
|
|
15414
15414
|
// src/components/Modal/ModalHeader.tsx
|
|
15415
|
-
import styled75 from "styled-components";
|
|
15415
|
+
import { styled as styled75 } from "styled-components";
|
|
15416
15416
|
import { Title as DialogTitle } from "@radix-ui/react-dialog";
|
|
15417
15417
|
|
|
15418
15418
|
// src/components/Modal/ModalCloseButton.tsx
|
|
15419
|
-
import styled74 from "styled-components";
|
|
15419
|
+
import { styled as styled74 } from "styled-components";
|
|
15420
15420
|
import { Close as DialogClose } from "@radix-ui/react-dialog";
|
|
15421
15421
|
import { jsx as jsx292 } from "react/jsx-runtime";
|
|
15422
15422
|
var CloseButton = styled74(DialogClose)`
|
|
@@ -15483,7 +15483,7 @@ var ModalHeader = ({
|
|
|
15483
15483
|
|
|
15484
15484
|
// src/components/Modal/ModalContent.tsx
|
|
15485
15485
|
import { forwardRef as forwardRef25 } from "react";
|
|
15486
|
-
import styled76,
|
|
15486
|
+
import { styled as styled76, css as css38, keyframes as keyframes4 } from "styled-components";
|
|
15487
15487
|
import { Content as DialogContent } from "@radix-ui/react-dialog";
|
|
15488
15488
|
|
|
15489
15489
|
// src/private/hooks/useFocusRestore/useFocusRestore.ts
|
|
@@ -15650,7 +15650,7 @@ var ModalContent = forwardRef25(
|
|
|
15650
15650
|
|
|
15651
15651
|
// src/components/Modal/ModalOverlay.tsx
|
|
15652
15652
|
import { DialogOverlay } from "@radix-ui/react-dialog";
|
|
15653
|
-
import styled77,
|
|
15653
|
+
import { styled as styled77, keyframes as keyframes5 } from "styled-components";
|
|
15654
15654
|
var backdropShow = keyframes5`
|
|
15655
15655
|
from {
|
|
15656
15656
|
opacity: 0;
|
|
@@ -15784,7 +15784,7 @@ ModalCallout.displayName = "ModalCallout_UI";
|
|
|
15784
15784
|
|
|
15785
15785
|
// src/components/Popover/Popover.tsx
|
|
15786
15786
|
import { Root as Root2, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
|
|
15787
|
-
import styled80,
|
|
15787
|
+
import { styled as styled80, css as css40 } from "styled-components";
|
|
15788
15788
|
|
|
15789
15789
|
// src/private/helpers/getControls/getControlProps.tsx
|
|
15790
15790
|
import { isNotNil as isNotNil33 } from "@wistia/type-guards";
|
|
@@ -15794,7 +15794,7 @@ var getControlProps = (isOpen, onOpenChange) => {
|
|
|
15794
15794
|
|
|
15795
15795
|
// src/components/Popover/PopoverArrow.tsx
|
|
15796
15796
|
import { PopoverArrow as RadixPopoverArrow } from "@radix-ui/react-popover";
|
|
15797
|
-
import styled79,
|
|
15797
|
+
import { styled as styled79, css as css39, keyframes as keyframes6 } from "styled-components";
|
|
15798
15798
|
import { jsx as jsx297, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
15799
15799
|
var StyledPath = styled79.path`
|
|
15800
15800
|
fill: var(--wui-color-border-secondary);
|
|
@@ -15943,7 +15943,7 @@ var Popover = ({
|
|
|
15943
15943
|
Popover.displayName = "Popover_UI";
|
|
15944
15944
|
|
|
15945
15945
|
// src/components/ProgressBar/ProgressBar.tsx
|
|
15946
|
-
import styled81 from "styled-components";
|
|
15946
|
+
import { styled as styled81 } from "styled-components";
|
|
15947
15947
|
import { Root as ProgressRoot, Indicator as ProgressIndicator } from "@radix-ui/react-progress";
|
|
15948
15948
|
import { isNotNil as isNotNil34 } from "@wistia/type-guards";
|
|
15949
15949
|
import { jsx as jsx299, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
@@ -16027,7 +16027,7 @@ ProgressBar.displayName = "ProgressBar_UI";
|
|
|
16027
16027
|
// src/components/Radio/Radio.tsx
|
|
16028
16028
|
import { isNonEmptyString as isNonEmptyString7, isNotUndefined as isNotUndefined13 } from "@wistia/type-guards";
|
|
16029
16029
|
import { forwardRef as forwardRef27, useId as useId5 } from "react";
|
|
16030
|
-
import styled82,
|
|
16030
|
+
import { styled as styled82, css as css41 } from "styled-components";
|
|
16031
16031
|
import { jsx as jsx300, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
16032
16032
|
var sizeSmall2 = css41`
|
|
16033
16033
|
--wui-radio-size: 14px;
|
|
@@ -16178,7 +16178,7 @@ import { forwardRef as forwardRef29 } from "react";
|
|
|
16178
16178
|
|
|
16179
16179
|
// src/components/RadioCard/RadioCardRoot.tsx
|
|
16180
16180
|
import { forwardRef as forwardRef28, useId as useId6 } from "react";
|
|
16181
|
-
import styled83,
|
|
16181
|
+
import { styled as styled83, css as css42 } from "styled-components";
|
|
16182
16182
|
import { isNonEmptyString as isNonEmptyString8, isNotUndefined as isNotUndefined14 } from "@wistia/type-guards";
|
|
16183
16183
|
import { jsx as jsx301, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
16184
16184
|
var checkedStyles = css42`
|
|
@@ -16339,11 +16339,11 @@ var RadioCardRoot = forwardRef28(
|
|
|
16339
16339
|
RadioCardRoot.displayName = "RadioCardRoot_UI";
|
|
16340
16340
|
|
|
16341
16341
|
// src/components/RadioCard/RadioCardDefaultLayout.tsx
|
|
16342
|
-
import styled85 from "styled-components";
|
|
16342
|
+
import { styled as styled85 } from "styled-components";
|
|
16343
16343
|
import { isNotNil as isNotNil35 } from "@wistia/type-guards";
|
|
16344
16344
|
|
|
16345
16345
|
// src/components/RadioCard/RadioCardIndicator.tsx
|
|
16346
|
-
import styled84 from "styled-components";
|
|
16346
|
+
import { styled as styled84 } from "styled-components";
|
|
16347
16347
|
var RadioCardIndicator = styled84.div`
|
|
16348
16348
|
--wui-radio-card-indicator-size: 14px;
|
|
16349
16349
|
--wui-radio-card-indicator-background-color: var(--wui-color-bg-surface);
|
|
@@ -16441,7 +16441,7 @@ var RadioCardDefaultLayout = ({
|
|
|
16441
16441
|
RadioCardDefaultLayout.displayName = "RadioCardDefaultLayout_UI";
|
|
16442
16442
|
|
|
16443
16443
|
// src/components/RadioCard/RadioCardChildrenContainer.tsx
|
|
16444
|
-
import styled86 from "styled-components";
|
|
16444
|
+
import { styled as styled86 } from "styled-components";
|
|
16445
16445
|
var RadioCardChildrenContainer = styled86.div`
|
|
16446
16446
|
flex: 1 1 auto;
|
|
16447
16447
|
`;
|
|
@@ -16501,7 +16501,7 @@ RadioCardImage.displayName = "RadioCardImage_UI";
|
|
|
16501
16501
|
|
|
16502
16502
|
// src/components/ScrollArea/ScrollArea.tsx
|
|
16503
16503
|
import { forwardRef as forwardRef31, useCallback as useCallback18, useEffect as useEffect20, useMemo as useMemo15, useRef as useRef21, useState as useState23 } from "react";
|
|
16504
|
-
import styled87 from "styled-components";
|
|
16504
|
+
import { styled as styled87 } from "styled-components";
|
|
16505
16505
|
import { throttle } from "throttle-debounce";
|
|
16506
16506
|
import { jsx as jsx305, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
16507
16507
|
var SHADOW_SIZE_PX = 8;
|
|
@@ -16605,7 +16605,7 @@ ScrollArea.displayName = "ScrollArea_UI";
|
|
|
16605
16605
|
|
|
16606
16606
|
// src/components/SegmentedControl/SegmentedControl.tsx
|
|
16607
16607
|
import { forwardRef as forwardRef32 } from "react";
|
|
16608
|
-
import styled89,
|
|
16608
|
+
import { styled as styled89, css as css44 } from "styled-components";
|
|
16609
16609
|
import { Root as ToggleGroupRoot2 } from "@radix-ui/react-toggle-group";
|
|
16610
16610
|
import { isNil as isNil18 } from "@wistia/type-guards";
|
|
16611
16611
|
|
|
@@ -16643,7 +16643,7 @@ var useSelectedItemStyle = () => {
|
|
|
16643
16643
|
};
|
|
16644
16644
|
|
|
16645
16645
|
// src/components/SegmentedControl/SelectedItemIndicator.tsx
|
|
16646
|
-
import styled88,
|
|
16646
|
+
import { styled as styled88, css as css43 } from "styled-components";
|
|
16647
16647
|
import { isUndefined as isUndefined5 } from "@wistia/type-guards";
|
|
16648
16648
|
|
|
16649
16649
|
// src/components/SegmentedControl/useSegmentedControlValue.tsx
|
|
@@ -16742,7 +16742,7 @@ SegmentedControl.displayName = "SegmentedControl_UI";
|
|
|
16742
16742
|
|
|
16743
16743
|
// src/components/SegmentedControl/SegmentedControlItem.tsx
|
|
16744
16744
|
import { forwardRef as forwardRef33, useEffect as useEffect21, useRef as useRef22 } from "react";
|
|
16745
|
-
import styled90,
|
|
16745
|
+
import { styled as styled90, css as css45 } from "styled-components";
|
|
16746
16746
|
import { Item as ToggleGroupItem2 } from "@radix-ui/react-toggle-group";
|
|
16747
16747
|
import { isNotNil as isNotNil36 } from "@wistia/type-guards";
|
|
16748
16748
|
import { jsxs as jsxs60 } from "react/jsx-runtime";
|
|
@@ -16887,7 +16887,7 @@ import {
|
|
|
16887
16887
|
ScrollDownButton
|
|
16888
16888
|
} from "@radix-ui/react-select";
|
|
16889
16889
|
import { forwardRef as forwardRef34 } from "react";
|
|
16890
|
-
import styled91,
|
|
16890
|
+
import { styled as styled91, css as css46 } from "styled-components";
|
|
16891
16891
|
import { jsx as jsx309, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
16892
16892
|
var StyledTrigger2 = styled91(Trigger3)`
|
|
16893
16893
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -17034,7 +17034,7 @@ Select.displayName = "Select_UI";
|
|
|
17034
17034
|
// src/components/Select/SelectOption.tsx
|
|
17035
17035
|
import { Item, ItemText, ItemIndicator } from "@radix-ui/react-select";
|
|
17036
17036
|
import { forwardRef as forwardRef35 } from "react";
|
|
17037
|
-
import styled92 from "styled-components";
|
|
17037
|
+
import { styled as styled92 } from "styled-components";
|
|
17038
17038
|
import { isNotNil as isNotNil37 } from "@wistia/type-guards";
|
|
17039
17039
|
import { jsx as jsx310, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
17040
17040
|
var StyledItem = styled92(Item)`
|
|
@@ -17092,7 +17092,7 @@ SelectOption.displayName = "SelectOption_UI";
|
|
|
17092
17092
|
|
|
17093
17093
|
// src/components/Select/SelectOptionGroup.tsx
|
|
17094
17094
|
import { Group, Label as Label3 } from "@radix-ui/react-select";
|
|
17095
|
-
import styled93 from "styled-components";
|
|
17095
|
+
import { styled as styled93 } from "styled-components";
|
|
17096
17096
|
import { jsx as jsx311, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
17097
17097
|
var StyledLabel4 = styled93(Label3)`
|
|
17098
17098
|
padding: var(--wui-select-option-padding);
|
|
@@ -17118,7 +17118,7 @@ import {
|
|
|
17118
17118
|
Range as RadixSliderRange,
|
|
17119
17119
|
Thumb as RadixSliderThumb
|
|
17120
17120
|
} from "@radix-ui/react-slider";
|
|
17121
|
-
import styled94 from "styled-components";
|
|
17121
|
+
import { styled as styled94 } from "styled-components";
|
|
17122
17122
|
import { isNonEmptyString as isNonEmptyString9 } from "@wistia/type-guards";
|
|
17123
17123
|
import { jsx as jsx312, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
17124
17124
|
var SliderContainer = styled94.div`
|
|
@@ -17244,7 +17244,7 @@ var Slider = ({
|
|
|
17244
17244
|
Slider.displayName = "Slider_UI";
|
|
17245
17245
|
|
|
17246
17246
|
// src/components/Table/Table.tsx
|
|
17247
|
-
import styled95,
|
|
17247
|
+
import { styled as styled95, css as css47 } from "styled-components";
|
|
17248
17248
|
import { jsx as jsx313 } from "react/jsx-runtime";
|
|
17249
17249
|
var StyledTable = styled95.table`
|
|
17250
17250
|
width: 100%;
|
|
@@ -17289,7 +17289,7 @@ var Table = ({
|
|
|
17289
17289
|
|
|
17290
17290
|
// src/components/Table/TableBody.tsx
|
|
17291
17291
|
import "react";
|
|
17292
|
-
import styled96 from "styled-components";
|
|
17292
|
+
import { styled as styled96 } from "styled-components";
|
|
17293
17293
|
|
|
17294
17294
|
// src/components/Table/TableSectionContext.ts
|
|
17295
17295
|
import { createContext as createContext11 } from "react";
|
|
@@ -17304,7 +17304,7 @@ var TableBody = ({ children, ...props }) => {
|
|
|
17304
17304
|
|
|
17305
17305
|
// src/components/Table/TableCell.tsx
|
|
17306
17306
|
import { useContext as useContext17 } from "react";
|
|
17307
|
-
import styled97,
|
|
17307
|
+
import { styled as styled97, css as css48 } from "styled-components";
|
|
17308
17308
|
import { jsx as jsx315 } from "react/jsx-runtime";
|
|
17309
17309
|
var sharedStyles = css48`
|
|
17310
17310
|
color: var(--wui-color-text);
|
|
@@ -17333,7 +17333,7 @@ var TableCell = ({ children, ...props }) => {
|
|
|
17333
17333
|
|
|
17334
17334
|
// src/components/Table/TableFoot.tsx
|
|
17335
17335
|
import "react";
|
|
17336
|
-
import styled98 from "styled-components";
|
|
17336
|
+
import { styled as styled98 } from "styled-components";
|
|
17337
17337
|
import { jsx as jsx316 } from "react/jsx-runtime";
|
|
17338
17338
|
var StyledTableFoot = styled98.tfoot``;
|
|
17339
17339
|
var TableFoot = ({ children, ...props }) => {
|
|
@@ -17342,7 +17342,7 @@ var TableFoot = ({ children, ...props }) => {
|
|
|
17342
17342
|
|
|
17343
17343
|
// src/components/Table/TableHead.tsx
|
|
17344
17344
|
import "react";
|
|
17345
|
-
import styled99 from "styled-components";
|
|
17345
|
+
import { styled as styled99 } from "styled-components";
|
|
17346
17346
|
import { jsx as jsx317 } from "react/jsx-runtime";
|
|
17347
17347
|
var StyledThead = styled99.thead``;
|
|
17348
17348
|
var TableHead = ({ children, ...props }) => {
|
|
@@ -17350,7 +17350,7 @@ var TableHead = ({ children, ...props }) => {
|
|
|
17350
17350
|
};
|
|
17351
17351
|
|
|
17352
17352
|
// src/components/Table/TableRow.tsx
|
|
17353
|
-
import styled100 from "styled-components";
|
|
17353
|
+
import { styled as styled100 } from "styled-components";
|
|
17354
17354
|
import { jsx as jsx318 } from "react/jsx-runtime";
|
|
17355
17355
|
var StyledTableRow = styled100.tr``;
|
|
17356
17356
|
var TableRow = ({ children, ...props }) => {
|
|
@@ -17417,13 +17417,13 @@ TabsContent.displayName = "TabsContent_UI";
|
|
|
17417
17417
|
|
|
17418
17418
|
// src/components/Tabs/TabsList.tsx
|
|
17419
17419
|
import { List as RadixTabList } from "@radix-ui/react-tabs";
|
|
17420
|
-
import styled102 from "styled-components";
|
|
17420
|
+
import { styled as styled102 } from "styled-components";
|
|
17421
17421
|
|
|
17422
17422
|
// src/components/Tabs/SelectedTabIndicator.tsx
|
|
17423
17423
|
import { isUndefined as isUndefined6 } from "@wistia/type-guards";
|
|
17424
17424
|
|
|
17425
17425
|
// src/components/Tabs/TabsSelectedItemIndicatorDiv.tsx
|
|
17426
|
-
import styled101 from "styled-components";
|
|
17426
|
+
import { styled as styled101 } from "styled-components";
|
|
17427
17427
|
var TabsSelectedItemIndicatorDiv = styled101(SelectedItemIndicatorDiv)`
|
|
17428
17428
|
&:has(~ button[role='tab']:focus-visible) {
|
|
17429
17429
|
outline: 2px solid var(--wui-color-focus-ring);
|
|
@@ -17472,7 +17472,7 @@ import { forwardRef as forwardRef36, useEffect as useEffect22, useRef as useRef2
|
|
|
17472
17472
|
import { isNotNil as isNotNil39 } from "@wistia/type-guards";
|
|
17473
17473
|
|
|
17474
17474
|
// src/components/Tabs/StyledRadixTabsTrigger.tsx
|
|
17475
|
-
import styled103 from "styled-components";
|
|
17475
|
+
import { styled as styled103 } from "styled-components";
|
|
17476
17476
|
import { Trigger as RadixTabsTrigger } from "@radix-ui/react-tabs";
|
|
17477
17477
|
var StyledRadixTabsTrigger = styled103(RadixTabsTrigger)`
|
|
17478
17478
|
${segmentedControlItemStyles}
|
|
@@ -17535,7 +17535,7 @@ var TabsTrigger = forwardRef36(
|
|
|
17535
17535
|
TabsTrigger.displayName = "TabsTrigger_UI";
|
|
17536
17536
|
|
|
17537
17537
|
// src/components/Thumbnail/ThumbnailBadge.tsx
|
|
17538
|
-
import styled104 from "styled-components";
|
|
17538
|
+
import { styled as styled104 } from "styled-components";
|
|
17539
17539
|
import { isNotNil as isNotNil40 } from "@wistia/type-guards";
|
|
17540
17540
|
import { jsx as jsx323, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
17541
17541
|
var StyledThumbnailBadge = styled104.div`
|
|
@@ -17573,7 +17573,7 @@ ThumbnailBadge.displayName = "ThumbnailBadge_UI";
|
|
|
17573
17573
|
|
|
17574
17574
|
// src/components/Thumbnail/Thumbnail.tsx
|
|
17575
17575
|
import { forwardRef as forwardRef37, useState as useState26, useRef as useRef24, useCallback as useCallback20, useMemo as useMemo17 } from "react";
|
|
17576
|
-
import styled106 from "styled-components";
|
|
17576
|
+
import { styled as styled106 } from "styled-components";
|
|
17577
17577
|
import { isNil as isNil19, isNotNil as isNotNil43, isUndefined as isUndefined7, isEmptyString as isEmptyString2, isString as isString4 } from "@wistia/type-guards";
|
|
17578
17578
|
|
|
17579
17579
|
// src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
|
|
@@ -17709,7 +17709,7 @@ var getBackgroundGradient = (gradientName = void 0) => {
|
|
|
17709
17709
|
};
|
|
17710
17710
|
|
|
17711
17711
|
// src/components/Thumbnail/ThumbnailStoryboardViewer.tsx
|
|
17712
|
-
import styled105 from "styled-components";
|
|
17712
|
+
import { styled as styled105 } from "styled-components";
|
|
17713
17713
|
import { isNotNil as isNotNil42 } from "@wistia/type-guards";
|
|
17714
17714
|
import { jsx as jsx324, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
17715
17715
|
var ScrubLine = styled105.div`
|
|
@@ -17845,6 +17845,14 @@ var ThumbnailStoryboardViewer = ({
|
|
|
17845
17845
|
|
|
17846
17846
|
// src/components/Thumbnail/Thumbnail.tsx
|
|
17847
17847
|
import { jsx as jsx325, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
17848
|
+
var WIDE_ASPECT_RATIO = 16 / 9;
|
|
17849
|
+
var SQUARE_ASPECT_RATIO = 1;
|
|
17850
|
+
var getAspectRatioValue = (aspectRatio) => {
|
|
17851
|
+
if (aspectRatio === "square") {
|
|
17852
|
+
return SQUARE_ASPECT_RATIO;
|
|
17853
|
+
}
|
|
17854
|
+
return WIDE_ASPECT_RATIO;
|
|
17855
|
+
};
|
|
17848
17856
|
var WideThumbnailImage = styled106.img`
|
|
17849
17857
|
height: 100%;
|
|
17850
17858
|
object-fit: cover;
|
|
@@ -17883,7 +17891,7 @@ var StyledThumbnail = styled106.div`
|
|
|
17883
17891
|
)};
|
|
17884
17892
|
background-position: center center;
|
|
17885
17893
|
background-size: cover;
|
|
17886
|
-
aspect-ratio:
|
|
17894
|
+
aspect-ratio: ${({ $aspectRatio }) => $aspectRatio};
|
|
17887
17895
|
display: flex;
|
|
17888
17896
|
overflow: hidden;
|
|
17889
17897
|
position: relative;
|
|
@@ -17892,7 +17900,10 @@ var StyledThumbnail = styled106.div`
|
|
|
17892
17900
|
|
|
17893
17901
|
&,
|
|
17894
17902
|
img {
|
|
17895
|
-
border-radius:
|
|
17903
|
+
border-radius: ${({ $aspectRatio }) => {
|
|
17904
|
+
const heightPercentage = 8 / $aspectRatio;
|
|
17905
|
+
return `calc(8% * (1 / ${$aspectRatio})) / ${heightPercentage}%`;
|
|
17906
|
+
}};
|
|
17896
17907
|
}
|
|
17897
17908
|
`;
|
|
17898
17909
|
var StoryboardRenderer = ({
|
|
@@ -17900,17 +17911,10 @@ var StoryboardRenderer = ({
|
|
|
17900
17911
|
width,
|
|
17901
17912
|
percent,
|
|
17902
17913
|
cursorPosition,
|
|
17903
|
-
isStoryboardReady
|
|
17914
|
+
isStoryboardReady,
|
|
17915
|
+
aspectRatio
|
|
17904
17916
|
}) => {
|
|
17905
|
-
const {
|
|
17906
|
-
url,
|
|
17907
|
-
width: sbWidth,
|
|
17908
|
-
height: sbHeight,
|
|
17909
|
-
frameHeight,
|
|
17910
|
-
frameWidth,
|
|
17911
|
-
frameCount,
|
|
17912
|
-
aspectRatio
|
|
17913
|
-
} = storyboard;
|
|
17917
|
+
const { url, width: sbWidth, height: sbHeight, frameHeight, frameWidth, frameCount } = storyboard;
|
|
17914
17918
|
const targetWidth = isString4(width) ? parseInt(width, 10) : Number(width);
|
|
17915
17919
|
const effectiveCursorPosition = isStoryboardReady ? cursorPosition : null;
|
|
17916
17920
|
return /* @__PURE__ */ jsx325(
|
|
@@ -17924,7 +17928,7 @@ var StoryboardRenderer = ({
|
|
|
17924
17928
|
storyboardHeight: sbHeight,
|
|
17925
17929
|
storyboardUrl: url,
|
|
17926
17930
|
storyboardWidth: sbWidth,
|
|
17927
|
-
targetAspectRatio: aspectRatio,
|
|
17931
|
+
targetAspectRatio: getAspectRatioValue(aspectRatio),
|
|
17928
17932
|
targetWidth
|
|
17929
17933
|
}
|
|
17930
17934
|
);
|
|
@@ -17947,6 +17951,7 @@ var Thumbnail = forwardRef37(
|
|
|
17947
17951
|
children,
|
|
17948
17952
|
storyboard,
|
|
17949
17953
|
height,
|
|
17954
|
+
aspectRatio = "wide",
|
|
17950
17955
|
...props
|
|
17951
17956
|
}, ref) => {
|
|
17952
17957
|
const [percent, setPercent] = useState26(0);
|
|
@@ -17998,6 +18003,7 @@ var Thumbnail = forwardRef37(
|
|
|
17998
18003
|
thumbnailContent = /* @__PURE__ */ jsx325(
|
|
17999
18004
|
StoryboardRenderer,
|
|
18000
18005
|
{
|
|
18006
|
+
aspectRatio,
|
|
18001
18007
|
cursorPosition,
|
|
18002
18008
|
isStoryboardReady,
|
|
18003
18009
|
percent,
|
|
@@ -18021,6 +18027,7 @@ var Thumbnail = forwardRef37(
|
|
|
18021
18027
|
{
|
|
18022
18028
|
ref,
|
|
18023
18029
|
...props,
|
|
18030
|
+
$aspectRatio: getAspectRatioValue(aspectRatio),
|
|
18024
18031
|
$backgroundUrl: backgroundUrl,
|
|
18025
18032
|
$gradientBackground: gradientBackground,
|
|
18026
18033
|
$isScrubbable: isScrubbable,
|
|
@@ -18041,7 +18048,7 @@ Thumbnail.displayName = "Thumbnail_UI";
|
|
|
18041
18048
|
|
|
18042
18049
|
// src/components/ThumbnailCollage/ThumbnailCollage.tsx
|
|
18043
18050
|
import React5 from "react";
|
|
18044
|
-
import styled107 from "styled-components";
|
|
18051
|
+
import { styled as styled107 } from "styled-components";
|
|
18045
18052
|
import { isNonEmptyArray } from "@wistia/type-guards";
|
|
18046
18053
|
import { jsx as jsx326 } from "react/jsx-runtime";
|
|
18047
18054
|
var StyledThumbnailCollage = styled107.div`
|
|
@@ -18147,7 +18154,7 @@ var ThumbnailCollage = ({
|
|
|
18147
18154
|
};
|
|
18148
18155
|
|
|
18149
18156
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
18150
|
-
import styled108,
|
|
18157
|
+
import { styled as styled108, css as css50 } from "styled-components";
|
|
18151
18158
|
import { isNotNil as isNotNil44 } from "@wistia/type-guards";
|
|
18152
18159
|
import { jsx as jsx327, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
18153
18160
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|
|
@@ -18272,7 +18279,7 @@ var WistiaLogo = ({
|
|
|
18272
18279
|
WistiaLogo.displayName = "WistiaLogo_UI";
|
|
18273
18280
|
|
|
18274
18281
|
// src/components/SplitButton/SplitButton.tsx
|
|
18275
|
-
import styled109 from "styled-components";
|
|
18282
|
+
import { styled as styled109 } from "styled-components";
|
|
18276
18283
|
import { isNotNil as isNotNil45 } from "@wistia/type-guards";
|
|
18277
18284
|
import { cloneElement as cloneElement9 } from "react";
|
|
18278
18285
|
import { jsx as jsx328, jsxs as jsxs71 } from "react/jsx-runtime";
|