@wistia/ui 0.18.2 → 0.18.3-beta.5cd29926.116130d

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.2
3
+ * @license @wistia/ui v0.18.3-beta.5cd29926.116130d
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -9183,11 +9183,90 @@ var Banner = ({
9183
9183
  };
9184
9184
  Banner.displayName = "Banner_UI";
9185
9185
 
9186
+ // src/components/Banner/BannerImage.tsx
9187
+ import { styled as styled17 } from "styled-components";
9188
+ import { jsx as jsx212 } from "react/jsx-runtime";
9189
+ var StyledBannerImageContainer = styled17.div`
9190
+ --wui-banner-image-border-radius: var(--wui-border-radius-02);
9191
+ --wui-banner-image-height: auto;
9192
+ --wui-banner-image-width: auto;
9193
+
9194
+ overflow: hidden;
9195
+ padding: var(--wui-space-04);
9196
+ height: var(--wui-banner-image-height);
9197
+ width: var(--wui-banner-image-width);
9198
+ justify-self: stretch;
9199
+ align-self: stretch;
9200
+ max-width: 300px;
9201
+
9202
+ /* Make image container stretch full width in vertical layout and remove bottom padding */
9203
+ [data-wui-banner-orientation='vertical'] & {
9204
+ max-width: none;
9205
+ width: 100%;
9206
+ padding-bottom: var(--wui-space-00);
9207
+ }
9208
+
9209
+ /* In horizontal layout, make image height equal to the content height and apply aspect ratio */
9210
+ [data-wui-banner-orientation='horizontal'] & {
9211
+ --wui-banner-image-height: calc(
9212
+ var(--wui-banner-content-height) + (var(--wui-banner-padding) * 2)
9213
+ );
9214
+
9215
+ /* Handle image alignment and remove padding next to content */
9216
+ &[data-wui-banner-image='right'] {
9217
+ padding-left: var(--wui-space-00);
9218
+ order: 2;
9219
+ }
9220
+
9221
+ &[data-wui-banner-image='left'] {
9222
+ padding-right: var(--wui-space-00);
9223
+ }
9224
+ }
9225
+
9226
+ /* Remove border radius and padding in small prominence horizontal layout */
9227
+ [data-wui-banner-content-prominence='small'] & {
9228
+ --wui-banner-image-border-radius: var(--wui-border-radius-00);
9229
+
9230
+ padding: var(--wui-space-00);
9231
+ }
9232
+
9233
+ /* Remove border radius in secondary prominence vertical layout */
9234
+ [data-wui-banner-orientation='vertical'] [data-wui-banner-content-prominence='secondary'] & {
9235
+ --wui-banner-image-border-radius: var(--wui-border-radius-00);
9236
+ }
9237
+
9238
+ [data-wui-banner-orientation='horizontal'][data-wui-banner-content-prominence='small'] & {
9239
+ flex: 0 0 25%;
9240
+ }
9241
+
9242
+ img {
9243
+ border-radius: var(--wui-banner-image-border-radius);
9244
+ }
9245
+ `;
9246
+ var BannerImage = ({ alignment = "left", alt, src, ...props }) => {
9247
+ return /* @__PURE__ */ jsx212(
9248
+ StyledBannerImageContainer,
9249
+ {
9250
+ "data-wui-banner-image": alignment,
9251
+ ...props,
9252
+ children: /* @__PURE__ */ jsx212(
9253
+ Image,
9254
+ {
9255
+ alt: alt ?? "",
9256
+ fill: true,
9257
+ fit: "cover",
9258
+ src
9259
+ }
9260
+ )
9261
+ }
9262
+ );
9263
+ };
9264
+
9186
9265
  // src/components/Breadcrumbs/Breadcrumbs.tsx
9187
9266
  import { Children as Children2 } from "react";
9188
- import { styled as styled17 } from "styled-components";
9189
- import { Fragment as Fragment4, jsx as jsx212, jsxs as jsxs14 } from "react/jsx-runtime";
9190
- var StyledBreadcrumbs = styled17.nav`
9267
+ import { styled as styled18 } from "styled-components";
9268
+ import { Fragment as Fragment4, jsx as jsx213, jsxs as jsxs14 } from "react/jsx-runtime";
9269
+ var StyledBreadcrumbs = styled18.nav`
9191
9270
  display: flex;
9192
9271
  align-items: center;
9193
9272
  gap: var(--wui-space-01);
@@ -9206,7 +9285,7 @@ var Breadcrumbs = ({ children, ...props }) => {
9206
9285
  }
9207
9286
  const crumbMaxWidth = Math.floor(100 / crumbs.length) - BUFFER_WIDTH;
9208
9287
  return /* @__PURE__ */ jsxs14(Fragment4, { children: [
9209
- /* @__PURE__ */ jsx212("style", { type: "text/css", children: `
9288
+ /* @__PURE__ */ jsx213("style", { type: "text/css", children: `
9210
9289
  [data-wui-breadcrumbs] {
9211
9290
  container-type: inline-size;
9212
9291
  container-name: breadcrumbs;
@@ -9218,7 +9297,7 @@ var Breadcrumbs = ({ children, ...props }) => {
9218
9297
  }
9219
9298
  }
9220
9299
  ` }),
9221
- /* @__PURE__ */ jsx212(
9300
+ /* @__PURE__ */ jsx213(
9222
9301
  StyledBreadcrumbs,
9223
9302
  {
9224
9303
  "aria-label": "Breadcrumbs",
@@ -9232,9 +9311,9 @@ var Breadcrumbs = ({ children, ...props }) => {
9232
9311
  Breadcrumbs.displayName = "Breadcrumbs_UI";
9233
9312
 
9234
9313
  // src/components/Breadcrumbs/Breadcrumb.tsx
9235
- import { styled as styled18 } from "styled-components";
9236
- import { Fragment as Fragment5, jsx as jsx213, jsxs as jsxs15 } from "react/jsx-runtime";
9237
- var BreadcrumbContent = styled18.span`
9314
+ import { styled as styled19 } from "styled-components";
9315
+ import { Fragment as Fragment5, jsx as jsx214, jsxs as jsxs15 } from "react/jsx-runtime";
9316
+ var BreadcrumbContent = styled19.span`
9238
9317
  overflow: hidden;
9239
9318
  white-space: nowrap;
9240
9319
  display: block;
@@ -9244,17 +9323,17 @@ var BreadcrumbContent = styled18.span`
9244
9323
  `;
9245
9324
  var Breadcrumb = ({ icon, href, children, ...props }) => {
9246
9325
  return /* @__PURE__ */ jsxs15(Fragment5, { children: [
9247
- /* @__PURE__ */ jsx213(
9326
+ /* @__PURE__ */ jsx214(
9248
9327
  Button,
9249
9328
  {
9250
9329
  ...props,
9251
9330
  href,
9252
9331
  leftIcon: icon,
9253
9332
  variant: "ghost",
9254
- children: /* @__PURE__ */ jsx213(BreadcrumbContent, { "data-wui-breadcrumb": true, children })
9333
+ children: /* @__PURE__ */ jsx214(BreadcrumbContent, { "data-wui-breadcrumb": true, children })
9255
9334
  }
9256
9335
  ),
9257
- /* @__PURE__ */ jsx213("div", { "data-wui-breadcrumb-divider": true, children: /* @__PURE__ */ jsx213(
9336
+ /* @__PURE__ */ jsx214("div", { "data-wui-breadcrumb-divider": true, children: /* @__PURE__ */ jsx214(
9258
9337
  Icon,
9259
9338
  {
9260
9339
  size: "sm",
@@ -9266,9 +9345,9 @@ var Breadcrumb = ({ icon, href, children, ...props }) => {
9266
9345
  };
9267
9346
 
9268
9347
  // src/components/Card/Card.tsx
9269
- import { styled as styled19 } from "styled-components";
9270
- import { jsx as jsx214 } from "react/jsx-runtime";
9271
- var StyledCard = styled19(Box)`
9348
+ import { styled as styled20 } from "styled-components";
9349
+ import { jsx as jsx215 } from "react/jsx-runtime";
9350
+ var StyledCard = styled20(Box)`
9272
9351
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
9273
9352
  box-sizing: border-box;
9274
9353
  padding: ${({ $paddingSize }) => `var(--wui-${$paddingSize})`};
@@ -9306,7 +9385,7 @@ var Card = ({
9306
9385
  prominence = "secondary",
9307
9386
  width,
9308
9387
  ...props
9309
- }) => /* @__PURE__ */ jsx214(
9388
+ }) => /* @__PURE__ */ jsx215(
9310
9389
  StyledCard,
9311
9390
  {
9312
9391
  $backgroundColor: prominenceMap[prominence].backgroundColor,
@@ -9326,9 +9405,9 @@ Card.displayName = "Card_UI";
9326
9405
 
9327
9406
  // src/components/Center/Center.tsx
9328
9407
  import { forwardRef as forwardRef9 } from "react";
9329
- import { styled as styled20 } from "styled-components";
9330
- import { jsx as jsx215 } from "react/jsx-runtime";
9331
- var StyledCenter = styled20.div`
9408
+ import { styled as styled21 } from "styled-components";
9409
+ import { jsx as jsx216 } from "react/jsx-runtime";
9410
+ var StyledCenter = styled21.div`
9332
9411
  box-sizing: border-box;
9333
9412
  margin-left: auto;
9334
9413
  margin-right: auto;
@@ -9341,7 +9420,7 @@ var StyledCenter = styled20.div`
9341
9420
  `}
9342
9421
  `;
9343
9422
  var Center = forwardRef9(
9344
- ({ maxWidth = "100%", gutterWidth = "space-00", intrinsic = false, children, ...props }, ref) => /* @__PURE__ */ jsx215(
9423
+ ({ maxWidth = "100%", gutterWidth = "space-00", intrinsic = false, children, ...props }, ref) => /* @__PURE__ */ jsx216(
9345
9424
  StyledCenter,
9346
9425
  {
9347
9426
  ref,
@@ -9358,18 +9437,18 @@ Center.displayName = "Center_UI";
9358
9437
  // src/components/Checkbox/Checkbox.tsx
9359
9438
  import { isNonEmptyString as isNonEmptyString3, isNotUndefined as isNotUndefined7 } from "@wistia/type-guards";
9360
9439
  import { forwardRef as forwardRef12, useId as useId2 } from "react";
9361
- import { styled as styled27, css as css26 } from "styled-components";
9440
+ import { styled as styled28, css as css26 } from "styled-components";
9362
9441
 
9363
9442
  // src/private/components/FormControlLabel/FormControlLabel.tsx
9364
9443
  import { isNil as isNil13, isNotNil as isNotNil15 } from "@wistia/type-guards";
9365
- import { styled as styled23, css as css25 } from "styled-components";
9444
+ import { styled as styled24, css as css25 } from "styled-components";
9366
9445
 
9367
9446
  // src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
9368
- import { styled as styled21 } from "styled-components";
9447
+ import { styled as styled22 } from "styled-components";
9369
9448
  import { isNotNil as isNotNil14 } from "@wistia/type-guards";
9370
- import { jsx as jsx216 } from "react/jsx-runtime";
9371
- var VisuallyHidden = styled21.div({ ...visuallyHiddenStyle });
9372
- var VisuallyHiddenButFocusable = styled21.div({
9449
+ import { jsx as jsx217 } from "react/jsx-runtime";
9450
+ var VisuallyHidden = styled22.div({ ...visuallyHiddenStyle });
9451
+ var VisuallyHiddenButFocusable = styled22.div({
9373
9452
  "&:not(:focus-within)": visuallyHiddenStyle
9374
9453
  });
9375
9454
  var ScreenReaderOnly = ({
@@ -9380,20 +9459,20 @@ var ScreenReaderOnly = ({
9380
9459
  }) => {
9381
9460
  const accessibleText = isNotNil14(text) ? text : children;
9382
9461
  if (focusable) {
9383
- return /* @__PURE__ */ jsx216(VisuallyHiddenButFocusable, { ...props, children: accessibleText });
9462
+ return /* @__PURE__ */ jsx217(VisuallyHiddenButFocusable, { ...props, children: accessibleText });
9384
9463
  }
9385
- return /* @__PURE__ */ jsx216(VisuallyHidden, { ...props, children: accessibleText });
9464
+ return /* @__PURE__ */ jsx217(VisuallyHidden, { ...props, children: accessibleText });
9386
9465
  };
9387
9466
  ScreenReaderOnly.displayName = "ScreenReaderOnly_UI";
9388
9467
 
9389
9468
  // src/private/components/FormControlLabel/FormControlLabelDescription.tsx
9390
- import { styled as styled22, css as css24 } from "styled-components";
9469
+ import { styled as styled23, css as css24 } from "styled-components";
9391
9470
  import { isNil as isNil12 } from "@wistia/type-guards";
9392
- import { jsx as jsx217 } from "react/jsx-runtime";
9471
+ import { jsx as jsx218 } from "react/jsx-runtime";
9393
9472
  var disabledStyle = css24`
9394
9473
  color: var(--wui-color-text-disabled);
9395
9474
  `;
9396
- var StyledFormControlLabelDescription = styled22.div`
9475
+ var StyledFormControlLabelDescription = styled23.div`
9397
9476
  color: var(--wui-color-text-secondary);
9398
9477
  display: block;
9399
9478
  font-size: var(--wui-typography-body-4-size);
@@ -9410,7 +9489,7 @@ var FormControlLabelDescription = ({
9410
9489
  if (isNil12(children)) {
9411
9490
  return null;
9412
9491
  }
9413
- return /* @__PURE__ */ jsx217(
9492
+ return /* @__PURE__ */ jsx218(
9414
9493
  StyledFormControlLabelDescription,
9415
9494
  {
9416
9495
  ...props,
@@ -9422,16 +9501,16 @@ var FormControlLabelDescription = ({
9422
9501
  FormControlLabelDescription.displayName = "FormControlLabelDescription";
9423
9502
 
9424
9503
  // src/private/components/FormControlLabel/FormControlLabel.tsx
9425
- import { jsx as jsx218, jsxs as jsxs16 } from "react/jsx-runtime";
9504
+ import { jsx as jsx219, jsxs as jsxs16 } from "react/jsx-runtime";
9426
9505
  var disabledStyle2 = css25`
9427
9506
  cursor: not-allowed;
9428
9507
  color: var(--wui-color-text-disabled);
9429
9508
  `;
9430
- var StyledLabelWrapper = styled23.div`
9509
+ var StyledLabelWrapper = styled24.div`
9431
9510
  display: flex;
9432
9511
  flex-direction: column;
9433
9512
  `;
9434
- var StyledFormControlLabel = styled23.label`
9513
+ var StyledFormControlLabel = styled24.label`
9435
9514
  cursor: pointer;
9436
9515
  display: flex;
9437
9516
  align-items: flex-start;
@@ -9458,9 +9537,9 @@ var FormControlLabel = ({
9458
9537
  if (isNil13(label)) {
9459
9538
  return null;
9460
9539
  }
9461
- const labelContent = hideLabel ? /* @__PURE__ */ jsx218(ScreenReaderOnly, { children: label }) : /* @__PURE__ */ jsxs16(StyledLabelWrapper, { children: [
9540
+ const labelContent = hideLabel ? /* @__PURE__ */ jsx219(ScreenReaderOnly, { children: label }) : /* @__PURE__ */ jsxs16(StyledLabelWrapper, { children: [
9462
9541
  label,
9463
- /* @__PURE__ */ jsx218(FormControlLabelDescription, { children: description })
9542
+ /* @__PURE__ */ jsx219(FormControlLabelDescription, { children: description })
9464
9543
  ] });
9465
9544
  const slot = isNotNil15(controlSlot) ? controlSlot : null;
9466
9545
  return /* @__PURE__ */ jsxs16(
@@ -9484,16 +9563,16 @@ import { createContext as createContext4, useMemo as useMemo7, useContext as use
9484
9563
  import { isArray } from "@wistia/type-guards";
9485
9564
 
9486
9565
  // src/components/FormGroup/FormGroup.tsx
9487
- import { styled as styled25 } from "styled-components";
9566
+ import { styled as styled26 } from "styled-components";
9488
9567
  import { useRef as useRef7 } from "react";
9489
9568
  import { isNonEmptyString as isNonEmptyString2, isNotNil as isNotNil16 } from "@wistia/type-guards";
9490
9569
 
9491
9570
  // src/components/Stack/Stack.tsx
9492
9571
  import { forwardRef as forwardRef10 } from "react";
9493
- import { styled as styled24 } from "styled-components";
9494
- import { jsx as jsx219 } from "react/jsx-runtime";
9572
+ import { styled as styled25 } from "styled-components";
9573
+ import { jsx as jsx220 } from "react/jsx-runtime";
9495
9574
  var DEFAULT_ELEMENT4 = "div";
9496
- var StyledStack = styled24.div`
9575
+ var StyledStack = styled25.div`
9497
9576
  display: flex;
9498
9577
  flex-direction: ${({ $direction }) => $direction === "horizontal" ? "row" : "column"};
9499
9578
  gap: ${({ $gap }) => `var(--wui-${$gap})`};
@@ -9504,7 +9583,7 @@ var StackComponent = forwardRef10(
9504
9583
  const responsiveGap = useResponsiveProp(gap);
9505
9584
  const responsiveDirection = useResponsiveProp(direction);
9506
9585
  const responsiveAlignItems = useResponsiveProp(alignItems);
9507
- return /* @__PURE__ */ jsx219(
9586
+ return /* @__PURE__ */ jsx220(
9508
9587
  StyledStack,
9509
9588
  {
9510
9589
  ref,
@@ -9521,13 +9600,13 @@ StackComponent.displayName = "Stack_UI";
9521
9600
  var Stack = makePolymorphic(StackComponent);
9522
9601
 
9523
9602
  // src/components/FormGroup/FormGroup.tsx
9524
- import { jsx as jsx220, jsxs as jsxs17 } from "react/jsx-runtime";
9525
- var StyledFieldset = styled25.fieldset`
9603
+ import { jsx as jsx221, jsxs as jsxs17 } from "react/jsx-runtime";
9604
+ var StyledFieldset = styled26.fieldset`
9526
9605
  padding: 0;
9527
9606
  margin: 0;
9528
9607
  border: 0;
9529
9608
  `;
9530
- var StyledLegend = styled25.legend`
9609
+ var StyledLegend = styled26.legend`
9531
9610
  padding-inline: 0;
9532
9611
  display: flex;
9533
9612
  flex-direction: column;
@@ -9557,7 +9636,7 @@ var FormGroup = ({
9557
9636
  variant: "heading5",
9558
9637
  children: [
9559
9638
  hasLabel ? label : null,
9560
- hasDescription ? /* @__PURE__ */ jsx220(
9639
+ hasDescription ? /* @__PURE__ */ jsx221(
9561
9640
  Text,
9562
9641
  {
9563
9642
  "data-wui-form-group-description": true,
@@ -9579,7 +9658,7 @@ FormGroup.displayName = "FormGroup_UI";
9579
9658
 
9580
9659
  // src/components/Form/Form.tsx
9581
9660
  import { forwardRef as forwardRef11, useRef as useRef8, useMemo as useMemo6, createContext as createContext3, useState as useState11, useId } from "react";
9582
- import { styled as styled26 } from "styled-components";
9661
+ import { styled as styled27 } from "styled-components";
9583
9662
  import { isNotUndefined as isNotUndefined6, isUndefined as isUndefined3 } from "@wistia/type-guards";
9584
9663
 
9585
9664
  // src/components/Form/serializeFormData.tsx
@@ -9598,8 +9677,8 @@ var serializeFormData = (formData) => {
9598
9677
  };
9599
9678
 
9600
9679
  // src/components/Form/Form.tsx
9601
- import { jsx as jsx221 } from "react/jsx-runtime";
9602
- var StyledForm = styled26.form`
9680
+ import { jsx as jsx222 } from "react/jsx-runtime";
9681
+ var StyledForm = styled27.form`
9603
9682
  --form-default-width: 690px;
9604
9683
 
9605
9684
  max-width: ${({ $fullWidth }) => $fullWidth ? "auto" : "var(--form-default-width)"};
@@ -9678,7 +9757,7 @@ var Form = forwardRef11(
9678
9757
  }, [labelPosition, values, errors, id, hasSubmitted]);
9679
9758
  return (
9680
9759
  // @ts-expect-error - generic context providers are a giant pain
9681
- /* @__PURE__ */ jsx221(FormContext.Provider, { value: context, children: /* @__PURE__ */ jsx221(
9760
+ /* @__PURE__ */ jsx222(FormContext.Provider, { value: context, children: /* @__PURE__ */ jsx222(
9682
9761
  Stack,
9683
9762
  {
9684
9763
  ...props,
@@ -9699,7 +9778,7 @@ var Form = forwardRef11(
9699
9778
  );
9700
9779
 
9701
9780
  // src/components/FormGroup/CheckboxGroup.tsx
9702
- import { jsx as jsx222 } from "react/jsx-runtime";
9781
+ import { jsx as jsx223 } from "react/jsx-runtime";
9703
9782
  var CheckboxGroupContext = createContext4(null);
9704
9783
  var useCheckboxGroup = () => {
9705
9784
  return useContext3(CheckboxGroupContext);
@@ -9720,13 +9799,13 @@ var CheckboxGroup = ({
9720
9799
  value: derivedValue
9721
9800
  };
9722
9801
  }, [name, derivedValue, onChange]);
9723
- return /* @__PURE__ */ jsx222(CheckboxGroupContext.Provider, { value: context, children: /* @__PURE__ */ jsx222(FormGroup, { ...props, children }) });
9802
+ return /* @__PURE__ */ jsx223(CheckboxGroupContext.Provider, { value: context, children: /* @__PURE__ */ jsx223(FormGroup, { ...props, children }) });
9724
9803
  };
9725
9804
  CheckboxGroup.displayName = "CheckboxGroup_UI";
9726
9805
 
9727
9806
  // src/components/Checkbox/Checkbox.tsx
9728
- import { jsx as jsx223, jsxs as jsxs18 } from "react/jsx-runtime";
9729
- var CheckIcon = () => /* @__PURE__ */ jsx223(
9807
+ import { jsx as jsx224, jsxs as jsxs18 } from "react/jsx-runtime";
9808
+ var CheckIcon = () => /* @__PURE__ */ jsx224(
9730
9809
  "svg",
9731
9810
  {
9732
9811
  fill: "inherit",
@@ -9734,7 +9813,7 @@ var CheckIcon = () => /* @__PURE__ */ jsx223(
9734
9813
  viewBox: "0 0 10 8",
9735
9814
  width: "10",
9736
9815
  xmlns: "http://www.w3.org/2000/svg",
9737
- children: /* @__PURE__ */ jsx223(
9816
+ children: /* @__PURE__ */ jsx224(
9738
9817
  "path",
9739
9818
  {
9740
9819
  d: "M3.47281 7.19303L0.377565 4.07999C0.191609 3.89297 0.191609 3.58973 0.377565 3.40268L1.05098 2.72537C1.23694 2.53833 1.53847 2.53833 1.72442 2.72537L3.80953 4.82245L8.27558 0.330729C8.46154 0.143704 8.76306 0.143704 8.94902 0.330729L9.62244 1.00804C9.8084 1.19506 9.8084 1.49831 9.62244 1.68535L4.14624 7.19305C3.96027 7.38008 3.65876 7.38008 3.47281 7.19303Z",
@@ -9760,7 +9839,7 @@ var getSizeCss = (size) => {
9760
9839
  if (size === "lg") return sizeLarge;
9761
9840
  return sizeMedium;
9762
9841
  };
9763
- var StyledCheckboxWrapper = styled27.div`
9842
+ var StyledCheckboxWrapper = styled28.div`
9764
9843
  --wui-checkbox-background-color: var(--wui-color-bg-surface);
9765
9844
  --wui-checkbox-border-color: var(--wui-color-border-secondary);
9766
9845
  --wui-checkbox-icon-color: transparent;
@@ -9797,7 +9876,7 @@ var StyledCheckboxWrapper = styled27.div`
9797
9876
  /* TODO this solves a problem but potentially causes and a11y issue */
9798
9877
  user-select: none;
9799
9878
  `;
9800
- var StyledCheckboxInput = styled27.div`
9879
+ var StyledCheckboxInput = styled28.div`
9801
9880
  ${({ $size }) => getSizeCss($size)}
9802
9881
  margin: 0;
9803
9882
  border-radius: var(--wui-border-radius-01);
@@ -9824,7 +9903,7 @@ var StyledCheckboxInput = styled27.div`
9824
9903
  height: var(--wui-checkbox-icon-size);
9825
9904
  }
9826
9905
  `;
9827
- var StyledHiddenCheckboxInput = styled27.input`
9906
+ var StyledHiddenCheckboxInput = styled28.input`
9828
9907
  ${visuallyHiddenStyle}
9829
9908
  position: relative;
9830
9909
  `;
@@ -9858,7 +9937,7 @@ var Checkbox = forwardRef12(
9858
9937
  $hideLabel: hideLabel,
9859
9938
  disabled,
9860
9939
  children: [
9861
- /* @__PURE__ */ jsx223(
9940
+ /* @__PURE__ */ jsx224(
9862
9941
  StyledHiddenCheckboxInput,
9863
9942
  {
9864
9943
  ...props,
@@ -9873,16 +9952,16 @@ var Checkbox = forwardRef12(
9873
9952
  value
9874
9953
  }
9875
9954
  ),
9876
- /* @__PURE__ */ jsx223(
9955
+ /* @__PURE__ */ jsx224(
9877
9956
  FormControlLabel,
9878
9957
  {
9879
- controlSlot: /* @__PURE__ */ jsx223(
9958
+ controlSlot: /* @__PURE__ */ jsx224(
9880
9959
  StyledCheckboxInput,
9881
9960
  {
9882
9961
  $disabled: disabled,
9883
9962
  $size: size,
9884
9963
  "data-wui-faux-input": "true",
9885
- children: /* @__PURE__ */ jsx223(CheckIcon, {})
9964
+ children: /* @__PURE__ */ jsx224(CheckIcon, {})
9886
9965
  }
9887
9966
  ),
9888
9967
  description,
@@ -9945,9 +10024,9 @@ ClickRegion.displayName = "ClickRegion_UI";
9945
10024
  // src/components/Collapsible/Collapsible.tsx
9946
10025
  import { Root as CollapsibleRoot } from "@radix-ui/react-collapsible";
9947
10026
  import { isNotNil as isNotNil17 } from "@wistia/type-guards";
9948
- import { styled as styled28 } from "styled-components";
9949
- import { jsx as jsx224 } from "react/jsx-runtime";
9950
- var StyledRoot = styled28(CollapsibleRoot)`
10027
+ import { styled as styled29 } from "styled-components";
10028
+ import { jsx as jsx225 } from "react/jsx-runtime";
10029
+ var StyledRoot = styled29(CollapsibleRoot)`
9951
10030
  &[data-state='closed'] [data-wui-collapsible-content] {
9952
10031
  display: -webkit-box;
9953
10032
  -webkit-box-orient: vertical;
@@ -9963,16 +10042,16 @@ var Collapsible = ({
9963
10042
  const controlProps = {
9964
10043
  ...isNotNil17(onOpenChange) && isNotNil17(isOpen) ? { open: isOpen, onOpenChange } : {}
9965
10044
  };
9966
- return /* @__PURE__ */ jsx224(StyledRoot, { ...controlProps, children });
10045
+ return /* @__PURE__ */ jsx225(StyledRoot, { ...controlProps, children });
9967
10046
  };
9968
10047
  Collapsible.displayName = "Collapsible_UI";
9969
10048
 
9970
10049
  // src/components/Collapsible/CollapsibleTrigger.tsx
9971
10050
  import { Children as Children4 } from "react";
9972
10051
  import { Trigger } from "@radix-ui/react-collapsible";
9973
- import { styled as styled29 } from "styled-components";
9974
- import { jsx as jsx225 } from "react/jsx-runtime";
9975
- var StyledTrigger = styled29(Trigger)`
10052
+ import { styled as styled30 } from "styled-components";
10053
+ import { jsx as jsx226 } from "react/jsx-runtime";
10054
+ var StyledTrigger = styled30(Trigger)`
9976
10055
  [data-wui-collapsible-icon] {
9977
10056
  transition: transform var(--wui-motion-duration-03) ease-in-out;
9978
10057
  }
@@ -9995,11 +10074,11 @@ var StyledTrigger = styled29(Trigger)`
9995
10074
  `;
9996
10075
  var CollapsibleTrigger = ({ children }) => {
9997
10076
  Children4.only(children);
9998
- return /* @__PURE__ */ jsx225(StyledTrigger, { asChild: true, children });
10077
+ return /* @__PURE__ */ jsx226(StyledTrigger, { asChild: true, children });
9999
10078
  };
10000
10079
 
10001
10080
  // src/components/Collapsible/CollapsibleTriggerIcon.tsx
10002
- import { jsx as jsx226 } from "react/jsx-runtime";
10081
+ import { jsx as jsx227 } from "react/jsx-runtime";
10003
10082
  var iconRotationMap = {
10004
10083
  "caret-left-strong": "-90",
10005
10084
  "caret-left": "-90",
@@ -10008,7 +10087,7 @@ var iconRotationMap = {
10008
10087
  plus: "45"
10009
10088
  };
10010
10089
  var CollapsibleTriggerIcon = ({ type, ...props }) => {
10011
- return /* @__PURE__ */ jsx226(
10090
+ return /* @__PURE__ */ jsx227(
10012
10091
  Icon,
10013
10092
  {
10014
10093
  ...props,
@@ -10021,16 +10100,16 @@ var CollapsibleTriggerIcon = ({ type, ...props }) => {
10021
10100
  CollapsibleTriggerIcon.displayName = "CollapsibleTriggerIcon_UI";
10022
10101
 
10023
10102
  // src/components/Collapsible/CollapsibleContent.tsx
10024
- import { styled as styled30 } from "styled-components";
10103
+ import { styled as styled31 } from "styled-components";
10025
10104
  import { Content } from "@radix-ui/react-collapsible";
10026
10105
  import { isNotUndefined as isNotUndefined8 } from "@wistia/type-guards";
10027
- import { Fragment as Fragment6, jsx as jsx227, jsxs as jsxs19 } from "react/jsx-runtime";
10028
- var ClampedContent = styled30.div`
10106
+ import { Fragment as Fragment6, jsx as jsx228, jsxs as jsxs19 } from "react/jsx-runtime";
10107
+ var ClampedContent = styled31.div`
10029
10108
  --wui-collapsible-content-clamp-lines: ${({ $clamp }) => $clamp};
10030
10109
  `;
10031
10110
  var CollapsibleContent = ({ clamp, children }) => {
10032
10111
  if (isNotUndefined8(clamp)) {
10033
- return /* @__PURE__ */ jsx227(
10112
+ return /* @__PURE__ */ jsx228(
10034
10113
  ClampedContent,
10035
10114
  {
10036
10115
  $clamp: clamp,
@@ -10039,7 +10118,7 @@ var CollapsibleContent = ({ clamp, children }) => {
10039
10118
  }
10040
10119
  );
10041
10120
  }
10042
- return /* @__PURE__ */ jsx227(Content, { children: /* @__PURE__ */ jsxs19(Fragment6, { children: [
10121
+ return /* @__PURE__ */ jsx228(Content, { children: /* @__PURE__ */ jsxs19(Fragment6, { children: [
10043
10122
  children,
10044
10123
  " "
10045
10124
  ] }) });
@@ -10047,7 +10126,7 @@ var CollapsibleContent = ({ clamp, children }) => {
10047
10126
 
10048
10127
  // src/components/ColorPicker/ColorGrid.tsx
10049
10128
  import { useCallback as useCallback10 } from "react";
10050
- import { styled as styled32 } from "styled-components";
10129
+ import { styled as styled33 } from "styled-components";
10051
10130
  import { Root as RadioGroupRoot } from "@radix-ui/react-radio-group";
10052
10131
 
10053
10132
  // src/components/ColorPicker/ColorPickerContext.tsx
@@ -10440,7 +10519,7 @@ var hasAccessibleDerivatives = ({
10440
10519
  };
10441
10520
 
10442
10521
  // src/components/ColorPicker/ColorPickerContext.tsx
10443
- import { jsx as jsx228 } from "react/jsx-runtime";
10522
+ import { jsx as jsx229 } from "react/jsx-runtime";
10444
10523
  var ColorPickerContext = createContext5(null);
10445
10524
  var ColorPickerProvider = ({
10446
10525
  children,
@@ -10581,7 +10660,7 @@ var ColorPickerProvider = ({
10581
10660
  valueAsHsv
10582
10661
  ]
10583
10662
  );
10584
- return /* @__PURE__ */ jsx228(ColorPickerContext.Provider, { value: contextValue, children });
10663
+ return /* @__PURE__ */ jsx229(ColorPickerContext.Provider, { value: contextValue, children });
10585
10664
  };
10586
10665
  var useColorPickerState = () => {
10587
10666
  const context = useContext4(ColorPickerContext);
@@ -10592,8 +10671,8 @@ var useColorPickerState = () => {
10592
10671
  };
10593
10672
 
10594
10673
  // src/components/Label/Label.tsx
10595
- import { styled as styled31, css as css27 } from "styled-components";
10596
- import { jsx as jsx229 } from "react/jsx-runtime";
10674
+ import { styled as styled32, css as css27 } from "styled-components";
10675
+ import { jsx as jsx230 } from "react/jsx-runtime";
10597
10676
  var requiredStyle = css27`
10598
10677
  &::after {
10599
10678
  color: var(--wui-color-text-error);
@@ -10605,7 +10684,7 @@ var requiredStyle = css27`
10605
10684
  var disabledStyle3 = css27`
10606
10685
  color: var(--wui-color-text-disabled);
10607
10686
  `;
10608
- var StyledLabel2 = styled31.label`
10687
+ var StyledLabel2 = styled32.label`
10609
10688
  display: block;
10610
10689
  width: 100%;
10611
10690
  color: var(--wui-color-text);
@@ -10637,7 +10716,7 @@ var Label = ({
10637
10716
  screenReaderOnly = false,
10638
10717
  ...props
10639
10718
  }) => {
10640
- return /* @__PURE__ */ jsx229(
10719
+ return /* @__PURE__ */ jsx230(
10641
10720
  StyledLabel2,
10642
10721
  {
10643
10722
  ...props,
@@ -10652,16 +10731,16 @@ var Label = ({
10652
10731
  Label.displayName = "Label_UI";
10653
10732
 
10654
10733
  // src/components/ColorPicker/ColorGrid.tsx
10655
- import { jsx as jsx230, jsxs as jsxs20 } from "react/jsx-runtime";
10656
- var Container = styled32.div`
10734
+ import { jsx as jsx231, jsxs as jsxs20 } from "react/jsx-runtime";
10735
+ var Container = styled33.div`
10657
10736
  display: grid;
10658
10737
  gap: var(--wui-space-01);
10659
10738
  grid-template-columns: minmax(0, 1fr);
10660
10739
  `;
10661
- var LabelContainer = styled32.div`
10740
+ var LabelContainer = styled33.div`
10662
10741
  padding-top: var(--wui-space-01);
10663
10742
  `;
10664
- var ItemsContainer = styled32(RadioGroupRoot)`
10743
+ var ItemsContainer = styled33(RadioGroupRoot)`
10665
10744
  display: flex;
10666
10745
  flex-wrap: wrap;
10667
10746
  align-items: center;
@@ -10679,8 +10758,8 @@ var ColorGrid = ({ children, label }) => {
10679
10758
  [onChangeNonDerivedValueAsHsv]
10680
10759
  );
10681
10760
  return /* @__PURE__ */ jsxs20(Container, { children: [
10682
- label != null && /* @__PURE__ */ jsx230(LabelContainer, { children: /* @__PURE__ */ jsx230(Label, { children: label }) }),
10683
- /* @__PURE__ */ jsx230(
10761
+ label != null && /* @__PURE__ */ jsx231(LabelContainer, { children: /* @__PURE__ */ jsx231(Label, { children: label }) }),
10762
+ /* @__PURE__ */ jsx231(
10684
10763
  ItemsContainer,
10685
10764
  {
10686
10765
  onValueChange,
@@ -10693,14 +10772,14 @@ var ColorGrid = ({ children, label }) => {
10693
10772
  ColorGrid.displayName = "ColorGrid_UI";
10694
10773
 
10695
10774
  // src/components/ColorPicker/ColorGridOption.tsx
10696
- import { styled as styled35 } from "styled-components";
10775
+ import { styled as styled36 } from "styled-components";
10697
10776
  import { Item as RadioGroupItem } from "@radix-ui/react-radio-group";
10698
10777
  import { formatHex as formatHex3 } from "culori/fn";
10699
10778
 
10700
10779
  // src/components/ColorPicker/ColorSwatch.tsx
10701
- import { styled as styled33 } from "styled-components";
10702
- import { jsx as jsx231, jsxs as jsxs21 } from "react/jsx-runtime";
10703
- var ColorSwatchDiv = styled33.div`
10780
+ import { styled as styled34 } from "styled-components";
10781
+ import { jsx as jsx232, jsxs as jsxs21 } from "react/jsx-runtime";
10782
+ var ColorSwatchDiv = styled34.div`
10704
10783
  aspect-ratio: 1;
10705
10784
  width: ${({ $diameterPx }) => `${$diameterPx}px`};
10706
10785
  border-radius: var(--wui-border-radius-rounded);
@@ -10719,7 +10798,7 @@ var ColorSwatchDiv = styled33.div`
10719
10798
  outline-offset: 2px;
10720
10799
  transform: ${({ $selected }) => $selected ? "scale(0.9)" : "scale(1)"};
10721
10800
  `;
10722
- var DerivativeHalfCircle = styled33.div`
10801
+ var DerivativeHalfCircle = styled34.div`
10723
10802
  position: absolute;
10724
10803
  right: 0;
10725
10804
  top: 0;
@@ -10747,7 +10826,7 @@ var ColorSwatch = ({
10747
10826
  backgroundColor: value
10748
10827
  },
10749
10828
  children: [
10750
- derivativeIsSelected ? /* @__PURE__ */ jsx231(DerivativeHalfCircle, { $color: colorPickerValueAsHex }) : null,
10829
+ derivativeIsSelected ? /* @__PURE__ */ jsx232(DerivativeHalfCircle, { $color: colorPickerValueAsHex }) : null,
10751
10830
  children
10752
10831
  ]
10753
10832
  }
@@ -10762,8 +10841,8 @@ import {
10762
10841
  Portal as TooltipPortal,
10763
10842
  Arrow as TooltipArrow
10764
10843
  } from "@radix-ui/react-tooltip";
10765
- import { styled as styled34, keyframes } from "styled-components";
10766
- import { jsx as jsx232, jsxs as jsxs22 } from "react/jsx-runtime";
10844
+ import { styled as styled35, keyframes } from "styled-components";
10845
+ import { jsx as jsx233, jsxs as jsxs22 } from "react/jsx-runtime";
10767
10846
  var hide = keyframes`
10768
10847
  from {
10769
10848
  opacity: 1;
@@ -10812,7 +10891,7 @@ var slideRightAndFade = keyframes`
10812
10891
  transform: translateX(0);
10813
10892
  }
10814
10893
  `;
10815
- var StyledContent = styled34(TooltipContent)`
10894
+ var StyledContent = styled35(TooltipContent)`
10816
10895
  --tooltip-font-family: var(--wui-typography-family-default);
10817
10896
  --tooltip-border-radius: var(--wui-border-radius-05);
10818
10897
  --tooltip-bg: var(--wui-color-bg-tooltip);
@@ -10881,15 +10960,15 @@ var Tooltip = ({
10881
10960
  delayDuration: delay,
10882
10961
  ...rootProps,
10883
10962
  children: [
10884
- /* @__PURE__ */ jsx232(TooltipTrigger, { asChild: true, children }),
10885
- /* @__PURE__ */ jsx232(TooltipPortal, { container, children: /* @__PURE__ */ jsxs22(
10963
+ /* @__PURE__ */ jsx233(TooltipTrigger, { asChild: true, children }),
10964
+ /* @__PURE__ */ jsx233(TooltipPortal, { container, children: /* @__PURE__ */ jsxs22(
10886
10965
  StyledContent,
10887
10966
  {
10888
10967
  side: direction,
10889
10968
  sideOffset: hideArrow ? VISUAL_OFFSET : VISUAL_OFFSET - 2,
10890
10969
  children: [
10891
10970
  content,
10892
- !hideArrow ? /* @__PURE__ */ jsx232(TooltipArrow, { asChild: true, children: /* @__PURE__ */ jsx232(
10971
+ !hideArrow ? /* @__PURE__ */ jsx233(TooltipArrow, { asChild: true, children: /* @__PURE__ */ jsx233(
10893
10972
  "svg",
10894
10973
  {
10895
10974
  fill: "var(--tooltip-bg)",
@@ -10898,7 +10977,7 @@ var Tooltip = ({
10898
10977
  viewBox: "0 0 12 8",
10899
10978
  width: "12",
10900
10979
  xmlns: "http://www.w3.org/2000/svg",
10901
- children: /* @__PURE__ */ jsx232("path", { d: "M6.8 6.93333C6.4 7.46667 5.6 7.46667 5.2 6.93333L-2.54292e-07 -1.04907e-06L12 0L6.8 6.93333Z" })
10980
+ children: /* @__PURE__ */ jsx233("path", { d: "M6.8 6.93333C6.4 7.46667 5.6 7.46667 5.2 6.93333L-2.54292e-07 -1.04907e-06L12 0L6.8 6.93333Z" })
10902
10981
  }
10903
10982
  ) }) : null
10904
10983
  ]
@@ -10911,8 +10990,8 @@ var Tooltip = ({
10911
10990
  Tooltip.displayName = "Tooltip_UI";
10912
10991
 
10913
10992
  // src/components/ColorPicker/ColorGridOption.tsx
10914
- import { jsx as jsx233 } from "react/jsx-runtime";
10915
- var Container2 = styled35(RadioGroupItem)`
10993
+ import { jsx as jsx234 } from "react/jsx-runtime";
10994
+ var Container2 = styled36(RadioGroupItem)`
10916
10995
  border: none;
10917
10996
  appearance: none;
10918
10997
  outline: none;
@@ -10928,11 +11007,11 @@ var ColorGridOption = ({ value: rawValue, name }) => {
10928
11007
  const valueAsHex = formatHex3(valueAsHsv);
10929
11008
  const isSelected = valueAsHex === value;
10930
11009
  const derivativeIsSelected = !isSelected && nonDerivedValueAsHex === value;
10931
- return /* @__PURE__ */ jsx233(
11010
+ return /* @__PURE__ */ jsx234(
10932
11011
  Tooltip,
10933
11012
  {
10934
- content: name ?? /* @__PURE__ */ jsx233("span", { style: { fontFamily: "var(--wui-typography-family-mono)" }, children: value }),
10935
- children: /* @__PURE__ */ jsx233(
11013
+ content: name ?? /* @__PURE__ */ jsx234("span", { style: { fontFamily: "var(--wui-typography-family-mono)" }, children: value }),
11014
+ children: /* @__PURE__ */ jsx234(
10936
11015
  Container2,
10937
11016
  {
10938
11017
  "aria-label": value,
@@ -10940,7 +11019,7 @@ var ColorGridOption = ({ value: rawValue, name }) => {
10940
11019
  role: "option",
10941
11020
  tabIndex: -1,
10942
11021
  value,
10943
- children: /* @__PURE__ */ jsx233(
11022
+ children: /* @__PURE__ */ jsx234(
10944
11023
  ColorSwatch,
10945
11024
  {
10946
11025
  derivativeIsSelected,
@@ -10957,10 +11036,10 @@ ColorGridOption.displayName = "ColorGridOption_UI";
10957
11036
 
10958
11037
  // src/components/ColorPicker/ColorList.tsx
10959
11038
  import { useCallback as useCallback11 } from "react";
10960
- import { styled as styled36 } from "styled-components";
11039
+ import { styled as styled37 } from "styled-components";
10961
11040
  import { Root as ToggleGroupRoot } from "@radix-ui/react-toggle-group";
10962
- import { jsx as jsx234 } from "react/jsx-runtime";
10963
- var Container3 = styled36(ToggleGroupRoot)`
11041
+ import { jsx as jsx235 } from "react/jsx-runtime";
11042
+ var Container3 = styled37(ToggleGroupRoot)`
10964
11043
  display: grid;
10965
11044
  grid-template-columns: minmax(0, 1fr);
10966
11045
  `;
@@ -10976,7 +11055,7 @@ var ColorList = ({ children }) => {
10976
11055
  },
10977
11056
  [onChangeNonDerivedValueAsHsv]
10978
11057
  );
10979
- return /* @__PURE__ */ jsx234(
11058
+ return /* @__PURE__ */ jsx235(
10980
11059
  Container3,
10981
11060
  {
10982
11061
  onValueChange,
@@ -10989,18 +11068,18 @@ var ColorList = ({ children }) => {
10989
11068
  ColorList.displayName = "ColorList_UI";
10990
11069
 
10991
11070
  // src/components/ColorPicker/ColorListGroup.tsx
10992
- import { styled as styled37 } from "styled-components";
10993
- import { jsx as jsx235, jsxs as jsxs23 } from "react/jsx-runtime";
10994
- var Container4 = styled37.div`
11071
+ import { styled as styled38 } from "styled-components";
11072
+ import { jsx as jsx236, jsxs as jsxs23 } from "react/jsx-runtime";
11073
+ var Container4 = styled38.div`
10995
11074
  display: grid;
10996
11075
  gap: var(--wui-space-01);
10997
11076
  grid-template-columns: minmax(0, 1fr);
10998
11077
  `;
10999
- var ItemsContainer2 = styled37.div`
11078
+ var ItemsContainer2 = styled38.div`
11000
11079
  display: flex;
11001
11080
  flex-direction: column;
11002
11081
  `;
11003
- var LabelContainer2 = styled37.div`
11082
+ var LabelContainer2 = styled38.div`
11004
11083
  padding-top: var(--wui-space-01);
11005
11084
  `;
11006
11085
  var ColorListGroup = ({ label, children }) => {
@@ -11010,8 +11089,8 @@ var ColorListGroup = ({ label, children }) => {
11010
11089
  "aria-label": label,
11011
11090
  role: "group",
11012
11091
  children: [
11013
- /* @__PURE__ */ jsx235(LabelContainer2, { children: /* @__PURE__ */ jsx235(Label, { children: label }) }),
11014
- /* @__PURE__ */ jsx235(ItemsContainer2, { children })
11092
+ /* @__PURE__ */ jsx236(LabelContainer2, { children: /* @__PURE__ */ jsx236(Label, { children: label }) }),
11093
+ /* @__PURE__ */ jsx236(ItemsContainer2, { children })
11015
11094
  ]
11016
11095
  }
11017
11096
  );
@@ -11019,12 +11098,12 @@ var ColorListGroup = ({ label, children }) => {
11019
11098
  ColorListGroup.displayName = "ColorListGroup_UI";
11020
11099
 
11021
11100
  // src/components/ColorPicker/ColorListOption.tsx
11022
- import { styled as styled38 } from "styled-components";
11101
+ import { styled as styled39 } from "styled-components";
11023
11102
  import { Item as ToggleGroupItem } from "@radix-ui/react-toggle-group";
11024
11103
  import { formatHex as formatHex4 } from "culori/fn";
11025
11104
 
11026
11105
  // src/components/ColorPicker/ColorNameOrHexCode.tsx
11027
- import { jsx as jsx236, jsxs as jsxs24 } from "react/jsx-runtime";
11106
+ import { jsx as jsx237, jsxs as jsxs24 } from "react/jsx-runtime";
11028
11107
  var ColorNameOrHexCode = ({ name, hexCode }) => {
11029
11108
  return /* @__PURE__ */ jsxs24(
11030
11109
  Box,
@@ -11034,7 +11113,7 @@ var ColorNameOrHexCode = ({ name, hexCode }) => {
11034
11113
  grow: 1,
11035
11114
  justifyContent: "space-between",
11036
11115
  children: [
11037
- /* @__PURE__ */ jsx236(
11116
+ /* @__PURE__ */ jsx237(
11038
11117
  Text,
11039
11118
  {
11040
11119
  renderAs: "span",
@@ -11042,7 +11121,7 @@ var ColorNameOrHexCode = ({ name, hexCode }) => {
11042
11121
  children: name ?? hexCode
11043
11122
  }
11044
11123
  ),
11045
- name != null && /* @__PURE__ */ jsx236(
11124
+ name != null && /* @__PURE__ */ jsx237(
11046
11125
  Text,
11047
11126
  {
11048
11127
  prominence: "secondary",
@@ -11057,8 +11136,8 @@ var ColorNameOrHexCode = ({ name, hexCode }) => {
11057
11136
  };
11058
11137
 
11059
11138
  // src/components/ColorPicker/ColorListOption.tsx
11060
- import { jsx as jsx237, jsxs as jsxs25 } from "react/jsx-runtime";
11061
- var Container5 = styled38(ToggleGroupItem)`
11139
+ import { jsx as jsx238, jsxs as jsxs25 } from "react/jsx-runtime";
11140
+ var Container5 = styled39(ToggleGroupItem)`
11062
11141
  border: none;
11063
11142
  appearance: none;
11064
11143
  outline: none;
@@ -11095,7 +11174,7 @@ var ColorListOption = ({ value: rawValue, name }) => {
11095
11174
  tabIndex: -1,
11096
11175
  value,
11097
11176
  children: [
11098
- /* @__PURE__ */ jsx237(
11177
+ /* @__PURE__ */ jsx238(
11099
11178
  ColorSwatch,
11100
11179
  {
11101
11180
  derivativeIsSelected,
@@ -11103,7 +11182,7 @@ var ColorListOption = ({ value: rawValue, name }) => {
11103
11182
  value
11104
11183
  }
11105
11184
  ),
11106
- /* @__PURE__ */ jsx237(
11185
+ /* @__PURE__ */ jsx238(
11107
11186
  ColorNameOrHexCode,
11108
11187
  {
11109
11188
  hexCode: value,
@@ -11118,7 +11197,7 @@ ColorListOption.displayName = "ColorListOption_UI";
11118
11197
 
11119
11198
  // src/components/ColorPicker/ColorPicker.tsx
11120
11199
  import { Root as PopoverRoot } from "@radix-ui/react-popover";
11121
- import { jsx as jsx238 } from "react/jsx-runtime";
11200
+ import { jsx as jsx239 } from "react/jsx-runtime";
11122
11201
  var ColorPicker = ({
11123
11202
  children,
11124
11203
  colorForComparison = DEFAULT_COLOR_FOR_COMPARISON,
@@ -11127,7 +11206,7 @@ var ColorPicker = ({
11127
11206
  onValueChange,
11128
11207
  value
11129
11208
  }) => {
11130
- return /* @__PURE__ */ jsx238(PopoverRoot, { modal: false, children: /* @__PURE__ */ jsx238(
11209
+ return /* @__PURE__ */ jsx239(PopoverRoot, { modal: false, children: /* @__PURE__ */ jsx239(
11131
11210
  ColorPickerProvider,
11132
11211
  {
11133
11212
  colorForComparison,
@@ -11143,9 +11222,9 @@ ColorPicker.displayName = "ColorPicker_UI";
11143
11222
 
11144
11223
  // src/components/ColorPicker/ColorPickerPopoverContent.tsx
11145
11224
  import { Content as PopoverContent, Portal as PopoverPortal } from "@radix-ui/react-popover";
11146
- import { styled as styled39 } from "styled-components";
11147
- import { jsx as jsx239 } from "react/jsx-runtime";
11148
- var StyledPopoverContent = styled39(PopoverContent)`
11225
+ import { styled as styled40 } from "styled-components";
11226
+ import { jsx as jsx240 } from "react/jsx-runtime";
11227
+ var StyledPopoverContent = styled40(PopoverContent)`
11149
11228
  background-color: var(--wui-color-bg-surface);
11150
11229
  border-radius: var(--wui-border-radius-02);
11151
11230
  border: 1px solid var(--wui-color-border);
@@ -11160,7 +11239,7 @@ var StyledPopoverContent = styled39(PopoverContent)`
11160
11239
  var ColorPickerPopoverContent = ({
11161
11240
  children
11162
11241
  }) => {
11163
- return /* @__PURE__ */ jsx239(PopoverPortal, { children: /* @__PURE__ */ jsx239(
11242
+ return /* @__PURE__ */ jsx240(PopoverPortal, { children: /* @__PURE__ */ jsx240(
11164
11243
  StyledPopoverContent,
11165
11244
  {
11166
11245
  align: "start",
@@ -11172,28 +11251,28 @@ var ColorPickerPopoverContent = ({
11172
11251
  ColorPickerPopoverContent.displayName = "ColorPickerPopoverContent_UI";
11173
11252
 
11174
11253
  // src/components/ColorPicker/ColorPickerSection.tsx
11175
- import { styled as styled40 } from "styled-components";
11176
- import { jsx as jsx240 } from "react/jsx-runtime";
11177
- var Container6 = styled40.div`
11254
+ import { styled as styled41 } from "styled-components";
11255
+ import { jsx as jsx241 } from "react/jsx-runtime";
11256
+ var Container6 = styled41.div`
11178
11257
  padding: var(--wui-space-02);
11179
11258
  `;
11180
11259
  var ColorPickerSection = ({ children }) => {
11181
- return /* @__PURE__ */ jsx240(Container6, { children: /* @__PURE__ */ jsx240(Stack, { children }) });
11260
+ return /* @__PURE__ */ jsx241(Container6, { children: /* @__PURE__ */ jsx241(Stack, { children }) });
11182
11261
  };
11183
11262
  ColorPickerSection.displayName = "ColorPickerSection_UI";
11184
11263
 
11185
11264
  // src/components/ColorPicker/ColorPickerTrigger.tsx
11186
11265
  import { forwardRef as forwardRef13 } from "react";
11187
11266
  import { Trigger as PopoverTrigger } from "@radix-ui/react-popover";
11188
- import { styled as styled41 } from "styled-components";
11267
+ import { styled as styled42 } from "styled-components";
11189
11268
 
11190
11269
  // src/components/ColorPicker/ValueSwatch.tsx
11191
- import { jsx as jsx241 } from "react/jsx-runtime";
11270
+ import { jsx as jsx242 } from "react/jsx-runtime";
11192
11271
  var ValueSwatch = ({
11193
11272
  diameterPx = DEFAULT_SWATCH_DIAMETER_PX
11194
11273
  }) => {
11195
11274
  const { valueAsHex } = useColorPickerState();
11196
- return /* @__PURE__ */ jsx241(
11275
+ return /* @__PURE__ */ jsx242(
11197
11276
  ColorSwatch,
11198
11277
  {
11199
11278
  diameterPx,
@@ -11204,16 +11283,16 @@ var ValueSwatch = ({
11204
11283
  ValueSwatch.displayName = "ValueSwatch_UI";
11205
11284
 
11206
11285
  // src/components/ColorPicker/ValueNameOrHexCode.tsx
11207
- import { jsx as jsx242 } from "react/jsx-runtime";
11286
+ import { jsx as jsx243 } from "react/jsx-runtime";
11208
11287
  var ValueNameOrHexCode = () => {
11209
11288
  const { valueAsHex } = useColorPickerState();
11210
- return /* @__PURE__ */ jsx242(ColorNameOrHexCode, { hexCode: valueAsHex });
11289
+ return /* @__PURE__ */ jsx243(ColorNameOrHexCode, { hexCode: valueAsHex });
11211
11290
  };
11212
11291
  ValueNameOrHexCode.displayName = "ValueNameOrHexCode_UI";
11213
11292
 
11214
11293
  // src/components/ColorPicker/ColorPickerTrigger.tsx
11215
- import { jsx as jsx243, jsxs as jsxs26 } from "react/jsx-runtime";
11216
- var StyledPopoverTrigger = styled41(PopoverTrigger)`
11294
+ import { jsx as jsx244, jsxs as jsxs26 } from "react/jsx-runtime";
11295
+ var StyledPopoverTrigger = styled42(PopoverTrigger)`
11217
11296
  background-color: var(--wui-color-bg-surface);
11218
11297
  border-radius: var(--wui-border-radius-rounded);
11219
11298
  border: 1px solid var(--wui-color-border);
@@ -11224,7 +11303,7 @@ var StyledPopoverTrigger = styled41(PopoverTrigger)`
11224
11303
  background-color: var(--wui-color-bg-surface-hover);
11225
11304
  }
11226
11305
  `;
11227
- var DefaultTriggerContentContainer = styled41.div`
11306
+ var DefaultTriggerContentContainer = styled42.div`
11228
11307
  align-items: center;
11229
11308
  display: flex;
11230
11309
  flex-direction: row;
@@ -11233,18 +11312,18 @@ var DefaultTriggerContentContainer = styled41.div`
11233
11312
  `;
11234
11313
  var DefaultTriggerContent = () => {
11235
11314
  return /* @__PURE__ */ jsxs26(DefaultTriggerContentContainer, { children: [
11236
- /* @__PURE__ */ jsx243(ValueSwatch, {}),
11237
- /* @__PURE__ */ jsx243(ValueNameOrHexCode, {})
11315
+ /* @__PURE__ */ jsx244(ValueSwatch, {}),
11316
+ /* @__PURE__ */ jsx244(ValueNameOrHexCode, {})
11238
11317
  ] });
11239
11318
  };
11240
11319
  var ColorPickerTrigger = forwardRef13(
11241
11320
  ({ children, ...props }, forwardedRef) => {
11242
- return /* @__PURE__ */ jsx243(
11321
+ return /* @__PURE__ */ jsx244(
11243
11322
  StyledPopoverTrigger,
11244
11323
  {
11245
11324
  ref: forwardedRef,
11246
11325
  ...props,
11247
- children: children ?? /* @__PURE__ */ jsx243(DefaultTriggerContent, {})
11326
+ children: children ?? /* @__PURE__ */ jsx244(DefaultTriggerContent, {})
11248
11327
  }
11249
11328
  );
11250
11329
  }
@@ -11252,9 +11331,9 @@ var ColorPickerTrigger = forwardRef13(
11252
11331
  ColorPickerTrigger.displayName = "ColorPickerTrigger_UI";
11253
11332
 
11254
11333
  // src/components/ColorPicker/ContrastIndicator.tsx
11255
- import { styled as styled42 } from "styled-components";
11256
- import { jsx as jsx244, jsxs as jsxs27 } from "react/jsx-runtime";
11257
- var Container7 = styled42.div`
11334
+ import { styled as styled43 } from "styled-components";
11335
+ import { jsx as jsx245, jsxs as jsxs27 } from "react/jsx-runtime";
11336
+ var Container7 = styled43.div`
11258
11337
  display: flex;
11259
11338
  flex-direction: row;
11260
11339
  justify-content: end;
@@ -11267,7 +11346,7 @@ var ContrastIndicator = () => {
11267
11346
  const { currentContrastRatio, minimumContrastRatio } = useColorPickerState();
11268
11347
  const isContrastSufficient = currentContrastRatio >= minimumContrastRatio;
11269
11348
  const label = /* @__PURE__ */ jsxs27("div", { children: [
11270
- /* @__PURE__ */ jsx244(
11349
+ /* @__PURE__ */ jsx245(
11271
11350
  Text,
11272
11351
  {
11273
11352
  renderAs: "span",
@@ -11288,19 +11367,19 @@ var ContrastIndicator = () => {
11288
11367
  }
11289
11368
  )
11290
11369
  ] });
11291
- return /* @__PURE__ */ jsx244(Container7, { children: isContrastSufficient ? /* @__PURE__ */ jsx244(
11370
+ return /* @__PURE__ */ jsx245(Container7, { children: isContrastSufficient ? /* @__PURE__ */ jsx245(
11292
11371
  Badge,
11293
11372
  {
11294
11373
  colorScheme: "success",
11295
- icon: /* @__PURE__ */ jsx244(Icon, { type: "checkmark" }),
11374
+ icon: /* @__PURE__ */ jsx245(Icon, { type: "checkmark" }),
11296
11375
  label,
11297
11376
  variant: "outline"
11298
11377
  }
11299
- ) : /* @__PURE__ */ jsx244(
11378
+ ) : /* @__PURE__ */ jsx245(
11300
11379
  Badge,
11301
11380
  {
11302
11381
  colorScheme: "warning",
11303
- icon: /* @__PURE__ */ jsx244(Icon, { type: "error" }),
11382
+ icon: /* @__PURE__ */ jsx245(Icon, { type: "error" }),
11304
11383
  label,
11305
11384
  variant: "outline"
11306
11385
  }
@@ -11312,9 +11391,9 @@ import { useCallback as useCallback12 } from "react";
11312
11391
 
11313
11392
  // src/components/Switch/Switch.tsx
11314
11393
  import { forwardRef as forwardRef14, useId as useId3 } from "react";
11315
- import { styled as styled43, css as css28 } from "styled-components";
11394
+ import { styled as styled44, css as css28 } from "styled-components";
11316
11395
  import { isNonEmptyString as isNonEmptyString4 } from "@wistia/type-guards";
11317
- import { jsx as jsx245, jsxs as jsxs28 } from "react/jsx-runtime";
11396
+ import { jsx as jsx246, jsxs as jsxs28 } from "react/jsx-runtime";
11318
11397
  var switchHeightMap = {
11319
11398
  sm: 16,
11320
11399
  md: 20,
@@ -11323,7 +11402,7 @@ var switchHeightMap = {
11323
11402
  var getSizeCss2 = (size) => css28`
11324
11403
  --wui-switch-height: ${switchHeightMap[size]}px;
11325
11404
  `;
11326
- var StyledSwitchWrapper = styled43.div`
11405
+ var StyledSwitchWrapper = styled44.div`
11327
11406
  ${({ $size }) => getSizeCss2($size)}
11328
11407
  --wui-switch-border-offset: 2px;
11329
11408
  --wui-switch-background-color: var(--wui-color-bg-surface-tertiary);
@@ -11357,7 +11436,7 @@ var StyledSwitchWrapper = styled43.div`
11357
11436
  /* TODO this solves a problem but potentially causes and a11y issue */
11358
11437
  user-select: none;
11359
11438
  `;
11360
- var StyledSwitchTrack = styled43.div`
11439
+ var StyledSwitchTrack = styled44.div`
11361
11440
  width: var(--wui-switch-width);
11362
11441
  height: var(--wui-switch-height);
11363
11442
  min-width: var(--wui-switch-width);
@@ -11375,7 +11454,7 @@ var StyledSwitchTrack = styled43.div`
11375
11454
  background-color: var(--wui-switch-background-color);
11376
11455
  margin-top: calc(calc(1lh - var(--wui-switch-height)) / 2);
11377
11456
  `;
11378
- var StyledSwitchThumb = styled43.div`
11457
+ var StyledSwitchThumb = styled44.div`
11379
11458
  border-radius: var(--wui-border-radius-rounded);
11380
11459
  background-color: var(--wui-switch-thumb-color);
11381
11460
  transition:
@@ -11385,7 +11464,7 @@ var StyledSwitchThumb = styled43.div`
11385
11464
  height: var(--wui-switch-thumb-size);
11386
11465
  margin-left: var(--wui-switch-thumb-position);
11387
11466
  `;
11388
- var StyledHiddenSwitchInput = styled43.input`
11467
+ var StyledHiddenSwitchInput = styled44.input`
11389
11468
  ${visuallyHiddenStyle}
11390
11469
  `;
11391
11470
  var Switch = forwardRef14(
@@ -11413,7 +11492,7 @@ var Switch = forwardRef14(
11413
11492
  $hideLabel: hideLabel,
11414
11493
  $size: size,
11415
11494
  children: [
11416
- /* @__PURE__ */ jsx245(
11495
+ /* @__PURE__ */ jsx246(
11417
11496
  StyledHiddenSwitchInput,
11418
11497
  {
11419
11498
  ...props,
@@ -11428,16 +11507,16 @@ var Switch = forwardRef14(
11428
11507
  value
11429
11508
  }
11430
11509
  ),
11431
- /* @__PURE__ */ jsx245(
11510
+ /* @__PURE__ */ jsx246(
11432
11511
  FormControlLabel,
11433
11512
  {
11434
11513
  align,
11435
- controlSlot: /* @__PURE__ */ jsx245(
11514
+ controlSlot: /* @__PURE__ */ jsx246(
11436
11515
  StyledSwitchTrack,
11437
11516
  {
11438
11517
  "data-testid": "wui-faux-input",
11439
11518
  "data-wui-faux-input": "true",
11440
- children: /* @__PURE__ */ jsx245(StyledSwitchThumb, {})
11519
+ children: /* @__PURE__ */ jsx246(StyledSwitchThumb, {})
11441
11520
  }
11442
11521
  ),
11443
11522
  description,
@@ -11455,7 +11534,7 @@ var Switch = forwardRef14(
11455
11534
  Switch.displayName = "Switch_UI";
11456
11535
 
11457
11536
  // src/components/ColorPicker/ContrastEnforcerSwitch.tsx
11458
- import { jsx as jsx246 } from "react/jsx-runtime";
11537
+ import { jsx as jsx247 } from "react/jsx-runtime";
11459
11538
  var ContrastEnforcerSwitch = () => {
11460
11539
  const { setShouldEnforceMinContrast, shouldEnforceMinContrast, hasAccessibleDerivatives: hasAccessibleDerivatives2 } = useColorPickerState();
11461
11540
  const onChangeContrastLimitedSwitch = useCallback12(
@@ -11471,7 +11550,7 @@ var ContrastEnforcerSwitch = () => {
11471
11550
  if (!hasAccessibleDerivatives2) {
11472
11551
  return null;
11473
11552
  }
11474
- return /* @__PURE__ */ jsx246(
11553
+ return /* @__PURE__ */ jsx247(
11475
11554
  Switch,
11476
11555
  {
11477
11556
  align: "right",
@@ -11483,21 +11562,21 @@ var ContrastEnforcerSwitch = () => {
11483
11562
  };
11484
11563
 
11485
11564
  // src/components/ColorPicker/ContrastPreview.tsx
11486
- import { jsx as jsx247 } from "react/jsx-runtime";
11565
+ import { jsx as jsx248 } from "react/jsx-runtime";
11487
11566
  var ContrastPreview = () => {
11488
11567
  const { valueAsHex, colorForComparison } = useColorPickerState();
11489
- return /* @__PURE__ */ jsx247(
11568
+ return /* @__PURE__ */ jsx248(
11490
11569
  ColorSwatch,
11491
11570
  {
11492
11571
  diameterPx: 36,
11493
11572
  value: valueAsHex,
11494
- children: /* @__PURE__ */ jsx247(Text, { style: { color: colorForComparison }, children: "Aa" })
11573
+ children: /* @__PURE__ */ jsx248(Text, { style: { color: colorForComparison }, children: "Aa" })
11495
11574
  }
11496
11575
  );
11497
11576
  };
11498
11577
 
11499
11578
  // src/components/ColorPicker/ContrastControls.tsx
11500
- import { jsx as jsx248, jsxs as jsxs29 } from "react/jsx-runtime";
11579
+ import { jsx as jsx249, jsxs as jsxs29 } from "react/jsx-runtime";
11501
11580
  var ContrastControls = () => {
11502
11581
  return /* @__PURE__ */ jsxs29(Stack, { children: [
11503
11582
  /* @__PURE__ */ jsxs29(
@@ -11507,12 +11586,12 @@ var ContrastControls = () => {
11507
11586
  direction: "row",
11508
11587
  justifyContent: "space-between",
11509
11588
  children: [
11510
- /* @__PURE__ */ jsx248(ContrastPreview, {}),
11511
- /* @__PURE__ */ jsx248(ContrastIndicator, {})
11589
+ /* @__PURE__ */ jsx249(ContrastPreview, {}),
11590
+ /* @__PURE__ */ jsx249(ContrastIndicator, {})
11512
11591
  ]
11513
11592
  }
11514
11593
  ),
11515
- /* @__PURE__ */ jsx248(ContrastEnforcerSwitch, {})
11594
+ /* @__PURE__ */ jsx249(ContrastEnforcerSwitch, {})
11516
11595
  ] });
11517
11596
  };
11518
11597
  ContrastControls.displayName = "ContrastControls_UI";
@@ -11523,7 +11602,7 @@ import { parseHex as parseHex2 } from "culori/fn";
11523
11602
 
11524
11603
  // src/components/Input/Input.tsx
11525
11604
  import { isValidElement as isValidElement2, forwardRef as forwardRef15, cloneElement as cloneElement4, useRef as useRef9 } from "react";
11526
- import { styled as styled44, css as css30 } from "styled-components";
11605
+ import { styled as styled45, css as css30 } from "styled-components";
11527
11606
  import { isNil as isNil14, isNotNil as isNotNil18, isRecord as isRecord4 } from "@wistia/type-guards";
11528
11607
 
11529
11608
  // src/css/inputCss.ts
@@ -11554,7 +11633,7 @@ var inputCss = css29`
11554
11633
  `;
11555
11634
 
11556
11635
  // src/components/Input/Input.tsx
11557
- import { jsx as jsx249, jsxs as jsxs30 } from "react/jsx-runtime";
11636
+ import { jsx as jsx250, jsxs as jsxs30 } from "react/jsx-runtime";
11558
11637
  var inputStyles = css30`
11559
11638
  ${inputCss}
11560
11639
  input,
@@ -11596,7 +11675,7 @@ var inputStyles = css30`
11596
11675
  }
11597
11676
  `;
11598
11677
  var calculateTextareaHeight = (rows = 1) => `calc((var(--wui-input-line-height) * ${rows}) + (var(--wui-input-vertical-padding) * 2));`;
11599
- var StyledInputContainer = styled44.div`
11678
+ var StyledInputContainer = styled45.div`
11600
11679
  display: inline-flex;
11601
11680
  position: relative;
11602
11681
  ${inputStyles};
@@ -11721,7 +11800,7 @@ var Input = forwardRef15(
11721
11800
  const ref = isNotNil18(externalRef) && isRecord4(externalRef) && "current" in externalRef ? externalRef : internalRef;
11722
11801
  let leftIconToDisplay = leftIcon;
11723
11802
  if (isNil14(leftIcon) && type === "search") {
11724
- leftIconToDisplay = /* @__PURE__ */ jsx249(Icon, { type: "search" });
11803
+ leftIconToDisplay = /* @__PURE__ */ jsx250(Icon, { type: "search" });
11725
11804
  }
11726
11805
  if (isNotNil18(leftIconToDisplay) && isValidElement2(leftIconToDisplay)) {
11727
11806
  leftIconToDisplay = cloneElement4(leftIconToDisplay, {
@@ -11756,14 +11835,14 @@ var Input = forwardRef15(
11756
11835
  "data-wui-input-container": true,
11757
11836
  children: [
11758
11837
  leftIconToDisplay ?? null,
11759
- type === "multiline" ? /* @__PURE__ */ jsx249(
11838
+ type === "multiline" ? /* @__PURE__ */ jsx250(
11760
11839
  "textarea",
11761
11840
  {
11762
11841
  ...props,
11763
11842
  ref,
11764
11843
  onFocus: handleFocus2
11765
11844
  }
11766
- ) : /* @__PURE__ */ jsx249(
11845
+ ) : /* @__PURE__ */ jsx250(
11767
11846
  "input",
11768
11847
  {
11769
11848
  ...props,
@@ -11781,7 +11860,7 @@ var Input = forwardRef15(
11781
11860
  Input.displayName = "Input_UI";
11782
11861
 
11783
11862
  // src/components/ColorPicker/HexColorInput.tsx
11784
- import { jsx as jsx250 } from "react/jsx-runtime";
11863
+ import { jsx as jsx251 } from "react/jsx-runtime";
11785
11864
  var SIX_DIGIT_HEX_CODE_LENGTH = 7;
11786
11865
  var isValidHexChar = (char) => {
11787
11866
  return /^[0-9a-fA-F]$/.test(char);
@@ -11921,7 +12000,7 @@ var HexColorInput = ({ autoFocus = true }) => {
11921
12000
  useEffect11(() => {
11922
12001
  setTextInputValue(valueAsHex);
11923
12002
  }, [valueAsHex]);
11924
- return /* @__PURE__ */ jsx250(
12003
+ return /* @__PURE__ */ jsx251(
11925
12004
  Input,
11926
12005
  {
11927
12006
  ref: inputRef,
@@ -11950,15 +12029,15 @@ import {
11950
12029
  Track as SliderTrack,
11951
12030
  Thumb as SliderThumb
11952
12031
  } from "@radix-ui/react-slider";
11953
- import { styled as styled46 } from "styled-components";
12032
+ import { styled as styled47 } from "styled-components";
11954
12033
  import { formatHex as formatHex6 } from "culori/fn";
11955
12034
 
11956
12035
  // src/components/ColorPicker/HSVHueCanvas.tsx
11957
12036
  import { useEffect as useEffect12, useRef as useRef11 } from "react";
11958
- import { styled as styled45 } from "styled-components";
12037
+ import { styled as styled46 } from "styled-components";
11959
12038
  import { formatHex as formatHex5 } from "culori/fn";
11960
- import { jsx as jsx251 } from "react/jsx-runtime";
11961
- var Canvas = styled45.canvas`
12039
+ import { jsx as jsx252 } from "react/jsx-runtime";
12040
+ var Canvas = styled46.canvas`
11962
12041
  display: block;
11963
12042
  height: 100%;
11964
12043
  width: 100%;
@@ -11986,7 +12065,7 @@ var HSVHueCanvas = ({ hsv }) => {
11986
12065
  ctx.fillStyle = gradient;
11987
12066
  ctx.fillRect(0, 0, width, height);
11988
12067
  }, [hsv.s, hsv.v]);
11989
- return /* @__PURE__ */ jsx251(
12068
+ return /* @__PURE__ */ jsx252(
11990
12069
  Canvas,
11991
12070
  {
11992
12071
  ref: canvasRef,
@@ -11996,9 +12075,9 @@ var HSVHueCanvas = ({ hsv }) => {
11996
12075
  };
11997
12076
 
11998
12077
  // src/components/ColorPicker/HueSlider.tsx
11999
- import { jsx as jsx252, jsxs as jsxs31 } from "react/jsx-runtime";
12078
+ import { jsx as jsx253, jsxs as jsxs31 } from "react/jsx-runtime";
12000
12079
  var TWENTY_FOUR = 24;
12001
- var Container8 = styled46.div`
12080
+ var Container8 = styled47.div`
12002
12081
  border-radius: var(--wui-border-radius-rounded);
12003
12082
  border: 1px solid var(--wui-color-border);
12004
12083
  height: ${TWENTY_FOUR}px;
@@ -12006,7 +12085,7 @@ var Container8 = styled46.div`
12006
12085
  padding: 0 var(--wui-space-03);
12007
12086
  position: relative;
12008
12087
  `;
12009
- var Root = styled46(SliderRoot)`
12088
+ var Root = styled47(SliderRoot)`
12010
12089
  align-items: center;
12011
12090
  display: flex;
12012
12091
  position: absolute;
@@ -12015,11 +12094,11 @@ var Root = styled46(SliderRoot)`
12015
12094
  width: calc(100% - var(--wui-space-05));
12016
12095
  height: 16px;
12017
12096
  `;
12018
- var Track = styled46(SliderTrack)`
12097
+ var Track = styled47(SliderTrack)`
12019
12098
  width: 100%;
12020
12099
  `;
12021
- var Thumb = styled46(SliderThumb)``;
12022
- var ThumbInner = styled46.div`
12100
+ var Thumb = styled47(SliderThumb)``;
12101
+ var ThumbInner = styled47.div`
12023
12102
  cursor: pointer;
12024
12103
  display: block;
12025
12104
  border-radius: var(--wui-border-radius-rounded);
@@ -12074,23 +12153,23 @@ var HueSlider = () => {
12074
12153
  step: 1,
12075
12154
  value: [nonDerivedValueAsHsv.h ?? 0],
12076
12155
  children: [
12077
- /* @__PURE__ */ jsx252(Track, {}),
12078
- /* @__PURE__ */ jsx252(Thumb, { "aria-label": "Hue slider", children: /* @__PURE__ */ jsx252(ThumbInner, { style: thumbInnerStyle }) })
12156
+ /* @__PURE__ */ jsx253(Track, {}),
12157
+ /* @__PURE__ */ jsx253(Thumb, { "aria-label": "Hue slider", children: /* @__PURE__ */ jsx253(ThumbInner, { style: thumbInnerStyle }) })
12079
12158
  ]
12080
12159
  }
12081
12160
  ),
12082
- /* @__PURE__ */ jsx252(HSVHueCanvas, { hsv: valueAsHsv })
12161
+ /* @__PURE__ */ jsx253(HSVHueCanvas, { hsv: valueAsHsv })
12083
12162
  ] });
12084
12163
  };
12085
12164
  HueSlider.displayName = "HueSlider_UI";
12086
12165
 
12087
12166
  // src/components/ColorPicker/SaturationAndValuePicker.tsx
12088
12167
  import { useCallback as useCallback15, useEffect as useEffect14, useLayoutEffect as useLayoutEffect4, useMemo as useMemo10, useRef as useRef13, useState as useState14 } from "react";
12089
- import { styled as styled48 } from "styled-components";
12168
+ import { styled as styled49 } from "styled-components";
12090
12169
 
12091
12170
  // src/components/ColorPicker/HSVSaturationValueCanvas.tsx
12092
12171
  import { useEffect as useEffect13, useRef as useRef12 } from "react";
12093
- import { styled as styled47 } from "styled-components";
12172
+ import { styled as styled48 } from "styled-components";
12094
12173
 
12095
12174
  // src/components/ColorPicker/canvas-utils.ts
12096
12175
  var drawSmoothCurve = (context, points) => {
@@ -12119,8 +12198,8 @@ var drawSmoothCurve = (context, points) => {
12119
12198
  };
12120
12199
 
12121
12200
  // src/components/ColorPicker/HSVSaturationValueCanvas.tsx
12122
- import { jsx as jsx253 } from "react/jsx-runtime";
12123
- var Canvas2 = styled47.canvas`
12201
+ import { jsx as jsx254 } from "react/jsx-runtime";
12202
+ var Canvas2 = styled48.canvas`
12124
12203
  display: block;
12125
12204
  width: 100%;
12126
12205
  `;
@@ -12227,7 +12306,7 @@ var HSVSaturationValueCanvas = ({
12227
12306
  colorForComparison,
12228
12307
  opacityForContrastCalculation
12229
12308
  ]);
12230
- return /* @__PURE__ */ jsx253(
12309
+ return /* @__PURE__ */ jsx254(
12231
12310
  Canvas2,
12232
12311
  {
12233
12312
  ref: canvasRef,
@@ -12238,16 +12317,16 @@ var HSVSaturationValueCanvas = ({
12238
12317
  };
12239
12318
 
12240
12319
  // src/components/ColorPicker/SaturationAndValuePicker.tsx
12241
- import { jsx as jsx254, jsxs as jsxs32 } from "react/jsx-runtime";
12320
+ import { jsx as jsx255, jsxs as jsxs32 } from "react/jsx-runtime";
12242
12321
  var SATURATION_NUDGE = 0.02;
12243
12322
  var VALUE_NUDGE = 0.02;
12244
- var Container9 = styled48.div`
12323
+ var Container9 = styled49.div`
12245
12324
  border-radius: var(--wui-border-radius-02);
12246
12325
  box-shadow: 0 0 0 1px var(--wui-color-border);
12247
12326
  overflow: hidden;
12248
12327
  position: relative;
12249
12328
  `;
12250
- var Thumb2 = styled48.button.attrs({ type: "button" })`
12329
+ var Thumb2 = styled49.button.attrs({ type: "button" })`
12251
12330
  appearance: none;
12252
12331
  border-radius: var(--wui-border-radius-rounded);
12253
12332
  border: none;
@@ -12415,7 +12494,7 @@ var SaturationAndValuePicker = ({
12415
12494
  "data-testid": dataTestId,
12416
12495
  onMouseDown: onContainerMouseDown,
12417
12496
  children: [
12418
- /* @__PURE__ */ jsx254(
12497
+ /* @__PURE__ */ jsx255(
12419
12498
  Thumb2,
12420
12499
  {
12421
12500
  ref: thumbRef,
@@ -12427,7 +12506,7 @@ var SaturationAndValuePicker = ({
12427
12506
  tabIndex: 0
12428
12507
  }
12429
12508
  ),
12430
- /* @__PURE__ */ jsx254(
12509
+ /* @__PURE__ */ jsx255(
12431
12510
  HSVSaturationValueCanvas,
12432
12511
  {
12433
12512
  colorForComparison,
@@ -12437,7 +12516,7 @@ var SaturationAndValuePicker = ({
12437
12516
  shouldShowContrastCurve: shouldEnforceMinContrast
12438
12517
  }
12439
12518
  ),
12440
- /* @__PURE__ */ jsx254(ScreenReaderOnly, { id: instructionsId, children: "Move right to increase saturation, left to decrease saturation, up to increase value, and down to decrease value." }),
12519
+ /* @__PURE__ */ jsx255(ScreenReaderOnly, { id: instructionsId, children: "Move right to increase saturation, left to decrease saturation, up to increase value, and down to decrease value." }),
12441
12520
  /* @__PURE__ */ jsxs32(ScreenReaderOnly, { "aria-live": "polite", children: [
12442
12521
  "Current color: ",
12443
12522
  valueAsHex,
@@ -12469,15 +12548,15 @@ import {
12469
12548
  isValidElement as isValidElement3
12470
12549
  } from "react";
12471
12550
  import { matchSorter } from "match-sorter";
12472
- import { styled as styled50 } from "styled-components";
12551
+ import { styled as styled51 } from "styled-components";
12473
12552
  import { isArray as isArray2, isString as isString3 } from "@wistia/type-guards";
12474
12553
 
12475
12554
  // src/components/Tag/Tag.tsx
12476
12555
  import { forwardRef as forwardRef16 } from "react";
12477
- import { styled as styled49 } from "styled-components";
12556
+ import { styled as styled50 } from "styled-components";
12478
12557
  import { isNil as isNil15, isNotNil as isNotNil19, isNonEmptyString as isNonEmptyString5 } from "@wistia/type-guards";
12479
- import { Fragment as Fragment7, jsx as jsx255, jsxs as jsxs33 } from "react/jsx-runtime";
12480
- var TagLabel = styled49.a`
12558
+ import { Fragment as Fragment7, jsx as jsx256, jsxs as jsxs33 } from "react/jsx-runtime";
12559
+ var TagLabel = styled50.a`
12481
12560
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12482
12561
  font-size: var(--wui-typography-label-4-size);
12483
12562
  font-weight: var(--wui-typography-label-4-weight);
@@ -12513,14 +12592,14 @@ var TagLabel = styled49.a`
12513
12592
  background: var(--wui-color-bg-surface-secondary-active);
12514
12593
  }
12515
12594
  `;
12516
- var TagDivider = styled49.div`
12595
+ var TagDivider = styled50.div`
12517
12596
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12518
12597
  border-left: 1px solid var(--wui-color-border);
12519
12598
  display: flex;
12520
12599
  height: 14px;
12521
12600
  width: 1px;
12522
12601
  `;
12523
- var StyledRemoveButton = styled49.button`
12602
+ var StyledRemoveButton = styled50.button`
12524
12603
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12525
12604
  all: unset;
12526
12605
  cursor: pointer;
@@ -12548,7 +12627,7 @@ var StyledRemoveButton = styled49.button`
12548
12627
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
12549
12628
  }
12550
12629
  `;
12551
- var StyledTag = styled49.div`
12630
+ var StyledTag = styled50.div`
12552
12631
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
12553
12632
  align-items: center;
12554
12633
  background-color: var(--wui-color-bg-surface-secondary);
@@ -12570,7 +12649,7 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
12570
12649
  );
12571
12650
  }
12572
12651
  return /* @__PURE__ */ jsxs33(Fragment7, { children: [
12573
- /* @__PURE__ */ jsx255(TagDivider, { $colorScheme: colorScheme }),
12652
+ /* @__PURE__ */ jsx256(TagDivider, { $colorScheme: colorScheme }),
12574
12653
  /* @__PURE__ */ jsxs33(
12575
12654
  StyledRemoveButton,
12576
12655
  {
@@ -12578,14 +12657,14 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
12578
12657
  onClick: onClickRemove,
12579
12658
  type: "button",
12580
12659
  children: [
12581
- /* @__PURE__ */ jsx255(
12660
+ /* @__PURE__ */ jsx256(
12582
12661
  Icon,
12583
12662
  {
12584
12663
  size: "sm",
12585
12664
  type: "close"
12586
12665
  }
12587
12666
  ),
12588
- /* @__PURE__ */ jsx255(ScreenReaderOnly, { children: onClickRemoveLabel })
12667
+ /* @__PURE__ */ jsx256(ScreenReaderOnly, { children: onClickRemoveLabel })
12589
12668
  ]
12590
12669
  }
12591
12670
  )
@@ -12613,7 +12692,7 @@ var Tag = forwardRef16(
12613
12692
  ]
12614
12693
  }
12615
12694
  ),
12616
- /* @__PURE__ */ jsx255(
12695
+ /* @__PURE__ */ jsx256(
12617
12696
  RemoveButton,
12618
12697
  {
12619
12698
  colorScheme,
@@ -12646,8 +12725,8 @@ var getDefaultTypographicElement = (variant) => {
12646
12725
  };
12647
12726
 
12648
12727
  // src/components/Combobox/Combobox.tsx
12649
- import { jsx as jsx256, jsxs as jsxs34 } from "react/jsx-runtime";
12650
- var ComboboxWrapper = styled50.div`
12728
+ import { jsx as jsx257, jsxs as jsxs34 } from "react/jsx-runtime";
12729
+ var ComboboxWrapper = styled51.div`
12651
12730
  ${inputCss};
12652
12731
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
12653
12732
  padding: var(--wui-input-vertical-padding) var(--wui-input-horizontal-padding);
@@ -12696,7 +12775,7 @@ var ComboboxWrapper = styled50.div`
12696
12775
  }
12697
12776
  }
12698
12777
  `;
12699
- var ComboboxInput = styled50(Ariakit.Combobox)`
12778
+ var ComboboxInput = styled51(Ariakit.Combobox)`
12700
12779
  appearance: none;
12701
12780
  padding: 0;
12702
12781
  width: 100%;
@@ -12711,7 +12790,7 @@ var ComboboxInput = styled50(Ariakit.Combobox)`
12711
12790
  outline-width: 2px;
12712
12791
  }
12713
12792
  `;
12714
- var ComboboxPopover2 = styled50(Ariakit.ComboboxPopover)`
12793
+ var ComboboxPopover2 = styled51(Ariakit.ComboboxPopover)`
12715
12794
  --wui-combobox-content-border: var(--wui-color-border);
12716
12795
  --wui-combobox-content-bg: var(--wui-color-bg-surface);
12717
12796
  --wui-combobox-content-border-radius: var(--wui-border-radius-02);
@@ -12737,7 +12816,7 @@ var ComboboxPopover2 = styled50(Ariakit.ComboboxPopover)`
12737
12816
  --item-opacity: 0.5;
12738
12817
  }
12739
12818
  `;
12740
- var ComboboxItem2 = styled50(Ariakit.ComboboxItem)`
12819
+ var ComboboxItem2 = styled51(Ariakit.ComboboxItem)`
12741
12820
  ${getTypographicStyles("body3")};
12742
12821
  display: flex;
12743
12822
  padding: var(--wui-combobox-option-padding);
@@ -12765,12 +12844,12 @@ var ComboboxItem2 = styled50(Ariakit.ComboboxItem)`
12765
12844
  background-color: transparent;
12766
12845
  }
12767
12846
  `;
12768
- var NoResults = styled50.div`
12847
+ var NoResults = styled51.div`
12769
12848
  gap: var(--wui-space-02);
12770
12849
  `;
12771
12850
  var POPOVER_WIDTH_OFFSET = 20;
12772
12851
  var ComboboxOption = ({ value, children }) => {
12773
- return /* @__PURE__ */ jsx256(
12852
+ return /* @__PURE__ */ jsx257(
12774
12853
  ComboboxItem2,
12775
12854
  {
12776
12855
  className: "combobox-item",
@@ -12791,7 +12870,7 @@ var extractOptions = (children) => {
12791
12870
  };
12792
12871
  var defaultDisplayValues = (values, onRemove) => {
12793
12872
  const valueArray = Array.isArray(values) ? values : [values];
12794
- return valueArray.map((selectedValue) => /* @__PURE__ */ jsx256(
12873
+ return valueArray.map((selectedValue) => /* @__PURE__ */ jsx257(
12795
12874
  Tag,
12796
12875
  {
12797
12876
  label: selectedValue,
@@ -12864,7 +12943,7 @@ var Combobox2 = ({
12864
12943
  $fullWidth: fullWidth,
12865
12944
  children: [
12866
12945
  isMultiSelect ? displayValues(value, handleRemoveValue) : null,
12867
- /* @__PURE__ */ jsx256(
12946
+ /* @__PURE__ */ jsx257(
12868
12947
  ComboboxInput,
12869
12948
  {
12870
12949
  autoSelect: true,
@@ -12893,7 +12972,7 @@ var Combobox2 = ({
12893
12972
  value: match,
12894
12973
  children: [
12895
12974
  options[match],
12896
- /* @__PURE__ */ jsx256(
12975
+ /* @__PURE__ */ jsx257(
12897
12976
  Icon,
12898
12977
  {
12899
12978
  size: "md",
@@ -12907,7 +12986,7 @@ var Combobox2 = ({
12907
12986
  },
12908
12987
  match
12909
12988
  )),
12910
- !matches.length && /* @__PURE__ */ jsx256(NoResults, { children: "No results found" })
12989
+ !matches.length && /* @__PURE__ */ jsx257(NoResults, { children: "No results found" })
12911
12990
  ]
12912
12991
  }
12913
12992
  )
@@ -12930,7 +13009,7 @@ import {
12930
13009
  } from "@radix-ui/react-dropdown-menu";
12931
13010
  import { isNotNil as isNotNil20, isNotUndefined as isNotUndefined9 } from "@wistia/type-guards";
12932
13011
  import { forwardRef as forwardRef17, useMemo as useMemo12 } from "react";
12933
- import { styled as styled51, css as css32, keyframes as keyframes2 } from "styled-components";
13012
+ import { styled as styled52, css as css32, keyframes as keyframes2 } from "styled-components";
12934
13013
 
12935
13014
  // src/components/Menu/MenuContext.tsx
12936
13015
  import { createContext as createContext6, useContext as useContext5 } from "react";
@@ -12938,7 +13017,7 @@ var MenuContext = createContext6({ compact: false });
12938
13017
  var useMenuContext = () => useContext5(MenuContext);
12939
13018
 
12940
13019
  // src/components/Menu/Menu.tsx
12941
- import { jsx as jsx257, jsxs as jsxs35 } from "react/jsx-runtime";
13020
+ import { jsx as jsx258, jsxs as jsxs35 } from "react/jsx-runtime";
12942
13021
  var open = keyframes2`
12943
13022
  from {
12944
13023
  opacity: 0;
@@ -13023,7 +13102,7 @@ var menuContentCss = css32`
13023
13102
  margin: var(--menu-divider-margin) 0;
13024
13103
  }
13025
13104
  `;
13026
- var MenuContent = styled51(DropdownMenuContent)`
13105
+ var MenuContent = styled52(DropdownMenuContent)`
13027
13106
  ${menuContentCss}
13028
13107
  min-width: var(--radix-dropdown-menu-trigger-width);
13029
13108
  `;
@@ -13051,25 +13130,25 @@ var Menu = forwardRef17(
13051
13130
  onOpenChange: () => null
13052
13131
  };
13053
13132
  }
13054
- return /* @__PURE__ */ jsx257(MenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs35(
13133
+ return /* @__PURE__ */ jsx258(MenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs35(
13055
13134
  DropdownMenu,
13056
13135
  {
13057
13136
  modal: false,
13058
13137
  ...controlProps,
13059
13138
  children: [
13060
- /* @__PURE__ */ jsx257(DropdownMenuTrigger, { asChild: true, children: isNotUndefined9(trigger) ? trigger : /* @__PURE__ */ jsx257(
13139
+ /* @__PURE__ */ jsx258(DropdownMenuTrigger, { asChild: true, children: isNotUndefined9(trigger) ? trigger : /* @__PURE__ */ jsx258(
13061
13140
  Button,
13062
13141
  {
13063
13142
  ref,
13064
13143
  "aria-expanded": isOpen,
13065
13144
  disabled,
13066
13145
  forceState: isOpen ? "active" : void 0,
13067
- rightIcon: /* @__PURE__ */ jsx257(Icon, { type: "caret-down" }),
13146
+ rightIcon: /* @__PURE__ */ jsx258(Icon, { type: "caret-down" }),
13068
13147
  ...triggerProps,
13069
13148
  children: label
13070
13149
  }
13071
13150
  ) }),
13072
- /* @__PURE__ */ jsx257(DropdownMenuPortal, { children: /* @__PURE__ */ jsx257(
13151
+ /* @__PURE__ */ jsx258(DropdownMenuPortal, { children: /* @__PURE__ */ jsx258(
13073
13152
  MenuContent,
13074
13153
  {
13075
13154
  ...props,
@@ -13093,19 +13172,19 @@ Menu.displayName = "Menu_UI";
13093
13172
  Menu.displayName = "Menu_UI";
13094
13173
 
13095
13174
  // src/components/Menu/MenuLabel.tsx
13096
- import { styled as styled52 } from "styled-components";
13175
+ import { styled as styled53 } from "styled-components";
13097
13176
  import { DropdownMenuLabel } from "@radix-ui/react-dropdown-menu";
13098
- import { jsx as jsx258 } from "react/jsx-runtime";
13099
- var StyledMenuLabel = styled52(DropdownMenuLabel)`
13177
+ import { jsx as jsx259 } from "react/jsx-runtime";
13178
+ var StyledMenuLabel = styled53(DropdownMenuLabel)`
13100
13179
  padding: var(--wui-space-02);
13101
13180
  `;
13102
13181
  var MenuLabel = ({ children, ...props }) => {
13103
- return /* @__PURE__ */ jsx258(
13182
+ return /* @__PURE__ */ jsx259(
13104
13183
  StyledMenuLabel,
13105
13184
  {
13106
13185
  asChild: true,
13107
13186
  ...props,
13108
- children: /* @__PURE__ */ jsx258(
13187
+ children: /* @__PURE__ */ jsx259(
13109
13188
  Heading,
13110
13189
  {
13111
13190
  renderAs: "span",
@@ -13121,7 +13200,7 @@ MenuLabel.displayName = "MenuLabel_UI";
13121
13200
 
13122
13201
  // src/components/Menu/SubMenu.tsx
13123
13202
  import { useState as useState16 } from "react";
13124
- import { styled as styled55 } from "styled-components";
13203
+ import { styled as styled56 } from "styled-components";
13125
13204
  import {
13126
13205
  DropdownMenuPortal as DropdownMenuPortal2,
13127
13206
  DropdownMenuSub,
@@ -13134,10 +13213,10 @@ import { isNotNil as isNotNil22 } from "@wistia/type-guards";
13134
13213
 
13135
13214
  // src/components/Menu/MenuItemButton.tsx
13136
13215
  import { forwardRef as forwardRef18 } from "react";
13137
- import { styled as styled53 } from "styled-components";
13216
+ import { styled as styled54 } from "styled-components";
13138
13217
  import { isNotNil as isNotNil21, isNotUndefined as isNotUndefined10 } from "@wistia/type-guards";
13139
- import { jsx as jsx259, jsxs as jsxs36 } from "react/jsx-runtime";
13140
- var StyledButton3 = styled53(Button)`
13218
+ import { jsx as jsx260, jsxs as jsxs36 } from "react/jsx-runtime";
13219
+ var StyledButton3 = styled54(Button)`
13141
13220
  ${({ colorScheme }) => getColorScheme(colorScheme)};
13142
13221
 
13143
13222
  display: flex;
@@ -13176,7 +13255,7 @@ var StyledButton3 = styled53(Button)`
13176
13255
  padding-left: var(--wui-space-04);
13177
13256
  }
13178
13257
  `;
13179
- var StyledLeftIconContainer = styled53.div`
13258
+ var StyledLeftIconContainer = styled54.div`
13180
13259
  height: var(--menu-item-left-icon-size);
13181
13260
  width: var(--menu-item-left-icon-size);
13182
13261
 
@@ -13188,7 +13267,7 @@ var StyledLeftIconContainer = styled53.div`
13188
13267
  }
13189
13268
  }
13190
13269
  `;
13191
- var StyledRightIconContainer = styled53.div`
13270
+ var StyledRightIconContainer = styled54.div`
13192
13271
  height: var(--menu-item-right-icon-size);
13193
13272
  width: var(--menu-item-right-icon-size);
13194
13273
 
@@ -13200,13 +13279,13 @@ var StyledRightIconContainer = styled53.div`
13200
13279
  }
13201
13280
  }
13202
13281
  `;
13203
- var StyledLabelAndDescriptionContainer = styled53.div`
13282
+ var StyledLabelAndDescriptionContainer = styled54.div`
13204
13283
  display: flex;
13205
13284
  flex-direction: column;
13206
13285
  gap: var(--menu-label-description-gap);
13207
13286
  flex-basis: 100%;
13208
13287
  `;
13209
- var StyledBadgeContainer = styled53.div`
13288
+ var StyledBadgeContainer = styled54.div`
13210
13289
  align-self: start;
13211
13290
  justify-self: end;
13212
13291
  font-size: var(--wui-typography-label-4-size);
@@ -13221,7 +13300,7 @@ var MenuItemButton = forwardRef18(({ children, appearance, command, icon, ...pro
13221
13300
  colorScheme = "error";
13222
13301
  }
13223
13302
  if (appearance === "gated") {
13224
- badge = /* @__PURE__ */ jsx259(
13303
+ badge = /* @__PURE__ */ jsx260(
13225
13304
  Icon,
13226
13305
  {
13227
13306
  colorScheme: "purple",
@@ -13243,10 +13322,10 @@ var MenuItemButton = forwardRef18(({ children, appearance, command, icon, ...pro
13243
13322
  fullWidth: true,
13244
13323
  unstyled: true,
13245
13324
  children: [
13246
- isNotNil21(props.leftIcon) ? /* @__PURE__ */ jsx259(StyledLeftIconContainer, { children: props.leftIcon }) : null,
13247
- /* @__PURE__ */ jsx259(StyledLabelAndDescriptionContainer, { children }),
13248
- isNotNil21(badge) || isNotNil21(command) ? /* @__PURE__ */ jsx259(StyledBadgeContainer, { children: badge ?? command }) : null,
13249
- isNotNil21(props.rightIcon) ? /* @__PURE__ */ jsx259(StyledRightIconContainer, { children: props.rightIcon }) : null
13325
+ isNotNil21(props.leftIcon) ? /* @__PURE__ */ jsx260(StyledLeftIconContainer, { children: props.leftIcon }) : null,
13326
+ /* @__PURE__ */ jsx260(StyledLabelAndDescriptionContainer, { children }),
13327
+ isNotNil21(badge) || isNotNil21(command) ? /* @__PURE__ */ jsx260(StyledBadgeContainer, { children: badge ?? command }) : null,
13328
+ isNotNil21(props.rightIcon) ? /* @__PURE__ */ jsx260(StyledRightIconContainer, { children: props.rightIcon }) : null
13250
13329
  ]
13251
13330
  }
13252
13331
  );
@@ -13254,15 +13333,15 @@ var MenuItemButton = forwardRef18(({ children, appearance, command, icon, ...pro
13254
13333
  MenuItemButton.displayName = "MenuItemButton_UI";
13255
13334
 
13256
13335
  // src/components/Menu/MenuItemLabelDescription.tsx
13257
- import { styled as styled54 } from "styled-components";
13258
- import { jsx as jsx260 } from "react/jsx-runtime";
13259
- var StyledMenuItemLabel = styled54.span``;
13260
- var StyledMenuItemDescription = styled54(Text)``;
13336
+ import { styled as styled55 } from "styled-components";
13337
+ import { jsx as jsx261 } from "react/jsx-runtime";
13338
+ var StyledMenuItemLabel = styled55.span``;
13339
+ var StyledMenuItemDescription = styled55(Text)``;
13261
13340
  var MenuItemLabel = ({ children }) => {
13262
- return /* @__PURE__ */ jsx260(StyledMenuItemLabel, { children });
13341
+ return /* @__PURE__ */ jsx261(StyledMenuItemLabel, { children });
13263
13342
  };
13264
13343
  var MenuItemDescription = ({ children }) => {
13265
- return /* @__PURE__ */ jsx260(
13344
+ return /* @__PURE__ */ jsx261(
13266
13345
  StyledMenuItemDescription,
13267
13346
  {
13268
13347
  prominence: "secondary",
@@ -13273,18 +13352,18 @@ var MenuItemDescription = ({ children }) => {
13273
13352
  };
13274
13353
 
13275
13354
  // src/components/Menu/SubMenu.tsx
13276
- import { jsx as jsx261, jsxs as jsxs37 } from "react/jsx-runtime";
13277
- var SubMenuContent = styled55(DropdownMenuSubContent)`
13355
+ import { jsx as jsx262, jsxs as jsxs37 } from "react/jsx-runtime";
13356
+ var SubMenuContent = styled56(DropdownMenuSubContent)`
13278
13357
  ${menuContentCss}
13279
13358
 
13280
13359
  ${mq.smAndDown} {
13281
13360
  transform: translateX(-100%) !important;
13282
13361
  }
13283
13362
  `;
13284
- var StyledMobileSubMenuItems = styled55.div`
13363
+ var StyledMobileSubMenuItems = styled56.div`
13285
13364
  margin-left: var(--wui-space-04);
13286
13365
  `;
13287
- var StyledSubTrigger = styled55(DropdownMenuSubTrigger)`
13366
+ var StyledSubTrigger = styled56(DropdownMenuSubTrigger)`
13288
13367
  outline: none;
13289
13368
 
13290
13369
  &[data-state='open'],
@@ -13295,12 +13374,12 @@ var StyledSubTrigger = styled55(DropdownMenuSubTrigger)`
13295
13374
  var SubMenuTrigger = ({ icon, ...props }) => {
13296
13375
  const { isSmAndUp } = useMq();
13297
13376
  const Trigger4 = isSmAndUp ? StyledSubTrigger : DropdownMenuItem;
13298
- return /* @__PURE__ */ jsx261(Trigger4, { asChild: true, children: /* @__PURE__ */ jsx261(
13377
+ return /* @__PURE__ */ jsx262(Trigger4, { asChild: true, children: /* @__PURE__ */ jsx262(
13299
13378
  MenuItemButton,
13300
13379
  {
13301
13380
  ...props,
13302
13381
  leftIcon: icon,
13303
- rightIcon: /* @__PURE__ */ jsx261(Icon, { type: "caret-right" })
13382
+ rightIcon: /* @__PURE__ */ jsx262(Icon, { type: "caret-right" })
13304
13383
  }
13305
13384
  ) });
13306
13385
  };
@@ -13316,10 +13395,10 @@ var SubMenu = ({
13316
13395
  const { compact } = useMenuContext();
13317
13396
  return isSmAndUp ? /* @__PURE__ */ jsxs37(DropdownMenuSub, { onOpenChange, children: [
13318
13397
  /* @__PURE__ */ jsxs37(SubMenuTrigger, { ...props, children: [
13319
- /* @__PURE__ */ jsx261(MenuItemLabel, { children: label }),
13320
- isNotNil22(description) ? /* @__PURE__ */ jsx261(MenuItemDescription, { children: description }) : null
13398
+ /* @__PURE__ */ jsx262(MenuItemLabel, { children: label }),
13399
+ isNotNil22(description) ? /* @__PURE__ */ jsx262(MenuItemDescription, { children: description }) : null
13321
13400
  ] }),
13322
- /* @__PURE__ */ jsx261(DropdownMenuPortal2, { children: /* @__PURE__ */ jsx261(SubMenuContent, { $compact: compact, children }) })
13401
+ /* @__PURE__ */ jsx262(DropdownMenuPortal2, { children: /* @__PURE__ */ jsx262(SubMenuContent, { $compact: compact, children }) })
13323
13402
  ] }) : /* @__PURE__ */ jsxs37(DropdownMenuGroup, { children: [
13324
13403
  /* @__PURE__ */ jsxs37(
13325
13404
  SubMenuTrigger,
@@ -13330,12 +13409,12 @@ var SubMenu = ({
13330
13409
  setIsExpanded((prev) => !prev);
13331
13410
  },
13332
13411
  children: [
13333
- /* @__PURE__ */ jsx261(MenuItemLabel, { children: label }),
13334
- /* @__PURE__ */ jsx261(MenuItemDescription, { children: description })
13412
+ /* @__PURE__ */ jsx262(MenuItemLabel, { children: label }),
13413
+ /* @__PURE__ */ jsx262(MenuItemDescription, { children: description })
13335
13414
  ]
13336
13415
  }
13337
13416
  ),
13338
- /* @__PURE__ */ jsx261(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
13417
+ /* @__PURE__ */ jsx262(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
13339
13418
  ] });
13340
13419
  };
13341
13420
  SubMenu.displayName = "SubMenu_UI";
@@ -13343,15 +13422,15 @@ SubMenu.displayName = "SubMenu_UI";
13343
13422
  // src/components/Menu/MenuItem.tsx
13344
13423
  import { forwardRef as forwardRef19 } from "react";
13345
13424
  import { DropdownMenuItem as DropdownMenuItem2 } from "@radix-ui/react-dropdown-menu";
13346
- import { jsx as jsx262 } from "react/jsx-runtime";
13425
+ import { jsx as jsx263 } from "react/jsx-runtime";
13347
13426
  var MenuItem = forwardRef19(
13348
13427
  ({ onSelect = () => null, ...props }, ref) => {
13349
- return /* @__PURE__ */ jsx262(
13428
+ return /* @__PURE__ */ jsx263(
13350
13429
  DropdownMenuItem2,
13351
13430
  {
13352
13431
  asChild: true,
13353
13432
  onSelect,
13354
- children: /* @__PURE__ */ jsx262(
13433
+ children: /* @__PURE__ */ jsx263(
13355
13434
  MenuItemButton,
13356
13435
  {
13357
13436
  ...props,
@@ -13367,19 +13446,19 @@ MenuItem.displayName = "MenuItem_UI";
13367
13446
 
13368
13447
  // src/components/Menu/MenuRadioGroup.tsx
13369
13448
  import { DropdownMenuRadioGroup } from "@radix-ui/react-dropdown-menu";
13370
- import { jsx as jsx263 } from "react/jsx-runtime";
13449
+ import { jsx as jsx264 } from "react/jsx-runtime";
13371
13450
  var MenuRadioGroup = ({ children, ...props }) => {
13372
- return /* @__PURE__ */ jsx263(DropdownMenuRadioGroup, { ...props, children });
13451
+ return /* @__PURE__ */ jsx264(DropdownMenuRadioGroup, { ...props, children });
13373
13452
  };
13374
13453
  MenuRadioGroup.displayName = "MenuRadioGroup_UI";
13375
13454
 
13376
13455
  // src/components/Menu/RadioMenuItem.tsx
13377
13456
  import { DropdownMenuItemIndicator, DropdownMenuRadioItem } from "@radix-ui/react-dropdown-menu";
13378
- import { jsx as jsx264 } from "react/jsx-runtime";
13457
+ import { jsx as jsx265 } from "react/jsx-runtime";
13379
13458
  var RadioMenuItem = ({
13380
13459
  onSelect,
13381
13460
  value,
13382
- indicator = /* @__PURE__ */ jsx264(
13461
+ indicator = /* @__PURE__ */ jsx265(
13383
13462
  Icon,
13384
13463
  {
13385
13464
  size: "sm",
@@ -13389,17 +13468,17 @@ var RadioMenuItem = ({
13389
13468
  ...props
13390
13469
  }) => {
13391
13470
  const extraProps = onSelect ? { onSelect } : {};
13392
- return /* @__PURE__ */ jsx264(
13471
+ return /* @__PURE__ */ jsx265(
13393
13472
  DropdownMenuRadioItem,
13394
13473
  {
13395
13474
  ...extraProps,
13396
13475
  asChild: true,
13397
13476
  value,
13398
- children: /* @__PURE__ */ jsx264(
13477
+ children: /* @__PURE__ */ jsx265(
13399
13478
  MenuItemButton,
13400
13479
  {
13401
13480
  ...props,
13402
- rightIcon: /* @__PURE__ */ jsx264(DropdownMenuItemIndicator, { children: indicator })
13481
+ rightIcon: /* @__PURE__ */ jsx265(DropdownMenuItemIndicator, { children: indicator })
13403
13482
  }
13404
13483
  )
13405
13484
  }
@@ -13410,7 +13489,7 @@ RadioMenuItem.displayName = "RadioMenuItem_UI";
13410
13489
  // src/components/Menu/CheckboxMenuItem.tsx
13411
13490
  import { DropdownMenuCheckboxItem, DropdownMenuItemIndicator as DropdownMenuItemIndicator2 } from "@radix-ui/react-dropdown-menu";
13412
13491
  import { isNotNil as isNotNil23 } from "@wistia/type-guards";
13413
- import { jsx as jsx265, jsxs as jsxs38 } from "react/jsx-runtime";
13492
+ import { jsx as jsx266, jsxs as jsxs38 } from "react/jsx-runtime";
13414
13493
  var CheckboxIndicator = ({ checked, ...props }) => {
13415
13494
  return checked ? /* @__PURE__ */ jsxs38(
13416
13495
  "svg",
@@ -13422,14 +13501,14 @@ var CheckboxIndicator = ({ checked, ...props }) => {
13422
13501
  width: "24",
13423
13502
  xmlns: "http://www.w3.org/2000/svg",
13424
13503
  children: [
13425
- /* @__PURE__ */ jsx265(
13504
+ /* @__PURE__ */ jsx266(
13426
13505
  "path",
13427
13506
  {
13428
13507
  d: "m4 8c0-2.20914 1.79086-4 4-4h8c2.2091 0 4 1.79086 4 4v8c0 2.2091-1.7909 4-4 4h-8c-2.20914 0-4-1.7909-4-4z",
13429
13508
  fill: "#2949e5"
13430
13509
  }
13431
13510
  ),
13432
- /* @__PURE__ */ jsx265(
13511
+ /* @__PURE__ */ jsx266(
13433
13512
  "path",
13434
13513
  {
13435
13514
  d: "m10.4728 15.1931-3.09523-3.1131c-.18596-.187-.18596-.4902 0-.6773l.67341-.6773c.18596-.187.48749-.187.67344 0l2.08508 2.0971 4.4661-4.49174c.1859-.18703.4875-.18703.6734 0l.6734.67731c.186.18703.186.49027 0 .67731l-5.4762 5.50772c-.1859.187-.4874.187-.6734 0z",
@@ -13448,14 +13527,14 @@ var CheckboxIndicator = ({ checked, ...props }) => {
13448
13527
  width: "24",
13449
13528
  xmlns: "http://www.w3.org/2000/svg",
13450
13529
  children: [
13451
- /* @__PURE__ */ jsx265(
13530
+ /* @__PURE__ */ jsx266(
13452
13531
  "path",
13453
13532
  {
13454
13533
  d: "m8 4.5h8c1.933 0 3.5 1.567 3.5 3.5v8c0 1.933-1.567 3.5-3.5 3.5h-8c-1.933 0-3.5-1.567-3.5-3.5v-8c0-1.933 1.567-3.5 3.5-3.5z",
13455
13534
  fill: "#fcfcfd"
13456
13535
  }
13457
13536
  ),
13458
- /* @__PURE__ */ jsx265(
13537
+ /* @__PURE__ */ jsx266(
13459
13538
  "path",
13460
13539
  {
13461
13540
  d: "m8 4.5h8c1.933 0 3.5 1.567 3.5 3.5v8c0 1.933-1.567 3.5-3.5 3.5h-8c-1.933 0-3.5-1.567-3.5-3.5v-8c0-1.933 1.567-3.5 3.5-3.5z",
@@ -13472,19 +13551,19 @@ var CheckboxMenuItem = ({
13472
13551
  onCheckedChange,
13473
13552
  ...props
13474
13553
  }) => {
13475
- return /* @__PURE__ */ jsx265(
13554
+ return /* @__PURE__ */ jsx266(
13476
13555
  DropdownMenuCheckboxItem,
13477
13556
  {
13478
13557
  asChild: true,
13479
13558
  checked,
13480
13559
  onCheckedChange,
13481
13560
  onSelect,
13482
- children: /* @__PURE__ */ jsx265(
13561
+ children: /* @__PURE__ */ jsx266(
13483
13562
  MenuItemButton,
13484
13563
  {
13485
13564
  ...props,
13486
- leftIcon: isNotNil23(props.icon) ? props.icon : /* @__PURE__ */ jsx265(CheckboxIndicator, { checked }),
13487
- rightIcon: isNotNil23(props.icon) ? /* @__PURE__ */ jsx265(DropdownMenuItemIndicator2, { children: /* @__PURE__ */ jsx265(Icon, { type: "checkmark" }) }) : void 0
13565
+ leftIcon: isNotNil23(props.icon) ? props.icon : /* @__PURE__ */ jsx266(CheckboxIndicator, { checked }),
13566
+ rightIcon: isNotNil23(props.icon) ? /* @__PURE__ */ jsx266(DropdownMenuItemIndicator2, { children: /* @__PURE__ */ jsx266(Icon, { type: "checkmark" }) }) : void 0
13488
13567
  }
13489
13568
  )
13490
13569
  }
@@ -13495,7 +13574,7 @@ CheckboxMenuItem.displayName = "CheckboxMenuItem_UI";
13495
13574
  // src/components/Menu/FilterMenu.tsx
13496
13575
  import { Children as Children6, forwardRef as forwardRef20 } from "react";
13497
13576
  import { DropdownMenuItem as DropdownMenuItem3 } from "@radix-ui/react-dropdown-menu";
13498
- import { jsx as jsx266, jsxs as jsxs39 } from "react/jsx-runtime";
13577
+ import { jsx as jsx267, jsxs as jsxs39 } from "react/jsx-runtime";
13499
13578
  var FilterMenuItem = CheckboxMenuItem;
13500
13579
  var FilterMenu = forwardRef20(
13501
13580
  ({ value, onChange, searchValue, onSearchValueChange, children, ...props }, ref) => {
@@ -13505,7 +13584,7 @@ var FilterMenu = forwardRef20(
13505
13584
  ...props,
13506
13585
  ref,
13507
13586
  children: [
13508
- /* @__PURE__ */ jsx266(
13587
+ /* @__PURE__ */ jsx267(
13509
13588
  Card,
13510
13589
  {
13511
13590
  alignItems: "flex-end",
@@ -13520,7 +13599,7 @@ var FilterMenu = forwardRef20(
13520
13599
  right: 0,
13521
13600
  margin: "1px"
13522
13601
  },
13523
- children: /* @__PURE__ */ jsx266(
13602
+ children: /* @__PURE__ */ jsx267(
13524
13603
  Input,
13525
13604
  {
13526
13605
  autoFocus: true,
@@ -13546,7 +13625,7 @@ var FilterMenu = forwardRef20(
13546
13625
  )
13547
13626
  }
13548
13627
  ),
13549
- /* @__PURE__ */ jsx266(
13628
+ /* @__PURE__ */ jsx267(
13550
13629
  MenuItem,
13551
13630
  {
13552
13631
  disabled: true,
@@ -13554,13 +13633,13 @@ var FilterMenu = forwardRef20(
13554
13633
  children: " "
13555
13634
  }
13556
13635
  ),
13557
- Children6.toArray(children).length > 0 ? children : /* @__PURE__ */ jsx266(MenuItem, { disabled: true, children: "No results found" }),
13558
- value.length > 0 && /* @__PURE__ */ jsx266(
13636
+ Children6.toArray(children).length > 0 ? children : /* @__PURE__ */ jsx267(MenuItem, { disabled: true, children: "No results found" }),
13637
+ value.length > 0 && /* @__PURE__ */ jsx267(
13559
13638
  DropdownMenuItem3,
13560
13639
  {
13561
13640
  disabled: true,
13562
13641
  style: { marginTop: "24px" },
13563
- children: /* @__PURE__ */ jsx266(
13642
+ children: /* @__PURE__ */ jsx267(
13564
13643
  Card,
13565
13644
  {
13566
13645
  alignItems: "flex-end",
@@ -13575,7 +13654,7 @@ var FilterMenu = forwardRef20(
13575
13654
  right: 0,
13576
13655
  margin: "1px"
13577
13656
  },
13578
- children: /* @__PURE__ */ jsx266(
13657
+ children: /* @__PURE__ */ jsx267(
13579
13658
  Button,
13580
13659
  {
13581
13660
  onClick: () => onChange([]),
@@ -13595,7 +13674,7 @@ var FilterMenu = forwardRef20(
13595
13674
  FilterMenu.displayName = "FilterMenu_UI";
13596
13675
 
13597
13676
  // src/components/ContextMenu/ContextMenu.tsx
13598
- import { jsx as jsx267 } from "react/jsx-runtime";
13677
+ import { jsx as jsx268 } from "react/jsx-runtime";
13599
13678
  var ContextMenu = ({
13600
13679
  position,
13601
13680
  triggerRef,
@@ -13625,7 +13704,7 @@ var ContextMenu = ({
13625
13704
  if (!isOpen) {
13626
13705
  return null;
13627
13706
  }
13628
- const menu = /* @__PURE__ */ jsx267(
13707
+ const menu = /* @__PURE__ */ jsx268(
13629
13708
  Menu,
13630
13709
  {
13631
13710
  compact,
@@ -13637,7 +13716,7 @@ var ContextMenu = ({
13637
13716
  }
13638
13717
  },
13639
13718
  side,
13640
- trigger: /* @__PURE__ */ jsx267(
13719
+ trigger: /* @__PURE__ */ jsx268(
13641
13720
  "button",
13642
13721
  {
13643
13722
  "aria-label": "context menu",
@@ -13663,10 +13742,10 @@ var ContextMenu = ({
13663
13742
 
13664
13743
  // src/components/DataCards/DataCard.tsx
13665
13744
  import { useRef as useRef15 } from "react";
13666
- import { styled as styled56, keyframes as keyframes3 } from "styled-components";
13745
+ import { styled as styled57, keyframes as keyframes3 } from "styled-components";
13667
13746
  import { isNotNil as isNotNil25 } from "@wistia/type-guards";
13668
- import { jsx as jsx268, jsxs as jsxs40 } from "react/jsx-runtime";
13669
- var StyledDataCard = styled56.div`
13747
+ import { jsx as jsx269, jsxs as jsxs40 } from "react/jsx-runtime";
13748
+ var StyledDataCard = styled57.div`
13670
13749
  --wui-data-card-text: var(--wui-color-text-button);
13671
13750
  --wui-color-text: var(--wui-data-card-text);
13672
13751
  --wui-data-card-background: var(--wui-color-bg-surface-secondary);
@@ -13748,7 +13827,7 @@ var shimmer = keyframes3`
13748
13827
  background-position: -200% 0;
13749
13828
  }
13750
13829
  `;
13751
- var LoadingBackground = styled56.div`
13830
+ var LoadingBackground = styled57.div`
13752
13831
  background: linear-gradient(
13753
13832
  90deg,
13754
13833
  var(--wui-color-bg-surface-tertiary) 25%,
@@ -13759,32 +13838,32 @@ var LoadingBackground = styled56.div`
13759
13838
  animation: ${shimmer} 1.5s infinite;
13760
13839
  border-radius: var(--wui-border-radius-01);
13761
13840
  `;
13762
- var StyledLoadingLabel = styled56(LoadingBackground)`
13841
+ var StyledLoadingLabel = styled57(LoadingBackground)`
13763
13842
  width: 80px;
13764
13843
  height: var(--wui-typography-heading-6-line-height);
13765
13844
  `;
13766
- var StyledLoadingValue = styled56(LoadingBackground)`
13845
+ var StyledLoadingValue = styled57(LoadingBackground)`
13767
13846
  width: 90%;
13768
13847
  height: var(--wui-typography-heading-3-line-height);
13769
13848
  `;
13770
- var StyledLabel3 = styled56(Heading)`
13849
+ var StyledLabel3 = styled57(Heading)`
13771
13850
  grid-area: label;
13772
13851
  `;
13773
- var StyledValue = styled56(Heading)`
13852
+ var StyledValue = styled57(Heading)`
13774
13853
  grid-area: value;
13775
13854
  `;
13776
- var StyledSlot = styled56.div`
13855
+ var StyledSlot = styled57.div`
13777
13856
  display: flex;
13778
13857
  justify-content: flex-end;
13779
13858
  grid-area: slot;
13780
13859
  align-self: center;
13781
13860
  `;
13782
- var StyledDataCardTrendContainer = styled56.div`
13861
+ var StyledDataCardTrendContainer = styled57.div`
13783
13862
  position: absolute;
13784
13863
  bottom: var(--wui-space-01);
13785
13864
  right: var(--wui-space-01);
13786
13865
  `;
13787
- var StyledSubtitle = styled56(Text)`
13866
+ var StyledSubtitle = styled57(Text)`
13788
13867
  grid-area: subtitle;
13789
13868
  `;
13790
13869
  var DataCardInner = ({
@@ -13802,24 +13881,24 @@ var DataCardInner = ({
13802
13881
  $colorScheme: colorScheme,
13803
13882
  ...props,
13804
13883
  children: [
13805
- /* @__PURE__ */ jsx268(
13884
+ /* @__PURE__ */ jsx269(
13806
13885
  StyledLabel3,
13807
13886
  {
13808
13887
  renderAs: "dt",
13809
13888
  variant: "heading6",
13810
- children: isLoading ? /* @__PURE__ */ jsx268(StyledLoadingLabel, {}) : label
13889
+ children: isLoading ? /* @__PURE__ */ jsx269(StyledLoadingLabel, {}) : label
13811
13890
  }
13812
13891
  ),
13813
- /* @__PURE__ */ jsx268(
13892
+ /* @__PURE__ */ jsx269(
13814
13893
  StyledValue,
13815
13894
  {
13816
13895
  renderAs: "dd",
13817
13896
  variant: "heading3",
13818
- children: isLoading ? /* @__PURE__ */ jsx268(StyledLoadingValue, {}) : value
13897
+ children: isLoading ? /* @__PURE__ */ jsx269(StyledLoadingValue, {}) : value
13819
13898
  }
13820
13899
  ),
13821
- isNotNil25(upperRightSlot) && !isLoading && /* @__PURE__ */ jsx268(StyledSlot, { children: upperRightSlot }),
13822
- isNotNil25(subtitle) && !isLoading && /* @__PURE__ */ jsx268(
13900
+ isNotNil25(upperRightSlot) && !isLoading && /* @__PURE__ */ jsx269(StyledSlot, { children: upperRightSlot }),
13901
+ isNotNil25(subtitle) && !isLoading && /* @__PURE__ */ jsx269(
13823
13902
  StyledSubtitle,
13824
13903
  {
13825
13904
  "data-wui-data-card-subtitle": true,
@@ -13827,7 +13906,7 @@ var DataCardInner = ({
13827
13906
  children: subtitle
13828
13907
  }
13829
13908
  ),
13830
- isNotNil25(trend) && !isLoading && /* @__PURE__ */ jsx268(StyledDataCardTrendContainer, { children: trend })
13909
+ isNotNil25(trend) && !isLoading && /* @__PURE__ */ jsx269(StyledDataCardTrendContainer, { children: trend })
13831
13910
  ]
13832
13911
  }
13833
13912
  );
@@ -13835,12 +13914,12 @@ var DataCard = (props) => {
13835
13914
  const ref = useRef15(null);
13836
13915
  if (isNotNil25(props.href) || isNotNil25(props.onClick)) {
13837
13916
  const { "aria-pressed": ariaPressed, ...dataCardProps } = props;
13838
- return /* @__PURE__ */ jsx268(ClickRegion, { targetRef: ref, children: /* @__PURE__ */ jsx268(
13917
+ return /* @__PURE__ */ jsx269(ClickRegion, { targetRef: ref, children: /* @__PURE__ */ jsx269(
13839
13918
  DataCardInner,
13840
13919
  {
13841
13920
  upperRightSlot: props.upperRightSlot,
13842
13921
  ...dataCardProps,
13843
- label: /* @__PURE__ */ jsx268(
13922
+ label: /* @__PURE__ */ jsx269(
13844
13923
  Button,
13845
13924
  {
13846
13925
  ref,
@@ -13857,14 +13936,14 @@ var DataCard = (props) => {
13857
13936
  }
13858
13937
  ) });
13859
13938
  }
13860
- return /* @__PURE__ */ jsx268(DataCardInner, { ...props });
13939
+ return /* @__PURE__ */ jsx269(DataCardInner, { ...props });
13861
13940
  };
13862
13941
  DataCard.displayName = "DataCard_UI";
13863
13942
 
13864
13943
  // src/components/DataCards/DataCards.tsx
13865
- import { styled as styled57 } from "styled-components";
13866
- import { jsx as jsx269 } from "react/jsx-runtime";
13867
- var StyledDataCards = styled57(Box)`
13944
+ import { styled as styled58 } from "styled-components";
13945
+ import { jsx as jsx270 } from "react/jsx-runtime";
13946
+ var StyledDataCards = styled58(Box)`
13868
13947
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
13869
13948
 
13870
13949
  > * {
@@ -13878,7 +13957,7 @@ var DataCards = ({
13878
13957
  colorScheme = "inherit",
13879
13958
  ...props
13880
13959
  }) => {
13881
- return /* @__PURE__ */ jsx269(
13960
+ return /* @__PURE__ */ jsx270(
13882
13961
  StyledDataCards,
13883
13962
  {
13884
13963
  ...props,
@@ -13897,9 +13976,9 @@ var DataCards = ({
13897
13976
  DataCards.displayName = "DataCards_UI";
13898
13977
 
13899
13978
  // src/components/DataCards/DataCardTrend.tsx
13900
- import { styled as styled58 } from "styled-components";
13901
- import { jsx as jsx270, jsxs as jsxs41 } from "react/jsx-runtime";
13902
- var StyledDataCardTrend = styled58.div`
13979
+ import { styled as styled59 } from "styled-components";
13980
+ import { jsx as jsx271, jsxs as jsxs41 } from "react/jsx-runtime";
13981
+ var StyledDataCardTrend = styled59.div`
13903
13982
  ${({ $outlook }) => getColorScheme($outlook === "positive" ? "success" : "error")};
13904
13983
  background: var(--wui-color-bg-app);
13905
13984
  border-radius: var(--wui-border-radius-rounded);
@@ -13915,7 +13994,7 @@ var DataCardTrend = ({
13915
13994
  ...props
13916
13995
  }) => {
13917
13996
  return /* @__PURE__ */ jsxs41(StyledDataCardTrend, { $outlook: outlook, children: [
13918
- /* @__PURE__ */ jsx270(
13997
+ /* @__PURE__ */ jsx271(
13919
13998
  Icon,
13920
13999
  {
13921
14000
  size: "md",
@@ -13923,7 +14002,7 @@ var DataCardTrend = ({
13923
14002
  ...props
13924
14003
  }
13925
14004
  ),
13926
- /* @__PURE__ */ jsx270(
14005
+ /* @__PURE__ */ jsx271(
13927
14006
  Text,
13928
14007
  {
13929
14008
  prominence: "secondary",
@@ -13935,15 +14014,15 @@ var DataCardTrend = ({
13935
14014
  };
13936
14015
 
13937
14016
  // src/components/DataCards/DataCardHoverArrow.tsx
13938
- import { styled as styled59 } from "styled-components";
13939
- import { jsx as jsx271 } from "react/jsx-runtime";
13940
- var StyledIconContainer = styled59.div`
14017
+ import { styled as styled60 } from "styled-components";
14018
+ import { jsx as jsx272 } from "react/jsx-runtime";
14019
+ var StyledIconContainer = styled60.div`
13941
14020
  display: flex;
13942
14021
  align-items: center;
13943
14022
  align-self: center;
13944
14023
  height: 0;
13945
14024
  `;
13946
- var DataCardHoverArrow = () => /* @__PURE__ */ jsx271(StyledIconContainer, { children: /* @__PURE__ */ jsx271(
14025
+ var DataCardHoverArrow = () => /* @__PURE__ */ jsx272(StyledIconContainer, { children: /* @__PURE__ */ jsx272(
13947
14026
  Icon,
13948
14027
  {
13949
14028
  "data-wui-data-card-hover-icon": true,
@@ -13953,9 +14032,9 @@ var DataCardHoverArrow = () => /* @__PURE__ */ jsx271(StyledIconContainer, { chi
13953
14032
  DataCardHoverArrow.displayName = "DataCardHoverArrow_UI";
13954
14033
 
13955
14034
  // src/components/DataList/DataList.tsx
13956
- import { styled as styled60 } from "styled-components";
13957
- import { jsx as jsx272 } from "react/jsx-runtime";
13958
- var StyledDataList = styled60.dl`
14035
+ import { styled as styled61 } from "styled-components";
14036
+ import { jsx as jsx273 } from "react/jsx-runtime";
14037
+ var StyledDataList = styled61.dl`
13959
14038
  display: grid;
13960
14039
  grid-template-columns: auto 1fr;
13961
14040
  column-gap: var(--wui-space-02);
@@ -13983,7 +14062,7 @@ var DataList = ({
13983
14062
  labelProminence = "primary",
13984
14063
  ...props
13985
14064
  }) => {
13986
- return /* @__PURE__ */ jsx272(
14065
+ return /* @__PURE__ */ jsx273(
13987
14066
  StyledDataList,
13988
14067
  {
13989
14068
  role: "list",
@@ -14006,9 +14085,9 @@ var DataListItem = ({ children }) => {
14006
14085
  DataListItem.displayName = "DataListItem_UI";
14007
14086
 
14008
14087
  // src/components/DataList/DataListItemLabel.tsx
14009
- import { jsx as jsx273 } from "react/jsx-runtime";
14088
+ import { jsx as jsx274 } from "react/jsx-runtime";
14010
14089
  var DataListItemLabel = (props) => {
14011
- return /* @__PURE__ */ jsx273(
14090
+ return /* @__PURE__ */ jsx274(
14012
14091
  Text,
14013
14092
  {
14014
14093
  variant: "label4",
@@ -14020,9 +14099,9 @@ var DataListItemLabel = (props) => {
14020
14099
  DataListItemLabel.displayName = "DataListItemLabel_UI";
14021
14100
 
14022
14101
  // src/components/DataList/DataListItemValue.tsx
14023
- import { jsx as jsx274 } from "react/jsx-runtime";
14102
+ import { jsx as jsx275 } from "react/jsx-runtime";
14024
14103
  var DataListItemValue = (props) => {
14025
- return /* @__PURE__ */ jsx274(
14104
+ return /* @__PURE__ */ jsx275(
14026
14105
  Text,
14027
14106
  {
14028
14107
  variant: "body3",
@@ -14034,8 +14113,8 @@ var DataListItemValue = (props) => {
14034
14113
  DataListItemValue.displayName = "DataListItemValue_UI";
14035
14114
 
14036
14115
  // src/components/Divider/Divider.tsx
14037
- import { styled as styled61, css as css33 } from "styled-components";
14038
- import { jsx as jsx275 } from "react/jsx-runtime";
14116
+ import { styled as styled62, css as css33 } from "styled-components";
14117
+ import { jsx as jsx276 } from "react/jsx-runtime";
14039
14118
  var horizontalBorderCss = css33`
14040
14119
  border-top-color: var(--wui-color-border);
14041
14120
  border-top-style: solid;
@@ -14049,7 +14128,7 @@ var verticalBorderCss = css33`
14049
14128
  min-height: 100%;
14050
14129
  width: 1px;
14051
14130
  `;
14052
- var DividerComponent = styled61.div`
14131
+ var DividerComponent = styled62.div`
14053
14132
  ${({ $orientation }) => {
14054
14133
  switch ($orientation) {
14055
14134
  case "vertical":
@@ -14062,7 +14141,7 @@ var DividerComponent = styled61.div`
14062
14141
  `;
14063
14142
  var Divider = ({ orientation = "horizontal", ...props }) => {
14064
14143
  const responsiveOrientation = useResponsiveProp(orientation);
14065
- return /* @__PURE__ */ jsx275(
14144
+ return /* @__PURE__ */ jsx276(
14066
14145
  DividerComponent,
14067
14146
  {
14068
14147
  $orientation: responsiveOrientation,
@@ -14075,10 +14154,10 @@ var Divider = ({ orientation = "horizontal", ...props }) => {
14075
14154
  Divider.displayName = "Divider_UI";
14076
14155
 
14077
14156
  // src/components/EditableHeading/EditableHeading.tsx
14078
- import { styled as styled62, css as css34 } from "styled-components";
14157
+ import { styled as styled63, css as css34 } from "styled-components";
14079
14158
  import { useState as useState18, useRef as useRef16 } from "react";
14080
- import { Fragment as Fragment8, jsx as jsx276, jsxs as jsxs42 } from "react/jsx-runtime";
14081
- var StyledInput = styled62(Input)`
14159
+ import { Fragment as Fragment8, jsx as jsx277, jsxs as jsxs42 } from "react/jsx-runtime";
14160
+ var StyledInput = styled63(Input)`
14082
14161
  &:not([rows]) {
14083
14162
  min-height: unset;
14084
14163
  }
@@ -14113,7 +14192,7 @@ var editableStyles = css34`
14113
14192
  cursor: pointer;
14114
14193
  }
14115
14194
  `;
14116
- var StyledHeading2 = styled62(Heading)`
14195
+ var StyledHeading2 = styled63(Heading)`
14117
14196
  width: 100%;
14118
14197
  border-radius: var(--wui-border-radius-02);
14119
14198
  padding: var(--wui-space-02);
@@ -14168,7 +14247,7 @@ var EditableHeading = ({
14168
14247
  handleSetEditing(false);
14169
14248
  }
14170
14249
  };
14171
- const HeadingComponent2 = /* @__PURE__ */ jsx276(
14250
+ const HeadingComponent2 = /* @__PURE__ */ jsx277(
14172
14251
  StyledHeading2,
14173
14252
  {
14174
14253
  ref: headingRef,
@@ -14182,7 +14261,7 @@ var EditableHeading = ({
14182
14261
  return HeadingComponent2;
14183
14262
  }
14184
14263
  if (isEditing || __forceEditing) {
14185
- return /* @__PURE__ */ jsx276(
14264
+ return /* @__PURE__ */ jsx277(
14186
14265
  StyledInput,
14187
14266
  {
14188
14267
  $height: headingHeight,
@@ -14202,8 +14281,8 @@ var EditableHeading = ({
14202
14281
  );
14203
14282
  }
14204
14283
  return /* @__PURE__ */ jsxs42(Fragment8, { children: [
14205
- /* @__PURE__ */ jsx276(Tooltip, { content: tooltipText, children: HeadingComponent2 }),
14206
- /* @__PURE__ */ jsx276(ScreenReaderOnly, { children: /* @__PURE__ */ jsx276(
14284
+ /* @__PURE__ */ jsx277(Tooltip, { content: tooltipText, children: HeadingComponent2 }),
14285
+ /* @__PURE__ */ jsx277(ScreenReaderOnly, { children: /* @__PURE__ */ jsx277(
14207
14286
  "button",
14208
14287
  {
14209
14288
  "aria-label": ariaLabel,
@@ -14216,14 +14295,14 @@ var EditableHeading = ({
14216
14295
 
14217
14296
  // src/components/EditableText/EditableTextDisplay.tsx
14218
14297
  import { useContext as useContext6, useRef as useRef17, forwardRef as forwardRef21 } from "react";
14219
- import { styled as styled64, css as css35 } from "styled-components";
14298
+ import { styled as styled65, css as css35 } from "styled-components";
14220
14299
  import { isNotNil as isNotNil26 } from "@wistia/type-guards";
14221
14300
 
14222
14301
  // src/components/EditableText/EditableTextRoot.tsx
14223
14302
  import { createContext as createContext7, useMemo as useMemo13, useState as useState19, useCallback as useCallback16, useId as useId4 } from "react";
14224
14303
  import { isNonEmptyString as isNonEmptyString6 } from "@wistia/type-guards";
14225
- import { styled as styled63 } from "styled-components";
14226
- import { jsx as jsx277 } from "react/jsx-runtime";
14304
+ import { styled as styled64 } from "styled-components";
14305
+ import { jsx as jsx278 } from "react/jsx-runtime";
14227
14306
  var LARGE_PADDING = "var(--wui-space-02)";
14228
14307
  var SMALL_PADDING = "var(--wui-space-01)";
14229
14308
  var getPaddingForVariant = (variant) => {
@@ -14258,7 +14337,7 @@ var getPaddingForVariant = (variant) => {
14258
14337
  }
14259
14338
  return SMALL_PADDING;
14260
14339
  };
14261
- var StyledEditableTextRoot = styled63.div`
14340
+ var StyledEditableTextRoot = styled64.div`
14262
14341
  display: contents;
14263
14342
 
14264
14343
  --wui-editable-text-padding: ${({ $typographicVariant }) => getPaddingForVariant($typographicVariant)};
@@ -14356,7 +14435,7 @@ var EditableTextRoot = ({
14356
14435
  }
14357
14436
  return "idle";
14358
14437
  };
14359
- return /* @__PURE__ */ jsx277(
14438
+ return /* @__PURE__ */ jsx278(
14360
14439
  StyledEditableTextRoot,
14361
14440
  {
14362
14441
  $typographicVariant: typographicVariant,
@@ -14364,14 +14443,14 @@ var EditableTextRoot = ({
14364
14443
  "data-wui-editable-text-root": true,
14365
14444
  "data-wui-editable-text-state": getState(),
14366
14445
  ...props,
14367
- children: /* @__PURE__ */ jsx277(EditableTextContext.Provider, { value: context, children })
14446
+ children: /* @__PURE__ */ jsx278(EditableTextContext.Provider, { value: context, children })
14368
14447
  }
14369
14448
  );
14370
14449
  };
14371
14450
 
14372
14451
  // src/components/EditableText/EditableTextDisplay.tsx
14373
- import { jsx as jsx278, jsxs as jsxs43 } from "react/jsx-runtime";
14374
- var StyledEditableTextDisplay = styled64.div`
14452
+ import { jsx as jsx279, jsxs as jsxs43 } from "react/jsx-runtime";
14453
+ var StyledEditableTextDisplay = styled65.div`
14375
14454
  ${({ $typographicVariant }) => getTypographicStyles($typographicVariant)}
14376
14455
  padding: var(--wui-editable-text-padding);
14377
14456
  border-radius: var(--wui-editable-text-border-radius);
@@ -14423,7 +14502,7 @@ var EditableTextDisplayComponent = forwardRef21(
14423
14502
  return null;
14424
14503
  }
14425
14504
  if (asTrigger && !context.readOnly) {
14426
- return /* @__PURE__ */ jsx278(ClickRegion, { targetRef: triggerButtonRef, children: /* @__PURE__ */ jsxs43(
14505
+ return /* @__PURE__ */ jsx279(ClickRegion, { targetRef: triggerButtonRef, children: /* @__PURE__ */ jsxs43(
14427
14506
  StyledEditableTextDisplay,
14428
14507
  {
14429
14508
  ref,
@@ -14435,7 +14514,7 @@ var EditableTextDisplayComponent = forwardRef21(
14435
14514
  ...props,
14436
14515
  children: [
14437
14516
  displayText,
14438
- /* @__PURE__ */ jsx278(
14517
+ /* @__PURE__ */ jsx279(
14439
14518
  "button",
14440
14519
  {
14441
14520
  ref: triggerButtonRef,
@@ -14449,7 +14528,7 @@ var EditableTextDisplayComponent = forwardRef21(
14449
14528
  }
14450
14529
  ) });
14451
14530
  }
14452
- return /* @__PURE__ */ jsx278(
14531
+ return /* @__PURE__ */ jsx279(
14453
14532
  StyledEditableTextDisplay,
14454
14533
  {
14455
14534
  ref,
@@ -14472,10 +14551,10 @@ var EditableTextDisplay = makePolymorphic(
14472
14551
 
14473
14552
  // src/components/EditableText/EditableTextInput.tsx
14474
14553
  import { useContext as useContext7, useEffect as useEffect17, useRef as useRef18 } from "react";
14475
- import { styled as styled65 } from "styled-components";
14554
+ import { styled as styled66 } from "styled-components";
14476
14555
  import { isNotNil as isNotNil27 } from "@wistia/type-guards";
14477
- import { jsx as jsx279 } from "react/jsx-runtime";
14478
- var StyledInput2 = styled65(Input)`
14556
+ import { jsx as jsx280 } from "react/jsx-runtime";
14557
+ var StyledInput2 = styled66(Input)`
14479
14558
  && {
14480
14559
  ${({ $minLines }) => isNotNil27($minLines) && `min-height: calc(${$minLines}lh + calc(var(--wui-editable-text-padding) * 2));`}
14481
14560
  ${({ $maxLines }) => isNotNil27($maxLines) && `max-height: calc(${$maxLines}lh + calc(var(--wui-editable-text-padding) * 2));`}
@@ -14563,7 +14642,7 @@ var EditableTextInput = (props) => {
14563
14642
  }
14564
14643
  };
14565
14644
  if (!isEditing) return null;
14566
- return /* @__PURE__ */ jsx279(
14645
+ return /* @__PURE__ */ jsx280(
14567
14646
  StyledInput2,
14568
14647
  {
14569
14648
  ref: inputRef,
@@ -14589,14 +14668,14 @@ var EditableTextInput = (props) => {
14589
14668
 
14590
14669
  // src/components/EditableText/EditableTextLabel.tsx
14591
14670
  import { useContext as useContext8 } from "react";
14592
- import { jsx as jsx280 } from "react/jsx-runtime";
14671
+ import { jsx as jsx281 } from "react/jsx-runtime";
14593
14672
  var EditableTextLabel = ({ ...props }) => {
14594
14673
  const context = useContext8(EditableTextContext);
14595
14674
  if (!context) {
14596
14675
  throw new Error("EditableTextLabel must be used within an EditableTextRoot context");
14597
14676
  }
14598
14677
  const { id, label, isEditing } = context;
14599
- return /* @__PURE__ */ jsx280(
14678
+ return /* @__PURE__ */ jsx281(
14600
14679
  Label,
14601
14680
  {
14602
14681
  ...isEditing && { htmlFor: id },
@@ -14607,11 +14686,11 @@ var EditableTextLabel = ({ ...props }) => {
14607
14686
  };
14608
14687
 
14609
14688
  // src/components/EditableText/EditableText.tsx
14610
- import { jsx as jsx281, jsxs as jsxs44 } from "react/jsx-runtime";
14689
+ import { jsx as jsx282, jsxs as jsxs44 } from "react/jsx-runtime";
14611
14690
  var EditableText = ({ hideLabel = true, ...props }) => /* @__PURE__ */ jsxs44(EditableTextRoot, { ...props, children: [
14612
- /* @__PURE__ */ jsx281(EditableTextLabel, { screenReaderOnly: hideLabel }),
14613
- /* @__PURE__ */ jsx281(EditableTextInput, {}),
14614
- /* @__PURE__ */ jsx281(EditableTextDisplay, { asTrigger: true })
14691
+ /* @__PURE__ */ jsx282(EditableTextLabel, { screenReaderOnly: hideLabel }),
14692
+ /* @__PURE__ */ jsx282(EditableTextInput, {}),
14693
+ /* @__PURE__ */ jsx282(EditableTextDisplay, { asTrigger: true })
14615
14694
  ] });
14616
14695
  EditableText.displayName = "EditableText_UI";
14617
14696
 
@@ -14740,9 +14819,9 @@ var useFormState = (action, initialData = {}) => {
14740
14819
  // src/components/Form/FormErrorSummary.tsx
14741
14820
  import { useContext as useContext12, useRef as useRef19 } from "react";
14742
14821
  import { isArray as isArray3, isNotUndefined as isNotUndefined11 } from "@wistia/type-guards";
14743
- import { jsx as jsx282, jsxs as jsxs45 } from "react/jsx-runtime";
14822
+ import { jsx as jsx283, jsxs as jsxs45 } from "react/jsx-runtime";
14744
14823
  var ErrorItem = ({ name, error, formId }) => {
14745
- return /* @__PURE__ */ jsx282("li", { children: /* @__PURE__ */ jsx282(Link, { href: `#${formId}-${name}`, children: error }) }, name);
14824
+ return /* @__PURE__ */ jsx283("li", { children: /* @__PURE__ */ jsx283(Link, { href: `#${formId}-${name}`, children: error }) }, name);
14746
14825
  };
14747
14826
  var FormErrorSummary = ({ description }) => {
14748
14827
  const ref = useRef19(null);
@@ -14752,9 +14831,9 @@ var FormErrorSummary = ({ description }) => {
14752
14831
  return null;
14753
14832
  }
14754
14833
  return /* @__PURE__ */ jsxs45("div", { ref, children: [
14755
- /* @__PURE__ */ jsx282("p", { children: description }),
14756
- /* @__PURE__ */ jsx282("ul", { children: Object.entries(errors).filter(([, error]) => isNotUndefined11(error)).map(
14757
- ([name, error]) => isArray3(error) ? error.map((err) => /* @__PURE__ */ jsx282(
14834
+ /* @__PURE__ */ jsx283("p", { children: description }),
14835
+ /* @__PURE__ */ jsx283("ul", { children: Object.entries(errors).filter(([, error]) => isNotUndefined11(error)).map(
14836
+ ([name, error]) => isArray3(error) ? error.map((err) => /* @__PURE__ */ jsx283(
14758
14837
  ErrorItem,
14759
14838
  {
14760
14839
  error: err,
@@ -14762,7 +14841,7 @@ var FormErrorSummary = ({ description }) => {
14762
14841
  name
14763
14842
  },
14764
14843
  err
14765
- )) : /* @__PURE__ */ jsx282(
14844
+ )) : /* @__PURE__ */ jsx283(
14766
14845
  ErrorItem,
14767
14846
  {
14768
14847
  error: error ?? "",
@@ -14777,10 +14856,10 @@ var FormErrorSummary = ({ description }) => {
14777
14856
 
14778
14857
  // src/components/FormField/FormField.tsx
14779
14858
  import { Children as Children10, cloneElement as cloneElement8, useContext as useContext13 } from "react";
14780
- import { styled as styled66 } from "styled-components";
14859
+ import { styled as styled67 } from "styled-components";
14781
14860
  import { isArray as isArray4, isNotNil as isNotNil28, isNotUndefined as isNotUndefined12, isUndefined as isUndefined4 } from "@wistia/type-guards";
14782
- import { Fragment as Fragment9, jsx as jsx283, jsxs as jsxs46 } from "react/jsx-runtime";
14783
- var StyledFormField = styled66.div`
14861
+ import { Fragment as Fragment9, jsx as jsx284, jsxs as jsxs46 } from "react/jsx-runtime";
14862
+ var StyledFormField = styled67.div`
14784
14863
  --form-field-spacing: var(--wui-space-01);
14785
14864
  --form-field-spacing-inline: var(--wui-space-02);
14786
14865
  --form-field-error-color: var(--wui-color-text-secondary-error);
@@ -14810,7 +14889,7 @@ var StyledFormField = styled66.div`
14810
14889
  grid-template-rows: 1fr;
14811
14890
  }
14812
14891
  `;
14813
- var StyledErrorList = styled66.ul`
14892
+ var StyledErrorList = styled67.ul`
14814
14893
  margin: 0;
14815
14894
  padding: 0;
14816
14895
  padding-left: var(--wui-space-04);
@@ -14822,7 +14901,7 @@ var ErrorMessages = ({ errors, id }) => {
14822
14901
  const isErrorArray = isArray4(errors);
14823
14902
  const isMultipleErrors = isErrorArray && errors.length > 1;
14824
14903
  if (!isErrorArray) {
14825
- return /* @__PURE__ */ jsx283(
14904
+ return /* @__PURE__ */ jsx284(
14826
14905
  Text,
14827
14906
  {
14828
14907
  colorScheme: "error",
@@ -14835,7 +14914,7 @@ var ErrorMessages = ({ errors, id }) => {
14835
14914
  );
14836
14915
  }
14837
14916
  if (!isMultipleErrors) {
14838
- return /* @__PURE__ */ jsx283(
14917
+ return /* @__PURE__ */ jsx284(
14839
14918
  Text,
14840
14919
  {
14841
14920
  colorScheme: "error",
@@ -14847,7 +14926,7 @@ var ErrorMessages = ({ errors, id }) => {
14847
14926
  id
14848
14927
  );
14849
14928
  }
14850
- return /* @__PURE__ */ jsx283(StyledErrorList, { children: errors.map((error, index) => /* @__PURE__ */ jsx283(
14929
+ return /* @__PURE__ */ jsx284(StyledErrorList, { children: errors.map((error, index) => /* @__PURE__ */ jsx284(
14851
14930
  Text,
14852
14931
  {
14853
14932
  colorScheme: "error",
@@ -14918,7 +14997,7 @@ var FormField = ({
14918
14997
  ...props,
14919
14998
  "data-label-position": labelPosition ?? formState.labelPosition,
14920
14999
  children: [
14921
- !isIntegratedLabel && /* @__PURE__ */ jsx283(
15000
+ !isIntegratedLabel && /* @__PURE__ */ jsx284(
14922
15001
  Label,
14923
15002
  {
14924
15003
  htmlFor: computedId,
@@ -14926,11 +15005,11 @@ var FormField = ({
14926
15005
  children: label
14927
15006
  }
14928
15007
  ),
14929
- isNotNil28(description) ? /* @__PURE__ */ jsx283(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
15008
+ isNotNil28(description) ? /* @__PURE__ */ jsx284(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
14930
15009
  cloneElement8(children, childProps),
14931
15010
  isNotNil28(computedError) ? /* @__PURE__ */ jsxs46(Fragment9, { children: [
14932
- /* @__PURE__ */ jsx283("div", {}),
14933
- /* @__PURE__ */ jsx283(
15011
+ /* @__PURE__ */ jsx284("div", {}),
15012
+ /* @__PURE__ */ jsx284(
14934
15013
  ErrorMessages,
14935
15014
  {
14936
15015
  errors: computedError,
@@ -14946,7 +15025,7 @@ FormField.displayName = "FormField_UI";
14946
15025
 
14947
15026
  // src/components/FormGroup/RadioGroup.tsx
14948
15027
  import { createContext as createContext8, useMemo as useMemo14, useContext as useContext14 } from "react";
14949
- import { jsx as jsx284 } from "react/jsx-runtime";
15028
+ import { jsx as jsx285 } from "react/jsx-runtime";
14950
15029
  var RadioGroupContext = createContext8(null);
14951
15030
  var useRadioGroup = () => {
14952
15031
  return useContext14(RadioGroupContext);
@@ -14967,15 +15046,15 @@ var RadioGroup = ({
14967
15046
  value: derivedValue
14968
15047
  };
14969
15048
  }, [name, derivedValue, onChange]);
14970
- return /* @__PURE__ */ jsx284(RadioGroupContext.Provider, { value: context, children: /* @__PURE__ */ jsx284(FormGroup, { ...props, children }) });
15049
+ return /* @__PURE__ */ jsx285(RadioGroupContext.Provider, { value: context, children: /* @__PURE__ */ jsx285(FormGroup, { ...props, children }) });
14971
15050
  };
14972
15051
  RadioGroup.displayName = "RadioGroup_UI";
14973
15052
 
14974
15053
  // src/components/Grid/Grid.tsx
14975
15054
  import { forwardRef as forwardRef22 } from "react";
14976
- import { styled as styled67, css as css36 } from "styled-components";
15055
+ import { styled as styled68, css as css36 } from "styled-components";
14977
15056
  import { isRecord as isRecord5 } from "@wistia/type-guards";
14978
- import { jsx as jsx285 } from "react/jsx-runtime";
15057
+ import { jsx as jsx286 } from "react/jsx-runtime";
14979
15058
  var DEFAULT_ELEMENT5 = "div";
14980
15059
  var getGridTemplateColumns = (maxColumns, minChildWidth, expandItems) => {
14981
15060
  if (minChildWidth === "auto" && maxColumns === "auto") {
@@ -15003,7 +15082,7 @@ var getGridTemplateColumns = (maxColumns, minChildWidth, expandItems) => {
15003
15082
  );
15004
15083
  `;
15005
15084
  };
15006
- var StyledGrid = styled67.div`
15085
+ var StyledGrid = styled68.div`
15007
15086
  --wui-grid-column-gap: ${({ $columnGap }) => `var(--wui-${$columnGap})`};
15008
15087
  --wui-grid-row-gap: ${({ $rowGap }) => `var(--wui-${$rowGap})`};
15009
15088
 
@@ -15027,7 +15106,7 @@ var GridComponent = forwardRef22(
15027
15106
  const { column, row } = isRecord5(responsiveGap) ? responsiveGap : { column: responsiveGap, row: responsiveGap };
15028
15107
  const responsiveColumns = useResponsiveProp(columns);
15029
15108
  const responsiveMinChildWidth = useResponsiveProp(minChildWidth);
15030
- return /* @__PURE__ */ jsx285(
15109
+ return /* @__PURE__ */ jsx286(
15031
15110
  StyledGrid,
15032
15111
  {
15033
15112
  ref,
@@ -15047,11 +15126,11 @@ GridComponent.displayName = "Grid_UI";
15047
15126
  var Grid = makePolymorphic(GridComponent);
15048
15127
 
15049
15128
  // src/components/InputClickToCopy/InputClickToCopy.tsx
15050
- import { styled as styled68 } from "styled-components";
15129
+ import { styled as styled69 } from "styled-components";
15051
15130
  import { forwardRef as forwardRef23, useEffect as useEffect18, useState as useState21 } from "react";
15052
15131
  import { isFunction as isFunction3 } from "@wistia/type-guards";
15053
- import { jsx as jsx286 } from "react/jsx-runtime";
15054
- var StyledIconButton = styled68(IconButton)`
15132
+ import { jsx as jsx287 } from "react/jsx-runtime";
15133
+ var StyledIconButton = styled69(IconButton)`
15055
15134
  /* override size for icon button since prop gets changed by Input */
15056
15135
  height: var(--icon-button-size-sm);
15057
15136
  width: var(--icon-button-size-sm);
@@ -15090,7 +15169,7 @@ var InputClickToCopy = forwardRef23(
15090
15169
  return value;
15091
15170
  });
15092
15171
  };
15093
- return /* @__PURE__ */ jsx286(
15172
+ return /* @__PURE__ */ jsx287(
15094
15173
  Input,
15095
15174
  {
15096
15175
  "aria-label": "Click to Copy",
@@ -15098,7 +15177,7 @@ var InputClickToCopy = forwardRef23(
15098
15177
  ref,
15099
15178
  disabled,
15100
15179
  readOnly: true,
15101
- rightIcon: /* @__PURE__ */ jsx286(
15180
+ rightIcon: /* @__PURE__ */ jsx287(
15102
15181
  StyledIconButton,
15103
15182
  {
15104
15183
  colorScheme: isCopied ? "success" : "inherit",
@@ -15106,7 +15185,7 @@ var InputClickToCopy = forwardRef23(
15106
15185
  label: "Copy to clipboard",
15107
15186
  onClick: handleClick,
15108
15187
  variant: "ghost",
15109
- children: isCopied ? /* @__PURE__ */ jsx286(Icon, { type: "checkmark-circle" }) : /* @__PURE__ */ jsx286(Icon, { type: "save-as-copy" })
15188
+ children: isCopied ? /* @__PURE__ */ jsx287(Icon, { type: "checkmark-circle" }) : /* @__PURE__ */ jsx287(Icon, { type: "save-as-copy" })
15110
15189
  }
15111
15190
  ),
15112
15191
  value
@@ -15117,11 +15196,11 @@ var InputClickToCopy = forwardRef23(
15117
15196
  InputClickToCopy.displayName = "InputClickToCopy_UI";
15118
15197
 
15119
15198
  // src/components/InputPassword/InputPassword.tsx
15120
- import { styled as styled69 } from "styled-components";
15199
+ import { styled as styled70 } from "styled-components";
15121
15200
  import { forwardRef as forwardRef24, useState as useState22 } from "react";
15122
15201
  import { isFunction as isFunction4 } from "@wistia/type-guards";
15123
- import { jsx as jsx287 } from "react/jsx-runtime";
15124
- var StyledIconButton2 = styled69(IconButton)`
15202
+ import { jsx as jsx288 } from "react/jsx-runtime";
15203
+ var StyledIconButton2 = styled70(IconButton)`
15125
15204
  /* override size for icon button since prop gets changed by Input */
15126
15205
  height: var(--icon-button-size-sm);
15127
15206
  width: var(--icon-button-size-sm);
@@ -15139,13 +15218,13 @@ var InputPassword = forwardRef24(
15139
15218
  onVisibilityToggle(newVisibility);
15140
15219
  }
15141
15220
  };
15142
- return /* @__PURE__ */ jsx287(
15221
+ return /* @__PURE__ */ jsx288(
15143
15222
  Input,
15144
15223
  {
15145
15224
  ...props,
15146
15225
  ref,
15147
15226
  disabled,
15148
- rightIcon: /* @__PURE__ */ jsx287(
15227
+ rightIcon: /* @__PURE__ */ jsx288(
15149
15228
  StyledIconButton2,
15150
15229
  {
15151
15230
  disabled,
@@ -15153,7 +15232,7 @@ var InputPassword = forwardRef24(
15153
15232
  onClick: handleClick,
15154
15233
  tabIndex: disabled ? -1 : 0,
15155
15234
  variant: "ghost",
15156
- children: /* @__PURE__ */ jsx287(Icon, { type: isVisible ? "preview" : "hide" })
15235
+ children: /* @__PURE__ */ jsx288(Icon, { type: isVisible ? "preview" : "hide" })
15157
15236
  }
15158
15237
  ),
15159
15238
  type: isVisible ? "text" : "password"
@@ -15164,16 +15243,16 @@ var InputPassword = forwardRef24(
15164
15243
  InputPassword.displayName = "InputPassword_UI";
15165
15244
 
15166
15245
  // src/components/KeyboardShortcut/KeyboardShortcut.tsx
15167
- import { styled as styled70 } from "styled-components";
15246
+ import { styled as styled71 } from "styled-components";
15168
15247
  import { isNotNil as isNotNil29 } from "@wistia/type-guards";
15169
- import { jsx as jsx288, jsxs as jsxs47 } from "react/jsx-runtime";
15170
- var StyledKeyboardShortcut = styled70.div`
15248
+ import { jsx as jsx289, jsxs as jsxs47 } from "react/jsx-runtime";
15249
+ var StyledKeyboardShortcut = styled71.div`
15171
15250
  align-items: center;
15172
15251
  display: flex;
15173
15252
  gap: var(--wui-space-02);
15174
15253
  ${({ $fullWidth }) => $fullWidth && "width: 100%; justify-content: space-between;"}
15175
15254
  `;
15176
- var StyledKey = styled70.kbd`
15255
+ var StyledKey = styled71.kbd`
15177
15256
  align-items: center;
15178
15257
  background: var(--wui-color-bg-surface-secondary);
15179
15258
  border-bottom: 1px solid var(--wui-color-border-secondary);
@@ -15196,11 +15275,11 @@ var StyledKey = styled70.kbd`
15196
15275
  min-width: 20px;
15197
15276
  padding: 0 var(--wui-space-01);
15198
15277
  `;
15199
- var Label2 = styled70.span`
15278
+ var Label2 = styled71.span`
15200
15279
  color: var(--wui-color-text);
15201
15280
  font-size: 12px;
15202
15281
  `;
15203
- var KeysContainer = styled70.div`
15282
+ var KeysContainer = styled71.div`
15204
15283
  display: flex;
15205
15284
  gap: var(--wui-space-01);
15206
15285
  `;
@@ -15259,8 +15338,8 @@ var KeyboardShortcut = ({
15259
15338
  $fullWidth: fullWidth,
15260
15339
  ...otherProps,
15261
15340
  children: [
15262
- isNotNil29(label) && /* @__PURE__ */ jsx288(Label2, { children: label }),
15263
- /* @__PURE__ */ jsx288(KeysContainer, { children: (Array.isArray(keyboardKeys) ? keyboardKeys : [keyboardKeys]).map((keyboardKey, index) => /* @__PURE__ */ jsx288(
15341
+ isNotNil29(label) && /* @__PURE__ */ jsx289(Label2, { children: label }),
15342
+ /* @__PURE__ */ jsx289(KeysContainer, { children: (Array.isArray(keyboardKeys) ? keyboardKeys : [keyboardKeys]).map((keyboardKey, index) => /* @__PURE__ */ jsx289(
15264
15343
  StyledKey,
15265
15344
  {
15266
15345
  children: keyToString(keyboardKey)
@@ -15274,25 +15353,25 @@ KeyboardShortcut.displayName = "KeyboardShortcut_UI";
15274
15353
 
15275
15354
  // src/components/List/List.tsx
15276
15355
  import { isNotNil as isNotNil30 } from "@wistia/type-guards";
15277
- import { styled as styled72, css as css37 } from "styled-components";
15356
+ import { styled as styled73, css as css37 } from "styled-components";
15278
15357
 
15279
15358
  // src/components/List/ListItem.tsx
15280
- import { styled as styled71 } from "styled-components";
15359
+ import { styled as styled72 } from "styled-components";
15281
15360
  import { isNil as isNil17 } from "@wistia/type-guards";
15282
- import { jsx as jsx289 } from "react/jsx-runtime";
15283
- var ListItemComponent = styled71.li`
15361
+ import { jsx as jsx290 } from "react/jsx-runtime";
15362
+ var ListItemComponent = styled72.li`
15284
15363
  margin-bottom: var(--wui-space-02);
15285
15364
  `;
15286
15365
  var ListItem = ({ children }) => {
15287
15366
  if (isNil17(children)) {
15288
15367
  return null;
15289
15368
  }
15290
- return /* @__PURE__ */ jsx289(ListItemComponent, { children });
15369
+ return /* @__PURE__ */ jsx290(ListItemComponent, { children });
15291
15370
  };
15292
15371
  ListItem.displayName = "ListItem_UI";
15293
15372
 
15294
15373
  // src/components/List/List.tsx
15295
- import { jsx as jsx290, jsxs as jsxs48 } from "react/jsx-runtime";
15374
+ import { jsx as jsx291, jsxs as jsxs48 } from "react/jsx-runtime";
15296
15375
  var spacesStyle = css37`
15297
15376
  overflow: hidden;
15298
15377
  padding-left: 0;
@@ -15351,7 +15430,7 @@ var unbulletedStyle = css37`
15351
15430
  list-style: none;
15352
15431
  padding-left: 0;
15353
15432
  `;
15354
- var ListComponent = styled72.ul`
15433
+ var ListComponent = styled73.ul`
15355
15434
  list-style-position: outside;
15356
15435
  margin: 0 0 var(--wui-space-01);
15357
15436
  padding: 0 0 0 var(--wui-space-04);
@@ -15378,7 +15457,7 @@ var ListComponent = styled72.ul`
15378
15457
  `;
15379
15458
  var renderListComponent = (listItems, variant, { ...otherProps }) => {
15380
15459
  const elementType = variant === "ordered" ? "ol" : "ul";
15381
- return /* @__PURE__ */ jsx290(
15460
+ return /* @__PURE__ */ jsx291(
15382
15461
  ListComponent,
15383
15462
  {
15384
15463
  as: elementType,
@@ -15403,7 +15482,7 @@ var renderListFromArray = (listItems, variant, otherProps) => {
15403
15482
  if (Array.isArray(item)) {
15404
15483
  return null;
15405
15484
  }
15406
- return /* @__PURE__ */ jsx290(ListItem, { children: item }, key);
15485
+ return /* @__PURE__ */ jsx291(ListItem, { children: item }, key);
15407
15486
  });
15408
15487
  return renderListComponent(items, variant, otherProps);
15409
15488
  };
@@ -15431,9 +15510,9 @@ var List = ({
15431
15510
  List.displayName = "List_UI";
15432
15511
 
15433
15512
  // src/components/Mark/Mark.tsx
15434
- import { styled as styled73 } from "styled-components";
15435
- import { jsx as jsx291 } from "react/jsx-runtime";
15436
- var StyledMark = styled73.mark`
15513
+ import { styled as styled74 } from "styled-components";
15514
+ import { jsx as jsx292 } from "react/jsx-runtime";
15515
+ var StyledMark = styled74.mark`
15437
15516
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
15438
15517
  background-color: var(--wui-color-bg-surface-tertiary);
15439
15518
  color: var(--wui-color-text);
@@ -15441,7 +15520,7 @@ var StyledMark = styled73.mark`
15441
15520
  padding-inline: 0.1em;
15442
15521
  margin-inline: -0.1em;
15443
15522
  `;
15444
- var Mark = ({ children, colorScheme = "inherit", ...props }) => /* @__PURE__ */ jsx291(
15523
+ var Mark = ({ children, colorScheme = "inherit", ...props }) => /* @__PURE__ */ jsx292(
15445
15524
  StyledMark,
15446
15525
  {
15447
15526
  $colorScheme: colorScheme,
@@ -15453,36 +15532,36 @@ Mark.displayName = "Mark_UI";
15453
15532
 
15454
15533
  // src/components/Modal/Modal.tsx
15455
15534
  import { forwardRef as forwardRef26 } from "react";
15456
- import { styled as styled78 } from "styled-components";
15535
+ import { styled as styled79 } from "styled-components";
15457
15536
  import { Root as DialogRoot, Portal as DialogPortal } from "@radix-ui/react-dialog";
15458
15537
  import { isNotNil as isNotNil32 } from "@wistia/type-guards";
15459
15538
 
15460
15539
  // src/components/Modal/ModalHeader.tsx
15461
- import { styled as styled75 } from "styled-components";
15540
+ import { styled as styled76 } from "styled-components";
15462
15541
  import { Title as DialogTitle } from "@radix-ui/react-dialog";
15463
15542
 
15464
15543
  // src/components/Modal/ModalCloseButton.tsx
15465
- import { styled as styled74 } from "styled-components";
15544
+ import { styled as styled75 } from "styled-components";
15466
15545
  import { Close as DialogClose } from "@radix-ui/react-dialog";
15467
- import { jsx as jsx292 } from "react/jsx-runtime";
15468
- var CloseButton = styled74(DialogClose)`
15546
+ import { jsx as jsx293 } from "react/jsx-runtime";
15547
+ var CloseButton = styled75(DialogClose)`
15469
15548
  align-self: start;
15470
15549
  `;
15471
15550
  var ModalCloseButton = () => {
15472
- return /* @__PURE__ */ jsx292(CloseButton, { asChild: true, children: /* @__PURE__ */ jsx292(
15551
+ return /* @__PURE__ */ jsx293(CloseButton, { asChild: true, children: /* @__PURE__ */ jsx293(
15473
15552
  IconButton,
15474
15553
  {
15475
15554
  label: "Dismiss modal",
15476
15555
  size: "sm",
15477
15556
  variant: "ghost",
15478
- children: /* @__PURE__ */ jsx292(Icon, { type: "close" })
15557
+ children: /* @__PURE__ */ jsx293(Icon, { type: "close" })
15479
15558
  }
15480
15559
  ) });
15481
15560
  };
15482
15561
 
15483
15562
  // src/components/Modal/ModalHeader.tsx
15484
- import { jsx as jsx293, jsxs as jsxs49 } from "react/jsx-runtime";
15485
- var Header = styled75.header`
15563
+ import { jsx as jsx294, jsxs as jsxs49 } from "react/jsx-runtime";
15564
+ var Header = styled76.header`
15486
15565
  display: flex;
15487
15566
  order: 1;
15488
15567
  padding: 0 var(--wui-space-05);
@@ -15502,7 +15581,7 @@ var Header = styled75.header`
15502
15581
  top: var(--wui-space-03);
15503
15582
  }
15504
15583
  `;
15505
- var Title = styled75(DialogTitle)`
15584
+ var Title = styled76(DialogTitle)`
15506
15585
  font-family: var(--wui-typography-heading-2-family);
15507
15586
  line-height: var(--wui-typography-heading-2-line-height);
15508
15587
  font-size: var(--wui-typography-heading-2-size);
@@ -15513,7 +15592,7 @@ var ModalHeader = ({
15513
15592
  hideTitle,
15514
15593
  hideCloseButton
15515
15594
  }) => {
15516
- const TitleComponent = hideTitle ? /* @__PURE__ */ jsx293(ScreenReaderOnly, { children: /* @__PURE__ */ jsx293(Title, { children: title }) }) : /* @__PURE__ */ jsx293(Title, { children: title });
15595
+ const TitleComponent = hideTitle ? /* @__PURE__ */ jsx294(ScreenReaderOnly, { children: /* @__PURE__ */ jsx294(Title, { children: title }) }) : /* @__PURE__ */ jsx294(Title, { children: title });
15517
15596
  return /* @__PURE__ */ jsxs49(
15518
15597
  Header,
15519
15598
  {
@@ -15521,7 +15600,7 @@ var ModalHeader = ({
15521
15600
  $hideTitle: hideTitle,
15522
15601
  children: [
15523
15602
  TitleComponent,
15524
- hideCloseButton ? null : /* @__PURE__ */ jsx293(ModalCloseButton, {})
15603
+ hideCloseButton ? null : /* @__PURE__ */ jsx294(ModalCloseButton, {})
15525
15604
  ]
15526
15605
  }
15527
15606
  );
@@ -15529,7 +15608,7 @@ var ModalHeader = ({
15529
15608
 
15530
15609
  // src/components/Modal/ModalContent.tsx
15531
15610
  import { forwardRef as forwardRef25 } from "react";
15532
- import { styled as styled76, css as css38, keyframes as keyframes4 } from "styled-components";
15611
+ import { styled as styled77, css as css38, keyframes as keyframes4 } from "styled-components";
15533
15612
  import { Content as DialogContent } from "@radix-ui/react-dialog";
15534
15613
 
15535
15614
  // src/private/hooks/useFocusRestore/useFocusRestore.ts
@@ -15552,7 +15631,7 @@ var useFocusRestore = () => {
15552
15631
  };
15553
15632
 
15554
15633
  // src/components/Modal/ModalContent.tsx
15555
- import { jsx as jsx294 } from "react/jsx-runtime";
15634
+ import { jsx as jsx295 } from "react/jsx-runtime";
15556
15635
  var modalEnter = keyframes4`
15557
15636
  from {
15558
15637
  opacity: 0;
@@ -15650,7 +15729,7 @@ var positionStyleMap = {
15650
15729
  "fixed-top": fixedTopModalStyles,
15651
15730
  "right-side-panel": rightSidePanelModalStyles
15652
15731
  };
15653
- var StyledModalContent = styled76(DialogContent)`
15732
+ var StyledModalContent = styled77(DialogContent)`
15654
15733
  position: fixed;
15655
15734
  display: flex;
15656
15735
  flex-direction: column;
@@ -15680,7 +15759,7 @@ var StyledModalContent = styled76(DialogContent)`
15680
15759
  var ModalContent = forwardRef25(
15681
15760
  ({ width, positionVariant = "fixed-top", children, ...props }, ref) => {
15682
15761
  useFocusRestore();
15683
- return /* @__PURE__ */ jsx294(
15762
+ return /* @__PURE__ */ jsx295(
15684
15763
  StyledModalContent,
15685
15764
  {
15686
15765
  ref,
@@ -15696,7 +15775,7 @@ var ModalContent = forwardRef25(
15696
15775
 
15697
15776
  // src/components/Modal/ModalOverlay.tsx
15698
15777
  import { DialogOverlay } from "@radix-ui/react-dialog";
15699
- import { styled as styled77, keyframes as keyframes5 } from "styled-components";
15778
+ import { styled as styled78, keyframes as keyframes5 } from "styled-components";
15700
15779
  var backdropShow = keyframes5`
15701
15780
  from {
15702
15781
  opacity: 0;
@@ -15715,7 +15794,7 @@ var backdropHide = keyframes5`
15715
15794
  opacity: 0;
15716
15795
  }
15717
15796
  `;
15718
- var ModalOverlay = styled77(DialogOverlay)`
15797
+ var ModalOverlay = styled78(DialogOverlay)`
15719
15798
  animation: ${backdropShow} var(--wui-motion-duration-02);
15720
15799
  background: var(--wui-color-backdrop);
15721
15800
  inset: 0;
@@ -15728,20 +15807,20 @@ var ModalOverlay = styled77(DialogOverlay)`
15728
15807
  `;
15729
15808
 
15730
15809
  // src/components/Modal/Modal.tsx
15731
- import { jsx as jsx295, jsxs as jsxs50 } from "react/jsx-runtime";
15810
+ import { jsx as jsx296, jsxs as jsxs50 } from "react/jsx-runtime";
15732
15811
  var DEFAULT_MODAL_WIDTH = "532px";
15733
- var ModalBody = styled78.div`
15812
+ var ModalBody = styled79.div`
15734
15813
  flex-direction: column;
15735
15814
  display: flex;
15736
15815
  flex: 1 0 0;
15737
15816
  padding: 0 var(--wui-space-05);
15738
15817
  `;
15739
- var ModalScrollArea = styled78.div`
15818
+ var ModalScrollArea = styled79.div`
15740
15819
  order: 2;
15741
15820
  max-height: 90vh;
15742
15821
  overflow-y: auto;
15743
15822
  `;
15744
- var ModalFooter = styled78.footer`
15823
+ var ModalFooter = styled79.footer`
15745
15824
  padding: 0 var(--wui-space-05);
15746
15825
  order: 3;
15747
15826
  `;
@@ -15759,7 +15838,7 @@ var Modal = forwardRef26(
15759
15838
  width = DEFAULT_MODAL_WIDTH,
15760
15839
  ...props
15761
15840
  }, ref) => {
15762
- return /* @__PURE__ */ jsx295(
15841
+ return /* @__PURE__ */ jsx296(
15763
15842
  DialogRoot,
15764
15843
  {
15765
15844
  onOpenChange: (open2) => {
@@ -15769,7 +15848,7 @@ var Modal = forwardRef26(
15769
15848
  },
15770
15849
  open: isOpen,
15771
15850
  children: /* @__PURE__ */ jsxs50(DialogPortal, { children: [
15772
- /* @__PURE__ */ jsx295(ModalOverlay, {}),
15851
+ /* @__PURE__ */ jsx296(ModalOverlay, {}),
15773
15852
  /* @__PURE__ */ jsxs50(
15774
15853
  ModalContent,
15775
15854
  {
@@ -15786,9 +15865,9 @@ var Modal = forwardRef26(
15786
15865
  width,
15787
15866
  ...props,
15788
15867
  children: [
15789
- /* @__PURE__ */ jsx295(ModalScrollArea, { children: /* @__PURE__ */ jsx295(ModalBody, { children }) }),
15790
- isNotNil32(footer) ? /* @__PURE__ */ jsx295(ModalFooter, { children: footer }) : null,
15791
- hideCloseButton && hideTitle ? null : /* @__PURE__ */ jsx295(
15868
+ /* @__PURE__ */ jsx296(ModalScrollArea, { children: /* @__PURE__ */ jsx296(ModalBody, { children }) }),
15869
+ isNotNil32(footer) ? /* @__PURE__ */ jsx296(ModalFooter, { children: footer }) : null,
15870
+ hideCloseButton && hideTitle ? null : /* @__PURE__ */ jsx296(
15792
15871
  ModalHeader,
15793
15872
  {
15794
15873
  hideCloseButton,
@@ -15807,9 +15886,9 @@ var Modal = forwardRef26(
15807
15886
  Modal.displayName = "Modal_UI";
15808
15887
 
15809
15888
  // src/components/Modal/ModalCallouts.tsx
15810
- import { jsx as jsx296, jsxs as jsxs51 } from "react/jsx-runtime";
15889
+ import { jsx as jsx297, jsxs as jsxs51 } from "react/jsx-runtime";
15811
15890
  var ModalCallouts = ({ children }) => {
15812
- return /* @__PURE__ */ jsx296(
15891
+ return /* @__PURE__ */ jsx297(
15813
15892
  Stack,
15814
15893
  {
15815
15894
  direction: "horizontal",
@@ -15822,7 +15901,7 @@ ModalCallouts.displayName = "ModalCallouts_UI";
15822
15901
  var ModalCallout = ({ title, image, children }) => {
15823
15902
  return /* @__PURE__ */ jsxs51(Stack, { direction: "vertical", children: [
15824
15903
  image,
15825
- /* @__PURE__ */ jsx296(Heading, { variant: "heading4", children: title }),
15904
+ /* @__PURE__ */ jsx297(Heading, { variant: "heading4", children: title }),
15826
15905
  children
15827
15906
  ] });
15828
15907
  };
@@ -15830,7 +15909,7 @@ ModalCallout.displayName = "ModalCallout_UI";
15830
15909
 
15831
15910
  // src/components/Popover/Popover.tsx
15832
15911
  import { Root as Root2, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
15833
- import { styled as styled80, css as css40 } from "styled-components";
15912
+ import { styled as styled81, css as css40 } from "styled-components";
15834
15913
 
15835
15914
  // src/private/helpers/getControls/getControlProps.tsx
15836
15915
  import { isNotNil as isNotNil33 } from "@wistia/type-guards";
@@ -15840,9 +15919,9 @@ var getControlProps = (isOpen, onOpenChange) => {
15840
15919
 
15841
15920
  // src/components/Popover/PopoverArrow.tsx
15842
15921
  import { PopoverArrow as RadixPopoverArrow } from "@radix-ui/react-popover";
15843
- import { styled as styled79, css as css39, keyframes as keyframes6 } from "styled-components";
15844
- import { jsx as jsx297, jsxs as jsxs52 } from "react/jsx-runtime";
15845
- var StyledPath = styled79.path`
15922
+ import { styled as styled80, css as css39, keyframes as keyframes6 } from "styled-components";
15923
+ import { jsx as jsx298, jsxs as jsxs52 } from "react/jsx-runtime";
15924
+ var StyledPath = styled80.path`
15846
15925
  fill: var(--wui-color-border-secondary);
15847
15926
  `;
15848
15927
  var circleAnimation = keyframes6`
@@ -15853,7 +15932,7 @@ var circleAnimation = keyframes6`
15853
15932
  opacity: 0;
15854
15933
  }
15855
15934
  `;
15856
- var StyledCircle = styled79.circle`
15935
+ var StyledCircle = styled80.circle`
15857
15936
  stroke: var(--wui-color-border-active);
15858
15937
  animation-duration: 2s;
15859
15938
  animation-iteration-count: infinite;
@@ -15880,7 +15959,7 @@ var StyledCircle = styled79.circle`
15880
15959
  }
15881
15960
  `;
15882
15961
  var PopoverArrow = ({ isAnimated }) => {
15883
- return /* @__PURE__ */ jsx297(RadixPopoverArrow, { asChild: true, children: /* @__PURE__ */ jsxs52(
15962
+ return /* @__PURE__ */ jsx298(RadixPopoverArrow, { asChild: true, children: /* @__PURE__ */ jsxs52(
15884
15963
  "svg",
15885
15964
  {
15886
15965
  fill: "none",
@@ -15889,8 +15968,8 @@ var PopoverArrow = ({ isAnimated }) => {
15889
15968
  width: "48",
15890
15969
  xmlns: "http://www.w3.org/2000/svg",
15891
15970
  children: [
15892
- /* @__PURE__ */ jsx297(StyledPath, { d: "M24 26.6667C21.0545 26.6667 18.6667 29.0545 18.6667 32C18.6667 34.9455 21.0545 37.3333 24 37.3333C26.9455 37.3333 29.3333 34.9455 29.3333 32C29.3333 29.0545 26.9455 26.6667 24 26.6667ZM23 0V32H25V0H23Z" }),
15893
- /* @__PURE__ */ jsx297(
15971
+ /* @__PURE__ */ jsx298(StyledPath, { d: "M24 26.6667C21.0545 26.6667 18.6667 29.0545 18.6667 32C18.6667 34.9455 21.0545 37.3333 24 37.3333C26.9455 37.3333 29.3333 34.9455 29.3333 32C29.3333 29.0545 26.9455 26.6667 24 26.6667ZM23 0V32H25V0H23Z" }),
15972
+ /* @__PURE__ */ jsx298(
15894
15973
  StyledCircle,
15895
15974
  {
15896
15975
  $isAnimated: isAnimated,
@@ -15901,7 +15980,7 @@ var PopoverArrow = ({ isAnimated }) => {
15901
15980
  strokeWidth: "4"
15902
15981
  }
15903
15982
  ),
15904
- /* @__PURE__ */ jsx297(
15983
+ /* @__PURE__ */ jsx298(
15905
15984
  StyledCircle,
15906
15985
  {
15907
15986
  $isAnimated: isAnimated,
@@ -15919,8 +15998,8 @@ var PopoverArrow = ({ isAnimated }) => {
15919
15998
  PopoverArrow.displayName = "PopoverArrow_UI";
15920
15999
 
15921
16000
  // src/components/Popover/Popover.tsx
15922
- import { jsx as jsx298, jsxs as jsxs53 } from "react/jsx-runtime";
15923
- var StyledContent2 = styled80(Content2)`
16001
+ import { jsx as jsx299, jsxs as jsxs53 } from "react/jsx-runtime";
16002
+ var StyledContent2 = styled81(Content2)`
15924
16003
  z-index: var(--wui-zindex-popover);
15925
16004
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
15926
16005
  ${({ $unstyled }) => !$unstyled && css40`
@@ -15960,8 +16039,8 @@ var Popover = ({
15960
16039
  "--wui-popover-max-height": maxHeight
15961
16040
  };
15962
16041
  return /* @__PURE__ */ jsxs53(Root2, { ...getControlProps(isOpen, onOpenChange), children: [
15963
- /* @__PURE__ */ jsx298(Trigger2, { asChild: true, children: trigger }),
15964
- /* @__PURE__ */ jsx298(Portal, { children: /* @__PURE__ */ jsxs53(
16042
+ /* @__PURE__ */ jsx299(Trigger2, { asChild: true, children: trigger }),
16043
+ /* @__PURE__ */ jsx299(Portal, { children: /* @__PURE__ */ jsxs53(
15965
16044
  StyledContent2,
15966
16045
  {
15967
16046
  $colorScheme: colorScheme,
@@ -15970,17 +16049,17 @@ var Popover = ({
15970
16049
  $unstyled: unstyled,
15971
16050
  style,
15972
16051
  children: [
15973
- !hideCloseButton && /* @__PURE__ */ jsx298(Close, { asChild: true, children: /* @__PURE__ */ jsx298(
16052
+ !hideCloseButton && /* @__PURE__ */ jsx299(Close, { asChild: true, children: /* @__PURE__ */ jsx299(
15974
16053
  IconButton,
15975
16054
  {
15976
16055
  "data-wui-popover-close": true,
15977
16056
  label: "Close",
15978
16057
  variant: "ghost",
15979
- children: /* @__PURE__ */ jsx298(Icon, { type: "close" })
16058
+ children: /* @__PURE__ */ jsx299(Icon, { type: "close" })
15980
16059
  }
15981
16060
  ) }),
15982
- withArrow ? /* @__PURE__ */ jsx298(PopoverArrow, { isAnimated }) : null,
15983
- /* @__PURE__ */ jsx298("div", { children })
16061
+ withArrow ? /* @__PURE__ */ jsx299(PopoverArrow, { isAnimated }) : null,
16062
+ /* @__PURE__ */ jsx299("div", { children })
15984
16063
  ]
15985
16064
  }
15986
16065
  ) })
@@ -15989,11 +16068,11 @@ var Popover = ({
15989
16068
  Popover.displayName = "Popover_UI";
15990
16069
 
15991
16070
  // src/components/ProgressBar/ProgressBar.tsx
15992
- import { styled as styled81 } from "styled-components";
16071
+ import { styled as styled82 } from "styled-components";
15993
16072
  import { Root as ProgressRoot, Indicator as ProgressIndicator } from "@radix-ui/react-progress";
15994
16073
  import { isNotNil as isNotNil34 } from "@wistia/type-guards";
15995
- import { jsx as jsx299, jsxs as jsxs54 } from "react/jsx-runtime";
15996
- var ProgressBarWrapper = styled81.div`
16074
+ import { jsx as jsx300, jsxs as jsxs54 } from "react/jsx-runtime";
16075
+ var ProgressBarWrapper = styled82.div`
15997
16076
  --progress-bar-height: 8px;
15998
16077
 
15999
16078
  display: flex;
@@ -16007,7 +16086,7 @@ var getTranslateValue = (progress, max) => {
16007
16086
  const progressPercentage = progress / max * 100;
16008
16087
  return `translateX(-${100 - progressPercentage}%)`;
16009
16088
  };
16010
- var ProgressBarLabel = styled81.div`
16089
+ var ProgressBarLabel = styled82.div`
16011
16090
  display: flex;
16012
16091
  line-height: var(--wui-typography-label-3-line-height);
16013
16092
  font-size: var(--wui-typography-label-3-size);
@@ -16015,7 +16094,7 @@ var ProgressBarLabel = styled81.div`
16015
16094
  color: var(--wui-color-text-secondary);
16016
16095
  flex-shrink: 0;
16017
16096
  `;
16018
- var StyledProgressIndicator = styled81(ProgressIndicator)`
16097
+ var StyledProgressIndicator = styled82(ProgressIndicator)`
16019
16098
  ${({ $colorScheme }) => getColorScheme($colorScheme)}
16020
16099
  background-color: var(--wui-color-bg-fill);
16021
16100
  width: 100%;
@@ -16025,7 +16104,7 @@ var StyledProgressIndicator = styled81(ProgressIndicator)`
16025
16104
  transition: transform 660ms cubic-bezier(0.65, 0, 0.35, 1);
16026
16105
  transform: ${({ $progress, $max }) => getTranslateValue($progress, $max)};
16027
16106
  `;
16028
- var StyledProgressBar = styled81(ProgressRoot)`
16107
+ var StyledProgressBar = styled82(ProgressRoot)`
16029
16108
  ${({ $colorScheme }) => getColorScheme($colorScheme)}
16030
16109
  position: relative;
16031
16110
  overflow: hidden;
@@ -16047,15 +16126,15 @@ var ProgressBar = ({
16047
16126
  ...props
16048
16127
  }) => {
16049
16128
  return /* @__PURE__ */ jsxs54(ProgressBarWrapper, { children: [
16050
- isNotNil34(labelLeft) ? /* @__PURE__ */ jsx299(ProgressBarLabel, { children: labelLeft }) : null,
16051
- /* @__PURE__ */ jsx299(
16129
+ isNotNil34(labelLeft) ? /* @__PURE__ */ jsx300(ProgressBarLabel, { children: labelLeft }) : null,
16130
+ /* @__PURE__ */ jsx300(
16052
16131
  StyledProgressBar,
16053
16132
  {
16054
16133
  $colorScheme: colorScheme,
16055
16134
  max,
16056
16135
  value: progress,
16057
16136
  ...props,
16058
- children: /* @__PURE__ */ jsx299(
16137
+ children: /* @__PURE__ */ jsx300(
16059
16138
  StyledProgressIndicator,
16060
16139
  {
16061
16140
  $colorScheme: colorScheme,
@@ -16065,7 +16144,7 @@ var ProgressBar = ({
16065
16144
  )
16066
16145
  }
16067
16146
  ),
16068
- isNotNil34(labelRight) ? /* @__PURE__ */ jsx299(ProgressBarLabel, { children: labelRight }) : null
16147
+ isNotNil34(labelRight) ? /* @__PURE__ */ jsx300(ProgressBarLabel, { children: labelRight }) : null
16069
16148
  ] });
16070
16149
  };
16071
16150
  ProgressBar.displayName = "ProgressBar_UI";
@@ -16073,8 +16152,8 @@ ProgressBar.displayName = "ProgressBar_UI";
16073
16152
  // src/components/Radio/Radio.tsx
16074
16153
  import { isNonEmptyString as isNonEmptyString7, isNotUndefined as isNotUndefined13 } from "@wistia/type-guards";
16075
16154
  import { forwardRef as forwardRef27, useId as useId5 } from "react";
16076
- import { styled as styled82, css as css41 } from "styled-components";
16077
- import { jsx as jsx300, jsxs as jsxs55 } from "react/jsx-runtime";
16155
+ import { styled as styled83, css as css41 } from "styled-components";
16156
+ import { jsx as jsx301, jsxs as jsxs55 } from "react/jsx-runtime";
16078
16157
  var sizeSmall2 = css41`
16079
16158
  --wui-radio-size: 14px;
16080
16159
  --wui-radio-icon-size: 7px;
@@ -16092,7 +16171,7 @@ var getSizeCss3 = (size) => {
16092
16171
  if (size === "lg") return sizeLarge2;
16093
16172
  return sizeMedium2;
16094
16173
  };
16095
- var StyledRadioWrapper = styled82.div`
16174
+ var StyledRadioWrapper = styled83.div`
16096
16175
  --wui-radio-background-color: var(--wui-color-bg-surface);
16097
16176
  --wui-radio-border-color: var(--wui-color-border-secondary);
16098
16177
  --wui-radio-icon-color: transparent;
@@ -16126,7 +16205,7 @@ var StyledRadioWrapper = styled82.div`
16126
16205
  /* TODO this solves a problem but potentially causes and a11y issue */
16127
16206
  user-select: none;
16128
16207
  `;
16129
- var StyledRadioInput = styled82.div`
16208
+ var StyledRadioInput = styled83.div`
16130
16209
  ${({ $size }) => getSizeCss3($size)}
16131
16210
  width: var(--wui-radio-size);
16132
16211
  height: var(--wui-radio-size);
@@ -16152,7 +16231,7 @@ var StyledRadioInput = styled82.div`
16152
16231
  transform: translate(-50%, -50%);
16153
16232
  }
16154
16233
  `;
16155
- var StyledHiddenRadioInput = styled82.input`
16234
+ var StyledHiddenRadioInput = styled83.input`
16156
16235
  ${visuallyHiddenStyle}
16157
16236
  `;
16158
16237
  var Radio = forwardRef27(
@@ -16186,7 +16265,7 @@ var Radio = forwardRef27(
16186
16265
  $hideLabel: hideLabel,
16187
16266
  "aria-invalid": props["aria-invalid"],
16188
16267
  children: [
16189
- /* @__PURE__ */ jsx300(
16268
+ /* @__PURE__ */ jsx301(
16190
16269
  StyledHiddenRadioInput,
16191
16270
  {
16192
16271
  ...props,
@@ -16201,10 +16280,10 @@ var Radio = forwardRef27(
16201
16280
  value
16202
16281
  }
16203
16282
  ),
16204
- /* @__PURE__ */ jsx300(
16283
+ /* @__PURE__ */ jsx301(
16205
16284
  FormControlLabel,
16206
16285
  {
16207
- controlSlot: /* @__PURE__ */ jsx300(StyledRadioInput, { $size: size }),
16286
+ controlSlot: /* @__PURE__ */ jsx301(StyledRadioInput, { $size: size }),
16208
16287
  description,
16209
16288
  disabled,
16210
16289
  hideLabel,
@@ -16224,9 +16303,9 @@ import { forwardRef as forwardRef29 } from "react";
16224
16303
 
16225
16304
  // src/components/RadioCard/RadioCardRoot.tsx
16226
16305
  import { forwardRef as forwardRef28, useId as useId6 } from "react";
16227
- import { styled as styled83, css as css42 } from "styled-components";
16306
+ import { styled as styled84, css as css42 } from "styled-components";
16228
16307
  import { isNonEmptyString as isNonEmptyString8, isNotUndefined as isNotUndefined14 } from "@wistia/type-guards";
16229
- import { jsx as jsx301, jsxs as jsxs56 } from "react/jsx-runtime";
16308
+ import { jsx as jsx302, jsxs as jsxs56 } from "react/jsx-runtime";
16230
16309
  var checkedStyles = css42`
16231
16310
  --wui-radio-card-border-color: var(--wui-color-focus-ring);
16232
16311
  --wui-color-icon: var(--wui-color-icon-selected);
@@ -16276,7 +16355,7 @@ var imageCoverStyles = css42`
16276
16355
  transition: all var(--wui-motion-duration-02) var(--wui-motion-ease);
16277
16356
  }
16278
16357
  `;
16279
- var StyledCard2 = styled83.label`
16358
+ var StyledCard2 = styled84.label`
16280
16359
  --wui-radio-card-border-color: var(--wui-color-border-secondary);
16281
16360
  --wui-radio-card-background-color: var(--wui-color-bg-surface);
16282
16361
  --wui-radio-card-cursor: pointer;
@@ -16330,7 +16409,7 @@ var StyledCard2 = styled83.label`
16330
16409
  }
16331
16410
  }
16332
16411
  `;
16333
- var StyledHiddenInput = styled83.input`
16412
+ var StyledHiddenInput = styled84.input`
16334
16413
  ${visuallyHiddenStyle}
16335
16414
  `;
16336
16415
  var RadioCardRoot = forwardRef28(
@@ -16362,7 +16441,7 @@ var RadioCardRoot = forwardRef28(
16362
16441
  $padding: padding,
16363
16442
  htmlFor: computedId,
16364
16443
  children: [
16365
- /* @__PURE__ */ jsx301(
16444
+ /* @__PURE__ */ jsx302(
16366
16445
  StyledHiddenInput,
16367
16446
  {
16368
16447
  ...props,
@@ -16385,12 +16464,12 @@ var RadioCardRoot = forwardRef28(
16385
16464
  RadioCardRoot.displayName = "RadioCardRoot_UI";
16386
16465
 
16387
16466
  // src/components/RadioCard/RadioCardDefaultLayout.tsx
16388
- import { styled as styled85 } from "styled-components";
16467
+ import { styled as styled86 } from "styled-components";
16389
16468
  import { isNotNil as isNotNil35 } from "@wistia/type-guards";
16390
16469
 
16391
16470
  // src/components/RadioCard/RadioCardIndicator.tsx
16392
- import { styled as styled84 } from "styled-components";
16393
- var RadioCardIndicator = styled84.div`
16471
+ import { styled as styled85 } from "styled-components";
16472
+ var RadioCardIndicator = styled85.div`
16394
16473
  --wui-radio-card-indicator-size: 14px;
16395
16474
  --wui-radio-card-indicator-background-color: var(--wui-color-bg-surface);
16396
16475
  --wui-radio-card-indicator-fill-color: var(--wui-color-bg-fill);
@@ -16439,16 +16518,16 @@ var RadioCardIndicator = styled84.div`
16439
16518
  RadioCardIndicator.displayName = "RadioCardIndicator_UI";
16440
16519
 
16441
16520
  // src/components/RadioCard/RadioCardDefaultLayout.tsx
16442
- import { jsx as jsx302, jsxs as jsxs57 } from "react/jsx-runtime";
16443
- var StyledCardContent = styled85.div`
16521
+ import { jsx as jsx303, jsxs as jsxs57 } from "react/jsx-runtime";
16522
+ var StyledCardContent = styled86.div`
16444
16523
  display: grid;
16445
16524
  grid-auto-flow: column;
16446
16525
  gap: var(--wui-space-02);
16447
16526
  `;
16448
- var StyledCardIcon = styled85.div`
16527
+ var StyledCardIcon = styled86.div`
16449
16528
  display: contents;
16450
16529
  `;
16451
- var StyledIndicatorContainer = styled85.div`
16530
+ var StyledIndicatorContainer = styled86.div`
16452
16531
  height: ${({ $hasIcon }) => $hasIcon ? "24px" : "16px"};
16453
16532
  display: flex;
16454
16533
  align-items: center;
@@ -16460,17 +16539,17 @@ var RadioCardDefaultLayout = ({
16460
16539
  showIndicator = true
16461
16540
  }) => {
16462
16541
  return /* @__PURE__ */ jsxs57(StyledCardContent, { children: [
16463
- showIndicator ? /* @__PURE__ */ jsx302(StyledIndicatorContainer, { $hasIcon: isNotNil35(icon), children: /* @__PURE__ */ jsx302(RadioCardIndicator, { "data-testid": "wui-radio-card-indicator" }) }) : null,
16542
+ showIndicator ? /* @__PURE__ */ jsx303(StyledIndicatorContainer, { $hasIcon: isNotNil35(icon), children: /* @__PURE__ */ jsx303(RadioCardIndicator, { "data-testid": "wui-radio-card-indicator" }) }) : null,
16464
16543
  /* @__PURE__ */ jsxs57(Stack, { gap: "space-02", children: [
16465
- isNotNil35(icon) && /* @__PURE__ */ jsx302(StyledCardIcon, { "data-wui-radio-card-icon": true, children: icon }),
16544
+ isNotNil35(icon) && /* @__PURE__ */ jsx303(StyledCardIcon, { "data-wui-radio-card-icon": true, children: icon }),
16466
16545
  /* @__PURE__ */ jsxs57(
16467
16546
  Stack,
16468
16547
  {
16469
16548
  gap: "space-01",
16470
16549
  style: isNotNil35(icon) ? { paddingLeft: 2 } : void 0,
16471
16550
  children: [
16472
- isNotNil35(label) && /* @__PURE__ */ jsx302(Text, { variant: "label3", children: /* @__PURE__ */ jsx302("strong", { children: label }) }),
16473
- isNotNil35(description) && /* @__PURE__ */ jsx302(
16551
+ isNotNil35(label) && /* @__PURE__ */ jsx303(Text, { variant: "label3", children: /* @__PURE__ */ jsx303("strong", { children: label }) }),
16552
+ isNotNil35(description) && /* @__PURE__ */ jsx303(
16474
16553
  Text,
16475
16554
  {
16476
16555
  prominence: "secondary",
@@ -16487,22 +16566,22 @@ var RadioCardDefaultLayout = ({
16487
16566
  RadioCardDefaultLayout.displayName = "RadioCardDefaultLayout_UI";
16488
16567
 
16489
16568
  // src/components/RadioCard/RadioCardChildrenContainer.tsx
16490
- import { styled as styled86 } from "styled-components";
16491
- var RadioCardChildrenContainer = styled86.div`
16569
+ import { styled as styled87 } from "styled-components";
16570
+ var RadioCardChildrenContainer = styled87.div`
16492
16571
  flex: 1 1 auto;
16493
16572
  `;
16494
16573
 
16495
16574
  // src/components/RadioCard/RadioCard.tsx
16496
- import { jsx as jsx303 } from "react/jsx-runtime";
16575
+ import { jsx as jsx304 } from "react/jsx-runtime";
16497
16576
  var RadioCard = forwardRef29(
16498
16577
  ({ icon, label, description, showIndicator, children, ...rootProps }, ref) => {
16499
- return /* @__PURE__ */ jsx303(
16578
+ return /* @__PURE__ */ jsx304(
16500
16579
  RadioCardRoot,
16501
16580
  {
16502
16581
  ref,
16503
16582
  padding: children != null ? "space-00" : "space-04",
16504
16583
  ...rootProps,
16505
- children: children != null ? /* @__PURE__ */ jsx303(RadioCardChildrenContainer, { "data-wui-radio-card-image": "cover", children }) : /* @__PURE__ */ jsx303(
16584
+ children: children != null ? /* @__PURE__ */ jsx304(RadioCardChildrenContainer, { "data-wui-radio-card-image": "cover", children }) : /* @__PURE__ */ jsx304(
16506
16585
  RadioCardDefaultLayout,
16507
16586
  {
16508
16587
  description,
@@ -16519,17 +16598,17 @@ RadioCard.displayName = "RadioCard_UI";
16519
16598
 
16520
16599
  // src/components/RadioCard/RadioCardImage.tsx
16521
16600
  import { forwardRef as forwardRef30 } from "react";
16522
- import { jsx as jsx304 } from "react/jsx-runtime";
16601
+ import { jsx as jsx305 } from "react/jsx-runtime";
16523
16602
  var RadioCardImage = forwardRef30(
16524
16603
  ({ label, imageSrc, aspectRatio, padding = "space-04", ...rootProps }, ref) => {
16525
- return /* @__PURE__ */ jsx304(
16604
+ return /* @__PURE__ */ jsx305(
16526
16605
  RadioCardRoot,
16527
16606
  {
16528
16607
  ref,
16529
16608
  ...rootProps,
16530
16609
  aspectRatio,
16531
16610
  padding,
16532
- children: /* @__PURE__ */ jsx304(
16611
+ children: /* @__PURE__ */ jsx305(
16533
16612
  Image,
16534
16613
  {
16535
16614
  alt: label,
@@ -16547,49 +16626,49 @@ RadioCardImage.displayName = "RadioCardImage_UI";
16547
16626
 
16548
16627
  // src/components/ScrollArea/ScrollArea.tsx
16549
16628
  import { forwardRef as forwardRef31, useCallback as useCallback18, useEffect as useEffect20, useMemo as useMemo15, useRef as useRef21, useState as useState23 } from "react";
16550
- import { styled as styled87 } from "styled-components";
16629
+ import { styled as styled88 } from "styled-components";
16551
16630
  import { throttle } from "throttle-debounce";
16552
- import { jsx as jsx305, jsxs as jsxs58 } from "react/jsx-runtime";
16631
+ import { jsx as jsx306, jsxs as jsxs58 } from "react/jsx-runtime";
16553
16632
  var SHADOW_SIZE_PX = 8;
16554
- var Container10 = styled87.div`
16633
+ var Container10 = styled88.div`
16555
16634
  overflow: hidden;
16556
16635
  position: relative;
16557
16636
  flex: 1 1 auto;
16558
16637
  `;
16559
- var ScrollContainer = styled87.div`
16638
+ var ScrollContainer = styled88.div`
16560
16639
  overflow: ${({ $locked }) => $locked ? "hidden" : "auto"};
16561
16640
  height: 100%;
16562
16641
  width: 100%;
16563
16642
  `;
16564
- var Shadow = styled87.div`
16643
+ var Shadow = styled88.div`
16565
16644
  pointer-events: none;
16566
16645
  position: absolute;
16567
16646
  transition: box-shadow var(--wui-motion-duration-04) var(--wui-motion-ease);
16568
16647
  box-shadow: ${({ $isVisible }) => $isVisible ? `0 0 ${SHADOW_SIZE_PX}px ${SHADOW_SIZE_PX}px var(--wui-color-drop-shadow)` : "none"};
16569
16648
  z-index: 1;
16570
16649
  `;
16571
- var ShadowAtTop = styled87(Shadow)`
16650
+ var ShadowAtTop = styled88(Shadow)`
16572
16651
  transform: translateY(-${SHADOW_SIZE_PX}px);
16573
16652
  height: 0;
16574
16653
  left: 0;
16575
16654
  right: 0;
16576
16655
  top: 0;
16577
16656
  `;
16578
- var ShadowAtBottom = styled87(Shadow)`
16657
+ var ShadowAtBottom = styled88(Shadow)`
16579
16658
  transform: translateY(${SHADOW_SIZE_PX}px);
16580
16659
  bottom: 0;
16581
16660
  height: 0;
16582
16661
  left: 0;
16583
16662
  right: 0;
16584
16663
  `;
16585
- var ShadowAtLeft = styled87(Shadow)`
16664
+ var ShadowAtLeft = styled88(Shadow)`
16586
16665
  transform: translateX(-${SHADOW_SIZE_PX}px);
16587
16666
  bottom: 0;
16588
16667
  left: 0;
16589
16668
  top: 0;
16590
16669
  width: 0;
16591
16670
  `;
16592
- var ShadowAtRight = styled87(Shadow)`
16671
+ var ShadowAtRight = styled88(Shadow)`
16593
16672
  transform: translateX(${SHADOW_SIZE_PX}px);
16594
16673
  bottom: 0;
16595
16674
  right: 0;
@@ -16630,11 +16709,11 @@ var ScrollArea = forwardRef31(
16630
16709
  updateShadows();
16631
16710
  }, [updateShadows]);
16632
16711
  return /* @__PURE__ */ jsxs58(Container10, { style, children: [
16633
- /* @__PURE__ */ jsx305(ShadowAtTop, { $isVisible: shadowState.canScrollUp }),
16634
- /* @__PURE__ */ jsx305(ShadowAtBottom, { $isVisible: shadowState.canScrollDown }),
16635
- /* @__PURE__ */ jsx305(ShadowAtLeft, { $isVisible: shadowState.canScrollLeft }),
16636
- /* @__PURE__ */ jsx305(ShadowAtRight, { $isVisible: shadowState.canScrollRight }),
16637
- /* @__PURE__ */ jsx305(
16712
+ /* @__PURE__ */ jsx306(ShadowAtTop, { $isVisible: shadowState.canScrollUp }),
16713
+ /* @__PURE__ */ jsx306(ShadowAtBottom, { $isVisible: shadowState.canScrollDown }),
16714
+ /* @__PURE__ */ jsx306(ShadowAtLeft, { $isVisible: shadowState.canScrollLeft }),
16715
+ /* @__PURE__ */ jsx306(ShadowAtRight, { $isVisible: shadowState.canScrollRight }),
16716
+ /* @__PURE__ */ jsx306(
16638
16717
  ScrollContainer,
16639
16718
  {
16640
16719
  ref: scrollContainerRef,
@@ -16651,13 +16730,13 @@ ScrollArea.displayName = "ScrollArea_UI";
16651
16730
 
16652
16731
  // src/components/SegmentedControl/SegmentedControl.tsx
16653
16732
  import { forwardRef as forwardRef32 } from "react";
16654
- import { styled as styled89, css as css44 } from "styled-components";
16733
+ import { styled as styled90, css as css44 } from "styled-components";
16655
16734
  import { Root as ToggleGroupRoot2 } from "@radix-ui/react-toggle-group";
16656
16735
  import { isNil as isNil18 } from "@wistia/type-guards";
16657
16736
 
16658
16737
  // src/components/SegmentedControl/useSelectedItemStyle.tsx
16659
16738
  import { createContext as createContext9, useContext as useContext15, useMemo as useMemo16, useState as useState24 } from "react";
16660
- import { jsx as jsx306 } from "react/jsx-runtime";
16739
+ import { jsx as jsx307 } from "react/jsx-runtime";
16661
16740
  var SelectedItemStyleContext = createContext9(null);
16662
16741
  var SelectedItemStyleProvider = ({
16663
16742
  children
@@ -16678,7 +16757,7 @@ var SelectedItemStyleProvider = ({
16678
16757
  }),
16679
16758
  [selectedItemIndicatorStyle]
16680
16759
  );
16681
- return /* @__PURE__ */ jsx306(SelectedItemStyleContext.Provider, { value: contextValue, children });
16760
+ return /* @__PURE__ */ jsx307(SelectedItemStyleContext.Provider, { value: contextValue, children });
16682
16761
  };
16683
16762
  var useSelectedItemStyle = () => {
16684
16763
  const context = useContext15(SelectedItemStyleContext);
@@ -16689,7 +16768,7 @@ var useSelectedItemStyle = () => {
16689
16768
  };
16690
16769
 
16691
16770
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
16692
- import { styled as styled88, css as css43 } from "styled-components";
16771
+ import { styled as styled89, css as css43 } from "styled-components";
16693
16772
  import { isUndefined as isUndefined5 } from "@wistia/type-guards";
16694
16773
 
16695
16774
  // src/components/SegmentedControl/useSegmentedControlValue.tsx
@@ -16705,13 +16784,13 @@ var useSegmentedControlValue = () => {
16705
16784
  };
16706
16785
 
16707
16786
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
16708
- import { jsx as jsx307 } from "react/jsx-runtime";
16787
+ import { jsx as jsx308 } from "react/jsx-runtime";
16709
16788
  var selectedItemIndicatorStyles = css43`
16710
16789
  background-color: var(--wui-color-bg-fill-white);
16711
16790
  border-radius: var(--wui-border-radius-rounded);
16712
16791
  box-shadow: var(--wui-elevation-01);
16713
16792
  `;
16714
- var SelectedItemIndicatorDiv = styled88.div`
16793
+ var SelectedItemIndicatorDiv = styled89.div`
16715
16794
  ${selectedItemIndicatorStyles}
16716
16795
  left: 0;
16717
16796
  position: absolute;
@@ -16727,7 +16806,7 @@ var SelectedItemIndicator = () => {
16727
16806
  if (!selectedValue || isUndefined5(selectedItemIndicatorStyle)) {
16728
16807
  return null;
16729
16808
  }
16730
- return /* @__PURE__ */ jsx307(
16809
+ return /* @__PURE__ */ jsx308(
16731
16810
  SelectedItemIndicatorDiv,
16732
16811
  {
16733
16812
  "data-wui-selected-item-indicator": true,
@@ -16737,7 +16816,7 @@ var SelectedItemIndicator = () => {
16737
16816
  };
16738
16817
 
16739
16818
  // src/components/SegmentedControl/SegmentedControl.tsx
16740
- import { jsx as jsx308, jsxs as jsxs59 } from "react/jsx-runtime";
16819
+ import { jsx as jsx309, jsxs as jsxs59 } from "react/jsx-runtime";
16741
16820
  var segmentedControlStyles = css44`
16742
16821
  display: inline-flex;
16743
16822
  background-color: var(--wui-color-bg-surface-secondary);
@@ -16749,7 +16828,7 @@ var segmentedControlStyles = css44`
16749
16828
  position: relative;
16750
16829
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
16751
16830
  `;
16752
- var StyledSegmentedControl = styled89(ToggleGroupRoot2)`
16831
+ var StyledSegmentedControl = styled90(ToggleGroupRoot2)`
16753
16832
  ${segmentedControlStyles}
16754
16833
  `;
16755
16834
  var SegmentedControl = forwardRef32(
@@ -16764,7 +16843,7 @@ var SegmentedControl = forwardRef32(
16764
16843
  if (isNil18(children)) {
16765
16844
  return null;
16766
16845
  }
16767
- return /* @__PURE__ */ jsx308(
16846
+ return /* @__PURE__ */ jsx309(
16768
16847
  StyledSegmentedControl,
16769
16848
  {
16770
16849
  ref,
@@ -16776,9 +16855,9 @@ var SegmentedControl = forwardRef32(
16776
16855
  type: "single",
16777
16856
  value: selectedValue,
16778
16857
  ...props,
16779
- children: /* @__PURE__ */ jsx308(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ jsxs59(SelectedItemStyleProvider, { children: [
16858
+ children: /* @__PURE__ */ jsx309(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ jsxs59(SelectedItemStyleProvider, { children: [
16780
16859
  children,
16781
- /* @__PURE__ */ jsx308(SelectedItemIndicator, {})
16860
+ /* @__PURE__ */ jsx309(SelectedItemIndicator, {})
16782
16861
  ] }) })
16783
16862
  }
16784
16863
  );
@@ -16788,7 +16867,7 @@ SegmentedControl.displayName = "SegmentedControl_UI";
16788
16867
 
16789
16868
  // src/components/SegmentedControl/SegmentedControlItem.tsx
16790
16869
  import { forwardRef as forwardRef33, useEffect as useEffect21, useRef as useRef22 } from "react";
16791
- import { styled as styled90, css as css45 } from "styled-components";
16870
+ import { styled as styled91, css as css45 } from "styled-components";
16792
16871
  import { Item as ToggleGroupItem2 } from "@radix-ui/react-toggle-group";
16793
16872
  import { isNotNil as isNotNil36 } from "@wistia/type-guards";
16794
16873
  import { jsxs as jsxs60 } from "react/jsx-runtime";
@@ -16860,7 +16939,7 @@ var segmentedControlItemStyles = css45`
16860
16939
  }
16861
16940
  }
16862
16941
  `;
16863
- var StyledSegmentedControlItem = styled90(ToggleGroupItem2)`
16942
+ var StyledSegmentedControlItem = styled91(ToggleGroupItem2)`
16864
16943
  ${segmentedControlItemStyles}
16865
16944
  `;
16866
16945
  var SegmentedControlItem = forwardRef33(
@@ -16933,9 +17012,9 @@ import {
16933
17012
  ScrollDownButton
16934
17013
  } from "@radix-ui/react-select";
16935
17014
  import { forwardRef as forwardRef34 } from "react";
16936
- import { styled as styled91, css as css46 } from "styled-components";
16937
- import { jsx as jsx309, jsxs as jsxs61 } from "react/jsx-runtime";
16938
- var StyledTrigger2 = styled91(Trigger3)`
17015
+ import { styled as styled92, css as css46 } from "styled-components";
17016
+ import { jsx as jsx310, jsxs as jsxs61 } from "react/jsx-runtime";
17017
+ var StyledTrigger2 = styled92(Trigger3)`
16939
17018
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
16940
17019
  ${inputCss};
16941
17020
  padding: var(--wui-input-vertical-padding) var(--wui-input-horizontal-padding);
@@ -16981,7 +17060,7 @@ var StyledTrigger2 = styled91(Trigger3)`
16981
17060
  color: var(--wui-input-placeholder);
16982
17061
  }
16983
17062
  `;
16984
- var StyledContent3 = styled91(Content3)`
17063
+ var StyledContent3 = styled92(Content3)`
16985
17064
  --wui-select-content-border: var(--wui-color-border);
16986
17065
  --wui-select-content-bg: var(--wui-color-bg-surface);
16987
17066
  --wui-select-content-border-radius: var(--wui-border-radius-02);
@@ -17009,10 +17088,10 @@ var scrollButtonStyles = css46`
17009
17088
  display: flex;
17010
17089
  justify-content: center;
17011
17090
  `;
17012
- var StyledScrollDownButton = styled91(ScrollDownButton)`
17091
+ var StyledScrollDownButton = styled92(ScrollDownButton)`
17013
17092
  ${scrollButtonStyles}
17014
17093
  `;
17015
- var StyledScrollUpButton = styled91(ScrollUpButton)`
17094
+ var StyledScrollUpButton = styled92(ScrollUpButton)`
17016
17095
  ${scrollButtonStyles}
17017
17096
  `;
17018
17097
  var Select = forwardRef34(
@@ -17044,8 +17123,8 @@ var Select = forwardRef34(
17044
17123
  $fullWidth: responsiveFullWidth,
17045
17124
  ...props,
17046
17125
  children: [
17047
- /* @__PURE__ */ jsx309(Value, { placeholder }),
17048
- /* @__PURE__ */ jsx309(
17126
+ /* @__PURE__ */ jsx310(Value, { placeholder }),
17127
+ /* @__PURE__ */ jsx310(
17049
17128
  Icon,
17050
17129
  {
17051
17130
  size: "md",
@@ -17055,16 +17134,16 @@ var Select = forwardRef34(
17055
17134
  ]
17056
17135
  }
17057
17136
  ),
17058
- /* @__PURE__ */ jsx309(Portal2, { children: /* @__PURE__ */ jsxs61(StyledContent3, { position: "popper", children: [
17059
- /* @__PURE__ */ jsx309(StyledScrollUpButton, { children: /* @__PURE__ */ jsx309(
17137
+ /* @__PURE__ */ jsx310(Portal2, { children: /* @__PURE__ */ jsxs61(StyledContent3, { position: "popper", children: [
17138
+ /* @__PURE__ */ jsx310(StyledScrollUpButton, { children: /* @__PURE__ */ jsx310(
17060
17139
  Icon,
17061
17140
  {
17062
17141
  size: "sm",
17063
17142
  type: "caret-up"
17064
17143
  }
17065
17144
  ) }),
17066
- /* @__PURE__ */ jsx309(Viewport, { children }),
17067
- /* @__PURE__ */ jsx309(StyledScrollDownButton, { children: /* @__PURE__ */ jsx309(
17145
+ /* @__PURE__ */ jsx310(Viewport, { children }),
17146
+ /* @__PURE__ */ jsx310(StyledScrollDownButton, { children: /* @__PURE__ */ jsx310(
17068
17147
  Icon,
17069
17148
  {
17070
17149
  size: "sm",
@@ -17080,10 +17159,10 @@ Select.displayName = "Select_UI";
17080
17159
  // src/components/Select/SelectOption.tsx
17081
17160
  import { Item, ItemText, ItemIndicator } from "@radix-ui/react-select";
17082
17161
  import { forwardRef as forwardRef35 } from "react";
17083
- import { styled as styled92 } from "styled-components";
17162
+ import { styled as styled93 } from "styled-components";
17084
17163
  import { isNotNil as isNotNil37 } from "@wistia/type-guards";
17085
- import { jsx as jsx310, jsxs as jsxs62 } from "react/jsx-runtime";
17086
- var StyledItem = styled92(Item)`
17164
+ import { jsx as jsx311, jsxs as jsxs62 } from "react/jsx-runtime";
17165
+ var StyledItem = styled93(Item)`
17087
17166
  ${getTypographicStyles("label3")}
17088
17167
  align-items: ${({ $checkmarkVerticalAlign }) => $checkmarkVerticalAlign === "center" ? "center" : "flex-start"};
17089
17168
  background-color: transparent;
@@ -17120,9 +17199,9 @@ var SelectOption = forwardRef35(
17120
17199
  children: [
17121
17200
  isNotNil37(selectedDisplayValue) ? /* @__PURE__ */ jsxs62("div", { children: [
17122
17201
  children,
17123
- /* @__PURE__ */ jsx310("div", { style: { display: "none" }, children: /* @__PURE__ */ jsx310(ItemText, { children: selectedDisplayValue }) })
17124
- ] }) : /* @__PURE__ */ jsx310(ItemText, { children }),
17125
- /* @__PURE__ */ jsx310(ItemIndicator, { children: /* @__PURE__ */ jsx310(
17202
+ /* @__PURE__ */ jsx311("div", { style: { display: "none" }, children: /* @__PURE__ */ jsx311(ItemText, { children: selectedDisplayValue }) })
17203
+ ] }) : /* @__PURE__ */ jsx311(ItemText, { children }),
17204
+ /* @__PURE__ */ jsx311(ItemIndicator, { children: /* @__PURE__ */ jsx311(
17126
17205
  Icon,
17127
17206
  {
17128
17207
  size: "md",
@@ -17138,14 +17217,14 @@ SelectOption.displayName = "SelectOption_UI";
17138
17217
 
17139
17218
  // src/components/Select/SelectOptionGroup.tsx
17140
17219
  import { Group, Label as Label3 } from "@radix-ui/react-select";
17141
- import { styled as styled93 } from "styled-components";
17142
- import { jsx as jsx311, jsxs as jsxs63 } from "react/jsx-runtime";
17143
- var StyledLabel4 = styled93(Label3)`
17220
+ import { styled as styled94 } from "styled-components";
17221
+ import { jsx as jsx312, jsxs as jsxs63 } from "react/jsx-runtime";
17222
+ var StyledLabel4 = styled94(Label3)`
17144
17223
  padding: var(--wui-select-option-padding);
17145
17224
  `;
17146
17225
  var SelectOptionGroup = ({ children, label, ...props }) => {
17147
17226
  return /* @__PURE__ */ jsxs63(Group, { ...props, children: [
17148
- /* @__PURE__ */ jsx311(StyledLabel4, { children: /* @__PURE__ */ jsx311(
17227
+ /* @__PURE__ */ jsx312(StyledLabel4, { children: /* @__PURE__ */ jsx312(
17149
17228
  Heading,
17150
17229
  {
17151
17230
  renderAs: "span",
@@ -17164,10 +17243,10 @@ import {
17164
17243
  Range as RadixSliderRange,
17165
17244
  Thumb as RadixSliderThumb
17166
17245
  } from "@radix-ui/react-slider";
17167
- import { styled as styled94 } from "styled-components";
17246
+ import { styled as styled95 } from "styled-components";
17168
17247
  import { isNonEmptyString as isNonEmptyString9 } from "@wistia/type-guards";
17169
- import { jsx as jsx312, jsxs as jsxs64 } from "react/jsx-runtime";
17170
- var SliderContainer = styled94.div`
17248
+ import { jsx as jsx313, jsxs as jsxs64 } from "react/jsx-runtime";
17249
+ var SliderContainer = styled95.div`
17171
17250
  --wui-slider-track-color: var(--wui-gray-6);
17172
17251
  --wui-slider-track-border-radius: var(--wui-border-radius-rounded);
17173
17252
  --wui-slider-range-color: var(--wui-color-bg-fill);
@@ -17183,7 +17262,7 @@ var SliderContainer = styled94.div`
17183
17262
  pointer-events: none;
17184
17263
  }
17185
17264
  `;
17186
- var StyledSliderRoot = styled94(RadixSliderRoot)`
17265
+ var StyledSliderRoot = styled95(RadixSliderRoot)`
17187
17266
  position: relative;
17188
17267
  display: flex;
17189
17268
  align-items: center;
@@ -17191,20 +17270,20 @@ var StyledSliderRoot = styled94(RadixSliderRoot)`
17191
17270
  touch-action: none;
17192
17271
  width: 100%;
17193
17272
  `;
17194
- var StyledSliderTrack = styled94(RadixSliderTrack)`
17273
+ var StyledSliderTrack = styled95(RadixSliderTrack)`
17195
17274
  background-color: var(--wui-slider-track-color);
17196
17275
  border-radius: var(--wui-slider-track-border-radius);
17197
17276
  flex-grow: 1;
17198
17277
  height: 6px;
17199
17278
  position: relative;
17200
17279
  `;
17201
- var StyledSliderRange = styled94(RadixSliderRange)`
17280
+ var StyledSliderRange = styled95(RadixSliderRange)`
17202
17281
  background-color: var(--wui-slider-range-color);
17203
17282
  border-radius: var(--wui-slider-track-border-radius);
17204
17283
  height: 100%;
17205
17284
  position: absolute;
17206
17285
  `;
17207
- var StyledSliderThumb = styled94(RadixSliderThumb)`
17286
+ var StyledSliderThumb = styled95(RadixSliderThumb)`
17208
17287
  background-color: var(--wui-slider-thumb-color);
17209
17288
  border-radius: var(--wui-border-radius-rounded);
17210
17289
  cursor: grab;
@@ -17255,7 +17334,7 @@ var Slider = ({
17255
17334
  onChange(newValue);
17256
17335
  }
17257
17336
  };
17258
- return /* @__PURE__ */ jsx312(
17337
+ return /* @__PURE__ */ jsx313(
17259
17338
  SliderContainer,
17260
17339
  {
17261
17340
  ...otherProps,
@@ -17273,8 +17352,8 @@ var Slider = ({
17273
17352
  step,
17274
17353
  ...value ? { value } : {},
17275
17354
  children: [
17276
- /* @__PURE__ */ jsx312(StyledSliderTrack, { "data-testid": `${dataTestId}-track`, children: /* @__PURE__ */ jsx312(StyledSliderRange, { "data-testid": `${dataTestId}-range` }) }),
17277
- values.map((_, index) => /* @__PURE__ */ jsx312(
17355
+ /* @__PURE__ */ jsx313(StyledSliderTrack, { "data-testid": `${dataTestId}-track`, children: /* @__PURE__ */ jsx313(StyledSliderRange, { "data-testid": `${dataTestId}-range` }) }),
17356
+ values.map((_, index) => /* @__PURE__ */ jsx313(
17278
17357
  StyledSliderThumb,
17279
17358
  {
17280
17359
  "data-testid": `${dataTestId}-thumb-${index}`
@@ -17290,9 +17369,9 @@ var Slider = ({
17290
17369
  Slider.displayName = "Slider_UI";
17291
17370
 
17292
17371
  // src/components/Table/Table.tsx
17293
- import { styled as styled95, css as css47 } from "styled-components";
17294
- import { jsx as jsx313 } from "react/jsx-runtime";
17295
- var StyledTable = styled95.table`
17372
+ import { styled as styled96, css as css47 } from "styled-components";
17373
+ import { jsx as jsx314 } from "react/jsx-runtime";
17374
+ var StyledTable = styled96.table`
17296
17375
  width: 100%;
17297
17376
  border-collapse: collapse;
17298
17377
 
@@ -17321,7 +17400,7 @@ var Table = ({
17321
17400
  visuallyHiddenHeader = false,
17322
17401
  ...props
17323
17402
  }) => {
17324
- return /* @__PURE__ */ jsx313(
17403
+ return /* @__PURE__ */ jsx314(
17325
17404
  StyledTable,
17326
17405
  {
17327
17406
  $divided: divided,
@@ -17335,35 +17414,35 @@ var Table = ({
17335
17414
 
17336
17415
  // src/components/Table/TableBody.tsx
17337
17416
  import "react";
17338
- import { styled as styled96 } from "styled-components";
17417
+ import { styled as styled97 } from "styled-components";
17339
17418
 
17340
17419
  // src/components/Table/TableSectionContext.ts
17341
17420
  import { createContext as createContext11 } from "react";
17342
17421
  var TableSectionContext = createContext11(null);
17343
17422
 
17344
17423
  // src/components/Table/TableBody.tsx
17345
- import { jsx as jsx314 } from "react/jsx-runtime";
17346
- var StyledTableBody = styled96.tbody``;
17424
+ import { jsx as jsx315 } from "react/jsx-runtime";
17425
+ var StyledTableBody = styled97.tbody``;
17347
17426
  var TableBody = ({ children, ...props }) => {
17348
- return /* @__PURE__ */ jsx314(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ jsx314(StyledTableBody, { ...props, children }) });
17427
+ return /* @__PURE__ */ jsx315(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ jsx315(StyledTableBody, { ...props, children }) });
17349
17428
  };
17350
17429
 
17351
17430
  // src/components/Table/TableCell.tsx
17352
17431
  import { useContext as useContext17 } from "react";
17353
- import { styled as styled97, css as css48 } from "styled-components";
17354
- import { jsx as jsx315 } from "react/jsx-runtime";
17432
+ import { styled as styled98, css as css48 } from "styled-components";
17433
+ import { jsx as jsx316 } from "react/jsx-runtime";
17355
17434
  var sharedStyles = css48`
17356
17435
  color: var(--wui-color-text);
17357
17436
  padding: var(--wui-space-02);
17358
17437
  text-align: left;
17359
17438
  `;
17360
- var StyledTh = styled97.th`
17439
+ var StyledTh = styled98.th`
17361
17440
  ${sharedStyles}
17362
17441
  font-size: var(--wui-typography-body-4-size);
17363
17442
  font-weight: var(--wui-typography-weight-label-bold);
17364
17443
  line-height: var(--wui-typography-body-4-line-height);
17365
17444
  `;
17366
- var StyledTd = styled97.td`
17445
+ var StyledTd = styled98.td`
17367
17446
  ${sharedStyles}
17368
17447
  font-size: var(--wui-typography-body-2-size);
17369
17448
  font-weight: var(--wui-typography-body-2-weight);
@@ -17372,35 +17451,35 @@ var StyledTd = styled97.td`
17372
17451
  var TableCell = ({ children, ...props }) => {
17373
17452
  const section = useContext17(TableSectionContext);
17374
17453
  if (section === "head") {
17375
- return /* @__PURE__ */ jsx315(StyledTh, { ...props, children });
17454
+ return /* @__PURE__ */ jsx316(StyledTh, { ...props, children });
17376
17455
  }
17377
- return /* @__PURE__ */ jsx315(StyledTd, { ...props, children });
17456
+ return /* @__PURE__ */ jsx316(StyledTd, { ...props, children });
17378
17457
  };
17379
17458
 
17380
17459
  // src/components/Table/TableFoot.tsx
17381
17460
  import "react";
17382
- import { styled as styled98 } from "styled-components";
17383
- import { jsx as jsx316 } from "react/jsx-runtime";
17384
- var StyledTableFoot = styled98.tfoot``;
17461
+ import { styled as styled99 } from "styled-components";
17462
+ import { jsx as jsx317 } from "react/jsx-runtime";
17463
+ var StyledTableFoot = styled99.tfoot``;
17385
17464
  var TableFoot = ({ children, ...props }) => {
17386
- return /* @__PURE__ */ jsx316(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ jsx316(StyledTableFoot, { ...props, children }) });
17465
+ return /* @__PURE__ */ jsx317(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ jsx317(StyledTableFoot, { ...props, children }) });
17387
17466
  };
17388
17467
 
17389
17468
  // src/components/Table/TableHead.tsx
17390
17469
  import "react";
17391
- import { styled as styled99 } from "styled-components";
17392
- import { jsx as jsx317 } from "react/jsx-runtime";
17393
- var StyledThead = styled99.thead``;
17470
+ import { styled as styled100 } from "styled-components";
17471
+ import { jsx as jsx318 } from "react/jsx-runtime";
17472
+ var StyledThead = styled100.thead``;
17394
17473
  var TableHead = ({ children, ...props }) => {
17395
- return /* @__PURE__ */ jsx317(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ jsx317(StyledThead, { ...props, children }) });
17474
+ return /* @__PURE__ */ jsx318(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ jsx318(StyledThead, { ...props, children }) });
17396
17475
  };
17397
17476
 
17398
17477
  // src/components/Table/TableRow.tsx
17399
- import { styled as styled100 } from "styled-components";
17400
- import { jsx as jsx318 } from "react/jsx-runtime";
17401
- var StyledTableRow = styled100.tr``;
17478
+ import { styled as styled101 } from "styled-components";
17479
+ import { jsx as jsx319 } from "react/jsx-runtime";
17480
+ var StyledTableRow = styled101.tr``;
17402
17481
  var TableRow = ({ children, ...props }) => {
17403
- return /* @__PURE__ */ jsx318(StyledTableRow, { ...props, children });
17482
+ return /* @__PURE__ */ jsx319(StyledTableRow, { ...props, children });
17404
17483
  };
17405
17484
 
17406
17485
  // src/components/Tabs/Tabs.tsx
@@ -17421,7 +17500,7 @@ var useTabsValue = () => {
17421
17500
  };
17422
17501
 
17423
17502
  // src/components/Tabs/Tabs.tsx
17424
- import { jsx as jsx319 } from "react/jsx-runtime";
17503
+ import { jsx as jsx320 } from "react/jsx-runtime";
17425
17504
  var Tabs = ({
17426
17505
  children,
17427
17506
  value: valueProp,
@@ -17449,42 +17528,42 @@ var Tabs = ({
17449
17528
  if (isNotNil38(defaultValue)) {
17450
17529
  rootProps.defaultValue = defaultValue;
17451
17530
  }
17452
- return /* @__PURE__ */ jsx319(RadixTabsRoot, { ...rootProps, children: /* @__PURE__ */ jsx319(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ jsx319(SelectedItemStyleProvider, { children }) }) });
17531
+ return /* @__PURE__ */ jsx320(RadixTabsRoot, { ...rootProps, children: /* @__PURE__ */ jsx320(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ jsx320(SelectedItemStyleProvider, { children }) }) });
17453
17532
  };
17454
17533
  Tabs.displayName = "Tabs_UI";
17455
17534
 
17456
17535
  // src/components/Tabs/TabsContent.tsx
17457
17536
  import { Content as RadixTabsContent } from "@radix-ui/react-tabs";
17458
- import { jsx as jsx320 } from "react/jsx-runtime";
17537
+ import { jsx as jsx321 } from "react/jsx-runtime";
17459
17538
  var TabsContent = ({ children, value }) => {
17460
- return /* @__PURE__ */ jsx320(RadixTabsContent, { value, children });
17539
+ return /* @__PURE__ */ jsx321(RadixTabsContent, { value, children });
17461
17540
  };
17462
17541
  TabsContent.displayName = "TabsContent_UI";
17463
17542
 
17464
17543
  // src/components/Tabs/TabsList.tsx
17465
17544
  import { List as RadixTabList } from "@radix-ui/react-tabs";
17466
- import { styled as styled102 } from "styled-components";
17545
+ import { styled as styled103 } from "styled-components";
17467
17546
 
17468
17547
  // src/components/Tabs/SelectedTabIndicator.tsx
17469
17548
  import { isUndefined as isUndefined6 } from "@wistia/type-guards";
17470
17549
 
17471
17550
  // src/components/Tabs/TabsSelectedItemIndicatorDiv.tsx
17472
- import { styled as styled101 } from "styled-components";
17473
- var TabsSelectedItemIndicatorDiv = styled101(SelectedItemIndicatorDiv)`
17551
+ import { styled as styled102 } from "styled-components";
17552
+ var TabsSelectedItemIndicatorDiv = styled102(SelectedItemIndicatorDiv)`
17474
17553
  &:has(~ button[role='tab']:focus-visible) {
17475
17554
  outline: 2px solid var(--wui-color-focus-ring);
17476
17555
  }
17477
17556
  `;
17478
17557
 
17479
17558
  // src/components/Tabs/SelectedTabIndicator.tsx
17480
- import { jsx as jsx321 } from "react/jsx-runtime";
17559
+ import { jsx as jsx322 } from "react/jsx-runtime";
17481
17560
  var SelectedTabIndicator = () => {
17482
17561
  const { selectedItemIndicatorStyle } = useSelectedItemStyle();
17483
17562
  const selectedValue = useTabsValue();
17484
17563
  if (selectedValue == null || isUndefined6(selectedItemIndicatorStyle)) {
17485
17564
  return null;
17486
17565
  }
17487
- return /* @__PURE__ */ jsx321(
17566
+ return /* @__PURE__ */ jsx322(
17488
17567
  TabsSelectedItemIndicatorDiv,
17489
17568
  {
17490
17569
  "data-wui-selected-item-indicator": true,
@@ -17494,8 +17573,8 @@ var SelectedTabIndicator = () => {
17494
17573
  };
17495
17574
 
17496
17575
  // src/components/Tabs/TabsList.tsx
17497
- import { jsx as jsx322, jsxs as jsxs65 } from "react/jsx-runtime";
17498
- var StyledRadixTabsList = styled102(RadixTabList)`
17576
+ import { jsx as jsx323, jsxs as jsxs65 } from "react/jsx-runtime";
17577
+ var StyledRadixTabsList = styled103(RadixTabList)`
17499
17578
  ${segmentedControlStyles}
17500
17579
  `;
17501
17580
  var TabsList = ({ children, fullWidth = true, ...props }) => {
@@ -17506,7 +17585,7 @@ var TabsList = ({ children, fullWidth = true, ...props }) => {
17506
17585
  "aria-label": props["aria-label"],
17507
17586
  children: [
17508
17587
  children,
17509
- /* @__PURE__ */ jsx322(SelectedTabIndicator, {})
17588
+ /* @__PURE__ */ jsx323(SelectedTabIndicator, {})
17510
17589
  ]
17511
17590
  }
17512
17591
  );
@@ -17518,9 +17597,9 @@ import { forwardRef as forwardRef36, useEffect as useEffect22, useRef as useRef2
17518
17597
  import { isNotNil as isNotNil39 } from "@wistia/type-guards";
17519
17598
 
17520
17599
  // src/components/Tabs/StyledRadixTabsTrigger.tsx
17521
- import { styled as styled103 } from "styled-components";
17600
+ import { styled as styled104 } from "styled-components";
17522
17601
  import { Trigger as RadixTabsTrigger } from "@radix-ui/react-tabs";
17523
- var StyledRadixTabsTrigger = styled103(RadixTabsTrigger)`
17602
+ var StyledRadixTabsTrigger = styled104(RadixTabsTrigger)`
17524
17603
  ${segmentedControlItemStyles}
17525
17604
 
17526
17605
  &:focus-visible {
@@ -17581,14 +17660,14 @@ var TabsTrigger = forwardRef36(
17581
17660
  TabsTrigger.displayName = "TabsTrigger_UI";
17582
17661
 
17583
17662
  // src/components/Thumbnail/ThumbnailBadge.tsx
17584
- import { styled as styled104 } from "styled-components";
17663
+ import { styled as styled105 } from "styled-components";
17585
17664
  import { isNotNil as isNotNil40 } from "@wistia/type-guards";
17586
- import { jsx as jsx323, jsxs as jsxs67 } from "react/jsx-runtime";
17587
- var StyledThumbnailBadge = styled104.div`
17665
+ import { jsx as jsx324, jsxs as jsxs67 } from "react/jsx-runtime";
17666
+ var StyledThumbnailBadge = styled105.div`
17588
17667
  align-items: center;
17589
17668
  background-color: rgb(0 0 0 / 50%);
17590
17669
  border-radius: var(--wui-border-radius-01);
17591
- bottom: var(--wui-space-01);
17670
+ bottom: var(--wui-thumbnail-badge-offset);
17592
17671
  color: var(--wui-color-text-on-fill);
17593
17672
  display: flex;
17594
17673
  font-size: var(--wui-typography-body-4-size);
@@ -17596,7 +17675,7 @@ var StyledThumbnailBadge = styled104.div`
17596
17675
  gap: var(--wui-space-01);
17597
17676
  padding: 0 var(--wui-space-01);
17598
17677
  position: absolute;
17599
- right: var(--wui-space-01);
17678
+ right: var(--wui-thumbnail-badge-offset);
17600
17679
  z-index: 1;
17601
17680
 
17602
17681
  svg {
@@ -17612,15 +17691,22 @@ var StyledThumbnailBadge = styled104.div`
17612
17691
  var ThumbnailBadge = ({ icon, label, ...props }) => {
17613
17692
  return /* @__PURE__ */ jsxs67(StyledThumbnailBadge, { ...props, children: [
17614
17693
  isNotNil40(icon) && icon,
17615
- /* @__PURE__ */ jsx323("span", { children: label })
17694
+ /* @__PURE__ */ jsx324("span", { children: label })
17616
17695
  ] });
17617
17696
  };
17618
17697
  ThumbnailBadge.displayName = "ThumbnailBadge_UI";
17619
17698
 
17620
17699
  // src/components/Thumbnail/Thumbnail.tsx
17621
17700
  import { forwardRef as forwardRef37, useState as useState26, useRef as useRef24, useCallback as useCallback20, useMemo as useMemo17 } from "react";
17622
- import { styled as styled106 } from "styled-components";
17623
- import { isNil as isNil19, isNotNil as isNotNil43, isUndefined as isUndefined7, isEmptyString as isEmptyString2, isString as isString4 } from "@wistia/type-guards";
17701
+ import { styled as styled107 } from "styled-components";
17702
+ import {
17703
+ isNil as isNil19,
17704
+ isNotNil as isNotNil43,
17705
+ isUndefined as isUndefined7,
17706
+ isEmptyString as isEmptyString2,
17707
+ isString as isString4,
17708
+ isNonEmptyString as isNonEmptyString10
17709
+ } from "@wistia/type-guards";
17624
17710
 
17625
17711
  // src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
17626
17712
  import { isNotNil as isNotNil41 } from "@wistia/type-guards";
@@ -17755,10 +17841,10 @@ var getBackgroundGradient = (gradientName = void 0) => {
17755
17841
  };
17756
17842
 
17757
17843
  // src/components/Thumbnail/ThumbnailStoryboardViewer.tsx
17758
- import { styled as styled105 } from "styled-components";
17844
+ import { styled as styled106 } from "styled-components";
17759
17845
  import { isNotNil as isNotNil42 } from "@wistia/type-guards";
17760
- import { jsx as jsx324, jsxs as jsxs68 } from "react/jsx-runtime";
17761
- var ScrubLine = styled105.div`
17846
+ import { jsx as jsx325, jsxs as jsxs68 } from "react/jsx-runtime";
17847
+ var ScrubLine = styled106.div`
17762
17848
  position: absolute;
17763
17849
  top: 0;
17764
17850
  height: 100%;
@@ -17875,8 +17961,8 @@ var ThumbnailStoryboardViewer = ({
17875
17961
  ...props,
17876
17962
  style: viewerStyles,
17877
17963
  children: [
17878
- /* @__PURE__ */ jsx324("div", { style: storyboardStyles }),
17879
- showScrubLine ? /* @__PURE__ */ jsx324(
17964
+ /* @__PURE__ */ jsx325("div", { style: storyboardStyles }),
17965
+ showScrubLine ? /* @__PURE__ */ jsx325(
17880
17966
  ScrubLine,
17881
17967
  {
17882
17968
  style: {
@@ -17890,7 +17976,7 @@ var ThumbnailStoryboardViewer = ({
17890
17976
  };
17891
17977
 
17892
17978
  // src/components/Thumbnail/Thumbnail.tsx
17893
- import { jsx as jsx325, jsxs as jsxs69 } from "react/jsx-runtime";
17979
+ import { jsx as jsx326, jsxs as jsxs69 } from "react/jsx-runtime";
17894
17980
  var WIDE_ASPECT_RATIO = 16 / 9;
17895
17981
  var SQUARE_ASPECT_RATIO = 1;
17896
17982
  var getAspectRatioValue = (aspectRatio) => {
@@ -17899,19 +17985,19 @@ var getAspectRatioValue = (aspectRatio) => {
17899
17985
  }
17900
17986
  return WIDE_ASPECT_RATIO;
17901
17987
  };
17902
- var WideThumbnailImage = styled106.img`
17988
+ var WideThumbnailImage = styled107.img`
17903
17989
  height: 100%;
17904
17990
  object-fit: cover;
17905
17991
  width: 100%;
17906
17992
  `;
17907
- var SquareThumbnailImage = styled106.img`
17993
+ var SquareThumbnailImage = styled107.img`
17908
17994
  backdrop-filter: blur(8px);
17909
17995
  object-fit: contain;
17910
17996
  width: 100%;
17911
17997
  `;
17912
17998
  var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
17913
17999
  if (thumbnailImageType === "wide") {
17914
- return /* @__PURE__ */ jsx325(
18000
+ return /* @__PURE__ */ jsx326(
17915
18001
  WideThumbnailImage,
17916
18002
  {
17917
18003
  alt: "",
@@ -17920,7 +18006,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
17920
18006
  }
17921
18007
  );
17922
18008
  }
17923
- return /* @__PURE__ */ jsx325(
18009
+ return /* @__PURE__ */ jsx326(
17924
18010
  SquareThumbnailImage,
17925
18011
  {
17926
18012
  alt: "",
@@ -17929,7 +18015,17 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
17929
18015
  }
17930
18016
  );
17931
18017
  };
17932
- var StyledThumbnail = styled106.div`
18018
+ var StyledThumbnailContainer = styled107.div`
18019
+ container-type: size;
18020
+ aspect-ratio: ${({ $aspectRatio }) => getAspectRatioValue($aspectRatio)};
18021
+ width: ${({ $width }) => $width};
18022
+ display: flex;
18023
+ overflow: hidden;
18024
+ ${({ $isScrubbable }) => $isScrubbable && "cursor: pointer;"}
18025
+ `;
18026
+ var StyledThumbnail = styled107.div`
18027
+ --wui-thumbnail-badge-offset: var(--wui-space-01);
18028
+
17933
18029
  background-image: ${({ $backgroundUrl }) => isNotNil43($backgroundUrl) ? `url('${$backgroundUrl}')` : void 0};
17934
18030
  ${({ $backgroundUrl, $gradientBackground }) => (
17935
18031
  // if we don't have $backgroundUrl show a gradient
@@ -17937,21 +18033,14 @@ var StyledThumbnail = styled106.div`
17937
18033
  )};
17938
18034
  background-position: center center;
17939
18035
  background-size: cover;
17940
- aspect-ratio: ${({ $aspectRatio }) => getAspectRatioValue($aspectRatio)};
17941
18036
  display: flex;
18037
+ width: 100%;
17942
18038
  overflow: hidden;
17943
18039
  position: relative;
17944
- width: ${({ $width }) => $width};
17945
- ${({ $isScrubbable }) => $isScrubbable && "cursor: pointer;"}
18040
+ border-radius: clamp(var(--wui-border-radius-01), 8cqh, var(--wui-border-radius-05));
17946
18041
 
17947
- &,
17948
- img {
17949
- border-radius: ${({ $aspectRatio }) => {
17950
- if ($aspectRatio === "square") {
17951
- return "8%";
17952
- }
17953
- return `calc(8% * (9 / 16)) / 8%`;
17954
- }};
18042
+ @container (min-width: 200px) {
18043
+ --wui-thumbnail-badge-offset: var(--wui-space-02);
17955
18044
  }
17956
18045
  `;
17957
18046
  var StoryboardRenderer = ({
@@ -17965,7 +18054,7 @@ var StoryboardRenderer = ({
17965
18054
  const { url, width: sbWidth, height: sbHeight, frameHeight, frameWidth, frameCount } = storyboard;
17966
18055
  const targetWidth = isString4(width) ? parseInt(width, 10) : Number(width);
17967
18056
  const effectiveCursorPosition = isStoryboardReady ? cursorPosition : null;
17968
- return /* @__PURE__ */ jsx325(
18057
+ return /* @__PURE__ */ jsx326(
17969
18058
  ThumbnailStoryboardViewer,
17970
18059
  {
17971
18060
  cursorPosition: effectiveCursorPosition,
@@ -17990,6 +18079,9 @@ var getRelativeMousePosition = (elem, mouseEvent) => {
17990
18079
  left: relativeLeft
17991
18080
  };
17992
18081
  };
18082
+ var hasValidThumbnailUrl = (thumbnailUrl) => {
18083
+ return isNotNil43(thumbnailUrl) && isNonEmptyString10(thumbnailUrl);
18084
+ };
17993
18085
  var Thumbnail = forwardRef37(
17994
18086
  ({
17995
18087
  gradientBackground = "defaultMidOne",
@@ -18008,7 +18100,7 @@ var Thumbnail = forwardRef37(
18008
18100
  const storyboardElementRef = useRef24(null);
18009
18101
  const [cursorPosition, setCursorPosition] = useState26(null);
18010
18102
  const backgroundUrl = useMemo17(
18011
- () => thumbnailImageType === "square" && isNotNil43(thumbnailUrl) ? thumbnailUrl : void 0,
18103
+ () => thumbnailImageType === "square" && hasValidThumbnailUrl(thumbnailUrl) ? thumbnailUrl : void 0,
18012
18104
  [thumbnailImageType, thumbnailUrl]
18013
18105
  );
18014
18106
  const isScrubbable = isNotNil43(storyboard);
@@ -18048,7 +18140,7 @@ var Thumbnail = forwardRef37(
18048
18140
  }, [isScrubbable, isMouseOver, isStoryboardReady, storyboard, height]);
18049
18141
  let thumbnailContent = null;
18050
18142
  if (storyboard && shouldRenderStoryboard) {
18051
- thumbnailContent = /* @__PURE__ */ jsx325(
18143
+ thumbnailContent = /* @__PURE__ */ jsx326(
18052
18144
  StoryboardRenderer,
18053
18145
  {
18054
18146
  aspectRatio,
@@ -18059,8 +18151,8 @@ var Thumbnail = forwardRef37(
18059
18151
  width
18060
18152
  }
18061
18153
  );
18062
- } else if (isNotNil43(thumbnailUrl)) {
18063
- thumbnailContent = /* @__PURE__ */ jsx325(
18154
+ } else if (hasValidThumbnailUrl(thumbnailUrl)) {
18155
+ thumbnailContent = /* @__PURE__ */ jsx326(
18064
18156
  ThumbnailImage,
18065
18157
  {
18066
18158
  thumbnailImageType,
@@ -18070,24 +18162,31 @@ var Thumbnail = forwardRef37(
18070
18162
  } else {
18071
18163
  thumbnailContent = null;
18072
18164
  }
18073
- return /* @__PURE__ */ jsxs69(
18074
- StyledThumbnail,
18165
+ return /* @__PURE__ */ jsx326(
18166
+ StyledThumbnailContainer,
18075
18167
  {
18076
18168
  ref,
18077
- ...props,
18078
18169
  $aspectRatio: aspectRatio,
18079
- $backgroundUrl: backgroundUrl,
18080
- $gradientBackground: gradientBackground,
18081
18170
  $isScrubbable: isScrubbable,
18082
18171
  $width: width,
18172
+ "data-wui-thumbnail-container": true,
18083
18173
  onBlur: handleMouseOut,
18084
18174
  onMouseMove: handleMouseMove,
18085
18175
  onMouseOut: handleMouseOut,
18086
18176
  role: "presentation",
18087
- children: [
18088
- isNotNil43(children) ? children : null,
18089
- thumbnailContent
18090
- ]
18177
+ ...props,
18178
+ children: /* @__PURE__ */ jsxs69(
18179
+ StyledThumbnail,
18180
+ {
18181
+ $backgroundUrl: backgroundUrl,
18182
+ $gradientBackground: gradientBackground,
18183
+ "data-testid": "thumbnail-inner",
18184
+ children: [
18185
+ isNotNil43(children) ? children : null,
18186
+ thumbnailContent
18187
+ ]
18188
+ }
18189
+ )
18091
18190
  }
18092
18191
  );
18093
18192
  }
@@ -18096,75 +18195,57 @@ Thumbnail.displayName = "Thumbnail_UI";
18096
18195
 
18097
18196
  // src/components/ThumbnailCollage/ThumbnailCollage.tsx
18098
18197
  import React5 from "react";
18099
- import { styled as styled107 } from "styled-components";
18198
+ import { styled as styled108 } from "styled-components";
18100
18199
  import { isNonEmptyArray } from "@wistia/type-guards";
18101
- import { jsx as jsx326 } from "react/jsx-runtime";
18102
- var StyledThumbnailCollage = styled107.div`
18200
+ import { jsx as jsx327 } from "react/jsx-runtime";
18201
+ var ThumbnailCollageContainer = styled108.div`
18202
+ container-type: size;
18203
+ width: 100%;
18204
+ aspect-ratio: 16 / 9;
18205
+ display: flex;
18206
+ `;
18207
+ var StyledThumbnailCollage = styled108.div`
18103
18208
  display: grid;
18104
18209
  gap: var(--wui-space-01);
18105
18210
  width: 100%;
18106
18211
  grid-template-columns: 3fr 2fr;
18107
18212
  grid-template-rows: 1fr 1fr;
18108
- aspect-ratio: 16 / 9;
18109
18213
 
18110
18214
  &:has(:nth-child(1)) {
18111
- --wui-collage-thumbnail-first-border-radius: calc(8% * (9 / 16)) / 8%;
18112
-
18113
18215
  grid-template-areas:
18114
18216
  'a a'
18115
18217
  'a a';
18116
18218
  }
18117
18219
 
18118
18220
  &:has(:nth-child(2)) {
18119
- --wui-collage-thumbnail-first-border-radius: 7.5% / 8%;
18120
- --wui-collage-thumbnail-second-border-radius: 11.5% / 8%;
18121
-
18122
18221
  grid-template-areas:
18123
18222
  'a b'
18124
18223
  'a b';
18125
18224
  }
18126
18225
 
18127
18226
  &:has(:nth-child(3)) {
18128
- --wui-collage-thumbnail-first-border-radius: 7.5% / 8%;
18129
- --wui-collage-thumbnail-second-border-radius: 11.5% / 16%;
18130
- --wui-collage-thumbnail-third-border-radius: 11.5% / 16%;
18131
-
18132
18227
  grid-template-areas:
18133
18228
  'a b'
18134
18229
  'a c';
18135
18230
  }
18136
18231
 
18137
18232
  > :nth-child(1) {
18138
- --wui-collage-thumbnail-border-radius: var(--wui-collage-thumbnail-first-border-radius);
18139
-
18140
18233
  grid-area: a;
18141
18234
  }
18142
18235
 
18143
18236
  > :nth-child(2) {
18144
- --wui-collage-thumbnail-border-radius: var(--wui-collage-thumbnail-second-border-radius);
18145
-
18146
18237
  grid-area: b;
18147
18238
  }
18148
18239
 
18149
18240
  > :nth-child(3) {
18150
- --wui-collage-thumbnail-border-radius: var(--wui-collage-thumbnail-third-border-radius);
18151
-
18152
18241
  grid-area: c;
18153
18242
  }
18154
18243
 
18155
- > * {
18244
+ [data-wui-thumbnail-container] {
18245
+ container-type: unset;
18156
18246
  aspect-ratio: unset;
18157
18247
  height: 100%;
18158
18248
  width: 100%;
18159
- border-radius: var(--wui-collage-thumbnail-border-radius);
18160
-
18161
- img {
18162
- border-radius: var(--wui-collage-thumbnail-border-radius);
18163
- }
18164
-
18165
- > :not(img) {
18166
- display: none;
18167
- }
18168
18249
  }
18169
18250
  `;
18170
18251
  var ThumbnailCollage = ({
@@ -18181,7 +18262,7 @@ var ThumbnailCollage = ({
18181
18262
  });
18182
18263
  }) : [
18183
18264
  // ThumbnailCollage will fallback to a Thumbnail with a gradient background if no children are provided
18184
- /* @__PURE__ */ jsx326(
18265
+ /* @__PURE__ */ jsx327(
18185
18266
  Thumbnail,
18186
18267
  {
18187
18268
  gradientBackground,
@@ -18190,7 +18271,7 @@ var ThumbnailCollage = ({
18190
18271
  "fallback"
18191
18272
  )
18192
18273
  ];
18193
- return /* @__PURE__ */ jsx326(
18274
+ return /* @__PURE__ */ jsx327(ThumbnailCollageContainer, { children: /* @__PURE__ */ jsx327(
18194
18275
  StyledThumbnailCollage,
18195
18276
  {
18196
18277
  $gradientBackground: gradientBackground,
@@ -18198,30 +18279,30 @@ var ThumbnailCollage = ({
18198
18279
  ...props,
18199
18280
  children: thumbnails
18200
18281
  }
18201
- );
18282
+ ) });
18202
18283
  };
18203
18284
 
18204
18285
  // src/components/WistiaLogo/WistiaLogo.tsx
18205
- import { styled as styled108, css as css50 } from "styled-components";
18286
+ import { styled as styled109, css as css50 } from "styled-components";
18206
18287
  import { isNotNil as isNotNil44 } from "@wistia/type-guards";
18207
- import { jsx as jsx327, jsxs as jsxs70 } from "react/jsx-runtime";
18288
+ import { jsx as jsx328, jsxs as jsxs70 } from "react/jsx-runtime";
18208
18289
  var renderBrandmark = (brandmarkColor, iconOnly) => {
18209
18290
  if (iconOnly) {
18210
- return /* @__PURE__ */ jsx327(
18291
+ return /* @__PURE__ */ jsx328(
18211
18292
  "g",
18212
18293
  {
18213
18294
  "data-testid": "ui-wistia-logo-brandmark",
18214
18295
  fill: brandmarkColor,
18215
- children: /* @__PURE__ */ jsx327("path", { d: "M16.09 17.1h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 26.53c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87ZM32.14 0c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
18296
+ children: /* @__PURE__ */ jsx328("path", { d: "M16.09 17.1h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 26.53c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87ZM32.14 0c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
18216
18297
  }
18217
18298
  );
18218
18299
  }
18219
- return /* @__PURE__ */ jsx327(
18300
+ return /* @__PURE__ */ jsx328(
18220
18301
  "g",
18221
18302
  {
18222
18303
  "data-testid": "ui-wistia-logo-brandmark",
18223
18304
  fill: brandmarkColor,
18224
- children: /* @__PURE__ */ jsx327("path", { d: "M16.09 21.37h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 30.8c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87Zm16.05-17.1c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
18305
+ children: /* @__PURE__ */ jsx328("path", { d: "M16.09 21.37h-5.2c-1.58 0-3.08.68-4.11 1.87L.21 30.8c4.78.25 9.78.25 13.3.25 18.31 0 20.89-11.27 20.89-16.55-1.59 1.93-6.06 6.87-18.32 6.87Zm16.05-17.1c-.08.92-.59 4.69-11.31 4.69-8.72 0-12.24 0-20.83-.17l6.44 7.4a6.657 6.657 0 0 0 4.96 2.3c2.13.03 5.05.06 5.53.06 11.01 0 17.19-5.05 17.19-9.89 0-2.01-.67-3.44-1.97-4.4Z" })
18225
18306
  }
18226
18307
  );
18227
18308
  };
@@ -18229,12 +18310,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
18229
18310
  if (iconOnly) {
18230
18311
  return null;
18231
18312
  }
18232
- return /* @__PURE__ */ jsx327(
18313
+ return /* @__PURE__ */ jsx328(
18233
18314
  "g",
18234
18315
  {
18235
18316
  "data-testid": "ui-wistia-logo-logotype",
18236
18317
  fill: logotypeColor,
18237
- children: /* @__PURE__ */ jsx327("path", { d: "M70.16 8.66v15.18c0 1.68-.35 3.09-1.05 4.23a6.612 6.612 0 0 1-2.85 2.54c-1.19.55-2.52.82-4.01.82s-2.8-.28-4.01-.85a6.655 6.655 0 0 1-3.11-2.96c-.08.15-.16.29-.24.42a6.552 6.552 0 0 1-2.87 2.54c-1.2.56-2.54.85-4.01.85s-2.8-.27-3.94-.82a6.214 6.214 0 0 1-2.71-2.52c-.67-1.14-1.01-2.56-1.02-4.25l-.22-15.18h7.34V22.3c0 .82.19 1.37.56 1.67.39.28.85.42 1.38.42s1.02-.15 1.45-.45c.43-.3.65-.85.65-1.65V8.65h7.3v13.64c0 .8.22 1.35.65 1.65.43.3.91.45 1.45.45s.99-.14 1.36-.42c.39-.3.58-.85.58-1.67V8.66h7.34Zm2.45 0v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89A3.43 3.43 0 0 0 78.28.44c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.13 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm8.86 1.96c-1.42.4-2.6 1.11-3.54 2.14-.93 1.02-1.4 2.4-1.4 4.12 0 1.11.17 2.09.51 2.94.36.85.82 1.62 1.38 2.34.22.28.55.65.98 1.11.37.4.64.72.8.96.18.24.27.47.27.69 0 .5-.4.87-1.2 1.09-.8.21-1.62.31-2.47.31-.1-.01-.22-.02-.33-.02l1.02 6.94c.42.07.92.11 1.51.11 1.9 0 3.6-.28 5.1-.85 1.5-.56 2.68-1.42 3.54-2.56.88-1.14 1.31-2.55 1.31-4.23 0-.68-.07-1.31-.22-1.87-.13-.58-.32-1.09-.56-1.54a6.64 6.64 0 0 0-.8-1.27c-.3-.37-.74-.82-1.34-1.36-.39-.33-.67-.59-.85-.8-.18-.22-.27-.45-.27-.67 0-.46.26-.79.78-.98.53-.19 1.17-.29 1.91-.29.25 0 .51.01.78.04l-.71-6.88a10.4 10.4 0 0 0-1.56-.11c-1.66 0-3.21.21-4.65.62Zm19.54 15.71c-.99 0-1.71-.23-2.14-.69-.42-.47-.62-1.18-.62-2.11v-6.57h4.21V8.66h-4.21V3.38l-7.34 1.85V24.1c0 2.45.47 4.29 1.4 5.52.95 1.22 2.45 1.83 4.49 1.83.95 0 1.86-.07 2.74-.22.88-.13 1.62-.34 2.25-.62l1.38-6.3c-.55.1-1.27.16-2.16.16Zm4.13-15.8v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89a3.43 3.43 0 0 0-1.42-1.27c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.14 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm27.51 1.87v22.26h-7.34v-2.28c-.41.43-.85.83-1.34 1.19-1.44 1.07-3.12 1.6-5.05 1.6s-3.61-.52-5.1-1.56c-1.48-1.05-2.63-2.47-3.45-4.25-.82-1.78-1.22-3.73-1.22-5.85s.41-4.07 1.22-5.83c.82-1.78 1.97-3.19 3.45-4.23 1.48-1.05 3.18-1.58 5.1-1.58s3.61.53 5.05 1.6c.48.36.93.75 1.34 1.19V8.66h7.34Zm-7.1 11.11c0-.8-.19-1.53-.56-2.18-.37-.67-.88-1.19-1.54-1.58-.64-.39-1.34-.58-2.09-.58s-1.45.19-2.09.58c-.64.39-1.15.91-1.54 1.58-.37.67-.56 1.39-.56 2.18s.19 1.51.56 2.18c.39.67.9 1.19 1.54 1.58.64.39 1.34.58 2.09.58s1.45-.19 2.09-.58c.65-.39 1.16-.91 1.54-1.56.37-.67.56-1.4.56-2.2Z" })
18318
+ children: /* @__PURE__ */ jsx328("path", { d: "M70.16 8.66v15.18c0 1.68-.35 3.09-1.05 4.23a6.612 6.612 0 0 1-2.85 2.54c-1.19.55-2.52.82-4.01.82s-2.8-.28-4.01-.85a6.655 6.655 0 0 1-3.11-2.96c-.08.15-.16.29-.24.42a6.552 6.552 0 0 1-2.87 2.54c-1.2.56-2.54.85-4.01.85s-2.8-.27-3.94-.82a6.214 6.214 0 0 1-2.71-2.52c-.67-1.14-1.01-2.56-1.02-4.25l-.22-15.18h7.34V22.3c0 .82.19 1.37.56 1.67.39.28.85.42 1.38.42s1.02-.15 1.45-.45c.43-.3.65-.85.65-1.65V8.65h7.3v13.64c0 .8.22 1.35.65 1.65.43.3.91.45 1.45.45s.99-.14 1.36-.42c.39-.3.58-.85.58-1.67V8.66h7.34Zm2.45 0v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89A3.43 3.43 0 0 0 78.28.44c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.13 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm8.86 1.96c-1.42.4-2.6 1.11-3.54 2.14-.93 1.02-1.4 2.4-1.4 4.12 0 1.11.17 2.09.51 2.94.36.85.82 1.62 1.38 2.34.22.28.55.65.98 1.11.37.4.64.72.8.96.18.24.27.47.27.69 0 .5-.4.87-1.2 1.09-.8.21-1.62.31-2.47.31-.1-.01-.22-.02-.33-.02l1.02 6.94c.42.07.92.11 1.51.11 1.9 0 3.6-.28 5.1-.85 1.5-.56 2.68-1.42 3.54-2.56.88-1.14 1.31-2.55 1.31-4.23 0-.68-.07-1.31-.22-1.87-.13-.58-.32-1.09-.56-1.54a6.64 6.64 0 0 0-.8-1.27c-.3-.37-.74-.82-1.34-1.36-.39-.33-.67-.59-.85-.8-.18-.22-.27-.45-.27-.67 0-.46.26-.79.78-.98.53-.19 1.17-.29 1.91-.29.25 0 .51.01.78.04l-.71-6.88a10.4 10.4 0 0 0-1.56-.11c-1.66 0-3.21.21-4.65.62Zm19.54 15.71c-.99 0-1.71-.23-2.14-.69-.42-.47-.62-1.18-.62-2.11v-6.57h4.21V8.66h-4.21V3.38l-7.34 1.85V24.1c0 2.45.47 4.29 1.4 5.52.95 1.22 2.45 1.83 4.49 1.83.95 0 1.86-.07 2.74-.22.88-.13 1.62-.34 2.25-.62l1.38-6.3c-.55.1-1.27.16-2.16.16Zm4.13-15.8v22.26h7.34V8.66h-7.34Zm5.67-1.87c.61-.3 1.08-.71 1.42-1.25.36-.55.53-1.19.53-1.94s-.18-1.34-.53-1.89a3.43 3.43 0 0 0-1.42-1.27c-.59-.3-1.25-.45-1.98-.45s-1.42.15-2.02.45c-.59.3-1.07.72-1.42 1.27-.36.55-.53 1.18-.53 1.89 0 1.1.38 1.97 1.14 2.63.76.65 1.71.98 2.85.98.73 0 1.39-.14 1.98-.42Zm27.51 1.87v22.26h-7.34v-2.28c-.41.43-.85.83-1.34 1.19-1.44 1.07-3.12 1.6-5.05 1.6s-3.61-.52-5.1-1.56c-1.48-1.05-2.63-2.47-3.45-4.25-.82-1.78-1.22-3.73-1.22-5.85s.41-4.07 1.22-5.83c.82-1.78 1.97-3.19 3.45-4.23 1.48-1.05 3.18-1.58 5.1-1.58s3.61.53 5.05 1.6c.48.36.93.75 1.34 1.19V8.66h7.34Zm-7.1 11.11c0-.8-.19-1.53-.56-2.18-.37-.67-.88-1.19-1.54-1.58-.64-.39-1.34-.58-2.09-.58s-1.45.19-2.09.58c-.64.39-1.15.91-1.54 1.58-.37.67-.56 1.39-.56 2.18s.19 1.51.56 2.18c.39.67.9 1.19 1.54 1.58.64.39 1.34.58 2.09.58s1.45-.19 2.09-.58c.65-.39 1.16-.91 1.54-1.56.37-.67.56-1.4.56-2.2Z" })
18238
18319
  }
18239
18320
  );
18240
18321
  };
@@ -18244,7 +18325,7 @@ var computedViewBox = (iconOnly) => {
18244
18325
  }
18245
18326
  return "0 0 144 31.47";
18246
18327
  };
18247
- var WistiaLogoComponent = styled108.svg`
18328
+ var WistiaLogoComponent = styled109.svg`
18248
18329
  height: ${({ height }) => `${height}px`};
18249
18330
 
18250
18331
  /* ensure it will always fit on mobile */
@@ -18315,23 +18396,23 @@ var WistiaLogo = ({
18315
18396
  xmlns: "http://www.w3.org/2000/svg",
18316
18397
  ...props,
18317
18398
  children: [
18318
- /* @__PURE__ */ jsx327("title", { children: title }),
18319
- isNotNil44(description) ? /* @__PURE__ */ jsx327("desc", { children: description }) : null,
18399
+ /* @__PURE__ */ jsx328("title", { children: title }),
18400
+ isNotNil44(description) ? /* @__PURE__ */ jsx328("desc", { children: description }) : null,
18320
18401
  renderBrandmark(brandmarkColor, iconOnly),
18321
18402
  renderLogotype(logotypeColor, iconOnly)
18322
18403
  ]
18323
18404
  }
18324
18405
  );
18325
- return href !== void 0 ? /* @__PURE__ */ jsx327("a", { href, children: Logo }) : Logo;
18406
+ return href !== void 0 ? /* @__PURE__ */ jsx328("a", { href, children: Logo }) : Logo;
18326
18407
  };
18327
18408
  WistiaLogo.displayName = "WistiaLogo_UI";
18328
18409
 
18329
18410
  // src/components/SplitButton/SplitButton.tsx
18330
- import { styled as styled109 } from "styled-components";
18411
+ import { styled as styled110 } from "styled-components";
18331
18412
  import { isNotNil as isNotNil45 } from "@wistia/type-guards";
18332
18413
  import { cloneElement as cloneElement9 } from "react";
18333
- import { jsx as jsx328, jsxs as jsxs71 } from "react/jsx-runtime";
18334
- var StyledSplitButton = styled109.span`
18414
+ import { jsx as jsx329, jsxs as jsxs71 } from "react/jsx-runtime";
18415
+ var StyledSplitButton = styled110.span`
18335
18416
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
18336
18417
  white-space: nowrap;
18337
18418
 
@@ -18352,7 +18433,7 @@ var StyledSplitButton = styled109.span`
18352
18433
  var SplitButton = ({
18353
18434
  children,
18354
18435
  menuLabel = "Select an option",
18355
- menuIcon = /* @__PURE__ */ jsx328(Icon, { type: "caret-down" }),
18436
+ menuIcon = /* @__PURE__ */ jsx329(Icon, { type: "caret-down" }),
18356
18437
  menuItems,
18357
18438
  disabled = false,
18358
18439
  colorScheme = "inherit",
@@ -18364,7 +18445,7 @@ var SplitButton = ({
18364
18445
  ...props
18365
18446
  }) => {
18366
18447
  return /* @__PURE__ */ jsxs71(StyledSplitButton, { $colorScheme: colorScheme, children: [
18367
- /* @__PURE__ */ jsx328(
18448
+ /* @__PURE__ */ jsx329(
18368
18449
  Button,
18369
18450
  {
18370
18451
  disabled,
@@ -18375,12 +18456,12 @@ var SplitButton = ({
18375
18456
  children
18376
18457
  }
18377
18458
  ),
18378
- isNotNil45(menuItems) && /* @__PURE__ */ jsx328(
18459
+ isNotNil45(menuItems) && /* @__PURE__ */ jsx329(
18379
18460
  Menu,
18380
18461
  {
18381
18462
  ...menuProps,
18382
18463
  disabled,
18383
- trigger: /* @__PURE__ */ jsx328(
18464
+ trigger: /* @__PURE__ */ jsx329(
18384
18465
  IconButton,
18385
18466
  {
18386
18467
  disabled,
@@ -18403,6 +18484,7 @@ export {
18403
18484
  Avatar,
18404
18485
  Badge,
18405
18486
  Banner,
18487
+ BannerImage,
18406
18488
  Box,
18407
18489
  Breadcrumb,
18408
18490
  Breadcrumbs,