@wistia/ui 0.17.1 → 0.18.0-beta.1338688d.84af1a8
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 +310 -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 +118 -110
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -9
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.
|
|
3
|
+
* @license @wistia/ui v0.18.0-beta.1338688d.84af1a8
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -47,6 +47,7 @@ var globalStyleAdjustmentsCss = css`
|
|
|
47
47
|
* 1. Without this fonts are too heavy weight in OS X Firefox
|
|
48
48
|
* 2. Design decision
|
|
49
49
|
3. See: https://allthingssmitty.com/2020/05/11/css-fix-for-100vh-in-mobile-webkit/
|
|
50
|
+
4. Default font settings that all elements should get unless overridden
|
|
50
51
|
*/
|
|
51
52
|
body {
|
|
52
53
|
-moz-osx-font-smoothing: grayscale; /* 1 */
|
|
@@ -54,6 +55,13 @@ var globalStyleAdjustmentsCss = css`
|
|
|
54
55
|
line-height: 1.5; /* 2 */
|
|
55
56
|
min-height: 100vh; /* 3 */
|
|
56
57
|
min-height: -webkit-fill-available; /* 3 */
|
|
58
|
+
color: var(--wui-color-text-high-contrast); /* 4 */
|
|
59
|
+
font-family: var(--wui-typography-body-2-family); /* 4 */
|
|
60
|
+
font-size: var(--wui-typography-body-2-size); /* 4 */
|
|
61
|
+
font-weight: var(--wui-typography-body-2-weight); /* 4 */
|
|
62
|
+
|
|
63
|
+
/* line-height: var(--wui-typography-body-2-line-height); */
|
|
64
|
+
margin: 0; /* 2 */
|
|
57
65
|
}
|
|
58
66
|
|
|
59
67
|
/* Remove default margin in favour of better control in authored CSS */
|
|
@@ -3058,12 +3066,12 @@ import { toast as sonnerToast } from "sonner";
|
|
|
3058
3066
|
|
|
3059
3067
|
// src/private/components/Toast/Toast.tsx
|
|
3060
3068
|
import { cloneElement, isValidElement } from "react";
|
|
3061
|
-
import styled2 from "styled-components";
|
|
3069
|
+
import { styled as styled2 } from "styled-components";
|
|
3062
3070
|
import { isNotNil as isNotNil4 } from "@wistia/type-guards";
|
|
3063
3071
|
|
|
3064
3072
|
// src/components/Ellipsis/Ellipsis.tsx
|
|
3065
3073
|
import { isNotNil as isNotNil3 } from "@wistia/type-guards";
|
|
3066
|
-
import styled,
|
|
3074
|
+
import { styled, css as css14 } from "styled-components";
|
|
3067
3075
|
|
|
3068
3076
|
// src/css/lineClampCss.tsx
|
|
3069
3077
|
import { css as css13 } from "styled-components";
|
|
@@ -3267,11 +3275,11 @@ var useToast = () => {
|
|
|
3267
3275
|
|
|
3268
3276
|
// src/components/ActionButton/ActionButton.tsx
|
|
3269
3277
|
import { forwardRef as forwardRef3 } from "react";
|
|
3270
|
-
import styled6,
|
|
3278
|
+
import { styled as styled6, css as css19 } from "styled-components";
|
|
3271
3279
|
|
|
3272
3280
|
// src/components/Button/Button.tsx
|
|
3273
3281
|
import { forwardRef as forwardRef2 } from "react";
|
|
3274
|
-
import styled5 from "styled-components";
|
|
3282
|
+
import { styled as styled5 } from "styled-components";
|
|
3275
3283
|
import { isNotNil as isNotNil6, isNotUndefined as isNotUndefined4 } from "@wistia/type-guards";
|
|
3276
3284
|
|
|
3277
3285
|
// src/css/buttonResetCss.tsx
|
|
@@ -3477,7 +3485,7 @@ var buttonSizeStyles = {
|
|
|
3477
3485
|
|
|
3478
3486
|
// src/components/Icon/Icon.tsx
|
|
3479
3487
|
import { isNil as isNil5 } from "@wistia/type-guards";
|
|
3480
|
-
import styled3,
|
|
3488
|
+
import { styled as styled3, css as css18 } from "styled-components";
|
|
3481
3489
|
|
|
3482
3490
|
// src/components/Icon/icons/AbTestIcon.tsx
|
|
3483
3491
|
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
@@ -7569,7 +7577,7 @@ Icon.displayName = "Icon_UI";
|
|
|
7569
7577
|
|
|
7570
7578
|
// src/components/Link/Link.tsx
|
|
7571
7579
|
import { forwardRef } from "react";
|
|
7572
|
-
import styled4 from "styled-components";
|
|
7580
|
+
import { styled as styled4 } from "styled-components";
|
|
7573
7581
|
import { Link as RouterLink, useInRouterContext } from "react-router";
|
|
7574
7582
|
import { isFunction as isFunction2, isNil as isNil6, isNotNil as isNotNil5, isNotUndefined as isNotUndefined3, isUndefined as isUndefined2 } from "@wistia/type-guards";
|
|
7575
7583
|
import { jsx as jsx199, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
@@ -8002,7 +8010,7 @@ ActionButton.displayName = "ActionButton_UI";
|
|
|
8002
8010
|
// src/components/Avatar/Avatar.tsx
|
|
8003
8011
|
import { useState as useState9, useMemo as useMemo4, useEffect as useEffect7 } from "react";
|
|
8004
8012
|
import { isNil as isNil8, isNotNil as isNotNil8 } from "@wistia/type-guards";
|
|
8005
|
-
import styled9 from "styled-components";
|
|
8013
|
+
import { styled as styled9 } from "styled-components";
|
|
8006
8014
|
|
|
8007
8015
|
// src/components/Avatar/formatNameForDisplay.tsx
|
|
8008
8016
|
import { isNil as isNil7, isString, isEmptyString } from "@wistia/type-guards";
|
|
@@ -8019,7 +8027,7 @@ var formatNameForDisplay = (name) => {
|
|
|
8019
8027
|
};
|
|
8020
8028
|
|
|
8021
8029
|
// src/components/Image/Image.tsx
|
|
8022
|
-
import styled7 from "styled-components";
|
|
8030
|
+
import { styled as styled7 } from "styled-components";
|
|
8023
8031
|
import { isNotNil as isNotNil7 } from "@wistia/type-guards";
|
|
8024
8032
|
import { jsx as jsx202 } from "react/jsx-runtime";
|
|
8025
8033
|
var getFillStyle = (fillContainer) => {
|
|
@@ -8072,7 +8080,7 @@ var Image = ({
|
|
|
8072
8080
|
Image.displayName = "Image_UI";
|
|
8073
8081
|
|
|
8074
8082
|
// src/components/ColorSchemeWrapper/ColorSchemeWrapper.tsx
|
|
8075
|
-
import styled8 from "styled-components";
|
|
8083
|
+
import { styled as styled8 } from "styled-components";
|
|
8076
8084
|
import { jsx as jsx203 } from "react/jsx-runtime";
|
|
8077
8085
|
var defaultColorSchemeOptions = ["standard", "inherit"];
|
|
8078
8086
|
var semanticColorSchemeOptions = ["error", "info", "success", "warning"];
|
|
@@ -8254,7 +8262,7 @@ Avatar.displayName = "Avatar_UI";
|
|
|
8254
8262
|
|
|
8255
8263
|
// src/components/Badge/Badge.tsx
|
|
8256
8264
|
import { forwardRef as forwardRef4 } from "react";
|
|
8257
|
-
import styled10 from "styled-components";
|
|
8265
|
+
import { styled as styled10 } from "styled-components";
|
|
8258
8266
|
import { isNotNil as isNotNil9 } from "@wistia/type-guards";
|
|
8259
8267
|
import { jsx as jsx205, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
8260
8268
|
var StyledBadge = styled10.div`
|
|
@@ -8306,12 +8314,12 @@ Badge.displayName = "Badge_UI";
|
|
|
8306
8314
|
|
|
8307
8315
|
// src/components/Banner/Banner.tsx
|
|
8308
8316
|
import { useEffect as useEffect8, useState as useState10, useMemo as useMemo5 } from "react";
|
|
8309
|
-
import styled16 from "styled-components";
|
|
8317
|
+
import { styled as styled16 } from "styled-components";
|
|
8310
8318
|
import { isNil as isNil11, isNotNil as isNotNil13 } from "@wistia/type-guards";
|
|
8311
8319
|
|
|
8312
8320
|
// src/components/Box/Box.tsx
|
|
8313
8321
|
import { forwardRef as forwardRef5 } from "react";
|
|
8314
|
-
import styled11,
|
|
8322
|
+
import { styled as styled11, css as css20 } from "styled-components";
|
|
8315
8323
|
import { isNotNil as isNotNil10, isRecord as isRecord3, isNotUndefined as isNotUndefined5 } from "@wistia/type-guards";
|
|
8316
8324
|
|
|
8317
8325
|
// src/private/helpers/makePolymorphic/makePolymorphic.tsx
|
|
@@ -8508,7 +8516,7 @@ var Box = makePolymorphic(BoxComponent);
|
|
|
8508
8516
|
|
|
8509
8517
|
// src/components/Heading/Heading.tsx
|
|
8510
8518
|
import { forwardRef as forwardRef6 } from "react";
|
|
8511
|
-
import styled12,
|
|
8519
|
+
import { styled as styled12, css as css21 } from "styled-components";
|
|
8512
8520
|
import { isNotNil as isNotNil11 } from "@wistia/type-guards";
|
|
8513
8521
|
|
|
8514
8522
|
// src/private/helpers/applyMaxCharsToChildren/applyMaxCharsToChildren.ts
|
|
@@ -8687,7 +8695,7 @@ var Heading = makePolymorphic(HeadingComponent);
|
|
|
8687
8695
|
|
|
8688
8696
|
// src/components/Text/Text.tsx
|
|
8689
8697
|
import { forwardRef as forwardRef7 } from "react";
|
|
8690
|
-
import styled13,
|
|
8698
|
+
import { styled as styled13, css as css22 } from "styled-components";
|
|
8691
8699
|
import { isNotNil as isNotNil12 } from "@wistia/type-guards";
|
|
8692
8700
|
import { jsx as jsx208 } from "react/jsx-runtime";
|
|
8693
8701
|
var sharedBodyStyle = css22`
|
|
@@ -8909,7 +8917,7 @@ TextComponent.displayName = "Text_UI";
|
|
|
8909
8917
|
var Text = makePolymorphic(TextComponent);
|
|
8910
8918
|
|
|
8911
8919
|
// src/components/ButtonGroup/ButtonGroup.tsx
|
|
8912
|
-
import styled14,
|
|
8920
|
+
import { styled as styled14, css as css23 } from "styled-components";
|
|
8913
8921
|
import { isNil as isNil10 } from "@wistia/type-guards";
|
|
8914
8922
|
import { jsx as jsx209 } from "react/jsx-runtime";
|
|
8915
8923
|
var getAlignment = (align) => {
|
|
@@ -8989,7 +8997,7 @@ ButtonGroup.displayName = "ButtonGroup_UI";
|
|
|
8989
8997
|
|
|
8990
8998
|
// src/components/IconButton/IconButton.tsx
|
|
8991
8999
|
import { Children, cloneElement as cloneElement2, forwardRef as forwardRef8 } from "react";
|
|
8992
|
-
import styled15 from "styled-components";
|
|
9000
|
+
import { styled as styled15 } from "styled-components";
|
|
8993
9001
|
import { jsx as jsx210 } from "react/jsx-runtime";
|
|
8994
9002
|
var StyledButton2 = styled15(Button)`
|
|
8995
9003
|
--icon-button-size-sm: 24px;
|
|
@@ -9190,7 +9198,7 @@ Banner.displayName = "Banner_UI";
|
|
|
9190
9198
|
|
|
9191
9199
|
// src/components/Breadcrumbs/Breadcrumbs.tsx
|
|
9192
9200
|
import { Children as Children2 } from "react";
|
|
9193
|
-
import styled17 from "styled-components";
|
|
9201
|
+
import { styled as styled17 } from "styled-components";
|
|
9194
9202
|
import { Fragment as Fragment4, jsx as jsx212, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
9195
9203
|
var StyledBreadcrumbs = styled17.nav`
|
|
9196
9204
|
display: flex;
|
|
@@ -9237,7 +9245,7 @@ var Breadcrumbs = ({ children, ...props }) => {
|
|
|
9237
9245
|
Breadcrumbs.displayName = "Breadcrumbs_UI";
|
|
9238
9246
|
|
|
9239
9247
|
// src/components/Breadcrumbs/Breadcrumb.tsx
|
|
9240
|
-
import styled18 from "styled-components";
|
|
9248
|
+
import { styled as styled18 } from "styled-components";
|
|
9241
9249
|
import { Fragment as Fragment5, jsx as jsx213, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
9242
9250
|
var BreadcrumbContent = styled18.span`
|
|
9243
9251
|
overflow: hidden;
|
|
@@ -9271,7 +9279,7 @@ var Breadcrumb = ({ icon, href, children, ...props }) => {
|
|
|
9271
9279
|
};
|
|
9272
9280
|
|
|
9273
9281
|
// src/components/Card/Card.tsx
|
|
9274
|
-
import styled19 from "styled-components";
|
|
9282
|
+
import { styled as styled19 } from "styled-components";
|
|
9275
9283
|
import { jsx as jsx214 } from "react/jsx-runtime";
|
|
9276
9284
|
var StyledCard = styled19(Box)`
|
|
9277
9285
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -9331,7 +9339,7 @@ Card.displayName = "Card_UI";
|
|
|
9331
9339
|
|
|
9332
9340
|
// src/components/Center/Center.tsx
|
|
9333
9341
|
import { forwardRef as forwardRef9 } from "react";
|
|
9334
|
-
import styled20 from "styled-components";
|
|
9342
|
+
import { styled as styled20 } from "styled-components";
|
|
9335
9343
|
import { jsx as jsx215 } from "react/jsx-runtime";
|
|
9336
9344
|
var StyledCenter = styled20.div`
|
|
9337
9345
|
box-sizing: border-box;
|
|
@@ -9363,14 +9371,14 @@ Center.displayName = "Center_UI";
|
|
|
9363
9371
|
// src/components/Checkbox/Checkbox.tsx
|
|
9364
9372
|
import { isNonEmptyString as isNonEmptyString3, isNotUndefined as isNotUndefined7 } from "@wistia/type-guards";
|
|
9365
9373
|
import { forwardRef as forwardRef12, useId as useId2 } from "react";
|
|
9366
|
-
import styled27,
|
|
9374
|
+
import { styled as styled27, css as css26 } from "styled-components";
|
|
9367
9375
|
|
|
9368
9376
|
// src/private/components/FormControlLabel/FormControlLabel.tsx
|
|
9369
9377
|
import { isNil as isNil13, isNotNil as isNotNil15 } from "@wistia/type-guards";
|
|
9370
|
-
import styled23,
|
|
9378
|
+
import { styled as styled23, css as css25 } from "styled-components";
|
|
9371
9379
|
|
|
9372
9380
|
// src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
|
|
9373
|
-
import styled21 from "styled-components";
|
|
9381
|
+
import { styled as styled21 } from "styled-components";
|
|
9374
9382
|
import { isNotNil as isNotNil14 } from "@wistia/type-guards";
|
|
9375
9383
|
import { jsx as jsx216 } from "react/jsx-runtime";
|
|
9376
9384
|
var VisuallyHidden = styled21.div({ ...visuallyHiddenStyle });
|
|
@@ -9392,7 +9400,7 @@ var ScreenReaderOnly = ({
|
|
|
9392
9400
|
ScreenReaderOnly.displayName = "ScreenReaderOnly_UI";
|
|
9393
9401
|
|
|
9394
9402
|
// src/private/components/FormControlLabel/FormControlLabelDescription.tsx
|
|
9395
|
-
import styled22,
|
|
9403
|
+
import { styled as styled22, css as css24 } from "styled-components";
|
|
9396
9404
|
import { isNil as isNil12 } from "@wistia/type-guards";
|
|
9397
9405
|
import { jsx as jsx217 } from "react/jsx-runtime";
|
|
9398
9406
|
var disabledStyle = css24`
|
|
@@ -9489,13 +9497,13 @@ import { createContext as createContext4, useMemo as useMemo7, useContext as use
|
|
|
9489
9497
|
import { isArray } from "@wistia/type-guards";
|
|
9490
9498
|
|
|
9491
9499
|
// src/components/FormGroup/FormGroup.tsx
|
|
9492
|
-
import styled25 from "styled-components";
|
|
9500
|
+
import { styled as styled25 } from "styled-components";
|
|
9493
9501
|
import { useRef as useRef7 } from "react";
|
|
9494
9502
|
import { isNonEmptyString as isNonEmptyString2, isNotNil as isNotNil16 } from "@wistia/type-guards";
|
|
9495
9503
|
|
|
9496
9504
|
// src/components/Stack/Stack.tsx
|
|
9497
9505
|
import { forwardRef as forwardRef10 } from "react";
|
|
9498
|
-
import styled24 from "styled-components";
|
|
9506
|
+
import { styled as styled24 } from "styled-components";
|
|
9499
9507
|
import { jsx as jsx219 } from "react/jsx-runtime";
|
|
9500
9508
|
var DEFAULT_ELEMENT4 = "div";
|
|
9501
9509
|
var StyledStack = styled24.div`
|
|
@@ -9584,7 +9592,7 @@ FormGroup.displayName = "FormGroup_UI";
|
|
|
9584
9592
|
|
|
9585
9593
|
// src/components/Form/Form.tsx
|
|
9586
9594
|
import { forwardRef as forwardRef11, useRef as useRef8, useMemo as useMemo6, createContext as createContext3, useState as useState11, useId } from "react";
|
|
9587
|
-
import styled26 from "styled-components";
|
|
9595
|
+
import { styled as styled26 } from "styled-components";
|
|
9588
9596
|
import { isNotUndefined as isNotUndefined6, isUndefined as isUndefined3 } from "@wistia/type-guards";
|
|
9589
9597
|
|
|
9590
9598
|
// src/components/Form/serializeFormData.tsx
|
|
@@ -9950,7 +9958,7 @@ ClickRegion.displayName = "ClickRegion_UI";
|
|
|
9950
9958
|
// src/components/Collapsible/Collapsible.tsx
|
|
9951
9959
|
import { Root as CollapsibleRoot } from "@radix-ui/react-collapsible";
|
|
9952
9960
|
import { isNotNil as isNotNil17 } from "@wistia/type-guards";
|
|
9953
|
-
import styled28 from "styled-components";
|
|
9961
|
+
import { styled as styled28 } from "styled-components";
|
|
9954
9962
|
import { jsx as jsx224 } from "react/jsx-runtime";
|
|
9955
9963
|
var StyledRoot = styled28(CollapsibleRoot)`
|
|
9956
9964
|
&[data-state='closed'] [data-wui-collapsible-content] {
|
|
@@ -9975,7 +9983,7 @@ Collapsible.displayName = "Collapsible_UI";
|
|
|
9975
9983
|
// src/components/Collapsible/CollapsibleTrigger.tsx
|
|
9976
9984
|
import { Children as Children4 } from "react";
|
|
9977
9985
|
import { Trigger } from "@radix-ui/react-collapsible";
|
|
9978
|
-
import styled29 from "styled-components";
|
|
9986
|
+
import { styled as styled29 } from "styled-components";
|
|
9979
9987
|
import { jsx as jsx225 } from "react/jsx-runtime";
|
|
9980
9988
|
var StyledTrigger = styled29(Trigger)`
|
|
9981
9989
|
[data-wui-collapsible-icon] {
|
|
@@ -10026,7 +10034,7 @@ var CollapsibleTriggerIcon = ({ type, ...props }) => {
|
|
|
10026
10034
|
CollapsibleTriggerIcon.displayName = "CollapsibleTriggerIcon_UI";
|
|
10027
10035
|
|
|
10028
10036
|
// src/components/Collapsible/CollapsibleContent.tsx
|
|
10029
|
-
import styled30 from "styled-components";
|
|
10037
|
+
import { styled as styled30 } from "styled-components";
|
|
10030
10038
|
import { Content } from "@radix-ui/react-collapsible";
|
|
10031
10039
|
import { isNotUndefined as isNotUndefined8 } from "@wistia/type-guards";
|
|
10032
10040
|
import { Fragment as Fragment6, jsx as jsx227, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
@@ -10052,7 +10060,7 @@ var CollapsibleContent = ({ clamp, children }) => {
|
|
|
10052
10060
|
|
|
10053
10061
|
// src/components/ColorPicker/ColorGrid.tsx
|
|
10054
10062
|
import { useCallback as useCallback10 } from "react";
|
|
10055
|
-
import styled32 from "styled-components";
|
|
10063
|
+
import { styled as styled32 } from "styled-components";
|
|
10056
10064
|
import { Root as RadioGroupRoot } from "@radix-ui/react-radio-group";
|
|
10057
10065
|
|
|
10058
10066
|
// src/components/ColorPicker/ColorPickerContext.tsx
|
|
@@ -10597,7 +10605,7 @@ var useColorPickerState = () => {
|
|
|
10597
10605
|
};
|
|
10598
10606
|
|
|
10599
10607
|
// src/components/Label/Label.tsx
|
|
10600
|
-
import styled31,
|
|
10608
|
+
import { styled as styled31, css as css27 } from "styled-components";
|
|
10601
10609
|
import { jsx as jsx229 } from "react/jsx-runtime";
|
|
10602
10610
|
var requiredStyle = css27`
|
|
10603
10611
|
&::after {
|
|
@@ -10698,12 +10706,12 @@ var ColorGrid = ({ children, label }) => {
|
|
|
10698
10706
|
ColorGrid.displayName = "ColorGrid_UI";
|
|
10699
10707
|
|
|
10700
10708
|
// src/components/ColorPicker/ColorGridOption.tsx
|
|
10701
|
-
import styled35 from "styled-components";
|
|
10709
|
+
import { styled as styled35 } from "styled-components";
|
|
10702
10710
|
import { Item as RadioGroupItem } from "@radix-ui/react-radio-group";
|
|
10703
10711
|
import { formatHex as formatHex3 } from "culori/fn";
|
|
10704
10712
|
|
|
10705
10713
|
// src/components/ColorPicker/ColorSwatch.tsx
|
|
10706
|
-
import styled33 from "styled-components";
|
|
10714
|
+
import { styled as styled33 } from "styled-components";
|
|
10707
10715
|
import { jsx as jsx231, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
10708
10716
|
var ColorSwatchDiv = styled33.div`
|
|
10709
10717
|
aspect-ratio: 1;
|
|
@@ -10767,7 +10775,7 @@ import {
|
|
|
10767
10775
|
Portal as TooltipPortal,
|
|
10768
10776
|
Arrow as TooltipArrow
|
|
10769
10777
|
} from "@radix-ui/react-tooltip";
|
|
10770
|
-
import styled34,
|
|
10778
|
+
import { styled as styled34, keyframes } from "styled-components";
|
|
10771
10779
|
import { jsx as jsx232, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
10772
10780
|
var hide = keyframes`
|
|
10773
10781
|
from {
|
|
@@ -10962,7 +10970,7 @@ ColorGridOption.displayName = "ColorGridOption_UI";
|
|
|
10962
10970
|
|
|
10963
10971
|
// src/components/ColorPicker/ColorList.tsx
|
|
10964
10972
|
import { useCallback as useCallback11 } from "react";
|
|
10965
|
-
import styled36 from "styled-components";
|
|
10973
|
+
import { styled as styled36 } from "styled-components";
|
|
10966
10974
|
import { Root as ToggleGroupRoot } from "@radix-ui/react-toggle-group";
|
|
10967
10975
|
import { jsx as jsx234 } from "react/jsx-runtime";
|
|
10968
10976
|
var Container3 = styled36(ToggleGroupRoot)`
|
|
@@ -10994,7 +11002,7 @@ var ColorList = ({ children }) => {
|
|
|
10994
11002
|
ColorList.displayName = "ColorList_UI";
|
|
10995
11003
|
|
|
10996
11004
|
// src/components/ColorPicker/ColorListGroup.tsx
|
|
10997
|
-
import styled37 from "styled-components";
|
|
11005
|
+
import { styled as styled37 } from "styled-components";
|
|
10998
11006
|
import { jsx as jsx235, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
10999
11007
|
var Container4 = styled37.div`
|
|
11000
11008
|
display: grid;
|
|
@@ -11024,7 +11032,7 @@ var ColorListGroup = ({ label, children }) => {
|
|
|
11024
11032
|
ColorListGroup.displayName = "ColorListGroup_UI";
|
|
11025
11033
|
|
|
11026
11034
|
// src/components/ColorPicker/ColorListOption.tsx
|
|
11027
|
-
import styled38 from "styled-components";
|
|
11035
|
+
import { styled as styled38 } from "styled-components";
|
|
11028
11036
|
import { Item as ToggleGroupItem } from "@radix-ui/react-toggle-group";
|
|
11029
11037
|
import { formatHex as formatHex4 } from "culori/fn";
|
|
11030
11038
|
|
|
@@ -11148,7 +11156,7 @@ ColorPicker.displayName = "ColorPicker_UI";
|
|
|
11148
11156
|
|
|
11149
11157
|
// src/components/ColorPicker/ColorPickerPopoverContent.tsx
|
|
11150
11158
|
import { Content as PopoverContent, Portal as PopoverPortal } from "@radix-ui/react-popover";
|
|
11151
|
-
import styled39 from "styled-components";
|
|
11159
|
+
import { styled as styled39 } from "styled-components";
|
|
11152
11160
|
import { jsx as jsx239 } from "react/jsx-runtime";
|
|
11153
11161
|
var StyledPopoverContent = styled39(PopoverContent)`
|
|
11154
11162
|
background-color: var(--wui-color-bg-surface);
|
|
@@ -11177,7 +11185,7 @@ var ColorPickerPopoverContent = ({
|
|
|
11177
11185
|
ColorPickerPopoverContent.displayName = "ColorPickerPopoverContent_UI";
|
|
11178
11186
|
|
|
11179
11187
|
// src/components/ColorPicker/ColorPickerSection.tsx
|
|
11180
|
-
import styled40 from "styled-components";
|
|
11188
|
+
import { styled as styled40 } from "styled-components";
|
|
11181
11189
|
import { jsx as jsx240 } from "react/jsx-runtime";
|
|
11182
11190
|
var Container6 = styled40.div`
|
|
11183
11191
|
padding: var(--wui-space-02);
|
|
@@ -11190,7 +11198,7 @@ ColorPickerSection.displayName = "ColorPickerSection_UI";
|
|
|
11190
11198
|
// src/components/ColorPicker/ColorPickerTrigger.tsx
|
|
11191
11199
|
import { forwardRef as forwardRef13 } from "react";
|
|
11192
11200
|
import { Trigger as PopoverTrigger } from "@radix-ui/react-popover";
|
|
11193
|
-
import styled41 from "styled-components";
|
|
11201
|
+
import { styled as styled41 } from "styled-components";
|
|
11194
11202
|
|
|
11195
11203
|
// src/components/ColorPicker/ValueSwatch.tsx
|
|
11196
11204
|
import { jsx as jsx241 } from "react/jsx-runtime";
|
|
@@ -11257,7 +11265,7 @@ var ColorPickerTrigger = forwardRef13(
|
|
|
11257
11265
|
ColorPickerTrigger.displayName = "ColorPickerTrigger_UI";
|
|
11258
11266
|
|
|
11259
11267
|
// src/components/ColorPicker/ContrastIndicator.tsx
|
|
11260
|
-
import styled42 from "styled-components";
|
|
11268
|
+
import { styled as styled42 } from "styled-components";
|
|
11261
11269
|
import { jsx as jsx244, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
11262
11270
|
var Container7 = styled42.div`
|
|
11263
11271
|
display: flex;
|
|
@@ -11317,7 +11325,7 @@ import { useCallback as useCallback12 } from "react";
|
|
|
11317
11325
|
|
|
11318
11326
|
// src/components/Switch/Switch.tsx
|
|
11319
11327
|
import { forwardRef as forwardRef14, useId as useId3 } from "react";
|
|
11320
|
-
import styled43,
|
|
11328
|
+
import { styled as styled43, css as css28 } from "styled-components";
|
|
11321
11329
|
import { isNonEmptyString as isNonEmptyString4 } from "@wistia/type-guards";
|
|
11322
11330
|
import { jsx as jsx245, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
11323
11331
|
var switchHeightMap = {
|
|
@@ -11528,7 +11536,7 @@ import { parseHex as parseHex2 } from "culori/fn";
|
|
|
11528
11536
|
|
|
11529
11537
|
// src/components/Input/Input.tsx
|
|
11530
11538
|
import { isValidElement as isValidElement2, forwardRef as forwardRef15, cloneElement as cloneElement4, useRef as useRef9 } from "react";
|
|
11531
|
-
import styled44,
|
|
11539
|
+
import { styled as styled44, css as css30 } from "styled-components";
|
|
11532
11540
|
import { isNil as isNil14, isNotNil as isNotNil18, isRecord as isRecord4 } from "@wistia/type-guards";
|
|
11533
11541
|
|
|
11534
11542
|
// src/css/inputCss.ts
|
|
@@ -11908,12 +11916,12 @@ import {
|
|
|
11908
11916
|
Track as SliderTrack,
|
|
11909
11917
|
Thumb as SliderThumb
|
|
11910
11918
|
} from "@radix-ui/react-slider";
|
|
11911
|
-
import styled46 from "styled-components";
|
|
11919
|
+
import { styled as styled46 } from "styled-components";
|
|
11912
11920
|
import { formatHex as formatHex6 } from "culori/fn";
|
|
11913
11921
|
|
|
11914
11922
|
// src/components/ColorPicker/HSVHueCanvas.tsx
|
|
11915
11923
|
import { useEffect as useEffect12, useRef as useRef11 } from "react";
|
|
11916
|
-
import styled45 from "styled-components";
|
|
11924
|
+
import { styled as styled45 } from "styled-components";
|
|
11917
11925
|
import { formatHex as formatHex5 } from "culori/fn";
|
|
11918
11926
|
import { jsx as jsx251 } from "react/jsx-runtime";
|
|
11919
11927
|
var Canvas = styled45.canvas`
|
|
@@ -12044,11 +12052,11 @@ HueSlider.displayName = "HueSlider_UI";
|
|
|
12044
12052
|
|
|
12045
12053
|
// src/components/ColorPicker/SaturationAndValuePicker.tsx
|
|
12046
12054
|
import { useCallback as useCallback15, useEffect as useEffect14, useLayoutEffect as useLayoutEffect4, useMemo as useMemo10, useRef as useRef13, useState as useState14 } from "react";
|
|
12047
|
-
import styled48 from "styled-components";
|
|
12055
|
+
import { styled as styled48 } from "styled-components";
|
|
12048
12056
|
|
|
12049
12057
|
// src/components/ColorPicker/HSVSaturationValueCanvas.tsx
|
|
12050
12058
|
import { useEffect as useEffect13, useRef as useRef12 } from "react";
|
|
12051
|
-
import styled47 from "styled-components";
|
|
12059
|
+
import { styled as styled47 } from "styled-components";
|
|
12052
12060
|
|
|
12053
12061
|
// src/components/ColorPicker/canvas-utils.ts
|
|
12054
12062
|
var drawSmoothCurve = (context, points) => {
|
|
@@ -12427,12 +12435,12 @@ import {
|
|
|
12427
12435
|
isValidElement as isValidElement3
|
|
12428
12436
|
} from "react";
|
|
12429
12437
|
import { matchSorter } from "match-sorter";
|
|
12430
|
-
import styled50 from "styled-components";
|
|
12438
|
+
import { styled as styled50 } from "styled-components";
|
|
12431
12439
|
import { isArray as isArray2, isString as isString3 } from "@wistia/type-guards";
|
|
12432
12440
|
|
|
12433
12441
|
// src/components/Tag/Tag.tsx
|
|
12434
12442
|
import { forwardRef as forwardRef16 } from "react";
|
|
12435
|
-
import styled49 from "styled-components";
|
|
12443
|
+
import { styled as styled49 } from "styled-components";
|
|
12436
12444
|
import { isNil as isNil15, isNotNil as isNotNil19, isNonEmptyString as isNonEmptyString5 } from "@wistia/type-guards";
|
|
12437
12445
|
import { Fragment as Fragment7, jsx as jsx255, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
12438
12446
|
var TagLabel = styled49.a`
|
|
@@ -12888,7 +12896,7 @@ import {
|
|
|
12888
12896
|
} from "@radix-ui/react-dropdown-menu";
|
|
12889
12897
|
import { isNotNil as isNotNil20, isNotUndefined as isNotUndefined9 } from "@wistia/type-guards";
|
|
12890
12898
|
import { forwardRef as forwardRef17, useMemo as useMemo12 } from "react";
|
|
12891
|
-
import styled51,
|
|
12899
|
+
import { styled as styled51, css as css32, keyframes as keyframes2 } from "styled-components";
|
|
12892
12900
|
|
|
12893
12901
|
// src/components/Menu/MenuContext.tsx
|
|
12894
12902
|
import { createContext as createContext6, useContext as useContext5 } from "react";
|
|
@@ -13051,7 +13059,7 @@ Menu.displayName = "Menu_UI";
|
|
|
13051
13059
|
Menu.displayName = "Menu_UI";
|
|
13052
13060
|
|
|
13053
13061
|
// src/components/Menu/MenuLabel.tsx
|
|
13054
|
-
import styled52 from "styled-components";
|
|
13062
|
+
import { styled as styled52 } from "styled-components";
|
|
13055
13063
|
import { DropdownMenuLabel } from "@radix-ui/react-dropdown-menu";
|
|
13056
13064
|
import { jsx as jsx258 } from "react/jsx-runtime";
|
|
13057
13065
|
var StyledMenuLabel = styled52(DropdownMenuLabel)`
|
|
@@ -13079,7 +13087,7 @@ MenuLabel.displayName = "MenuLabel_UI";
|
|
|
13079
13087
|
|
|
13080
13088
|
// src/components/Menu/SubMenu.tsx
|
|
13081
13089
|
import { useState as useState16 } from "react";
|
|
13082
|
-
import styled55 from "styled-components";
|
|
13090
|
+
import { styled as styled55 } from "styled-components";
|
|
13083
13091
|
import {
|
|
13084
13092
|
DropdownMenuPortal as DropdownMenuPortal2,
|
|
13085
13093
|
DropdownMenuSub,
|
|
@@ -13092,7 +13100,7 @@ import { isNotNil as isNotNil22 } from "@wistia/type-guards";
|
|
|
13092
13100
|
|
|
13093
13101
|
// src/components/Menu/MenuItemButton.tsx
|
|
13094
13102
|
import { forwardRef as forwardRef18 } from "react";
|
|
13095
|
-
import styled53 from "styled-components";
|
|
13103
|
+
import { styled as styled53 } from "styled-components";
|
|
13096
13104
|
import { isNotNil as isNotNil21, isNotUndefined as isNotUndefined10 } from "@wistia/type-guards";
|
|
13097
13105
|
import { jsx as jsx259, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
13098
13106
|
var StyledButton3 = styled53(Button)`
|
|
@@ -13212,7 +13220,7 @@ var MenuItemButton = forwardRef18(({ children, appearance, command, icon, ...pro
|
|
|
13212
13220
|
MenuItemButton.displayName = "MenuItemButton_UI";
|
|
13213
13221
|
|
|
13214
13222
|
// src/components/Menu/MenuItemLabelDescription.tsx
|
|
13215
|
-
import styled54 from "styled-components";
|
|
13223
|
+
import { styled as styled54 } from "styled-components";
|
|
13216
13224
|
import { jsx as jsx260 } from "react/jsx-runtime";
|
|
13217
13225
|
var StyledMenuItemLabel = styled54.span``;
|
|
13218
13226
|
var StyledMenuItemDescription = styled54(Text)``;
|
|
@@ -13621,7 +13629,7 @@ var ContextMenu = ({
|
|
|
13621
13629
|
|
|
13622
13630
|
// src/components/DataCards/DataCard.tsx
|
|
13623
13631
|
import { useRef as useRef15 } from "react";
|
|
13624
|
-
import styled56,
|
|
13632
|
+
import { styled as styled56, keyframes as keyframes3 } from "styled-components";
|
|
13625
13633
|
import { isNotNil as isNotNil25 } from "@wistia/type-guards";
|
|
13626
13634
|
import { jsx as jsx268, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
13627
13635
|
var StyledDataCard = styled56.div`
|
|
@@ -13820,7 +13828,7 @@ var DataCard = (props) => {
|
|
|
13820
13828
|
DataCard.displayName = "DataCard_UI";
|
|
13821
13829
|
|
|
13822
13830
|
// src/components/DataCards/DataCards.tsx
|
|
13823
|
-
import styled57 from "styled-components";
|
|
13831
|
+
import { styled as styled57 } from "styled-components";
|
|
13824
13832
|
import { jsx as jsx269 } from "react/jsx-runtime";
|
|
13825
13833
|
var StyledDataCards = styled57(Box)`
|
|
13826
13834
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -13855,7 +13863,7 @@ var DataCards = ({
|
|
|
13855
13863
|
DataCards.displayName = "DataCards_UI";
|
|
13856
13864
|
|
|
13857
13865
|
// src/components/DataCards/DataCardTrend.tsx
|
|
13858
|
-
import styled58 from "styled-components";
|
|
13866
|
+
import { styled as styled58 } from "styled-components";
|
|
13859
13867
|
import { jsx as jsx270, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
13860
13868
|
var StyledDataCardTrend = styled58.div`
|
|
13861
13869
|
${({ $outlook }) => getColorScheme($outlook === "positive" ? "success" : "error")};
|
|
@@ -13893,7 +13901,7 @@ var DataCardTrend = ({
|
|
|
13893
13901
|
};
|
|
13894
13902
|
|
|
13895
13903
|
// src/components/DataCards/DataCardHoverArrow.tsx
|
|
13896
|
-
import styled59 from "styled-components";
|
|
13904
|
+
import { styled as styled59 } from "styled-components";
|
|
13897
13905
|
import { jsx as jsx271 } from "react/jsx-runtime";
|
|
13898
13906
|
var StyledIconContainer = styled59.div`
|
|
13899
13907
|
display: flex;
|
|
@@ -13911,7 +13919,7 @@ var DataCardHoverArrow = () => /* @__PURE__ */ jsx271(StyledIconContainer, { chi
|
|
|
13911
13919
|
DataCardHoverArrow.displayName = "DataCardHoverArrow_UI";
|
|
13912
13920
|
|
|
13913
13921
|
// src/components/DataList/DataList.tsx
|
|
13914
|
-
import styled60 from "styled-components";
|
|
13922
|
+
import { styled as styled60 } from "styled-components";
|
|
13915
13923
|
import { jsx as jsx272 } from "react/jsx-runtime";
|
|
13916
13924
|
var StyledDataList = styled60.dl`
|
|
13917
13925
|
display: grid;
|
|
@@ -13992,7 +14000,7 @@ var DataListItemValue = (props) => {
|
|
|
13992
14000
|
DataListItemValue.displayName = "DataListItemValue_UI";
|
|
13993
14001
|
|
|
13994
14002
|
// src/components/Divider/Divider.tsx
|
|
13995
|
-
import styled61,
|
|
14003
|
+
import { styled as styled61, css as css33 } from "styled-components";
|
|
13996
14004
|
import { jsx as jsx275 } from "react/jsx-runtime";
|
|
13997
14005
|
var horizontalBorderCss = css33`
|
|
13998
14006
|
border-top-color: var(--wui-color-border);
|
|
@@ -14033,7 +14041,7 @@ var Divider = ({ orientation = "horizontal", ...props }) => {
|
|
|
14033
14041
|
Divider.displayName = "Divider_UI";
|
|
14034
14042
|
|
|
14035
14043
|
// src/components/EditableHeading/EditableHeading.tsx
|
|
14036
|
-
import styled62,
|
|
14044
|
+
import { styled as styled62, css as css34 } from "styled-components";
|
|
14037
14045
|
import { useState as useState18, useRef as useRef16 } from "react";
|
|
14038
14046
|
import { Fragment as Fragment8, jsx as jsx276, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
14039
14047
|
var StyledInput = styled62(Input)`
|
|
@@ -14170,13 +14178,13 @@ var EditableHeading = ({
|
|
|
14170
14178
|
|
|
14171
14179
|
// src/components/EditableText/EditableTextDisplay.tsx
|
|
14172
14180
|
import { useContext as useContext6, useRef as useRef17, forwardRef as forwardRef21 } from "react";
|
|
14173
|
-
import styled64,
|
|
14181
|
+
import { styled as styled64, css as css35 } from "styled-components";
|
|
14174
14182
|
import { isNotNil as isNotNil26 } from "@wistia/type-guards";
|
|
14175
14183
|
|
|
14176
14184
|
// src/components/EditableText/EditableTextRoot.tsx
|
|
14177
14185
|
import { createContext as createContext7, useMemo as useMemo13, useState as useState19, useCallback as useCallback16, useId as useId4 } from "react";
|
|
14178
14186
|
import { isNonEmptyString as isNonEmptyString6 } from "@wistia/type-guards";
|
|
14179
|
-
import styled63 from "styled-components";
|
|
14187
|
+
import { styled as styled63 } from "styled-components";
|
|
14180
14188
|
import { jsx as jsx277 } from "react/jsx-runtime";
|
|
14181
14189
|
var LARGE_PADDING = "var(--wui-space-02)";
|
|
14182
14190
|
var SMALL_PADDING = "var(--wui-space-01)";
|
|
@@ -14426,7 +14434,7 @@ var EditableTextDisplay = makePolymorphic(
|
|
|
14426
14434
|
|
|
14427
14435
|
// src/components/EditableText/EditableTextInput.tsx
|
|
14428
14436
|
import { useContext as useContext7, useEffect as useEffect17, useRef as useRef18 } from "react";
|
|
14429
|
-
import styled65 from "styled-components";
|
|
14437
|
+
import { styled as styled65 } from "styled-components";
|
|
14430
14438
|
import { isNotNil as isNotNil27 } from "@wistia/type-guards";
|
|
14431
14439
|
import { jsx as jsx279 } from "react/jsx-runtime";
|
|
14432
14440
|
var StyledInput2 = styled65(Input)`
|
|
@@ -14731,7 +14739,7 @@ var FormErrorSummary = ({ description }) => {
|
|
|
14731
14739
|
|
|
14732
14740
|
// src/components/FormField/FormField.tsx
|
|
14733
14741
|
import { Children as Children10, cloneElement as cloneElement8, useContext as useContext13 } from "react";
|
|
14734
|
-
import styled66 from "styled-components";
|
|
14742
|
+
import { styled as styled66 } from "styled-components";
|
|
14735
14743
|
import { isArray as isArray4, isNotNil as isNotNil28, isNotUndefined as isNotUndefined12, isUndefined as isUndefined4 } from "@wistia/type-guards";
|
|
14736
14744
|
import { Fragment as Fragment9, jsx as jsx283, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
14737
14745
|
var StyledFormField = styled66.div`
|
|
@@ -14927,7 +14935,7 @@ RadioGroup.displayName = "RadioGroup_UI";
|
|
|
14927
14935
|
|
|
14928
14936
|
// src/components/Grid/Grid.tsx
|
|
14929
14937
|
import { forwardRef as forwardRef22 } from "react";
|
|
14930
|
-
import styled67,
|
|
14938
|
+
import { styled as styled67, css as css36 } from "styled-components";
|
|
14931
14939
|
import { isRecord as isRecord5 } from "@wistia/type-guards";
|
|
14932
14940
|
import { jsx as jsx285 } from "react/jsx-runtime";
|
|
14933
14941
|
var DEFAULT_ELEMENT5 = "div";
|
|
@@ -15001,7 +15009,7 @@ GridComponent.displayName = "Grid_UI";
|
|
|
15001
15009
|
var Grid = makePolymorphic(GridComponent);
|
|
15002
15010
|
|
|
15003
15011
|
// src/components/InputClickToCopy/InputClickToCopy.tsx
|
|
15004
|
-
import styled68 from "styled-components";
|
|
15012
|
+
import { styled as styled68 } from "styled-components";
|
|
15005
15013
|
import { forwardRef as forwardRef23, useEffect as useEffect18, useState as useState21 } from "react";
|
|
15006
15014
|
import { isFunction as isFunction3 } from "@wistia/type-guards";
|
|
15007
15015
|
import { jsx as jsx286 } from "react/jsx-runtime";
|
|
@@ -15071,7 +15079,7 @@ var InputClickToCopy = forwardRef23(
|
|
|
15071
15079
|
InputClickToCopy.displayName = "InputClickToCopy_UI";
|
|
15072
15080
|
|
|
15073
15081
|
// src/components/InputPassword/InputPassword.tsx
|
|
15074
|
-
import styled69 from "styled-components";
|
|
15082
|
+
import { styled as styled69 } from "styled-components";
|
|
15075
15083
|
import { forwardRef as forwardRef24, useState as useState22 } from "react";
|
|
15076
15084
|
import { isFunction as isFunction4 } from "@wistia/type-guards";
|
|
15077
15085
|
import { jsx as jsx287 } from "react/jsx-runtime";
|
|
@@ -15118,7 +15126,7 @@ var InputPassword = forwardRef24(
|
|
|
15118
15126
|
InputPassword.displayName = "InputPassword_UI";
|
|
15119
15127
|
|
|
15120
15128
|
// src/components/KeyboardShortcut/KeyboardShortcut.tsx
|
|
15121
|
-
import styled70 from "styled-components";
|
|
15129
|
+
import { styled as styled70 } from "styled-components";
|
|
15122
15130
|
import { isNotNil as isNotNil29 } from "@wistia/type-guards";
|
|
15123
15131
|
import { jsx as jsx288, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
15124
15132
|
var StyledKeyboardShortcut = styled70.div`
|
|
@@ -15228,10 +15236,10 @@ KeyboardShortcut.displayName = "KeyboardShortcut_UI";
|
|
|
15228
15236
|
|
|
15229
15237
|
// src/components/List/List.tsx
|
|
15230
15238
|
import { isNotNil as isNotNil30 } from "@wistia/type-guards";
|
|
15231
|
-
import styled72,
|
|
15239
|
+
import { styled as styled72, css as css37 } from "styled-components";
|
|
15232
15240
|
|
|
15233
15241
|
// src/components/List/ListItem.tsx
|
|
15234
|
-
import styled71 from "styled-components";
|
|
15242
|
+
import { styled as styled71 } from "styled-components";
|
|
15235
15243
|
import { isNil as isNil17 } from "@wistia/type-guards";
|
|
15236
15244
|
import { jsx as jsx289 } from "react/jsx-runtime";
|
|
15237
15245
|
var ListItemComponent = styled71.li`
|
|
@@ -15385,7 +15393,7 @@ var List = ({
|
|
|
15385
15393
|
List.displayName = "List_UI";
|
|
15386
15394
|
|
|
15387
15395
|
// src/components/Mark/Mark.tsx
|
|
15388
|
-
import styled73 from "styled-components";
|
|
15396
|
+
import { styled as styled73 } from "styled-components";
|
|
15389
15397
|
import { jsx as jsx291 } from "react/jsx-runtime";
|
|
15390
15398
|
var StyledMark = styled73.mark`
|
|
15391
15399
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -15407,16 +15415,16 @@ Mark.displayName = "Mark_UI";
|
|
|
15407
15415
|
|
|
15408
15416
|
// src/components/Modal/Modal.tsx
|
|
15409
15417
|
import { forwardRef as forwardRef26 } from "react";
|
|
15410
|
-
import styled78 from "styled-components";
|
|
15418
|
+
import { styled as styled78 } from "styled-components";
|
|
15411
15419
|
import { Root as DialogRoot, Portal as DialogPortal } from "@radix-ui/react-dialog";
|
|
15412
15420
|
import { isNotNil as isNotNil32 } from "@wistia/type-guards";
|
|
15413
15421
|
|
|
15414
15422
|
// src/components/Modal/ModalHeader.tsx
|
|
15415
|
-
import styled75 from "styled-components";
|
|
15423
|
+
import { styled as styled75 } from "styled-components";
|
|
15416
15424
|
import { Title as DialogTitle } from "@radix-ui/react-dialog";
|
|
15417
15425
|
|
|
15418
15426
|
// src/components/Modal/ModalCloseButton.tsx
|
|
15419
|
-
import styled74 from "styled-components";
|
|
15427
|
+
import { styled as styled74 } from "styled-components";
|
|
15420
15428
|
import { Close as DialogClose } from "@radix-ui/react-dialog";
|
|
15421
15429
|
import { jsx as jsx292 } from "react/jsx-runtime";
|
|
15422
15430
|
var CloseButton = styled74(DialogClose)`
|
|
@@ -15483,7 +15491,7 @@ var ModalHeader = ({
|
|
|
15483
15491
|
|
|
15484
15492
|
// src/components/Modal/ModalContent.tsx
|
|
15485
15493
|
import { forwardRef as forwardRef25 } from "react";
|
|
15486
|
-
import styled76,
|
|
15494
|
+
import { styled as styled76, css as css38, keyframes as keyframes4 } from "styled-components";
|
|
15487
15495
|
import { Content as DialogContent } from "@radix-ui/react-dialog";
|
|
15488
15496
|
|
|
15489
15497
|
// src/private/hooks/useFocusRestore/useFocusRestore.ts
|
|
@@ -15650,7 +15658,7 @@ var ModalContent = forwardRef25(
|
|
|
15650
15658
|
|
|
15651
15659
|
// src/components/Modal/ModalOverlay.tsx
|
|
15652
15660
|
import { DialogOverlay } from "@radix-ui/react-dialog";
|
|
15653
|
-
import styled77,
|
|
15661
|
+
import { styled as styled77, keyframes as keyframes5 } from "styled-components";
|
|
15654
15662
|
var backdropShow = keyframes5`
|
|
15655
15663
|
from {
|
|
15656
15664
|
opacity: 0;
|
|
@@ -15784,7 +15792,7 @@ ModalCallout.displayName = "ModalCallout_UI";
|
|
|
15784
15792
|
|
|
15785
15793
|
// src/components/Popover/Popover.tsx
|
|
15786
15794
|
import { Root as Root2, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
|
|
15787
|
-
import styled80,
|
|
15795
|
+
import { styled as styled80, css as css40 } from "styled-components";
|
|
15788
15796
|
|
|
15789
15797
|
// src/private/helpers/getControls/getControlProps.tsx
|
|
15790
15798
|
import { isNotNil as isNotNil33 } from "@wistia/type-guards";
|
|
@@ -15794,7 +15802,7 @@ var getControlProps = (isOpen, onOpenChange) => {
|
|
|
15794
15802
|
|
|
15795
15803
|
// src/components/Popover/PopoverArrow.tsx
|
|
15796
15804
|
import { PopoverArrow as RadixPopoverArrow } from "@radix-ui/react-popover";
|
|
15797
|
-
import styled79,
|
|
15805
|
+
import { styled as styled79, css as css39, keyframes as keyframes6 } from "styled-components";
|
|
15798
15806
|
import { jsx as jsx297, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
15799
15807
|
var StyledPath = styled79.path`
|
|
15800
15808
|
fill: var(--wui-color-border-secondary);
|
|
@@ -15943,7 +15951,7 @@ var Popover = ({
|
|
|
15943
15951
|
Popover.displayName = "Popover_UI";
|
|
15944
15952
|
|
|
15945
15953
|
// src/components/ProgressBar/ProgressBar.tsx
|
|
15946
|
-
import styled81 from "styled-components";
|
|
15954
|
+
import { styled as styled81 } from "styled-components";
|
|
15947
15955
|
import { Root as ProgressRoot, Indicator as ProgressIndicator } from "@radix-ui/react-progress";
|
|
15948
15956
|
import { isNotNil as isNotNil34 } from "@wistia/type-guards";
|
|
15949
15957
|
import { jsx as jsx299, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
@@ -16027,7 +16035,7 @@ ProgressBar.displayName = "ProgressBar_UI";
|
|
|
16027
16035
|
// src/components/Radio/Radio.tsx
|
|
16028
16036
|
import { isNonEmptyString as isNonEmptyString7, isNotUndefined as isNotUndefined13 } from "@wistia/type-guards";
|
|
16029
16037
|
import { forwardRef as forwardRef27, useId as useId5 } from "react";
|
|
16030
|
-
import styled82,
|
|
16038
|
+
import { styled as styled82, css as css41 } from "styled-components";
|
|
16031
16039
|
import { jsx as jsx300, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
16032
16040
|
var sizeSmall2 = css41`
|
|
16033
16041
|
--wui-radio-size: 14px;
|
|
@@ -16178,7 +16186,7 @@ import { forwardRef as forwardRef29 } from "react";
|
|
|
16178
16186
|
|
|
16179
16187
|
// src/components/RadioCard/RadioCardRoot.tsx
|
|
16180
16188
|
import { forwardRef as forwardRef28, useId as useId6 } from "react";
|
|
16181
|
-
import styled83,
|
|
16189
|
+
import { styled as styled83, css as css42 } from "styled-components";
|
|
16182
16190
|
import { isNonEmptyString as isNonEmptyString8, isNotUndefined as isNotUndefined14 } from "@wistia/type-guards";
|
|
16183
16191
|
import { jsx as jsx301, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
16184
16192
|
var checkedStyles = css42`
|
|
@@ -16339,11 +16347,11 @@ var RadioCardRoot = forwardRef28(
|
|
|
16339
16347
|
RadioCardRoot.displayName = "RadioCardRoot_UI";
|
|
16340
16348
|
|
|
16341
16349
|
// src/components/RadioCard/RadioCardDefaultLayout.tsx
|
|
16342
|
-
import styled85 from "styled-components";
|
|
16350
|
+
import { styled as styled85 } from "styled-components";
|
|
16343
16351
|
import { isNotNil as isNotNil35 } from "@wistia/type-guards";
|
|
16344
16352
|
|
|
16345
16353
|
// src/components/RadioCard/RadioCardIndicator.tsx
|
|
16346
|
-
import styled84 from "styled-components";
|
|
16354
|
+
import { styled as styled84 } from "styled-components";
|
|
16347
16355
|
var RadioCardIndicator = styled84.div`
|
|
16348
16356
|
--wui-radio-card-indicator-size: 14px;
|
|
16349
16357
|
--wui-radio-card-indicator-background-color: var(--wui-color-bg-surface);
|
|
@@ -16441,7 +16449,7 @@ var RadioCardDefaultLayout = ({
|
|
|
16441
16449
|
RadioCardDefaultLayout.displayName = "RadioCardDefaultLayout_UI";
|
|
16442
16450
|
|
|
16443
16451
|
// src/components/RadioCard/RadioCardChildrenContainer.tsx
|
|
16444
|
-
import styled86 from "styled-components";
|
|
16452
|
+
import { styled as styled86 } from "styled-components";
|
|
16445
16453
|
var RadioCardChildrenContainer = styled86.div`
|
|
16446
16454
|
flex: 1 1 auto;
|
|
16447
16455
|
`;
|
|
@@ -16501,7 +16509,7 @@ RadioCardImage.displayName = "RadioCardImage_UI";
|
|
|
16501
16509
|
|
|
16502
16510
|
// src/components/ScrollArea/ScrollArea.tsx
|
|
16503
16511
|
import { forwardRef as forwardRef31, useCallback as useCallback18, useEffect as useEffect20, useMemo as useMemo15, useRef as useRef21, useState as useState23 } from "react";
|
|
16504
|
-
import styled87 from "styled-components";
|
|
16512
|
+
import { styled as styled87 } from "styled-components";
|
|
16505
16513
|
import { throttle } from "throttle-debounce";
|
|
16506
16514
|
import { jsx as jsx305, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
16507
16515
|
var SHADOW_SIZE_PX = 8;
|
|
@@ -16605,7 +16613,7 @@ ScrollArea.displayName = "ScrollArea_UI";
|
|
|
16605
16613
|
|
|
16606
16614
|
// src/components/SegmentedControl/SegmentedControl.tsx
|
|
16607
16615
|
import { forwardRef as forwardRef32 } from "react";
|
|
16608
|
-
import styled89,
|
|
16616
|
+
import { styled as styled89, css as css44 } from "styled-components";
|
|
16609
16617
|
import { Root as ToggleGroupRoot2 } from "@radix-ui/react-toggle-group";
|
|
16610
16618
|
import { isNil as isNil18 } from "@wistia/type-guards";
|
|
16611
16619
|
|
|
@@ -16643,7 +16651,7 @@ var useSelectedItemStyle = () => {
|
|
|
16643
16651
|
};
|
|
16644
16652
|
|
|
16645
16653
|
// src/components/SegmentedControl/SelectedItemIndicator.tsx
|
|
16646
|
-
import styled88,
|
|
16654
|
+
import { styled as styled88, css as css43 } from "styled-components";
|
|
16647
16655
|
import { isUndefined as isUndefined5 } from "@wistia/type-guards";
|
|
16648
16656
|
|
|
16649
16657
|
// src/components/SegmentedControl/useSegmentedControlValue.tsx
|
|
@@ -16742,7 +16750,7 @@ SegmentedControl.displayName = "SegmentedControl_UI";
|
|
|
16742
16750
|
|
|
16743
16751
|
// src/components/SegmentedControl/SegmentedControlItem.tsx
|
|
16744
16752
|
import { forwardRef as forwardRef33, useEffect as useEffect21, useRef as useRef22 } from "react";
|
|
16745
|
-
import styled90,
|
|
16753
|
+
import { styled as styled90, css as css45 } from "styled-components";
|
|
16746
16754
|
import { Item as ToggleGroupItem2 } from "@radix-ui/react-toggle-group";
|
|
16747
16755
|
import { isNotNil as isNotNil36 } from "@wistia/type-guards";
|
|
16748
16756
|
import { jsxs as jsxs60 } from "react/jsx-runtime";
|
|
@@ -16887,7 +16895,7 @@ import {
|
|
|
16887
16895
|
ScrollDownButton
|
|
16888
16896
|
} from "@radix-ui/react-select";
|
|
16889
16897
|
import { forwardRef as forwardRef34 } from "react";
|
|
16890
|
-
import styled91,
|
|
16898
|
+
import { styled as styled91, css as css46 } from "styled-components";
|
|
16891
16899
|
import { jsx as jsx309, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
16892
16900
|
var StyledTrigger2 = styled91(Trigger3)`
|
|
16893
16901
|
${({ $colorScheme }) => getColorScheme($colorScheme)};
|
|
@@ -17034,7 +17042,7 @@ Select.displayName = "Select_UI";
|
|
|
17034
17042
|
// src/components/Select/SelectOption.tsx
|
|
17035
17043
|
import { Item, ItemText, ItemIndicator } from "@radix-ui/react-select";
|
|
17036
17044
|
import { forwardRef as forwardRef35 } from "react";
|
|
17037
|
-
import styled92 from "styled-components";
|
|
17045
|
+
import { styled as styled92 } from "styled-components";
|
|
17038
17046
|
import { isNotNil as isNotNil37 } from "@wistia/type-guards";
|
|
17039
17047
|
import { jsx as jsx310, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
17040
17048
|
var StyledItem = styled92(Item)`
|
|
@@ -17092,7 +17100,7 @@ SelectOption.displayName = "SelectOption_UI";
|
|
|
17092
17100
|
|
|
17093
17101
|
// src/components/Select/SelectOptionGroup.tsx
|
|
17094
17102
|
import { Group, Label as Label3 } from "@radix-ui/react-select";
|
|
17095
|
-
import styled93 from "styled-components";
|
|
17103
|
+
import { styled as styled93 } from "styled-components";
|
|
17096
17104
|
import { jsx as jsx311, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
17097
17105
|
var StyledLabel4 = styled93(Label3)`
|
|
17098
17106
|
padding: var(--wui-select-option-padding);
|
|
@@ -17118,7 +17126,7 @@ import {
|
|
|
17118
17126
|
Range as RadixSliderRange,
|
|
17119
17127
|
Thumb as RadixSliderThumb
|
|
17120
17128
|
} from "@radix-ui/react-slider";
|
|
17121
|
-
import styled94 from "styled-components";
|
|
17129
|
+
import { styled as styled94 } from "styled-components";
|
|
17122
17130
|
import { isNonEmptyString as isNonEmptyString9 } from "@wistia/type-guards";
|
|
17123
17131
|
import { jsx as jsx312, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
17124
17132
|
var SliderContainer = styled94.div`
|
|
@@ -17244,7 +17252,7 @@ var Slider = ({
|
|
|
17244
17252
|
Slider.displayName = "Slider_UI";
|
|
17245
17253
|
|
|
17246
17254
|
// src/components/Table/Table.tsx
|
|
17247
|
-
import styled95,
|
|
17255
|
+
import { styled as styled95, css as css47 } from "styled-components";
|
|
17248
17256
|
import { jsx as jsx313 } from "react/jsx-runtime";
|
|
17249
17257
|
var StyledTable = styled95.table`
|
|
17250
17258
|
width: 100%;
|
|
@@ -17289,7 +17297,7 @@ var Table = ({
|
|
|
17289
17297
|
|
|
17290
17298
|
// src/components/Table/TableBody.tsx
|
|
17291
17299
|
import "react";
|
|
17292
|
-
import styled96 from "styled-components";
|
|
17300
|
+
import { styled as styled96 } from "styled-components";
|
|
17293
17301
|
|
|
17294
17302
|
// src/components/Table/TableSectionContext.ts
|
|
17295
17303
|
import { createContext as createContext11 } from "react";
|
|
@@ -17304,7 +17312,7 @@ var TableBody = ({ children, ...props }) => {
|
|
|
17304
17312
|
|
|
17305
17313
|
// src/components/Table/TableCell.tsx
|
|
17306
17314
|
import { useContext as useContext17 } from "react";
|
|
17307
|
-
import styled97,
|
|
17315
|
+
import { styled as styled97, css as css48 } from "styled-components";
|
|
17308
17316
|
import { jsx as jsx315 } from "react/jsx-runtime";
|
|
17309
17317
|
var sharedStyles = css48`
|
|
17310
17318
|
color: var(--wui-color-text);
|
|
@@ -17333,7 +17341,7 @@ var TableCell = ({ children, ...props }) => {
|
|
|
17333
17341
|
|
|
17334
17342
|
// src/components/Table/TableFoot.tsx
|
|
17335
17343
|
import "react";
|
|
17336
|
-
import styled98 from "styled-components";
|
|
17344
|
+
import { styled as styled98 } from "styled-components";
|
|
17337
17345
|
import { jsx as jsx316 } from "react/jsx-runtime";
|
|
17338
17346
|
var StyledTableFoot = styled98.tfoot``;
|
|
17339
17347
|
var TableFoot = ({ children, ...props }) => {
|
|
@@ -17342,7 +17350,7 @@ var TableFoot = ({ children, ...props }) => {
|
|
|
17342
17350
|
|
|
17343
17351
|
// src/components/Table/TableHead.tsx
|
|
17344
17352
|
import "react";
|
|
17345
|
-
import styled99 from "styled-components";
|
|
17353
|
+
import { styled as styled99 } from "styled-components";
|
|
17346
17354
|
import { jsx as jsx317 } from "react/jsx-runtime";
|
|
17347
17355
|
var StyledThead = styled99.thead``;
|
|
17348
17356
|
var TableHead = ({ children, ...props }) => {
|
|
@@ -17350,7 +17358,7 @@ var TableHead = ({ children, ...props }) => {
|
|
|
17350
17358
|
};
|
|
17351
17359
|
|
|
17352
17360
|
// src/components/Table/TableRow.tsx
|
|
17353
|
-
import styled100 from "styled-components";
|
|
17361
|
+
import { styled as styled100 } from "styled-components";
|
|
17354
17362
|
import { jsx as jsx318 } from "react/jsx-runtime";
|
|
17355
17363
|
var StyledTableRow = styled100.tr``;
|
|
17356
17364
|
var TableRow = ({ children, ...props }) => {
|
|
@@ -17417,13 +17425,13 @@ TabsContent.displayName = "TabsContent_UI";
|
|
|
17417
17425
|
|
|
17418
17426
|
// src/components/Tabs/TabsList.tsx
|
|
17419
17427
|
import { List as RadixTabList } from "@radix-ui/react-tabs";
|
|
17420
|
-
import styled102 from "styled-components";
|
|
17428
|
+
import { styled as styled102 } from "styled-components";
|
|
17421
17429
|
|
|
17422
17430
|
// src/components/Tabs/SelectedTabIndicator.tsx
|
|
17423
17431
|
import { isUndefined as isUndefined6 } from "@wistia/type-guards";
|
|
17424
17432
|
|
|
17425
17433
|
// src/components/Tabs/TabsSelectedItemIndicatorDiv.tsx
|
|
17426
|
-
import styled101 from "styled-components";
|
|
17434
|
+
import { styled as styled101 } from "styled-components";
|
|
17427
17435
|
var TabsSelectedItemIndicatorDiv = styled101(SelectedItemIndicatorDiv)`
|
|
17428
17436
|
&:has(~ button[role='tab']:focus-visible) {
|
|
17429
17437
|
outline: 2px solid var(--wui-color-focus-ring);
|
|
@@ -17472,7 +17480,7 @@ import { forwardRef as forwardRef36, useEffect as useEffect22, useRef as useRef2
|
|
|
17472
17480
|
import { isNotNil as isNotNil39 } from "@wistia/type-guards";
|
|
17473
17481
|
|
|
17474
17482
|
// src/components/Tabs/StyledRadixTabsTrigger.tsx
|
|
17475
|
-
import styled103 from "styled-components";
|
|
17483
|
+
import { styled as styled103 } from "styled-components";
|
|
17476
17484
|
import { Trigger as RadixTabsTrigger } from "@radix-ui/react-tabs";
|
|
17477
17485
|
var StyledRadixTabsTrigger = styled103(RadixTabsTrigger)`
|
|
17478
17486
|
${segmentedControlItemStyles}
|
|
@@ -17535,7 +17543,7 @@ var TabsTrigger = forwardRef36(
|
|
|
17535
17543
|
TabsTrigger.displayName = "TabsTrigger_UI";
|
|
17536
17544
|
|
|
17537
17545
|
// src/components/Thumbnail/ThumbnailBadge.tsx
|
|
17538
|
-
import styled104 from "styled-components";
|
|
17546
|
+
import { styled as styled104 } from "styled-components";
|
|
17539
17547
|
import { isNotNil as isNotNil40 } from "@wistia/type-guards";
|
|
17540
17548
|
import { jsx as jsx323, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
17541
17549
|
var StyledThumbnailBadge = styled104.div`
|
|
@@ -17573,7 +17581,7 @@ ThumbnailBadge.displayName = "ThumbnailBadge_UI";
|
|
|
17573
17581
|
|
|
17574
17582
|
// src/components/Thumbnail/Thumbnail.tsx
|
|
17575
17583
|
import { forwardRef as forwardRef37, useState as useState26, useRef as useRef24, useCallback as useCallback20, useMemo as useMemo17 } from "react";
|
|
17576
|
-
import styled106 from "styled-components";
|
|
17584
|
+
import { styled as styled106 } from "styled-components";
|
|
17577
17585
|
import { isNil as isNil19, isNotNil as isNotNil43, isUndefined as isUndefined7, isEmptyString as isEmptyString2, isString as isString4 } from "@wistia/type-guards";
|
|
17578
17586
|
|
|
17579
17587
|
// src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
|
|
@@ -17709,7 +17717,7 @@ var getBackgroundGradient = (gradientName = void 0) => {
|
|
|
17709
17717
|
};
|
|
17710
17718
|
|
|
17711
17719
|
// src/components/Thumbnail/ThumbnailStoryboardViewer.tsx
|
|
17712
|
-
import styled105 from "styled-components";
|
|
17720
|
+
import { styled as styled105 } from "styled-components";
|
|
17713
17721
|
import { isNotNil as isNotNil42 } from "@wistia/type-guards";
|
|
17714
17722
|
import { jsx as jsx324, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
17715
17723
|
var ScrubLine = styled105.div`
|
|
@@ -18041,7 +18049,7 @@ Thumbnail.displayName = "Thumbnail_UI";
|
|
|
18041
18049
|
|
|
18042
18050
|
// src/components/ThumbnailCollage/ThumbnailCollage.tsx
|
|
18043
18051
|
import React5 from "react";
|
|
18044
|
-
import styled107 from "styled-components";
|
|
18052
|
+
import { styled as styled107 } from "styled-components";
|
|
18045
18053
|
import { isNonEmptyArray } from "@wistia/type-guards";
|
|
18046
18054
|
import { jsx as jsx326 } from "react/jsx-runtime";
|
|
18047
18055
|
var StyledThumbnailCollage = styled107.div`
|
|
@@ -18147,7 +18155,7 @@ var ThumbnailCollage = ({
|
|
|
18147
18155
|
};
|
|
18148
18156
|
|
|
18149
18157
|
// src/components/WistiaLogo/WistiaLogo.tsx
|
|
18150
|
-
import styled108,
|
|
18158
|
+
import { styled as styled108, css as css50 } from "styled-components";
|
|
18151
18159
|
import { isNotNil as isNotNil44 } from "@wistia/type-guards";
|
|
18152
18160
|
import { jsx as jsx327, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
18153
18161
|
var renderBrandmark = (brandmarkColor, iconOnly) => {
|
|
@@ -18272,7 +18280,7 @@ var WistiaLogo = ({
|
|
|
18272
18280
|
WistiaLogo.displayName = "WistiaLogo_UI";
|
|
18273
18281
|
|
|
18274
18282
|
// src/components/SplitButton/SplitButton.tsx
|
|
18275
|
-
import styled109 from "styled-components";
|
|
18283
|
+
import { styled as styled109 } from "styled-components";
|
|
18276
18284
|
import { isNotNil as isNotNil45 } from "@wistia/type-guards";
|
|
18277
18285
|
import { cloneElement as cloneElement9 } from "react";
|
|
18278
18286
|
import { jsx as jsx328, jsxs as jsxs71 } from "react/jsx-runtime";
|