@wistia/ui 0.15.10-beta.11712723.03b370a → 0.15.10
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 +302 -302
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +61 -61
- package/dist/index.d.ts +61 -61
- package/dist/index.mjs +110 -110
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -4
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.15.10
|
|
3
|
+
* @license @wistia/ui v0.15.10
|
|
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
|
|
3061
|
+
import 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
|
|
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
|
|
3270
|
+
import 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
|
|
3274
|
+
import 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
|
|
3480
|
+
import 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";
|
|
@@ -7548,7 +7548,7 @@ Icon.displayName = "Icon_UI";
|
|
|
7548
7548
|
|
|
7549
7549
|
// src/components/Link/Link.tsx
|
|
7550
7550
|
import { forwardRef } from "react";
|
|
7551
|
-
import
|
|
7551
|
+
import styled4 from "styled-components";
|
|
7552
7552
|
import { Link as RouterLink, useInRouterContext } from "react-router";
|
|
7553
7553
|
import { isFunction as isFunction2, isNil as isNil6, isNotNil as isNotNil5, isNotUndefined as isNotUndefined3, isUndefined as isUndefined2 } from "@wistia/type-guards";
|
|
7554
7554
|
import { jsx as jsx198, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
@@ -7981,7 +7981,7 @@ ActionButton.displayName = "ActionButton_UI";
|
|
|
7981
7981
|
// src/components/Avatar/Avatar.tsx
|
|
7982
7982
|
import { useState as useState9, useMemo as useMemo4, useEffect as useEffect7 } from "react";
|
|
7983
7983
|
import { isNil as isNil8, isNotNil as isNotNil8 } from "@wistia/type-guards";
|
|
7984
|
-
import
|
|
7984
|
+
import styled9 from "styled-components";
|
|
7985
7985
|
|
|
7986
7986
|
// src/components/Avatar/formatNameForDisplay.tsx
|
|
7987
7987
|
import { isNil as isNil7, isString, isEmptyString } from "@wistia/type-guards";
|
|
@@ -7998,7 +7998,7 @@ var formatNameForDisplay = (name) => {
|
|
|
7998
7998
|
};
|
|
7999
7999
|
|
|
8000
8000
|
// src/components/Image/Image.tsx
|
|
8001
|
-
import
|
|
8001
|
+
import styled7 from "styled-components";
|
|
8002
8002
|
import { isNotNil as isNotNil7 } from "@wistia/type-guards";
|
|
8003
8003
|
import { jsx as jsx201 } from "react/jsx-runtime";
|
|
8004
8004
|
var getFillStyle = (fillContainer) => {
|
|
@@ -8051,7 +8051,7 @@ var Image = ({
|
|
|
8051
8051
|
Image.displayName = "Image_UI";
|
|
8052
8052
|
|
|
8053
8053
|
// src/components/ColorSchemeWrapper/ColorSchemeWrapper.tsx
|
|
8054
|
-
import
|
|
8054
|
+
import styled8 from "styled-components";
|
|
8055
8055
|
import { jsx as jsx202 } from "react/jsx-runtime";
|
|
8056
8056
|
var defaultColorSchemeOptions = ["default", "inherit"];
|
|
8057
8057
|
var semanticColorSchemeOptions = ["error", "info", "success", "warning"];
|
|
@@ -8233,7 +8233,7 @@ Avatar.displayName = "Avatar_UI";
|
|
|
8233
8233
|
|
|
8234
8234
|
// src/components/Badge/Badge.tsx
|
|
8235
8235
|
import { forwardRef as forwardRef4 } from "react";
|
|
8236
|
-
import
|
|
8236
|
+
import styled10 from "styled-components";
|
|
8237
8237
|
import { isNotNil as isNotNil9 } from "@wistia/type-guards";
|
|
8238
8238
|
import { jsx as jsx204, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
8239
8239
|
var StyledBadge = styled10.div`
|
|
@@ -8285,12 +8285,12 @@ Badge.displayName = "Badge_UI";
|
|
|
8285
8285
|
|
|
8286
8286
|
// src/components/Banner/Banner.tsx
|
|
8287
8287
|
import { useEffect as useEffect8, useState as useState10, useMemo as useMemo5 } from "react";
|
|
8288
|
-
import
|
|
8288
|
+
import styled16 from "styled-components";
|
|
8289
8289
|
import { isNil as isNil10, isNotNil as isNotNil13 } from "@wistia/type-guards";
|
|
8290
8290
|
|
|
8291
8291
|
// src/components/Box/Box.tsx
|
|
8292
8292
|
import { forwardRef as forwardRef5 } from "react";
|
|
8293
|
-
import
|
|
8293
|
+
import styled11, { css as css20 } from "styled-components";
|
|
8294
8294
|
import { isNotNil as isNotNil10, isRecord as isRecord3, isNotUndefined as isNotUndefined5 } from "@wistia/type-guards";
|
|
8295
8295
|
|
|
8296
8296
|
// src/private/helpers/makePolymorphic/makePolymorphic.tsx
|
|
@@ -8487,7 +8487,7 @@ var Box = makePolymorphic(BoxComponent);
|
|
|
8487
8487
|
|
|
8488
8488
|
// src/components/Heading/Heading.tsx
|
|
8489
8489
|
import { forwardRef as forwardRef6 } from "react";
|
|
8490
|
-
import
|
|
8490
|
+
import styled12, { css as css21 } from "styled-components";
|
|
8491
8491
|
import { isNotNil as isNotNil11 } from "@wistia/type-guards";
|
|
8492
8492
|
import { jsx as jsx206 } from "react/jsx-runtime";
|
|
8493
8493
|
var heroStyle = css21`
|
|
@@ -8628,7 +8628,7 @@ var Heading = makePolymorphic(HeadingComponent);
|
|
|
8628
8628
|
|
|
8629
8629
|
// src/components/Text/Text.tsx
|
|
8630
8630
|
import { forwardRef as forwardRef7 } from "react";
|
|
8631
|
-
import
|
|
8631
|
+
import styled13, { css as css22 } from "styled-components";
|
|
8632
8632
|
import { isNotNil as isNotNil12 } from "@wistia/type-guards";
|
|
8633
8633
|
import { jsx as jsx207 } from "react/jsx-runtime";
|
|
8634
8634
|
var sharedBodyStyle = css22`
|
|
@@ -8846,7 +8846,7 @@ TextComponent.displayName = "Text_UI";
|
|
|
8846
8846
|
var Text = makePolymorphic(TextComponent);
|
|
8847
8847
|
|
|
8848
8848
|
// src/components/ButtonGroup/ButtonGroup.tsx
|
|
8849
|
-
import
|
|
8849
|
+
import styled14, { css as css23 } from "styled-components";
|
|
8850
8850
|
import { isNil as isNil9 } from "@wistia/type-guards";
|
|
8851
8851
|
import { jsx as jsx208 } from "react/jsx-runtime";
|
|
8852
8852
|
var getAlignment = (align) => {
|
|
@@ -8926,7 +8926,7 @@ ButtonGroup.displayName = "ButtonGroup_UI";
|
|
|
8926
8926
|
|
|
8927
8927
|
// src/components/IconButton/IconButton.tsx
|
|
8928
8928
|
import { Children, cloneElement as cloneElement2, forwardRef as forwardRef8 } from "react";
|
|
8929
|
-
import
|
|
8929
|
+
import styled15 from "styled-components";
|
|
8930
8930
|
import { jsx as jsx209 } from "react/jsx-runtime";
|
|
8931
8931
|
var StyledButton2 = styled15(Button)`
|
|
8932
8932
|
--icon-button-size-sm: 24px;
|
|
@@ -9127,7 +9127,7 @@ Banner.displayName = "Banner_UI";
|
|
|
9127
9127
|
|
|
9128
9128
|
// src/components/Breadcrumbs/Breadcrumbs.tsx
|
|
9129
9129
|
import { Children as Children2 } from "react";
|
|
9130
|
-
import
|
|
9130
|
+
import styled17 from "styled-components";
|
|
9131
9131
|
import { Fragment as Fragment4, jsx as jsx211, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
9132
9132
|
var StyledBreadcrumbs = styled17.nav`
|
|
9133
9133
|
display: flex;
|
|
@@ -9174,7 +9174,7 @@ var Breadcrumbs = ({ children, ...props }) => {
|
|
|
9174
9174
|
Breadcrumbs.displayName = "Breadcrumbs_UI";
|
|
9175
9175
|
|
|
9176
9176
|
// src/components/Breadcrumbs/Breadcrumb.tsx
|
|
9177
|
-
import
|
|
9177
|
+
import styled18 from "styled-components";
|
|
9178
9178
|
import { Fragment as Fragment5, jsx as jsx212, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
9179
9179
|
var BreadcrumbContent = styled18.span`
|
|
9180
9180
|
overflow: hidden;
|
|
@@ -9208,7 +9208,7 @@ var Breadcrumb = ({ icon, href, children, ...props }) => {
|
|
|
9208
9208
|
};
|
|
9209
9209
|
|
|
9210
9210
|
// src/components/Card/Card.tsx
|
|
9211
|
-
import
|
|
9211
|
+
import styled19 from "styled-components";
|
|
9212
9212
|
import { jsx as jsx213 } from "react/jsx-runtime";
|
|
9213
9213
|
var StyledCard = styled19(Box)`
|
|
9214
9214
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -9268,7 +9268,7 @@ Card.displayName = "Card_UI";
|
|
|
9268
9268
|
|
|
9269
9269
|
// src/components/Center/Center.tsx
|
|
9270
9270
|
import { forwardRef as forwardRef9 } from "react";
|
|
9271
|
-
import
|
|
9271
|
+
import styled20 from "styled-components";
|
|
9272
9272
|
import { jsx as jsx214 } from "react/jsx-runtime";
|
|
9273
9273
|
var StyledCenter = styled20.div`
|
|
9274
9274
|
box-sizing: border-box;
|
|
@@ -9300,14 +9300,14 @@ Center.displayName = "Center_UI";
|
|
|
9300
9300
|
// src/components/Checkbox/Checkbox.tsx
|
|
9301
9301
|
import { isNonEmptyString as isNonEmptyString3, isNotUndefined as isNotUndefined7 } from "@wistia/type-guards";
|
|
9302
9302
|
import { forwardRef as forwardRef12, useId as useId2 } from "react";
|
|
9303
|
-
import
|
|
9303
|
+
import styled27, { css as css26 } from "styled-components";
|
|
9304
9304
|
|
|
9305
9305
|
// src/private/components/FormControlLabel/FormControlLabel.tsx
|
|
9306
9306
|
import { isNil as isNil12, isNotNil as isNotNil15 } from "@wistia/type-guards";
|
|
9307
|
-
import
|
|
9307
|
+
import styled23, { css as css25 } from "styled-components";
|
|
9308
9308
|
|
|
9309
9309
|
// src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
|
|
9310
|
-
import
|
|
9310
|
+
import styled21 from "styled-components";
|
|
9311
9311
|
import { isNotNil as isNotNil14 } from "@wistia/type-guards";
|
|
9312
9312
|
import { jsx as jsx215 } from "react/jsx-runtime";
|
|
9313
9313
|
var VisuallyHidden = styled21.div({ ...visuallyHiddenStyle });
|
|
@@ -9329,7 +9329,7 @@ var ScreenReaderOnly = ({
|
|
|
9329
9329
|
ScreenReaderOnly.displayName = "ScreenReaderOnly_UI";
|
|
9330
9330
|
|
|
9331
9331
|
// src/private/components/FormControlLabel/FormControlLabelDescription.tsx
|
|
9332
|
-
import
|
|
9332
|
+
import styled22, { css as css24 } from "styled-components";
|
|
9333
9333
|
import { isNil as isNil11 } from "@wistia/type-guards";
|
|
9334
9334
|
import { jsx as jsx216 } from "react/jsx-runtime";
|
|
9335
9335
|
var disabledStyle = css24`
|
|
@@ -9426,13 +9426,13 @@ import { createContext as createContext4, useMemo as useMemo7, useContext as use
|
|
|
9426
9426
|
import { isArray } from "@wistia/type-guards";
|
|
9427
9427
|
|
|
9428
9428
|
// src/components/FormGroup/FormGroup.tsx
|
|
9429
|
-
import
|
|
9429
|
+
import styled25 from "styled-components";
|
|
9430
9430
|
import { useRef as useRef7 } from "react";
|
|
9431
9431
|
import { isNonEmptyString as isNonEmptyString2, isNotNil as isNotNil16 } from "@wistia/type-guards";
|
|
9432
9432
|
|
|
9433
9433
|
// src/components/Stack/Stack.tsx
|
|
9434
9434
|
import { forwardRef as forwardRef10 } from "react";
|
|
9435
|
-
import
|
|
9435
|
+
import styled24 from "styled-components";
|
|
9436
9436
|
import { jsx as jsx218 } from "react/jsx-runtime";
|
|
9437
9437
|
var DEFAULT_ELEMENT4 = "div";
|
|
9438
9438
|
var StyledStack = styled24.div`
|
|
@@ -9521,7 +9521,7 @@ FormGroup.displayName = "FormGroup_UI";
|
|
|
9521
9521
|
|
|
9522
9522
|
// src/components/Form/Form.tsx
|
|
9523
9523
|
import { forwardRef as forwardRef11, useRef as useRef8, useMemo as useMemo6, createContext as createContext3, useState as useState11, useId } from "react";
|
|
9524
|
-
import
|
|
9524
|
+
import styled26 from "styled-components";
|
|
9525
9525
|
import { isNotUndefined as isNotUndefined6, isUndefined as isUndefined3 } from "@wistia/type-guards";
|
|
9526
9526
|
|
|
9527
9527
|
// src/components/Form/serializeFormData.tsx
|
|
@@ -9887,7 +9887,7 @@ ClickRegion.displayName = "ClickRegion_UI";
|
|
|
9887
9887
|
// src/components/Collapsible/Collapsible.tsx
|
|
9888
9888
|
import { Root as CollapsibleRoot } from "@radix-ui/react-collapsible";
|
|
9889
9889
|
import { isNotNil as isNotNil17 } from "@wistia/type-guards";
|
|
9890
|
-
import
|
|
9890
|
+
import styled28 from "styled-components";
|
|
9891
9891
|
import { jsx as jsx223 } from "react/jsx-runtime";
|
|
9892
9892
|
var StyledRoot = styled28(CollapsibleRoot)`
|
|
9893
9893
|
&[data-state='closed'] [data-wui-collapsible-content] {
|
|
@@ -9912,7 +9912,7 @@ Collapsible.displayName = "Collapsible_UI";
|
|
|
9912
9912
|
// src/components/Collapsible/CollapsibleTrigger.tsx
|
|
9913
9913
|
import { Children as Children4 } from "react";
|
|
9914
9914
|
import { Trigger } from "@radix-ui/react-collapsible";
|
|
9915
|
-
import
|
|
9915
|
+
import styled29 from "styled-components";
|
|
9916
9916
|
import { jsx as jsx224 } from "react/jsx-runtime";
|
|
9917
9917
|
var StyledTrigger = styled29(Trigger)`
|
|
9918
9918
|
[data-wui-collapsible-icon] {
|
|
@@ -9963,7 +9963,7 @@ var CollapsibleTriggerIcon = ({ type, ...props }) => {
|
|
|
9963
9963
|
CollapsibleTriggerIcon.displayName = "CollapsibleTriggerIcon_UI";
|
|
9964
9964
|
|
|
9965
9965
|
// src/components/Collapsible/CollapsibleContent.tsx
|
|
9966
|
-
import
|
|
9966
|
+
import styled30 from "styled-components";
|
|
9967
9967
|
import { Content } from "@radix-ui/react-collapsible";
|
|
9968
9968
|
import { isNotUndefined as isNotUndefined8 } from "@wistia/type-guards";
|
|
9969
9969
|
import { Fragment as Fragment6, jsx as jsx226, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
@@ -9989,7 +9989,7 @@ var CollapsibleContent = ({ clamp, children }) => {
|
|
|
9989
9989
|
|
|
9990
9990
|
// src/components/ColorPicker/ColorGrid.tsx
|
|
9991
9991
|
import { useCallback as useCallback10 } from "react";
|
|
9992
|
-
import
|
|
9992
|
+
import styled32 from "styled-components";
|
|
9993
9993
|
import { Root as RadioGroupRoot } from "@radix-ui/react-radio-group";
|
|
9994
9994
|
|
|
9995
9995
|
// src/components/ColorPicker/ColorPickerContext.tsx
|
|
@@ -10534,7 +10534,7 @@ var useColorPickerState = () => {
|
|
|
10534
10534
|
};
|
|
10535
10535
|
|
|
10536
10536
|
// src/components/Label/Label.tsx
|
|
10537
|
-
import
|
|
10537
|
+
import styled31, { css as css27 } from "styled-components";
|
|
10538
10538
|
import { jsx as jsx228 } from "react/jsx-runtime";
|
|
10539
10539
|
var requiredStyle = css27`
|
|
10540
10540
|
&::after {
|
|
@@ -10635,12 +10635,12 @@ var ColorGrid = ({ children, label }) => {
|
|
|
10635
10635
|
ColorGrid.displayName = "ColorGrid_UI";
|
|
10636
10636
|
|
|
10637
10637
|
// src/components/ColorPicker/ColorGridOption.tsx
|
|
10638
|
-
import
|
|
10638
|
+
import styled35 from "styled-components";
|
|
10639
10639
|
import { Item as RadioGroupItem } from "@radix-ui/react-radio-group";
|
|
10640
10640
|
import { formatHex as formatHex3 } from "culori/fn";
|
|
10641
10641
|
|
|
10642
10642
|
// src/components/ColorPicker/ColorSwatch.tsx
|
|
10643
|
-
import
|
|
10643
|
+
import styled33 from "styled-components";
|
|
10644
10644
|
import { jsx as jsx230, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
10645
10645
|
var ColorSwatchDiv = styled33.div`
|
|
10646
10646
|
aspect-ratio: 1;
|
|
@@ -10704,7 +10704,7 @@ import {
|
|
|
10704
10704
|
Portal as TooltipPortal,
|
|
10705
10705
|
Arrow as TooltipArrow
|
|
10706
10706
|
} from "@radix-ui/react-tooltip";
|
|
10707
|
-
import
|
|
10707
|
+
import styled34, { keyframes } from "styled-components";
|
|
10708
10708
|
import { jsx as jsx231, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
10709
10709
|
var hide = keyframes`
|
|
10710
10710
|
from {
|
|
@@ -10899,7 +10899,7 @@ ColorGridOption.displayName = "ColorGridOption_UI";
|
|
|
10899
10899
|
|
|
10900
10900
|
// src/components/ColorPicker/ColorList.tsx
|
|
10901
10901
|
import { useCallback as useCallback11 } from "react";
|
|
10902
|
-
import
|
|
10902
|
+
import styled36 from "styled-components";
|
|
10903
10903
|
import { Root as ToggleGroupRoot } from "@radix-ui/react-toggle-group";
|
|
10904
10904
|
import { jsx as jsx233 } from "react/jsx-runtime";
|
|
10905
10905
|
var Container3 = styled36(ToggleGroupRoot)`
|
|
@@ -10931,7 +10931,7 @@ var ColorList = ({ children }) => {
|
|
|
10931
10931
|
ColorList.displayName = "ColorList_UI";
|
|
10932
10932
|
|
|
10933
10933
|
// src/components/ColorPicker/ColorListGroup.tsx
|
|
10934
|
-
import
|
|
10934
|
+
import styled37 from "styled-components";
|
|
10935
10935
|
import { jsx as jsx234, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
10936
10936
|
var Container4 = styled37.div`
|
|
10937
10937
|
display: grid;
|
|
@@ -10961,7 +10961,7 @@ var ColorListGroup = ({ label, children }) => {
|
|
|
10961
10961
|
ColorListGroup.displayName = "ColorListGroup_UI";
|
|
10962
10962
|
|
|
10963
10963
|
// src/components/ColorPicker/ColorListOption.tsx
|
|
10964
|
-
import
|
|
10964
|
+
import styled38 from "styled-components";
|
|
10965
10965
|
import { Item as ToggleGroupItem } from "@radix-ui/react-toggle-group";
|
|
10966
10966
|
import { formatHex as formatHex4 } from "culori/fn";
|
|
10967
10967
|
|
|
@@ -11085,7 +11085,7 @@ ColorPicker.displayName = "ColorPicker_UI";
|
|
|
11085
11085
|
|
|
11086
11086
|
// src/components/ColorPicker/ColorPickerPopoverContent.tsx
|
|
11087
11087
|
import { Content as PopoverContent, Portal as PopoverPortal } from "@radix-ui/react-popover";
|
|
11088
|
-
import
|
|
11088
|
+
import styled39 from "styled-components";
|
|
11089
11089
|
import { jsx as jsx238 } from "react/jsx-runtime";
|
|
11090
11090
|
var StyledPopoverContent = styled39(PopoverContent)`
|
|
11091
11091
|
background-color: var(--wui-color-bg-surface);
|
|
@@ -11114,7 +11114,7 @@ var ColorPickerPopoverContent = ({
|
|
|
11114
11114
|
ColorPickerPopoverContent.displayName = "ColorPickerPopoverContent_UI";
|
|
11115
11115
|
|
|
11116
11116
|
// src/components/ColorPicker/ColorPickerSection.tsx
|
|
11117
|
-
import
|
|
11117
|
+
import styled40 from "styled-components";
|
|
11118
11118
|
import { jsx as jsx239 } from "react/jsx-runtime";
|
|
11119
11119
|
var Container6 = styled40.div`
|
|
11120
11120
|
padding: var(--wui-space-02);
|
|
@@ -11127,7 +11127,7 @@ ColorPickerSection.displayName = "ColorPickerSection_UI";
|
|
|
11127
11127
|
// src/components/ColorPicker/ColorPickerTrigger.tsx
|
|
11128
11128
|
import { forwardRef as forwardRef13 } from "react";
|
|
11129
11129
|
import { Trigger as PopoverTrigger } from "@radix-ui/react-popover";
|
|
11130
|
-
import
|
|
11130
|
+
import styled41 from "styled-components";
|
|
11131
11131
|
|
|
11132
11132
|
// src/components/ColorPicker/ValueSwatch.tsx
|
|
11133
11133
|
import { jsx as jsx240 } from "react/jsx-runtime";
|
|
@@ -11194,7 +11194,7 @@ var ColorPickerTrigger = forwardRef13(
|
|
|
11194
11194
|
ColorPickerTrigger.displayName = "ColorPickerTrigger_UI";
|
|
11195
11195
|
|
|
11196
11196
|
// src/components/ColorPicker/ContrastIndicator.tsx
|
|
11197
|
-
import
|
|
11197
|
+
import styled42 from "styled-components";
|
|
11198
11198
|
import { jsx as jsx243, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
11199
11199
|
var Container7 = styled42.div`
|
|
11200
11200
|
display: flex;
|
|
@@ -11254,7 +11254,7 @@ import { useCallback as useCallback12 } from "react";
|
|
|
11254
11254
|
|
|
11255
11255
|
// src/components/Switch/Switch.tsx
|
|
11256
11256
|
import { forwardRef as forwardRef14, useId as useId3 } from "react";
|
|
11257
|
-
import
|
|
11257
|
+
import styled43, { css as css28 } from "styled-components";
|
|
11258
11258
|
import { isNonEmptyString as isNonEmptyString4 } from "@wistia/type-guards";
|
|
11259
11259
|
import { jsx as jsx244, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
11260
11260
|
var switchHeightMap = {
|
|
@@ -11465,7 +11465,7 @@ import { parseHex as parseHex2 } from "culori/fn";
|
|
|
11465
11465
|
|
|
11466
11466
|
// src/components/Input/Input.tsx
|
|
11467
11467
|
import { isValidElement as isValidElement2, forwardRef as forwardRef15, cloneElement as cloneElement4, useRef as useRef9 } from "react";
|
|
11468
|
-
import
|
|
11468
|
+
import styled44, { css as css30 } from "styled-components";
|
|
11469
11469
|
import { isNil as isNil13, isNotNil as isNotNil18, isRecord as isRecord4 } from "@wistia/type-guards";
|
|
11470
11470
|
|
|
11471
11471
|
// src/css/inputCss.ts
|
|
@@ -11845,12 +11845,12 @@ import {
|
|
|
11845
11845
|
Track as SliderTrack,
|
|
11846
11846
|
Thumb as SliderThumb
|
|
11847
11847
|
} from "@radix-ui/react-slider";
|
|
11848
|
-
import
|
|
11848
|
+
import styled46 from "styled-components";
|
|
11849
11849
|
import { formatHex as formatHex6 } from "culori/fn";
|
|
11850
11850
|
|
|
11851
11851
|
// src/components/ColorPicker/HSVHueCanvas.tsx
|
|
11852
11852
|
import { useEffect as useEffect12, useRef as useRef11 } from "react";
|
|
11853
|
-
import
|
|
11853
|
+
import styled45 from "styled-components";
|
|
11854
11854
|
import { formatHex as formatHex5 } from "culori/fn";
|
|
11855
11855
|
import { jsx as jsx250 } from "react/jsx-runtime";
|
|
11856
11856
|
var Canvas = styled45.canvas`
|
|
@@ -11981,11 +11981,11 @@ HueSlider.displayName = "HueSlider_UI";
|
|
|
11981
11981
|
|
|
11982
11982
|
// src/components/ColorPicker/SaturationAndValuePicker.tsx
|
|
11983
11983
|
import { useCallback as useCallback15, useEffect as useEffect14, useLayoutEffect as useLayoutEffect4, useMemo as useMemo10, useRef as useRef13, useState as useState14 } from "react";
|
|
11984
|
-
import
|
|
11984
|
+
import styled48 from "styled-components";
|
|
11985
11985
|
|
|
11986
11986
|
// src/components/ColorPicker/HSVSaturationValueCanvas.tsx
|
|
11987
11987
|
import { useEffect as useEffect13, useRef as useRef12 } from "react";
|
|
11988
|
-
import
|
|
11988
|
+
import styled47 from "styled-components";
|
|
11989
11989
|
|
|
11990
11990
|
// src/components/ColorPicker/canvas-utils.ts
|
|
11991
11991
|
var drawSmoothCurve = (context, points) => {
|
|
@@ -12364,12 +12364,12 @@ import {
|
|
|
12364
12364
|
isValidElement as isValidElement3
|
|
12365
12365
|
} from "react";
|
|
12366
12366
|
import { matchSorter } from "match-sorter";
|
|
12367
|
-
import
|
|
12367
|
+
import styled50 from "styled-components";
|
|
12368
12368
|
import { isArray as isArray2, isString as isString2 } from "@wistia/type-guards";
|
|
12369
12369
|
|
|
12370
12370
|
// src/components/Tag/Tag.tsx
|
|
12371
12371
|
import { forwardRef as forwardRef16 } from "react";
|
|
12372
|
-
import
|
|
12372
|
+
import styled49 from "styled-components";
|
|
12373
12373
|
import { isNil as isNil14, isNotNil as isNotNil19, isNonEmptyString as isNonEmptyString5 } from "@wistia/type-guards";
|
|
12374
12374
|
import { Fragment as Fragment7, jsx as jsx254, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
12375
12375
|
var TagLabel = styled49.a`
|
|
@@ -12824,7 +12824,7 @@ import {
|
|
|
12824
12824
|
} from "@radix-ui/react-dropdown-menu";
|
|
12825
12825
|
import { isNotNil as isNotNil20, isNotUndefined as isNotUndefined9 } from "@wistia/type-guards";
|
|
12826
12826
|
import { forwardRef as forwardRef17, useMemo as useMemo12 } from "react";
|
|
12827
|
-
import
|
|
12827
|
+
import styled51, { css as css32, keyframes as keyframes2 } from "styled-components";
|
|
12828
12828
|
|
|
12829
12829
|
// src/components/Menu/MenuContext.tsx
|
|
12830
12830
|
import { createContext as createContext6, useContext as useContext5 } from "react";
|
|
@@ -12987,7 +12987,7 @@ Menu.displayName = "Menu_UI";
|
|
|
12987
12987
|
Menu.displayName = "Menu_UI";
|
|
12988
12988
|
|
|
12989
12989
|
// src/components/Menu/MenuLabel.tsx
|
|
12990
|
-
import
|
|
12990
|
+
import styled52 from "styled-components";
|
|
12991
12991
|
import { DropdownMenuLabel } from "@radix-ui/react-dropdown-menu";
|
|
12992
12992
|
import { jsx as jsx257 } from "react/jsx-runtime";
|
|
12993
12993
|
var StyledMenuLabel = styled52(DropdownMenuLabel)`
|
|
@@ -13015,7 +13015,7 @@ MenuLabel.displayName = "MenuLabel_UI";
|
|
|
13015
13015
|
|
|
13016
13016
|
// src/components/Menu/SubMenu.tsx
|
|
13017
13017
|
import { useState as useState16 } from "react";
|
|
13018
|
-
import
|
|
13018
|
+
import styled55 from "styled-components";
|
|
13019
13019
|
import {
|
|
13020
13020
|
DropdownMenuPortal as DropdownMenuPortal2,
|
|
13021
13021
|
DropdownMenuSub,
|
|
@@ -13028,7 +13028,7 @@ import { isNotNil as isNotNil22 } from "@wistia/type-guards";
|
|
|
13028
13028
|
|
|
13029
13029
|
// src/components/Menu/MenuItemButton.tsx
|
|
13030
13030
|
import { forwardRef as forwardRef18 } from "react";
|
|
13031
|
-
import
|
|
13031
|
+
import styled53 from "styled-components";
|
|
13032
13032
|
import { isNotNil as isNotNil21, isNotUndefined as isNotUndefined10 } from "@wistia/type-guards";
|
|
13033
13033
|
import { jsx as jsx258, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
13034
13034
|
var StyledButton3 = styled53(Button)`
|
|
@@ -13148,7 +13148,7 @@ var MenuItemButton = forwardRef18(({ children, appearance, command, icon, ...pro
|
|
|
13148
13148
|
MenuItemButton.displayName = "MenuItemButton_UI";
|
|
13149
13149
|
|
|
13150
13150
|
// src/components/Menu/MenuItemLabelDescription.tsx
|
|
13151
|
-
import
|
|
13151
|
+
import styled54 from "styled-components";
|
|
13152
13152
|
import { jsx as jsx259 } from "react/jsx-runtime";
|
|
13153
13153
|
var StyledMenuItemLabel = styled54.span``;
|
|
13154
13154
|
var StyledMenuItemDescription = styled54(Text)``;
|
|
@@ -13548,7 +13548,7 @@ var ContextMenu = ({
|
|
|
13548
13548
|
|
|
13549
13549
|
// src/components/DataCards/DataCard.tsx
|
|
13550
13550
|
import { useRef as useRef15 } from "react";
|
|
13551
|
-
import
|
|
13551
|
+
import styled56, { keyframes as keyframes3 } from "styled-components";
|
|
13552
13552
|
import { isNotNil as isNotNil25 } from "@wistia/type-guards";
|
|
13553
13553
|
import { jsx as jsx267, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
13554
13554
|
var StyledDataCard = styled56.div`
|
|
@@ -13747,7 +13747,7 @@ var DataCard = (props) => {
|
|
|
13747
13747
|
DataCard.displayName = "DataCard_UI";
|
|
13748
13748
|
|
|
13749
13749
|
// src/components/DataCards/DataCards.tsx
|
|
13750
|
-
import
|
|
13750
|
+
import styled57 from "styled-components";
|
|
13751
13751
|
import { jsx as jsx268 } from "react/jsx-runtime";
|
|
13752
13752
|
var StyledDataCards = styled57(Box)`
|
|
13753
13753
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -13782,7 +13782,7 @@ var DataCards = ({
|
|
|
13782
13782
|
DataCards.displayName = "DataCards_UI";
|
|
13783
13783
|
|
|
13784
13784
|
// src/components/DataCards/DataCardTrend.tsx
|
|
13785
|
-
import
|
|
13785
|
+
import styled58 from "styled-components";
|
|
13786
13786
|
import { jsx as jsx269, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
13787
13787
|
var StyledDataCardTrend = styled58.div`
|
|
13788
13788
|
${({ $outlook }) => getColorScheme($outlook === "positive" ? "success" : "error")};
|
|
@@ -13820,7 +13820,7 @@ var DataCardTrend = ({
|
|
|
13820
13820
|
};
|
|
13821
13821
|
|
|
13822
13822
|
// src/components/DataCards/DataCardHoverArrow.tsx
|
|
13823
|
-
import
|
|
13823
|
+
import styled59 from "styled-components";
|
|
13824
13824
|
import { jsx as jsx270 } from "react/jsx-runtime";
|
|
13825
13825
|
var StyledIconContainer = styled59.div`
|
|
13826
13826
|
display: flex;
|
|
@@ -13838,7 +13838,7 @@ var DataCardHoverArrow = () => /* @__PURE__ */ jsx270(StyledIconContainer, { chi
|
|
|
13838
13838
|
DataCardHoverArrow.displayName = "DataCardHoverArrow_UI";
|
|
13839
13839
|
|
|
13840
13840
|
// src/components/DataList/DataList.tsx
|
|
13841
|
-
import
|
|
13841
|
+
import styled60 from "styled-components";
|
|
13842
13842
|
import { jsx as jsx271 } from "react/jsx-runtime";
|
|
13843
13843
|
var StyledDataList = styled60.dl`
|
|
13844
13844
|
display: grid;
|
|
@@ -13919,7 +13919,7 @@ var DataListItemValue = (props) => {
|
|
|
13919
13919
|
DataListItemValue.displayName = "DataListItemValue_UI";
|
|
13920
13920
|
|
|
13921
13921
|
// src/components/Divider/Divider.tsx
|
|
13922
|
-
import
|
|
13922
|
+
import styled61, { css as css33 } from "styled-components";
|
|
13923
13923
|
import { jsx as jsx274 } from "react/jsx-runtime";
|
|
13924
13924
|
var horizontalBorderCss = css33`
|
|
13925
13925
|
border-top-color: var(--wui-color-border);
|
|
@@ -13960,7 +13960,7 @@ var Divider = ({ orientation = "horizontal", ...props }) => {
|
|
|
13960
13960
|
Divider.displayName = "Divider_UI";
|
|
13961
13961
|
|
|
13962
13962
|
// src/components/EditableHeading/EditableHeading.tsx
|
|
13963
|
-
import
|
|
13963
|
+
import styled62, { css as css34 } from "styled-components";
|
|
13964
13964
|
import { useState as useState18, useRef as useRef16 } from "react";
|
|
13965
13965
|
import { Fragment as Fragment8, jsx as jsx275, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
13966
13966
|
var StyledInput = styled62(Input)`
|
|
@@ -14097,13 +14097,13 @@ var EditableHeading = ({
|
|
|
14097
14097
|
|
|
14098
14098
|
// src/components/EditableText/EditableTextDisplay.tsx
|
|
14099
14099
|
import { useContext as useContext6, useRef as useRef17, forwardRef as forwardRef21 } from "react";
|
|
14100
|
-
import
|
|
14100
|
+
import styled64, { css as css35 } from "styled-components";
|
|
14101
14101
|
import { isNotNil as isNotNil26 } from "@wistia/type-guards";
|
|
14102
14102
|
|
|
14103
14103
|
// src/components/EditableText/EditableTextRoot.tsx
|
|
14104
14104
|
import { createContext as createContext7, useMemo as useMemo13, useState as useState19, useCallback as useCallback16, useId as useId4 } from "react";
|
|
14105
14105
|
import { isNonEmptyString as isNonEmptyString6 } from "@wistia/type-guards";
|
|
14106
|
-
import
|
|
14106
|
+
import styled63 from "styled-components";
|
|
14107
14107
|
import { jsx as jsx276 } from "react/jsx-runtime";
|
|
14108
14108
|
var StyledEditableTextRoot = styled63.div`
|
|
14109
14109
|
display: contents;
|
|
@@ -14318,7 +14318,7 @@ var EditableTextDisplay = makePolymorphic(
|
|
|
14318
14318
|
|
|
14319
14319
|
// src/components/EditableText/EditableTextInput.tsx
|
|
14320
14320
|
import { useContext as useContext7, useEffect as useEffect17, useRef as useRef18 } from "react";
|
|
14321
|
-
import
|
|
14321
|
+
import styled65 from "styled-components";
|
|
14322
14322
|
import { isNotNil as isNotNil27 } from "@wistia/type-guards";
|
|
14323
14323
|
import { jsx as jsx278 } from "react/jsx-runtime";
|
|
14324
14324
|
var StyledInput2 = styled65(Input)`
|
|
@@ -14619,7 +14619,7 @@ var FormErrorSummary = ({ description }) => {
|
|
|
14619
14619
|
|
|
14620
14620
|
// src/components/FormField/FormField.tsx
|
|
14621
14621
|
import { Children as Children10, cloneElement as cloneElement8, useContext as useContext13 } from "react";
|
|
14622
|
-
import
|
|
14622
|
+
import styled66 from "styled-components";
|
|
14623
14623
|
import { isArray as isArray4, isNotNil as isNotNil28, isNotUndefined as isNotUndefined12, isUndefined as isUndefined4 } from "@wistia/type-guards";
|
|
14624
14624
|
import { Fragment as Fragment9, jsx as jsx282, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
14625
14625
|
var StyledFormField = styled66.div`
|
|
@@ -14807,7 +14807,7 @@ RadioGroup.displayName = "RadioGroup_UI";
|
|
|
14807
14807
|
|
|
14808
14808
|
// src/components/Grid/Grid.tsx
|
|
14809
14809
|
import { forwardRef as forwardRef22 } from "react";
|
|
14810
|
-
import
|
|
14810
|
+
import styled67, { css as css36 } from "styled-components";
|
|
14811
14811
|
import { isRecord as isRecord5 } from "@wistia/type-guards";
|
|
14812
14812
|
import { jsx as jsx284 } from "react/jsx-runtime";
|
|
14813
14813
|
var DEFAULT_ELEMENT5 = "div";
|
|
@@ -14881,7 +14881,7 @@ GridComponent.displayName = "Grid_UI";
|
|
|
14881
14881
|
var Grid = makePolymorphic(GridComponent);
|
|
14882
14882
|
|
|
14883
14883
|
// src/components/InputClickToCopy/InputClickToCopy.tsx
|
|
14884
|
-
import
|
|
14884
|
+
import styled68 from "styled-components";
|
|
14885
14885
|
import { forwardRef as forwardRef23, useEffect as useEffect18, useState as useState21 } from "react";
|
|
14886
14886
|
import { isFunction as isFunction3 } from "@wistia/type-guards";
|
|
14887
14887
|
import { jsx as jsx285 } from "react/jsx-runtime";
|
|
@@ -14951,7 +14951,7 @@ var InputClickToCopy = forwardRef23(
|
|
|
14951
14951
|
InputClickToCopy.displayName = "InputClickToCopy_UI";
|
|
14952
14952
|
|
|
14953
14953
|
// src/components/InputPassword/InputPassword.tsx
|
|
14954
|
-
import
|
|
14954
|
+
import styled69 from "styled-components";
|
|
14955
14955
|
import { forwardRef as forwardRef24, useState as useState22 } from "react";
|
|
14956
14956
|
import { isFunction as isFunction4 } from "@wistia/type-guards";
|
|
14957
14957
|
import { jsx as jsx286 } from "react/jsx-runtime";
|
|
@@ -14998,7 +14998,7 @@ var InputPassword = forwardRef24(
|
|
|
14998
14998
|
InputPassword.displayName = "InputPassword_UI";
|
|
14999
14999
|
|
|
15000
15000
|
// src/components/KeyboardShortcut/KeyboardShortcut.tsx
|
|
15001
|
-
import
|
|
15001
|
+
import styled70 from "styled-components";
|
|
15002
15002
|
import { isNotNil as isNotNil29 } from "@wistia/type-guards";
|
|
15003
15003
|
import { jsx as jsx287, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
15004
15004
|
var StyledKeyboardShortcut = styled70.div`
|
|
@@ -15108,10 +15108,10 @@ KeyboardShortcut.displayName = "KeyboardShortcut_UI";
|
|
|
15108
15108
|
|
|
15109
15109
|
// src/components/List/List.tsx
|
|
15110
15110
|
import { isNotNil as isNotNil30 } from "@wistia/type-guards";
|
|
15111
|
-
import
|
|
15111
|
+
import styled72, { css as css37 } from "styled-components";
|
|
15112
15112
|
|
|
15113
15113
|
// src/components/List/ListItem.tsx
|
|
15114
|
-
import
|
|
15114
|
+
import styled71 from "styled-components";
|
|
15115
15115
|
import { isNil as isNil16 } from "@wistia/type-guards";
|
|
15116
15116
|
import { jsx as jsx288 } from "react/jsx-runtime";
|
|
15117
15117
|
var ListItemComponent = styled71.li`
|
|
@@ -15265,7 +15265,7 @@ var List = ({
|
|
|
15265
15265
|
List.displayName = "List_UI";
|
|
15266
15266
|
|
|
15267
15267
|
// src/components/Mark/Mark.tsx
|
|
15268
|
-
import
|
|
15268
|
+
import styled73 from "styled-components";
|
|
15269
15269
|
import { jsx as jsx290 } from "react/jsx-runtime";
|
|
15270
15270
|
var StyledMark = styled73.mark`
|
|
15271
15271
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -15287,16 +15287,16 @@ Mark.displayName = "Mark_UI";
|
|
|
15287
15287
|
|
|
15288
15288
|
// src/components/Modal/Modal.tsx
|
|
15289
15289
|
import { forwardRef as forwardRef26 } from "react";
|
|
15290
|
-
import
|
|
15290
|
+
import styled78 from "styled-components";
|
|
15291
15291
|
import { Root as DialogRoot, Portal as DialogPortal } from "@radix-ui/react-dialog";
|
|
15292
15292
|
import { isNotNil as isNotNil32 } from "@wistia/type-guards";
|
|
15293
15293
|
|
|
15294
15294
|
// src/components/Modal/ModalHeader.tsx
|
|
15295
|
-
import
|
|
15295
|
+
import styled75 from "styled-components";
|
|
15296
15296
|
import { Title as DialogTitle } from "@radix-ui/react-dialog";
|
|
15297
15297
|
|
|
15298
15298
|
// src/components/Modal/ModalCloseButton.tsx
|
|
15299
|
-
import
|
|
15299
|
+
import styled74 from "styled-components";
|
|
15300
15300
|
import { Close as DialogClose } from "@radix-ui/react-dialog";
|
|
15301
15301
|
import { jsx as jsx291 } from "react/jsx-runtime";
|
|
15302
15302
|
var CloseButton = styled74(DialogClose)`
|
|
@@ -15363,7 +15363,7 @@ var ModalHeader = ({
|
|
|
15363
15363
|
|
|
15364
15364
|
// src/components/Modal/ModalContent.tsx
|
|
15365
15365
|
import { forwardRef as forwardRef25 } from "react";
|
|
15366
|
-
import
|
|
15366
|
+
import styled76, { css as css38, keyframes as keyframes4 } from "styled-components";
|
|
15367
15367
|
import { Content as DialogContent } from "@radix-ui/react-dialog";
|
|
15368
15368
|
|
|
15369
15369
|
// src/private/hooks/useFocusRestore/useFocusRestore.ts
|
|
@@ -15531,7 +15531,7 @@ var ModalContent = forwardRef25(
|
|
|
15531
15531
|
|
|
15532
15532
|
// src/components/Modal/ModalOverlay.tsx
|
|
15533
15533
|
import { DialogOverlay } from "@radix-ui/react-dialog";
|
|
15534
|
-
import
|
|
15534
|
+
import styled77, { keyframes as keyframes5 } from "styled-components";
|
|
15535
15535
|
var backdropShow = keyframes5`
|
|
15536
15536
|
from {
|
|
15537
15537
|
opacity: 0;
|
|
@@ -15665,7 +15665,7 @@ ModalCallout.displayName = "ModalCallout_UI";
|
|
|
15665
15665
|
|
|
15666
15666
|
// src/components/Popover/Popover.tsx
|
|
15667
15667
|
import { Root as Root2, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
|
|
15668
|
-
import
|
|
15668
|
+
import styled80, { css as css40 } from "styled-components";
|
|
15669
15669
|
|
|
15670
15670
|
// src/private/helpers/getControls/getControlProps.tsx
|
|
15671
15671
|
import { isNotNil as isNotNil33 } from "@wistia/type-guards";
|
|
@@ -15675,7 +15675,7 @@ var getControlProps = (isOpen, onOpenChange) => {
|
|
|
15675
15675
|
|
|
15676
15676
|
// src/components/Popover/PopoverArrow.tsx
|
|
15677
15677
|
import { PopoverArrow as RadixPopoverArrow } from "@radix-ui/react-popover";
|
|
15678
|
-
import
|
|
15678
|
+
import styled79, { css as css39, keyframes as keyframes6 } from "styled-components";
|
|
15679
15679
|
import { jsx as jsx296, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
15680
15680
|
var StyledPath = styled79.path`
|
|
15681
15681
|
fill: var(--wui-color-border-secondary);
|
|
@@ -15824,7 +15824,7 @@ var Popover = ({
|
|
|
15824
15824
|
Popover.displayName = "Popover_UI";
|
|
15825
15825
|
|
|
15826
15826
|
// src/components/ProgressBar/ProgressBar.tsx
|
|
15827
|
-
import
|
|
15827
|
+
import styled81 from "styled-components";
|
|
15828
15828
|
import { Root as ProgressRoot, Indicator as ProgressIndicator } from "@radix-ui/react-progress";
|
|
15829
15829
|
import { isNotNil as isNotNil34 } from "@wistia/type-guards";
|
|
15830
15830
|
import { jsx as jsx298, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
@@ -15908,7 +15908,7 @@ ProgressBar.displayName = "ProgressBar_UI";
|
|
|
15908
15908
|
// src/components/Radio/Radio.tsx
|
|
15909
15909
|
import { isNonEmptyString as isNonEmptyString7, isNotUndefined as isNotUndefined13 } from "@wistia/type-guards";
|
|
15910
15910
|
import { forwardRef as forwardRef27, useId as useId5 } from "react";
|
|
15911
|
-
import
|
|
15911
|
+
import styled82, { css as css41 } from "styled-components";
|
|
15912
15912
|
import { jsx as jsx299, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
15913
15913
|
var sizeSmall2 = css41`
|
|
15914
15914
|
--wui-radio-size: 14px;
|
|
@@ -16059,7 +16059,7 @@ import { forwardRef as forwardRef29 } from "react";
|
|
|
16059
16059
|
|
|
16060
16060
|
// src/components/RadioCard/RadioCardRoot.tsx
|
|
16061
16061
|
import { forwardRef as forwardRef28, useId as useId6 } from "react";
|
|
16062
|
-
import
|
|
16062
|
+
import styled83, { css as css42 } from "styled-components";
|
|
16063
16063
|
import { isNonEmptyString as isNonEmptyString8, isNotUndefined as isNotUndefined14 } from "@wistia/type-guards";
|
|
16064
16064
|
import { jsx as jsx300, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
16065
16065
|
var checkedStyles = css42`
|
|
@@ -16220,11 +16220,11 @@ var RadioCardRoot = forwardRef28(
|
|
|
16220
16220
|
RadioCardRoot.displayName = "RadioCardRoot_UI";
|
|
16221
16221
|
|
|
16222
16222
|
// src/components/RadioCard/RadioCardDefaultLayout.tsx
|
|
16223
|
-
import
|
|
16223
|
+
import styled85 from "styled-components";
|
|
16224
16224
|
import { isNotNil as isNotNil35 } from "@wistia/type-guards";
|
|
16225
16225
|
|
|
16226
16226
|
// src/components/RadioCard/RadioCardIndicator.tsx
|
|
16227
|
-
import
|
|
16227
|
+
import styled84 from "styled-components";
|
|
16228
16228
|
var RadioCardIndicator = styled84.div`
|
|
16229
16229
|
--wui-radio-card-indicator-size: 14px;
|
|
16230
16230
|
--wui-radio-card-indicator-background-color: var(--wui-color-bg-surface);
|
|
@@ -16322,7 +16322,7 @@ var RadioCardDefaultLayout = ({
|
|
|
16322
16322
|
RadioCardDefaultLayout.displayName = "RadioCardDefaultLayout_UI";
|
|
16323
16323
|
|
|
16324
16324
|
// src/components/RadioCard/RadioCardChildrenContainer.tsx
|
|
16325
|
-
import
|
|
16325
|
+
import styled86 from "styled-components";
|
|
16326
16326
|
var RadioCardChildrenContainer = styled86.div`
|
|
16327
16327
|
flex: 1 1 auto;
|
|
16328
16328
|
`;
|
|
@@ -16382,7 +16382,7 @@ RadioCardImage.displayName = "RadioCardImage_UI";
|
|
|
16382
16382
|
|
|
16383
16383
|
// src/components/ScrollArea/ScrollArea.tsx
|
|
16384
16384
|
import { forwardRef as forwardRef31, useCallback as useCallback18, useEffect as useEffect20, useMemo as useMemo15, useRef as useRef21, useState as useState23 } from "react";
|
|
16385
|
-
import
|
|
16385
|
+
import styled87 from "styled-components";
|
|
16386
16386
|
import { throttle } from "throttle-debounce";
|
|
16387
16387
|
import { jsx as jsx304, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
16388
16388
|
var SHADOW_SIZE_PX = 8;
|
|
@@ -16486,7 +16486,7 @@ ScrollArea.displayName = "ScrollArea_UI";
|
|
|
16486
16486
|
|
|
16487
16487
|
// src/components/SegmentedControl/SegmentedControl.tsx
|
|
16488
16488
|
import { forwardRef as forwardRef32 } from "react";
|
|
16489
|
-
import
|
|
16489
|
+
import styled89, { css as css44 } from "styled-components";
|
|
16490
16490
|
import { Root as ToggleGroupRoot2 } from "@radix-ui/react-toggle-group";
|
|
16491
16491
|
import { isNil as isNil17 } from "@wistia/type-guards";
|
|
16492
16492
|
|
|
@@ -16524,7 +16524,7 @@ var useSelectedItemStyle = () => {
|
|
|
16524
16524
|
};
|
|
16525
16525
|
|
|
16526
16526
|
// src/components/SegmentedControl/SelectedItemIndicator.tsx
|
|
16527
|
-
import
|
|
16527
|
+
import styled88, { css as css43 } from "styled-components";
|
|
16528
16528
|
import { isUndefined as isUndefined5 } from "@wistia/type-guards";
|
|
16529
16529
|
|
|
16530
16530
|
// src/components/SegmentedControl/useSegmentedControlValue.tsx
|
|
@@ -16623,7 +16623,7 @@ SegmentedControl.displayName = "SegmentedControl_UI";
|
|
|
16623
16623
|
|
|
16624
16624
|
// src/components/SegmentedControl/SegmentedControlItem.tsx
|
|
16625
16625
|
import { forwardRef as forwardRef33, useEffect as useEffect21, useRef as useRef22 } from "react";
|
|
16626
|
-
import
|
|
16626
|
+
import styled90, { css as css45 } from "styled-components";
|
|
16627
16627
|
import { Item as ToggleGroupItem2 } from "@radix-ui/react-toggle-group";
|
|
16628
16628
|
import { isNotNil as isNotNil36 } from "@wistia/type-guards";
|
|
16629
16629
|
import { jsxs as jsxs60 } from "react/jsx-runtime";
|
|
@@ -16768,7 +16768,7 @@ import {
|
|
|
16768
16768
|
ScrollDownButton
|
|
16769
16769
|
} from "@radix-ui/react-select";
|
|
16770
16770
|
import { forwardRef as forwardRef34 } from "react";
|
|
16771
|
-
import
|
|
16771
|
+
import styled91, { css as css46 } from "styled-components";
|
|
16772
16772
|
import { jsx as jsx308, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
16773
16773
|
var StyledTrigger2 = styled91(Trigger3)`
|
|
16774
16774
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -16915,7 +16915,7 @@ Select.displayName = "Select_UI";
|
|
|
16915
16915
|
// src/components/Select/SelectOption.tsx
|
|
16916
16916
|
import { Item, ItemText, ItemIndicator } from "@radix-ui/react-select";
|
|
16917
16917
|
import { forwardRef as forwardRef35 } from "react";
|
|
16918
|
-
import
|
|
16918
|
+
import styled92 from "styled-components";
|
|
16919
16919
|
import { isNotNil as isNotNil37 } from "@wistia/type-guards";
|
|
16920
16920
|
import { jsx as jsx309, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
16921
16921
|
var StyledItem = styled92(Item)`
|
|
@@ -16973,7 +16973,7 @@ SelectOption.displayName = "SelectOption_UI";
|
|
|
16973
16973
|
|
|
16974
16974
|
// src/components/Select/SelectOptionGroup.tsx
|
|
16975
16975
|
import { Group, Label as Label3 } from "@radix-ui/react-select";
|
|
16976
|
-
import
|
|
16976
|
+
import styled93 from "styled-components";
|
|
16977
16977
|
import { jsx as jsx310, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
16978
16978
|
var StyledLabel4 = styled93(Label3)`
|
|
16979
16979
|
padding: var(--wui-select-option-padding);
|
|
@@ -16999,7 +16999,7 @@ import {
|
|
|
16999
16999
|
Range as RadixSliderRange,
|
|
17000
17000
|
Thumb as RadixSliderThumb
|
|
17001
17001
|
} from "@radix-ui/react-slider";
|
|
17002
|
-
import
|
|
17002
|
+
import styled94 from "styled-components";
|
|
17003
17003
|
import { isNonEmptyString as isNonEmptyString9 } from "@wistia/type-guards";
|
|
17004
17004
|
import { jsx as jsx311, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
17005
17005
|
var SliderContainer = styled94.div`
|
|
@@ -17125,7 +17125,7 @@ var Slider = ({
|
|
|
17125
17125
|
Slider.displayName = "Slider_UI";
|
|
17126
17126
|
|
|
17127
17127
|
// src/components/Table/Table.tsx
|
|
17128
|
-
import
|
|
17128
|
+
import styled95, { css as css47 } from "styled-components";
|
|
17129
17129
|
import { jsx as jsx312 } from "react/jsx-runtime";
|
|
17130
17130
|
var StyledTable = styled95.table`
|
|
17131
17131
|
width: 100%;
|
|
@@ -17170,7 +17170,7 @@ var Table = ({
|
|
|
17170
17170
|
|
|
17171
17171
|
// src/components/Table/TableBody.tsx
|
|
17172
17172
|
import "react";
|
|
17173
|
-
import
|
|
17173
|
+
import styled96 from "styled-components";
|
|
17174
17174
|
|
|
17175
17175
|
// src/components/Table/TableSectionContext.ts
|
|
17176
17176
|
import { createContext as createContext11 } from "react";
|
|
@@ -17185,7 +17185,7 @@ var TableBody = ({ children, ...props }) => {
|
|
|
17185
17185
|
|
|
17186
17186
|
// src/components/Table/TableCell.tsx
|
|
17187
17187
|
import { useContext as useContext17 } from "react";
|
|
17188
|
-
import
|
|
17188
|
+
import styled97, { css as css48 } from "styled-components";
|
|
17189
17189
|
import { jsx as jsx314 } from "react/jsx-runtime";
|
|
17190
17190
|
var sharedStyles = css48`
|
|
17191
17191
|
color: var(--wui-color-text);
|
|
@@ -17214,7 +17214,7 @@ var TableCell = ({ children, ...props }) => {
|
|
|
17214
17214
|
|
|
17215
17215
|
// src/components/Table/TableFoot.tsx
|
|
17216
17216
|
import "react";
|
|
17217
|
-
import
|
|
17217
|
+
import styled98 from "styled-components";
|
|
17218
17218
|
import { jsx as jsx315 } from "react/jsx-runtime";
|
|
17219
17219
|
var StyledTableFoot = styled98.tfoot``;
|
|
17220
17220
|
var TableFoot = ({ children, ...props }) => {
|
|
@@ -17223,7 +17223,7 @@ var TableFoot = ({ children, ...props }) => {
|
|
|
17223
17223
|
|
|
17224
17224
|
// src/components/Table/TableHead.tsx
|
|
17225
17225
|
import "react";
|
|
17226
|
-
import
|
|
17226
|
+
import styled99 from "styled-components";
|
|
17227
17227
|
import { jsx as jsx316 } from "react/jsx-runtime";
|
|
17228
17228
|
var StyledThead = styled99.thead``;
|
|
17229
17229
|
var TableHead = ({ children, ...props }) => {
|
|
@@ -17231,7 +17231,7 @@ var TableHead = ({ children, ...props }) => {
|
|
|
17231
17231
|
};
|
|
17232
17232
|
|
|
17233
17233
|
// src/components/Table/TableRow.tsx
|
|
17234
|
-
import
|
|
17234
|
+
import styled100 from "styled-components";
|
|
17235
17235
|
import { jsx as jsx317 } from "react/jsx-runtime";
|
|
17236
17236
|
var StyledTableRow = styled100.tr``;
|
|
17237
17237
|
var TableRow = ({ children, ...props }) => {
|
|
@@ -17298,13 +17298,13 @@ TabsContent.displayName = "TabsContent_UI";
|
|
|
17298
17298
|
|
|
17299
17299
|
// src/components/Tabs/TabsList.tsx
|
|
17300
17300
|
import { List as RadixTabList } from "@radix-ui/react-tabs";
|
|
17301
|
-
import
|
|
17301
|
+
import styled102 from "styled-components";
|
|
17302
17302
|
|
|
17303
17303
|
// src/components/Tabs/SelectedTabIndicator.tsx
|
|
17304
17304
|
import { isUndefined as isUndefined6 } from "@wistia/type-guards";
|
|
17305
17305
|
|
|
17306
17306
|
// src/components/Tabs/TabsSelectedItemIndicatorDiv.tsx
|
|
17307
|
-
import
|
|
17307
|
+
import styled101 from "styled-components";
|
|
17308
17308
|
var TabsSelectedItemIndicatorDiv = styled101(SelectedItemIndicatorDiv)`
|
|
17309
17309
|
&:has(~ button[role='tab']:focus-visible) {
|
|
17310
17310
|
outline: 2px solid var(--wui-color-focus-ring);
|
|
@@ -17353,7 +17353,7 @@ import { forwardRef as forwardRef36, useEffect as useEffect22, useRef as useRef2
|
|
|
17353
17353
|
import { isNotNil as isNotNil39 } from "@wistia/type-guards";
|
|
17354
17354
|
|
|
17355
17355
|
// src/components/Tabs/StyledRadixTabsTrigger.tsx
|
|
17356
|
-
import
|
|
17356
|
+
import styled103 from "styled-components";
|
|
17357
17357
|
import { Trigger as RadixTabsTrigger } from "@radix-ui/react-tabs";
|
|
17358
17358
|
var StyledRadixTabsTrigger = styled103(RadixTabsTrigger)`
|
|
17359
17359
|
${segmentedControlItemStyles}
|
|
@@ -17416,7 +17416,7 @@ var TabsTrigger = forwardRef36(
|
|
|
17416
17416
|
TabsTrigger.displayName = "TabsTrigger_UI";
|
|
17417
17417
|
|
|
17418
17418
|
// src/components/Thumbnail/ThumbnailBadge.tsx
|
|
17419
|
-
import
|
|
17419
|
+
import styled104 from "styled-components";
|
|
17420
17420
|
import { isNotNil as isNotNil40 } from "@wistia/type-guards";
|
|
17421
17421
|
import { jsx as jsx322, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
17422
17422
|
var StyledThumbnailBadge = styled104.div`
|
|
@@ -17454,7 +17454,7 @@ ThumbnailBadge.displayName = "ThumbnailBadge_UI";
|
|
|
17454
17454
|
|
|
17455
17455
|
// src/components/Thumbnail/Thumbnail.tsx
|
|
17456
17456
|
import { forwardRef as forwardRef37, useState as useState26, useRef as useRef24, useCallback as useCallback20, useMemo as useMemo17 } from "react";
|
|
17457
|
-
import
|
|
17457
|
+
import styled106 from "styled-components";
|
|
17458
17458
|
import { isNil as isNil18, isNotNil as isNotNil43, isUndefined as isUndefined7, isEmptyString as isEmptyString2, isString as isString3 } from "@wistia/type-guards";
|
|
17459
17459
|
|
|
17460
17460
|
// src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
|
|
@@ -17590,7 +17590,7 @@ var getBackgroundGradient = (gradientName = void 0) => {
|
|
|
17590
17590
|
};
|
|
17591
17591
|
|
|
17592
17592
|
// src/components/Thumbnail/ThumbnailStoryboardViewer.tsx
|
|
17593
|
-
import
|
|
17593
|
+
import styled105 from "styled-components";
|
|
17594
17594
|
import { isNotNil as isNotNil42 } from "@wistia/type-guards";
|
|
17595
17595
|
import { jsx as jsx323, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
17596
17596
|
var ScrubLine = styled105.div`
|
|
@@ -17922,7 +17922,7 @@ Thumbnail.displayName = "Thumbnail_UI";
|
|
|
17922
17922
|
|
|
17923
17923
|
// src/components/ThumbnailCollage/ThumbnailCollage.tsx
|
|
17924
17924
|
import React5 from "react";
|
|
17925
|
-
import
|
|
17925
|
+
import styled107 from "styled-components";
|
|
17926
17926
|
import { isNonEmptyArray } from "@wistia/type-guards";
|
|
17927
17927
|
import { jsx as jsx325 } from "react/jsx-runtime";
|
|
17928
17928
|
var StyledThumbnailCollage = styled107.div`
|
|
@@ -18028,7 +18028,7 @@ var ThumbnailCollage = ({
|
|
|
18028
18028
|
};
|
|
18029
18029
|
|
|
18030
18030
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
18031
|
-
import
|
|
18031
|
+
import styled108, { css as css50 } from "styled-components";
|
|
18032
18032
|
import { isNotNil as isNotNil44 } from "@wistia/type-guards";
|
|
18033
18033
|
import { jsx as jsx326, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
18034
18034
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|
|
@@ -18153,7 +18153,7 @@ var WistiaLogo = ({
|
|
|
18153
18153
|
WistiaLogo.displayName = "WistiaLogo_UI";
|
|
18154
18154
|
|
|
18155
18155
|
// src/components/SplitButton/SplitButton.tsx
|
|
18156
|
-
import
|
|
18156
|
+
import styled109 from "styled-components";
|
|
18157
18157
|
import { isNotNil as isNotNil45 } from "@wistia/type-guards";
|
|
18158
18158
|
import { cloneElement as cloneElement9 } from "react";
|
|
18159
18159
|
import { jsx as jsx327, jsxs as jsxs71 } from "react/jsx-runtime";
|