@wistia/ui 0.18.12-beta.d715aa44.cf4d63b → 0.18.12-beta.e4686a50.87e9da0

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.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.18.12-beta.d715aa44.cf4d63b
3
+ * @license @wistia/ui v0.18.12-beta.e4686a50.87e9da0
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -3262,11 +3262,11 @@ var useToast = () => {
3262
3262
 
3263
3263
  // src/components/ActionButton/ActionButton.tsx
3264
3264
  import { forwardRef as forwardRef3 } from "react";
3265
- import { styled as styled6, css as css19 } from "styled-components";
3265
+ import { styled as styled7, css as css19 } from "styled-components";
3266
3266
 
3267
3267
  // src/components/Button/Button.tsx
3268
3268
  import { forwardRef as forwardRef2 } from "react";
3269
- import { styled as styled5 } from "styled-components";
3269
+ import { styled as styled6 } from "styled-components";
3270
3270
  import { isNotNil as isNotNil6, isNotUndefined as isNotUndefined4 } from "@wistia/type-guards";
3271
3271
 
3272
3272
  // src/css/buttonResetCss.tsx
@@ -3472,7 +3472,7 @@ var buttonSizeStyles = {
3472
3472
 
3473
3473
  // src/components/Icon/Icon.tsx
3474
3474
  import { isNil as isNil5 } from "@wistia/type-guards";
3475
- import { styled as styled3, css as css18 } from "styled-components";
3475
+ import { styled as styled4, css as css18 } from "styled-components";
3476
3476
 
3477
3477
  // src/components/Icon/icons/AbTestIcon.tsx
3478
3478
  import { jsx as jsx7 } from "react/jsx-runtime";
@@ -6806,35 +6806,35 @@ var SpeedIcon = (props) => /* @__PURE__ */ jsx172(
6806
6806
  );
6807
6807
 
6808
6808
  // src/components/Icon/icons/SpinnerIcon.tsx
6809
- import { jsx as jsx173, jsxs as jsxs10 } from "react/jsx-runtime";
6809
+ import styled3, { keyframes } from "styled-components";
6810
+ import { jsx as jsx173 } from "react/jsx-runtime";
6811
+ var spin = keyframes`
6812
+ from {
6813
+ transform: rotate(0deg);
6814
+ }
6815
+ to {
6816
+ transform: rotate(360deg);
6817
+ }
6818
+ `;
6819
+ var SpinnerGroup = styled3.g`
6820
+ animation: ${spin} 1.5s linear infinite;
6821
+ transform-origin: 50% 50%;
6822
+ `;
6810
6823
  var SpinnerIcon = (props) => /* @__PURE__ */ jsx173(
6811
6824
  "svg",
6812
6825
  {
6813
6826
  ...props,
6814
6827
  viewBox: "0 0 24 24",
6815
6828
  xmlns: "http://www.w3.org/2000/svg",
6816
- children: /* @__PURE__ */ jsxs10("g", { children: [
6817
- /* @__PURE__ */ jsx173(
6818
- "path",
6819
- {
6820
- clipRule: "evenodd",
6821
- d: "M11.9999 5.33314C8.31802 5.33314 5.33326 8.31788 5.33326 11.9998C5.33326 15.6817 8.31802 18.6664 11.9999 18.6664C15.6818 18.6664 18.6666 15.6817 18.6666 11.9998C18.6666 11.0793 19.4127 10.3331 20.3332 10.3331C21.2537 10.3331 21.9999 11.0793 21.9999 11.9998C21.9999 17.5226 17.5227 21.9998 11.9999 21.9998C6.47708 21.9998 1.99994 17.5226 1.99994 11.9998C1.99994 6.47697 6.47708 1.99981 11.9999 1.99981C12.9204 1.99981 13.6666 2.74598 13.6666 3.66647C13.6666 4.58697 12.9204 5.33314 11.9999 5.33314Z",
6822
- fill: "currentColor",
6823
- fillRule: "evenodd"
6824
- }
6825
- ),
6826
- /* @__PURE__ */ jsx173(
6827
- "animateTransform",
6828
- {
6829
- attributeName: "transform",
6830
- dur: "1.5s",
6831
- keyTimes: "0;1",
6832
- repeatCount: "indefinite",
6833
- type: "rotate",
6834
- values: "0 12 12;360 12 12"
6835
- }
6836
- )
6837
- ] })
6829
+ children: /* @__PURE__ */ jsx173(SpinnerGroup, { children: /* @__PURE__ */ jsx173(
6830
+ "path",
6831
+ {
6832
+ clipRule: "evenodd",
6833
+ d: "M11.9999 5.33314C8.31802 5.33314 5.33326 8.31788 5.33326 11.9998C5.33326 15.6817 8.31802 18.6664 11.9999 18.6664C15.6818 18.6664 18.6666 15.6817 18.6666 11.9998C18.6666 11.0793 19.4127 10.3331 20.3332 10.3331C21.2537 10.3331 21.9999 11.0793 21.9999 11.9998C21.9999 17.5226 17.5227 21.9998 11.9999 21.9998C6.47708 21.9998 1.99994 17.5226 1.99994 11.9998C1.99994 6.47697 6.47708 1.99981 11.9999 1.99981C12.9204 1.99981 13.6666 2.74598 13.6666 3.66647C13.6666 4.58697 12.9204 5.33314 11.9999 5.33314Z",
6834
+ fill: "currentColor",
6835
+ fillRule: "evenodd"
6836
+ }
6837
+ ) })
6838
6838
  }
6839
6839
  );
6840
6840
 
@@ -7627,7 +7627,7 @@ var iconInlineStyle = css18`
7627
7627
  position: relative;
7628
7628
  }
7629
7629
  `;
7630
- var StyledIcon = styled3.svg`
7630
+ var StyledIcon = styled4.svg`
7631
7631
  ${({ $colorScheme }) => getColorScheme($colorScheme ?? "inherit")}
7632
7632
  --wui-icon-size: var(--wui-icon-inline-size, ${({ $height }) => $height}px);
7633
7633
  --wui-icon-vertical-align: middle;
@@ -7685,10 +7685,10 @@ Icon.displayName = "Icon_UI";
7685
7685
 
7686
7686
  // src/components/Link/Link.tsx
7687
7687
  import { forwardRef } from "react";
7688
- import { styled as styled4 } from "styled-components";
7688
+ import { styled as styled5 } from "styled-components";
7689
7689
  import { Link as RouterLink, useInRouterContext } from "react-router";
7690
7690
  import { isFunction as isFunction2, isNil as isNil6, isNotNil as isNotNil5, isNotUndefined as isNotUndefined3, isUndefined as isUndefined2 } from "@wistia/type-guards";
7691
- import { jsx as jsx203, jsxs as jsxs11 } from "react/jsx-runtime";
7691
+ import { jsx as jsx203, jsxs as jsxs10 } from "react/jsx-runtime";
7692
7692
  var generateHref = (href, type, disabled) => {
7693
7693
  if (disabled || isNil6(href)) {
7694
7694
  return void 0;
@@ -7704,7 +7704,7 @@ var generateHref = (href, type, disabled) => {
7704
7704
  };
7705
7705
  var isButton = (props) => isUndefined2(props.href);
7706
7706
  var isLink = (props) => isNotUndefined3(props.href);
7707
- var StyledLink = styled4.a`
7707
+ var StyledLink = styled5.a`
7708
7708
  ${({ href }) => isNil6(href) && buttonResetCss};
7709
7709
  ${({ $colorScheme }) => getColorScheme($colorScheme)}
7710
7710
  cursor: ${({ $disabled }) => $disabled ? "not-allowed" : "pointer"};
@@ -7812,7 +7812,7 @@ var Link = forwardRef(
7812
7812
  ...externalLinkProps,
7813
7813
  ...routerSpecificProps
7814
7814
  };
7815
- return /* @__PURE__ */ jsxs11(
7815
+ return /* @__PURE__ */ jsxs10(
7816
7816
  StyledLink,
7817
7817
  {
7818
7818
  ...combinedProps,
@@ -7831,9 +7831,9 @@ var Link = forwardRef(
7831
7831
  Link.displayName = "Link_UI";
7832
7832
 
7833
7833
  // src/components/Button/Button.tsx
7834
- import { Fragment as Fragment2, jsx as jsx204, jsxs as jsxs12 } from "react/jsx-runtime";
7834
+ import { Fragment as Fragment2, jsx as jsx204, jsxs as jsxs11 } from "react/jsx-runtime";
7835
7835
  var isLink2 = (props) => isNotUndefined4(props.href);
7836
- var StyledButton = styled5.button`
7836
+ var StyledButton = styled6.button`
7837
7837
  ${buttonResetCss}
7838
7838
  ${({ $colorScheme }) => getColorScheme($colorScheme)}
7839
7839
  ${({ $size }) => buttonSizeStyles[$size]}
@@ -7842,7 +7842,7 @@ var StyledButton = styled5.button`
7842
7842
  ${({ $fullWidth }) => $fullWidth && "width: 100%;"}
7843
7843
  text-align: center;
7844
7844
  `;
7845
- var StyledButtonContent = styled5.div`
7845
+ var StyledButtonContent = styled6.div`
7846
7846
  align-items: center;
7847
7847
  display: inline-flex;
7848
7848
  flex-grow: 1;
@@ -7854,10 +7854,10 @@ var StyledButtonContent = styled5.div`
7854
7854
  ${({ $hasLeftIcon }) => $hasLeftIcon && "padding-left: 0;"}
7855
7855
  ${({ $hasRightIcon }) => $hasRightIcon && "padding-right: 0;"}
7856
7856
  `;
7857
- var StyledButtonContentLabel = styled5.span`
7857
+ var StyledButtonContentLabel = styled6.span`
7858
7858
  flex: ${({ $fullWidth }) => $fullWidth ? "initial" : "1"};
7859
7859
  `;
7860
- var StyledButtonLoading = styled5.div`
7860
+ var StyledButtonLoading = styled6.div`
7861
7861
  position: absolute;
7862
7862
  display: flex;
7863
7863
  `;
@@ -7868,9 +7868,9 @@ var ButtonContent = ({
7868
7868
  children,
7869
7869
  fullWidth = false
7870
7870
  }) => {
7871
- return /* @__PURE__ */ jsxs12(Fragment2, { children: [
7871
+ return /* @__PURE__ */ jsxs11(Fragment2, { children: [
7872
7872
  isLoading ? /* @__PURE__ */ jsx204(StyledButtonLoading, { children: /* @__PURE__ */ jsx204(Icon, { type: "spinner" }) }) : null,
7873
- /* @__PURE__ */ jsxs12(
7873
+ /* @__PURE__ */ jsxs11(
7874
7874
  StyledButtonContent,
7875
7875
  {
7876
7876
  $hasLeftIcon: isNotNil6(leftIcon),
@@ -7974,8 +7974,8 @@ var Button = forwardRef2(
7974
7974
  Button.displayName = "Button_UI";
7975
7975
 
7976
7976
  // src/components/ActionButton/ActionButton.tsx
7977
- import { jsx as jsx205, jsxs as jsxs13 } from "react/jsx-runtime";
7978
- var StyledActionButton = styled6(Button)`
7977
+ import { jsx as jsx205, jsxs as jsxs12 } from "react/jsx-runtime";
7978
+ var StyledActionButton = styled7(Button)`
7979
7979
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
7980
7980
  display: grid;
7981
7981
  grid-template-columns: 24px 1fr;
@@ -8020,7 +8020,7 @@ var StyledActionButton = styled6(Button)`
8020
8020
  }
8021
8021
  }
8022
8022
  `;
8023
- var StyledMainIcon = styled6.div`
8023
+ var StyledMainIcon = styled7.div`
8024
8024
  grid-column: 1;
8025
8025
  grid-row: 1;
8026
8026
  width: 24px;
@@ -8035,7 +8035,7 @@ var StyledMainIcon = styled6.div`
8035
8035
  }
8036
8036
  }
8037
8037
  `;
8038
- var StyledSecondaryIcon = styled6.div`
8038
+ var StyledSecondaryIcon = styled7.div`
8039
8039
  grid-column: 2;
8040
8040
  grid-row: 1;
8041
8041
  width: 100%;
@@ -8062,7 +8062,7 @@ var StyledSecondaryIcon = styled6.div`
8062
8062
  }
8063
8063
  }
8064
8064
  `;
8065
- var StyledLabel = styled6.span`
8065
+ var StyledLabel = styled7.span`
8066
8066
  font-family: var(--wui-typography-heading-4-family);
8067
8067
  font-size: var(--wui-typography-heading-4-size);
8068
8068
  font-weight: var(--wui-typography-heading-4-weight);
@@ -8089,7 +8089,7 @@ var ActionButton = forwardRef3(
8089
8089
  "menu-up": "caret-up",
8090
8090
  "menu-down": "caret-down"
8091
8091
  };
8092
- return /* @__PURE__ */ jsxs13(
8092
+ return /* @__PURE__ */ jsxs12(
8093
8093
  StyledActionButton,
8094
8094
  {
8095
8095
  ...props,
@@ -8118,7 +8118,7 @@ ActionButton.displayName = "ActionButton_UI";
8118
8118
  // src/components/Avatar/Avatar.tsx
8119
8119
  import { useState as useState9, useMemo as useMemo4, useEffect as useEffect7 } from "react";
8120
8120
  import { isNil as isNil8, isNotNil as isNotNil8 } from "@wistia/type-guards";
8121
- import { styled as styled9 } from "styled-components";
8121
+ import { styled as styled10 } from "styled-components";
8122
8122
 
8123
8123
  // src/components/Avatar/formatNameForDisplay.tsx
8124
8124
  import { isNil as isNil7, isString, isEmptyString } from "@wistia/type-guards";
@@ -8135,7 +8135,7 @@ var formatNameForDisplay = (name) => {
8135
8135
  };
8136
8136
 
8137
8137
  // src/components/Image/Image.tsx
8138
- import { styled as styled7 } from "styled-components";
8138
+ import { styled as styled8 } from "styled-components";
8139
8139
  import { isNotNil as isNotNil7 } from "@wistia/type-guards";
8140
8140
  import { jsx as jsx206 } from "react/jsx-runtime";
8141
8141
  var getFillStyle = (fillContainer) => {
@@ -8153,7 +8153,7 @@ var getFillStyle = (fillContainer) => {
8153
8153
  }
8154
8154
  return void 0;
8155
8155
  };
8156
- var StyledImage = styled7.img`
8156
+ var StyledImage = styled8.img`
8157
8157
  border-radius: ${({ $borderRadius }) => isNotNil7($borderRadius) ? `var(--wui-${$borderRadius})` : void 0};
8158
8158
  ${({ $fillContainer }) => getFillStyle($fillContainer)};
8159
8159
  object-fit: ${({ $objFit }) => $objFit};
@@ -8188,7 +8188,7 @@ var Image = ({
8188
8188
  Image.displayName = "Image_UI";
8189
8189
 
8190
8190
  // src/components/ColorSchemeWrapper/ColorSchemeWrapper.tsx
8191
- import { styled as styled8 } from "styled-components";
8191
+ import { styled as styled9 } from "styled-components";
8192
8192
  import { jsx as jsx207 } from "react/jsx-runtime";
8193
8193
  var defaultColorSchemeOptions = ["standard", "inherit"];
8194
8194
  var semanticColorSchemeOptions = ["error", "info", "success", "warning"];
@@ -8212,7 +8212,7 @@ var colorSchemeOptions = [
8212
8212
  ...brandColorSchemeOptions,
8213
8213
  ...vendorColorSchemeOptions
8214
8214
  ];
8215
- var StyledColorSchemeWrapper = styled8.div`
8215
+ var StyledColorSchemeWrapper = styled9.div`
8216
8216
  ${({ $colorScheme, $nav }) => getColorScheme($nav ? "nav" : $colorScheme)};
8217
8217
  `;
8218
8218
  var ColorSchemeWrapper = ({
@@ -8232,13 +8232,13 @@ var ColorSchemeWrapper = ({
8232
8232
  ColorSchemeWrapper.displayName = "ColorSchemeWrapper_UI";
8233
8233
 
8234
8234
  // src/components/Avatar/Avatar.tsx
8235
- import { jsx as jsx208, jsxs as jsxs14 } from "react/jsx-runtime";
8235
+ import { jsx as jsx208, jsxs as jsxs13 } from "react/jsx-runtime";
8236
8236
  var avatarSizeMap = {
8237
8237
  sm: 16,
8238
8238
  md: 24,
8239
8239
  lg: 32
8240
8240
  };
8241
- var Initial = ({ initial }) => /* @__PURE__ */ jsxs14(
8241
+ var Initial = ({ initial }) => /* @__PURE__ */ jsxs13(
8242
8242
  "svg",
8243
8243
  {
8244
8244
  "data-wui-avatar-initial": true,
@@ -8268,7 +8268,7 @@ var Initial = ({ initial }) => /* @__PURE__ */ jsxs14(
8268
8268
  ]
8269
8269
  }
8270
8270
  );
8271
- var AvatarWrapper = styled9.div`
8271
+ var AvatarWrapper = styled10.div`
8272
8272
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8273
8273
  width: ${({ $heightAndWidth }) => $heightAndWidth}px;
8274
8274
  height: ${({ $heightAndWidth }) => $heightAndWidth}px;
@@ -8343,7 +8343,7 @@ var Avatar = ({
8343
8343
  };
8344
8344
  const avatarSize = heightAndWidth ?? avatarSizeMap[size];
8345
8345
  const avatarColor = useMemo4(() => chooseColorScheme(name), [name]);
8346
- return /* @__PURE__ */ jsxs14(
8346
+ return /* @__PURE__ */ jsxs13(
8347
8347
  AvatarWrapper,
8348
8348
  {
8349
8349
  $colorScheme: avatarColor,
@@ -8370,10 +8370,10 @@ Avatar.displayName = "Avatar_UI";
8370
8370
 
8371
8371
  // src/components/Badge/Badge.tsx
8372
8372
  import { forwardRef as forwardRef4 } from "react";
8373
- import { styled as styled10 } from "styled-components";
8373
+ import { styled as styled11 } from "styled-components";
8374
8374
  import { isNotNil as isNotNil9 } from "@wistia/type-guards";
8375
- import { jsx as jsx209, jsxs as jsxs15 } from "react/jsx-runtime";
8376
- var StyledBadge = styled10.div`
8375
+ import { jsx as jsx209, jsxs as jsxs14 } from "react/jsx-runtime";
8376
+ var StyledBadge = styled11.div`
8377
8377
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8378
8378
  align-items: center;
8379
8379
  background-color: var(--wui-color-bg-surface-secondary);
@@ -8402,7 +8402,7 @@ var StyledBadge = styled10.div`
8402
8402
  var Badge = forwardRef4(
8403
8403
  ({ colorScheme = "inherit", label, icon, variant = "default", ...props }, ref) => {
8404
8404
  const hasIcon = isNotNil9(icon);
8405
- return /* @__PURE__ */ jsxs15(
8405
+ return /* @__PURE__ */ jsxs14(
8406
8406
  StyledBadge,
8407
8407
  {
8408
8408
  ref,
@@ -8422,12 +8422,12 @@ Badge.displayName = "Badge_UI";
8422
8422
 
8423
8423
  // src/components/Banner/Banner.tsx
8424
8424
  import { useEffect as useEffect8, useState as useState10, useMemo as useMemo5 } from "react";
8425
- import { styled as styled16 } from "styled-components";
8425
+ import { styled as styled17 } from "styled-components";
8426
8426
  import { isNil as isNil11, isNotNil as isNotNil13 } from "@wistia/type-guards";
8427
8427
 
8428
8428
  // src/components/Box/Box.tsx
8429
8429
  import { forwardRef as forwardRef5 } from "react";
8430
- import { styled as styled11, css as css20 } from "styled-components";
8430
+ import { styled as styled12, css as css20 } from "styled-components";
8431
8431
  import { isNotNil as isNotNil10, isRecord as isRecord3, isNotUndefined as isNotUndefined5 } from "@wistia/type-guards";
8432
8432
 
8433
8433
  // src/private/helpers/makePolymorphic/makePolymorphic.tsx
@@ -8510,7 +8510,7 @@ var getFlexStyle = (flexMode) => {
8510
8510
  return null;
8511
8511
  }
8512
8512
  };
8513
- var StyledBoxComponent = styled11.div`
8513
+ var StyledBoxComponent = styled12.div`
8514
8514
  /* properties meant for Box parent (flex container) */
8515
8515
  align-content: ${({ $alignContent }) => $alignContent};
8516
8516
  align-items: ${({ $alignItems }) => $alignItems};
@@ -8624,7 +8624,7 @@ var Box = makePolymorphic(BoxComponent);
8624
8624
 
8625
8625
  // src/components/Heading/Heading.tsx
8626
8626
  import { forwardRef as forwardRef6 } from "react";
8627
- import { styled as styled12, css as css21 } from "styled-components";
8627
+ import { styled as styled13, css as css21 } from "styled-components";
8628
8628
  import { isNotNil as isNotNil11 } from "@wistia/type-guards";
8629
8629
 
8630
8630
  // src/private/helpers/applyMaxCharsToChildren/applyMaxCharsToChildren.ts
@@ -8711,7 +8711,7 @@ var variantStyleMap = {
8711
8711
  heading6: heading6TextStyle
8712
8712
  };
8713
8713
  var DEFAULT_ELEMENT2 = "h1";
8714
- var StyledHeading = styled12.div`
8714
+ var StyledHeading = styled13.div`
8715
8715
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8716
8716
  --text-color: ${({ $prominence, $disabled }) => {
8717
8717
  if ($disabled) {
@@ -8803,7 +8803,7 @@ var Heading = makePolymorphic(HeadingComponent);
8803
8803
 
8804
8804
  // src/components/Text/Text.tsx
8805
8805
  import { forwardRef as forwardRef7 } from "react";
8806
- import { styled as styled13, css as css22 } from "styled-components";
8806
+ import { styled as styled14, css as css22 } from "styled-components";
8807
8807
  import { isNotNil as isNotNil12 } from "@wistia/type-guards";
8808
8808
  import { jsx as jsx212 } from "react/jsx-runtime";
8809
8809
  var sharedBodyStyle = css22`
@@ -8933,7 +8933,7 @@ var variantElementMap2 = {
8933
8933
  label3: labelElement,
8934
8934
  label4: labelElement
8935
8935
  };
8936
- var StyledText = styled13.div`
8936
+ var StyledText = styled14.div`
8937
8937
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8938
8938
  --text-color: ${({ $prominence, $disabled }) => {
8939
8939
  if ($disabled) {
@@ -9025,7 +9025,7 @@ TextComponent.displayName = "Text_UI";
9025
9025
  var Text = makePolymorphic(TextComponent);
9026
9026
 
9027
9027
  // src/components/ButtonGroup/ButtonGroup.tsx
9028
- import { styled as styled14, css as css23 } from "styled-components";
9028
+ import { styled as styled15, css as css23 } from "styled-components";
9029
9029
  import { isNil as isNil10 } from "@wistia/type-guards";
9030
9030
  import { jsx as jsx213 } from "react/jsx-runtime";
9031
9031
  var getAlignment = (align) => {
@@ -9040,7 +9040,7 @@ var getAlignment = (align) => {
9040
9040
  }
9041
9041
  return "flex-start";
9042
9042
  };
9043
- var ButtonGroupComponent = styled14.div`
9043
+ var ButtonGroupComponent = styled15.div`
9044
9044
  display: flex;
9045
9045
 
9046
9046
  /* this helps ensure that primary buttons appear at the top of the column */
@@ -9105,9 +9105,9 @@ ButtonGroup.displayName = "ButtonGroup_UI";
9105
9105
 
9106
9106
  // src/components/IconButton/IconButton.tsx
9107
9107
  import { Children, cloneElement as cloneElement2, forwardRef as forwardRef8 } from "react";
9108
- import { styled as styled15 } from "styled-components";
9108
+ import { styled as styled16 } from "styled-components";
9109
9109
  import { jsx as jsx214 } from "react/jsx-runtime";
9110
- var StyledButton2 = styled15(Button)`
9110
+ var StyledButton2 = styled16(Button)`
9111
9111
  --icon-button-size-sm: 24px;
9112
9112
  --icon-button-size-md: 32px;
9113
9113
  --icon-button-size-lg: 40px;
@@ -9142,11 +9142,11 @@ var IconButton = forwardRef8(
9142
9142
  IconButton.displayName = "IconButton_UI";
9143
9143
 
9144
9144
  // src/components/Banner/Banner.tsx
9145
- import { Fragment as Fragment3, jsx as jsx215, jsxs as jsxs16 } from "react/jsx-runtime";
9145
+ import { Fragment as Fragment3, jsx as jsx215, jsxs as jsxs15 } from "react/jsx-runtime";
9146
9146
  var BREAKPOINT_WIDTH = 600;
9147
9147
  var VERTICAL_BREAKPOINT_WIDTH = 284;
9148
9148
  var MIN_IMAGE_WIDTH = 400;
9149
- var StyledBanner = styled16.div`
9149
+ var StyledBanner = styled17.div`
9150
9150
  --wui-banner-padding: var(--wui-space-04);
9151
9151
  --wui-banner-content-height: ${({ $contentHeight }) => $contentHeight}px;
9152
9152
 
@@ -9218,7 +9218,7 @@ var Banner = ({
9218
9218
  const headingVariant = isSmallContainer || prominence === "primary" ? "heading5" : "heading3";
9219
9219
  const textVariant = prominence === "primary" || isSmallContainer ? "body3" : "body2";
9220
9220
  const buttonSize = isSmallContainer ? "sm" : "md";
9221
- return /* @__PURE__ */ jsxs16(
9221
+ return /* @__PURE__ */ jsxs15(
9222
9222
  StyledBanner,
9223
9223
  {
9224
9224
  ...props,
@@ -9230,7 +9230,7 @@ var Banner = ({
9230
9230
  "data-wui-banner-orientation": isVerticalLayout ? "vertical" : "horizontal",
9231
9231
  children: [
9232
9232
  shouldShowImage ? image : null,
9233
- /* @__PURE__ */ jsxs16(
9233
+ /* @__PURE__ */ jsxs15(
9234
9234
  Box,
9235
9235
  {
9236
9236
  ref: contentRef,
@@ -9249,7 +9249,7 @@ var Banner = ({
9249
9249
  children: icon
9250
9250
  }
9251
9251
  ),
9252
- /* @__PURE__ */ jsxs16(
9252
+ /* @__PURE__ */ jsxs15(
9253
9253
  Box,
9254
9254
  {
9255
9255
  direction: "column",
@@ -9257,8 +9257,8 @@ var Banner = ({
9257
9257
  gap: iconPosition === "inline" ? "space-01" : "space-00",
9258
9258
  justifyContent: "center",
9259
9259
  children: [
9260
- isNotNil13(headingText) ? /* @__PURE__ */ jsxs16(Heading, { variant: headingVariant, children: [
9261
- iconPosition === "inline" && /* @__PURE__ */ jsxs16(Fragment3, { children: [
9260
+ isNotNil13(headingText) ? /* @__PURE__ */ jsxs15(Heading, { variant: headingVariant, children: [
9261
+ iconPosition === "inline" && /* @__PURE__ */ jsxs15(Fragment3, { children: [
9262
9262
  icon,
9263
9263
  " "
9264
9264
  ] }),
@@ -9268,7 +9268,7 @@ var Banner = ({
9268
9268
  ]
9269
9269
  }
9270
9270
  ),
9271
- hasActions ? /* @__PURE__ */ jsxs16(
9271
+ hasActions ? /* @__PURE__ */ jsxs15(
9272
9272
  ButtonGroup,
9273
9273
  {
9274
9274
  buttonSize,
@@ -9305,9 +9305,9 @@ var Banner = ({
9305
9305
  Banner.displayName = "Banner_UI";
9306
9306
 
9307
9307
  // src/components/Banner/BannerImage.tsx
9308
- import { styled as styled17 } from "styled-components";
9308
+ import { styled as styled18 } from "styled-components";
9309
9309
  import { jsx as jsx216 } from "react/jsx-runtime";
9310
- var StyledBannerImageContainer = styled17.div`
9310
+ var StyledBannerImageContainer = styled18.div`
9311
9311
  --wui-banner-image-border-radius: var(--wui-border-radius-02);
9312
9312
  --wui-banner-image-height: auto;
9313
9313
  --wui-banner-image-width: auto;
@@ -9385,9 +9385,9 @@ var BannerImage = ({ alignment = "left", alt, src, ...props }) => {
9385
9385
 
9386
9386
  // src/components/Breadcrumbs/Breadcrumbs.tsx
9387
9387
  import { Children as Children2 } from "react";
9388
- import { styled as styled18 } from "styled-components";
9389
- import { Fragment as Fragment4, jsx as jsx217, jsxs as jsxs17 } from "react/jsx-runtime";
9390
- var StyledBreadcrumbs = styled18.nav`
9388
+ import { styled as styled19 } from "styled-components";
9389
+ import { Fragment as Fragment4, jsx as jsx217, jsxs as jsxs16 } from "react/jsx-runtime";
9390
+ var StyledBreadcrumbs = styled19.nav`
9391
9391
  display: flex;
9392
9392
  align-items: center;
9393
9393
  gap: var(--wui-space-01);
@@ -9405,7 +9405,7 @@ var Breadcrumbs = ({ children, ...props }) => {
9405
9405
  crumbs = crumbs.slice(-1);
9406
9406
  }
9407
9407
  const crumbMaxWidth = Math.floor(100 / crumbs.length) - BUFFER_WIDTH;
9408
- return /* @__PURE__ */ jsxs17(Fragment4, { children: [
9408
+ return /* @__PURE__ */ jsxs16(Fragment4, { children: [
9409
9409
  /* @__PURE__ */ jsx217("style", { type: "text/css", children: `
9410
9410
  [data-wui-breadcrumbs] {
9411
9411
  container-type: inline-size;
@@ -9432,9 +9432,9 @@ var Breadcrumbs = ({ children, ...props }) => {
9432
9432
  Breadcrumbs.displayName = "Breadcrumbs_UI";
9433
9433
 
9434
9434
  // src/components/Breadcrumbs/Breadcrumb.tsx
9435
- import { styled as styled19 } from "styled-components";
9436
- import { Fragment as Fragment5, jsx as jsx218, jsxs as jsxs18 } from "react/jsx-runtime";
9437
- var BreadcrumbContent = styled19.span`
9435
+ import { styled as styled20 } from "styled-components";
9436
+ import { Fragment as Fragment5, jsx as jsx218, jsxs as jsxs17 } from "react/jsx-runtime";
9437
+ var BreadcrumbContent = styled20.span`
9438
9438
  overflow: hidden;
9439
9439
  white-space: nowrap;
9440
9440
  display: block;
@@ -9443,7 +9443,7 @@ var BreadcrumbContent = styled19.span`
9443
9443
  flex: 0;
9444
9444
  `;
9445
9445
  var Breadcrumb = ({ icon, href, children, ...props }) => {
9446
- return /* @__PURE__ */ jsxs18(Fragment5, { children: [
9446
+ return /* @__PURE__ */ jsxs17(Fragment5, { children: [
9447
9447
  /* @__PURE__ */ jsx218(
9448
9448
  Button,
9449
9449
  {
@@ -9466,9 +9466,9 @@ var Breadcrumb = ({ icon, href, children, ...props }) => {
9466
9466
  };
9467
9467
 
9468
9468
  // src/components/Card/Card.tsx
9469
- import { styled as styled20 } from "styled-components";
9469
+ import { styled as styled21 } from "styled-components";
9470
9470
  import { jsx as jsx219 } from "react/jsx-runtime";
9471
- var StyledCard = styled20(Box)`
9471
+ var StyledCard = styled21(Box)`
9472
9472
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
9473
9473
  box-sizing: border-box;
9474
9474
  padding: ${({ $paddingSize }) => `var(--wui-${$paddingSize})`};
@@ -9526,9 +9526,9 @@ Card.displayName = "Card_UI";
9526
9526
 
9527
9527
  // src/components/Center/Center.tsx
9528
9528
  import { forwardRef as forwardRef9 } from "react";
9529
- import { styled as styled21 } from "styled-components";
9529
+ import { styled as styled22 } from "styled-components";
9530
9530
  import { jsx as jsx220 } from "react/jsx-runtime";
9531
- var StyledCenter = styled21.div`
9531
+ var StyledCenter = styled22.div`
9532
9532
  box-sizing: border-box;
9533
9533
  margin-left: auto;
9534
9534
  margin-right: auto;
@@ -9558,18 +9558,18 @@ Center.displayName = "Center_UI";
9558
9558
  // src/components/Checkbox/Checkbox.tsx
9559
9559
  import { isNonEmptyString as isNonEmptyString3, isNotUndefined as isNotUndefined7 } from "@wistia/type-guards";
9560
9560
  import { forwardRef as forwardRef12, useId as useId2 } from "react";
9561
- import { styled as styled28, css as css26 } from "styled-components";
9561
+ import { styled as styled29, css as css26 } from "styled-components";
9562
9562
 
9563
9563
  // src/private/components/FormControlLabel/FormControlLabel.tsx
9564
9564
  import { isNil as isNil13, isNotNil as isNotNil15 } from "@wistia/type-guards";
9565
- import { styled as styled24, css as css25 } from "styled-components";
9565
+ import { styled as styled25, css as css25 } from "styled-components";
9566
9566
 
9567
9567
  // src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
9568
- import { styled as styled22 } from "styled-components";
9568
+ import { styled as styled23 } from "styled-components";
9569
9569
  import { isNotNil as isNotNil14 } from "@wistia/type-guards";
9570
9570
  import { jsx as jsx221 } from "react/jsx-runtime";
9571
- var VisuallyHidden = styled22.div({ ...visuallyHiddenStyle });
9572
- var VisuallyHiddenButFocusable = styled22.div({
9571
+ var VisuallyHidden = styled23.div({ ...visuallyHiddenStyle });
9572
+ var VisuallyHiddenButFocusable = styled23.div({
9573
9573
  "&:not(:focus-within)": visuallyHiddenStyle
9574
9574
  });
9575
9575
  var ScreenReaderOnly = ({
@@ -9587,13 +9587,13 @@ var ScreenReaderOnly = ({
9587
9587
  ScreenReaderOnly.displayName = "ScreenReaderOnly_UI";
9588
9588
 
9589
9589
  // src/private/components/FormControlLabel/FormControlLabelDescription.tsx
9590
- import { styled as styled23, css as css24 } from "styled-components";
9590
+ import { styled as styled24, css as css24 } from "styled-components";
9591
9591
  import { isNil as isNil12 } from "@wistia/type-guards";
9592
9592
  import { jsx as jsx222 } from "react/jsx-runtime";
9593
9593
  var disabledStyle = css24`
9594
9594
  color: var(--wui-color-text-disabled);
9595
9595
  `;
9596
- var StyledFormControlLabelDescription = styled23.div`
9596
+ var StyledFormControlLabelDescription = styled24.div`
9597
9597
  color: var(--wui-color-text-secondary);
9598
9598
  display: block;
9599
9599
  font-size: var(--wui-typography-body-4-size);
@@ -9622,16 +9622,16 @@ var FormControlLabelDescription = ({
9622
9622
  FormControlLabelDescription.displayName = "FormControlLabelDescription";
9623
9623
 
9624
9624
  // src/private/components/FormControlLabel/FormControlLabel.tsx
9625
- import { jsx as jsx223, jsxs as jsxs19 } from "react/jsx-runtime";
9625
+ import { jsx as jsx223, jsxs as jsxs18 } from "react/jsx-runtime";
9626
9626
  var disabledStyle2 = css25`
9627
9627
  cursor: not-allowed;
9628
9628
  color: var(--wui-color-text-disabled);
9629
9629
  `;
9630
- var StyledLabelWrapper = styled24.div`
9630
+ var StyledLabelWrapper = styled25.div`
9631
9631
  display: flex;
9632
9632
  flex-direction: column;
9633
9633
  `;
9634
- var StyledFormControlLabel = styled24.label`
9634
+ var StyledFormControlLabel = styled25.label`
9635
9635
  cursor: pointer;
9636
9636
  display: flex;
9637
9637
  align-items: flex-start;
@@ -9658,12 +9658,12 @@ var FormControlLabel = ({
9658
9658
  if (isNil13(label)) {
9659
9659
  return null;
9660
9660
  }
9661
- const labelContent = hideLabel ? /* @__PURE__ */ jsx223(ScreenReaderOnly, { children: label }) : /* @__PURE__ */ jsxs19(StyledLabelWrapper, { children: [
9661
+ const labelContent = hideLabel ? /* @__PURE__ */ jsx223(ScreenReaderOnly, { children: label }) : /* @__PURE__ */ jsxs18(StyledLabelWrapper, { children: [
9662
9662
  label,
9663
9663
  /* @__PURE__ */ jsx223(FormControlLabelDescription, { children: description })
9664
9664
  ] });
9665
9665
  const slot = isNotNil15(controlSlot) ? controlSlot : null;
9666
- return /* @__PURE__ */ jsxs19(
9666
+ return /* @__PURE__ */ jsxs18(
9667
9667
  StyledFormControlLabel,
9668
9668
  {
9669
9669
  $align: align,
@@ -9684,16 +9684,16 @@ import { createContext as createContext4, useMemo as useMemo7, useContext as use
9684
9684
  import { isArray } from "@wistia/type-guards";
9685
9685
 
9686
9686
  // src/components/FormGroup/FormGroup.tsx
9687
- import { styled as styled26 } from "styled-components";
9687
+ import { styled as styled27 } from "styled-components";
9688
9688
  import { useRef as useRef7 } from "react";
9689
9689
  import { isNonEmptyString as isNonEmptyString2, isNotNil as isNotNil16 } from "@wistia/type-guards";
9690
9690
 
9691
9691
  // src/components/Stack/Stack.tsx
9692
9692
  import { forwardRef as forwardRef10 } from "react";
9693
- import { styled as styled25 } from "styled-components";
9693
+ import { styled as styled26 } from "styled-components";
9694
9694
  import { jsx as jsx224 } from "react/jsx-runtime";
9695
9695
  var DEFAULT_ELEMENT4 = "div";
9696
- var StyledStack = styled25.div`
9696
+ var StyledStack = styled26.div`
9697
9697
  display: flex;
9698
9698
  flex-direction: ${({ $direction }) => $direction === "horizontal" ? "row" : "column"};
9699
9699
  gap: ${({ $gap }) => `var(--wui-${$gap})`};
@@ -9721,13 +9721,13 @@ StackComponent.displayName = "Stack_UI";
9721
9721
  var Stack = makePolymorphic(StackComponent);
9722
9722
 
9723
9723
  // src/components/FormGroup/FormGroup.tsx
9724
- import { jsx as jsx225, jsxs as jsxs20 } from "react/jsx-runtime";
9725
- var StyledFieldset = styled26.fieldset`
9724
+ import { jsx as jsx225, jsxs as jsxs19 } from "react/jsx-runtime";
9725
+ var StyledFieldset = styled27.fieldset`
9726
9726
  padding: 0;
9727
9727
  margin: 0;
9728
9728
  border: 0;
9729
9729
  `;
9730
- var StyledLegend = styled26.legend`
9730
+ var StyledLegend = styled27.legend`
9731
9731
  padding-inline: 0;
9732
9732
  display: flex;
9733
9733
  flex-direction: column;
@@ -9743,14 +9743,14 @@ var FormGroup = ({
9743
9743
  const ref = useRef7(null);
9744
9744
  const hasLabel = isNotNil16(label) && isNonEmptyString2(label);
9745
9745
  const hasDescription = isNotNil16(description) && isNonEmptyString2(description);
9746
- return /* @__PURE__ */ jsxs20(
9746
+ return /* @__PURE__ */ jsxs19(
9747
9747
  Stack,
9748
9748
  {
9749
9749
  ...props,
9750
9750
  ref,
9751
9751
  renderAs: StyledFieldset,
9752
9752
  children: [
9753
- hasLabel || hasDescription ? /* @__PURE__ */ jsxs20(
9753
+ hasLabel || hasDescription ? /* @__PURE__ */ jsxs19(
9754
9754
  Heading,
9755
9755
  {
9756
9756
  renderAs: StyledLegend,
@@ -9779,7 +9779,7 @@ FormGroup.displayName = "FormGroup_UI";
9779
9779
 
9780
9780
  // src/components/Form/Form.tsx
9781
9781
  import { forwardRef as forwardRef11, useRef as useRef8, useMemo as useMemo6, createContext as createContext3, useState as useState11, useId } from "react";
9782
- import { styled as styled27 } from "styled-components";
9782
+ import { styled as styled28 } from "styled-components";
9783
9783
  import { isNotUndefined as isNotUndefined6, isUndefined as isUndefined3 } from "@wistia/type-guards";
9784
9784
 
9785
9785
  // src/components/Form/serializeFormData.tsx
@@ -9799,7 +9799,7 @@ var serializeFormData = (formData) => {
9799
9799
 
9800
9800
  // src/components/Form/Form.tsx
9801
9801
  import { jsx as jsx226 } from "react/jsx-runtime";
9802
- var StyledForm = styled27.form`
9802
+ var StyledForm = styled28.form`
9803
9803
  --form-default-width: 690px;
9804
9804
 
9805
9805
  max-width: ${({ $fullWidth }) => $fullWidth ? "auto" : "var(--form-default-width)"};
@@ -9925,7 +9925,7 @@ var CheckboxGroup = ({
9925
9925
  CheckboxGroup.displayName = "CheckboxGroup_UI";
9926
9926
 
9927
9927
  // src/components/Checkbox/Checkbox.tsx
9928
- import { jsx as jsx228, jsxs as jsxs21 } from "react/jsx-runtime";
9928
+ import { jsx as jsx228, jsxs as jsxs20 } from "react/jsx-runtime";
9929
9929
  var CheckIcon = () => /* @__PURE__ */ jsx228(
9930
9930
  "svg",
9931
9931
  {
@@ -9960,7 +9960,7 @@ var getSizeCss = (size) => {
9960
9960
  if (size === "lg") return sizeLarge;
9961
9961
  return sizeMedium;
9962
9962
  };
9963
- var StyledCheckboxWrapper = styled28.div`
9963
+ var StyledCheckboxWrapper = styled29.div`
9964
9964
  --wui-checkbox-background-color: var(--wui-color-bg-surface);
9965
9965
  --wui-checkbox-border-color: var(--wui-color-border-secondary);
9966
9966
  --wui-checkbox-icon-color: transparent;
@@ -9997,7 +9997,7 @@ var StyledCheckboxWrapper = styled28.div`
9997
9997
  /* TODO this solves a problem but potentially causes and a11y issue */
9998
9998
  user-select: none;
9999
9999
  `;
10000
- var StyledCheckboxInput = styled28.div`
10000
+ var StyledCheckboxInput = styled29.div`
10001
10001
  ${({ $size }) => getSizeCss($size)}
10002
10002
  margin: 0;
10003
10003
  border-radius: var(--wui-border-radius-01);
@@ -10024,7 +10024,7 @@ var StyledCheckboxInput = styled28.div`
10024
10024
  height: var(--wui-checkbox-icon-size);
10025
10025
  }
10026
10026
  `;
10027
- var StyledHiddenCheckboxInput = styled28.input`
10027
+ var StyledHiddenCheckboxInput = styled29.input`
10028
10028
  ${visuallyHiddenStyle}
10029
10029
  position: relative;
10030
10030
  `;
@@ -10052,7 +10052,7 @@ var Checkbox = forwardRef12(
10052
10052
  const checkboxName = name ?? contextName;
10053
10053
  const handleOnChange = onChange ?? contextOnChange;
10054
10054
  const isChecked = isNotUndefined7(value) && contextValue ? contextValue.includes(value) : checked;
10055
- return /* @__PURE__ */ jsxs21(
10055
+ return /* @__PURE__ */ jsxs20(
10056
10056
  StyledCheckboxWrapper,
10057
10057
  {
10058
10058
  $hideLabel: hideLabel,
@@ -10145,9 +10145,9 @@ ClickRegion.displayName = "ClickRegion_UI";
10145
10145
  // src/components/Collapsible/Collapsible.tsx
10146
10146
  import { Root as CollapsibleRoot } from "@radix-ui/react-collapsible";
10147
10147
  import { isNotNil as isNotNil17 } from "@wistia/type-guards";
10148
- import { styled as styled29 } from "styled-components";
10148
+ import { styled as styled30 } from "styled-components";
10149
10149
  import { jsx as jsx229 } from "react/jsx-runtime";
10150
- var StyledRoot = styled29(CollapsibleRoot)`
10150
+ var StyledRoot = styled30(CollapsibleRoot)`
10151
10151
  &[data-state='closed'] [data-wui-collapsible-content] {
10152
10152
  display: -webkit-box;
10153
10153
  -webkit-box-orient: vertical;
@@ -10170,9 +10170,9 @@ Collapsible.displayName = "Collapsible_UI";
10170
10170
  // src/components/Collapsible/CollapsibleTrigger.tsx
10171
10171
  import { Children as Children4 } from "react";
10172
10172
  import { Trigger } from "@radix-ui/react-collapsible";
10173
- import { styled as styled30 } from "styled-components";
10173
+ import { styled as styled31 } from "styled-components";
10174
10174
  import { jsx as jsx230 } from "react/jsx-runtime";
10175
- var StyledTrigger = styled30(Trigger)`
10175
+ var StyledTrigger = styled31(Trigger)`
10176
10176
  [data-wui-collapsible-icon] {
10177
10177
  transition: transform var(--wui-motion-duration-03) ease-in-out;
10178
10178
  }
@@ -10221,11 +10221,11 @@ var CollapsibleTriggerIcon = ({ type, ...props }) => {
10221
10221
  CollapsibleTriggerIcon.displayName = "CollapsibleTriggerIcon_UI";
10222
10222
 
10223
10223
  // src/components/Collapsible/CollapsibleContent.tsx
10224
- import { styled as styled31 } from "styled-components";
10224
+ import { styled as styled32 } from "styled-components";
10225
10225
  import { Content } from "@radix-ui/react-collapsible";
10226
10226
  import { isNotUndefined as isNotUndefined8 } from "@wistia/type-guards";
10227
- import { Fragment as Fragment6, jsx as jsx232, jsxs as jsxs22 } from "react/jsx-runtime";
10228
- var ClampedContent = styled31.div`
10227
+ import { Fragment as Fragment6, jsx as jsx232, jsxs as jsxs21 } from "react/jsx-runtime";
10228
+ var ClampedContent = styled32.div`
10229
10229
  --wui-collapsible-content-clamp-lines: ${({ $clamp }) => $clamp};
10230
10230
  `;
10231
10231
  var CollapsibleContent = ({ clamp, children }) => {
@@ -10239,7 +10239,7 @@ var CollapsibleContent = ({ clamp, children }) => {
10239
10239
  }
10240
10240
  );
10241
10241
  }
10242
- return /* @__PURE__ */ jsx232(Content, { children: /* @__PURE__ */ jsxs22(Fragment6, { children: [
10242
+ return /* @__PURE__ */ jsx232(Content, { children: /* @__PURE__ */ jsxs21(Fragment6, { children: [
10243
10243
  children,
10244
10244
  " "
10245
10245
  ] }) });
@@ -10247,7 +10247,7 @@ var CollapsibleContent = ({ clamp, children }) => {
10247
10247
 
10248
10248
  // src/components/ColorPicker/ColorGrid.tsx
10249
10249
  import { useCallback as useCallback10 } from "react";
10250
- import { styled as styled33 } from "styled-components";
10250
+ import { styled as styled34 } from "styled-components";
10251
10251
  import { Root as RadioGroupRoot } from "@radix-ui/react-radio-group";
10252
10252
 
10253
10253
  // src/components/ColorPicker/ColorPickerContext.tsx
@@ -10792,7 +10792,7 @@ var useColorPickerState = () => {
10792
10792
  };
10793
10793
 
10794
10794
  // src/components/Label/Label.tsx
10795
- import { styled as styled32, css as css27 } from "styled-components";
10795
+ import { styled as styled33, css as css27 } from "styled-components";
10796
10796
  import { jsx as jsx234 } from "react/jsx-runtime";
10797
10797
  var requiredStyle = css27`
10798
10798
  &::after {
@@ -10805,7 +10805,7 @@ var requiredStyle = css27`
10805
10805
  var disabledStyle3 = css27`
10806
10806
  color: var(--wui-color-text-disabled);
10807
10807
  `;
10808
- var StyledLabel2 = styled32.label`
10808
+ var StyledLabel2 = styled33.label`
10809
10809
  display: block;
10810
10810
  width: 100%;
10811
10811
  color: var(--wui-color-text);
@@ -10852,16 +10852,16 @@ var Label = ({
10852
10852
  Label.displayName = "Label_UI";
10853
10853
 
10854
10854
  // src/components/ColorPicker/ColorGrid.tsx
10855
- import { jsx as jsx235, jsxs as jsxs23 } from "react/jsx-runtime";
10856
- var Container = styled33.div`
10855
+ import { jsx as jsx235, jsxs as jsxs22 } from "react/jsx-runtime";
10856
+ var Container = styled34.div`
10857
10857
  display: grid;
10858
10858
  gap: var(--wui-space-01);
10859
10859
  grid-template-columns: minmax(0, 1fr);
10860
10860
  `;
10861
- var LabelContainer = styled33.div`
10861
+ var LabelContainer = styled34.div`
10862
10862
  padding-top: var(--wui-space-01);
10863
10863
  `;
10864
- var ItemsContainer = styled33(RadioGroupRoot)`
10864
+ var ItemsContainer = styled34(RadioGroupRoot)`
10865
10865
  display: flex;
10866
10866
  flex-wrap: wrap;
10867
10867
  align-items: center;
@@ -10878,7 +10878,7 @@ var ColorGrid = ({ children, label }) => {
10878
10878
  },
10879
10879
  [onChangeNonDerivedValueAsHsv]
10880
10880
  );
10881
- return /* @__PURE__ */ jsxs23(Container, { children: [
10881
+ return /* @__PURE__ */ jsxs22(Container, { children: [
10882
10882
  label != null && /* @__PURE__ */ jsx235(LabelContainer, { children: /* @__PURE__ */ jsx235(Label, { children: label }) }),
10883
10883
  /* @__PURE__ */ jsx235(
10884
10884
  ItemsContainer,
@@ -10893,14 +10893,14 @@ var ColorGrid = ({ children, label }) => {
10893
10893
  ColorGrid.displayName = "ColorGrid_UI";
10894
10894
 
10895
10895
  // src/components/ColorPicker/ColorGridOption.tsx
10896
- import { styled as styled36 } from "styled-components";
10896
+ import { styled as styled37 } from "styled-components";
10897
10897
  import { Item as RadioGroupItem } from "@radix-ui/react-radio-group";
10898
10898
  import { formatHex as formatHex3 } from "culori/fn";
10899
10899
 
10900
10900
  // src/components/ColorPicker/ColorSwatch.tsx
10901
- import { styled as styled34 } from "styled-components";
10902
- import { jsx as jsx236, jsxs as jsxs24 } from "react/jsx-runtime";
10903
- var ColorSwatchDiv = styled34.div`
10901
+ import { styled as styled35 } from "styled-components";
10902
+ import { jsx as jsx236, jsxs as jsxs23 } from "react/jsx-runtime";
10903
+ var ColorSwatchDiv = styled35.div`
10904
10904
  aspect-ratio: 1;
10905
10905
  width: ${({ $diameterPx }) => `${$diameterPx}px`};
10906
10906
  border-radius: var(--wui-border-radius-rounded);
@@ -10919,7 +10919,7 @@ var ColorSwatchDiv = styled34.div`
10919
10919
  outline-offset: 2px;
10920
10920
  transform: ${({ $selected }) => $selected ? "scale(0.9)" : "scale(1)"};
10921
10921
  `;
10922
- var DerivativeHalfCircle = styled34.div`
10922
+ var DerivativeHalfCircle = styled35.div`
10923
10923
  position: absolute;
10924
10924
  right: 0;
10925
10925
  top: 0;
@@ -10936,7 +10936,7 @@ var ColorSwatch = ({
10936
10936
  value
10937
10937
  }) => {
10938
10938
  const { valueAsHex: colorPickerValueAsHex } = useColorPickerState();
10939
- return /* @__PURE__ */ jsxs24(
10939
+ return /* @__PURE__ */ jsxs23(
10940
10940
  ColorSwatchDiv,
10941
10941
  {
10942
10942
  $diameterPx: diameterPx,
@@ -10962,9 +10962,9 @@ import {
10962
10962
  Portal as TooltipPortal,
10963
10963
  Arrow as TooltipArrow
10964
10964
  } from "@radix-ui/react-tooltip";
10965
- import { styled as styled35, keyframes } from "styled-components";
10966
- import { jsx as jsx237, jsxs as jsxs25 } from "react/jsx-runtime";
10967
- var hide = keyframes`
10965
+ import { styled as styled36, keyframes as keyframes2 } from "styled-components";
10966
+ import { jsx as jsx237, jsxs as jsxs24 } from "react/jsx-runtime";
10967
+ var hide = keyframes2`
10968
10968
  from {
10969
10969
  opacity: 1;
10970
10970
  }
@@ -10972,7 +10972,7 @@ var hide = keyframes`
10972
10972
  opacity: 0;
10973
10973
  }
10974
10974
  `;
10975
- var slideDownAndFade = keyframes`
10975
+ var slideDownAndFade = keyframes2`
10976
10976
  from {
10977
10977
  opacity: 0;
10978
10978
  transform: translateY(-6px);
@@ -10982,7 +10982,7 @@ var slideDownAndFade = keyframes`
10982
10982
  transform: translateY(0);
10983
10983
  }
10984
10984
  `;
10985
- var slideLeftAndFade = keyframes`
10985
+ var slideLeftAndFade = keyframes2`
10986
10986
  from {
10987
10987
  opacity: 0;
10988
10988
  transform: translateX(6px);
@@ -10992,7 +10992,7 @@ var slideLeftAndFade = keyframes`
10992
10992
  transform: translateX(0);
10993
10993
  }
10994
10994
  `;
10995
- var slideUpAndFade = keyframes`
10995
+ var slideUpAndFade = keyframes2`
10996
10996
  from {
10997
10997
  opacity: 0;
10998
10998
  transform: translateY(6px);
@@ -11002,7 +11002,7 @@ var slideUpAndFade = keyframes`
11002
11002
  transform: translateY(0);
11003
11003
  }
11004
11004
  `;
11005
- var slideRightAndFade = keyframes`
11005
+ var slideRightAndFade = keyframes2`
11006
11006
  from {
11007
11007
  opacity: 0;
11008
11008
  transform: translateX(-6px);
@@ -11012,7 +11012,7 @@ var slideRightAndFade = keyframes`
11012
11012
  transform: translateX(0);
11013
11013
  }
11014
11014
  `;
11015
- var StyledContent = styled35(TooltipContent)`
11015
+ var StyledContent = styled36(TooltipContent)`
11016
11016
  --tooltip-font-family: var(--wui-typography-family-default);
11017
11017
  --tooltip-border-radius: var(--wui-border-radius-05);
11018
11018
  --tooltip-bg: var(--wui-color-bg-tooltip);
@@ -11075,14 +11075,14 @@ var Tooltip = ({
11075
11075
  if (forceOpen === true) {
11076
11076
  rootProps.open = true;
11077
11077
  }
11078
- return /* @__PURE__ */ jsxs25(
11078
+ return /* @__PURE__ */ jsxs24(
11079
11079
  TooltipRoot,
11080
11080
  {
11081
11081
  delayDuration: delay,
11082
11082
  ...rootProps,
11083
11083
  children: [
11084
11084
  /* @__PURE__ */ jsx237(TooltipTrigger, { asChild: true, children }),
11085
- /* @__PURE__ */ jsx237(TooltipPortal, { container, children: /* @__PURE__ */ jsxs25(
11085
+ /* @__PURE__ */ jsx237(TooltipPortal, { container, children: /* @__PURE__ */ jsxs24(
11086
11086
  StyledContent,
11087
11087
  {
11088
11088
  side: direction,
@@ -11112,7 +11112,7 @@ Tooltip.displayName = "Tooltip_UI";
11112
11112
 
11113
11113
  // src/components/ColorPicker/ColorGridOption.tsx
11114
11114
  import { jsx as jsx238 } from "react/jsx-runtime";
11115
- var Container2 = styled36(RadioGroupItem)`
11115
+ var Container2 = styled37(RadioGroupItem)`
11116
11116
  border: none;
11117
11117
  appearance: none;
11118
11118
  outline: none;
@@ -11157,10 +11157,10 @@ ColorGridOption.displayName = "ColorGridOption_UI";
11157
11157
 
11158
11158
  // src/components/ColorPicker/ColorList.tsx
11159
11159
  import { useCallback as useCallback11 } from "react";
11160
- import { styled as styled37 } from "styled-components";
11160
+ import { styled as styled38 } from "styled-components";
11161
11161
  import { Root as ToggleGroupRoot } from "@radix-ui/react-toggle-group";
11162
11162
  import { jsx as jsx239 } from "react/jsx-runtime";
11163
- var Container3 = styled37(ToggleGroupRoot)`
11163
+ var Container3 = styled38(ToggleGroupRoot)`
11164
11164
  display: grid;
11165
11165
  grid-template-columns: minmax(0, 1fr);
11166
11166
  `;
@@ -11189,22 +11189,22 @@ var ColorList = ({ children }) => {
11189
11189
  ColorList.displayName = "ColorList_UI";
11190
11190
 
11191
11191
  // src/components/ColorPicker/ColorListGroup.tsx
11192
- import { styled as styled38 } from "styled-components";
11193
- import { jsx as jsx240, jsxs as jsxs26 } from "react/jsx-runtime";
11194
- var Container4 = styled38.div`
11192
+ import { styled as styled39 } from "styled-components";
11193
+ import { jsx as jsx240, jsxs as jsxs25 } from "react/jsx-runtime";
11194
+ var Container4 = styled39.div`
11195
11195
  display: grid;
11196
11196
  gap: var(--wui-space-01);
11197
11197
  grid-template-columns: minmax(0, 1fr);
11198
11198
  `;
11199
- var ItemsContainer2 = styled38.div`
11199
+ var ItemsContainer2 = styled39.div`
11200
11200
  display: flex;
11201
11201
  flex-direction: column;
11202
11202
  `;
11203
- var LabelContainer2 = styled38.div`
11203
+ var LabelContainer2 = styled39.div`
11204
11204
  padding-top: var(--wui-space-01);
11205
11205
  `;
11206
11206
  var ColorListGroup = ({ label, children }) => {
11207
- return /* @__PURE__ */ jsxs26(
11207
+ return /* @__PURE__ */ jsxs25(
11208
11208
  Container4,
11209
11209
  {
11210
11210
  "aria-label": label,
@@ -11219,14 +11219,14 @@ var ColorListGroup = ({ label, children }) => {
11219
11219
  ColorListGroup.displayName = "ColorListGroup_UI";
11220
11220
 
11221
11221
  // src/components/ColorPicker/ColorListOption.tsx
11222
- import { styled as styled39 } from "styled-components";
11222
+ import { styled as styled40 } from "styled-components";
11223
11223
  import { Item as ToggleGroupItem } from "@radix-ui/react-toggle-group";
11224
11224
  import { formatHex as formatHex4 } from "culori/fn";
11225
11225
 
11226
11226
  // src/components/ColorPicker/ColorNameOrHexCode.tsx
11227
- import { jsx as jsx241, jsxs as jsxs27 } from "react/jsx-runtime";
11227
+ import { jsx as jsx241, jsxs as jsxs26 } from "react/jsx-runtime";
11228
11228
  var ColorNameOrHexCode = ({ name, hexCode }) => {
11229
- return /* @__PURE__ */ jsxs27(
11229
+ return /* @__PURE__ */ jsxs26(
11230
11230
  Box,
11231
11231
  {
11232
11232
  alignItems: "center",
@@ -11257,8 +11257,8 @@ var ColorNameOrHexCode = ({ name, hexCode }) => {
11257
11257
  };
11258
11258
 
11259
11259
  // src/components/ColorPicker/ColorListOption.tsx
11260
- import { jsx as jsx242, jsxs as jsxs28 } from "react/jsx-runtime";
11261
- var Container5 = styled39(ToggleGroupItem)`
11260
+ import { jsx as jsx242, jsxs as jsxs27 } from "react/jsx-runtime";
11261
+ var Container5 = styled40(ToggleGroupItem)`
11262
11262
  border: none;
11263
11263
  appearance: none;
11264
11264
  outline: none;
@@ -11286,7 +11286,7 @@ var ColorListOption = ({ value: rawValue, name }) => {
11286
11286
  const valueAsHex = formatHex4(valueAsHsv);
11287
11287
  const isSelected = valueAsHex === value;
11288
11288
  const derivativeIsSelected = !isSelected && nonDerivedValueAsHex === value;
11289
- return /* @__PURE__ */ jsxs28(
11289
+ return /* @__PURE__ */ jsxs27(
11290
11290
  Container5,
11291
11291
  {
11292
11292
  "aria-label": value,
@@ -11343,9 +11343,9 @@ ColorPicker.displayName = "ColorPicker_UI";
11343
11343
 
11344
11344
  // src/components/ColorPicker/ColorPickerPopoverContent.tsx
11345
11345
  import { Content as PopoverContent, Portal as PopoverPortal } from "@radix-ui/react-popover";
11346
- import { styled as styled40 } from "styled-components";
11346
+ import { styled as styled41 } from "styled-components";
11347
11347
  import { jsx as jsx244 } from "react/jsx-runtime";
11348
- var StyledPopoverContent = styled40(PopoverContent)`
11348
+ var StyledPopoverContent = styled41(PopoverContent)`
11349
11349
  background-color: var(--wui-color-bg-surface);
11350
11350
  border-radius: var(--wui-border-radius-02);
11351
11351
  border: 1px solid var(--wui-color-border);
@@ -11372,9 +11372,9 @@ var ColorPickerPopoverContent = ({
11372
11372
  ColorPickerPopoverContent.displayName = "ColorPickerPopoverContent_UI";
11373
11373
 
11374
11374
  // src/components/ColorPicker/ColorPickerSection.tsx
11375
- import { styled as styled41 } from "styled-components";
11375
+ import { styled as styled42 } from "styled-components";
11376
11376
  import { jsx as jsx245 } from "react/jsx-runtime";
11377
- var Container6 = styled41.div`
11377
+ var Container6 = styled42.div`
11378
11378
  padding: var(--wui-space-02);
11379
11379
  `;
11380
11380
  var ColorPickerSection = ({ children }) => {
@@ -11385,7 +11385,7 @@ ColorPickerSection.displayName = "ColorPickerSection_UI";
11385
11385
  // src/components/ColorPicker/ColorPickerTrigger.tsx
11386
11386
  import { forwardRef as forwardRef13 } from "react";
11387
11387
  import { Trigger as PopoverTrigger } from "@radix-ui/react-popover";
11388
- import { styled as styled42 } from "styled-components";
11388
+ import { styled as styled43 } from "styled-components";
11389
11389
 
11390
11390
  // src/components/ColorPicker/ValueSwatch.tsx
11391
11391
  import { jsx as jsx246 } from "react/jsx-runtime";
@@ -11412,8 +11412,8 @@ var ValueNameOrHexCode = () => {
11412
11412
  ValueNameOrHexCode.displayName = "ValueNameOrHexCode_UI";
11413
11413
 
11414
11414
  // src/components/ColorPicker/ColorPickerTrigger.tsx
11415
- import { jsx as jsx248, jsxs as jsxs29 } from "react/jsx-runtime";
11416
- var StyledPopoverTrigger = styled42(PopoverTrigger)`
11415
+ import { jsx as jsx248, jsxs as jsxs28 } from "react/jsx-runtime";
11416
+ var StyledPopoverTrigger = styled43(PopoverTrigger)`
11417
11417
  background-color: var(--wui-color-bg-surface);
11418
11418
  border-radius: var(--wui-border-radius-rounded);
11419
11419
  border: 1px solid var(--wui-color-border);
@@ -11424,7 +11424,7 @@ var StyledPopoverTrigger = styled42(PopoverTrigger)`
11424
11424
  background-color: var(--wui-color-bg-surface-hover);
11425
11425
  }
11426
11426
  `;
11427
- var DefaultTriggerContentContainer = styled42.div`
11427
+ var DefaultTriggerContentContainer = styled43.div`
11428
11428
  align-items: center;
11429
11429
  display: flex;
11430
11430
  flex-direction: row;
@@ -11432,7 +11432,7 @@ var DefaultTriggerContentContainer = styled42.div`
11432
11432
  padding-right: var(--wui-space-02);
11433
11433
  `;
11434
11434
  var DefaultTriggerContent = () => {
11435
- return /* @__PURE__ */ jsxs29(DefaultTriggerContentContainer, { children: [
11435
+ return /* @__PURE__ */ jsxs28(DefaultTriggerContentContainer, { children: [
11436
11436
  /* @__PURE__ */ jsx248(ValueSwatch, {}),
11437
11437
  /* @__PURE__ */ jsx248(ValueNameOrHexCode, {})
11438
11438
  ] });
@@ -11452,9 +11452,9 @@ var ColorPickerTrigger = forwardRef13(
11452
11452
  ColorPickerTrigger.displayName = "ColorPickerTrigger_UI";
11453
11453
 
11454
11454
  // src/components/ColorPicker/ContrastIndicator.tsx
11455
- import { styled as styled43 } from "styled-components";
11456
- import { jsx as jsx249, jsxs as jsxs30 } from "react/jsx-runtime";
11457
- var Container7 = styled43.div`
11455
+ import { styled as styled44 } from "styled-components";
11456
+ import { jsx as jsx249, jsxs as jsxs29 } from "react/jsx-runtime";
11457
+ var Container7 = styled44.div`
11458
11458
  display: flex;
11459
11459
  flex-direction: row;
11460
11460
  justify-content: end;
@@ -11466,7 +11466,7 @@ var floorToTenth = (value) => {
11466
11466
  var ContrastIndicator = () => {
11467
11467
  const { currentContrastRatio, minimumContrastRatio } = useColorPickerState();
11468
11468
  const isContrastSufficient = currentContrastRatio >= minimumContrastRatio;
11469
- const label = /* @__PURE__ */ jsxs30("div", { children: [
11469
+ const label = /* @__PURE__ */ jsxs29("div", { children: [
11470
11470
  /* @__PURE__ */ jsx249(
11471
11471
  Text,
11472
11472
  {
@@ -11476,7 +11476,7 @@ var ContrastIndicator = () => {
11476
11476
  }
11477
11477
  ),
11478
11478
  " ",
11479
- /* @__PURE__ */ jsxs30(
11479
+ /* @__PURE__ */ jsxs29(
11480
11480
  Text,
11481
11481
  {
11482
11482
  renderAs: "span",
@@ -11512,9 +11512,9 @@ import { useCallback as useCallback12 } from "react";
11512
11512
 
11513
11513
  // src/components/Switch/Switch.tsx
11514
11514
  import { forwardRef as forwardRef14, useId as useId3 } from "react";
11515
- import { styled as styled44, css as css28 } from "styled-components";
11515
+ import { styled as styled45, css as css28 } from "styled-components";
11516
11516
  import { isNonEmptyString as isNonEmptyString4 } from "@wistia/type-guards";
11517
- import { jsx as jsx250, jsxs as jsxs31 } from "react/jsx-runtime";
11517
+ import { jsx as jsx250, jsxs as jsxs30 } from "react/jsx-runtime";
11518
11518
  var switchHeightMap = {
11519
11519
  sm: 16,
11520
11520
  md: 20,
@@ -11523,7 +11523,7 @@ var switchHeightMap = {
11523
11523
  var getSizeCss2 = (size) => css28`
11524
11524
  --wui-switch-height: ${switchHeightMap[size]}px;
11525
11525
  `;
11526
- var StyledSwitchWrapper = styled44.div`
11526
+ var StyledSwitchWrapper = styled45.div`
11527
11527
  ${({ $size }) => getSizeCss2($size)}
11528
11528
  --wui-switch-border-offset: 2px;
11529
11529
  --wui-switch-background-color: var(--wui-color-bg-surface-tertiary);
@@ -11557,7 +11557,7 @@ var StyledSwitchWrapper = styled44.div`
11557
11557
  /* TODO this solves a problem but potentially causes and a11y issue */
11558
11558
  user-select: none;
11559
11559
  `;
11560
- var StyledSwitchTrack = styled44.div`
11560
+ var StyledSwitchTrack = styled45.div`
11561
11561
  width: var(--wui-switch-width);
11562
11562
  height: var(--wui-switch-height);
11563
11563
  min-width: var(--wui-switch-width);
@@ -11575,7 +11575,7 @@ var StyledSwitchTrack = styled44.div`
11575
11575
  background-color: var(--wui-switch-background-color);
11576
11576
  margin-top: calc(calc(1lh - var(--wui-switch-height)) / 2);
11577
11577
  `;
11578
- var StyledSwitchThumb = styled44.div`
11578
+ var StyledSwitchThumb = styled45.div`
11579
11579
  border-radius: var(--wui-border-radius-rounded);
11580
11580
  background-color: var(--wui-switch-thumb-color);
11581
11581
  transition:
@@ -11585,7 +11585,7 @@ var StyledSwitchThumb = styled44.div`
11585
11585
  height: var(--wui-switch-thumb-size);
11586
11586
  margin-left: var(--wui-switch-thumb-position);
11587
11587
  `;
11588
- var StyledHiddenSwitchInput = styled44.input`
11588
+ var StyledHiddenSwitchInput = styled45.input`
11589
11589
  ${visuallyHiddenStyle}
11590
11590
  `;
11591
11591
  var Switch = forwardRef14(
@@ -11606,7 +11606,7 @@ var Switch = forwardRef14(
11606
11606
  }, ref) => {
11607
11607
  const generatedId = useId3();
11608
11608
  const computedId = isNonEmptyString4(id) ? id : `wistia-ui-switch-${generatedId}`;
11609
- return /* @__PURE__ */ jsxs31(
11609
+ return /* @__PURE__ */ jsxs30(
11610
11610
  StyledSwitchWrapper,
11611
11611
  {
11612
11612
  $disabled: disabled,
@@ -11697,10 +11697,10 @@ var ContrastPreview = () => {
11697
11697
  };
11698
11698
 
11699
11699
  // src/components/ColorPicker/ContrastControls.tsx
11700
- import { jsx as jsx253, jsxs as jsxs32 } from "react/jsx-runtime";
11700
+ import { jsx as jsx253, jsxs as jsxs31 } from "react/jsx-runtime";
11701
11701
  var ContrastControls = () => {
11702
- return /* @__PURE__ */ jsxs32(Stack, { children: [
11703
- /* @__PURE__ */ jsxs32(
11702
+ return /* @__PURE__ */ jsxs31(Stack, { children: [
11703
+ /* @__PURE__ */ jsxs31(
11704
11704
  Box,
11705
11705
  {
11706
11706
  alignItems: "center",
@@ -11723,7 +11723,7 @@ import { parseHex as parseHex2 } from "culori/fn";
11723
11723
 
11724
11724
  // src/components/Input/Input.tsx
11725
11725
  import { isValidElement as isValidElement2, forwardRef as forwardRef15, cloneElement as cloneElement4, useRef as useRef9 } from "react";
11726
- import { styled as styled45, css as css30 } from "styled-components";
11726
+ import { styled as styled46, css as css30 } from "styled-components";
11727
11727
  import { isNil as isNil14, isNotNil as isNotNil18, isRecord as isRecord4 } from "@wistia/type-guards";
11728
11728
 
11729
11729
  // src/css/inputCss.ts
@@ -11754,7 +11754,7 @@ var inputCss = css29`
11754
11754
  `;
11755
11755
 
11756
11756
  // src/components/Input/Input.tsx
11757
- import { jsx as jsx254, jsxs as jsxs33 } from "react/jsx-runtime";
11757
+ import { jsx as jsx254, jsxs as jsxs32 } from "react/jsx-runtime";
11758
11758
  var inputStyles = css30`
11759
11759
  ${inputCss}
11760
11760
  input,
@@ -11796,7 +11796,7 @@ var inputStyles = css30`
11796
11796
  }
11797
11797
  `;
11798
11798
  var calculateTextareaHeight = (rows = 1) => `calc((var(--wui-input-line-height) * ${rows}) + (var(--wui-input-vertical-padding) * 2));`;
11799
- var StyledInputContainer = styled45.div`
11799
+ var StyledInputContainer = styled46.div`
11800
11800
  display: inline-flex;
11801
11801
  position: relative;
11802
11802
  ${inputStyles};
@@ -11946,7 +11946,7 @@ var Input = forwardRef15(
11946
11946
  });
11947
11947
  }
11948
11948
  };
11949
- return /* @__PURE__ */ jsxs33(
11949
+ return /* @__PURE__ */ jsxs32(
11950
11950
  StyledInputContainer,
11951
11951
  {
11952
11952
  $fullHeight: fullHeight,
@@ -12150,15 +12150,15 @@ import {
12150
12150
  Track as SliderTrack,
12151
12151
  Thumb as SliderThumb
12152
12152
  } from "@radix-ui/react-slider";
12153
- import { styled as styled47 } from "styled-components";
12153
+ import { styled as styled48 } from "styled-components";
12154
12154
  import { formatHex as formatHex6 } from "culori/fn";
12155
12155
 
12156
12156
  // src/components/ColorPicker/HSVHueCanvas.tsx
12157
12157
  import { useEffect as useEffect12, useRef as useRef11 } from "react";
12158
- import { styled as styled46 } from "styled-components";
12158
+ import { styled as styled47 } from "styled-components";
12159
12159
  import { formatHex as formatHex5 } from "culori/fn";
12160
12160
  import { jsx as jsx256 } from "react/jsx-runtime";
12161
- var Canvas = styled46.canvas`
12161
+ var Canvas = styled47.canvas`
12162
12162
  display: block;
12163
12163
  height: 100%;
12164
12164
  width: 100%;
@@ -12196,9 +12196,9 @@ var HSVHueCanvas = ({ hsv }) => {
12196
12196
  };
12197
12197
 
12198
12198
  // src/components/ColorPicker/HueSlider.tsx
12199
- import { jsx as jsx257, jsxs as jsxs34 } from "react/jsx-runtime";
12199
+ import { jsx as jsx257, jsxs as jsxs33 } from "react/jsx-runtime";
12200
12200
  var TWENTY_FOUR = 24;
12201
- var Container8 = styled47.div`
12201
+ var Container8 = styled48.div`
12202
12202
  border-radius: var(--wui-border-radius-rounded);
12203
12203
  border: 1px solid var(--wui-color-border);
12204
12204
  height: ${TWENTY_FOUR}px;
@@ -12206,7 +12206,7 @@ var Container8 = styled47.div`
12206
12206
  padding: 0 var(--wui-space-03);
12207
12207
  position: relative;
12208
12208
  `;
12209
- var Root = styled47(SliderRoot)`
12209
+ var Root = styled48(SliderRoot)`
12210
12210
  align-items: center;
12211
12211
  display: flex;
12212
12212
  position: absolute;
@@ -12215,11 +12215,11 @@ var Root = styled47(SliderRoot)`
12215
12215
  width: calc(100% - var(--wui-space-05));
12216
12216
  height: 16px;
12217
12217
  `;
12218
- var Track = styled47(SliderTrack)`
12218
+ var Track = styled48(SliderTrack)`
12219
12219
  width: 100%;
12220
12220
  `;
12221
- var Thumb = styled47(SliderThumb)``;
12222
- var ThumbInner = styled47.div`
12221
+ var Thumb = styled48(SliderThumb)``;
12222
+ var ThumbInner = styled48.div`
12223
12223
  cursor: pointer;
12224
12224
  display: block;
12225
12225
  border-radius: var(--wui-border-radius-rounded);
@@ -12263,8 +12263,8 @@ var HueSlider = () => {
12263
12263
  },
12264
12264
  [nonDerivedValueAsHsv, onChangeNonDerivedValueAsHsv]
12265
12265
  );
12266
- return /* @__PURE__ */ jsxs34(Container8, { style: containerStyle, children: [
12267
- /* @__PURE__ */ jsxs34(
12266
+ return /* @__PURE__ */ jsxs33(Container8, { style: containerStyle, children: [
12267
+ /* @__PURE__ */ jsxs33(
12268
12268
  Root,
12269
12269
  {
12270
12270
  max: THREE_SIXTY,
@@ -12286,11 +12286,11 @@ HueSlider.displayName = "HueSlider_UI";
12286
12286
 
12287
12287
  // src/components/ColorPicker/SaturationAndValuePicker.tsx
12288
12288
  import { useCallback as useCallback15, useEffect as useEffect14, useLayoutEffect as useLayoutEffect4, useMemo as useMemo10, useRef as useRef13, useState as useState14 } from "react";
12289
- import { styled as styled49 } from "styled-components";
12289
+ import { styled as styled50 } from "styled-components";
12290
12290
 
12291
12291
  // src/components/ColorPicker/HSVSaturationValueCanvas.tsx
12292
12292
  import { useEffect as useEffect13, useRef as useRef12 } from "react";
12293
- import { styled as styled48 } from "styled-components";
12293
+ import { styled as styled49 } from "styled-components";
12294
12294
 
12295
12295
  // src/components/ColorPicker/canvas-utils.ts
12296
12296
  var drawSmoothCurve = (context, points) => {
@@ -12320,7 +12320,7 @@ var drawSmoothCurve = (context, points) => {
12320
12320
 
12321
12321
  // src/components/ColorPicker/HSVSaturationValueCanvas.tsx
12322
12322
  import { jsx as jsx258 } from "react/jsx-runtime";
12323
- var Canvas2 = styled48.canvas`
12323
+ var Canvas2 = styled49.canvas`
12324
12324
  display: block;
12325
12325
  width: 100%;
12326
12326
  `;
@@ -12438,16 +12438,16 @@ var HSVSaturationValueCanvas = ({
12438
12438
  };
12439
12439
 
12440
12440
  // src/components/ColorPicker/SaturationAndValuePicker.tsx
12441
- import { jsx as jsx259, jsxs as jsxs35 } from "react/jsx-runtime";
12441
+ import { jsx as jsx259, jsxs as jsxs34 } from "react/jsx-runtime";
12442
12442
  var SATURATION_NUDGE = 0.02;
12443
12443
  var VALUE_NUDGE = 0.02;
12444
- var Container9 = styled49.div`
12444
+ var Container9 = styled50.div`
12445
12445
  border-radius: var(--wui-border-radius-02);
12446
12446
  box-shadow: 0 0 0 1px var(--wui-color-border);
12447
12447
  overflow: hidden;
12448
12448
  position: relative;
12449
12449
  `;
12450
- var Thumb2 = styled49.button.attrs({ type: "button" })`
12450
+ var Thumb2 = styled50.button.attrs({ type: "button" })`
12451
12451
  appearance: none;
12452
12452
  border-radius: var(--wui-border-radius-rounded);
12453
12453
  border: none;
@@ -12608,7 +12608,7 @@ var SaturationAndValuePicker = ({
12608
12608
  }, [onWindowMouseMove, onWindowMouseUp]);
12609
12609
  return (
12610
12610
  // eslint-disable-next-line styled-components-a11y/no-static-element-interactions
12611
- /* @__PURE__ */ jsxs35(
12611
+ /* @__PURE__ */ jsxs34(
12612
12612
  Container9,
12613
12613
  {
12614
12614
  ref: containerRef,
@@ -12638,7 +12638,7 @@ var SaturationAndValuePicker = ({
12638
12638
  }
12639
12639
  ),
12640
12640
  /* @__PURE__ */ jsx259(ScreenReaderOnly, { id: instructionsId, children: "Move right to increase saturation, left to decrease saturation, up to increase value, and down to decrease value." }),
12641
- /* @__PURE__ */ jsxs35(ScreenReaderOnly, { "aria-live": "polite", children: [
12641
+ /* @__PURE__ */ jsxs34(ScreenReaderOnly, { "aria-live": "polite", children: [
12642
12642
  "Current color: ",
12643
12643
  valueAsHex,
12644
12644
  ". Hue: ",
@@ -12669,15 +12669,15 @@ import {
12669
12669
  isValidElement as isValidElement3
12670
12670
  } from "react";
12671
12671
  import { matchSorter } from "match-sorter";
12672
- import { styled as styled51 } from "styled-components";
12672
+ import { styled as styled52 } from "styled-components";
12673
12673
  import { isArray as isArray2, isString as isString3 } from "@wistia/type-guards";
12674
12674
 
12675
12675
  // src/components/Tag/Tag.tsx
12676
12676
  import { forwardRef as forwardRef16 } from "react";
12677
- import { styled as styled50 } from "styled-components";
12677
+ import { styled as styled51 } from "styled-components";
12678
12678
  import { isNil as isNil15, isNotNil as isNotNil19, isNonEmptyString as isNonEmptyString5 } from "@wistia/type-guards";
12679
- import { Fragment as Fragment7, jsx as jsx260, jsxs as jsxs36 } from "react/jsx-runtime";
12680
- var TagLabel = styled50.a`
12679
+ import { Fragment as Fragment7, jsx as jsx260, jsxs as jsxs35 } from "react/jsx-runtime";
12680
+ var TagLabel = styled51.a`
12681
12681
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12682
12682
  font-size: var(--wui-typography-label-4-size);
12683
12683
  font-weight: var(--wui-typography-label-4-weight);
@@ -12713,14 +12713,14 @@ var TagLabel = styled50.a`
12713
12713
  background: var(--wui-color-bg-surface-secondary-active);
12714
12714
  }
12715
12715
  `;
12716
- var TagDivider = styled50.div`
12716
+ var TagDivider = styled51.div`
12717
12717
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12718
12718
  border-left: 1px solid var(--wui-color-border);
12719
12719
  display: flex;
12720
12720
  height: 14px;
12721
12721
  width: 1px;
12722
12722
  `;
12723
- var StyledRemoveButton = styled50.button`
12723
+ var StyledRemoveButton = styled51.button`
12724
12724
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12725
12725
  all: unset;
12726
12726
  cursor: pointer;
@@ -12748,7 +12748,7 @@ var StyledRemoveButton = styled50.button`
12748
12748
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
12749
12749
  }
12750
12750
  `;
12751
- var StyledTag = styled50.div`
12751
+ var StyledTag = styled51.div`
12752
12752
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12753
12753
  align-items: center;
12754
12754
  background-color: var(--wui-color-bg-surface-secondary);
@@ -12769,9 +12769,9 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
12769
12769
  "for accessibility, onClickRemoveLabel must be provided if onClickRemove is provided"
12770
12770
  );
12771
12771
  }
12772
- return /* @__PURE__ */ jsxs36(Fragment7, { children: [
12772
+ return /* @__PURE__ */ jsxs35(Fragment7, { children: [
12773
12773
  /* @__PURE__ */ jsx260(TagDivider, { $colorScheme: colorScheme }),
12774
- /* @__PURE__ */ jsxs36(
12774
+ /* @__PURE__ */ jsxs35(
12775
12775
  StyledRemoveButton,
12776
12776
  {
12777
12777
  $colorScheme: colorScheme,
@@ -12795,14 +12795,14 @@ var Tag = forwardRef16(
12795
12795
  ({ onClickRemove, colorScheme = "inherit", href, icon, label, onClickRemoveLabel, ...props }, ref) => {
12796
12796
  const hasIcon = isNotNil19(icon);
12797
12797
  const labelProps = isNotNil19(href) && isNonEmptyString5(href) ? { href, as: "a" } : { as: "span" };
12798
- return /* @__PURE__ */ jsxs36(
12798
+ return /* @__PURE__ */ jsxs35(
12799
12799
  StyledTag,
12800
12800
  {
12801
12801
  ref,
12802
12802
  $colorScheme: colorScheme,
12803
12803
  ...props,
12804
12804
  children: [
12805
- /* @__PURE__ */ jsxs36(
12805
+ /* @__PURE__ */ jsxs35(
12806
12806
  TagLabel,
12807
12807
  {
12808
12808
  ...labelProps,
@@ -12846,8 +12846,8 @@ var getDefaultTypographicElement = (variant) => {
12846
12846
  };
12847
12847
 
12848
12848
  // src/components/Combobox/Combobox.tsx
12849
- import { jsx as jsx261, jsxs as jsxs37 } from "react/jsx-runtime";
12850
- var ComboboxWrapper = styled51.div`
12849
+ import { jsx as jsx261, jsxs as jsxs36 } from "react/jsx-runtime";
12850
+ var ComboboxWrapper = styled52.div`
12851
12851
  ${inputCss};
12852
12852
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
12853
12853
  padding: var(--wui-input-vertical-padding) var(--wui-input-horizontal-padding);
@@ -12896,7 +12896,7 @@ var ComboboxWrapper = styled51.div`
12896
12896
  }
12897
12897
  }
12898
12898
  `;
12899
- var ComboboxInput = styled51(Ariakit.Combobox)`
12899
+ var ComboboxInput = styled52(Ariakit.Combobox)`
12900
12900
  appearance: none;
12901
12901
  padding: 0;
12902
12902
  width: 100%;
@@ -12911,7 +12911,7 @@ var ComboboxInput = styled51(Ariakit.Combobox)`
12911
12911
  outline-width: 2px;
12912
12912
  }
12913
12913
  `;
12914
- var ComboboxPopover2 = styled51(Ariakit.ComboboxPopover)`
12914
+ var ComboboxPopover2 = styled52(Ariakit.ComboboxPopover)`
12915
12915
  --wui-combobox-content-border: var(--wui-color-border);
12916
12916
  --wui-combobox-content-bg: var(--wui-color-bg-surface);
12917
12917
  --wui-combobox-content-border-radius: var(--wui-border-radius-02);
@@ -12937,7 +12937,7 @@ var ComboboxPopover2 = styled51(Ariakit.ComboboxPopover)`
12937
12937
  --item-opacity: 0.5;
12938
12938
  }
12939
12939
  `;
12940
- var ComboboxItem2 = styled51(Ariakit.ComboboxItem)`
12940
+ var ComboboxItem2 = styled52(Ariakit.ComboboxItem)`
12941
12941
  ${getTypographicStyles("body3")};
12942
12942
  display: flex;
12943
12943
  padding: var(--wui-combobox-option-padding);
@@ -12965,7 +12965,7 @@ var ComboboxItem2 = styled51(Ariakit.ComboboxItem)`
12965
12965
  background-color: transparent;
12966
12966
  }
12967
12967
  `;
12968
- var NoResults = styled51.div`
12968
+ var NoResults = styled52.div`
12969
12969
  gap: var(--wui-space-02);
12970
12970
  `;
12971
12971
  var POPOVER_WIDTH_OFFSET = 20;
@@ -13043,7 +13043,7 @@ var Combobox2 = ({
13043
13043
  const matches = useMemo11(() => {
13044
13044
  return matchSorter(Object.keys(options), searchValue);
13045
13045
  }, [options, searchValue]);
13046
- return /* @__PURE__ */ jsxs37(
13046
+ return /* @__PURE__ */ jsxs36(
13047
13047
  Ariakit.ComboboxProvider,
13048
13048
  {
13049
13049
  open: isOpen,
@@ -13057,7 +13057,7 @@ var Combobox2 = ({
13057
13057
  },
13058
13058
  value: !isOpen && !isMultiSelect ? value : searchValue,
13059
13059
  children: [
13060
- /* @__PURE__ */ jsxs37(
13060
+ /* @__PURE__ */ jsxs36(
13061
13061
  ComboboxWrapper,
13062
13062
  {
13063
13063
  ref: comboboxWrapperRef,
@@ -13074,7 +13074,7 @@ var Combobox2 = ({
13074
13074
  ]
13075
13075
  }
13076
13076
  ),
13077
- /* @__PURE__ */ jsxs37(
13077
+ /* @__PURE__ */ jsxs36(
13078
13078
  ComboboxPopover2,
13079
13079
  {
13080
13080
  "aria-busy": isPending,
@@ -13086,7 +13086,7 @@ var Combobox2 = ({
13086
13086
  width: wrapperWidth
13087
13087
  },
13088
13088
  children: [
13089
- matches.map((match) => /* @__PURE__ */ jsxs37(
13089
+ matches.map((match) => /* @__PURE__ */ jsxs36(
13090
13090
  ComboboxItem2,
13091
13091
  {
13092
13092
  className: "combobox-item",
@@ -13130,7 +13130,7 @@ import {
13130
13130
  } from "@radix-ui/react-dropdown-menu";
13131
13131
  import { isNotNil as isNotNil20, isNotUndefined as isNotUndefined9 } from "@wistia/type-guards";
13132
13132
  import { forwardRef as forwardRef17, useMemo as useMemo12 } from "react";
13133
- import { styled as styled52, css as css32, keyframes as keyframes2 } from "styled-components";
13133
+ import { styled as styled53, css as css32, keyframes as keyframes3 } from "styled-components";
13134
13134
 
13135
13135
  // src/components/Menu/MenuContext.tsx
13136
13136
  import { createContext as createContext6, useContext as useContext5 } from "react";
@@ -13138,8 +13138,8 @@ var MenuContext = createContext6({ compact: false });
13138
13138
  var useMenuContext = () => useContext5(MenuContext);
13139
13139
 
13140
13140
  // src/components/Menu/Menu.tsx
13141
- import { jsx as jsx262, jsxs as jsxs38 } from "react/jsx-runtime";
13142
- var open = keyframes2`
13141
+ import { jsx as jsx262, jsxs as jsxs37 } from "react/jsx-runtime";
13142
+ var open = keyframes3`
13143
13143
  from {
13144
13144
  opacity: 0;
13145
13145
  transform: scale(.97) translateY(-8px);
@@ -13149,7 +13149,7 @@ var open = keyframes2`
13149
13149
  transform: scale(1);
13150
13150
  }
13151
13151
  `;
13152
- var close = keyframes2`
13152
+ var close = keyframes3`
13153
13153
  from {
13154
13154
  opacity: 1;
13155
13155
  transform: scale(1);
@@ -13223,7 +13223,7 @@ var menuContentCss = css32`
13223
13223
  margin: var(--menu-divider-margin) 0;
13224
13224
  }
13225
13225
  `;
13226
- var MenuContent = styled52(DropdownMenuContent)`
13226
+ var MenuContent = styled53(DropdownMenuContent)`
13227
13227
  ${menuContentCss}
13228
13228
  min-width: var(--radix-dropdown-menu-trigger-width);
13229
13229
  `;
@@ -13251,7 +13251,7 @@ var Menu = forwardRef17(
13251
13251
  onOpenChange: () => null
13252
13252
  };
13253
13253
  }
13254
- return /* @__PURE__ */ jsx262(MenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs38(
13254
+ return /* @__PURE__ */ jsx262(MenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs37(
13255
13255
  DropdownMenu,
13256
13256
  {
13257
13257
  modal: false,
@@ -13293,10 +13293,10 @@ Menu.displayName = "Menu_UI";
13293
13293
  Menu.displayName = "Menu_UI";
13294
13294
 
13295
13295
  // src/components/Menu/MenuLabel.tsx
13296
- import { styled as styled53 } from "styled-components";
13296
+ import { styled as styled54 } from "styled-components";
13297
13297
  import { DropdownMenuLabel } from "@radix-ui/react-dropdown-menu";
13298
13298
  import { jsx as jsx263 } from "react/jsx-runtime";
13299
- var StyledMenuLabel = styled53(DropdownMenuLabel)`
13299
+ var StyledMenuLabel = styled54(DropdownMenuLabel)`
13300
13300
  padding: var(--wui-space-02);
13301
13301
  `;
13302
13302
  var MenuLabel = ({ children, ...props }) => {
@@ -13321,7 +13321,7 @@ MenuLabel.displayName = "MenuLabel_UI";
13321
13321
 
13322
13322
  // src/components/Menu/SubMenu.tsx
13323
13323
  import { useState as useState16 } from "react";
13324
- import { styled as styled56 } from "styled-components";
13324
+ import { styled as styled57 } from "styled-components";
13325
13325
  import {
13326
13326
  DropdownMenuPortal as DropdownMenuPortal2,
13327
13327
  DropdownMenuSub,
@@ -13334,10 +13334,10 @@ import { isNotNil as isNotNil22 } from "@wistia/type-guards";
13334
13334
 
13335
13335
  // src/components/Menu/MenuItemButton.tsx
13336
13336
  import { forwardRef as forwardRef18 } from "react";
13337
- import { styled as styled54 } from "styled-components";
13337
+ import { styled as styled55 } from "styled-components";
13338
13338
  import { isNotNil as isNotNil21, isNotUndefined as isNotUndefined10 } from "@wistia/type-guards";
13339
- import { jsx as jsx264, jsxs as jsxs39 } from "react/jsx-runtime";
13340
- var StyledButton3 = styled54(Button)`
13339
+ import { jsx as jsx264, jsxs as jsxs38 } from "react/jsx-runtime";
13340
+ var StyledButton3 = styled55(Button)`
13341
13341
  ${({ colorScheme }) => getColorScheme(colorScheme)};
13342
13342
 
13343
13343
  display: flex;
@@ -13376,7 +13376,7 @@ var StyledButton3 = styled54(Button)`
13376
13376
  padding-left: var(--wui-space-04);
13377
13377
  }
13378
13378
  `;
13379
- var StyledLeftIconContainer = styled54.div`
13379
+ var StyledLeftIconContainer = styled55.div`
13380
13380
  height: var(--menu-item-left-icon-size);
13381
13381
  width: var(--menu-item-left-icon-size);
13382
13382
 
@@ -13388,7 +13388,7 @@ var StyledLeftIconContainer = styled54.div`
13388
13388
  }
13389
13389
  }
13390
13390
  `;
13391
- var StyledRightIconContainer = styled54.div`
13391
+ var StyledRightIconContainer = styled55.div`
13392
13392
  height: var(--menu-item-right-icon-size);
13393
13393
  width: var(--menu-item-right-icon-size);
13394
13394
 
@@ -13400,13 +13400,13 @@ var StyledRightIconContainer = styled54.div`
13400
13400
  }
13401
13401
  }
13402
13402
  `;
13403
- var StyledLabelAndDescriptionContainer = styled54.div`
13403
+ var StyledLabelAndDescriptionContainer = styled55.div`
13404
13404
  display: flex;
13405
13405
  flex-direction: column;
13406
13406
  gap: var(--menu-label-description-gap);
13407
13407
  flex-basis: 100%;
13408
13408
  `;
13409
- var StyledBadgeContainer = styled54.div`
13409
+ var StyledBadgeContainer = styled55.div`
13410
13410
  align-self: start;
13411
13411
  justify-self: end;
13412
13412
  font-size: var(--wui-typography-label-4-size);
@@ -13433,7 +13433,7 @@ var MenuItemButton = forwardRef18(({ children, appearance, command, icon, ...pro
13433
13433
  }
13434
13434
  );
13435
13435
  }
13436
- return /* @__PURE__ */ jsxs39(
13436
+ return /* @__PURE__ */ jsxs38(
13437
13437
  StyledButton3,
13438
13438
  {
13439
13439
  ...props,
@@ -13454,10 +13454,10 @@ var MenuItemButton = forwardRef18(({ children, appearance, command, icon, ...pro
13454
13454
  MenuItemButton.displayName = "MenuItemButton_UI";
13455
13455
 
13456
13456
  // src/components/Menu/MenuItemLabelDescription.tsx
13457
- import { styled as styled55 } from "styled-components";
13457
+ import { styled as styled56 } from "styled-components";
13458
13458
  import { jsx as jsx265 } from "react/jsx-runtime";
13459
- var StyledMenuItemLabel = styled55.span``;
13460
- var StyledMenuItemDescription = styled55(Text)``;
13459
+ var StyledMenuItemLabel = styled56.span``;
13460
+ var StyledMenuItemDescription = styled56(Text)``;
13461
13461
  var MenuItemLabel = ({ children }) => {
13462
13462
  return /* @__PURE__ */ jsx265(StyledMenuItemLabel, { children });
13463
13463
  };
@@ -13473,18 +13473,18 @@ var MenuItemDescription = ({ children }) => {
13473
13473
  };
13474
13474
 
13475
13475
  // src/components/Menu/SubMenu.tsx
13476
- import { jsx as jsx266, jsxs as jsxs40 } from "react/jsx-runtime";
13477
- var SubMenuContent = styled56(DropdownMenuSubContent)`
13476
+ import { jsx as jsx266, jsxs as jsxs39 } from "react/jsx-runtime";
13477
+ var SubMenuContent = styled57(DropdownMenuSubContent)`
13478
13478
  ${menuContentCss}
13479
13479
 
13480
13480
  ${mq.smAndDown} {
13481
13481
  transform: translateX(-100%) !important;
13482
13482
  }
13483
13483
  `;
13484
- var StyledMobileSubMenuItems = styled56.div`
13484
+ var StyledMobileSubMenuItems = styled57.div`
13485
13485
  margin-left: var(--wui-space-04);
13486
13486
  `;
13487
- var StyledSubTrigger = styled56(DropdownMenuSubTrigger)`
13487
+ var StyledSubTrigger = styled57(DropdownMenuSubTrigger)`
13488
13488
  outline: none;
13489
13489
 
13490
13490
  &[data-state='open'],
@@ -13514,14 +13514,14 @@ var SubMenu = ({
13514
13514
  const { isSmAndUp } = useMq();
13515
13515
  const [isExpanded, setIsExpanded] = useState16(false);
13516
13516
  const { compact } = useMenuContext();
13517
- return isSmAndUp ? /* @__PURE__ */ jsxs40(DropdownMenuSub, { onOpenChange, children: [
13518
- /* @__PURE__ */ jsxs40(SubMenuTrigger, { ...props, children: [
13517
+ return isSmAndUp ? /* @__PURE__ */ jsxs39(DropdownMenuSub, { onOpenChange, children: [
13518
+ /* @__PURE__ */ jsxs39(SubMenuTrigger, { ...props, children: [
13519
13519
  /* @__PURE__ */ jsx266(MenuItemLabel, { children: label }),
13520
13520
  isNotNil22(description) ? /* @__PURE__ */ jsx266(MenuItemDescription, { children: description }) : null
13521
13521
  ] }),
13522
13522
  /* @__PURE__ */ jsx266(DropdownMenuPortal2, { children: /* @__PURE__ */ jsx266(SubMenuContent, { $compact: compact, children }) })
13523
- ] }) : /* @__PURE__ */ jsxs40(DropdownMenuGroup, { children: [
13524
- /* @__PURE__ */ jsxs40(
13523
+ ] }) : /* @__PURE__ */ jsxs39(DropdownMenuGroup, { children: [
13524
+ /* @__PURE__ */ jsxs39(
13525
13525
  SubMenuTrigger,
13526
13526
  {
13527
13527
  ...props,
@@ -13610,9 +13610,9 @@ RadioMenuItem.displayName = "RadioMenuItem_UI";
13610
13610
  // src/components/Menu/CheckboxMenuItem.tsx
13611
13611
  import { DropdownMenuCheckboxItem, DropdownMenuItemIndicator as DropdownMenuItemIndicator2 } from "@radix-ui/react-dropdown-menu";
13612
13612
  import { isNotNil as isNotNil23 } from "@wistia/type-guards";
13613
- import { jsx as jsx270, jsxs as jsxs41 } from "react/jsx-runtime";
13613
+ import { jsx as jsx270, jsxs as jsxs40 } from "react/jsx-runtime";
13614
13614
  var CheckboxIndicator = ({ checked, ...props }) => {
13615
- return checked ? /* @__PURE__ */ jsxs41(
13615
+ return checked ? /* @__PURE__ */ jsxs40(
13616
13616
  "svg",
13617
13617
  {
13618
13618
  ...props,
@@ -13638,7 +13638,7 @@ var CheckboxIndicator = ({ checked, ...props }) => {
13638
13638
  )
13639
13639
  ]
13640
13640
  }
13641
- ) : /* @__PURE__ */ jsxs41(
13641
+ ) : /* @__PURE__ */ jsxs40(
13642
13642
  "svg",
13643
13643
  {
13644
13644
  ...props,
@@ -13695,11 +13695,11 @@ CheckboxMenuItem.displayName = "CheckboxMenuItem_UI";
13695
13695
  // src/components/Menu/FilterMenu.tsx
13696
13696
  import { Children as Children6, forwardRef as forwardRef20 } from "react";
13697
13697
  import { DropdownMenuItem as DropdownMenuItem3 } from "@radix-ui/react-dropdown-menu";
13698
- import { jsx as jsx271, jsxs as jsxs42 } from "react/jsx-runtime";
13698
+ import { jsx as jsx271, jsxs as jsxs41 } from "react/jsx-runtime";
13699
13699
  var FilterMenuItem = CheckboxMenuItem;
13700
13700
  var FilterMenu = forwardRef20(
13701
13701
  ({ value, onChange, searchValue, onSearchValueChange, children, ...props }, ref) => {
13702
- return /* @__PURE__ */ jsxs42(
13702
+ return /* @__PURE__ */ jsxs41(
13703
13703
  Menu,
13704
13704
  {
13705
13705
  ...props,
@@ -13863,10 +13863,10 @@ var ContextMenu = ({
13863
13863
 
13864
13864
  // src/components/DataCards/DataCard.tsx
13865
13865
  import { useRef as useRef15 } from "react";
13866
- import { styled as styled57, keyframes as keyframes3 } from "styled-components";
13866
+ import { styled as styled58, keyframes as keyframes4 } from "styled-components";
13867
13867
  import { isNotNil as isNotNil25 } from "@wistia/type-guards";
13868
- import { jsx as jsx273, jsxs as jsxs43 } from "react/jsx-runtime";
13869
- var StyledDataCard = styled57.div`
13868
+ import { jsx as jsx273, jsxs as jsxs42 } from "react/jsx-runtime";
13869
+ var StyledDataCard = styled58.div`
13870
13870
  --wui-data-card-text: var(--wui-color-text-button);
13871
13871
  --wui-color-text: var(--wui-data-card-text);
13872
13872
  --wui-data-card-background: var(--wui-color-bg-surface-secondary);
@@ -13940,7 +13940,7 @@ var StyledDataCard = styled57.div`
13940
13940
  ${({ $colorScheme }) => getColorScheme($colorScheme)}
13941
13941
  }
13942
13942
  `;
13943
- var shimmer = keyframes3`
13943
+ var shimmer = keyframes4`
13944
13944
  0% {
13945
13945
  background-position: 200% 0;
13946
13946
  }
@@ -13948,7 +13948,7 @@ var shimmer = keyframes3`
13948
13948
  background-position: -200% 0;
13949
13949
  }
13950
13950
  `;
13951
- var LoadingBackground = styled57.div`
13951
+ var LoadingBackground = styled58.div`
13952
13952
  background: linear-gradient(
13953
13953
  90deg,
13954
13954
  var(--wui-color-bg-surface-tertiary) 25%,
@@ -13959,32 +13959,32 @@ var LoadingBackground = styled57.div`
13959
13959
  animation: ${shimmer} 1.5s infinite;
13960
13960
  border-radius: var(--wui-border-radius-01);
13961
13961
  `;
13962
- var StyledLoadingLabel = styled57(LoadingBackground)`
13962
+ var StyledLoadingLabel = styled58(LoadingBackground)`
13963
13963
  width: 80px;
13964
13964
  height: var(--wui-typography-heading-6-line-height);
13965
13965
  `;
13966
- var StyledLoadingValue = styled57(LoadingBackground)`
13966
+ var StyledLoadingValue = styled58(LoadingBackground)`
13967
13967
  width: 90%;
13968
13968
  height: var(--wui-typography-heading-3-line-height);
13969
13969
  `;
13970
- var StyledLabel3 = styled57(Heading)`
13970
+ var StyledLabel3 = styled58(Heading)`
13971
13971
  grid-area: label;
13972
13972
  `;
13973
- var StyledValue = styled57(Heading)`
13973
+ var StyledValue = styled58(Heading)`
13974
13974
  grid-area: value;
13975
13975
  `;
13976
- var StyledSlot = styled57.div`
13976
+ var StyledSlot = styled58.div`
13977
13977
  display: flex;
13978
13978
  justify-content: flex-end;
13979
13979
  grid-area: slot;
13980
13980
  align-self: center;
13981
13981
  `;
13982
- var StyledDataCardTrendContainer = styled57.div`
13982
+ var StyledDataCardTrendContainer = styled58.div`
13983
13983
  position: absolute;
13984
13984
  bottom: var(--wui-space-01);
13985
13985
  right: var(--wui-space-01);
13986
13986
  `;
13987
- var StyledSubtitle = styled57(Text)`
13987
+ var StyledSubtitle = styled58(Text)`
13988
13988
  grid-area: subtitle;
13989
13989
  `;
13990
13990
  var DataCardInner = ({
@@ -13996,7 +13996,7 @@ var DataCardInner = ({
13996
13996
  trend,
13997
13997
  subtitle,
13998
13998
  ...props
13999
- }) => /* @__PURE__ */ jsxs43(
13999
+ }) => /* @__PURE__ */ jsxs42(
14000
14000
  StyledDataCard,
14001
14001
  {
14002
14002
  $colorScheme: colorScheme,
@@ -14062,9 +14062,9 @@ var DataCard = (props) => {
14062
14062
  DataCard.displayName = "DataCard_UI";
14063
14063
 
14064
14064
  // src/components/DataCards/DataCards.tsx
14065
- import { styled as styled58 } from "styled-components";
14065
+ import { styled as styled59 } from "styled-components";
14066
14066
  import { jsx as jsx274 } from "react/jsx-runtime";
14067
- var StyledDataCards = styled58(Box)`
14067
+ var StyledDataCards = styled59(Box)`
14068
14068
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
14069
14069
 
14070
14070
  > * {
@@ -14097,9 +14097,9 @@ var DataCards = ({
14097
14097
  DataCards.displayName = "DataCards_UI";
14098
14098
 
14099
14099
  // src/components/DataCards/DataCardTrend.tsx
14100
- import { styled as styled59 } from "styled-components";
14101
- import { jsx as jsx275, jsxs as jsxs44 } from "react/jsx-runtime";
14102
- var StyledDataCardTrend = styled59.div`
14100
+ import { styled as styled60 } from "styled-components";
14101
+ import { jsx as jsx275, jsxs as jsxs43 } from "react/jsx-runtime";
14102
+ var StyledDataCardTrend = styled60.div`
14103
14103
  ${({ $outlook }) => getColorScheme($outlook === "positive" ? "success" : "error")};
14104
14104
  background: var(--wui-color-bg-app);
14105
14105
  border-radius: var(--wui-border-radius-rounded);
@@ -14114,7 +14114,7 @@ var DataCardTrend = ({
14114
14114
  children,
14115
14115
  ...props
14116
14116
  }) => {
14117
- return /* @__PURE__ */ jsxs44(StyledDataCardTrend, { $outlook: outlook, children: [
14117
+ return /* @__PURE__ */ jsxs43(StyledDataCardTrend, { $outlook: outlook, children: [
14118
14118
  /* @__PURE__ */ jsx275(
14119
14119
  Icon,
14120
14120
  {
@@ -14135,9 +14135,9 @@ var DataCardTrend = ({
14135
14135
  };
14136
14136
 
14137
14137
  // src/components/DataCards/DataCardHoverArrow.tsx
14138
- import { styled as styled60 } from "styled-components";
14138
+ import { styled as styled61 } from "styled-components";
14139
14139
  import { jsx as jsx276 } from "react/jsx-runtime";
14140
- var StyledIconContainer = styled60.div`
14140
+ var StyledIconContainer = styled61.div`
14141
14141
  display: flex;
14142
14142
  align-items: center;
14143
14143
  align-self: center;
@@ -14153,9 +14153,9 @@ var DataCardHoverArrow = () => /* @__PURE__ */ jsx276(StyledIconContainer, { chi
14153
14153
  DataCardHoverArrow.displayName = "DataCardHoverArrow_UI";
14154
14154
 
14155
14155
  // src/components/DataList/DataList.tsx
14156
- import { styled as styled61 } from "styled-components";
14156
+ import { styled as styled62 } from "styled-components";
14157
14157
  import { jsx as jsx277 } from "react/jsx-runtime";
14158
- var StyledDataList = styled61.dl`
14158
+ var StyledDataList = styled62.dl`
14159
14159
  display: grid;
14160
14160
  grid-template-columns: auto 1fr;
14161
14161
  column-gap: var(--wui-space-02);
@@ -14234,7 +14234,7 @@ var DataListItemValue = (props) => {
14234
14234
  DataListItemValue.displayName = "DataListItemValue_UI";
14235
14235
 
14236
14236
  // src/components/Divider/Divider.tsx
14237
- import { styled as styled62, css as css33 } from "styled-components";
14237
+ import { styled as styled63, css as css33 } from "styled-components";
14238
14238
  import { jsx as jsx280 } from "react/jsx-runtime";
14239
14239
  var horizontalBorderCss = css33`
14240
14240
  border-top-color: var(--wui-color-border);
@@ -14249,7 +14249,7 @@ var verticalBorderCss = css33`
14249
14249
  min-height: 100%;
14250
14250
  width: 1px;
14251
14251
  `;
14252
- var DividerComponent = styled62.div`
14252
+ var DividerComponent = styled63.div`
14253
14253
  ${({ $orientation }) => {
14254
14254
  switch ($orientation) {
14255
14255
  case "vertical":
@@ -14275,10 +14275,10 @@ var Divider = ({ orientation = "horizontal", ...props }) => {
14275
14275
  Divider.displayName = "Divider_UI";
14276
14276
 
14277
14277
  // src/components/EditableHeading/EditableHeading.tsx
14278
- import { styled as styled63, css as css34 } from "styled-components";
14278
+ import { styled as styled64, css as css34 } from "styled-components";
14279
14279
  import { useState as useState18, useRef as useRef16 } from "react";
14280
- import { Fragment as Fragment8, jsx as jsx281, jsxs as jsxs45 } from "react/jsx-runtime";
14281
- var StyledInput = styled63(Input)`
14280
+ import { Fragment as Fragment8, jsx as jsx281, jsxs as jsxs44 } from "react/jsx-runtime";
14281
+ var StyledInput = styled64(Input)`
14282
14282
  &:not([rows]) {
14283
14283
  min-height: unset;
14284
14284
  }
@@ -14313,7 +14313,7 @@ var editableStyles = css34`
14313
14313
  cursor: pointer;
14314
14314
  }
14315
14315
  `;
14316
- var StyledHeading2 = styled63(Heading)`
14316
+ var StyledHeading2 = styled64(Heading)`
14317
14317
  width: 100%;
14318
14318
  border-radius: var(--wui-border-radius-02);
14319
14319
  padding: var(--wui-space-02);
@@ -14401,7 +14401,7 @@ var EditableHeading = ({
14401
14401
  }
14402
14402
  );
14403
14403
  }
14404
- return /* @__PURE__ */ jsxs45(Fragment8, { children: [
14404
+ return /* @__PURE__ */ jsxs44(Fragment8, { children: [
14405
14405
  /* @__PURE__ */ jsx281(Tooltip, { content: tooltipText, children: HeadingComponent2 }),
14406
14406
  /* @__PURE__ */ jsx281(ScreenReaderOnly, { children: /* @__PURE__ */ jsx281(
14407
14407
  "button",
@@ -14416,13 +14416,13 @@ var EditableHeading = ({
14416
14416
 
14417
14417
  // src/components/EditableText/EditableTextDisplay.tsx
14418
14418
  import { useContext as useContext6, useRef as useRef17, forwardRef as forwardRef21 } from "react";
14419
- import { styled as styled65, css as css35 } from "styled-components";
14419
+ import { styled as styled66, css as css35 } from "styled-components";
14420
14420
  import { isNotNil as isNotNil26 } from "@wistia/type-guards";
14421
14421
 
14422
14422
  // src/components/EditableText/EditableTextRoot.tsx
14423
14423
  import { createContext as createContext7, useMemo as useMemo13, useState as useState19, useCallback as useCallback16, useId as useId4 } from "react";
14424
14424
  import { isNonEmptyString as isNonEmptyString6 } from "@wistia/type-guards";
14425
- import { styled as styled64 } from "styled-components";
14425
+ import { styled as styled65 } from "styled-components";
14426
14426
  import { jsx as jsx282 } from "react/jsx-runtime";
14427
14427
  var LARGE_PADDING = "var(--wui-space-02)";
14428
14428
  var SMALL_PADDING = "var(--wui-space-01)";
@@ -14458,7 +14458,7 @@ var getPaddingForVariant = (variant) => {
14458
14458
  }
14459
14459
  return SMALL_PADDING;
14460
14460
  };
14461
- var StyledEditableTextRoot = styled64.div`
14461
+ var StyledEditableTextRoot = styled65.div`
14462
14462
  display: contents;
14463
14463
 
14464
14464
  --wui-editable-text-padding: ${({ $typographicVariant }) => getPaddingForVariant($typographicVariant)};
@@ -14570,8 +14570,8 @@ var EditableTextRoot = ({
14570
14570
  };
14571
14571
 
14572
14572
  // src/components/EditableText/EditableTextDisplay.tsx
14573
- import { jsx as jsx283, jsxs as jsxs46 } from "react/jsx-runtime";
14574
- var StyledEditableTextDisplay = styled65.div`
14573
+ import { jsx as jsx283, jsxs as jsxs45 } from "react/jsx-runtime";
14574
+ var StyledEditableTextDisplay = styled66.div`
14575
14575
  ${({ $typographicVariant }) => getTypographicStyles($typographicVariant)}
14576
14576
  padding: var(--wui-editable-text-padding);
14577
14577
  border-radius: var(--wui-editable-text-border-radius);
@@ -14623,7 +14623,7 @@ var EditableTextDisplayComponent = forwardRef21(
14623
14623
  return null;
14624
14624
  }
14625
14625
  if (asTrigger && !context.readOnly) {
14626
- return /* @__PURE__ */ jsx283(ClickRegion, { targetRef: triggerButtonRef, children: /* @__PURE__ */ jsxs46(
14626
+ return /* @__PURE__ */ jsx283(ClickRegion, { targetRef: triggerButtonRef, children: /* @__PURE__ */ jsxs45(
14627
14627
  StyledEditableTextDisplay,
14628
14628
  {
14629
14629
  ref,
@@ -14672,10 +14672,10 @@ var EditableTextDisplay = makePolymorphic(
14672
14672
 
14673
14673
  // src/components/EditableText/EditableTextInput.tsx
14674
14674
  import { useContext as useContext7, useEffect as useEffect17, useRef as useRef18 } from "react";
14675
- import { styled as styled66 } from "styled-components";
14675
+ import { styled as styled67 } from "styled-components";
14676
14676
  import { isNotNil as isNotNil27 } from "@wistia/type-guards";
14677
14677
  import { jsx as jsx284 } from "react/jsx-runtime";
14678
- var StyledInput2 = styled66(Input)`
14678
+ var StyledInput2 = styled67(Input)`
14679
14679
  && {
14680
14680
  ${({ $minLines }) => isNotNil27($minLines) && `min-height: calc(${$minLines}lh + calc(var(--wui-editable-text-padding) * 2));`}
14681
14681
  ${({ $maxLines }) => isNotNil27($maxLines) && `max-height: calc(${$maxLines}lh + calc(var(--wui-editable-text-padding) * 2));`}
@@ -14807,8 +14807,8 @@ var EditableTextLabel = ({ ...props }) => {
14807
14807
  };
14808
14808
 
14809
14809
  // src/components/EditableText/EditableText.tsx
14810
- import { jsx as jsx286, jsxs as jsxs47 } from "react/jsx-runtime";
14811
- var EditableText = ({ hideLabel = true, ...props }) => /* @__PURE__ */ jsxs47(EditableTextRoot, { ...props, children: [
14810
+ import { jsx as jsx286, jsxs as jsxs46 } from "react/jsx-runtime";
14811
+ var EditableText = ({ hideLabel = true, ...props }) => /* @__PURE__ */ jsxs46(EditableTextRoot, { ...props, children: [
14812
14812
  /* @__PURE__ */ jsx286(EditableTextLabel, { screenReaderOnly: hideLabel }),
14813
14813
  /* @__PURE__ */ jsx286(EditableTextInput, {}),
14814
14814
  /* @__PURE__ */ jsx286(EditableTextDisplay, { asTrigger: true })
@@ -14940,7 +14940,7 @@ var useFormState = (action, initialData = {}) => {
14940
14940
  // src/components/Form/FormErrorSummary.tsx
14941
14941
  import { useContext as useContext12, useRef as useRef19 } from "react";
14942
14942
  import { isArray as isArray3, isNotUndefined as isNotUndefined11 } from "@wistia/type-guards";
14943
- import { jsx as jsx287, jsxs as jsxs48 } from "react/jsx-runtime";
14943
+ import { jsx as jsx287, jsxs as jsxs47 } from "react/jsx-runtime";
14944
14944
  var ErrorItem = ({ name, error, formId }) => {
14945
14945
  return /* @__PURE__ */ jsx287("li", { children: /* @__PURE__ */ jsx287(Link, { href: `#${formId}-${name}`, children: error }) }, name);
14946
14946
  };
@@ -14951,7 +14951,7 @@ var FormErrorSummary = ({ description }) => {
14951
14951
  if (isValid || !hasSubmitted) {
14952
14952
  return null;
14953
14953
  }
14954
- return /* @__PURE__ */ jsxs48("div", { ref, children: [
14954
+ return /* @__PURE__ */ jsxs47("div", { ref, children: [
14955
14955
  /* @__PURE__ */ jsx287("p", { children: description }),
14956
14956
  /* @__PURE__ */ jsx287("ul", { children: Object.entries(errors).filter(([, error]) => isNotUndefined11(error)).map(
14957
14957
  ([name, error]) => isArray3(error) ? error.map((err) => /* @__PURE__ */ jsx287(
@@ -14977,10 +14977,10 @@ var FormErrorSummary = ({ description }) => {
14977
14977
 
14978
14978
  // src/components/FormField/FormField.tsx
14979
14979
  import { Children as Children10, cloneElement as cloneElement8, useContext as useContext13 } from "react";
14980
- import { styled as styled67 } from "styled-components";
14980
+ import { styled as styled68 } from "styled-components";
14981
14981
  import { isArray as isArray4, isNotNil as isNotNil28, isNotUndefined as isNotUndefined12, isUndefined as isUndefined4 } from "@wistia/type-guards";
14982
- import { Fragment as Fragment9, jsx as jsx288, jsxs as jsxs49 } from "react/jsx-runtime";
14983
- var StyledFormField = styled67.div`
14982
+ import { Fragment as Fragment9, jsx as jsx288, jsxs as jsxs48 } from "react/jsx-runtime";
14983
+ var StyledFormField = styled68.div`
14984
14984
  --form-field-spacing: var(--wui-space-01);
14985
14985
  --form-field-spacing-inline: var(--wui-space-02);
14986
14986
  --form-field-error-color: var(--wui-color-text-secondary-error);
@@ -15010,7 +15010,7 @@ var StyledFormField = styled67.div`
15010
15010
  grid-template-rows: 1fr;
15011
15011
  }
15012
15012
  `;
15013
- var StyledErrorList = styled67.ul`
15013
+ var StyledErrorList = styled68.ul`
15014
15014
  margin: 0;
15015
15015
  padding: 0;
15016
15016
  padding-left: var(--wui-space-04);
@@ -15112,7 +15112,7 @@ var FormField = ({
15112
15112
  };
15113
15113
  }
15114
15114
  Children10.only(children);
15115
- return /* @__PURE__ */ jsxs49(
15115
+ return /* @__PURE__ */ jsxs48(
15116
15116
  StyledFormField,
15117
15117
  {
15118
15118
  ...props,
@@ -15128,7 +15128,7 @@ var FormField = ({
15128
15128
  ),
15129
15129
  isNotNil28(description) ? /* @__PURE__ */ jsx288(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
15130
15130
  cloneElement8(children, childProps),
15131
- isNotNil28(computedError) ? /* @__PURE__ */ jsxs49(Fragment9, { children: [
15131
+ isNotNil28(computedError) ? /* @__PURE__ */ jsxs48(Fragment9, { children: [
15132
15132
  /* @__PURE__ */ jsx288("div", {}),
15133
15133
  /* @__PURE__ */ jsx288(
15134
15134
  ErrorMessages,
@@ -15173,7 +15173,7 @@ RadioGroup.displayName = "RadioGroup_UI";
15173
15173
 
15174
15174
  // src/components/Grid/Grid.tsx
15175
15175
  import { forwardRef as forwardRef22 } from "react";
15176
- import { styled as styled68, css as css36 } from "styled-components";
15176
+ import { styled as styled69, css as css36 } from "styled-components";
15177
15177
  import { isRecord as isRecord5 } from "@wistia/type-guards";
15178
15178
  import { jsx as jsx290 } from "react/jsx-runtime";
15179
15179
  var DEFAULT_ELEMENT5 = "div";
@@ -15203,7 +15203,7 @@ var getGridTemplateColumns = (maxColumns, minChildWidth, expandItems) => {
15203
15203
  );
15204
15204
  `;
15205
15205
  };
15206
- var StyledGrid = styled68.div`
15206
+ var StyledGrid = styled69.div`
15207
15207
  --wui-grid-column-gap: ${({ $columnGap }) => `var(--wui-${$columnGap})`};
15208
15208
  --wui-grid-row-gap: ${({ $rowGap }) => `var(--wui-${$rowGap})`};
15209
15209
 
@@ -15247,11 +15247,11 @@ GridComponent.displayName = "Grid_UI";
15247
15247
  var Grid = makePolymorphic(GridComponent);
15248
15248
 
15249
15249
  // src/components/InputClickToCopy/InputClickToCopy.tsx
15250
- import { styled as styled69 } from "styled-components";
15250
+ import { styled as styled70 } from "styled-components";
15251
15251
  import { forwardRef as forwardRef23, useEffect as useEffect18, useState as useState21 } from "react";
15252
15252
  import { isFunction as isFunction3 } from "@wistia/type-guards";
15253
15253
  import { jsx as jsx291 } from "react/jsx-runtime";
15254
- var StyledIconButton = styled69(IconButton)`
15254
+ var StyledIconButton = styled70(IconButton)`
15255
15255
  /* override size for icon button since prop gets changed by Input */
15256
15256
  height: var(--icon-button-size-sm);
15257
15257
  width: var(--icon-button-size-sm);
@@ -15317,11 +15317,11 @@ var InputClickToCopy = forwardRef23(
15317
15317
  InputClickToCopy.displayName = "InputClickToCopy_UI";
15318
15318
 
15319
15319
  // src/components/InputPassword/InputPassword.tsx
15320
- import { styled as styled70 } from "styled-components";
15320
+ import { styled as styled71 } from "styled-components";
15321
15321
  import { forwardRef as forwardRef24, useState as useState22 } from "react";
15322
15322
  import { isFunction as isFunction4 } from "@wistia/type-guards";
15323
15323
  import { jsx as jsx292 } from "react/jsx-runtime";
15324
- var StyledIconButton2 = styled70(IconButton)`
15324
+ var StyledIconButton2 = styled71(IconButton)`
15325
15325
  /* override size for icon button since prop gets changed by Input */
15326
15326
  height: var(--icon-button-size-sm);
15327
15327
  width: var(--icon-button-size-sm);
@@ -15364,16 +15364,16 @@ var InputPassword = forwardRef24(
15364
15364
  InputPassword.displayName = "InputPassword_UI";
15365
15365
 
15366
15366
  // src/components/KeyboardShortcut/KeyboardShortcut.tsx
15367
- import { styled as styled71 } from "styled-components";
15367
+ import { styled as styled72 } from "styled-components";
15368
15368
  import { isNotNil as isNotNil29 } from "@wistia/type-guards";
15369
- import { jsx as jsx293, jsxs as jsxs50 } from "react/jsx-runtime";
15370
- var StyledKeyboardShortcut = styled71.div`
15369
+ import { jsx as jsx293, jsxs as jsxs49 } from "react/jsx-runtime";
15370
+ var StyledKeyboardShortcut = styled72.div`
15371
15371
  align-items: center;
15372
15372
  display: flex;
15373
15373
  gap: var(--wui-space-02);
15374
15374
  ${({ $fullWidth }) => $fullWidth && "width: 100%; justify-content: space-between;"}
15375
15375
  `;
15376
- var StyledKey = styled71.kbd`
15376
+ var StyledKey = styled72.kbd`
15377
15377
  align-items: center;
15378
15378
  background: var(--wui-color-bg-surface-secondary);
15379
15379
  border-bottom: 1px solid var(--wui-color-border-secondary);
@@ -15396,11 +15396,11 @@ var StyledKey = styled71.kbd`
15396
15396
  min-width: 20px;
15397
15397
  padding: 0 var(--wui-space-01);
15398
15398
  `;
15399
- var Label2 = styled71.span`
15399
+ var Label2 = styled72.span`
15400
15400
  color: var(--wui-color-text);
15401
15401
  font-size: 12px;
15402
15402
  `;
15403
- var KeysContainer = styled71.div`
15403
+ var KeysContainer = styled72.div`
15404
15404
  display: flex;
15405
15405
  gap: var(--wui-space-01);
15406
15406
  `;
@@ -15453,7 +15453,7 @@ var KeyboardShortcut = ({
15453
15453
  keyboardKeys,
15454
15454
  fullWidth = false,
15455
15455
  ...otherProps
15456
- }) => /* @__PURE__ */ jsxs50(
15456
+ }) => /* @__PURE__ */ jsxs49(
15457
15457
  StyledKeyboardShortcut,
15458
15458
  {
15459
15459
  $fullWidth: fullWidth,
@@ -15474,13 +15474,13 @@ KeyboardShortcut.displayName = "KeyboardShortcut_UI";
15474
15474
 
15475
15475
  // src/components/List/List.tsx
15476
15476
  import { isNotNil as isNotNil30 } from "@wistia/type-guards";
15477
- import { styled as styled73, css as css37 } from "styled-components";
15477
+ import { styled as styled74, css as css37 } from "styled-components";
15478
15478
 
15479
15479
  // src/components/List/ListItem.tsx
15480
- import { styled as styled72 } from "styled-components";
15480
+ import { styled as styled73 } from "styled-components";
15481
15481
  import { isNil as isNil17 } from "@wistia/type-guards";
15482
15482
  import { jsx as jsx294 } from "react/jsx-runtime";
15483
- var ListItemComponent = styled72.li`
15483
+ var ListItemComponent = styled73.li`
15484
15484
  margin-bottom: var(--wui-space-02);
15485
15485
  `;
15486
15486
  var ListItem = ({ children }) => {
@@ -15492,7 +15492,7 @@ var ListItem = ({ children }) => {
15492
15492
  ListItem.displayName = "ListItem_UI";
15493
15493
 
15494
15494
  // src/components/List/List.tsx
15495
- import { jsx as jsx295, jsxs as jsxs51 } from "react/jsx-runtime";
15495
+ import { jsx as jsx295, jsxs as jsxs50 } from "react/jsx-runtime";
15496
15496
  var spacesStyle = css37`
15497
15497
  overflow: hidden;
15498
15498
  padding-left: 0;
@@ -15551,7 +15551,7 @@ var unbulletedStyle = css37`
15551
15551
  list-style: none;
15552
15552
  padding-left: 0;
15553
15553
  `;
15554
- var ListComponent = styled73.ul`
15554
+ var ListComponent = styled74.ul`
15555
15555
  list-style-position: outside;
15556
15556
  margin: 0 0 var(--wui-space-01);
15557
15557
  padding: 0 0 0 var(--wui-space-04);
@@ -15595,7 +15595,7 @@ var renderListFromArray = (listItems, variant, otherProps) => {
15595
15595
  const nextItem = listItems[i + 1];
15596
15596
  const key = `item-${itemCount += 1}`;
15597
15597
  if (Array.isArray(nextItem)) {
15598
- return /* @__PURE__ */ jsxs51(ListItem, { children: [
15598
+ return /* @__PURE__ */ jsxs50(ListItem, { children: [
15599
15599
  item,
15600
15600
  renderListFromArray(nextItem, variant, otherProps)
15601
15601
  ] }, key);
@@ -15631,9 +15631,9 @@ var List = ({
15631
15631
  List.displayName = "List_UI";
15632
15632
 
15633
15633
  // src/components/Mark/Mark.tsx
15634
- import { styled as styled74 } from "styled-components";
15634
+ import { styled as styled75 } from "styled-components";
15635
15635
  import { jsx as jsx296 } from "react/jsx-runtime";
15636
- var StyledMark = styled74.mark`
15636
+ var StyledMark = styled75.mark`
15637
15637
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
15638
15638
  background-color: var(--wui-color-bg-surface-tertiary);
15639
15639
  color: var(--wui-color-text);
@@ -15653,19 +15653,19 @@ Mark.displayName = "Mark_UI";
15653
15653
 
15654
15654
  // src/components/Modal/Modal.tsx
15655
15655
  import { forwardRef as forwardRef26 } from "react";
15656
- import { styled as styled79 } from "styled-components";
15656
+ import { styled as styled80 } from "styled-components";
15657
15657
  import { Root as DialogRoot, Portal as DialogPortal } from "@radix-ui/react-dialog";
15658
15658
  import { isNotNil as isNotNil32 } from "@wistia/type-guards";
15659
15659
 
15660
15660
  // src/components/Modal/ModalHeader.tsx
15661
- import { styled as styled76 } from "styled-components";
15661
+ import { styled as styled77 } from "styled-components";
15662
15662
  import { Title as DialogTitle } from "@radix-ui/react-dialog";
15663
15663
 
15664
15664
  // src/components/Modal/ModalCloseButton.tsx
15665
- import { styled as styled75 } from "styled-components";
15665
+ import { styled as styled76 } from "styled-components";
15666
15666
  import { Close as DialogClose } from "@radix-ui/react-dialog";
15667
15667
  import { jsx as jsx297 } from "react/jsx-runtime";
15668
- var CloseButton = styled75(DialogClose)`
15668
+ var CloseButton = styled76(DialogClose)`
15669
15669
  align-self: start;
15670
15670
  `;
15671
15671
  var ModalCloseButton = () => {
@@ -15681,8 +15681,8 @@ var ModalCloseButton = () => {
15681
15681
  };
15682
15682
 
15683
15683
  // src/components/Modal/ModalHeader.tsx
15684
- import { jsx as jsx298, jsxs as jsxs52 } from "react/jsx-runtime";
15685
- var Header = styled76.header`
15684
+ import { jsx as jsx298, jsxs as jsxs51 } from "react/jsx-runtime";
15685
+ var Header = styled77.header`
15686
15686
  display: flex;
15687
15687
  order: 1;
15688
15688
  padding: 0 var(--wui-space-05);
@@ -15702,7 +15702,7 @@ var Header = styled76.header`
15702
15702
  top: var(--wui-space-03);
15703
15703
  }
15704
15704
  `;
15705
- var Title = styled76(DialogTitle)`
15705
+ var Title = styled77(DialogTitle)`
15706
15706
  font-family: var(--wui-typography-heading-2-family);
15707
15707
  line-height: var(--wui-typography-heading-2-line-height);
15708
15708
  font-size: var(--wui-typography-heading-2-size);
@@ -15714,7 +15714,7 @@ var ModalHeader = ({
15714
15714
  hideCloseButton
15715
15715
  }) => {
15716
15716
  const TitleComponent = hideTitle ? /* @__PURE__ */ jsx298(ScreenReaderOnly, { children: /* @__PURE__ */ jsx298(Title, { children: title }) }) : /* @__PURE__ */ jsx298(Title, { children: title });
15717
- return /* @__PURE__ */ jsxs52(
15717
+ return /* @__PURE__ */ jsxs51(
15718
15718
  Header,
15719
15719
  {
15720
15720
  $hideCloseButon: hideCloseButton,
@@ -15729,7 +15729,7 @@ var ModalHeader = ({
15729
15729
 
15730
15730
  // src/components/Modal/ModalContent.tsx
15731
15731
  import { forwardRef as forwardRef25 } from "react";
15732
- import { styled as styled77, css as css38, keyframes as keyframes4 } from "styled-components";
15732
+ import { styled as styled78, css as css38, keyframes as keyframes5 } from "styled-components";
15733
15733
  import { Content as DialogContent } from "@radix-ui/react-dialog";
15734
15734
 
15735
15735
  // src/private/hooks/useFocusRestore/useFocusRestore.ts
@@ -15753,7 +15753,7 @@ var useFocusRestore = () => {
15753
15753
 
15754
15754
  // src/components/Modal/ModalContent.tsx
15755
15755
  import { jsx as jsx299 } from "react/jsx-runtime";
15756
- var modalEnter = keyframes4`
15756
+ var modalEnter = keyframes5`
15757
15757
  from {
15758
15758
  opacity: 0;
15759
15759
  transform: translateX(-50%) translateY(calc(var(--wui-modal-translate-y) + 24px));
@@ -15764,7 +15764,7 @@ var modalEnter = keyframes4`
15764
15764
  transform: translateX(-50%) translateY(var(--wui-modal-translate-y));
15765
15765
  }
15766
15766
  `;
15767
- var modalExit = keyframes4`
15767
+ var modalExit = keyframes5`
15768
15768
  from {
15769
15769
  opacity: 1;
15770
15770
  transform: translateX(-50%) translateY(var(--wui-modal-translate-y));
@@ -15810,7 +15810,7 @@ var fixedTopModalStyles = css38`
15810
15810
  animation: ${modalExit} var(--wui-motion-duration-03) var(--wui-motion-ease-out);
15811
15811
  }
15812
15812
  `;
15813
- var slideInRight = keyframes4`
15813
+ var slideInRight = keyframes5`
15814
15814
  from {
15815
15815
  opacity: 0;
15816
15816
  transform: translateX(100%);
@@ -15821,7 +15821,7 @@ var slideInRight = keyframes4`
15821
15821
  transform: translateX(0);
15822
15822
  }
15823
15823
  `;
15824
- var slideOutRight = keyframes4`
15824
+ var slideOutRight = keyframes5`
15825
15825
  from {
15826
15826
  opacity: 1;
15827
15827
  transform: translateX(0);
@@ -15850,7 +15850,7 @@ var positionStyleMap = {
15850
15850
  "fixed-top": fixedTopModalStyles,
15851
15851
  "right-side-panel": rightSidePanelModalStyles
15852
15852
  };
15853
- var StyledModalContent = styled77(DialogContent)`
15853
+ var StyledModalContent = styled78(DialogContent)`
15854
15854
  position: fixed;
15855
15855
  display: flex;
15856
15856
  flex-direction: column;
@@ -15896,8 +15896,8 @@ var ModalContent = forwardRef25(
15896
15896
 
15897
15897
  // src/components/Modal/ModalOverlay.tsx
15898
15898
  import { DialogOverlay } from "@radix-ui/react-dialog";
15899
- import { styled as styled78, keyframes as keyframes5 } from "styled-components";
15900
- var backdropShow = keyframes5`
15899
+ import { styled as styled79, keyframes as keyframes6 } from "styled-components";
15900
+ var backdropShow = keyframes6`
15901
15901
  from {
15902
15902
  opacity: 0;
15903
15903
  }
@@ -15906,7 +15906,7 @@ var backdropShow = keyframes5`
15906
15906
  opacity: 1;
15907
15907
  }
15908
15908
  `;
15909
- var backdropHide = keyframes5`
15909
+ var backdropHide = keyframes6`
15910
15910
  from {
15911
15911
  opacity: 1;
15912
15912
  }
@@ -15915,7 +15915,7 @@ var backdropHide = keyframes5`
15915
15915
  opacity: 0;
15916
15916
  }
15917
15917
  `;
15918
- var ModalOverlay = styled78(DialogOverlay)`
15918
+ var ModalOverlay = styled79(DialogOverlay)`
15919
15919
  animation: ${backdropShow} var(--wui-motion-duration-02);
15920
15920
  background: var(--wui-color-backdrop);
15921
15921
  inset: 0;
@@ -15928,20 +15928,20 @@ var ModalOverlay = styled78(DialogOverlay)`
15928
15928
  `;
15929
15929
 
15930
15930
  // src/components/Modal/Modal.tsx
15931
- import { jsx as jsx300, jsxs as jsxs53 } from "react/jsx-runtime";
15931
+ import { jsx as jsx300, jsxs as jsxs52 } from "react/jsx-runtime";
15932
15932
  var DEFAULT_MODAL_WIDTH = "532px";
15933
- var ModalBody = styled79.div`
15933
+ var ModalBody = styled80.div`
15934
15934
  flex-direction: column;
15935
15935
  display: flex;
15936
15936
  flex: 1 0 0;
15937
15937
  padding: 0 var(--wui-space-05);
15938
15938
  `;
15939
- var ModalScrollArea = styled79.div`
15939
+ var ModalScrollArea = styled80.div`
15940
15940
  order: 2;
15941
15941
  max-height: 90vh;
15942
15942
  overflow-y: auto;
15943
15943
  `;
15944
- var ModalFooter = styled79.footer`
15944
+ var ModalFooter = styled80.footer`
15945
15945
  padding: 0 var(--wui-space-05);
15946
15946
  order: 3;
15947
15947
  `;
@@ -15968,9 +15968,9 @@ var Modal = forwardRef26(
15968
15968
  }
15969
15969
  },
15970
15970
  open: isOpen,
15971
- children: /* @__PURE__ */ jsxs53(DialogPortal, { children: [
15971
+ children: /* @__PURE__ */ jsxs52(DialogPortal, { children: [
15972
15972
  /* @__PURE__ */ jsx300(ModalOverlay, {}),
15973
- /* @__PURE__ */ jsxs53(
15973
+ /* @__PURE__ */ jsxs52(
15974
15974
  ModalContent,
15975
15975
  {
15976
15976
  ref,
@@ -16007,7 +16007,7 @@ var Modal = forwardRef26(
16007
16007
  Modal.displayName = "Modal_UI";
16008
16008
 
16009
16009
  // src/components/Modal/ModalCallouts.tsx
16010
- import { jsx as jsx301, jsxs as jsxs54 } from "react/jsx-runtime";
16010
+ import { jsx as jsx301, jsxs as jsxs53 } from "react/jsx-runtime";
16011
16011
  var ModalCallouts = ({ children }) => {
16012
16012
  return /* @__PURE__ */ jsx301(
16013
16013
  Stack,
@@ -16020,7 +16020,7 @@ var ModalCallouts = ({ children }) => {
16020
16020
  };
16021
16021
  ModalCallouts.displayName = "ModalCallouts_UI";
16022
16022
  var ModalCallout = ({ title, image, children }) => {
16023
- return /* @__PURE__ */ jsxs54(Stack, { direction: "vertical", children: [
16023
+ return /* @__PURE__ */ jsxs53(Stack, { direction: "vertical", children: [
16024
16024
  image,
16025
16025
  /* @__PURE__ */ jsx301(Heading, { variant: "heading4", children: title }),
16026
16026
  children
@@ -16030,7 +16030,7 @@ ModalCallout.displayName = "ModalCallout_UI";
16030
16030
 
16031
16031
  // src/components/Popover/Popover.tsx
16032
16032
  import { Root as Root2, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
16033
- import { styled as styled81, css as css40 } from "styled-components";
16033
+ import { styled as styled82, css as css40 } from "styled-components";
16034
16034
 
16035
16035
  // src/private/helpers/getControls/getControlProps.tsx
16036
16036
  import { isNotNil as isNotNil33 } from "@wistia/type-guards";
@@ -16040,12 +16040,12 @@ var getControlProps = (isOpen, onOpenChange) => {
16040
16040
 
16041
16041
  // src/components/Popover/PopoverArrow.tsx
16042
16042
  import { PopoverArrow as RadixPopoverArrow } from "@radix-ui/react-popover";
16043
- import { styled as styled80, css as css39, keyframes as keyframes6 } from "styled-components";
16044
- import { jsx as jsx302, jsxs as jsxs55 } from "react/jsx-runtime";
16045
- var StyledPath = styled80.path`
16043
+ import { styled as styled81, css as css39, keyframes as keyframes7 } from "styled-components";
16044
+ import { jsx as jsx302, jsxs as jsxs54 } from "react/jsx-runtime";
16045
+ var StyledPath = styled81.path`
16046
16046
  fill: var(--wui-color-border-secondary);
16047
16047
  `;
16048
- var circleAnimation = keyframes6`
16048
+ var circleAnimation = keyframes7`
16049
16049
  0% {
16050
16050
  opacity: var(--wui-popover-arrow-circle-starting-opacity);
16051
16051
  }
@@ -16053,7 +16053,7 @@ var circleAnimation = keyframes6`
16053
16053
  opacity: 0;
16054
16054
  }
16055
16055
  `;
16056
- var StyledCircle = styled80.circle`
16056
+ var StyledCircle = styled81.circle`
16057
16057
  stroke: var(--wui-color-border-active);
16058
16058
  animation-duration: 2s;
16059
16059
  animation-iteration-count: infinite;
@@ -16080,7 +16080,7 @@ var StyledCircle = styled80.circle`
16080
16080
  }
16081
16081
  `;
16082
16082
  var PopoverArrow = ({ isAnimated }) => {
16083
- return /* @__PURE__ */ jsx302(RadixPopoverArrow, { asChild: true, children: /* @__PURE__ */ jsxs55(
16083
+ return /* @__PURE__ */ jsx302(RadixPopoverArrow, { asChild: true, children: /* @__PURE__ */ jsxs54(
16084
16084
  "svg",
16085
16085
  {
16086
16086
  fill: "none",
@@ -16119,8 +16119,8 @@ var PopoverArrow = ({ isAnimated }) => {
16119
16119
  PopoverArrow.displayName = "PopoverArrow_UI";
16120
16120
 
16121
16121
  // src/components/Popover/Popover.tsx
16122
- import { jsx as jsx303, jsxs as jsxs56 } from "react/jsx-runtime";
16123
- var StyledContent2 = styled81(Content2)`
16122
+ import { jsx as jsx303, jsxs as jsxs55 } from "react/jsx-runtime";
16123
+ var StyledContent2 = styled82(Content2)`
16124
16124
  z-index: var(--wui-zindex-popover);
16125
16125
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
16126
16126
  ${({ $unstyled }) => !$unstyled && css40`
@@ -16159,9 +16159,9 @@ var Popover = ({
16159
16159
  "--wui-popover-max-width": maxWidth,
16160
16160
  "--wui-popover-max-height": maxHeight
16161
16161
  };
16162
- return /* @__PURE__ */ jsxs56(Root2, { ...getControlProps(isOpen, onOpenChange), children: [
16162
+ return /* @__PURE__ */ jsxs55(Root2, { ...getControlProps(isOpen, onOpenChange), children: [
16163
16163
  /* @__PURE__ */ jsx303(Trigger2, { asChild: true, children: trigger }),
16164
- /* @__PURE__ */ jsx303(Portal, { children: /* @__PURE__ */ jsxs56(
16164
+ /* @__PURE__ */ jsx303(Portal, { children: /* @__PURE__ */ jsxs55(
16165
16165
  StyledContent2,
16166
16166
  {
16167
16167
  $colorScheme: colorScheme,
@@ -16189,11 +16189,11 @@ var Popover = ({
16189
16189
  Popover.displayName = "Popover_UI";
16190
16190
 
16191
16191
  // src/components/ProgressBar/ProgressBar.tsx
16192
- import { styled as styled82 } from "styled-components";
16192
+ import { styled as styled83 } from "styled-components";
16193
16193
  import { Root as ProgressRoot, Indicator as ProgressIndicator } from "@radix-ui/react-progress";
16194
16194
  import { isNotNil as isNotNil34 } from "@wistia/type-guards";
16195
- import { jsx as jsx304, jsxs as jsxs57 } from "react/jsx-runtime";
16196
- var ProgressBarWrapper = styled82.div`
16195
+ import { jsx as jsx304, jsxs as jsxs56 } from "react/jsx-runtime";
16196
+ var ProgressBarWrapper = styled83.div`
16197
16197
  --progress-bar-height: 8px;
16198
16198
 
16199
16199
  display: flex;
@@ -16207,7 +16207,7 @@ var getTranslateValue = (progress, max) => {
16207
16207
  const progressPercentage = progress / max * 100;
16208
16208
  return `translateX(-${100 - progressPercentage}%)`;
16209
16209
  };
16210
- var ProgressBarLabel = styled82.div`
16210
+ var ProgressBarLabel = styled83.div`
16211
16211
  display: flex;
16212
16212
  line-height: var(--wui-typography-label-3-line-height);
16213
16213
  font-size: var(--wui-typography-label-3-size);
@@ -16215,7 +16215,7 @@ var ProgressBarLabel = styled82.div`
16215
16215
  color: var(--wui-color-text-secondary);
16216
16216
  flex-shrink: 0;
16217
16217
  `;
16218
- var StyledProgressIndicator = styled82(ProgressIndicator)`
16218
+ var StyledProgressIndicator = styled83(ProgressIndicator)`
16219
16219
  ${({ $colorScheme }) => getColorScheme($colorScheme)}
16220
16220
  background-color: var(--wui-color-bg-fill);
16221
16221
  width: 100%;
@@ -16225,7 +16225,7 @@ var StyledProgressIndicator = styled82(ProgressIndicator)`
16225
16225
  transition: transform 660ms cubic-bezier(0.65, 0, 0.35, 1);
16226
16226
  transform: ${({ $progress, $max }) => getTranslateValue($progress, $max)};
16227
16227
  `;
16228
- var StyledProgressBar = styled82(ProgressRoot)`
16228
+ var StyledProgressBar = styled83(ProgressRoot)`
16229
16229
  ${({ $colorScheme }) => getColorScheme($colorScheme)}
16230
16230
  position: relative;
16231
16231
  overflow: hidden;
@@ -16246,7 +16246,7 @@ var ProgressBar = ({
16246
16246
  colorScheme = "inherit",
16247
16247
  ...props
16248
16248
  }) => {
16249
- return /* @__PURE__ */ jsxs57(ProgressBarWrapper, { children: [
16249
+ return /* @__PURE__ */ jsxs56(ProgressBarWrapper, { children: [
16250
16250
  isNotNil34(labelLeft) ? /* @__PURE__ */ jsx304(ProgressBarLabel, { children: labelLeft }) : null,
16251
16251
  /* @__PURE__ */ jsx304(
16252
16252
  StyledProgressBar,
@@ -16273,8 +16273,8 @@ ProgressBar.displayName = "ProgressBar_UI";
16273
16273
  // src/components/Radio/Radio.tsx
16274
16274
  import { isNonEmptyString as isNonEmptyString7, isNotUndefined as isNotUndefined13 } from "@wistia/type-guards";
16275
16275
  import { forwardRef as forwardRef27, useId as useId5 } from "react";
16276
- import { styled as styled83, css as css41 } from "styled-components";
16277
- import { jsx as jsx305, jsxs as jsxs58 } from "react/jsx-runtime";
16276
+ import { styled as styled84, css as css41 } from "styled-components";
16277
+ import { jsx as jsx305, jsxs as jsxs57 } from "react/jsx-runtime";
16278
16278
  var sizeSmall2 = css41`
16279
16279
  --wui-radio-size: 14px;
16280
16280
  --wui-radio-icon-size: 7px;
@@ -16292,7 +16292,7 @@ var getSizeCss3 = (size) => {
16292
16292
  if (size === "lg") return sizeLarge2;
16293
16293
  return sizeMedium2;
16294
16294
  };
16295
- var StyledRadioWrapper = styled83.div`
16295
+ var StyledRadioWrapper = styled84.div`
16296
16296
  --wui-radio-background-color: var(--wui-color-bg-surface);
16297
16297
  --wui-radio-border-color: var(--wui-color-border-secondary);
16298
16298
  --wui-radio-icon-color: transparent;
@@ -16326,7 +16326,7 @@ var StyledRadioWrapper = styled83.div`
16326
16326
  /* TODO this solves a problem but potentially causes and a11y issue */
16327
16327
  user-select: none;
16328
16328
  `;
16329
- var StyledRadioInput = styled83.div`
16329
+ var StyledRadioInput = styled84.div`
16330
16330
  ${({ $size }) => getSizeCss3($size)}
16331
16331
  width: var(--wui-radio-size);
16332
16332
  height: var(--wui-radio-size);
@@ -16352,7 +16352,7 @@ var StyledRadioInput = styled83.div`
16352
16352
  transform: translate(-50%, -50%);
16353
16353
  }
16354
16354
  `;
16355
- var StyledHiddenRadioInput = styled83.input`
16355
+ var StyledHiddenRadioInput = styled84.input`
16356
16356
  ${visuallyHiddenStyle}
16357
16357
  `;
16358
16358
  var Radio = forwardRef27(
@@ -16379,7 +16379,7 @@ var Radio = forwardRef27(
16379
16379
  const radioName = name ?? contextName;
16380
16380
  const handleOnChange = onChange ?? contextOnChange;
16381
16381
  const isChecked = isNotUndefined13(value) && isNotUndefined13(contextValue) ? contextValue === value : checked;
16382
- return /* @__PURE__ */ jsxs58(
16382
+ return /* @__PURE__ */ jsxs57(
16383
16383
  StyledRadioWrapper,
16384
16384
  {
16385
16385
  $disabled: disabled,
@@ -16424,9 +16424,9 @@ import { forwardRef as forwardRef29 } from "react";
16424
16424
 
16425
16425
  // src/components/RadioCard/RadioCardRoot.tsx
16426
16426
  import { forwardRef as forwardRef28, useId as useId6 } from "react";
16427
- import { styled as styled84, css as css42 } from "styled-components";
16427
+ import { styled as styled85, css as css42 } from "styled-components";
16428
16428
  import { isNonEmptyString as isNonEmptyString8, isNotUndefined as isNotUndefined14 } from "@wistia/type-guards";
16429
- import { jsx as jsx306, jsxs as jsxs59 } from "react/jsx-runtime";
16429
+ import { jsx as jsx306, jsxs as jsxs58 } from "react/jsx-runtime";
16430
16430
  var checkedStyles = css42`
16431
16431
  --wui-radio-card-border-color: var(--wui-color-focus-ring);
16432
16432
  --wui-color-icon: var(--wui-color-icon-selected);
@@ -16476,7 +16476,7 @@ var imageCoverStyles = css42`
16476
16476
  transition: all var(--wui-motion-duration-02) var(--wui-motion-ease);
16477
16477
  }
16478
16478
  `;
16479
- var StyledCard2 = styled84.label`
16479
+ var StyledCard2 = styled85.label`
16480
16480
  --wui-radio-card-border-color: var(--wui-color-border-secondary);
16481
16481
  --wui-radio-card-background-color: var(--wui-color-bg-surface);
16482
16482
  --wui-radio-card-cursor: pointer;
@@ -16530,7 +16530,7 @@ var StyledCard2 = styled84.label`
16530
16530
  }
16531
16531
  }
16532
16532
  `;
16533
- var StyledHiddenInput = styled84.input`
16533
+ var StyledHiddenInput = styled85.input`
16534
16534
  ${visuallyHiddenStyle}
16535
16535
  `;
16536
16536
  var RadioCardRoot = forwardRef28(
@@ -16555,7 +16555,7 @@ var RadioCardRoot = forwardRef28(
16555
16555
  const radioName = name ?? contextName;
16556
16556
  const handleOnChange = onChange ?? contextOnChange;
16557
16557
  const isChecked = isNotUndefined14(value) && isNotUndefined14(contextValue) ? contextValue === value : checked;
16558
- return /* @__PURE__ */ jsxs59(
16558
+ return /* @__PURE__ */ jsxs58(
16559
16559
  StyledCard2,
16560
16560
  {
16561
16561
  $aspectRatio: aspectRatio,
@@ -16585,12 +16585,12 @@ var RadioCardRoot = forwardRef28(
16585
16585
  RadioCardRoot.displayName = "RadioCardRoot_UI";
16586
16586
 
16587
16587
  // src/components/RadioCard/RadioCardDefaultLayout.tsx
16588
- import { styled as styled86 } from "styled-components";
16588
+ import { styled as styled87 } from "styled-components";
16589
16589
  import { isNotNil as isNotNil35 } from "@wistia/type-guards";
16590
16590
 
16591
16591
  // src/components/RadioCard/RadioCardIndicator.tsx
16592
- import { styled as styled85 } from "styled-components";
16593
- var RadioCardIndicator = styled85.div`
16592
+ import { styled as styled86 } from "styled-components";
16593
+ var RadioCardIndicator = styled86.div`
16594
16594
  --wui-radio-card-indicator-size: 14px;
16595
16595
  --wui-radio-card-indicator-background-color: var(--wui-color-bg-surface);
16596
16596
  --wui-radio-card-indicator-fill-color: var(--wui-color-bg-fill);
@@ -16639,16 +16639,16 @@ var RadioCardIndicator = styled85.div`
16639
16639
  RadioCardIndicator.displayName = "RadioCardIndicator_UI";
16640
16640
 
16641
16641
  // src/components/RadioCard/RadioCardDefaultLayout.tsx
16642
- import { jsx as jsx307, jsxs as jsxs60 } from "react/jsx-runtime";
16643
- var StyledCardContent = styled86.div`
16642
+ import { jsx as jsx307, jsxs as jsxs59 } from "react/jsx-runtime";
16643
+ var StyledCardContent = styled87.div`
16644
16644
  display: grid;
16645
16645
  grid-auto-flow: column;
16646
16646
  gap: var(--wui-space-02);
16647
16647
  `;
16648
- var StyledCardIcon = styled86.div`
16648
+ var StyledCardIcon = styled87.div`
16649
16649
  display: contents;
16650
16650
  `;
16651
- var StyledIndicatorContainer = styled86.div`
16651
+ var StyledIndicatorContainer = styled87.div`
16652
16652
  height: ${({ $hasIcon }) => $hasIcon ? "24px" : "16px"};
16653
16653
  display: flex;
16654
16654
  align-items: center;
@@ -16659,11 +16659,11 @@ var RadioCardDefaultLayout = ({
16659
16659
  description,
16660
16660
  showIndicator = true
16661
16661
  }) => {
16662
- return /* @__PURE__ */ jsxs60(StyledCardContent, { children: [
16662
+ return /* @__PURE__ */ jsxs59(StyledCardContent, { children: [
16663
16663
  showIndicator ? /* @__PURE__ */ jsx307(StyledIndicatorContainer, { $hasIcon: isNotNil35(icon), children: /* @__PURE__ */ jsx307(RadioCardIndicator, { "data-testid": "wui-radio-card-indicator" }) }) : null,
16664
- /* @__PURE__ */ jsxs60(Stack, { gap: "space-02", children: [
16664
+ /* @__PURE__ */ jsxs59(Stack, { gap: "space-02", children: [
16665
16665
  isNotNil35(icon) && /* @__PURE__ */ jsx307(StyledCardIcon, { "data-wui-radio-card-icon": true, children: icon }),
16666
- /* @__PURE__ */ jsxs60(
16666
+ /* @__PURE__ */ jsxs59(
16667
16667
  Stack,
16668
16668
  {
16669
16669
  gap: "space-01",
@@ -16687,8 +16687,8 @@ var RadioCardDefaultLayout = ({
16687
16687
  RadioCardDefaultLayout.displayName = "RadioCardDefaultLayout_UI";
16688
16688
 
16689
16689
  // src/components/RadioCard/RadioCardChildrenContainer.tsx
16690
- import { styled as styled87 } from "styled-components";
16691
- var RadioCardChildrenContainer = styled87.div`
16690
+ import { styled as styled88 } from "styled-components";
16691
+ var RadioCardChildrenContainer = styled88.div`
16692
16692
  flex: 1 1 auto;
16693
16693
  `;
16694
16694
 
@@ -16747,49 +16747,49 @@ RadioCardImage.displayName = "RadioCardImage_UI";
16747
16747
 
16748
16748
  // src/components/ScrollArea/ScrollArea.tsx
16749
16749
  import { forwardRef as forwardRef31, useCallback as useCallback18, useEffect as useEffect20, useMemo as useMemo15, useRef as useRef21, useState as useState23 } from "react";
16750
- import { styled as styled88 } from "styled-components";
16750
+ import { styled as styled89 } from "styled-components";
16751
16751
  import { throttle } from "throttle-debounce";
16752
- import { jsx as jsx310, jsxs as jsxs61 } from "react/jsx-runtime";
16752
+ import { jsx as jsx310, jsxs as jsxs60 } from "react/jsx-runtime";
16753
16753
  var SHADOW_SIZE_PX = 8;
16754
- var Container10 = styled88.div`
16754
+ var Container10 = styled89.div`
16755
16755
  overflow: hidden;
16756
16756
  position: relative;
16757
16757
  flex: 1 1 auto;
16758
16758
  `;
16759
- var ScrollContainer = styled88.div`
16759
+ var ScrollContainer = styled89.div`
16760
16760
  overflow: ${({ $locked }) => $locked ? "hidden" : "auto"};
16761
16761
  height: 100%;
16762
16762
  width: 100%;
16763
16763
  `;
16764
- var Shadow = styled88.div`
16764
+ var Shadow = styled89.div`
16765
16765
  pointer-events: none;
16766
16766
  position: absolute;
16767
16767
  transition: box-shadow var(--wui-motion-duration-04) var(--wui-motion-ease);
16768
16768
  box-shadow: ${({ $isVisible }) => $isVisible ? `0 0 ${SHADOW_SIZE_PX}px ${SHADOW_SIZE_PX}px var(--wui-color-drop-shadow)` : "none"};
16769
16769
  z-index: 1;
16770
16770
  `;
16771
- var ShadowAtTop = styled88(Shadow)`
16771
+ var ShadowAtTop = styled89(Shadow)`
16772
16772
  transform: translateY(-${SHADOW_SIZE_PX}px);
16773
16773
  height: 0;
16774
16774
  left: 0;
16775
16775
  right: 0;
16776
16776
  top: 0;
16777
16777
  `;
16778
- var ShadowAtBottom = styled88(Shadow)`
16778
+ var ShadowAtBottom = styled89(Shadow)`
16779
16779
  transform: translateY(${SHADOW_SIZE_PX}px);
16780
16780
  bottom: 0;
16781
16781
  height: 0;
16782
16782
  left: 0;
16783
16783
  right: 0;
16784
16784
  `;
16785
- var ShadowAtLeft = styled88(Shadow)`
16785
+ var ShadowAtLeft = styled89(Shadow)`
16786
16786
  transform: translateX(-${SHADOW_SIZE_PX}px);
16787
16787
  bottom: 0;
16788
16788
  left: 0;
16789
16789
  top: 0;
16790
16790
  width: 0;
16791
16791
  `;
16792
- var ShadowAtRight = styled88(Shadow)`
16792
+ var ShadowAtRight = styled89(Shadow)`
16793
16793
  transform: translateX(${SHADOW_SIZE_PX}px);
16794
16794
  bottom: 0;
16795
16795
  right: 0;
@@ -16829,7 +16829,7 @@ var ScrollArea = forwardRef31(
16829
16829
  useEffect20(() => {
16830
16830
  updateShadows();
16831
16831
  }, [updateShadows]);
16832
- return /* @__PURE__ */ jsxs61(Container10, { style, children: [
16832
+ return /* @__PURE__ */ jsxs60(Container10, { style, children: [
16833
16833
  /* @__PURE__ */ jsx310(ShadowAtTop, { $isVisible: shadowState.canScrollUp }),
16834
16834
  /* @__PURE__ */ jsx310(ShadowAtBottom, { $isVisible: shadowState.canScrollDown }),
16835
16835
  /* @__PURE__ */ jsx310(ShadowAtLeft, { $isVisible: shadowState.canScrollLeft }),
@@ -16851,7 +16851,7 @@ ScrollArea.displayName = "ScrollArea_UI";
16851
16851
 
16852
16852
  // src/components/SegmentedControl/SegmentedControl.tsx
16853
16853
  import { forwardRef as forwardRef32 } from "react";
16854
- import { styled as styled90, css as css44 } from "styled-components";
16854
+ import { styled as styled91, css as css44 } from "styled-components";
16855
16855
  import { Root as ToggleGroupRoot2 } from "@radix-ui/react-toggle-group";
16856
16856
  import { isNil as isNil18 } from "@wistia/type-guards";
16857
16857
 
@@ -16889,7 +16889,7 @@ var useSelectedItemStyle = () => {
16889
16889
  };
16890
16890
 
16891
16891
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
16892
- import { styled as styled89, css as css43 } from "styled-components";
16892
+ import { styled as styled90, css as css43 } from "styled-components";
16893
16893
  import { isUndefined as isUndefined5 } from "@wistia/type-guards";
16894
16894
 
16895
16895
  // src/components/SegmentedControl/useSegmentedControlValue.tsx
@@ -16911,7 +16911,7 @@ var selectedItemIndicatorStyles = css43`
16911
16911
  border-radius: var(--wui-border-radius-rounded);
16912
16912
  box-shadow: var(--wui-elevation-01);
16913
16913
  `;
16914
- var SelectedItemIndicatorDiv = styled89.div`
16914
+ var SelectedItemIndicatorDiv = styled90.div`
16915
16915
  ${selectedItemIndicatorStyles}
16916
16916
  left: 0;
16917
16917
  position: absolute;
@@ -16937,7 +16937,7 @@ var SelectedItemIndicator = () => {
16937
16937
  };
16938
16938
 
16939
16939
  // src/components/SegmentedControl/SegmentedControl.tsx
16940
- import { jsx as jsx313, jsxs as jsxs62 } from "react/jsx-runtime";
16940
+ import { jsx as jsx313, jsxs as jsxs61 } from "react/jsx-runtime";
16941
16941
  var segmentedControlStyles = css44`
16942
16942
  display: inline-flex;
16943
16943
  background-color: var(--wui-color-bg-surface-secondary);
@@ -16949,7 +16949,7 @@ var segmentedControlStyles = css44`
16949
16949
  position: relative;
16950
16950
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
16951
16951
  `;
16952
- var StyledSegmentedControl = styled90(ToggleGroupRoot2)`
16952
+ var StyledSegmentedControl = styled91(ToggleGroupRoot2)`
16953
16953
  ${segmentedControlStyles}
16954
16954
  `;
16955
16955
  var SegmentedControl = forwardRef32(
@@ -16976,7 +16976,7 @@ var SegmentedControl = forwardRef32(
16976
16976
  type: "single",
16977
16977
  value: selectedValue,
16978
16978
  ...props,
16979
- children: /* @__PURE__ */ jsx313(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ jsxs62(SelectedItemStyleProvider, { children: [
16979
+ children: /* @__PURE__ */ jsx313(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ jsxs61(SelectedItemStyleProvider, { children: [
16980
16980
  children,
16981
16981
  /* @__PURE__ */ jsx313(SelectedItemIndicator, {})
16982
16982
  ] }) })
@@ -16988,10 +16988,10 @@ SegmentedControl.displayName = "SegmentedControl_UI";
16988
16988
 
16989
16989
  // src/components/SegmentedControl/SegmentedControlItem.tsx
16990
16990
  import { forwardRef as forwardRef33, useEffect as useEffect21, useRef as useRef22 } from "react";
16991
- import { styled as styled91, css as css45 } from "styled-components";
16991
+ import { styled as styled92, css as css45 } from "styled-components";
16992
16992
  import { Item as ToggleGroupItem2 } from "@radix-ui/react-toggle-group";
16993
16993
  import { isNotNil as isNotNil36 } from "@wistia/type-guards";
16994
- import { jsxs as jsxs63 } from "react/jsx-runtime";
16994
+ import { jsxs as jsxs62 } from "react/jsx-runtime";
16995
16995
  var segmentedControlItemStyles = css45`
16996
16996
  all: unset; /* ToggleGroupItem is a button element */
16997
16997
  align-items: center;
@@ -17060,7 +17060,7 @@ var segmentedControlItemStyles = css45`
17060
17060
  }
17061
17061
  }
17062
17062
  `;
17063
- var StyledSegmentedControlItem = styled91(ToggleGroupItem2)`
17063
+ var StyledSegmentedControlItem = styled92(ToggleGroupItem2)`
17064
17064
  ${segmentedControlItemStyles}
17065
17065
  `;
17066
17066
  var SegmentedControlItem = forwardRef33(
@@ -17101,7 +17101,7 @@ var SegmentedControlItem = forwardRef33(
17101
17101
  resizeObserver.disconnect();
17102
17102
  };
17103
17103
  }, [selectedValue, setSelectedItemMeasurements, value]);
17104
- return /* @__PURE__ */ jsxs63(
17104
+ return /* @__PURE__ */ jsxs62(
17105
17105
  StyledSegmentedControlItem,
17106
17106
  {
17107
17107
  ref: combinedRef,
@@ -17133,9 +17133,9 @@ import {
17133
17133
  ScrollDownButton
17134
17134
  } from "@radix-ui/react-select";
17135
17135
  import { forwardRef as forwardRef34 } from "react";
17136
- import { styled as styled92, css as css46 } from "styled-components";
17137
- import { jsx as jsx314, jsxs as jsxs64 } from "react/jsx-runtime";
17138
- var StyledTrigger2 = styled92(Trigger3)`
17136
+ import { styled as styled93, css as css46 } from "styled-components";
17137
+ import { jsx as jsx314, jsxs as jsxs63 } from "react/jsx-runtime";
17138
+ var StyledTrigger2 = styled93(Trigger3)`
17139
17139
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
17140
17140
  ${inputCss};
17141
17141
  padding: var(--wui-input-vertical-padding) var(--wui-input-horizontal-padding);
@@ -17181,7 +17181,7 @@ var StyledTrigger2 = styled92(Trigger3)`
17181
17181
  color: var(--wui-input-placeholder);
17182
17182
  }
17183
17183
  `;
17184
- var StyledContent3 = styled92(Content3)`
17184
+ var StyledContent3 = styled93(Content3)`
17185
17185
  --wui-select-content-border: var(--wui-color-border);
17186
17186
  --wui-select-content-bg: var(--wui-color-bg-surface);
17187
17187
  --wui-select-content-border-radius: var(--wui-border-radius-02);
@@ -17209,10 +17209,10 @@ var scrollButtonStyles = css46`
17209
17209
  display: flex;
17210
17210
  justify-content: center;
17211
17211
  `;
17212
- var StyledScrollDownButton = styled92(ScrollDownButton)`
17212
+ var StyledScrollDownButton = styled93(ScrollDownButton)`
17213
17213
  ${scrollButtonStyles}
17214
17214
  `;
17215
- var StyledScrollUpButton = styled92(ScrollUpButton)`
17215
+ var StyledScrollUpButton = styled93(ScrollUpButton)`
17216
17216
  ${scrollButtonStyles}
17217
17217
  `;
17218
17218
  var Select = forwardRef34(
@@ -17235,8 +17235,8 @@ var Select = forwardRef34(
17235
17235
  if (forceOpen) {
17236
17236
  rootProps["open"] = true;
17237
17237
  }
17238
- return /* @__PURE__ */ jsxs64(Root3, { ...rootProps, children: [
17239
- /* @__PURE__ */ jsxs64(
17238
+ return /* @__PURE__ */ jsxs63(Root3, { ...rootProps, children: [
17239
+ /* @__PURE__ */ jsxs63(
17240
17240
  StyledTrigger2,
17241
17241
  {
17242
17242
  ref: forwardedRef,
@@ -17255,7 +17255,7 @@ var Select = forwardRef34(
17255
17255
  ]
17256
17256
  }
17257
17257
  ),
17258
- /* @__PURE__ */ jsx314(Portal2, { children: /* @__PURE__ */ jsxs64(StyledContent3, { position: "popper", children: [
17258
+ /* @__PURE__ */ jsx314(Portal2, { children: /* @__PURE__ */ jsxs63(StyledContent3, { position: "popper", children: [
17259
17259
  /* @__PURE__ */ jsx314(StyledScrollUpButton, { children: /* @__PURE__ */ jsx314(
17260
17260
  Icon,
17261
17261
  {
@@ -17280,10 +17280,10 @@ Select.displayName = "Select_UI";
17280
17280
  // src/components/Select/SelectOption.tsx
17281
17281
  import { Item, ItemText, ItemIndicator } from "@radix-ui/react-select";
17282
17282
  import { forwardRef as forwardRef35 } from "react";
17283
- import { styled as styled93 } from "styled-components";
17283
+ import { styled as styled94 } from "styled-components";
17284
17284
  import { isNotNil as isNotNil37 } from "@wistia/type-guards";
17285
- import { jsx as jsx315, jsxs as jsxs65 } from "react/jsx-runtime";
17286
- var StyledItem = styled93(Item)`
17285
+ import { jsx as jsx315, jsxs as jsxs64 } from "react/jsx-runtime";
17286
+ var StyledItem = styled94(Item)`
17287
17287
  ${getTypographicStyles("label3")}
17288
17288
  align-items: ${({ $checkmarkVerticalAlign }) => $checkmarkVerticalAlign === "center" ? "center" : "flex-start"};
17289
17289
  background-color: transparent;
@@ -17311,14 +17311,14 @@ var StyledItem = styled93(Item)`
17311
17311
  `;
17312
17312
  var SelectOption = forwardRef35(
17313
17313
  ({ children, selectedDisplayValue, checkmarkVerticalAlign = "center", ...props }, forwardedRef) => {
17314
- return /* @__PURE__ */ jsxs65(
17314
+ return /* @__PURE__ */ jsxs64(
17315
17315
  StyledItem,
17316
17316
  {
17317
17317
  ...props,
17318
17318
  ref: forwardedRef,
17319
17319
  $checkmarkVerticalAlign: checkmarkVerticalAlign,
17320
17320
  children: [
17321
- isNotNil37(selectedDisplayValue) ? /* @__PURE__ */ jsxs65("div", { children: [
17321
+ isNotNil37(selectedDisplayValue) ? /* @__PURE__ */ jsxs64("div", { children: [
17322
17322
  children,
17323
17323
  /* @__PURE__ */ jsx315("div", { style: { display: "none" }, children: /* @__PURE__ */ jsx315(ItemText, { children: selectedDisplayValue }) })
17324
17324
  ] }) : /* @__PURE__ */ jsx315(ItemText, { children }),
@@ -17338,13 +17338,13 @@ SelectOption.displayName = "SelectOption_UI";
17338
17338
 
17339
17339
  // src/components/Select/SelectOptionGroup.tsx
17340
17340
  import { Group, Label as Label3 } from "@radix-ui/react-select";
17341
- import { styled as styled94 } from "styled-components";
17342
- import { jsx as jsx316, jsxs as jsxs66 } from "react/jsx-runtime";
17343
- var StyledLabel4 = styled94(Label3)`
17341
+ import { styled as styled95 } from "styled-components";
17342
+ import { jsx as jsx316, jsxs as jsxs65 } from "react/jsx-runtime";
17343
+ var StyledLabel4 = styled95(Label3)`
17344
17344
  padding: var(--wui-select-option-padding);
17345
17345
  `;
17346
17346
  var SelectOptionGroup = ({ children, label, ...props }) => {
17347
- return /* @__PURE__ */ jsxs66(Group, { ...props, children: [
17347
+ return /* @__PURE__ */ jsxs65(Group, { ...props, children: [
17348
17348
  /* @__PURE__ */ jsx316(StyledLabel4, { children: /* @__PURE__ */ jsx316(
17349
17349
  Heading,
17350
17350
  {
@@ -17364,10 +17364,10 @@ import {
17364
17364
  Range as RadixSliderRange,
17365
17365
  Thumb as RadixSliderThumb
17366
17366
  } from "@radix-ui/react-slider";
17367
- import { styled as styled95 } from "styled-components";
17367
+ import { styled as styled96 } from "styled-components";
17368
17368
  import { isNonEmptyString as isNonEmptyString9 } from "@wistia/type-guards";
17369
- import { jsx as jsx317, jsxs as jsxs67 } from "react/jsx-runtime";
17370
- var SliderContainer = styled95.div`
17369
+ import { jsx as jsx317, jsxs as jsxs66 } from "react/jsx-runtime";
17370
+ var SliderContainer = styled96.div`
17371
17371
  --wui-slider-track-color: var(--wui-gray-6);
17372
17372
  --wui-slider-track-border-radius: var(--wui-border-radius-rounded);
17373
17373
  --wui-slider-range-color: var(--wui-color-bg-fill);
@@ -17383,7 +17383,7 @@ var SliderContainer = styled95.div`
17383
17383
  pointer-events: none;
17384
17384
  }
17385
17385
  `;
17386
- var StyledSliderRoot = styled95(RadixSliderRoot)`
17386
+ var StyledSliderRoot = styled96(RadixSliderRoot)`
17387
17387
  position: relative;
17388
17388
  display: flex;
17389
17389
  align-items: center;
@@ -17391,20 +17391,20 @@ var StyledSliderRoot = styled95(RadixSliderRoot)`
17391
17391
  touch-action: none;
17392
17392
  width: 100%;
17393
17393
  `;
17394
- var StyledSliderTrack = styled95(RadixSliderTrack)`
17394
+ var StyledSliderTrack = styled96(RadixSliderTrack)`
17395
17395
  background-color: var(--wui-slider-track-color);
17396
17396
  border-radius: var(--wui-slider-track-border-radius);
17397
17397
  flex-grow: 1;
17398
17398
  height: 6px;
17399
17399
  position: relative;
17400
17400
  `;
17401
- var StyledSliderRange = styled95(RadixSliderRange)`
17401
+ var StyledSliderRange = styled96(RadixSliderRange)`
17402
17402
  background-color: var(--wui-slider-range-color);
17403
17403
  border-radius: var(--wui-slider-track-border-radius);
17404
17404
  height: 100%;
17405
17405
  position: absolute;
17406
17406
  `;
17407
- var StyledSliderThumb = styled95(RadixSliderThumb)`
17407
+ var StyledSliderThumb = styled96(RadixSliderThumb)`
17408
17408
  background-color: var(--wui-slider-thumb-color);
17409
17409
  border-radius: var(--wui-border-radius-rounded);
17410
17410
  cursor: grab;
@@ -17460,7 +17460,7 @@ var Slider = ({
17460
17460
  {
17461
17461
  ...otherProps,
17462
17462
  "data-testid": dataTestId,
17463
- children: /* @__PURE__ */ jsxs67(
17463
+ children: /* @__PURE__ */ jsxs66(
17464
17464
  StyledSliderRoot,
17465
17465
  {
17466
17466
  "aria-label": ariaLabel,
@@ -17490,9 +17490,9 @@ var Slider = ({
17490
17490
  Slider.displayName = "Slider_UI";
17491
17491
 
17492
17492
  // src/components/Table/Table.tsx
17493
- import { styled as styled96, css as css47 } from "styled-components";
17493
+ import { styled as styled97, css as css47 } from "styled-components";
17494
17494
  import { jsx as jsx318 } from "react/jsx-runtime";
17495
- var StyledTable = styled96.table`
17495
+ var StyledTable = styled97.table`
17496
17496
  width: 100%;
17497
17497
  border-collapse: collapse;
17498
17498
 
@@ -17534,7 +17534,7 @@ var Table = ({
17534
17534
  };
17535
17535
 
17536
17536
  // src/components/Table/TableBody.tsx
17537
- import { styled as styled97 } from "styled-components";
17537
+ import { styled as styled98 } from "styled-components";
17538
17538
 
17539
17539
  // src/components/Table/TableSectionContext.ts
17540
17540
  import { createContext as createContext11 } from "react";
@@ -17542,27 +17542,27 @@ var TableSectionContext = createContext11(null);
17542
17542
 
17543
17543
  // src/components/Table/TableBody.tsx
17544
17544
  import { jsx as jsx319 } from "react/jsx-runtime";
17545
- var StyledTableBody = styled97.tbody``;
17545
+ var StyledTableBody = styled98.tbody``;
17546
17546
  var TableBody = ({ children, ...props }) => {
17547
17547
  return /* @__PURE__ */ jsx319(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ jsx319(StyledTableBody, { ...props, children }) });
17548
17548
  };
17549
17549
 
17550
17550
  // src/components/Table/TableCell.tsx
17551
17551
  import { useContext as useContext17 } from "react";
17552
- import { styled as styled98, css as css48 } from "styled-components";
17552
+ import { styled as styled99, css as css48 } from "styled-components";
17553
17553
  import { jsx as jsx320 } from "react/jsx-runtime";
17554
17554
  var sharedStyles = css48`
17555
17555
  color: var(--wui-color-text);
17556
17556
  padding: var(--wui-space-02);
17557
17557
  text-align: left;
17558
17558
  `;
17559
- var StyledTh = styled98.th`
17559
+ var StyledTh = styled99.th`
17560
17560
  ${sharedStyles}
17561
17561
  font-size: var(--wui-typography-body-4-size);
17562
17562
  font-weight: var(--wui-typography-weight-label-bold);
17563
17563
  line-height: var(--wui-typography-body-4-line-height);
17564
17564
  `;
17565
- var StyledTd = styled98.td`
17565
+ var StyledTd = styled99.td`
17566
17566
  ${sharedStyles}
17567
17567
  font-size: var(--wui-typography-body-2-size);
17568
17568
  font-weight: var(--wui-typography-body-2-weight);
@@ -17577,25 +17577,25 @@ var TableCell = ({ children, ...props }) => {
17577
17577
  };
17578
17578
 
17579
17579
  // src/components/Table/TableFoot.tsx
17580
- import { styled as styled99 } from "styled-components";
17580
+ import { styled as styled100 } from "styled-components";
17581
17581
  import { jsx as jsx321 } from "react/jsx-runtime";
17582
- var StyledTableFoot = styled99.tfoot``;
17582
+ var StyledTableFoot = styled100.tfoot``;
17583
17583
  var TableFoot = ({ children, ...props }) => {
17584
17584
  return /* @__PURE__ */ jsx321(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ jsx321(StyledTableFoot, { ...props, children }) });
17585
17585
  };
17586
17586
 
17587
17587
  // src/components/Table/TableHead.tsx
17588
- import { styled as styled100 } from "styled-components";
17588
+ import { styled as styled101 } from "styled-components";
17589
17589
  import { jsx as jsx322 } from "react/jsx-runtime";
17590
- var StyledThead = styled100.thead``;
17590
+ var StyledThead = styled101.thead``;
17591
17591
  var TableHead = ({ children, ...props }) => {
17592
17592
  return /* @__PURE__ */ jsx322(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ jsx322(StyledThead, { ...props, children }) });
17593
17593
  };
17594
17594
 
17595
17595
  // src/components/Table/TableRow.tsx
17596
- import { styled as styled101 } from "styled-components";
17596
+ import { styled as styled102 } from "styled-components";
17597
17597
  import { jsx as jsx323 } from "react/jsx-runtime";
17598
- var StyledTableRow = styled101.tr``;
17598
+ var StyledTableRow = styled102.tr``;
17599
17599
  var TableRow = ({ children, ...props }) => {
17600
17600
  return /* @__PURE__ */ jsx323(StyledTableRow, { ...props, children });
17601
17601
  };
@@ -17660,14 +17660,14 @@ TabsContent.displayName = "TabsContent_UI";
17660
17660
 
17661
17661
  // src/components/Tabs/TabsList.tsx
17662
17662
  import { List as RadixTabList } from "@radix-ui/react-tabs";
17663
- import { styled as styled103 } from "styled-components";
17663
+ import { styled as styled104 } from "styled-components";
17664
17664
 
17665
17665
  // src/components/Tabs/SelectedTabIndicator.tsx
17666
17666
  import { isUndefined as isUndefined6 } from "@wistia/type-guards";
17667
17667
 
17668
17668
  // src/components/Tabs/TabsSelectedItemIndicatorDiv.tsx
17669
- import { styled as styled102 } from "styled-components";
17670
- var TabsSelectedItemIndicatorDiv = styled102(SelectedItemIndicatorDiv)`
17669
+ import { styled as styled103 } from "styled-components";
17670
+ var TabsSelectedItemIndicatorDiv = styled103(SelectedItemIndicatorDiv)`
17671
17671
  &:has(~ button[role='tab']:focus-visible) {
17672
17672
  outline: 2px solid var(--wui-color-focus-ring);
17673
17673
  }
@@ -17691,12 +17691,12 @@ var SelectedTabIndicator = () => {
17691
17691
  };
17692
17692
 
17693
17693
  // src/components/Tabs/TabsList.tsx
17694
- import { jsx as jsx327, jsxs as jsxs68 } from "react/jsx-runtime";
17695
- var StyledRadixTabsList = styled103(RadixTabList)`
17694
+ import { jsx as jsx327, jsxs as jsxs67 } from "react/jsx-runtime";
17695
+ var StyledRadixTabsList = styled104(RadixTabList)`
17696
17696
  ${segmentedControlStyles}
17697
17697
  `;
17698
17698
  var TabsList = ({ children, fullWidth = true, ...props }) => {
17699
- return /* @__PURE__ */ jsxs68(
17699
+ return /* @__PURE__ */ jsxs67(
17700
17700
  StyledRadixTabsList,
17701
17701
  {
17702
17702
  $fullWidth: fullWidth,
@@ -17715,9 +17715,9 @@ import { forwardRef as forwardRef36, useEffect as useEffect22, useRef as useRef2
17715
17715
  import { isNotNil as isNotNil39 } from "@wistia/type-guards";
17716
17716
 
17717
17717
  // src/components/Tabs/StyledRadixTabsTrigger.tsx
17718
- import { styled as styled104 } from "styled-components";
17718
+ import { styled as styled105 } from "styled-components";
17719
17719
  import { Trigger as RadixTabsTrigger } from "@radix-ui/react-tabs";
17720
- var StyledRadixTabsTrigger = styled104(RadixTabsTrigger)`
17720
+ var StyledRadixTabsTrigger = styled105(RadixTabsTrigger)`
17721
17721
  ${segmentedControlItemStyles}
17722
17722
 
17723
17723
  &:focus-visible {
@@ -17726,7 +17726,7 @@ var StyledRadixTabsTrigger = styled104(RadixTabsTrigger)`
17726
17726
  `;
17727
17727
 
17728
17728
  // src/components/Tabs/TabsTrigger.tsx
17729
- import { jsxs as jsxs69 } from "react/jsx-runtime";
17729
+ import { jsxs as jsxs68 } from "react/jsx-runtime";
17730
17730
  var TabsTrigger = forwardRef36(
17731
17731
  ({ disabled = false, icon, label, "aria-label": ariaLabel, value, ...otherProps }, forwardedRef) => {
17732
17732
  const selectedValue = useTabsValue();
@@ -17758,7 +17758,7 @@ var TabsTrigger = forwardRef36(
17758
17758
  resizeObserver.disconnect();
17759
17759
  };
17760
17760
  }, [selectedValue, setSelectedItemMeasurements, value]);
17761
- return /* @__PURE__ */ jsxs69(
17761
+ return /* @__PURE__ */ jsxs68(
17762
17762
  StyledRadixTabsTrigger,
17763
17763
  {
17764
17764
  ...otherProps,
@@ -17778,10 +17778,10 @@ var TabsTrigger = forwardRef36(
17778
17778
  TabsTrigger.displayName = "TabsTrigger_UI";
17779
17779
 
17780
17780
  // src/components/Thumbnail/ThumbnailBadge.tsx
17781
- import { styled as styled105 } from "styled-components";
17781
+ import { styled as styled106 } from "styled-components";
17782
17782
  import { isNotNil as isNotNil40 } from "@wistia/type-guards";
17783
- import { jsx as jsx328, jsxs as jsxs70 } from "react/jsx-runtime";
17784
- var StyledThumbnailBadge = styled105.div`
17783
+ import { jsx as jsx328, jsxs as jsxs69 } from "react/jsx-runtime";
17784
+ var StyledThumbnailBadge = styled106.div`
17785
17785
  align-items: center;
17786
17786
  background-color: rgb(0 0 0 / 50%);
17787
17787
  border-radius: var(--wui-border-radius-01);
@@ -17807,7 +17807,7 @@ var StyledThumbnailBadge = styled105.div`
17807
17807
  }
17808
17808
  `;
17809
17809
  var ThumbnailBadge = ({ icon, label, ...props }) => {
17810
- return /* @__PURE__ */ jsxs70(StyledThumbnailBadge, { ...props, children: [
17810
+ return /* @__PURE__ */ jsxs69(StyledThumbnailBadge, { ...props, children: [
17811
17811
  isNotNil40(icon) && icon,
17812
17812
  /* @__PURE__ */ jsx328("span", { children: label })
17813
17813
  ] });
@@ -17816,7 +17816,7 @@ ThumbnailBadge.displayName = "ThumbnailBadge_UI";
17816
17816
 
17817
17817
  // src/components/Thumbnail/Thumbnail.tsx
17818
17818
  import { forwardRef as forwardRef37, useState as useState26, useRef as useRef24, useCallback as useCallback20, useMemo as useMemo17 } from "react";
17819
- import { styled as styled107 } from "styled-components";
17819
+ import { styled as styled108 } from "styled-components";
17820
17820
  import {
17821
17821
  isNil as isNil19,
17822
17822
  isNotNil as isNotNil43,
@@ -17959,10 +17959,10 @@ var getBackgroundGradient = (gradientName = void 0) => {
17959
17959
  };
17960
17960
 
17961
17961
  // src/components/Thumbnail/ThumbnailStoryboardViewer.tsx
17962
- import { styled as styled106 } from "styled-components";
17962
+ import { styled as styled107 } from "styled-components";
17963
17963
  import { isNotNil as isNotNil42 } from "@wistia/type-guards";
17964
- import { jsx as jsx329, jsxs as jsxs71 } from "react/jsx-runtime";
17965
- var ScrubLine = styled106.div`
17964
+ import { jsx as jsx329, jsxs as jsxs70 } from "react/jsx-runtime";
17965
+ var ScrubLine = styled107.div`
17966
17966
  position: absolute;
17967
17967
  top: 0;
17968
17968
  height: 100%;
@@ -18073,7 +18073,7 @@ var ThumbnailStoryboardViewer = ({
18073
18073
  backgroundPosition,
18074
18074
  backgroundSize
18075
18075
  };
18076
- return /* @__PURE__ */ jsxs71(
18076
+ return /* @__PURE__ */ jsxs70(
18077
18077
  "div",
18078
18078
  {
18079
18079
  ...props,
@@ -18094,7 +18094,7 @@ var ThumbnailStoryboardViewer = ({
18094
18094
  };
18095
18095
 
18096
18096
  // src/components/Thumbnail/Thumbnail.tsx
18097
- import { jsx as jsx330, jsxs as jsxs72 } from "react/jsx-runtime";
18097
+ import { jsx as jsx330, jsxs as jsxs71 } from "react/jsx-runtime";
18098
18098
  var WIDE_ASPECT_RATIO = 16 / 9;
18099
18099
  var SQUARE_ASPECT_RATIO = 1;
18100
18100
  var getAspectRatioValue = (aspectRatio) => {
@@ -18103,12 +18103,12 @@ var getAspectRatioValue = (aspectRatio) => {
18103
18103
  }
18104
18104
  return WIDE_ASPECT_RATIO;
18105
18105
  };
18106
- var WideThumbnailImage = styled107.img`
18106
+ var WideThumbnailImage = styled108.img`
18107
18107
  height: 100%;
18108
18108
  object-fit: cover;
18109
18109
  width: 100%;
18110
18110
  `;
18111
- var SquareThumbnailImage = styled107.img`
18111
+ var SquareThumbnailImage = styled108.img`
18112
18112
  backdrop-filter: blur(8px);
18113
18113
  object-fit: contain;
18114
18114
  width: 100%;
@@ -18133,7 +18133,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
18133
18133
  }
18134
18134
  );
18135
18135
  };
18136
- var StyledThumbnailContainer = styled107.div`
18136
+ var StyledThumbnailContainer = styled108.div`
18137
18137
  container-type: size;
18138
18138
  aspect-ratio: ${({ $aspectRatio }) => getAspectRatioValue($aspectRatio)};
18139
18139
  width: ${({ $width }) => $width};
@@ -18141,7 +18141,7 @@ var StyledThumbnailContainer = styled107.div`
18141
18141
  overflow: hidden;
18142
18142
  ${({ $isScrubbable }) => $isScrubbable && "cursor: pointer;"}
18143
18143
  `;
18144
- var StyledThumbnail = styled107.div`
18144
+ var StyledThumbnail = styled108.div`
18145
18145
  --wui-thumbnail-badge-offset: var(--wui-space-01);
18146
18146
 
18147
18147
  background-image: ${({ $backgroundUrl }) => isNotNil43($backgroundUrl) ? `url('${$backgroundUrl}')` : void 0};
@@ -18297,7 +18297,7 @@ var Thumbnail = forwardRef37(
18297
18297
  onMouseOut: handleMouseOut,
18298
18298
  role: "presentation",
18299
18299
  ...props,
18300
- children: /* @__PURE__ */ jsxs72(
18300
+ children: /* @__PURE__ */ jsxs71(
18301
18301
  StyledThumbnail,
18302
18302
  {
18303
18303
  $backgroundUrl: backgroundUrl,
@@ -18317,16 +18317,16 @@ Thumbnail.displayName = "Thumbnail_UI";
18317
18317
 
18318
18318
  // src/components/ThumbnailCollage/ThumbnailCollage.tsx
18319
18319
  import { cloneElement as cloneElement9, Children as Children11 } from "react";
18320
- import { styled as styled108 } from "styled-components";
18320
+ import { styled as styled109 } from "styled-components";
18321
18321
  import { isNonEmptyArray } from "@wistia/type-guards";
18322
18322
  import { jsx as jsx331 } from "react/jsx-runtime";
18323
- var ThumbnailCollageContainer = styled108.div`
18323
+ var ThumbnailCollageContainer = styled109.div`
18324
18324
  container-type: size;
18325
18325
  width: 100%;
18326
18326
  aspect-ratio: 16 / 9;
18327
18327
  display: flex;
18328
18328
  `;
18329
- var StyledThumbnailCollage = styled108.div`
18329
+ var StyledThumbnailCollage = styled109.div`
18330
18330
  display: grid;
18331
18331
  gap: var(--wui-space-01);
18332
18332
  width: 100%;
@@ -18405,9 +18405,9 @@ var ThumbnailCollage = ({
18405
18405
  };
18406
18406
 
18407
18407
  // src/components/WistiaLogo/WistiaLogo.tsx
18408
- import { styled as styled109, css as css50 } from "styled-components";
18408
+ import { styled as styled110, css as css50 } from "styled-components";
18409
18409
  import { isNotNil as isNotNil44 } from "@wistia/type-guards";
18410
- import { jsx as jsx332, jsxs as jsxs73 } from "react/jsx-runtime";
18410
+ import { jsx as jsx332, jsxs as jsxs72 } from "react/jsx-runtime";
18411
18411
  var renderBrandmark = (brandmarkColor, iconOnly) => {
18412
18412
  if (iconOnly) {
18413
18413
  return /* @__PURE__ */ jsx332(
@@ -18447,7 +18447,7 @@ var computedViewBox = (iconOnly) => {
18447
18447
  }
18448
18448
  return "0 0 144 31.47";
18449
18449
  };
18450
- var WistiaLogoComponent = styled109.svg`
18450
+ var WistiaLogoComponent = styled110.svg`
18451
18451
  height: ${({ height }) => `${height}px`};
18452
18452
 
18453
18453
  /* ensure it will always fit on mobile */
@@ -18505,7 +18505,7 @@ var WistiaLogo = ({
18505
18505
  };
18506
18506
  const brandmarkColor = VARIANT_COLORS[variant].brandmark;
18507
18507
  const logotypeColor = VARIANT_COLORS[variant].logotype;
18508
- const Logo = /* @__PURE__ */ jsxs73(
18508
+ const Logo = /* @__PURE__ */ jsxs72(
18509
18509
  WistiaLogoComponent,
18510
18510
  {
18511
18511
  $hoverColor: hoverColor,
@@ -18530,11 +18530,11 @@ var WistiaLogo = ({
18530
18530
  WistiaLogo.displayName = "WistiaLogo_UI";
18531
18531
 
18532
18532
  // src/components/SplitButton/SplitButton.tsx
18533
- import { styled as styled110 } from "styled-components";
18533
+ import { styled as styled111 } from "styled-components";
18534
18534
  import { isNotNil as isNotNil45 } from "@wistia/type-guards";
18535
18535
  import { cloneElement as cloneElement10 } from "react";
18536
- import { jsx as jsx333, jsxs as jsxs74 } from "react/jsx-runtime";
18537
- var StyledSplitButton = styled110.span`
18536
+ import { jsx as jsx333, jsxs as jsxs73 } from "react/jsx-runtime";
18537
+ var StyledSplitButton = styled111.span`
18538
18538
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
18539
18539
  white-space: nowrap;
18540
18540
 
@@ -18566,7 +18566,7 @@ var SplitButton = ({
18566
18566
  menuProps = {},
18567
18567
  ...props
18568
18568
  }) => {
18569
- return /* @__PURE__ */ jsxs74(StyledSplitButton, { $colorScheme: colorScheme, children: [
18569
+ return /* @__PURE__ */ jsxs73(StyledSplitButton, { $colorScheme: colorScheme, children: [
18570
18570
  /* @__PURE__ */ jsx333(
18571
18571
  Button,
18572
18572
  {