@wistia/ui 0.16.1-beta.538b5a81.8732735 → 0.17.0
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 +312 -312
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +63 -63
- package/dist/index.d.ts +63 -63
- package/dist/index.mjs +120 -120
- 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.
|
|
3
|
+
* @license @wistia/ui v0.17.0
|
|
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";
|
|
@@ -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
|
|
7572
|
+
import 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
|
|
8005
|
+
import 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
|
|
8022
|
+
import 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
|
|
8075
|
+
import 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
|
|
8257
|
+
import 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
|
|
8309
|
+
import 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
|
|
8314
|
+
import 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
|
|
8511
|
+
import 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
|
|
@@ -8616,11 +8616,11 @@ var StyledHeading = styled12.div`
|
|
|
8616
8616
|
line-height: var(--line-height);
|
|
8617
8617
|
color: var(--text-color);
|
|
8618
8618
|
${({ $variant }) => variantStyleMap[$variant]}
|
|
8619
|
-
${({ $
|
|
8620
|
-
if (isNotNil11($
|
|
8619
|
+
${({ $maxLines }) => {
|
|
8620
|
+
if (isNotNil11($maxLines)) {
|
|
8621
8621
|
return css21`
|
|
8622
8622
|
${ellipsisStyle};
|
|
8623
|
-
${lineClampCss($
|
|
8623
|
+
${lineClampCss($maxLines)};
|
|
8624
8624
|
`;
|
|
8625
8625
|
}
|
|
8626
8626
|
return void 0;
|
|
@@ -8657,7 +8657,7 @@ var HeadingComponent = forwardRef6(
|
|
|
8657
8657
|
maxChars,
|
|
8658
8658
|
preventUserSelect = false,
|
|
8659
8659
|
prominence = "primary",
|
|
8660
|
-
|
|
8660
|
+
maxLines,
|
|
8661
8661
|
variant = "heading1",
|
|
8662
8662
|
renderAs,
|
|
8663
8663
|
...props
|
|
@@ -8671,9 +8671,9 @@ var HeadingComponent = forwardRef6(
|
|
|
8671
8671
|
$colorScheme: colorScheme,
|
|
8672
8672
|
$disabled: disabled,
|
|
8673
8673
|
$inline: inline,
|
|
8674
|
+
$maxLines: maxLines,
|
|
8674
8675
|
$preventUserSelect: preventUserSelect,
|
|
8675
8676
|
$prominence: prominence,
|
|
8676
|
-
$truncate: truncate,
|
|
8677
8677
|
$variant: variant,
|
|
8678
8678
|
as: renderAs ?? variantElementMap[variant] ?? DEFAULT_ELEMENT2,
|
|
8679
8679
|
...props,
|
|
@@ -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
|
|
8690
|
+
import 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`
|
|
@@ -8841,11 +8841,11 @@ var StyledText = styled13.div`
|
|
|
8841
8841
|
font-style: normal;
|
|
8842
8842
|
margin: 0;
|
|
8843
8843
|
${({ $variant }) => variantStyleMap2[$variant]}
|
|
8844
|
-
${({ $
|
|
8845
|
-
if (isNotNil12($
|
|
8844
|
+
${({ $maxLines }) => {
|
|
8845
|
+
if (isNotNil12($maxLines)) {
|
|
8846
8846
|
return css22`
|
|
8847
8847
|
${ellipsisStyle};
|
|
8848
|
-
${lineClampCss($
|
|
8848
|
+
${lineClampCss($maxLines)};
|
|
8849
8849
|
`;
|
|
8850
8850
|
}
|
|
8851
8851
|
return void 0;
|
|
@@ -8880,7 +8880,7 @@ var TextComponent = forwardRef7(
|
|
|
8880
8880
|
maxChars,
|
|
8881
8881
|
preventUserSelect = false,
|
|
8882
8882
|
prominence = "primary",
|
|
8883
|
-
|
|
8883
|
+
maxLines,
|
|
8884
8884
|
variant = "body2",
|
|
8885
8885
|
renderAs,
|
|
8886
8886
|
...props
|
|
@@ -8894,9 +8894,9 @@ var TextComponent = forwardRef7(
|
|
|
8894
8894
|
$colorScheme: colorScheme,
|
|
8895
8895
|
$disabled: disabled,
|
|
8896
8896
|
$inline: inline,
|
|
8897
|
+
$maxLines: maxLines,
|
|
8897
8898
|
$preventUserSelect: preventUserSelect,
|
|
8898
8899
|
$prominence: prominence,
|
|
8899
|
-
$truncate: truncate,
|
|
8900
8900
|
$variant: variant,
|
|
8901
8901
|
as: renderAs ?? variantElementMap2[variant] ?? DEFAULT_ELEMENT3,
|
|
8902
8902
|
...props,
|
|
@@ -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
|
|
8912
|
+
import 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
|
|
8992
|
+
import 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
|
|
9193
|
+
import 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
|
|
9240
|
+
import 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
|
|
9274
|
+
import 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
|
|
9334
|
+
import 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
|
|
9366
|
+
import 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
|
|
9370
|
+
import styled23, { css as css25 } from "styled-components";
|
|
9371
9371
|
|
|
9372
9372
|
// src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
|
|
9373
|
-
import
|
|
9373
|
+
import 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
|
|
9395
|
+
import 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
|
|
9492
|
+
import 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
|
|
9498
|
+
import 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
|
|
9587
|
+
import 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
|
|
9953
|
+
import 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
|
|
9978
|
+
import 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
|
|
10029
|
+
import 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
|
|
10055
|
+
import 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
|
|
10600
|
+
import 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
|
|
10701
|
+
import 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
|
|
10706
|
+
import 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
|
|
10770
|
+
import 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
|
|
10965
|
+
import 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
|
|
10997
|
+
import 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
|
|
11027
|
+
import 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
|
|
11151
|
+
import 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
|
|
11180
|
+
import 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
|
|
11193
|
+
import 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
|
|
11260
|
+
import 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
|
|
11320
|
+
import 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
|
|
11531
|
+
import 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
|
|
11911
|
+
import 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
|
|
11916
|
+
import 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
|
|
12047
|
+
import 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
|
|
12051
|
+
import 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
|
|
12430
|
+
import 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
|
|
12435
|
+
import 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
|
|
12891
|
+
import 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
|
|
13054
|
+
import 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
|
|
13082
|
+
import 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
|
|
13095
|
+
import 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
|
|
13215
|
+
import 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
|
|
13624
|
+
import 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
|
|
13823
|
+
import 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
|
|
13858
|
+
import 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
|
|
13896
|
+
import 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
|
|
13914
|
+
import 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
|
|
13995
|
+
import 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
|
|
14036
|
+
import 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
|
|
14173
|
+
import 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
|
|
14179
|
+
import 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
|
|
14429
|
+
import 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
|
|
14734
|
+
import 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
|
|
14930
|
+
import 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
|
|
15004
|
+
import 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
|
|
15074
|
+
import 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
|
|
15121
|
+
import 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
|
|
15231
|
+
import styled72, { css as css37 } from "styled-components";
|
|
15232
15232
|
|
|
15233
15233
|
// src/components/List/ListItem.tsx
|
|
15234
|
-
import
|
|
15234
|
+
import 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
|
|
15388
|
+
import 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
|
|
15410
|
+
import 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
|
|
15415
|
+
import 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
|
|
15419
|
+
import 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
|
|
15486
|
+
import 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
|
|
@@ -15651,7 +15651,7 @@ var ModalContent = forwardRef25(
|
|
|
15651
15651
|
|
|
15652
15652
|
// src/components/Modal/ModalOverlay.tsx
|
|
15653
15653
|
import { DialogOverlay } from "@radix-ui/react-dialog";
|
|
15654
|
-
import
|
|
15654
|
+
import styled77, { keyframes as keyframes5 } from "styled-components";
|
|
15655
15655
|
var backdropShow = keyframes5`
|
|
15656
15656
|
from {
|
|
15657
15657
|
opacity: 0;
|
|
@@ -15785,7 +15785,7 @@ ModalCallout.displayName = "ModalCallout_UI";
|
|
|
15785
15785
|
|
|
15786
15786
|
// src/components/Popover/Popover.tsx
|
|
15787
15787
|
import { Root as Root2, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
|
|
15788
|
-
import
|
|
15788
|
+
import styled80, { css as css40 } from "styled-components";
|
|
15789
15789
|
|
|
15790
15790
|
// src/private/helpers/getControls/getControlProps.tsx
|
|
15791
15791
|
import { isNotNil as isNotNil33 } from "@wistia/type-guards";
|
|
@@ -15795,7 +15795,7 @@ var getControlProps = (isOpen, onOpenChange) => {
|
|
|
15795
15795
|
|
|
15796
15796
|
// src/components/Popover/PopoverArrow.tsx
|
|
15797
15797
|
import { PopoverArrow as RadixPopoverArrow } from "@radix-ui/react-popover";
|
|
15798
|
-
import
|
|
15798
|
+
import styled79, { css as css39, keyframes as keyframes6 } from "styled-components";
|
|
15799
15799
|
import { jsx as jsx297, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
15800
15800
|
var StyledPath = styled79.path`
|
|
15801
15801
|
fill: var(--wui-color-border-secondary);
|
|
@@ -15944,7 +15944,7 @@ var Popover = ({
|
|
|
15944
15944
|
Popover.displayName = "Popover_UI";
|
|
15945
15945
|
|
|
15946
15946
|
// src/components/ProgressBar/ProgressBar.tsx
|
|
15947
|
-
import
|
|
15947
|
+
import styled81 from "styled-components";
|
|
15948
15948
|
import { Root as ProgressRoot, Indicator as ProgressIndicator } from "@radix-ui/react-progress";
|
|
15949
15949
|
import { isNotNil as isNotNil34 } from "@wistia/type-guards";
|
|
15950
15950
|
import { jsx as jsx299, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
@@ -16028,7 +16028,7 @@ ProgressBar.displayName = "ProgressBar_UI";
|
|
|
16028
16028
|
// src/components/Radio/Radio.tsx
|
|
16029
16029
|
import { isNonEmptyString as isNonEmptyString7, isNotUndefined as isNotUndefined13 } from "@wistia/type-guards";
|
|
16030
16030
|
import { forwardRef as forwardRef27, useId as useId5 } from "react";
|
|
16031
|
-
import
|
|
16031
|
+
import styled82, { css as css41 } from "styled-components";
|
|
16032
16032
|
import { jsx as jsx300, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
16033
16033
|
var sizeSmall2 = css41`
|
|
16034
16034
|
--wui-radio-size: 14px;
|
|
@@ -16179,7 +16179,7 @@ import { forwardRef as forwardRef29 } from "react";
|
|
|
16179
16179
|
|
|
16180
16180
|
// src/components/RadioCard/RadioCardRoot.tsx
|
|
16181
16181
|
import { forwardRef as forwardRef28, useId as useId6 } from "react";
|
|
16182
|
-
import
|
|
16182
|
+
import styled83, { css as css42 } from "styled-components";
|
|
16183
16183
|
import { isNonEmptyString as isNonEmptyString8, isNotUndefined as isNotUndefined14 } from "@wistia/type-guards";
|
|
16184
16184
|
import { jsx as jsx301, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
16185
16185
|
var checkedStyles = css42`
|
|
@@ -16340,11 +16340,11 @@ var RadioCardRoot = forwardRef28(
|
|
|
16340
16340
|
RadioCardRoot.displayName = "RadioCardRoot_UI";
|
|
16341
16341
|
|
|
16342
16342
|
// src/components/RadioCard/RadioCardDefaultLayout.tsx
|
|
16343
|
-
import
|
|
16343
|
+
import styled85 from "styled-components";
|
|
16344
16344
|
import { isNotNil as isNotNil35 } from "@wistia/type-guards";
|
|
16345
16345
|
|
|
16346
16346
|
// src/components/RadioCard/RadioCardIndicator.tsx
|
|
16347
|
-
import
|
|
16347
|
+
import styled84 from "styled-components";
|
|
16348
16348
|
var RadioCardIndicator = styled84.div`
|
|
16349
16349
|
--wui-radio-card-indicator-size: 14px;
|
|
16350
16350
|
--wui-radio-card-indicator-background-color: var(--wui-color-bg-surface);
|
|
@@ -16442,7 +16442,7 @@ var RadioCardDefaultLayout = ({
|
|
|
16442
16442
|
RadioCardDefaultLayout.displayName = "RadioCardDefaultLayout_UI";
|
|
16443
16443
|
|
|
16444
16444
|
// src/components/RadioCard/RadioCardChildrenContainer.tsx
|
|
16445
|
-
import
|
|
16445
|
+
import styled86 from "styled-components";
|
|
16446
16446
|
var RadioCardChildrenContainer = styled86.div`
|
|
16447
16447
|
flex: 1 1 auto;
|
|
16448
16448
|
`;
|
|
@@ -16502,7 +16502,7 @@ RadioCardImage.displayName = "RadioCardImage_UI";
|
|
|
16502
16502
|
|
|
16503
16503
|
// src/components/ScrollArea/ScrollArea.tsx
|
|
16504
16504
|
import { forwardRef as forwardRef31, useCallback as useCallback18, useEffect as useEffect20, useMemo as useMemo15, useRef as useRef21, useState as useState23 } from "react";
|
|
16505
|
-
import
|
|
16505
|
+
import styled87 from "styled-components";
|
|
16506
16506
|
import { throttle } from "throttle-debounce";
|
|
16507
16507
|
import { jsx as jsx305, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
16508
16508
|
var SHADOW_SIZE_PX = 8;
|
|
@@ -16606,7 +16606,7 @@ ScrollArea.displayName = "ScrollArea_UI";
|
|
|
16606
16606
|
|
|
16607
16607
|
// src/components/SegmentedControl/SegmentedControl.tsx
|
|
16608
16608
|
import { forwardRef as forwardRef32 } from "react";
|
|
16609
|
-
import
|
|
16609
|
+
import styled89, { css as css44 } from "styled-components";
|
|
16610
16610
|
import { Root as ToggleGroupRoot2 } from "@radix-ui/react-toggle-group";
|
|
16611
16611
|
import { isNil as isNil18 } from "@wistia/type-guards";
|
|
16612
16612
|
|
|
@@ -16644,7 +16644,7 @@ var useSelectedItemStyle = () => {
|
|
|
16644
16644
|
};
|
|
16645
16645
|
|
|
16646
16646
|
// src/components/SegmentedControl/SelectedItemIndicator.tsx
|
|
16647
|
-
import
|
|
16647
|
+
import styled88, { css as css43 } from "styled-components";
|
|
16648
16648
|
import { isUndefined as isUndefined5 } from "@wistia/type-guards";
|
|
16649
16649
|
|
|
16650
16650
|
// src/components/SegmentedControl/useSegmentedControlValue.tsx
|
|
@@ -16743,7 +16743,7 @@ SegmentedControl.displayName = "SegmentedControl_UI";
|
|
|
16743
16743
|
|
|
16744
16744
|
// src/components/SegmentedControl/SegmentedControlItem.tsx
|
|
16745
16745
|
import { forwardRef as forwardRef33, useEffect as useEffect21, useRef as useRef22 } from "react";
|
|
16746
|
-
import
|
|
16746
|
+
import styled90, { css as css45 } from "styled-components";
|
|
16747
16747
|
import { Item as ToggleGroupItem2 } from "@radix-ui/react-toggle-group";
|
|
16748
16748
|
import { isNotNil as isNotNil36 } from "@wistia/type-guards";
|
|
16749
16749
|
import { jsxs as jsxs60 } from "react/jsx-runtime";
|
|
@@ -16888,7 +16888,7 @@ import {
|
|
|
16888
16888
|
ScrollDownButton
|
|
16889
16889
|
} from "@radix-ui/react-select";
|
|
16890
16890
|
import { forwardRef as forwardRef34 } from "react";
|
|
16891
|
-
import
|
|
16891
|
+
import styled91, { css as css46 } from "styled-components";
|
|
16892
16892
|
import { jsx as jsx309, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
16893
16893
|
var StyledTrigger2 = styled91(Trigger3)`
|
|
16894
16894
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -17035,7 +17035,7 @@ Select.displayName = "Select_UI";
|
|
|
17035
17035
|
// src/components/Select/SelectOption.tsx
|
|
17036
17036
|
import { Item, ItemText, ItemIndicator } from "@radix-ui/react-select";
|
|
17037
17037
|
import { forwardRef as forwardRef35 } from "react";
|
|
17038
|
-
import
|
|
17038
|
+
import styled92 from "styled-components";
|
|
17039
17039
|
import { isNotNil as isNotNil37 } from "@wistia/type-guards";
|
|
17040
17040
|
import { jsx as jsx310, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
17041
17041
|
var StyledItem = styled92(Item)`
|
|
@@ -17093,7 +17093,7 @@ SelectOption.displayName = "SelectOption_UI";
|
|
|
17093
17093
|
|
|
17094
17094
|
// src/components/Select/SelectOptionGroup.tsx
|
|
17095
17095
|
import { Group, Label as Label3 } from "@radix-ui/react-select";
|
|
17096
|
-
import
|
|
17096
|
+
import styled93 from "styled-components";
|
|
17097
17097
|
import { jsx as jsx311, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
17098
17098
|
var StyledLabel4 = styled93(Label3)`
|
|
17099
17099
|
padding: var(--wui-select-option-padding);
|
|
@@ -17119,7 +17119,7 @@ import {
|
|
|
17119
17119
|
Range as RadixSliderRange,
|
|
17120
17120
|
Thumb as RadixSliderThumb
|
|
17121
17121
|
} from "@radix-ui/react-slider";
|
|
17122
|
-
import
|
|
17122
|
+
import styled94 from "styled-components";
|
|
17123
17123
|
import { isNonEmptyString as isNonEmptyString9 } from "@wistia/type-guards";
|
|
17124
17124
|
import { jsx as jsx312, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
17125
17125
|
var SliderContainer = styled94.div`
|
|
@@ -17245,7 +17245,7 @@ var Slider = ({
|
|
|
17245
17245
|
Slider.displayName = "Slider_UI";
|
|
17246
17246
|
|
|
17247
17247
|
// src/components/Table/Table.tsx
|
|
17248
|
-
import
|
|
17248
|
+
import styled95, { css as css47 } from "styled-components";
|
|
17249
17249
|
import { jsx as jsx313 } from "react/jsx-runtime";
|
|
17250
17250
|
var StyledTable = styled95.table`
|
|
17251
17251
|
width: 100%;
|
|
@@ -17290,7 +17290,7 @@ var Table = ({
|
|
|
17290
17290
|
|
|
17291
17291
|
// src/components/Table/TableBody.tsx
|
|
17292
17292
|
import "react";
|
|
17293
|
-
import
|
|
17293
|
+
import styled96 from "styled-components";
|
|
17294
17294
|
|
|
17295
17295
|
// src/components/Table/TableSectionContext.ts
|
|
17296
17296
|
import { createContext as createContext11 } from "react";
|
|
@@ -17305,7 +17305,7 @@ var TableBody = ({ children, ...props }) => {
|
|
|
17305
17305
|
|
|
17306
17306
|
// src/components/Table/TableCell.tsx
|
|
17307
17307
|
import { useContext as useContext17 } from "react";
|
|
17308
|
-
import
|
|
17308
|
+
import styled97, { css as css48 } from "styled-components";
|
|
17309
17309
|
import { jsx as jsx315 } from "react/jsx-runtime";
|
|
17310
17310
|
var sharedStyles = css48`
|
|
17311
17311
|
color: var(--wui-color-text);
|
|
@@ -17334,7 +17334,7 @@ var TableCell = ({ children, ...props }) => {
|
|
|
17334
17334
|
|
|
17335
17335
|
// src/components/Table/TableFoot.tsx
|
|
17336
17336
|
import "react";
|
|
17337
|
-
import
|
|
17337
|
+
import styled98 from "styled-components";
|
|
17338
17338
|
import { jsx as jsx316 } from "react/jsx-runtime";
|
|
17339
17339
|
var StyledTableFoot = styled98.tfoot``;
|
|
17340
17340
|
var TableFoot = ({ children, ...props }) => {
|
|
@@ -17343,7 +17343,7 @@ var TableFoot = ({ children, ...props }) => {
|
|
|
17343
17343
|
|
|
17344
17344
|
// src/components/Table/TableHead.tsx
|
|
17345
17345
|
import "react";
|
|
17346
|
-
import
|
|
17346
|
+
import styled99 from "styled-components";
|
|
17347
17347
|
import { jsx as jsx317 } from "react/jsx-runtime";
|
|
17348
17348
|
var StyledThead = styled99.thead``;
|
|
17349
17349
|
var TableHead = ({ children, ...props }) => {
|
|
@@ -17351,7 +17351,7 @@ var TableHead = ({ children, ...props }) => {
|
|
|
17351
17351
|
};
|
|
17352
17352
|
|
|
17353
17353
|
// src/components/Table/TableRow.tsx
|
|
17354
|
-
import
|
|
17354
|
+
import styled100 from "styled-components";
|
|
17355
17355
|
import { jsx as jsx318 } from "react/jsx-runtime";
|
|
17356
17356
|
var StyledTableRow = styled100.tr``;
|
|
17357
17357
|
var TableRow = ({ children, ...props }) => {
|
|
@@ -17418,13 +17418,13 @@ TabsContent.displayName = "TabsContent_UI";
|
|
|
17418
17418
|
|
|
17419
17419
|
// src/components/Tabs/TabsList.tsx
|
|
17420
17420
|
import { List as RadixTabList } from "@radix-ui/react-tabs";
|
|
17421
|
-
import
|
|
17421
|
+
import styled102 from "styled-components";
|
|
17422
17422
|
|
|
17423
17423
|
// src/components/Tabs/SelectedTabIndicator.tsx
|
|
17424
17424
|
import { isUndefined as isUndefined6 } from "@wistia/type-guards";
|
|
17425
17425
|
|
|
17426
17426
|
// src/components/Tabs/TabsSelectedItemIndicatorDiv.tsx
|
|
17427
|
-
import
|
|
17427
|
+
import styled101 from "styled-components";
|
|
17428
17428
|
var TabsSelectedItemIndicatorDiv = styled101(SelectedItemIndicatorDiv)`
|
|
17429
17429
|
&:has(~ button[role='tab']:focus-visible) {
|
|
17430
17430
|
outline: 2px solid var(--wui-color-focus-ring);
|
|
@@ -17473,7 +17473,7 @@ import { forwardRef as forwardRef36, useEffect as useEffect22, useRef as useRef2
|
|
|
17473
17473
|
import { isNotNil as isNotNil39 } from "@wistia/type-guards";
|
|
17474
17474
|
|
|
17475
17475
|
// src/components/Tabs/StyledRadixTabsTrigger.tsx
|
|
17476
|
-
import
|
|
17476
|
+
import styled103 from "styled-components";
|
|
17477
17477
|
import { Trigger as RadixTabsTrigger } from "@radix-ui/react-tabs";
|
|
17478
17478
|
var StyledRadixTabsTrigger = styled103(RadixTabsTrigger)`
|
|
17479
17479
|
${segmentedControlItemStyles}
|
|
@@ -17536,7 +17536,7 @@ var TabsTrigger = forwardRef36(
|
|
|
17536
17536
|
TabsTrigger.displayName = "TabsTrigger_UI";
|
|
17537
17537
|
|
|
17538
17538
|
// src/components/Thumbnail/ThumbnailBadge.tsx
|
|
17539
|
-
import
|
|
17539
|
+
import styled104 from "styled-components";
|
|
17540
17540
|
import { isNotNil as isNotNil40 } from "@wistia/type-guards";
|
|
17541
17541
|
import { jsx as jsx323, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
17542
17542
|
var StyledThumbnailBadge = styled104.div`
|
|
@@ -17574,7 +17574,7 @@ ThumbnailBadge.displayName = "ThumbnailBadge_UI";
|
|
|
17574
17574
|
|
|
17575
17575
|
// src/components/Thumbnail/Thumbnail.tsx
|
|
17576
17576
|
import { forwardRef as forwardRef37, useState as useState26, useRef as useRef24, useCallback as useCallback20, useMemo as useMemo17 } from "react";
|
|
17577
|
-
import
|
|
17577
|
+
import styled106 from "styled-components";
|
|
17578
17578
|
import { isNil as isNil19, isNotNil as isNotNil43, isUndefined as isUndefined7, isEmptyString as isEmptyString2, isString as isString4 } from "@wistia/type-guards";
|
|
17579
17579
|
|
|
17580
17580
|
// src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
|
|
@@ -17710,7 +17710,7 @@ var getBackgroundGradient = (gradientName = void 0) => {
|
|
|
17710
17710
|
};
|
|
17711
17711
|
|
|
17712
17712
|
// src/components/Thumbnail/ThumbnailStoryboardViewer.tsx
|
|
17713
|
-
import
|
|
17713
|
+
import styled105 from "styled-components";
|
|
17714
17714
|
import { isNotNil as isNotNil42 } from "@wistia/type-guards";
|
|
17715
17715
|
import { jsx as jsx324, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
17716
17716
|
var ScrubLine = styled105.div`
|
|
@@ -18042,7 +18042,7 @@ Thumbnail.displayName = "Thumbnail_UI";
|
|
|
18042
18042
|
|
|
18043
18043
|
// src/components/ThumbnailCollage/ThumbnailCollage.tsx
|
|
18044
18044
|
import React5 from "react";
|
|
18045
|
-
import
|
|
18045
|
+
import styled107 from "styled-components";
|
|
18046
18046
|
import { isNonEmptyArray } from "@wistia/type-guards";
|
|
18047
18047
|
import { jsx as jsx326 } from "react/jsx-runtime";
|
|
18048
18048
|
var StyledThumbnailCollage = styled107.div`
|
|
@@ -18148,7 +18148,7 @@ var ThumbnailCollage = ({
|
|
|
18148
18148
|
};
|
|
18149
18149
|
|
|
18150
18150
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
18151
|
-
import
|
|
18151
|
+
import styled108, { css as css50 } from "styled-components";
|
|
18152
18152
|
import { isNotNil as isNotNil44 } from "@wistia/type-guards";
|
|
18153
18153
|
import { jsx as jsx327, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
18154
18154
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|
|
@@ -18273,7 +18273,7 @@ var WistiaLogo = ({
|
|
|
18273
18273
|
WistiaLogo.displayName = "WistiaLogo_UI";
|
|
18274
18274
|
|
|
18275
18275
|
// src/components/SplitButton/SplitButton.tsx
|
|
18276
|
-
import
|
|
18276
|
+
import styled109 from "styled-components";
|
|
18277
18277
|
import { isNotNil as isNotNil45 } from "@wistia/type-guards";
|
|
18278
18278
|
import { cloneElement as cloneElement9 } from "react";
|
|
18279
18279
|
import { jsx as jsx328, jsxs as jsxs71 } from "react/jsx-runtime";
|