@wistia/ui 0.13.8-beta.e98c57cb.8bb972a → 0.13.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.13.8-beta.e98c57cb.8bb972a
3
+ * @license @wistia/ui v0.13.8
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -73,7 +73,6 @@ __export(index_exports, {
73
73
  ContextMenu: () => ContextMenu,
74
74
  ContrastControls: () => ContrastControls,
75
75
  DataCard: () => DataCard,
76
- DataCardHoverArrow: () => DataCardHoverArrow,
77
76
  DataCardTrend: () => DataCardTrend,
78
77
  DataCards: () => DataCards,
79
78
  Divider: () => Divider,
@@ -12285,32 +12284,17 @@ var import_styled_components67 = __toESM(require("styled-components"));
12285
12284
  var import_type_guards37 = require("@wistia/type-guards");
12286
12285
  var import_jsx_runtime253 = require("react/jsx-runtime");
12287
12286
  var StyledDataCard = import_styled_components67.default.div`
12288
- --wui-data-card-text: var(--wui-color-text-button);
12289
- --wui-color-text: var(--wui-data-card-text);
12290
- --wui-data-card-background: var(--wui-color-bg-surface-secondary);
12291
- --wui-data-card-background-hover: var(--wui-color-bg-surface-secondary-hover);
12292
- --wui-data-card-background-active: var(--wui-color-bg-surface-secondary-active);
12293
-
12294
12287
  display: grid;
12295
12288
  grid-template-areas: 'label slot' 'value value';
12296
12289
  grid-template-rows: auto auto;
12297
12290
  grid-template-columns: auto auto;
12298
12291
  gap: var(--wui-space-01);
12299
12292
  padding: var(--wui-space-03);
12300
- background: var(--wui-data-card-background);
12293
+ background: var(--wui-color-bg-surface-secondary);
12301
12294
  flex: 1;
12302
12295
  border-radius: var(--wui-border-radius-02);
12303
12296
  position: relative;
12304
- transition:
12305
- background var(--wui-motion-duration-01) var(--wui-motion-ease),
12306
- box-shadow var(--wui-motion-duration-01) var(--wui-motion-ease),
12307
- color var(--wui-motion-duration-01) var(--wui-motion-ease);
12308
-
12309
- [data-wui-data-card-hover-icon] {
12310
- opacity: 0;
12311
- transform: translateX(-16px);
12312
- transition: all var(--wui-motion-duration-02) var(--wui-motion-ease-out);
12313
- }
12297
+ transition: background var(--wui-motion-duration-01) var(--wui-motion-ease);
12314
12298
 
12315
12299
  &:has([data-wui-data-card-subtitle]) {
12316
12300
  grid-template-areas: 'label slot' 'value value' 'subtitle subtitle';
@@ -12318,12 +12302,21 @@ var StyledDataCard = import_styled_components67.default.div`
12318
12302
  }
12319
12303
 
12320
12304
  &[data-click-region] {
12305
+ [data-wui-data-card-hover-icon] {
12306
+ opacity: 0;
12307
+ transform: translateX(-16px);
12308
+ transition: all var(--wui-motion-duration-02) var(--wui-motion-ease-out);
12309
+ }
12310
+
12321
12311
  &:not([disabled]) {
12322
12312
  cursor: pointer;
12323
12313
 
12324
- &:hover {
12325
- --wui-data-card-text: var(--wui-color-text-button);
12326
- --wui-data-card-background: var(--wui-color-bg-surface-secondary-hover);
12314
+ &:hover,
12315
+ &:has([data-click-region-target-button]:focus-visible),
12316
+ &:has([data-click-region-target-link]:focus-visible) {
12317
+ --wui-color-text: var(--wui-color-text-button);
12318
+
12319
+ background: var(--wui-color-bg-surface-secondary-hover);
12327
12320
 
12328
12321
  [data-wui-data-card-hover-icon] {
12329
12322
  opacity: 1;
@@ -12331,23 +12324,15 @@ var StyledDataCard = import_styled_components67.default.div`
12331
12324
  }
12332
12325
  }
12333
12326
 
12334
- &:active {
12335
- --wui-data-card-background: var(--wui-color-bg-surface-secondary-active);
12327
+ &:has([data-click-region-target-button]:active),
12328
+ &:has([data-click-region-target-link]:active) {
12329
+ background: var(--wui-color-bg-surface-secondary-active);
12336
12330
  }
12337
12331
 
12338
12332
  &:has([data-click-region-target-button]:focus-visible),
12339
12333
  &:has([data-click-region-target-link]:focus-visible) {
12340
- --wui-data-card-focus-ring: var(--wui-color-border);
12341
-
12342
- box-shadow: inset 0 0 0 2px var(--wui-data-card-focus-ring);
12343
- }
12344
-
12345
- &:has([data-click-region-target-button][aria-pressed='true']) {
12346
- --wui-data-card-text: var(--wui-color-text-selected);
12347
- --wui-data-card-background: var(--wui-color-bg-surface-selected);
12348
- --wui-data-card-background-hover: var(--wui-color-bg-surface-selected-hover);
12349
- --wui-data-card-background-active: var(--wui-color-bg-surface-selected-active);
12350
- --wui-data-card-focus-ring: var(--wui-color-border-selected);
12334
+ outline: 2px solid var(--wui-color-focus-ring);
12335
+ outline-offset: 2px;
12351
12336
  }
12352
12337
  }
12353
12338
 
@@ -12449,22 +12434,27 @@ var DataCardInner = ({
12449
12434
  ]
12450
12435
  }
12451
12436
  );
12437
+ var DataCardArrowIcon = /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
12438
+ Icon,
12439
+ {
12440
+ "data-wui-data-card-hover-icon": true,
12441
+ type: "arrow-right"
12442
+ }
12443
+ );
12452
12444
  var DataCard = (props) => {
12453
12445
  const ref = (0, import_react55.useRef)(null);
12454
12446
  if ((0, import_type_guards37.isNotNil)(props.href) || (0, import_type_guards37.isNotNil)(props.onClick)) {
12455
- const { "aria-pressed": ariaPressed, ...dataCardProps } = props;
12456
12447
  return /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(ClickRegion, { targetRef: ref, children: /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
12457
12448
  DataCardInner,
12458
12449
  {
12459
- upperRightSlot: props.upperRightSlot,
12460
- ...dataCardProps,
12450
+ upperRightSlot: props.upperRightSlot ?? DataCardArrowIcon,
12451
+ ...props,
12461
12452
  label: /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
12462
12453
  Button,
12463
12454
  {
12464
12455
  ref,
12465
12456
  ...(0, import_type_guards37.isNotNil)(props.beforeAction) ? { beforeAction: props.beforeAction } : {},
12466
12457
  ...(0, import_type_guards37.isNotNil)(props.reloadDocument) ? { reloadDocument: props.reloadDocument } : {},
12467
- "aria-pressed": ariaPressed,
12468
12458
  disabled: props.disabled ?? false,
12469
12459
  href: props.href,
12470
12460
  onClick: props.onClick,
@@ -12552,41 +12542,23 @@ var DataCardTrend = ({
12552
12542
  ] });
12553
12543
  };
12554
12544
 
12555
- // src/components/DataCards/DataCardHoverArrow.tsx
12545
+ // src/components/Divider/Divider.tsx
12556
12546
  var import_styled_components70 = __toESM(require("styled-components"));
12557
12547
  var import_jsx_runtime256 = require("react/jsx-runtime");
12558
- var StyledIconContainer = import_styled_components70.default.div`
12559
- display: flex;
12560
- align-items: center;
12561
- align-self: center;
12562
- height: 0;
12563
- `;
12564
- var DataCardHoverArrow = () => /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(StyledIconContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12565
- Icon,
12566
- {
12567
- "data-wui-data-card-hover-icon": true,
12568
- type: "arrow-right"
12569
- }
12570
- ) });
12571
- DataCardHoverArrow.displayName = "DataCardHoverArrow_UI";
12572
-
12573
- // src/components/Divider/Divider.tsx
12574
- var import_styled_components71 = __toESM(require("styled-components"));
12575
- var import_jsx_runtime257 = require("react/jsx-runtime");
12576
- var horizontalBorderCss = import_styled_components71.css`
12548
+ var horizontalBorderCss = import_styled_components70.css`
12577
12549
  border-top-color: var(--wui-color-border);
12578
12550
  border-top-style: solid;
12579
12551
  border-top-width: 1px;
12580
12552
  clear: both; /* for horizontal dividers, ensure it clears any floats */
12581
12553
  height: 0;
12582
12554
  `;
12583
- var verticalBorderCss = import_styled_components71.css`
12555
+ var verticalBorderCss = import_styled_components70.css`
12584
12556
  background-color: var(--wui-color-border);
12585
12557
  max-width: 1px;
12586
12558
  min-height: 100%;
12587
12559
  width: 1px;
12588
12560
  `;
12589
- var DividerComponent = import_styled_components71.default.div`
12561
+ var DividerComponent = import_styled_components70.default.div`
12590
12562
  ${({ $orientation }) => {
12591
12563
  switch ($orientation) {
12592
12564
  case "vertical":
@@ -12598,7 +12570,7 @@ var DividerComponent = import_styled_components71.default.div`
12598
12570
  }}
12599
12571
  `;
12600
12572
  var Divider = ({ orientation = "horizontal", ...props }) => {
12601
- return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12573
+ return /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
12602
12574
  DividerComponent,
12603
12575
  {
12604
12576
  $orientation: orientation,
@@ -12611,10 +12583,10 @@ var Divider = ({ orientation = "horizontal", ...props }) => {
12611
12583
  Divider.displayName = "Divider_UI";
12612
12584
 
12613
12585
  // src/components/EditableHeading/EditableHeading.tsx
12614
- var import_styled_components72 = __toESM(require("styled-components"));
12586
+ var import_styled_components71 = __toESM(require("styled-components"));
12615
12587
  var import_react56 = require("react");
12616
- var import_jsx_runtime258 = require("react/jsx-runtime");
12617
- var StyledInput = (0, import_styled_components72.default)(Input)`
12588
+ var import_jsx_runtime257 = require("react/jsx-runtime");
12589
+ var StyledInput = (0, import_styled_components71.default)(Input)`
12618
12590
  &:not([rows]) {
12619
12591
  min-height: unset;
12620
12592
  }
@@ -12634,7 +12606,7 @@ var StyledInput = (0, import_styled_components72.default)(Input)`
12634
12606
  min-height: ${({ $height }) => `${$height}px`};
12635
12607
  }
12636
12608
  `;
12637
- var editableStyles = import_styled_components72.css`
12609
+ var editableStyles = import_styled_components71.css`
12638
12610
  &:has(+ :focus-within) {
12639
12611
  background: var(--wui-color-bg-surface-hover);
12640
12612
  }
@@ -12644,7 +12616,7 @@ var editableStyles = import_styled_components72.css`
12644
12616
  cursor: pointer;
12645
12617
  }
12646
12618
  `;
12647
- var StyledHeading2 = (0, import_styled_components72.default)(Heading)`
12619
+ var StyledHeading2 = (0, import_styled_components71.default)(Heading)`
12648
12620
  width: 100%;
12649
12621
  border-radius: var(--wui-border-radius-02);
12650
12622
  padding: var(--wui-space-02);
@@ -12699,7 +12671,7 @@ var EditableHeading = ({
12699
12671
  handleSetEditing(false);
12700
12672
  }
12701
12673
  };
12702
- const HeadingComponent2 = /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
12674
+ const HeadingComponent2 = /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12703
12675
  StyledHeading2,
12704
12676
  {
12705
12677
  ref: headingRef,
@@ -12713,7 +12685,7 @@ var EditableHeading = ({
12713
12685
  return HeadingComponent2;
12714
12686
  }
12715
12687
  if (isEditing || __forceEditing) {
12716
- return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
12688
+ return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12717
12689
  StyledInput,
12718
12690
  {
12719
12691
  $height: headingHeight,
@@ -12732,9 +12704,9 @@ var EditableHeading = ({
12732
12704
  }
12733
12705
  );
12734
12706
  }
12735
- return /* @__PURE__ */ (0, import_jsx_runtime258.jsxs)(import_jsx_runtime258.Fragment, { children: [
12736
- /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(Tooltip, { content: tooltipText, children: HeadingComponent2 }),
12737
- /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(ScreenReaderOnly, { children: /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
12707
+ return /* @__PURE__ */ (0, import_jsx_runtime257.jsxs)(import_jsx_runtime257.Fragment, { children: [
12708
+ /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(Tooltip, { content: tooltipText, children: HeadingComponent2 }),
12709
+ /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(ScreenReaderOnly, { children: /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
12738
12710
  "button",
12739
12711
  {
12740
12712
  "aria-label": ariaLabel,
@@ -12784,9 +12756,9 @@ var useFormState = (action, initialData = {}) => {
12784
12756
  // src/components/Form/FormErrorSummary.tsx
12785
12757
  var import_react58 = require("react");
12786
12758
  var import_type_guards38 = require("@wistia/type-guards");
12787
- var import_jsx_runtime259 = require("react/jsx-runtime");
12759
+ var import_jsx_runtime258 = require("react/jsx-runtime");
12788
12760
  var ErrorItem = ({ name, error, formId }) => {
12789
- return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(Link, { href: `#${formId}-${name}`, children: error }) }, name);
12761
+ return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(Link, { href: `#${formId}-${name}`, children: error }) }, name);
12790
12762
  };
12791
12763
  var FormErrorSummary = ({ description }) => {
12792
12764
  const ref = (0, import_react58.useRef)(null);
@@ -12795,10 +12767,10 @@ var FormErrorSummary = ({ description }) => {
12795
12767
  if (isValid || !hasSubmitted) {
12796
12768
  return null;
12797
12769
  }
12798
- return /* @__PURE__ */ (0, import_jsx_runtime259.jsxs)("div", { ref, children: [
12799
- /* @__PURE__ */ (0, import_jsx_runtime259.jsx)("p", { children: description }),
12800
- /* @__PURE__ */ (0, import_jsx_runtime259.jsx)("ul", { children: Object.entries(errors).filter(([, error]) => (0, import_type_guards38.isNotUndefined)(error)).map(
12801
- ([name, error]) => (0, import_type_guards38.isArray)(error) ? error.map((err) => /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
12770
+ return /* @__PURE__ */ (0, import_jsx_runtime258.jsxs)("div", { ref, children: [
12771
+ /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("p", { children: description }),
12772
+ /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("ul", { children: Object.entries(errors).filter(([, error]) => (0, import_type_guards38.isNotUndefined)(error)).map(
12773
+ ([name, error]) => (0, import_type_guards38.isArray)(error) ? error.map((err) => /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
12802
12774
  ErrorItem,
12803
12775
  {
12804
12776
  error: err,
@@ -12806,7 +12778,7 @@ var FormErrorSummary = ({ description }) => {
12806
12778
  name
12807
12779
  },
12808
12780
  err
12809
- )) : /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
12781
+ )) : /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
12810
12782
  ErrorItem,
12811
12783
  {
12812
12784
  error: error ?? "",
@@ -12821,13 +12793,13 @@ var FormErrorSummary = ({ description }) => {
12821
12793
 
12822
12794
  // src/components/FormField/FormField.tsx
12823
12795
  var import_react59 = require("react");
12824
- var import_styled_components74 = __toESM(require("styled-components"));
12796
+ var import_styled_components73 = __toESM(require("styled-components"));
12825
12797
  var import_type_guards39 = require("@wistia/type-guards");
12826
12798
 
12827
12799
  // src/components/Label/Label.tsx
12828
- var import_styled_components73 = __toESM(require("styled-components"));
12829
- var import_jsx_runtime260 = require("react/jsx-runtime");
12830
- var requiredStyle = import_styled_components73.css`
12800
+ var import_styled_components72 = __toESM(require("styled-components"));
12801
+ var import_jsx_runtime259 = require("react/jsx-runtime");
12802
+ var requiredStyle = import_styled_components72.css`
12831
12803
  &::after {
12832
12804
  color: var(--wui-color-text-error);
12833
12805
  display: inline;
@@ -12835,10 +12807,10 @@ var requiredStyle = import_styled_components73.css`
12835
12807
  content: '*';
12836
12808
  }
12837
12809
  `;
12838
- var disabledStyle3 = import_styled_components73.css`
12810
+ var disabledStyle3 = import_styled_components72.css`
12839
12811
  color: var(--wui-color-text-disabled);
12840
12812
  `;
12841
- var StyledLabel3 = import_styled_components73.default.label`
12813
+ var StyledLabel3 = import_styled_components72.default.label`
12842
12814
  display: block;
12843
12815
  width: 100%;
12844
12816
  color: var(--wui-color-text);
@@ -12870,7 +12842,7 @@ var Label = ({
12870
12842
  screenReaderOnly = false,
12871
12843
  ...props
12872
12844
  }) => {
12873
- return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
12845
+ return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
12874
12846
  StyledLabel3,
12875
12847
  {
12876
12848
  ...props,
@@ -12885,8 +12857,8 @@ var Label = ({
12885
12857
  Label.displayName = "Label_UI";
12886
12858
 
12887
12859
  // src/components/FormField/FormField.tsx
12888
- var import_jsx_runtime261 = require("react/jsx-runtime");
12889
- var StyledFormField = import_styled_components74.default.div`
12860
+ var import_jsx_runtime260 = require("react/jsx-runtime");
12861
+ var StyledFormField = import_styled_components73.default.div`
12890
12862
  --form-field-spacing: var(--wui-space-01);
12891
12863
  --form-field-spacing-inline: var(--wui-space-02);
12892
12864
  --form-field-error-color: var(--wui-color-text-secondary-error);
@@ -12916,7 +12888,7 @@ var StyledFormField = import_styled_components74.default.div`
12916
12888
  grid-template-rows: 1fr;
12917
12889
  }
12918
12890
  `;
12919
- var StyledErrorList = import_styled_components74.default.ul`
12891
+ var StyledErrorList = import_styled_components73.default.ul`
12920
12892
  margin: 0;
12921
12893
  padding: 0;
12922
12894
  padding-left: var(--wui-space-04);
@@ -12928,7 +12900,7 @@ var ErrorMessages = ({ errors, id }) => {
12928
12900
  const isErrorArray = (0, import_type_guards39.isArray)(errors);
12929
12901
  const isMultipleErrors = isErrorArray && errors.length > 1;
12930
12902
  if (!isErrorArray) {
12931
- return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
12903
+ return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
12932
12904
  Text,
12933
12905
  {
12934
12906
  colorScheme: "error",
@@ -12941,7 +12913,7 @@ var ErrorMessages = ({ errors, id }) => {
12941
12913
  );
12942
12914
  }
12943
12915
  if (!isMultipleErrors) {
12944
- return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
12916
+ return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
12945
12917
  Text,
12946
12918
  {
12947
12919
  colorScheme: "error",
@@ -12953,7 +12925,7 @@ var ErrorMessages = ({ errors, id }) => {
12953
12925
  id
12954
12926
  );
12955
12927
  }
12956
- return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(StyledErrorList, { children: errors.map((error, index) => /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
12928
+ return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(StyledErrorList, { children: errors.map((error, index) => /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
12957
12929
  Text,
12958
12930
  {
12959
12931
  colorScheme: "error",
@@ -13017,18 +12989,18 @@ var FormField = ({
13017
12989
  };
13018
12990
  }
13019
12991
  import_react59.Children.only(children);
13020
- return /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(
12992
+ return /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(
13021
12993
  StyledFormField,
13022
12994
  {
13023
12995
  ...props,
13024
12996
  "data-label-position": labelPosition ?? formState.labelPosition,
13025
12997
  children: [
13026
- !isIntegratedLabel && /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Label, { htmlFor: computedId, children: label }),
13027
- (0, import_type_guards39.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
12998
+ !isIntegratedLabel && /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(Label, { htmlFor: computedId, children: label }),
12999
+ (0, import_type_guards39.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(FormControlLabelDescription, { id: descriptionId, children: description }) : null,
13028
13000
  (0, import_react59.cloneElement)(children, childProps),
13029
- (0, import_type_guards39.isNotNil)(computedError) ? /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(import_jsx_runtime261.Fragment, { children: [
13030
- /* @__PURE__ */ (0, import_jsx_runtime261.jsx)("div", {}),
13031
- /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
13001
+ (0, import_type_guards39.isNotNil)(computedError) ? /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(import_jsx_runtime260.Fragment, { children: [
13002
+ /* @__PURE__ */ (0, import_jsx_runtime260.jsx)("div", {}),
13003
+ /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
13032
13004
  ErrorMessages,
13033
13005
  {
13034
13006
  errors: computedError,
@@ -13044,7 +13016,7 @@ FormField.displayName = "FormField_UI";
13044
13016
 
13045
13017
  // src/components/FormGroup/RadioGroup.tsx
13046
13018
  var import_react60 = require("react");
13047
- var import_jsx_runtime262 = require("react/jsx-runtime");
13019
+ var import_jsx_runtime261 = require("react/jsx-runtime");
13048
13020
  var RadioGroupContext = (0, import_react60.createContext)(null);
13049
13021
  var useRadioGroup = () => {
13050
13022
  return (0, import_react60.useContext)(RadioGroupContext);
@@ -13065,17 +13037,17 @@ var RadioGroup = ({
13065
13037
  value: derivedValue
13066
13038
  };
13067
13039
  }, [name, derivedValue, onChange]);
13068
- return /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(RadioGroupContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(FormGroup, { ...props, children }) });
13040
+ return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(RadioGroupContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(FormGroup, { ...props, children }) });
13069
13041
  };
13070
13042
  RadioGroup.displayName = "RadioGroup_UI";
13071
13043
 
13072
13044
  // src/components/Grid/Grid.tsx
13073
13045
  var import_react61 = require("react");
13074
- var import_styled_components75 = __toESM(require("styled-components"));
13046
+ var import_styled_components74 = __toESM(require("styled-components"));
13075
13047
  var import_type_guards40 = require("@wistia/type-guards");
13076
- var import_jsx_runtime263 = require("react/jsx-runtime");
13048
+ var import_jsx_runtime262 = require("react/jsx-runtime");
13077
13049
  var DEFAULT_ELEMENT5 = "div";
13078
- var StyledGrid = import_styled_components75.default.div`
13050
+ var StyledGrid = import_styled_components74.default.div`
13079
13051
  --wui-grid-column-gap: ${({ $columnGap }) => `var(--wui-${$columnGap})`};
13080
13052
  --wui-grid-row-gap: ${({ $rowGap }) => `var(--wui-${$rowGap})`};
13081
13053
  --wui-grid-min-column-size: ${({ $minChildWidth }) => $minChildWidth === "auto" ? "0" : `${$minChildWidth}px`};
@@ -13094,21 +13066,21 @@ var StyledGrid = import_styled_components75.default.div`
13094
13066
 
13095
13067
  ${({ $maxColumns, $minChildWidth }) => {
13096
13068
  if ($maxColumns === "auto" && $minChildWidth === "auto") {
13097
- return import_styled_components75.css`
13069
+ return import_styled_components74.css`
13098
13070
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
13099
13071
  `;
13100
13072
  }
13101
13073
  if ($maxColumns !== "auto" && $minChildWidth === "auto") {
13102
- return import_styled_components75.css`
13074
+ return import_styled_components74.css`
13103
13075
  grid-template-columns: repeat(${$maxColumns}, minmax(0, 1fr));
13104
13076
  `;
13105
13077
  }
13106
13078
  if ($maxColumns === "auto" && $minChildWidth !== "auto") {
13107
- return import_styled_components75.css`
13079
+ return import_styled_components74.css`
13108
13080
  grid-template-columns: repeat(auto-fit, minmax(${$minChildWidth}px, 1fr));
13109
13081
  `;
13110
13082
  }
13111
- return import_styled_components75.css`
13083
+ return import_styled_components74.css`
13112
13084
  grid-template-columns: repeat(
13113
13085
  auto-fit,
13114
13086
  minmax(max(var(--wui-grid-min-column-size), var(--wui-grid-max-column-width)), 1fr)
@@ -13122,7 +13094,7 @@ var GridComponent = (0, import_react61.forwardRef)(
13122
13094
  const { column, row } = (0, import_type_guards40.isRecord)(responsiveGap) ? responsiveGap : { column: responsiveGap, row: responsiveGap };
13123
13095
  const responsiveColumns = useResponsiveProp(columns);
13124
13096
  const responsiveMinChildWidth = useResponsiveProp(minChildWidth);
13125
- return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
13097
+ return /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(
13126
13098
  StyledGrid,
13127
13099
  {
13128
13100
  ref,
@@ -13141,11 +13113,11 @@ GridComponent.displayName = "Grid_UI";
13141
13113
  var Grid = makePolymorphic(GridComponent);
13142
13114
 
13143
13115
  // src/components/InputClickToCopy/InputClickToCopy.tsx
13144
- var import_styled_components76 = __toESM(require("styled-components"));
13116
+ var import_styled_components75 = __toESM(require("styled-components"));
13145
13117
  var import_react62 = require("react");
13146
13118
  var import_type_guards41 = require("@wistia/type-guards");
13147
- var import_jsx_runtime264 = require("react/jsx-runtime");
13148
- var StyledInput2 = (0, import_styled_components76.default)(Input)`
13119
+ var import_jsx_runtime263 = require("react/jsx-runtime");
13120
+ var StyledInput2 = (0, import_styled_components75.default)(Input)`
13149
13121
  &:not([aria-disabled='true']) {
13150
13122
  cursor: pointer;
13151
13123
  }
@@ -13182,7 +13154,7 @@ var InputClickToCopy = (0, import_react62.forwardRef)(
13182
13154
  return value;
13183
13155
  });
13184
13156
  };
13185
- return /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
13157
+ return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
13186
13158
  StyledInput2,
13187
13159
  {
13188
13160
  "aria-label": "Click to Copy",
@@ -13190,13 +13162,13 @@ var InputClickToCopy = (0, import_react62.forwardRef)(
13190
13162
  ref,
13191
13163
  onClick: handleClick,
13192
13164
  readOnly: true,
13193
- rightIcon: isCopied ? /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
13165
+ rightIcon: isCopied ? /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
13194
13166
  Icon,
13195
13167
  {
13196
13168
  colorScheme: "success",
13197
13169
  type: "checkmark-circle"
13198
13170
  }
13199
- ) : /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Icon, { type: "save-as-copy" }),
13171
+ ) : /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(Icon, { type: "save-as-copy" }),
13200
13172
  value
13201
13173
  }
13202
13174
  );
@@ -13205,16 +13177,16 @@ var InputClickToCopy = (0, import_react62.forwardRef)(
13205
13177
  InputClickToCopy.displayName = "InputClickToCopy_UI";
13206
13178
 
13207
13179
  // src/components/KeyboardShortcut/KeyboardShortcut.tsx
13208
- var import_styled_components77 = __toESM(require("styled-components"));
13180
+ var import_styled_components76 = __toESM(require("styled-components"));
13209
13181
  var import_type_guards42 = require("@wistia/type-guards");
13210
- var import_jsx_runtime265 = require("react/jsx-runtime");
13211
- var StyledKeyboardShortcut = import_styled_components77.default.div`
13182
+ var import_jsx_runtime264 = require("react/jsx-runtime");
13183
+ var StyledKeyboardShortcut = import_styled_components76.default.div`
13212
13184
  align-items: center;
13213
13185
  display: flex;
13214
13186
  gap: var(--wui-space-02);
13215
13187
  ${({ $fullWidth }) => $fullWidth && "width: 100%; justify-content: space-between;"}
13216
13188
  `;
13217
- var StyledKey = import_styled_components77.default.kbd`
13189
+ var StyledKey = import_styled_components76.default.kbd`
13218
13190
  align-items: center;
13219
13191
  background: var(--wui-color-bg-surface-secondary);
13220
13192
  border-bottom: 1px solid var(--wui-color-border-secondary);
@@ -13237,11 +13209,11 @@ var StyledKey = import_styled_components77.default.kbd`
13237
13209
  min-width: 20px;
13238
13210
  padding: 0 var(--wui-space-01);
13239
13211
  `;
13240
- var Label2 = import_styled_components77.default.span`
13212
+ var Label2 = import_styled_components76.default.span`
13241
13213
  color: var(--wui-color-text);
13242
13214
  font-size: 12px;
13243
13215
  `;
13244
- var KeysContainer = import_styled_components77.default.div`
13216
+ var KeysContainer = import_styled_components76.default.div`
13245
13217
  display: flex;
13246
13218
  gap: var(--wui-space-01);
13247
13219
  `;
@@ -13294,14 +13266,14 @@ var KeyboardShortcut = ({
13294
13266
  keyboardKeys,
13295
13267
  fullWidth = false,
13296
13268
  ...otherProps
13297
- }) => /* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(
13269
+ }) => /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(
13298
13270
  StyledKeyboardShortcut,
13299
13271
  {
13300
13272
  $fullWidth: fullWidth,
13301
13273
  ...otherProps,
13302
13274
  children: [
13303
- (0, import_type_guards42.isNotNil)(label) && /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(Label2, { children: label }),
13304
- /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(KeysContainer, { children: (Array.isArray(keyboardKeys) ? keyboardKeys : [keyboardKeys]).map((keyboardKey, index) => /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(
13275
+ (0, import_type_guards42.isNotNil)(label) && /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Label2, { children: label }),
13276
+ /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(KeysContainer, { children: (Array.isArray(keyboardKeys) ? keyboardKeys : [keyboardKeys]).map((keyboardKey, index) => /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
13305
13277
  StyledKey,
13306
13278
  {
13307
13279
  children: keyToString(keyboardKey)
@@ -13315,26 +13287,26 @@ KeyboardShortcut.displayName = "KeyboardShortcut_UI";
13315
13287
 
13316
13288
  // src/components/List/List.tsx
13317
13289
  var import_type_guards44 = require("@wistia/type-guards");
13318
- var import_styled_components79 = __toESM(require("styled-components"));
13290
+ var import_styled_components78 = __toESM(require("styled-components"));
13319
13291
 
13320
13292
  // src/components/List/ListItem.tsx
13321
- var import_styled_components78 = __toESM(require("styled-components"));
13293
+ var import_styled_components77 = __toESM(require("styled-components"));
13322
13294
  var import_type_guards43 = require("@wistia/type-guards");
13323
- var import_jsx_runtime266 = require("react/jsx-runtime");
13324
- var ListItemComponent = import_styled_components78.default.li`
13295
+ var import_jsx_runtime265 = require("react/jsx-runtime");
13296
+ var ListItemComponent = import_styled_components77.default.li`
13325
13297
  margin-bottom: var(--wui-space-02);
13326
13298
  `;
13327
13299
  var ListItem = ({ children }) => {
13328
13300
  if ((0, import_type_guards43.isNil)(children)) {
13329
13301
  return null;
13330
13302
  }
13331
- return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(ListItemComponent, { children });
13303
+ return /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(ListItemComponent, { children });
13332
13304
  };
13333
13305
  ListItem.displayName = "ListItem_UI";
13334
13306
 
13335
13307
  // src/components/List/List.tsx
13336
- var import_jsx_runtime267 = require("react/jsx-runtime");
13337
- var spacesStyle = import_styled_components79.css`
13308
+ var import_jsx_runtime266 = require("react/jsx-runtime");
13309
+ var spacesStyle = import_styled_components78.css`
13338
13310
  overflow: hidden;
13339
13311
  padding-left: 0;
13340
13312
  vertical-align: bottom;
@@ -13356,7 +13328,7 @@ var spacesStyle = import_styled_components79.css`
13356
13328
  }
13357
13329
  }
13358
13330
  `;
13359
- var commasStyle = import_styled_components79.css`
13331
+ var commasStyle = import_styled_components78.css`
13360
13332
  ${spacesStyle};
13361
13333
 
13362
13334
  li {
@@ -13366,7 +13338,7 @@ var commasStyle = import_styled_components79.css`
13366
13338
  }
13367
13339
  }
13368
13340
  `;
13369
- var slashesStyle = import_styled_components79.css`
13341
+ var slashesStyle = import_styled_components78.css`
13370
13342
  ${spacesStyle};
13371
13343
 
13372
13344
  li {
@@ -13377,7 +13349,7 @@ var slashesStyle = import_styled_components79.css`
13377
13349
  }
13378
13350
  }
13379
13351
  `;
13380
- var breadcrumbsStyle = import_styled_components79.css`
13352
+ var breadcrumbsStyle = import_styled_components78.css`
13381
13353
  ${spacesStyle};
13382
13354
 
13383
13355
  li {
@@ -13388,11 +13360,11 @@ var breadcrumbsStyle = import_styled_components79.css`
13388
13360
  }
13389
13361
  }
13390
13362
  `;
13391
- var unbulletedStyle = import_styled_components79.css`
13363
+ var unbulletedStyle = import_styled_components78.css`
13392
13364
  list-style: none;
13393
13365
  padding-left: 0;
13394
13366
  `;
13395
- var ListComponent = import_styled_components79.default.ul`
13367
+ var ListComponent = import_styled_components78.default.ul`
13396
13368
  list-style-position: outside;
13397
13369
  margin: 0 0 var(--wui-space-01);
13398
13370
  padding: 0 0 0 var(--wui-space-04);
@@ -13419,7 +13391,7 @@ var ListComponent = import_styled_components79.default.ul`
13419
13391
  `;
13420
13392
  var renderListComponent = (listItems, variant, { ...otherProps }) => {
13421
13393
  const elementType = variant === "ordered" ? "ol" : "ul";
13422
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
13394
+ return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(
13423
13395
  ListComponent,
13424
13396
  {
13425
13397
  as: elementType,
@@ -13436,7 +13408,7 @@ var renderListFromArray = (listItems, variant, otherProps) => {
13436
13408
  const nextItem = listItems[i + 1];
13437
13409
  const key = `item-${itemCount += 1}`;
13438
13410
  if (Array.isArray(nextItem)) {
13439
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsxs)(ListItem, { children: [
13411
+ return /* @__PURE__ */ (0, import_jsx_runtime266.jsxs)(ListItem, { children: [
13440
13412
  item,
13441
13413
  renderListFromArray(nextItem, variant, otherProps)
13442
13414
  ] }, key);
@@ -13444,7 +13416,7 @@ var renderListFromArray = (listItems, variant, otherProps) => {
13444
13416
  if (Array.isArray(item)) {
13445
13417
  return null;
13446
13418
  }
13447
- return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(ListItem, { children: item }, key);
13419
+ return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(ListItem, { children: item }, key);
13448
13420
  });
13449
13421
  return renderListComponent(items, variant, otherProps);
13450
13422
  };
@@ -13473,7 +13445,7 @@ List.displayName = "List_UI";
13473
13445
 
13474
13446
  // src/components/Menu/Menu.tsx
13475
13447
  var import_react64 = require("react");
13476
- var import_styled_components80 = __toESM(require("styled-components"));
13448
+ var import_styled_components79 = __toESM(require("styled-components"));
13477
13449
  var import_react_dropdown_menu = require("@radix-ui/react-dropdown-menu");
13478
13450
  var import_type_guards45 = require("@wistia/type-guards");
13479
13451
 
@@ -13483,8 +13455,8 @@ var MenuContext = (0, import_react63.createContext)({ compact: false });
13483
13455
  var useMenuContext = () => (0, import_react63.useContext)(MenuContext);
13484
13456
 
13485
13457
  // src/components/Menu/Menu.tsx
13486
- var import_jsx_runtime268 = require("react/jsx-runtime");
13487
- var open = import_styled_components80.keyframes`
13458
+ var import_jsx_runtime267 = require("react/jsx-runtime");
13459
+ var open = import_styled_components79.keyframes`
13488
13460
  from {
13489
13461
  opacity: 0;
13490
13462
  transform: scale(.97) translateY(-8px);
@@ -13494,7 +13466,7 @@ var open = import_styled_components80.keyframes`
13494
13466
  transform: scale(1);
13495
13467
  }
13496
13468
  `;
13497
- var close = import_styled_components80.keyframes`
13469
+ var close = import_styled_components79.keyframes`
13498
13470
  from {
13499
13471
  opacity: 1;
13500
13472
  transform: scale(1);
@@ -13504,7 +13476,7 @@ var close = import_styled_components80.keyframes`
13504
13476
  transform: scale(.97) translateY(-8px);
13505
13477
  }
13506
13478
  `;
13507
- var menuItemCss = import_styled_components80.css`
13479
+ var menuItemCss = import_styled_components79.css`
13508
13480
  --menu-label-description-gap: var(--wui-space-01);
13509
13481
  --menu-item-inner-gap: var(--wui-space-03);
13510
13482
  --menu-item-left-icon-size: 24px;
@@ -13515,7 +13487,7 @@ var menuItemCss = import_styled_components80.css`
13515
13487
  --menu-label-line-height: var(--wui-typography-label-3-line-height);
13516
13488
  --menu-divider-margin: var(--wui-space-02);
13517
13489
  `;
13518
- var compactMenuItemCss = import_styled_components80.css`
13490
+ var compactMenuItemCss = import_styled_components79.css`
13519
13491
  --menu-label-description-gap: 0;
13520
13492
  --menu-item-inner-gap: var(--wui-space-02);
13521
13493
  --menu-item-left-icon-size: 16px;
@@ -13526,7 +13498,7 @@ var compactMenuItemCss = import_styled_components80.css`
13526
13498
  --menu-label-line-height: var(--wui-typography-label-4-line-height);
13527
13499
  --menu-divider-margin: var(--wui-space-01);
13528
13500
  `;
13529
- var menuContentCss = import_styled_components80.css`
13501
+ var menuContentCss = import_styled_components79.css`
13530
13502
  --menu-font-family: var(--wui-typography-family-default);
13531
13503
  --menu-bg: var(--wui-color-bg-surface);
13532
13504
  --menu-shadow: var(--wui-elevation-01);
@@ -13568,7 +13540,7 @@ var menuContentCss = import_styled_components80.css`
13568
13540
  margin: var(--menu-divider-margin) 0;
13569
13541
  }
13570
13542
  `;
13571
- var MenuContent = (0, import_styled_components80.default)(import_react_dropdown_menu.DropdownMenuContent)`
13543
+ var MenuContent = (0, import_styled_components79.default)(import_react_dropdown_menu.DropdownMenuContent)`
13572
13544
  ${menuContentCss}
13573
13545
  min-width: var(--radix-dropdown-menu-trigger-width);
13574
13546
  `;
@@ -13596,25 +13568,25 @@ var Menu = (0, import_react64.forwardRef)(
13596
13568
  onOpenChange: () => null
13597
13569
  };
13598
13570
  }
13599
- return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(MenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime268.jsxs)(
13571
+ return /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(MenuContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime267.jsxs)(
13600
13572
  import_react_dropdown_menu.DropdownMenu,
13601
13573
  {
13602
13574
  modal: false,
13603
13575
  ...controlProps,
13604
13576
  children: [
13605
- /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(import_react_dropdown_menu.DropdownMenuTrigger, { asChild: true, children: (0, import_type_guards45.isNotUndefined)(trigger) ? trigger : /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
13577
+ /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(import_react_dropdown_menu.DropdownMenuTrigger, { asChild: true, children: (0, import_type_guards45.isNotUndefined)(trigger) ? trigger : /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
13606
13578
  Button,
13607
13579
  {
13608
13580
  ref,
13609
13581
  "aria-expanded": isOpen,
13610
13582
  disabled,
13611
13583
  forceState: isOpen ? "active" : void 0,
13612
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(Icon, { type: "caret-down" }),
13584
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(Icon, { type: "caret-down" }),
13613
13585
  ...triggerProps,
13614
13586
  children: label
13615
13587
  }
13616
13588
  ) }),
13617
- /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(import_react_dropdown_menu.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
13589
+ /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(import_react_dropdown_menu.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
13618
13590
  MenuContent,
13619
13591
  {
13620
13592
  ...props,
@@ -13638,19 +13610,19 @@ Menu.displayName = "Menu_UI";
13638
13610
  Menu.displayName = "Menu_UI";
13639
13611
 
13640
13612
  // src/components/Menu/MenuLabel.tsx
13641
- var import_styled_components81 = __toESM(require("styled-components"));
13613
+ var import_styled_components80 = __toESM(require("styled-components"));
13642
13614
  var import_react_dropdown_menu2 = require("@radix-ui/react-dropdown-menu");
13643
- var import_jsx_runtime269 = require("react/jsx-runtime");
13644
- var StyledMenuLabel = (0, import_styled_components81.default)(import_react_dropdown_menu2.DropdownMenuLabel)`
13615
+ var import_jsx_runtime268 = require("react/jsx-runtime");
13616
+ var StyledMenuLabel = (0, import_styled_components80.default)(import_react_dropdown_menu2.DropdownMenuLabel)`
13645
13617
  padding: var(--wui-space-02);
13646
13618
  `;
13647
13619
  var MenuLabel = ({ children, ...props }) => {
13648
- return /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(
13620
+ return /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
13649
13621
  StyledMenuLabel,
13650
13622
  {
13651
13623
  asChild: true,
13652
13624
  ...props,
13653
- children: /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(
13625
+ children: /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
13654
13626
  Heading,
13655
13627
  {
13656
13628
  renderAs: "span",
@@ -13666,16 +13638,16 @@ MenuLabel.displayName = "MenuLabel_UI";
13666
13638
 
13667
13639
  // src/components/Menu/SubMenu.tsx
13668
13640
  var import_react66 = require("react");
13669
- var import_styled_components84 = __toESM(require("styled-components"));
13641
+ var import_styled_components83 = __toESM(require("styled-components"));
13670
13642
  var import_react_dropdown_menu3 = require("@radix-ui/react-dropdown-menu");
13671
13643
  var import_type_guards47 = require("@wistia/type-guards");
13672
13644
 
13673
13645
  // src/components/Menu/MenuItemButton.tsx
13674
13646
  var import_react65 = require("react");
13675
- var import_styled_components82 = __toESM(require("styled-components"));
13647
+ var import_styled_components81 = __toESM(require("styled-components"));
13676
13648
  var import_type_guards46 = require("@wistia/type-guards");
13677
- var import_jsx_runtime270 = require("react/jsx-runtime");
13678
- var StyledButton3 = (0, import_styled_components82.default)(Button)`
13649
+ var import_jsx_runtime269 = require("react/jsx-runtime");
13650
+ var StyledButton3 = (0, import_styled_components81.default)(Button)`
13679
13651
  ${({ colorScheme }) => getColorScheme(colorScheme)};
13680
13652
 
13681
13653
  display: flex;
@@ -13714,7 +13686,7 @@ var StyledButton3 = (0, import_styled_components82.default)(Button)`
13714
13686
  padding-left: var(--wui-space-04);
13715
13687
  }
13716
13688
  `;
13717
- var StyledLeftIconContainer = import_styled_components82.default.div`
13689
+ var StyledLeftIconContainer = import_styled_components81.default.div`
13718
13690
  height: var(--menu-item-left-icon-size);
13719
13691
  width: var(--menu-item-left-icon-size);
13720
13692
 
@@ -13725,7 +13697,7 @@ var StyledLeftIconContainer = import_styled_components82.default.div`
13725
13697
  }
13726
13698
  }
13727
13699
  `;
13728
- var StyledRightIconContainer = import_styled_components82.default.div`
13700
+ var StyledRightIconContainer = import_styled_components81.default.div`
13729
13701
  height: var(--menu-item-right-icon-size);
13730
13702
  width: var(--menu-item-right-icon-size);
13731
13703
 
@@ -13736,13 +13708,13 @@ var StyledRightIconContainer = import_styled_components82.default.div`
13736
13708
  }
13737
13709
  }
13738
13710
  `;
13739
- var StyledLabelAndDescriptionContainer = import_styled_components82.default.div`
13711
+ var StyledLabelAndDescriptionContainer = import_styled_components81.default.div`
13740
13712
  display: flex;
13741
13713
  flex-direction: column;
13742
13714
  gap: var(--menu-label-description-gap);
13743
13715
  flex-basis: 100%;
13744
13716
  `;
13745
- var StyledBadgeContainer = import_styled_components82.default.div`
13717
+ var StyledBadgeContainer = import_styled_components81.default.div`
13746
13718
  align-self: start;
13747
13719
  justify-self: end;
13748
13720
  font-size: var(--wui-typography-label-4-size);
@@ -13757,7 +13729,7 @@ var MenuItemButton = (0, import_react65.forwardRef)(({ children, appearance, com
13757
13729
  colorScheme = "error";
13758
13730
  }
13759
13731
  if (appearance === "gated") {
13760
- badge = /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
13732
+ badge = /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(
13761
13733
  Icon,
13762
13734
  {
13763
13735
  colorScheme: "purple",
@@ -13769,7 +13741,7 @@ var MenuItemButton = (0, import_react65.forwardRef)(({ children, appearance, com
13769
13741
  }
13770
13742
  );
13771
13743
  }
13772
- return /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(
13744
+ return /* @__PURE__ */ (0, import_jsx_runtime269.jsxs)(
13773
13745
  StyledButton3,
13774
13746
  {
13775
13747
  ...props,
@@ -13779,10 +13751,10 @@ var MenuItemButton = (0, import_react65.forwardRef)(({ children, appearance, com
13779
13751
  fullWidth: true,
13780
13752
  unstyled: true,
13781
13753
  children: [
13782
- props.leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(StyledLeftIconContainer, { children: props.leftIcon }) : null,
13783
- /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(StyledLabelAndDescriptionContainer, { children }),
13784
- (0, import_type_guards46.isNotNil)(badge) || (0, import_type_guards46.isNotNil)(command) ? /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(StyledBadgeContainer, { children: badge ?? command }) : null,
13785
- props.rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(StyledRightIconContainer, { children: props.rightIcon }) : null
13754
+ props.leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(StyledLeftIconContainer, { children: props.leftIcon }) : null,
13755
+ /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(StyledLabelAndDescriptionContainer, { children }),
13756
+ (0, import_type_guards46.isNotNil)(badge) || (0, import_type_guards46.isNotNil)(command) ? /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(StyledBadgeContainer, { children: badge ?? command }) : null,
13757
+ props.rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime269.jsx)(StyledRightIconContainer, { children: props.rightIcon }) : null
13786
13758
  ]
13787
13759
  }
13788
13760
  );
@@ -13790,15 +13762,15 @@ var MenuItemButton = (0, import_react65.forwardRef)(({ children, appearance, com
13790
13762
  MenuItemButton.displayName = "MenuItemButton_UI";
13791
13763
 
13792
13764
  // src/components/Menu/MenuItemLabelDescription.tsx
13793
- var import_styled_components83 = __toESM(require("styled-components"));
13794
- var import_jsx_runtime271 = require("react/jsx-runtime");
13795
- var StyledMenuItemLabel = import_styled_components83.default.span``;
13796
- var StyledMenuItemDescription = (0, import_styled_components83.default)(Text)``;
13765
+ var import_styled_components82 = __toESM(require("styled-components"));
13766
+ var import_jsx_runtime270 = require("react/jsx-runtime");
13767
+ var StyledMenuItemLabel = import_styled_components82.default.span``;
13768
+ var StyledMenuItemDescription = (0, import_styled_components82.default)(Text)``;
13797
13769
  var MenuItemLabel = ({ children }) => {
13798
- return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(StyledMenuItemLabel, { children });
13770
+ return /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(StyledMenuItemLabel, { children });
13799
13771
  };
13800
13772
  var MenuItemDescription = ({ children }) => {
13801
- return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
13773
+ return /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
13802
13774
  StyledMenuItemDescription,
13803
13775
  {
13804
13776
  prominence: "secondary",
@@ -13809,18 +13781,18 @@ var MenuItemDescription = ({ children }) => {
13809
13781
  };
13810
13782
 
13811
13783
  // src/components/Menu/SubMenu.tsx
13812
- var import_jsx_runtime272 = require("react/jsx-runtime");
13813
- var SubMenuContent = (0, import_styled_components84.default)(import_react_dropdown_menu3.DropdownMenuSubContent)`
13784
+ var import_jsx_runtime271 = require("react/jsx-runtime");
13785
+ var SubMenuContent = (0, import_styled_components83.default)(import_react_dropdown_menu3.DropdownMenuSubContent)`
13814
13786
  ${menuContentCss}
13815
13787
 
13816
13788
  ${mq.smAndDown} {
13817
13789
  transform: translateX(-100%) !important;
13818
13790
  }
13819
13791
  `;
13820
- var StyledMobileSubMenuItems = import_styled_components84.default.div`
13792
+ var StyledMobileSubMenuItems = import_styled_components83.default.div`
13821
13793
  margin-left: var(--wui-space-04);
13822
13794
  `;
13823
- var StyledSubTrigger = (0, import_styled_components84.default)(import_react_dropdown_menu3.DropdownMenuSubTrigger)`
13795
+ var StyledSubTrigger = (0, import_styled_components83.default)(import_react_dropdown_menu3.DropdownMenuSubTrigger)`
13824
13796
  outline: none;
13825
13797
 
13826
13798
  &[data-state='open'],
@@ -13831,12 +13803,12 @@ var StyledSubTrigger = (0, import_styled_components84.default)(import_react_drop
13831
13803
  var SubMenuTrigger = ({ icon, ...props }) => {
13832
13804
  const { isSmAndUp } = useMq();
13833
13805
  const Trigger4 = isSmAndUp ? StyledSubTrigger : import_react_dropdown_menu3.DropdownMenuItem;
13834
- return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(Trigger4, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
13806
+ return /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Trigger4, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
13835
13807
  MenuItemButton,
13836
13808
  {
13837
13809
  ...props,
13838
13810
  leftIcon: icon,
13839
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(Icon, { type: "caret-right" })
13811
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Icon, { type: "caret-right" })
13840
13812
  }
13841
13813
  ) });
13842
13814
  };
@@ -13850,14 +13822,14 @@ var SubMenu = ({
13850
13822
  const { isSmAndUp } = useMq();
13851
13823
  const [isExpanded, setIsExpanded] = (0, import_react66.useState)(false);
13852
13824
  const { compact } = useMenuContext();
13853
- return isSmAndUp ? /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(import_react_dropdown_menu3.DropdownMenuSub, { onOpenChange, children: [
13854
- /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(SubMenuTrigger, { ...props, children: [
13855
- /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(MenuItemLabel, { children: label }),
13856
- (0, import_type_guards47.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(MenuItemDescription, { children: description }) : null
13825
+ return isSmAndUp ? /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(import_react_dropdown_menu3.DropdownMenuSub, { onOpenChange, children: [
13826
+ /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(SubMenuTrigger, { ...props, children: [
13827
+ /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(MenuItemLabel, { children: label }),
13828
+ (0, import_type_guards47.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(MenuItemDescription, { children: description }) : null
13857
13829
  ] }),
13858
- /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(import_react_dropdown_menu3.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(SubMenuContent, { $compact: compact, children }) })
13859
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(import_react_dropdown_menu3.DropdownMenuGroup, { children: [
13860
- /* @__PURE__ */ (0, import_jsx_runtime272.jsxs)(
13830
+ /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(import_react_dropdown_menu3.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(SubMenuContent, { $compact: compact, children }) })
13831
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(import_react_dropdown_menu3.DropdownMenuGroup, { children: [
13832
+ /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(
13861
13833
  SubMenuTrigger,
13862
13834
  {
13863
13835
  ...props,
@@ -13866,12 +13838,12 @@ var SubMenu = ({
13866
13838
  setIsExpanded((prev) => !prev);
13867
13839
  },
13868
13840
  children: [
13869
- /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(MenuItemLabel, { children: label }),
13870
- /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(MenuItemDescription, { children: description })
13841
+ /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(MenuItemLabel, { children: label }),
13842
+ /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(MenuItemDescription, { children: description })
13871
13843
  ]
13872
13844
  }
13873
13845
  ),
13874
- /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
13846
+ /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
13875
13847
  ] });
13876
13848
  };
13877
13849
  SubMenu.displayName = "SubMenu_UI";
@@ -13879,15 +13851,15 @@ SubMenu.displayName = "SubMenu_UI";
13879
13851
  // src/components/Menu/MenuItem.tsx
13880
13852
  var import_react67 = require("react");
13881
13853
  var import_react_dropdown_menu4 = require("@radix-ui/react-dropdown-menu");
13882
- var import_jsx_runtime273 = require("react/jsx-runtime");
13854
+ var import_jsx_runtime272 = require("react/jsx-runtime");
13883
13855
  var MenuItem = (0, import_react67.forwardRef)(
13884
13856
  ({ onSelect = () => null, ...props }, ref) => {
13885
- return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
13857
+ return /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
13886
13858
  import_react_dropdown_menu4.DropdownMenuItem,
13887
13859
  {
13888
13860
  asChild: true,
13889
13861
  onSelect,
13890
- children: /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(
13862
+ children: /* @__PURE__ */ (0, import_jsx_runtime272.jsx)(
13891
13863
  MenuItemButton,
13892
13864
  {
13893
13865
  ...props,
@@ -13903,19 +13875,19 @@ MenuItem.displayName = "MenuItem_UI";
13903
13875
 
13904
13876
  // src/components/Menu/MenuRadioGroup.tsx
13905
13877
  var import_react_dropdown_menu5 = require("@radix-ui/react-dropdown-menu");
13906
- var import_jsx_runtime274 = require("react/jsx-runtime");
13878
+ var import_jsx_runtime273 = require("react/jsx-runtime");
13907
13879
  var MenuRadioGroup = ({ children, ...props }) => {
13908
- return /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(import_react_dropdown_menu5.DropdownMenuRadioGroup, { ...props, children });
13880
+ return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(import_react_dropdown_menu5.DropdownMenuRadioGroup, { ...props, children });
13909
13881
  };
13910
13882
  MenuRadioGroup.displayName = "MenuRadioGroup_UI";
13911
13883
 
13912
13884
  // src/components/Menu/RadioMenuItem.tsx
13913
13885
  var import_react_dropdown_menu6 = require("@radix-ui/react-dropdown-menu");
13914
- var import_jsx_runtime275 = require("react/jsx-runtime");
13886
+ var import_jsx_runtime274 = require("react/jsx-runtime");
13915
13887
  var RadioMenuItem = ({
13916
13888
  onSelect,
13917
13889
  value,
13918
- indicator = /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
13890
+ indicator = /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
13919
13891
  Icon,
13920
13892
  {
13921
13893
  size: "sm",
@@ -13925,17 +13897,17 @@ var RadioMenuItem = ({
13925
13897
  ...props
13926
13898
  }) => {
13927
13899
  const extraProps = onSelect ? { onSelect } : {};
13928
- return /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
13900
+ return /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
13929
13901
  import_react_dropdown_menu6.DropdownMenuRadioItem,
13930
13902
  {
13931
13903
  ...extraProps,
13932
13904
  asChild: true,
13933
13905
  value,
13934
- children: /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
13906
+ children: /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(
13935
13907
  MenuItemButton,
13936
13908
  {
13937
13909
  ...props,
13938
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(import_react_dropdown_menu6.DropdownMenuItemIndicator, { children: indicator })
13910
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime274.jsx)(import_react_dropdown_menu6.DropdownMenuItemIndicator, { children: indicator })
13939
13911
  }
13940
13912
  )
13941
13913
  }
@@ -13946,9 +13918,9 @@ RadioMenuItem.displayName = "RadioMenuItem_UI";
13946
13918
  // src/components/Menu/CheckboxMenuItem.tsx
13947
13919
  var import_react_dropdown_menu7 = require("@radix-ui/react-dropdown-menu");
13948
13920
  var import_type_guards48 = require("@wistia/type-guards");
13949
- var import_jsx_runtime276 = require("react/jsx-runtime");
13921
+ var import_jsx_runtime275 = require("react/jsx-runtime");
13950
13922
  var CheckboxIndicator = ({ checked, ...props }) => {
13951
- return checked ? /* @__PURE__ */ (0, import_jsx_runtime276.jsxs)(
13923
+ return checked ? /* @__PURE__ */ (0, import_jsx_runtime275.jsxs)(
13952
13924
  "svg",
13953
13925
  {
13954
13926
  ...props,
@@ -13958,14 +13930,14 @@ var CheckboxIndicator = ({ checked, ...props }) => {
13958
13930
  width: "24",
13959
13931
  xmlns: "http://www.w3.org/2000/svg",
13960
13932
  children: [
13961
- /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
13933
+ /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
13962
13934
  "path",
13963
13935
  {
13964
13936
  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",
13965
13937
  fill: "#2949e5"
13966
13938
  }
13967
13939
  ),
13968
- /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
13940
+ /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
13969
13941
  "path",
13970
13942
  {
13971
13943
  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",
@@ -13974,7 +13946,7 @@ var CheckboxIndicator = ({ checked, ...props }) => {
13974
13946
  )
13975
13947
  ]
13976
13948
  }
13977
- ) : /* @__PURE__ */ (0, import_jsx_runtime276.jsxs)(
13949
+ ) : /* @__PURE__ */ (0, import_jsx_runtime275.jsxs)(
13978
13950
  "svg",
13979
13951
  {
13980
13952
  ...props,
@@ -13984,14 +13956,14 @@ var CheckboxIndicator = ({ checked, ...props }) => {
13984
13956
  width: "24",
13985
13957
  xmlns: "http://www.w3.org/2000/svg",
13986
13958
  children: [
13987
- /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
13959
+ /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
13988
13960
  "path",
13989
13961
  {
13990
13962
  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",
13991
13963
  fill: "#fcfcfd"
13992
13964
  }
13993
13965
  ),
13994
- /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
13966
+ /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
13995
13967
  "path",
13996
13968
  {
13997
13969
  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",
@@ -14008,19 +13980,19 @@ var CheckboxMenuItem = ({
14008
13980
  onCheckedChange,
14009
13981
  ...props
14010
13982
  }) => {
14011
- return /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
13983
+ return /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
14012
13984
  import_react_dropdown_menu7.DropdownMenuCheckboxItem,
14013
13985
  {
14014
13986
  asChild: true,
14015
13987
  checked,
14016
13988
  onCheckedChange,
14017
13989
  onSelect,
14018
- children: /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
13990
+ children: /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(
14019
13991
  MenuItemButton,
14020
13992
  {
14021
13993
  ...props,
14022
- leftIcon: (0, import_type_guards48.isNotNil)(props.icon) ? props.icon : /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(CheckboxIndicator, { checked }),
14023
- rightIcon: (0, import_type_guards48.isNotNil)(props.icon) ? /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(import_react_dropdown_menu7.DropdownMenuItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(Icon, { type: "checkmark" }) }) : void 0
13994
+ leftIcon: (0, import_type_guards48.isNotNil)(props.icon) ? props.icon : /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(CheckboxIndicator, { checked }),
13995
+ rightIcon: (0, import_type_guards48.isNotNil)(props.icon) ? /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(import_react_dropdown_menu7.DropdownMenuItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime275.jsx)(Icon, { type: "checkmark" }) }) : void 0
14024
13996
  }
14025
13997
  )
14026
13998
  }
@@ -14031,17 +14003,17 @@ CheckboxMenuItem.displayName = "CheckboxMenuItem_UI";
14031
14003
  // src/components/Menu/FilterMenu.tsx
14032
14004
  var import_react68 = require("react");
14033
14005
  var import_react_dropdown_menu8 = require("@radix-ui/react-dropdown-menu");
14034
- var import_jsx_runtime277 = require("react/jsx-runtime");
14006
+ var import_jsx_runtime276 = require("react/jsx-runtime");
14035
14007
  var FilterMenuItem = CheckboxMenuItem;
14036
14008
  var FilterMenu = (0, import_react68.forwardRef)(
14037
14009
  ({ value, onChange, searchValue, onSearchValueChange, children, ...props }, ref) => {
14038
- return /* @__PURE__ */ (0, import_jsx_runtime277.jsxs)(
14010
+ return /* @__PURE__ */ (0, import_jsx_runtime276.jsxs)(
14039
14011
  Menu,
14040
14012
  {
14041
14013
  ...props,
14042
14014
  ref,
14043
14015
  children: [
14044
- /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
14016
+ /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
14045
14017
  Card,
14046
14018
  {
14047
14019
  alignItems: "flex-end",
@@ -14056,7 +14028,7 @@ var FilterMenu = (0, import_react68.forwardRef)(
14056
14028
  right: 0,
14057
14029
  margin: "1px"
14058
14030
  },
14059
- children: /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
14031
+ children: /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
14060
14032
  Input,
14061
14033
  {
14062
14034
  autoFocus: true,
@@ -14082,7 +14054,7 @@ var FilterMenu = (0, import_react68.forwardRef)(
14082
14054
  )
14083
14055
  }
14084
14056
  ),
14085
- /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
14057
+ /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
14086
14058
  MenuItem,
14087
14059
  {
14088
14060
  disabled: true,
@@ -14090,13 +14062,13 @@ var FilterMenu = (0, import_react68.forwardRef)(
14090
14062
  children: " "
14091
14063
  }
14092
14064
  ),
14093
- import_react68.Children.toArray(children).length > 0 ? children : /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(MenuItem, { disabled: true, children: "No results found" }),
14094
- value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
14065
+ import_react68.Children.toArray(children).length > 0 ? children : /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(MenuItem, { disabled: true, children: "No results found" }),
14066
+ value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
14095
14067
  import_react_dropdown_menu8.DropdownMenuItem,
14096
14068
  {
14097
14069
  disabled: true,
14098
14070
  style: { marginTop: "24px" },
14099
- children: /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
14071
+ children: /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
14100
14072
  Card,
14101
14073
  {
14102
14074
  alignItems: "flex-end",
@@ -14111,7 +14083,7 @@ var FilterMenu = (0, import_react68.forwardRef)(
14111
14083
  right: 0,
14112
14084
  margin: "1px"
14113
14085
  },
14114
- children: /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
14086
+ children: /* @__PURE__ */ (0, import_jsx_runtime276.jsx)(
14115
14087
  Button,
14116
14088
  {
14117
14089
  onClick: () => onChange([]),
@@ -14132,36 +14104,36 @@ FilterMenu.displayName = "FilterMenu_UI";
14132
14104
 
14133
14105
  // src/components/Modal/Modal.tsx
14134
14106
  var import_react71 = require("react");
14135
- var import_styled_components89 = __toESM(require("styled-components"));
14107
+ var import_styled_components88 = __toESM(require("styled-components"));
14136
14108
  var import_react_dialog5 = require("@radix-ui/react-dialog");
14137
14109
  var import_type_guards50 = require("@wistia/type-guards");
14138
14110
 
14139
14111
  // src/components/Modal/ModalHeader.tsx
14140
- var import_styled_components86 = __toESM(require("styled-components"));
14112
+ var import_styled_components85 = __toESM(require("styled-components"));
14141
14113
  var import_react_dialog2 = require("@radix-ui/react-dialog");
14142
14114
 
14143
14115
  // src/components/Modal/ModalCloseButton.tsx
14144
- var import_styled_components85 = __toESM(require("styled-components"));
14116
+ var import_styled_components84 = __toESM(require("styled-components"));
14145
14117
  var import_react_dialog = require("@radix-ui/react-dialog");
14146
- var import_jsx_runtime278 = require("react/jsx-runtime");
14147
- var CloseButton = (0, import_styled_components85.default)(import_react_dialog.Close)`
14118
+ var import_jsx_runtime277 = require("react/jsx-runtime");
14119
+ var CloseButton = (0, import_styled_components84.default)(import_react_dialog.Close)`
14148
14120
  align-self: start;
14149
14121
  `;
14150
14122
  var ModalCloseButton = () => {
14151
- return /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(CloseButton, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(
14123
+ return /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(CloseButton, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(
14152
14124
  IconButton,
14153
14125
  {
14154
14126
  label: "Dismiss modal",
14155
14127
  size: "sm",
14156
14128
  variant: "ghost",
14157
- children: /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(Icon, { type: "close" })
14129
+ children: /* @__PURE__ */ (0, import_jsx_runtime277.jsx)(Icon, { type: "close" })
14158
14130
  }
14159
14131
  ) });
14160
14132
  };
14161
14133
 
14162
14134
  // src/components/Modal/ModalHeader.tsx
14163
- var import_jsx_runtime279 = require("react/jsx-runtime");
14164
- var Header = import_styled_components86.default.header`
14135
+ var import_jsx_runtime278 = require("react/jsx-runtime");
14136
+ var Header = import_styled_components85.default.header`
14165
14137
  display: flex;
14166
14138
  order: 1;
14167
14139
  gap: var(--wui-space-01);
@@ -14172,7 +14144,7 @@ var Header = import_styled_components86.default.header`
14172
14144
  margin: 0 0 var(--wui-space-03);
14173
14145
  }
14174
14146
  `;
14175
- var Title = (0, import_styled_components86.default)(import_react_dialog2.Title)`
14147
+ var Title = (0, import_styled_components85.default)(import_react_dialog2.Title)`
14176
14148
  font-family: var(--wui-typography-heading-2-family);
14177
14149
  line-height: var(--wui-typography-heading-2-line-height);
14178
14150
  font-size: var(--wui-typography-heading-2-size);
@@ -14183,16 +14155,16 @@ var ModalHeader = ({
14183
14155
  hideTitle,
14184
14156
  hideCloseButton
14185
14157
  }) => {
14186
- const TitleComponent = hideTitle ? /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(ScreenReaderOnly, { children: /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(Title, { children: title }) }) : /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(Title, { children: title });
14187
- return /* @__PURE__ */ (0, import_jsx_runtime279.jsxs)(Header, { $hideTitle: hideTitle, children: [
14158
+ const TitleComponent = hideTitle ? /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(ScreenReaderOnly, { children: /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(Title, { children: title }) }) : /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(Title, { children: title });
14159
+ return /* @__PURE__ */ (0, import_jsx_runtime278.jsxs)(Header, { $hideTitle: hideTitle, children: [
14188
14160
  TitleComponent,
14189
- hideCloseButton ? null : /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(ModalCloseButton, {})
14161
+ hideCloseButton ? null : /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(ModalCloseButton, {})
14190
14162
  ] });
14191
14163
  };
14192
14164
 
14193
14165
  // src/components/Modal/ModalContent.tsx
14194
14166
  var import_react70 = require("react");
14195
- var import_styled_components87 = __toESM(require("styled-components"));
14167
+ var import_styled_components86 = __toESM(require("styled-components"));
14196
14168
  var import_react_dialog3 = require("@radix-ui/react-dialog");
14197
14169
 
14198
14170
  // src/private/hooks/useFocusRestore/useFocusRestore.ts
@@ -14215,8 +14187,8 @@ var useFocusRestore = () => {
14215
14187
  };
14216
14188
 
14217
14189
  // src/components/Modal/ModalContent.tsx
14218
- var import_jsx_runtime280 = require("react/jsx-runtime");
14219
- var modalEnter = import_styled_components87.keyframes`
14190
+ var import_jsx_runtime279 = require("react/jsx-runtime");
14191
+ var modalEnter = import_styled_components86.keyframes`
14220
14192
  from {
14221
14193
  opacity: 0;
14222
14194
  transform: translateX(-50%) translateY(calc(var(--wui-modal-translate-y) + 24px));
@@ -14227,7 +14199,7 @@ var modalEnter = import_styled_components87.keyframes`
14227
14199
  transform: translateX(-50%) translateY(var(--wui-modal-translate-y));
14228
14200
  }
14229
14201
  `;
14230
- var modalExit = import_styled_components87.keyframes`
14202
+ var modalExit = import_styled_components86.keyframes`
14231
14203
  from {
14232
14204
  opacity: 1;
14233
14205
  transform: translateX(-50%) translateY(var(--wui-modal-translate-y));
@@ -14238,7 +14210,7 @@ var modalExit = import_styled_components87.keyframes`
14238
14210
  transform: translateX(-50%) translateY(calc(var(--wui-modal-translate-y) + 24px));
14239
14211
  }
14240
14212
  `;
14241
- var centeredModalStyles = import_styled_components87.css`
14213
+ var centeredModalStyles = import_styled_components86.css`
14242
14214
  --wui-modal-screen-offset: var(--wui-space-05);
14243
14215
  --wui-modal-translate-y: -50%;
14244
14216
 
@@ -14254,7 +14226,7 @@ var centeredModalStyles = import_styled_components87.css`
14254
14226
  animation: ${modalExit} var(--wui-motion-duration-03) var(--wui-motion-ease-out);
14255
14227
  }
14256
14228
  `;
14257
- var fixedTopModalStyles = import_styled_components87.css`
14229
+ var fixedTopModalStyles = import_styled_components86.css`
14258
14230
  --wui-modal-screen-offset-top: 15vh;
14259
14231
  --wui-modal-screen-offset-bottom: 5vh;
14260
14232
  --wui-modal-translate-y: 0%;
@@ -14273,7 +14245,7 @@ var fixedTopModalStyles = import_styled_components87.css`
14273
14245
  animation: ${modalExit} var(--wui-motion-duration-03) var(--wui-motion-ease-out);
14274
14246
  }
14275
14247
  `;
14276
- var slideInRight = import_styled_components87.keyframes`
14248
+ var slideInRight = import_styled_components86.keyframes`
14277
14249
  from {
14278
14250
  opacity: 0;
14279
14251
  transform: translateX(100%);
@@ -14284,7 +14256,7 @@ var slideInRight = import_styled_components87.keyframes`
14284
14256
  transform: translateX(0);
14285
14257
  }
14286
14258
  `;
14287
- var slideOutRight = import_styled_components87.keyframes`
14259
+ var slideOutRight = import_styled_components86.keyframes`
14288
14260
  from {
14289
14261
  opacity: 1;
14290
14262
  transform: translateX(0);
@@ -14295,7 +14267,7 @@ var slideOutRight = import_styled_components87.keyframes`
14295
14267
  transform: translateX(100%);
14296
14268
  }
14297
14269
  `;
14298
- var rightSidePanelModalStyles = import_styled_components87.css`
14270
+ var rightSidePanelModalStyles = import_styled_components86.css`
14299
14271
  --wui-modal-screen-offset: var(--wui-space-05);
14300
14272
 
14301
14273
  height: calc(100vh - var(--wui-modal-screen-offset) * 2);
@@ -14313,7 +14285,7 @@ var positionStyleMap = {
14313
14285
  "fixed-top": fixedTopModalStyles,
14314
14286
  "right-side-panel": rightSidePanelModalStyles
14315
14287
  };
14316
- var StyledModalContent = (0, import_styled_components87.default)(import_react_dialog3.Content)`
14288
+ var StyledModalContent = (0, import_styled_components86.default)(import_react_dialog3.Content)`
14317
14289
  position: fixed;
14318
14290
  display: flex;
14319
14291
  flex-direction: column;
@@ -14344,7 +14316,7 @@ var StyledModalContent = (0, import_styled_components87.default)(import_react_di
14344
14316
  var ModalContent = (0, import_react70.forwardRef)(
14345
14317
  ({ width, positionVariant = "fixed-top", children, ...props }, ref) => {
14346
14318
  useFocusRestore();
14347
- return /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(
14319
+ return /* @__PURE__ */ (0, import_jsx_runtime279.jsx)(
14348
14320
  StyledModalContent,
14349
14321
  {
14350
14322
  ref,
@@ -14360,8 +14332,8 @@ var ModalContent = (0, import_react70.forwardRef)(
14360
14332
 
14361
14333
  // src/components/Modal/ModalOverlay.tsx
14362
14334
  var import_react_dialog4 = require("@radix-ui/react-dialog");
14363
- var import_styled_components88 = __toESM(require("styled-components"));
14364
- var backdropShow = import_styled_components88.keyframes`
14335
+ var import_styled_components87 = __toESM(require("styled-components"));
14336
+ var backdropShow = import_styled_components87.keyframes`
14365
14337
  from {
14366
14338
  opacity: 0;
14367
14339
  }
@@ -14370,7 +14342,7 @@ var backdropShow = import_styled_components88.keyframes`
14370
14342
  opacity: 1;
14371
14343
  }
14372
14344
  `;
14373
- var backdropHide = import_styled_components88.keyframes`
14345
+ var backdropHide = import_styled_components87.keyframes`
14374
14346
  from {
14375
14347
  opacity: 1;
14376
14348
  }
@@ -14379,7 +14351,7 @@ var backdropHide = import_styled_components88.keyframes`
14379
14351
  opacity: 0;
14380
14352
  }
14381
14353
  `;
14382
- var ModalOverlay = (0, import_styled_components88.default)(import_react_dialog4.DialogOverlay)`
14354
+ var ModalOverlay = (0, import_styled_components87.default)(import_react_dialog4.DialogOverlay)`
14383
14355
  animation: ${backdropShow} var(--wui-motion-duration-02);
14384
14356
  background: var(--wui-color-backdrop);
14385
14357
  inset: 0;
@@ -14392,9 +14364,9 @@ var ModalOverlay = (0, import_styled_components88.default)(import_react_dialog4.
14392
14364
  `;
14393
14365
 
14394
14366
  // src/components/Modal/Modal.tsx
14395
- var import_jsx_runtime281 = require("react/jsx-runtime");
14367
+ var import_jsx_runtime280 = require("react/jsx-runtime");
14396
14368
  var DEFAULT_MODAL_WIDTH = "532px";
14397
- var ModalBody = import_styled_components89.default.div`
14369
+ var ModalBody = import_styled_components88.default.div`
14398
14370
  flex-direction: column;
14399
14371
  display: flex;
14400
14372
  flex: 1 0 0;
@@ -14413,7 +14385,7 @@ var Modal = (0, import_react71.forwardRef)(
14413
14385
  width = DEFAULT_MODAL_WIDTH,
14414
14386
  ...props
14415
14387
  }, ref) => {
14416
- return /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
14388
+ return /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(
14417
14389
  import_react_dialog5.Root,
14418
14390
  {
14419
14391
  onOpenChange: (open2) => {
@@ -14422,9 +14394,9 @@ var Modal = (0, import_react71.forwardRef)(
14422
14394
  }
14423
14395
  },
14424
14396
  open: isOpen,
14425
- children: /* @__PURE__ */ (0, import_jsx_runtime281.jsxs)(import_react_dialog5.Portal, { children: [
14426
- /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(ModalOverlay, {}),
14427
- /* @__PURE__ */ (0, import_jsx_runtime281.jsxs)(
14397
+ children: /* @__PURE__ */ (0, import_jsx_runtime280.jsxs)(import_react_dialog5.Portal, { children: [
14398
+ /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(ModalOverlay, {}),
14399
+ /* @__PURE__ */ (0, import_jsx_runtime280.jsxs)(
14428
14400
  ModalContent,
14429
14401
  {
14430
14402
  ref,
@@ -14440,8 +14412,8 @@ var Modal = (0, import_react71.forwardRef)(
14440
14412
  width,
14441
14413
  ...props,
14442
14414
  children: [
14443
- /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(ModalBody, { children }),
14444
- /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
14415
+ /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(ModalBody, { children }),
14416
+ /* @__PURE__ */ (0, import_jsx_runtime280.jsx)(
14445
14417
  ModalHeader,
14446
14418
  {
14447
14419
  hideCloseButton,
@@ -14461,7 +14433,7 @@ Modal.displayName = "Modal_UI";
14461
14433
 
14462
14434
  // src/components/Popover/Popover.tsx
14463
14435
  var import_react_popover5 = require("@radix-ui/react-popover");
14464
- var import_styled_components91 = __toESM(require("styled-components"));
14436
+ var import_styled_components90 = __toESM(require("styled-components"));
14465
14437
 
14466
14438
  // src/private/helpers/getControls/getControlProps.tsx
14467
14439
  var import_type_guards51 = require("@wistia/type-guards");
@@ -14471,12 +14443,12 @@ var getControlProps = (isOpen, onOpenChange) => {
14471
14443
 
14472
14444
  // src/components/Popover/PopoverArrow.tsx
14473
14445
  var import_react_popover4 = require("@radix-ui/react-popover");
14474
- var import_styled_components90 = __toESM(require("styled-components"));
14475
- var import_jsx_runtime282 = require("react/jsx-runtime");
14476
- var StyledPath = import_styled_components90.default.path`
14446
+ var import_styled_components89 = __toESM(require("styled-components"));
14447
+ var import_jsx_runtime281 = require("react/jsx-runtime");
14448
+ var StyledPath = import_styled_components89.default.path`
14477
14449
  fill: var(--wui-color-border-secondary);
14478
14450
  `;
14479
- var circleAnimation = import_styled_components90.keyframes`
14451
+ var circleAnimation = import_styled_components89.keyframes`
14480
14452
  0% {
14481
14453
  opacity: var(--wui-popover-arrow-circle-starting-opacity);
14482
14454
  }
@@ -14484,7 +14456,7 @@ var circleAnimation = import_styled_components90.keyframes`
14484
14456
  opacity: 0;
14485
14457
  }
14486
14458
  `;
14487
- var StyledCircle = import_styled_components90.default.circle`
14459
+ var StyledCircle = import_styled_components89.default.circle`
14488
14460
  stroke: var(--wui-color-border-active);
14489
14461
  animation-duration: 2s;
14490
14462
  animation-iteration-count: infinite;
@@ -14505,13 +14477,13 @@ var StyledCircle = import_styled_components90.default.circle`
14505
14477
  }
14506
14478
 
14507
14479
  @media (prefers-reduced-motion: no-preference) {
14508
- ${({ $isAnimated }) => $isAnimated && import_styled_components90.css`
14480
+ ${({ $isAnimated }) => $isAnimated && import_styled_components89.css`
14509
14481
  animation-name: ${circleAnimation};
14510
14482
  `}
14511
14483
  }
14512
14484
  `;
14513
14485
  var PopoverArrow = ({ isAnimated }) => {
14514
- return /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(import_react_popover4.PopoverArrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime282.jsxs)(
14486
+ return /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(import_react_popover4.PopoverArrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime281.jsxs)(
14515
14487
  "svg",
14516
14488
  {
14517
14489
  fill: "none",
@@ -14520,8 +14492,8 @@ var PopoverArrow = ({ isAnimated }) => {
14520
14492
  width: "48",
14521
14493
  xmlns: "http://www.w3.org/2000/svg",
14522
14494
  children: [
14523
- /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(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" }),
14524
- /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(
14495
+ /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(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" }),
14496
+ /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
14525
14497
  StyledCircle,
14526
14498
  {
14527
14499
  $isAnimated: isAnimated,
@@ -14532,7 +14504,7 @@ var PopoverArrow = ({ isAnimated }) => {
14532
14504
  strokeWidth: "4"
14533
14505
  }
14534
14506
  ),
14535
- /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(
14507
+ /* @__PURE__ */ (0, import_jsx_runtime281.jsx)(
14536
14508
  StyledCircle,
14537
14509
  {
14538
14510
  $isAnimated: isAnimated,
@@ -14550,11 +14522,11 @@ var PopoverArrow = ({ isAnimated }) => {
14550
14522
  PopoverArrow.displayName = "PopoverArrow_UI";
14551
14523
 
14552
14524
  // src/components/Popover/Popover.tsx
14553
- var import_jsx_runtime283 = require("react/jsx-runtime");
14554
- var StyledContent2 = (0, import_styled_components91.default)(import_react_popover5.Content)`
14525
+ var import_jsx_runtime282 = require("react/jsx-runtime");
14526
+ var StyledContent2 = (0, import_styled_components90.default)(import_react_popover5.Content)`
14555
14527
  z-index: var(--wui-zindex-popover);
14556
14528
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
14557
- ${({ $unstyled }) => !$unstyled && import_styled_components91.css`
14529
+ ${({ $unstyled }) => !$unstyled && import_styled_components90.css`
14558
14530
  border-radius: var(--wui-border-radius-02);
14559
14531
  padding: var(--wui-space-04);
14560
14532
  max-width: var(--wui-popover-max-width, 320px);
@@ -14590,9 +14562,9 @@ var Popover2 = ({
14590
14562
  "--wui-popover-max-width": maxWidth,
14591
14563
  "--wui-popover-max-height": maxHeight
14592
14564
  };
14593
- return /* @__PURE__ */ (0, import_jsx_runtime283.jsxs)(import_react_popover5.Root, { ...getControlProps(isOpen, onOpenChange), children: [
14594
- /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(import_react_popover5.Trigger, { asChild: true, children: trigger }),
14595
- /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(import_react_popover5.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime283.jsxs)(
14565
+ return /* @__PURE__ */ (0, import_jsx_runtime282.jsxs)(import_react_popover5.Root, { ...getControlProps(isOpen, onOpenChange), children: [
14566
+ /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(import_react_popover5.Trigger, { asChild: true, children: trigger }),
14567
+ /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(import_react_popover5.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime282.jsxs)(
14596
14568
  StyledContent2,
14597
14569
  {
14598
14570
  $colorScheme: colorScheme,
@@ -14601,17 +14573,17 @@ var Popover2 = ({
14601
14573
  $unstyled: unstyled,
14602
14574
  style,
14603
14575
  children: [
14604
- !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(import_react_popover5.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(
14576
+ !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(import_react_popover5.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(
14605
14577
  IconButton,
14606
14578
  {
14607
14579
  "data-wui-popover-close": true,
14608
14580
  label: "Close",
14609
14581
  variant: "ghost",
14610
- children: /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(Icon, { type: "close" })
14582
+ children: /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(Icon, { type: "close" })
14611
14583
  }
14612
14584
  ) }),
14613
- withArrow ? /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(PopoverArrow, { isAnimated }) : null,
14614
- /* @__PURE__ */ (0, import_jsx_runtime283.jsx)("div", { children })
14585
+ withArrow ? /* @__PURE__ */ (0, import_jsx_runtime282.jsx)(PopoverArrow, { isAnimated }) : null,
14586
+ /* @__PURE__ */ (0, import_jsx_runtime282.jsx)("div", { children })
14615
14587
  ]
14616
14588
  }
14617
14589
  ) })
@@ -14620,11 +14592,11 @@ var Popover2 = ({
14620
14592
  Popover2.displayName = "Popover_UI";
14621
14593
 
14622
14594
  // src/components/ProgressBar/ProgressBar.tsx
14623
- var import_styled_components92 = __toESM(require("styled-components"));
14595
+ var import_styled_components91 = __toESM(require("styled-components"));
14624
14596
  var import_react_progress = require("@radix-ui/react-progress");
14625
14597
  var import_type_guards52 = require("@wistia/type-guards");
14626
- var import_jsx_runtime284 = require("react/jsx-runtime");
14627
- var ProgressBarWrapper = import_styled_components92.default.div`
14598
+ var import_jsx_runtime283 = require("react/jsx-runtime");
14599
+ var ProgressBarWrapper = import_styled_components91.default.div`
14628
14600
  --progress-bar-height: 8px;
14629
14601
  --progress-bar-indicator-color: var(--wui-color-bg-fill);
14630
14602
  --progress-bar-background-color: var(--wui-color-bg-surface-secondary);
@@ -14640,7 +14612,7 @@ var getTranslateValue = (progress, max) => {
14640
14612
  const progressPercentage = progress / max * 100;
14641
14613
  return `translateX(-${100 - progressPercentage}%)`;
14642
14614
  };
14643
- var ProgressBarLabel = import_styled_components92.default.div`
14615
+ var ProgressBarLabel = import_styled_components91.default.div`
14644
14616
  display: flex;
14645
14617
  line-height: var(--wui-typography-label-3-line-height);
14646
14618
  font-size: var(--wui-typography-label-3-size);
@@ -14648,7 +14620,7 @@ var ProgressBarLabel = import_styled_components92.default.div`
14648
14620
  color: var(--wui-color-text-secondary);
14649
14621
  flex-shrink: 0;
14650
14622
  `;
14651
- var StyledProgressIndicator = (0, import_styled_components92.default)(import_react_progress.Indicator)`
14623
+ var StyledProgressIndicator = (0, import_styled_components91.default)(import_react_progress.Indicator)`
14652
14624
  background-color: var(--progress-bar-indicator-color);
14653
14625
  width: 100%;
14654
14626
  height: 100%;
@@ -14657,7 +14629,7 @@ var StyledProgressIndicator = (0, import_styled_components92.default)(import_rea
14657
14629
  transition: transform 660ms cubic-bezier(0.65, 0, 0.35, 1);
14658
14630
  transform: ${({ $progress, $max }) => getTranslateValue($progress, $max)};
14659
14631
  `;
14660
- var StyledProgressBar = (0, import_styled_components92.default)(import_react_progress.Root)`
14632
+ var StyledProgressBar = (0, import_styled_components91.default)(import_react_progress.Root)`
14661
14633
  position: relative;
14662
14634
  overflow: hidden;
14663
14635
  background: var(--progress-bar-background-color);
@@ -14676,15 +14648,15 @@ var ProgressBar = ({
14676
14648
  labelRight,
14677
14649
  ...props
14678
14650
  }) => {
14679
- return /* @__PURE__ */ (0, import_jsx_runtime284.jsxs)(ProgressBarWrapper, { children: [
14680
- (0, import_type_guards52.isNotNil)(labelLeft) ? /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(ProgressBarLabel, { children: labelLeft }) : null,
14681
- /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14651
+ return /* @__PURE__ */ (0, import_jsx_runtime283.jsxs)(ProgressBarWrapper, { children: [
14652
+ (0, import_type_guards52.isNotNil)(labelLeft) ? /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(ProgressBarLabel, { children: labelLeft }) : null,
14653
+ /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(
14682
14654
  StyledProgressBar,
14683
14655
  {
14684
14656
  max,
14685
14657
  value: progress,
14686
14658
  ...props,
14687
- children: /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14659
+ children: /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(
14688
14660
  StyledProgressIndicator,
14689
14661
  {
14690
14662
  $max: max,
@@ -14693,17 +14665,17 @@ var ProgressBar = ({
14693
14665
  )
14694
14666
  }
14695
14667
  ),
14696
- (0, import_type_guards52.isNotNil)(labelRight) ? /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(ProgressBarLabel, { children: labelRight }) : null
14668
+ (0, import_type_guards52.isNotNil)(labelRight) ? /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(ProgressBarLabel, { children: labelRight }) : null
14697
14669
  ] });
14698
14670
  };
14699
14671
  ProgressBar.displayName = "ProgressBar_UI";
14700
14672
 
14701
14673
  // src/components/Radio/Radio.tsx
14702
14674
  var import_react72 = require("react");
14703
- var import_styled_components93 = __toESM(require("styled-components"));
14675
+ var import_styled_components92 = __toESM(require("styled-components"));
14704
14676
  var import_type_guards53 = require("@wistia/type-guards");
14705
- var import_jsx_runtime285 = require("react/jsx-runtime");
14706
- var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
14677
+ var import_jsx_runtime284 = require("react/jsx-runtime");
14678
+ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14707
14679
  "svg",
14708
14680
  {
14709
14681
  fill: "inherit",
@@ -14711,7 +14683,7 @@ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
14711
14683
  viewBox: "0 0 1 1",
14712
14684
  width: "1",
14713
14685
  xmlns: "http://www.w3.org/2000/svg",
14714
- children: /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
14686
+ children: /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14715
14687
  "circle",
14716
14688
  {
14717
14689
  cx: "0.5",
@@ -14722,7 +14694,7 @@ var RadioIcon = () => /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
14722
14694
  )
14723
14695
  }
14724
14696
  );
14725
- var sizeSmall3 = import_styled_components93.css`
14697
+ var sizeSmall3 = import_styled_components92.css`
14726
14698
  width: 14px;
14727
14699
  height: 14px;
14728
14700
  min-width: 14px;
@@ -14733,7 +14705,7 @@ var sizeSmall3 = import_styled_components93.css`
14733
14705
  height: 7px;
14734
14706
  }
14735
14707
  `;
14736
- var sizeMedium3 = import_styled_components93.css`
14708
+ var sizeMedium3 = import_styled_components92.css`
14737
14709
  width: 16px;
14738
14710
  height: 16px;
14739
14711
  min-width: 16px;
@@ -14744,7 +14716,7 @@ var sizeMedium3 = import_styled_components93.css`
14744
14716
  height: 8px;
14745
14717
  }
14746
14718
  `;
14747
- var sizeLarge3 = import_styled_components93.css`
14719
+ var sizeLarge3 = import_styled_components92.css`
14748
14720
  width: 20px;
14749
14721
  height: 20px;
14750
14722
  min-width: 20px;
@@ -14760,14 +14732,14 @@ var getSizeCss3 = (size) => {
14760
14732
  if (size === "lg") return sizeLarge3;
14761
14733
  return sizeMedium3;
14762
14734
  };
14763
- var StyledRadioWrapper = import_styled_components93.default.div`
14735
+ var StyledRadioWrapper = import_styled_components92.default.div`
14764
14736
  display: flex;
14765
14737
  margin: 0;
14766
14738
 
14767
14739
  /* TODO this solves a problem but potentially causes and a11y issue */
14768
14740
  user-select: none;
14769
14741
  `;
14770
- var StyledRadioInput = import_styled_components93.default.div`
14742
+ var StyledRadioInput = import_styled_components92.default.div`
14771
14743
  ${({ $size }) => getSizeCss3($size)}
14772
14744
  line-height: 0;
14773
14745
  margin: 0;
@@ -14789,7 +14761,7 @@ var StyledRadioInput = import_styled_components93.default.div`
14789
14761
  }
14790
14762
  }
14791
14763
  `;
14792
- var StyledHiddenRadioInput = import_styled_components93.default.input`
14764
+ var StyledHiddenRadioInput = import_styled_components92.default.input`
14793
14765
  ${visuallyHiddenStyle}
14794
14766
 
14795
14767
  /* toggles display of faux-input border-color */
@@ -14826,13 +14798,13 @@ var Radio = (0, import_react72.forwardRef)(
14826
14798
  const radioName = name ?? contextName;
14827
14799
  const handleOnChange = onChange ?? contextOnChange;
14828
14800
  const defaultChecked = (0, import_type_guards53.isNotUndefined)(value) && (0, import_type_guards53.isNotUndefined)(contextValue) ? contextValue.includes(value) : void 0;
14829
- return /* @__PURE__ */ (0, import_jsx_runtime285.jsxs)(
14801
+ return /* @__PURE__ */ (0, import_jsx_runtime284.jsxs)(
14830
14802
  StyledRadioWrapper,
14831
14803
  {
14832
14804
  $disabled: disabled,
14833
14805
  "aria-invalid": props["aria-invalid"],
14834
14806
  children: [
14835
- /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
14807
+ /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14836
14808
  StyledHiddenRadioInput,
14837
14809
  {
14838
14810
  ...props,
@@ -14847,16 +14819,16 @@ var Radio = (0, import_react72.forwardRef)(
14847
14819
  ...(0, import_type_guards53.isNotUndefined)(defaultChecked) ? { defaultChecked } : { checked }
14848
14820
  }
14849
14821
  ),
14850
- /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
14822
+ /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14851
14823
  FormControlLabel,
14852
14824
  {
14853
- controlSlot: /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
14825
+ controlSlot: /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(
14854
14826
  StyledRadioInput,
14855
14827
  {
14856
14828
  $disabled: disabled,
14857
14829
  $size: size,
14858
14830
  "data-wui-faux-input": "true",
14859
- children: /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(RadioIcon, {})
14831
+ children: /* @__PURE__ */ (0, import_jsx_runtime284.jsx)(RadioIcon, {})
14860
14832
  }
14861
14833
  ),
14862
14834
  description,
@@ -14878,17 +14850,17 @@ var import_react74 = require("react");
14878
14850
 
14879
14851
  // src/components/RadioCard/RadioCardRoot.tsx
14880
14852
  var import_react73 = require("react");
14881
- var import_styled_components94 = __toESM(require("styled-components"));
14853
+ var import_styled_components93 = __toESM(require("styled-components"));
14882
14854
  var import_type_guards54 = require("@wistia/type-guards");
14883
- var import_jsx_runtime286 = require("react/jsx-runtime");
14884
- var checkedStyles = import_styled_components94.css`
14855
+ var import_jsx_runtime285 = require("react/jsx-runtime");
14856
+ var checkedStyles = import_styled_components93.css`
14885
14857
  --wui-radio-card-border-color: var(--wui-color-focus-ring);
14886
14858
  --wui-color-icon: var(--wui-color-icon-selected);
14887
14859
  --wui-radio-card-background-color: var(--wui-color-bg-surface-info);
14888
14860
  --wui-color-text: var(--wui-color-text-info);
14889
14861
  --wui-color-text-secondary: var(--wui-color-text-info);
14890
14862
  `;
14891
- var disabledStyles = import_styled_components94.css`
14863
+ var disabledStyles = import_styled_components93.css`
14892
14864
  --wui-radio-card-border-color: var(--wui-color-border-disabled);
14893
14865
  --wui-radio-card-background-color: var(--wui-color-bg-surface-disabled);
14894
14866
  --wui-radio-card-cursor: not-allowed;
@@ -14896,10 +14868,10 @@ var disabledStyles = import_styled_components94.css`
14896
14868
  --wui-color-text: var(--wui-color-text-disabled);
14897
14869
  --wui-color-text-secondary: var(--wui-color-text-disabled);
14898
14870
  `;
14899
- var focusStyles = import_styled_components94.css`
14871
+ var focusStyles = import_styled_components93.css`
14900
14872
  outline: 2px solid var(--wui-color-focus-ring);
14901
14873
  `;
14902
- var imageCoverStyles = import_styled_components94.css`
14874
+ var imageCoverStyles = import_styled_components93.css`
14903
14875
  --wui-radio-card-image-inset: 0px;
14904
14876
  --wui-radio-card-border-width: 0px;
14905
14877
  --wui-inset-shadow-width: 1px;
@@ -14930,7 +14902,7 @@ var imageCoverStyles = import_styled_components94.css`
14930
14902
  transition: all var(--wui-motion-duration-02) var(--wui-motion-ease);
14931
14903
  }
14932
14904
  `;
14933
- var StyledCard2 = import_styled_components94.default.label`
14905
+ var StyledCard2 = import_styled_components93.default.label`
14934
14906
  --wui-radio-card-border-color: var(--wui-color-border-secondary);
14935
14907
  --wui-radio-card-background-color: var(--wui-color-bg-surface);
14936
14908
  --wui-radio-card-cursor: pointer;
@@ -14983,7 +14955,7 @@ var StyledCard2 = import_styled_components94.default.label`
14983
14955
  }
14984
14956
  }
14985
14957
  `;
14986
- var StyledHiddenInput = import_styled_components94.default.input`
14958
+ var StyledHiddenInput = import_styled_components93.default.input`
14987
14959
  ${visuallyHiddenStyle}
14988
14960
  `;
14989
14961
  var RadioCardRoot = (0, import_react73.forwardRef)(
@@ -15008,14 +14980,14 @@ var RadioCardRoot = (0, import_react73.forwardRef)(
15008
14980
  const radioName = name ?? contextName;
15009
14981
  const handleOnChange = onChange ?? contextOnChange;
15010
14982
  const defaultChecked = (0, import_type_guards54.isNotUndefined)(value) && (0, import_type_guards54.isNotUndefined)(contextValue) ? contextValue.includes(value) : void 0;
15011
- return /* @__PURE__ */ (0, import_jsx_runtime286.jsxs)(
14983
+ return /* @__PURE__ */ (0, import_jsx_runtime285.jsxs)(
15012
14984
  StyledCard2,
15013
14985
  {
15014
14986
  $aspectRatio: aspectRatio,
15015
14987
  $padding: padding,
15016
14988
  htmlFor: computedId,
15017
14989
  children: [
15018
- /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(
14990
+ /* @__PURE__ */ (0, import_jsx_runtime285.jsx)(
15019
14991
  StyledHiddenInput,
15020
14992
  {
15021
14993
  ...props,
@@ -15038,12 +15010,12 @@ var RadioCardRoot = (0, import_react73.forwardRef)(
15038
15010
  RadioCardRoot.displayName = "RadioCardRoot_UI";
15039
15011
 
15040
15012
  // src/components/RadioCard/RadioCardDefaultLayout.tsx
15041
- var import_styled_components96 = __toESM(require("styled-components"));
15013
+ var import_styled_components95 = __toESM(require("styled-components"));
15042
15014
  var import_type_guards55 = require("@wistia/type-guards");
15043
15015
 
15044
15016
  // src/components/RadioCard/RadioCardIndicator.tsx
15045
- var import_styled_components95 = __toESM(require("styled-components"));
15046
- var RadioCardIndicator = import_styled_components95.default.div`
15017
+ var import_styled_components94 = __toESM(require("styled-components"));
15018
+ var RadioCardIndicator = import_styled_components94.default.div`
15047
15019
  --wui-radio-card-indicator-size: 14px;
15048
15020
  --wui-radio-card-indicator-background-color: var(--wui-color-bg-surface);
15049
15021
  --wui-radio-card-indicator-fill-color: var(--wui-color-bg-fill);
@@ -15092,16 +15064,16 @@ var RadioCardIndicator = import_styled_components95.default.div`
15092
15064
  RadioCardIndicator.displayName = "RadioCardIndicator_UI";
15093
15065
 
15094
15066
  // src/components/RadioCard/RadioCardDefaultLayout.tsx
15095
- var import_jsx_runtime287 = require("react/jsx-runtime");
15096
- var StyledCardContent = import_styled_components96.default.div`
15067
+ var import_jsx_runtime286 = require("react/jsx-runtime");
15068
+ var StyledCardContent = import_styled_components95.default.div`
15097
15069
  display: grid;
15098
15070
  grid-auto-flow: column;
15099
15071
  gap: var(--wui-space-02);
15100
15072
  `;
15101
- var StyledCardIcon = import_styled_components96.default.div`
15073
+ var StyledCardIcon = import_styled_components95.default.div`
15102
15074
  display: contents;
15103
15075
  `;
15104
- var StyledIndicatorContainer = import_styled_components96.default.div`
15076
+ var StyledIndicatorContainer = import_styled_components95.default.div`
15105
15077
  height: ${({ $hasIcon }) => $hasIcon ? "24px" : "16px"};
15106
15078
  display: flex;
15107
15079
  align-items: center;
@@ -15112,18 +15084,18 @@ var RadioCardDefaultLayout = ({
15112
15084
  description,
15113
15085
  showIndicator = true
15114
15086
  }) => {
15115
- return /* @__PURE__ */ (0, import_jsx_runtime287.jsxs)(StyledCardContent, { children: [
15116
- showIndicator ? /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(StyledIndicatorContainer, { $hasIcon: (0, import_type_guards55.isNotNil)(icon), children: /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(RadioCardIndicator, { "data-testid": "wui-radio-card-indicator" }) }) : null,
15117
- /* @__PURE__ */ (0, import_jsx_runtime287.jsxs)(Stack, { gap: "space-02", children: [
15118
- (0, import_type_guards55.isNotNil)(icon) && /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(StyledCardIcon, { "data-wui-radio-card-icon": true, children: icon }),
15119
- /* @__PURE__ */ (0, import_jsx_runtime287.jsxs)(
15087
+ return /* @__PURE__ */ (0, import_jsx_runtime286.jsxs)(StyledCardContent, { children: [
15088
+ showIndicator ? /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(StyledIndicatorContainer, { $hasIcon: (0, import_type_guards55.isNotNil)(icon), children: /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(RadioCardIndicator, { "data-testid": "wui-radio-card-indicator" }) }) : null,
15089
+ /* @__PURE__ */ (0, import_jsx_runtime286.jsxs)(Stack, { gap: "space-02", children: [
15090
+ (0, import_type_guards55.isNotNil)(icon) && /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(StyledCardIcon, { "data-wui-radio-card-icon": true, children: icon }),
15091
+ /* @__PURE__ */ (0, import_jsx_runtime286.jsxs)(
15120
15092
  Stack,
15121
15093
  {
15122
15094
  gap: "space-01",
15123
15095
  style: (0, import_type_guards55.isNotNil)(icon) ? { paddingLeft: 2 } : void 0,
15124
15096
  children: [
15125
- /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(Text, { variant: "label3", children: /* @__PURE__ */ (0, import_jsx_runtime287.jsx)("strong", { children: label }) }),
15126
- (0, import_type_guards55.isNotNil)(description) && /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(
15097
+ /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(Text, { variant: "label3", children: /* @__PURE__ */ (0, import_jsx_runtime286.jsx)("strong", { children: label }) }),
15098
+ (0, import_type_guards55.isNotNil)(description) && /* @__PURE__ */ (0, import_jsx_runtime286.jsx)(
15127
15099
  Text,
15128
15100
  {
15129
15101
  prominence: "secondary",
@@ -15140,15 +15112,15 @@ var RadioCardDefaultLayout = ({
15140
15112
  RadioCardDefaultLayout.displayName = "RadioCardDefaultLayout_UI";
15141
15113
 
15142
15114
  // src/components/RadioCard/RadioCard.tsx
15143
- var import_jsx_runtime288 = require("react/jsx-runtime");
15115
+ var import_jsx_runtime287 = require("react/jsx-runtime");
15144
15116
  var RadioCard = (0, import_react74.forwardRef)(
15145
15117
  ({ icon, label, description, showIndicator, ...rootProps }, ref) => {
15146
- return /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(
15118
+ return /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(
15147
15119
  RadioCardRoot,
15148
15120
  {
15149
15121
  ref,
15150
15122
  ...rootProps,
15151
- children: /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(
15123
+ children: /* @__PURE__ */ (0, import_jsx_runtime287.jsx)(
15152
15124
  RadioCardDefaultLayout,
15153
15125
  {
15154
15126
  description,
@@ -15165,17 +15137,17 @@ RadioCard.displayName = "RadioCard_UI";
15165
15137
 
15166
15138
  // src/components/RadioCard/RadioCardImage.tsx
15167
15139
  var import_react75 = require("react");
15168
- var import_jsx_runtime289 = require("react/jsx-runtime");
15140
+ var import_jsx_runtime288 = require("react/jsx-runtime");
15169
15141
  var RadioCardImage = (0, import_react75.forwardRef)(
15170
15142
  ({ label, imageSrc, aspectRatio, padding = "space-04", ...rootProps }, ref) => {
15171
- return /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
15143
+ return /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(
15172
15144
  RadioCardRoot,
15173
15145
  {
15174
15146
  ref,
15175
15147
  ...rootProps,
15176
15148
  aspectRatio,
15177
15149
  padding,
15178
- children: /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(
15150
+ children: /* @__PURE__ */ (0, import_jsx_runtime288.jsx)(
15179
15151
  Image,
15180
15152
  {
15181
15153
  alt: label,
@@ -15193,13 +15165,13 @@ RadioCardImage.displayName = "RadioCardImage_UI";
15193
15165
 
15194
15166
  // src/components/SegmentedControl/SegmentedControl.tsx
15195
15167
  var import_react78 = require("react");
15196
- var import_styled_components98 = __toESM(require("styled-components"));
15168
+ var import_styled_components97 = __toESM(require("styled-components"));
15197
15169
  var import_react_toggle_group3 = require("@radix-ui/react-toggle-group");
15198
15170
  var import_type_guards57 = require("@wistia/type-guards");
15199
15171
 
15200
15172
  // src/components/SegmentedControl/useSelectedItemStyle.tsx
15201
15173
  var import_react76 = require("react");
15202
- var import_jsx_runtime290 = require("react/jsx-runtime");
15174
+ var import_jsx_runtime289 = require("react/jsx-runtime");
15203
15175
  var SelectedItemStyleContext = (0, import_react76.createContext)(null);
15204
15176
  var SelectedItemStyleProvider = ({
15205
15177
  children
@@ -15220,7 +15192,7 @@ var SelectedItemStyleProvider = ({
15220
15192
  }),
15221
15193
  [selectedItemIndicatorStyle]
15222
15194
  );
15223
- return /* @__PURE__ */ (0, import_jsx_runtime290.jsx)(SelectedItemStyleContext.Provider, { value: contextValue, children });
15195
+ return /* @__PURE__ */ (0, import_jsx_runtime289.jsx)(SelectedItemStyleContext.Provider, { value: contextValue, children });
15224
15196
  };
15225
15197
  var useSelectedItemStyle = () => {
15226
15198
  const context = (0, import_react76.useContext)(SelectedItemStyleContext);
@@ -15231,7 +15203,7 @@ var useSelectedItemStyle = () => {
15231
15203
  };
15232
15204
 
15233
15205
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
15234
- var import_styled_components97 = __toESM(require("styled-components"));
15206
+ var import_styled_components96 = __toESM(require("styled-components"));
15235
15207
  var import_type_guards56 = require("@wistia/type-guards");
15236
15208
 
15237
15209
  // src/components/SegmentedControl/useSegmentedControlValue.tsx
@@ -15247,13 +15219,13 @@ var useSegmentedControlValue = () => {
15247
15219
  };
15248
15220
 
15249
15221
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
15250
- var import_jsx_runtime291 = require("react/jsx-runtime");
15251
- var selectedItemIndicatorStyles = import_styled_components97.css`
15222
+ var import_jsx_runtime290 = require("react/jsx-runtime");
15223
+ var selectedItemIndicatorStyles = import_styled_components96.css`
15252
15224
  background-color: var(--wui-color-bg-fill-white);
15253
15225
  border-radius: var(--wui-border-radius-rounded);
15254
15226
  box-shadow: var(--wui-elevation-01);
15255
15227
  `;
15256
- var SelectedItemIndicatorDiv = import_styled_components97.default.div`
15228
+ var SelectedItemIndicatorDiv = import_styled_components96.default.div`
15257
15229
  ${selectedItemIndicatorStyles}
15258
15230
  left: 0;
15259
15231
  position: absolute;
@@ -15269,7 +15241,7 @@ var SelectedItemIndicator = () => {
15269
15241
  if (!selectedValue || (0, import_type_guards56.isUndefined)(selectedItemIndicatorStyle)) {
15270
15242
  return null;
15271
15243
  }
15272
- return /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
15244
+ return /* @__PURE__ */ (0, import_jsx_runtime290.jsx)(
15273
15245
  SelectedItemIndicatorDiv,
15274
15246
  {
15275
15247
  "data-wui-selected-item-indicator": true,
@@ -15279,8 +15251,8 @@ var SelectedItemIndicator = () => {
15279
15251
  };
15280
15252
 
15281
15253
  // src/components/SegmentedControl/SegmentedControl.tsx
15282
- var import_jsx_runtime292 = require("react/jsx-runtime");
15283
- var segmentedControlStyles = import_styled_components98.css`
15254
+ var import_jsx_runtime291 = require("react/jsx-runtime");
15255
+ var segmentedControlStyles = import_styled_components97.css`
15284
15256
  display: inline-flex;
15285
15257
  background-color: var(--wui-color-bg-surface-secondary);
15286
15258
  border-radius: var(--wui-border-radius-rounded);
@@ -15291,7 +15263,7 @@ var segmentedControlStyles = import_styled_components98.css`
15291
15263
  position: relative;
15292
15264
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
15293
15265
  `;
15294
- var StyledSegmentedControl = (0, import_styled_components98.default)(import_react_toggle_group3.Root)`
15266
+ var StyledSegmentedControl = (0, import_styled_components97.default)(import_react_toggle_group3.Root)`
15295
15267
  ${segmentedControlStyles}
15296
15268
  `;
15297
15269
  var SegmentedControl = (0, import_react78.forwardRef)(
@@ -15306,7 +15278,7 @@ var SegmentedControl = (0, import_react78.forwardRef)(
15306
15278
  if ((0, import_type_guards57.isNil)(children)) {
15307
15279
  return null;
15308
15280
  }
15309
- return /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(
15281
+ return /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(
15310
15282
  StyledSegmentedControl,
15311
15283
  {
15312
15284
  ref,
@@ -15318,9 +15290,9 @@ var SegmentedControl = (0, import_react78.forwardRef)(
15318
15290
  type: "single",
15319
15291
  value: selectedValue,
15320
15292
  ...props,
15321
- children: /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime292.jsxs)(SelectedItemStyleProvider, { children: [
15293
+ children: /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime291.jsxs)(SelectedItemStyleProvider, { children: [
15322
15294
  children,
15323
- /* @__PURE__ */ (0, import_jsx_runtime292.jsx)(SelectedItemIndicator, {})
15295
+ /* @__PURE__ */ (0, import_jsx_runtime291.jsx)(SelectedItemIndicator, {})
15324
15296
  ] }) })
15325
15297
  }
15326
15298
  );
@@ -15330,11 +15302,11 @@ SegmentedControl.displayName = "SegmentedControl_UI";
15330
15302
 
15331
15303
  // src/components/SegmentedControl/SegmentedControlItem.tsx
15332
15304
  var import_react79 = require("react");
15333
- var import_styled_components99 = __toESM(require("styled-components"));
15305
+ var import_styled_components98 = __toESM(require("styled-components"));
15334
15306
  var import_react_toggle_group4 = require("@radix-ui/react-toggle-group");
15335
15307
  var import_type_guards58 = require("@wistia/type-guards");
15336
- var import_jsx_runtime293 = require("react/jsx-runtime");
15337
- var segmentedControlItemStyles = import_styled_components99.css`
15308
+ var import_jsx_runtime292 = require("react/jsx-runtime");
15309
+ var segmentedControlItemStyles = import_styled_components98.css`
15338
15310
  all: unset; /* ToggleGroupItem is a button element */
15339
15311
  align-items: center;
15340
15312
  border-radius: var(--wui-border-radius-rounded);
@@ -15401,7 +15373,7 @@ var segmentedControlItemStyles = import_styled_components99.css`
15401
15373
  }
15402
15374
  }
15403
15375
  `;
15404
- var StyledSegmentedControlItem = (0, import_styled_components99.default)(import_react_toggle_group4.Item)`
15376
+ var StyledSegmentedControlItem = (0, import_styled_components98.default)(import_react_toggle_group4.Item)`
15405
15377
  ${segmentedControlItemStyles}
15406
15378
  `;
15407
15379
  var SegmentedControlItem = (0, import_react79.forwardRef)(
@@ -15442,7 +15414,7 @@ var SegmentedControlItem = (0, import_react79.forwardRef)(
15442
15414
  resizeObserver.disconnect();
15443
15415
  };
15444
15416
  }, [selectedValue, setSelectedItemMeasurements, value]);
15445
- return /* @__PURE__ */ (0, import_jsx_runtime293.jsxs)(
15417
+ return /* @__PURE__ */ (0, import_jsx_runtime292.jsxs)(
15446
15418
  StyledSegmentedControlItem,
15447
15419
  {
15448
15420
  ref: combinedRef,
@@ -15465,9 +15437,9 @@ SegmentedControlItem.displayName = "SegmentedControlItem_UI";
15465
15437
  // src/components/Select/Select.tsx
15466
15438
  var import_react_select = require("@radix-ui/react-select");
15467
15439
  var import_react80 = require("react");
15468
- var import_styled_components100 = __toESM(require("styled-components"));
15469
- var import_jsx_runtime294 = require("react/jsx-runtime");
15470
- var StyledTrigger2 = (0, import_styled_components100.default)(import_react_select.Trigger)`
15440
+ var import_styled_components99 = __toESM(require("styled-components"));
15441
+ var import_jsx_runtime293 = require("react/jsx-runtime");
15442
+ var StyledTrigger2 = (0, import_styled_components99.default)(import_react_select.Trigger)`
15471
15443
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
15472
15444
  ${inputCss};
15473
15445
  padding: var(--wui-input-vertical-padding) var(--wui-input-horizontal-padding);
@@ -15511,7 +15483,7 @@ var StyledTrigger2 = (0, import_styled_components100.default)(import_react_selec
15511
15483
  color: var(--wui-input-placeholder);
15512
15484
  }
15513
15485
  `;
15514
- var StyledContent3 = (0, import_styled_components100.default)(import_react_select.Content)`
15486
+ var StyledContent3 = (0, import_styled_components99.default)(import_react_select.Content)`
15515
15487
  --wui-select-content-border: var(--wui-color-border);
15516
15488
  --wui-select-content-bg: var(--wui-color-bg-surface);
15517
15489
  --wui-select-content-border-radius: var(--wui-border-radius-02);
@@ -15539,13 +15511,13 @@ var Select = (0, import_react80.forwardRef)(
15539
15511
  ...props
15540
15512
  }, forwardedRef) => {
15541
15513
  const responsiveFullWidth = useResponsiveProp(fullWidth);
15542
- return /* @__PURE__ */ (0, import_jsx_runtime294.jsxs)(
15514
+ return /* @__PURE__ */ (0, import_jsx_runtime293.jsxs)(
15543
15515
  import_react_select.Root,
15544
15516
  {
15545
15517
  ...props,
15546
15518
  onValueChange: onChange,
15547
15519
  children: [
15548
- /* @__PURE__ */ (0, import_jsx_runtime294.jsxs)(
15520
+ /* @__PURE__ */ (0, import_jsx_runtime293.jsxs)(
15549
15521
  StyledTrigger2,
15550
15522
  {
15551
15523
  ref: forwardedRef,
@@ -15553,8 +15525,8 @@ var Select = (0, import_react80.forwardRef)(
15553
15525
  $fullWidth: responsiveFullWidth,
15554
15526
  ...props,
15555
15527
  children: [
15556
- /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select.Value, { placeholder }),
15557
- /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(
15528
+ /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(import_react_select.Value, { placeholder }),
15529
+ /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(
15558
15530
  Icon,
15559
15531
  {
15560
15532
  size: "md",
@@ -15564,10 +15536,10 @@ var Select = (0, import_react80.forwardRef)(
15564
15536
  ]
15565
15537
  }
15566
15538
  ),
15567
- /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime294.jsxs)(StyledContent3, { position: "popper", children: [
15568
- /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(Icon, { type: "caret-up" }) }),
15569
- /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select.Viewport, { children }),
15570
- /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(Icon, { type: "caret-down" }) })
15539
+ /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime293.jsxs)(StyledContent3, { position: "popper", children: [
15540
+ /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(Icon, { type: "caret-up" }) }),
15541
+ /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(import_react_select.Viewport, { children }),
15542
+ /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(Icon, { type: "caret-down" }) })
15571
15543
  ] }) })
15572
15544
  ]
15573
15545
  }
@@ -15579,10 +15551,10 @@ Select.displayName = "Select_UI";
15579
15551
  // src/components/Select/SelectOption.tsx
15580
15552
  var import_react_select2 = require("@radix-ui/react-select");
15581
15553
  var import_react81 = require("react");
15582
- var import_styled_components101 = __toESM(require("styled-components"));
15554
+ var import_styled_components100 = __toESM(require("styled-components"));
15583
15555
  var import_type_guards59 = require("@wistia/type-guards");
15584
- var import_jsx_runtime295 = require("react/jsx-runtime");
15585
- var StyledItem = (0, import_styled_components101.default)(import_react_select2.Item)`
15556
+ var import_jsx_runtime294 = require("react/jsx-runtime");
15557
+ var StyledItem = (0, import_styled_components100.default)(import_react_select2.Item)`
15586
15558
  ${variantStyleMap2.body3};
15587
15559
  display: flex;
15588
15560
  padding: var(--wui-select-option-padding);
@@ -15606,28 +15578,28 @@ var StyledItem = (0, import_styled_components101.default)(import_react_select2.I
15606
15578
  background-color: transparent;
15607
15579
  }
15608
15580
  `;
15609
- var StyledIconContainer2 = import_styled_components101.default.span`
15581
+ var StyledIconContainer = import_styled_components100.default.span`
15610
15582
  width: 12px;
15611
15583
  `;
15612
15584
  var SelectOption = (0, import_react81.forwardRef)(
15613
15585
  ({ children, selectedDisplayValue, ...props }, forwardedRef) => {
15614
- return /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)(
15586
+ return /* @__PURE__ */ (0, import_jsx_runtime294.jsxs)(
15615
15587
  StyledItem,
15616
15588
  {
15617
15589
  ...props,
15618
15590
  ref: forwardedRef,
15619
15591
  children: [
15620
- /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(StyledIconContainer2, { "data-indicator": true, children: /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
15592
+ /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(StyledIconContainer, { "data-indicator": true, children: /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(
15621
15593
  Icon,
15622
15594
  {
15623
15595
  size: "sm",
15624
15596
  type: "checkmark"
15625
15597
  }
15626
15598
  ) }) }),
15627
- (0, import_type_guards59.isNotNil)(selectedDisplayValue) ? /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)("div", { children: [
15599
+ (0, import_type_guards59.isNotNil)(selectedDisplayValue) ? /* @__PURE__ */ (0, import_jsx_runtime294.jsxs)("div", { children: [
15628
15600
  children,
15629
- /* @__PURE__ */ (0, import_jsx_runtime295.jsx)("div", { style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(import_react_select2.ItemText, { children: selectedDisplayValue }) })
15630
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(import_react_select2.ItemText, { children })
15601
+ /* @__PURE__ */ (0, import_jsx_runtime294.jsx)("div", { style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select2.ItemText, { children: selectedDisplayValue }) })
15602
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_select2.ItemText, { children })
15631
15603
  ]
15632
15604
  }
15633
15605
  );
@@ -15637,14 +15609,14 @@ SelectOption.displayName = "SelectOption_UI";
15637
15609
 
15638
15610
  // src/components/Select/SelectOptionGroup.tsx
15639
15611
  var import_react_select3 = require("@radix-ui/react-select");
15640
- var import_styled_components102 = __toESM(require("styled-components"));
15641
- var import_jsx_runtime296 = require("react/jsx-runtime");
15642
- var StyledLabel4 = (0, import_styled_components102.default)(import_react_select3.Label)`
15612
+ var import_styled_components101 = __toESM(require("styled-components"));
15613
+ var import_jsx_runtime295 = require("react/jsx-runtime");
15614
+ var StyledLabel4 = (0, import_styled_components101.default)(import_react_select3.Label)`
15643
15615
  padding: var(--wui-select-option-padding);
15644
15616
  `;
15645
15617
  var SelectOptionGroup = ({ children, label, ...props }) => {
15646
- return /* @__PURE__ */ (0, import_jsx_runtime296.jsxs)(import_react_select3.Group, { ...props, children: [
15647
- /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
15618
+ return /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)(import_react_select3.Group, { ...props, children: [
15619
+ /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
15648
15620
  Text,
15649
15621
  {
15650
15622
  prominence: "secondary",
@@ -15658,10 +15630,10 @@ var SelectOptionGroup = ({ children, label, ...props }) => {
15658
15630
 
15659
15631
  // src/components/Slider/Slider.tsx
15660
15632
  var import_react_slider2 = require("@radix-ui/react-slider");
15661
- var import_styled_components103 = __toESM(require("styled-components"));
15633
+ var import_styled_components102 = __toESM(require("styled-components"));
15662
15634
  var import_type_guards60 = require("@wistia/type-guards");
15663
- var import_jsx_runtime297 = require("react/jsx-runtime");
15664
- var SliderContainer = import_styled_components103.default.div`
15635
+ var import_jsx_runtime296 = require("react/jsx-runtime");
15636
+ var SliderContainer = import_styled_components102.default.div`
15665
15637
  --wui-slider-track-color: var(--wui-gray-6);
15666
15638
  --wui-slider-track-border-radius: var(--wui-border-radius-rounded);
15667
15639
  --wui-slider-range-color: var(--wui-color-bg-fill);
@@ -15677,7 +15649,7 @@ var SliderContainer = import_styled_components103.default.div`
15677
15649
  pointer-events: none;
15678
15650
  }
15679
15651
  `;
15680
- var StyledSliderRoot = (0, import_styled_components103.default)(import_react_slider2.Root)`
15652
+ var StyledSliderRoot = (0, import_styled_components102.default)(import_react_slider2.Root)`
15681
15653
  position: relative;
15682
15654
  display: flex;
15683
15655
  align-items: center;
@@ -15685,20 +15657,20 @@ var StyledSliderRoot = (0, import_styled_components103.default)(import_react_sli
15685
15657
  touch-action: none;
15686
15658
  width: 100%;
15687
15659
  `;
15688
- var StyledSliderTrack = (0, import_styled_components103.default)(import_react_slider2.Track)`
15660
+ var StyledSliderTrack = (0, import_styled_components102.default)(import_react_slider2.Track)`
15689
15661
  background-color: var(--wui-slider-track-color);
15690
15662
  border-radius: var(--wui-slider-track-border-radius);
15691
15663
  flex-grow: 1;
15692
15664
  height: 6px;
15693
15665
  position: relative;
15694
15666
  `;
15695
- var StyledSliderRange = (0, import_styled_components103.default)(import_react_slider2.Range)`
15667
+ var StyledSliderRange = (0, import_styled_components102.default)(import_react_slider2.Range)`
15696
15668
  background-color: var(--wui-slider-range-color);
15697
15669
  border-radius: var(--wui-slider-track-border-radius);
15698
15670
  height: 100%;
15699
15671
  position: absolute;
15700
15672
  `;
15701
- var StyledSliderThumb = (0, import_styled_components103.default)(import_react_slider2.Thumb)`
15673
+ var StyledSliderThumb = (0, import_styled_components102.default)(import_react_slider2.Thumb)`
15702
15674
  background-color: var(--wui-slider-thumb-color);
15703
15675
  border-radius: var(--wui-border-radius-rounded);
15704
15676
  cursor: grab;
@@ -15749,12 +15721,12 @@ var Slider = ({
15749
15721
  onChange(newValue);
15750
15722
  }
15751
15723
  };
15752
- return /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
15724
+ return /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
15753
15725
  SliderContainer,
15754
15726
  {
15755
15727
  ...otherProps,
15756
15728
  "data-testid": dataTestId,
15757
- children: /* @__PURE__ */ (0, import_jsx_runtime297.jsxs)(
15729
+ children: /* @__PURE__ */ (0, import_jsx_runtime296.jsxs)(
15758
15730
  StyledSliderRoot,
15759
15731
  {
15760
15732
  "aria-label": ariaLabel,
@@ -15767,8 +15739,8 @@ var Slider = ({
15767
15739
  step,
15768
15740
  ...value ? { value } : {},
15769
15741
  children: [
15770
- /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(StyledSliderTrack, { "data-testid": `${dataTestId}-track`, children: /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(StyledSliderRange, { "data-testid": `${dataTestId}-range` }) }),
15771
- values.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
15742
+ /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(StyledSliderTrack, { "data-testid": `${dataTestId}-track`, children: /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(StyledSliderRange, { "data-testid": `${dataTestId}-range` }) }),
15743
+ values.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
15772
15744
  StyledSliderThumb,
15773
15745
  {
15774
15746
  "data-testid": `${dataTestId}-thumb-${index}`
@@ -15784,25 +15756,25 @@ var Slider = ({
15784
15756
  Slider.displayName = "Slider_UI";
15785
15757
 
15786
15758
  // src/components/Table/Table.tsx
15787
- var import_styled_components104 = __toESM(require("styled-components"));
15788
- var import_jsx_runtime298 = require("react/jsx-runtime");
15789
- var StyledTable = import_styled_components104.default.table`
15759
+ var import_styled_components103 = __toESM(require("styled-components"));
15760
+ var import_jsx_runtime297 = require("react/jsx-runtime");
15761
+ var StyledTable = import_styled_components103.default.table`
15790
15762
  width: 100%;
15791
15763
  border-collapse: collapse;
15792
15764
 
15793
- ${({ $divided }) => $divided && import_styled_components104.css`
15765
+ ${({ $divided }) => $divided && import_styled_components103.css`
15794
15766
  tr {
15795
15767
  border-bottom: 1px solid var(--wui-color-border);
15796
15768
  }
15797
15769
  `}
15798
15770
 
15799
- ${({ $striped }) => $striped && import_styled_components104.css`
15771
+ ${({ $striped }) => $striped && import_styled_components103.css`
15800
15772
  tbody tr:nth-child(even) {
15801
15773
  background-color: var(--wui-color-bg-surface-secondary);
15802
15774
  }
15803
15775
  `}
15804
15776
 
15805
- ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && import_styled_components104.css`
15777
+ ${({ $visuallyHiddenHeader }) => $visuallyHiddenHeader && import_styled_components103.css`
15806
15778
  thead {
15807
15779
  ${visuallyHiddenStyle}
15808
15780
  }
@@ -15815,7 +15787,7 @@ var Table = ({
15815
15787
  visuallyHiddenHeader = false,
15816
15788
  ...props
15817
15789
  }) => {
15818
- return /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(
15790
+ return /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
15819
15791
  StyledTable,
15820
15792
  {
15821
15793
  $divided: divided,
@@ -15828,35 +15800,35 @@ var Table = ({
15828
15800
  };
15829
15801
 
15830
15802
  // src/components/Table/TableBody.tsx
15831
- var import_styled_components105 = __toESM(require("styled-components"));
15803
+ var import_styled_components104 = __toESM(require("styled-components"));
15832
15804
 
15833
15805
  // src/components/Table/TableSectionContext.ts
15834
15806
  var import_react82 = require("react");
15835
15807
  var TableSectionContext = (0, import_react82.createContext)(null);
15836
15808
 
15837
15809
  // src/components/Table/TableBody.tsx
15838
- var import_jsx_runtime299 = require("react/jsx-runtime");
15839
- var StyledTableBody = import_styled_components105.default.tbody``;
15810
+ var import_jsx_runtime298 = require("react/jsx-runtime");
15811
+ var StyledTableBody = import_styled_components104.default.tbody``;
15840
15812
  var TableBody = ({ children, ...props }) => {
15841
- return /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(StyledTableBody, { ...props, children }) });
15813
+ return /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(StyledTableBody, { ...props, children }) });
15842
15814
  };
15843
15815
 
15844
15816
  // src/components/Table/TableCell.tsx
15845
15817
  var import_react83 = require("react");
15846
- var import_styled_components106 = __toESM(require("styled-components"));
15847
- var import_jsx_runtime300 = require("react/jsx-runtime");
15848
- var sharedStyles = import_styled_components106.css`
15818
+ var import_styled_components105 = __toESM(require("styled-components"));
15819
+ var import_jsx_runtime299 = require("react/jsx-runtime");
15820
+ var sharedStyles = import_styled_components105.css`
15849
15821
  color: var(--wui-color-text);
15850
15822
  padding: var(--wui-space-02);
15851
15823
  text-align: left;
15852
15824
  `;
15853
- var StyledTh = import_styled_components106.default.th`
15825
+ var StyledTh = import_styled_components105.default.th`
15854
15826
  ${sharedStyles}
15855
15827
  font-size: var(--wui-typography-body-4-size);
15856
15828
  font-weight: var(--wui-typography-weight-label-bold);
15857
15829
  line-height: var(--wui-typography-body-4-line-height);
15858
15830
  `;
15859
- var StyledTd = import_styled_components106.default.td`
15831
+ var StyledTd = import_styled_components105.default.td`
15860
15832
  ${sharedStyles}
15861
15833
  font-size: var(--wui-typography-body-2-size);
15862
15834
  font-weight: var(--wui-typography-body-2-weight);
@@ -15865,33 +15837,33 @@ var StyledTd = import_styled_components106.default.td`
15865
15837
  var TableCell = ({ children, ...props }) => {
15866
15838
  const section = (0, import_react83.useContext)(TableSectionContext);
15867
15839
  if (section === "head") {
15868
- return /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(StyledTh, { ...props, children });
15840
+ return /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(StyledTh, { ...props, children });
15869
15841
  }
15870
- return /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(StyledTd, { ...props, children });
15842
+ return /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(StyledTd, { ...props, children });
15871
15843
  };
15872
15844
 
15873
15845
  // src/components/Table/TableFoot.tsx
15874
- var import_styled_components107 = __toESM(require("styled-components"));
15875
- var import_jsx_runtime301 = require("react/jsx-runtime");
15876
- var StyledTableFoot = import_styled_components107.default.tfoot``;
15846
+ var import_styled_components106 = __toESM(require("styled-components"));
15847
+ var import_jsx_runtime300 = require("react/jsx-runtime");
15848
+ var StyledTableFoot = import_styled_components106.default.tfoot``;
15877
15849
  var TableFoot = ({ children, ...props }) => {
15878
- return /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(StyledTableFoot, { ...props, children }) });
15850
+ return /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(StyledTableFoot, { ...props, children }) });
15879
15851
  };
15880
15852
 
15881
15853
  // src/components/Table/TableHead.tsx
15882
- var import_styled_components108 = __toESM(require("styled-components"));
15883
- var import_jsx_runtime302 = require("react/jsx-runtime");
15884
- var StyledThead = import_styled_components108.default.thead``;
15854
+ var import_styled_components107 = __toESM(require("styled-components"));
15855
+ var import_jsx_runtime301 = require("react/jsx-runtime");
15856
+ var StyledThead = import_styled_components107.default.thead``;
15885
15857
  var TableHead = ({ children, ...props }) => {
15886
- return /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(StyledThead, { ...props, children }) });
15858
+ return /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(StyledThead, { ...props, children }) });
15887
15859
  };
15888
15860
 
15889
15861
  // src/components/Table/TableRow.tsx
15890
- var import_styled_components109 = __toESM(require("styled-components"));
15891
- var import_jsx_runtime303 = require("react/jsx-runtime");
15892
- var StyledTableRow = import_styled_components109.default.tr``;
15862
+ var import_styled_components108 = __toESM(require("styled-components"));
15863
+ var import_jsx_runtime302 = require("react/jsx-runtime");
15864
+ var StyledTableRow = import_styled_components108.default.tr``;
15893
15865
  var TableRow = ({ children, ...props }) => {
15894
- return /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(StyledTableRow, { ...props, children });
15866
+ return /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(StyledTableRow, { ...props, children });
15895
15867
  };
15896
15868
 
15897
15869
  // src/components/Tabs/Tabs.tsx
@@ -15912,7 +15884,7 @@ var useTabsValue = () => {
15912
15884
  };
15913
15885
 
15914
15886
  // src/components/Tabs/Tabs.tsx
15915
- var import_jsx_runtime304 = require("react/jsx-runtime");
15887
+ var import_jsx_runtime303 = require("react/jsx-runtime");
15916
15888
  var Tabs = ({
15917
15889
  children,
15918
15890
  value: valueProp,
@@ -15940,42 +15912,42 @@ var Tabs = ({
15940
15912
  if ((0, import_type_guards61.isNotNil)(defaultValue)) {
15941
15913
  rootProps.defaultValue = defaultValue;
15942
15914
  }
15943
- return /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(import_react_tabs.Root, { ...rootProps, children: /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(SelectedItemStyleProvider, { children }) }) });
15915
+ return /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(import_react_tabs.Root, { ...rootProps, children: /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(SelectedItemStyleProvider, { children }) }) });
15944
15916
  };
15945
15917
  Tabs.displayName = "Tabs_UI";
15946
15918
 
15947
15919
  // src/components/Tabs/TabsContent.tsx
15948
15920
  var import_react_tabs2 = require("@radix-ui/react-tabs");
15949
- var import_jsx_runtime305 = require("react/jsx-runtime");
15921
+ var import_jsx_runtime304 = require("react/jsx-runtime");
15950
15922
  var TabsContent = ({ children, value }) => {
15951
- return /* @__PURE__ */ (0, import_jsx_runtime305.jsx)(import_react_tabs2.Content, { value, children });
15923
+ return /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(import_react_tabs2.Content, { value, children });
15952
15924
  };
15953
15925
  TabsContent.displayName = "TabsContent_UI";
15954
15926
 
15955
15927
  // src/components/Tabs/TabsList.tsx
15956
15928
  var import_react_tabs3 = require("@radix-ui/react-tabs");
15957
- var import_styled_components111 = __toESM(require("styled-components"));
15929
+ var import_styled_components110 = __toESM(require("styled-components"));
15958
15930
 
15959
15931
  // src/components/Tabs/SelectedTabIndicator.tsx
15960
15932
  var import_type_guards62 = require("@wistia/type-guards");
15961
15933
 
15962
15934
  // src/components/Tabs/TabsSelectedItemIndicatorDiv.tsx
15963
- var import_styled_components110 = __toESM(require("styled-components"));
15964
- var TabsSelectedItemIndicatorDiv = (0, import_styled_components110.default)(SelectedItemIndicatorDiv)`
15935
+ var import_styled_components109 = __toESM(require("styled-components"));
15936
+ var TabsSelectedItemIndicatorDiv = (0, import_styled_components109.default)(SelectedItemIndicatorDiv)`
15965
15937
  &:has(~ button[role='tab']:focus-visible) {
15966
15938
  outline: 2px solid var(--wui-color-focus-ring);
15967
15939
  }
15968
15940
  `;
15969
15941
 
15970
15942
  // src/components/Tabs/SelectedTabIndicator.tsx
15971
- var import_jsx_runtime306 = require("react/jsx-runtime");
15943
+ var import_jsx_runtime305 = require("react/jsx-runtime");
15972
15944
  var SelectedTabIndicator = () => {
15973
15945
  const { selectedItemIndicatorStyle } = useSelectedItemStyle();
15974
15946
  const selectedValue = useTabsValue();
15975
15947
  if (selectedValue == null || (0, import_type_guards62.isUndefined)(selectedItemIndicatorStyle)) {
15976
15948
  return null;
15977
15949
  }
15978
- return /* @__PURE__ */ (0, import_jsx_runtime306.jsx)(
15950
+ return /* @__PURE__ */ (0, import_jsx_runtime305.jsx)(
15979
15951
  TabsSelectedItemIndicatorDiv,
15980
15952
  {
15981
15953
  "data-wui-selected-item-indicator": true,
@@ -15985,19 +15957,19 @@ var SelectedTabIndicator = () => {
15985
15957
  };
15986
15958
 
15987
15959
  // src/components/Tabs/TabsList.tsx
15988
- var import_jsx_runtime307 = require("react/jsx-runtime");
15989
- var StyledRadixTabsList = (0, import_styled_components111.default)(import_react_tabs3.List)`
15960
+ var import_jsx_runtime306 = require("react/jsx-runtime");
15961
+ var StyledRadixTabsList = (0, import_styled_components110.default)(import_react_tabs3.List)`
15990
15962
  ${segmentedControlStyles}
15991
15963
  `;
15992
15964
  var TabsList = ({ children, fullWidth = true, ...props }) => {
15993
- return /* @__PURE__ */ (0, import_jsx_runtime307.jsxs)(
15965
+ return /* @__PURE__ */ (0, import_jsx_runtime306.jsxs)(
15994
15966
  StyledRadixTabsList,
15995
15967
  {
15996
15968
  $fullWidth: fullWidth,
15997
15969
  "aria-label": props["aria-label"],
15998
15970
  children: [
15999
15971
  children,
16000
- /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(SelectedTabIndicator, {})
15972
+ /* @__PURE__ */ (0, import_jsx_runtime306.jsx)(SelectedTabIndicator, {})
16001
15973
  ]
16002
15974
  }
16003
15975
  );
@@ -16009,9 +15981,9 @@ var import_react86 = require("react");
16009
15981
  var import_type_guards63 = require("@wistia/type-guards");
16010
15982
 
16011
15983
  // src/components/Tabs/StyledRadixTabsTrigger.tsx
16012
- var import_styled_components112 = __toESM(require("styled-components"));
15984
+ var import_styled_components111 = __toESM(require("styled-components"));
16013
15985
  var import_react_tabs4 = require("@radix-ui/react-tabs");
16014
- var StyledRadixTabsTrigger = (0, import_styled_components112.default)(import_react_tabs4.Trigger)`
15986
+ var StyledRadixTabsTrigger = (0, import_styled_components111.default)(import_react_tabs4.Trigger)`
16015
15987
  ${segmentedControlItemStyles}
16016
15988
 
16017
15989
  &:focus-visible {
@@ -16020,7 +15992,7 @@ var StyledRadixTabsTrigger = (0, import_styled_components112.default)(import_rea
16020
15992
  `;
16021
15993
 
16022
15994
  // src/components/Tabs/TabsTrigger.tsx
16023
- var import_jsx_runtime308 = require("react/jsx-runtime");
15995
+ var import_jsx_runtime307 = require("react/jsx-runtime");
16024
15996
  var TabsTrigger = (0, import_react86.forwardRef)(
16025
15997
  ({ disabled = false, icon, label, "aria-label": ariaLabel, value, ...otherProps }, forwardedRef) => {
16026
15998
  const selectedValue = useTabsValue();
@@ -16052,7 +16024,7 @@ var TabsTrigger = (0, import_react86.forwardRef)(
16052
16024
  resizeObserver.disconnect();
16053
16025
  };
16054
16026
  }, [selectedValue, setSelectedItemMeasurements, value]);
16055
- return /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)(
16027
+ return /* @__PURE__ */ (0, import_jsx_runtime307.jsxs)(
16056
16028
  StyledRadixTabsTrigger,
16057
16029
  {
16058
16030
  ...otherProps,
@@ -16072,10 +16044,10 @@ var TabsTrigger = (0, import_react86.forwardRef)(
16072
16044
  TabsTrigger.displayName = "TabsTrigger_UI";
16073
16045
 
16074
16046
  // src/components/Thumbnail/ThumbnailBadge.tsx
16075
- var import_styled_components113 = __toESM(require("styled-components"));
16047
+ var import_styled_components112 = __toESM(require("styled-components"));
16076
16048
  var import_type_guards64 = require("@wistia/type-guards");
16077
- var import_jsx_runtime309 = require("react/jsx-runtime");
16078
- var StyledThumbnailBadge = import_styled_components113.default.div`
16049
+ var import_jsx_runtime308 = require("react/jsx-runtime");
16050
+ var StyledThumbnailBadge = import_styled_components112.default.div`
16079
16051
  align-items: center;
16080
16052
  background-color: rgb(0 0 0 / 50%);
16081
16053
  border-radius: var(--wui-border-radius-01);
@@ -16100,23 +16072,23 @@ var StyledThumbnailBadge = import_styled_components113.default.div`
16100
16072
  }
16101
16073
  `;
16102
16074
  var ThumbnailBadge = ({ icon, label, ...props }) => {
16103
- return /* @__PURE__ */ (0, import_jsx_runtime309.jsxs)(StyledThumbnailBadge, { ...props, children: [
16075
+ return /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)(StyledThumbnailBadge, { ...props, children: [
16104
16076
  (0, import_type_guards64.isNotNil)(icon) && icon,
16105
- /* @__PURE__ */ (0, import_jsx_runtime309.jsx)("span", { children: label })
16077
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsx)("span", { children: label })
16106
16078
  ] });
16107
16079
  };
16108
16080
  ThumbnailBadge.displayName = "ThumbnailBadge_UI";
16109
16081
 
16110
16082
  // src/components/Thumbnail/Thumbnail.tsx
16111
16083
  var import_react87 = require("react");
16112
- var import_styled_components116 = __toESM(require("styled-components"));
16084
+ var import_styled_components115 = __toESM(require("styled-components"));
16113
16085
  var import_type_guards67 = require("@wistia/type-guards");
16114
16086
 
16115
16087
  // src/private/helpers/getBackgroundGradient/getBackgroundGradient.ts
16116
16088
  var import_type_guards65 = require("@wistia/type-guards");
16117
- var import_styled_components114 = require("styled-components");
16089
+ var import_styled_components113 = require("styled-components");
16118
16090
  var gradients = {
16119
- defaultDarkOne: import_styled_components114.css`
16091
+ defaultDarkOne: import_styled_components113.css`
16120
16092
  background-color: #222d66;
16121
16093
  background-image:
16122
16094
  radial-gradient(farthest-corner at top right, #222d66, transparent 70%),
@@ -16124,7 +16096,7 @@ var gradients = {
16124
16096
  radial-gradient(farthest-corner at bottom left, #6b84ff, transparent 57%),
16125
16097
  radial-gradient(farthest-corner at top left, #2949e5, transparent 68%);
16126
16098
  `,
16127
- defaultDarkTwo: import_styled_components114.css`
16099
+ defaultDarkTwo: import_styled_components113.css`
16128
16100
  background-color: #222d66;
16129
16101
  background-image:
16130
16102
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 100%),
@@ -16132,7 +16104,7 @@ var gradients = {
16132
16104
  radial-gradient(farthest-corner at bottom right, #2949e5, transparent 50%),
16133
16105
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
16134
16106
  `,
16135
- defaultLightOne: import_styled_components114.css`
16107
+ defaultLightOne: import_styled_components113.css`
16136
16108
  background-color: #ccd5ff;
16137
16109
  background-image:
16138
16110
  radial-gradient(farthest-corner at bottom right, #ccd5ff, transparent 55%),
@@ -16140,13 +16112,13 @@ var gradients = {
16140
16112
  radial-gradient(farthest-corner at top right, #6b84ff, transparent 50%),
16141
16113
  radial-gradient(farthest-corner at bottom left, #f7f8ff, transparent 50%);
16142
16114
  `,
16143
- defaultLightTwo: import_styled_components114.css`
16115
+ defaultLightTwo: import_styled_components113.css`
16144
16116
  background-color: #ccd5ff;
16145
16117
  background-image:
16146
16118
  radial-gradient(ellipse at top, #ccd5ff, transparent),
16147
16119
  radial-gradient(ellipse at bottom, #6b84ff, transparent);
16148
16120
  `,
16149
- defaultMidOne: import_styled_components114.css`
16121
+ defaultMidOne: import_styled_components113.css`
16150
16122
  background-color: #6b84ff;
16151
16123
  background-image:
16152
16124
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%),
@@ -16154,13 +16126,13 @@ var gradients = {
16154
16126
  radial-gradient(farthest-corner at top left, #6b84ff, transparent 80%),
16155
16127
  radial-gradient(farthest-corner at bottom left, #222d66, transparent 57%);
16156
16128
  `,
16157
- defaultMidTwo: import_styled_components114.css`
16129
+ defaultMidTwo: import_styled_components113.css`
16158
16130
  background-color: #6b84ff;
16159
16131
  background-image:
16160
16132
  radial-gradient(ellipse at top, #2949e5, transparent),
16161
16133
  radial-gradient(ellipse at bottom, #ccd5ff, transparent);
16162
16134
  `,
16163
- green: import_styled_components114.css`
16135
+ green: import_styled_components113.css`
16164
16136
  background-color: #fafffa;
16165
16137
  background-image:
16166
16138
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -16168,7 +16140,7 @@ var gradients = {
16168
16140
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
16169
16141
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
16170
16142
  `,
16171
- greenWithPop: import_styled_components114.css`
16143
+ greenWithPop: import_styled_components113.css`
16172
16144
  background-color: #fafffa;
16173
16145
  background-image:
16174
16146
  radial-gradient(farthest-corner at bottom left, #b0e5a5, transparent 50%),
@@ -16176,7 +16148,7 @@ var gradients = {
16176
16148
  radial-gradient(farthest-corner at top left, #44b62d, transparent 65%),
16177
16149
  radial-gradient(farthest-corner at bottom right, #44b62d, transparent 55%);
16178
16150
  `,
16179
- pink: import_styled_components114.css`
16151
+ pink: import_styled_components113.css`
16180
16152
  background-color: #fffff0;
16181
16153
  background-image:
16182
16154
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 50%),
@@ -16184,7 +16156,7 @@ var gradients = {
16184
16156
  radial-gradient(farthest-corner at top left, #ff40b3, transparent 65%),
16185
16157
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%);
16186
16158
  `,
16187
- pinkWithPop: import_styled_components114.css`
16159
+ pinkWithPop: import_styled_components113.css`
16188
16160
  background-color: #fffff0;
16189
16161
  background-image:
16190
16162
  radial-gradient(farthest-corner at top right, #e0128e, transparent 70%),
@@ -16192,7 +16164,7 @@ var gradients = {
16192
16164
  radial-gradient(farthest-corner at bottom right, #ff40b3, transparent 55%),
16193
16165
  radial-gradient(farthest-corner at bottom left, #2949e5, transparent 50%);
16194
16166
  `,
16195
- playfulGradientOne: import_styled_components114.css`
16167
+ playfulGradientOne: import_styled_components113.css`
16196
16168
  background-color: #f7f8ff;
16197
16169
  background-image:
16198
16170
  radial-gradient(farthest-corner at top left, #d65cff, transparent 68%),
@@ -16200,7 +16172,7 @@ var gradients = {
16200
16172
  radial-gradient(farthest-corner at bottom left, #ffc7e8, transparent 57%),
16201
16173
  radial-gradient(farthest-corner at top right, #ffcaba, transparent 70%);
16202
16174
  `,
16203
- playfulGradientTwo: import_styled_components114.css`
16175
+ playfulGradientTwo: import_styled_components113.css`
16204
16176
  background-color: #f7f8ff;
16205
16177
  background-image:
16206
16178
  radial-gradient(farthest-corner at top left, #44b62d, transparent 68%),
@@ -16208,13 +16180,13 @@ var gradients = {
16208
16180
  radial-gradient(farthest-corner at bottom left, #ccd5ff, transparent 57%),
16209
16181
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
16210
16182
  `,
16211
- purple: import_styled_components114.css`
16183
+ purple: import_styled_components113.css`
16212
16184
  background-color: #f2caff;
16213
16185
  background-image:
16214
16186
  radial-gradient(ellipse at 0% 100%, #f9e5ff, transparent 50%),
16215
16187
  radial-gradient(ellipse at 100% 0%, #e093fa, transparent 70%);
16216
16188
  `,
16217
- purpleWithPop: import_styled_components114.css`
16189
+ purpleWithPop: import_styled_components113.css`
16218
16190
  background-color: #f2caff;
16219
16191
  background-image:
16220
16192
  radial-gradient(farthest-corner at bottom left, #f2caff, transparent 50%),
@@ -16222,7 +16194,7 @@ var gradients = {
16222
16194
  radial-gradient(farthest-corner at bottom right, #d65cff, transparent 55%),
16223
16195
  radial-gradient(farthest-corner at top right, #2949e5, transparent 70%);
16224
16196
  `,
16225
- yellow: import_styled_components114.css`
16197
+ yellow: import_styled_components113.css`
16226
16198
  background-color: #fffff0;
16227
16199
  background-image:
16228
16200
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -16230,7 +16202,7 @@ var gradients = {
16230
16202
  radial-gradient(farthest-corner at top left, #e8ec1e, transparent 65%),
16231
16203
  radial-gradient(farthest-corner at bottom right, #e8ec1e, transparent 55%);
16232
16204
  `,
16233
- yellowWithPop: import_styled_components114.css`
16205
+ yellowWithPop: import_styled_components113.css`
16234
16206
  background-color: #fffff0;
16235
16207
  background-image:
16236
16208
  radial-gradient(farthest-corner at bottom left, #eff18d, transparent 50%),
@@ -16245,10 +16217,10 @@ var getBackgroundGradient = (gradientName = void 0) => {
16245
16217
  };
16246
16218
 
16247
16219
  // src/components/Thumbnail/ThumbnailStoryboardViewer.tsx
16248
- var import_styled_components115 = __toESM(require("styled-components"));
16220
+ var import_styled_components114 = __toESM(require("styled-components"));
16249
16221
  var import_type_guards66 = require("@wistia/type-guards");
16250
- var import_jsx_runtime310 = require("react/jsx-runtime");
16251
- var ScrubLine = import_styled_components115.default.div`
16222
+ var import_jsx_runtime309 = require("react/jsx-runtime");
16223
+ var ScrubLine = import_styled_components114.default.div`
16252
16224
  position: absolute;
16253
16225
  top: 0;
16254
16226
  height: 100%;
@@ -16351,14 +16323,14 @@ var ThumbnailStoryboardViewer = ({
16351
16323
  backgroundPosition,
16352
16324
  backgroundSize
16353
16325
  };
16354
- return /* @__PURE__ */ (0, import_jsx_runtime310.jsxs)(
16326
+ return /* @__PURE__ */ (0, import_jsx_runtime309.jsxs)(
16355
16327
  "div",
16356
16328
  {
16357
16329
  ...props,
16358
16330
  style: viewerStyles,
16359
16331
  children: [
16360
- /* @__PURE__ */ (0, import_jsx_runtime310.jsx)("div", { style: storyboardStyles }),
16361
- showScrubLine ? /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
16332
+ /* @__PURE__ */ (0, import_jsx_runtime309.jsx)("div", { style: storyboardStyles }),
16333
+ showScrubLine ? /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(
16362
16334
  ScrubLine,
16363
16335
  {
16364
16336
  style: {
@@ -16372,20 +16344,20 @@ var ThumbnailStoryboardViewer = ({
16372
16344
  };
16373
16345
 
16374
16346
  // src/components/Thumbnail/Thumbnail.tsx
16375
- var import_jsx_runtime311 = require("react/jsx-runtime");
16376
- var WideThumbnailImage = import_styled_components116.default.img`
16347
+ var import_jsx_runtime310 = require("react/jsx-runtime");
16348
+ var WideThumbnailImage = import_styled_components115.default.img`
16377
16349
  height: 100%;
16378
16350
  object-fit: cover;
16379
16351
  width: 100%;
16380
16352
  `;
16381
- var SquareThumbnailImage = import_styled_components116.default.img`
16353
+ var SquareThumbnailImage = import_styled_components115.default.img`
16382
16354
  backdrop-filter: blur(8px);
16383
16355
  object-fit: contain;
16384
16356
  width: 100%;
16385
16357
  `;
16386
16358
  var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
16387
16359
  if (thumbnailImageType === "wide") {
16388
- return /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
16360
+ return /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
16389
16361
  WideThumbnailImage,
16390
16362
  {
16391
16363
  alt: "",
@@ -16394,7 +16366,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
16394
16366
  }
16395
16367
  );
16396
16368
  }
16397
- return /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
16369
+ return /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
16398
16370
  SquareThumbnailImage,
16399
16371
  {
16400
16372
  alt: "",
@@ -16403,7 +16375,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
16403
16375
  }
16404
16376
  );
16405
16377
  };
16406
- var StyledThumbnail = import_styled_components116.default.div`
16378
+ var StyledThumbnail = import_styled_components115.default.div`
16407
16379
  background-image: ${({ $backgroundUrl }) => (0, import_type_guards67.isNotNil)($backgroundUrl) ? `url('${$backgroundUrl}')` : void 0};
16408
16380
  ${({ $backgroundUrl, $gradientBackground }) => (
16409
16381
  // if we don't have $backgroundUrl show a gradient
@@ -16497,7 +16469,7 @@ var Thumbnail = (0, import_react87.forwardRef)(
16497
16469
  } = storyboard;
16498
16470
  const targetWidth = (0, import_type_guards67.isString)(width) ? parseInt(width, 10) : Number(width);
16499
16471
  const effectiveCursorPosition = isStoryboardReady ? cursorPosition : null;
16500
- return /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
16472
+ return /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
16501
16473
  ThumbnailStoryboardViewer,
16502
16474
  {
16503
16475
  cursorPosition: effectiveCursorPosition,
@@ -16517,7 +16489,7 @@ var Thumbnail = (0, import_react87.forwardRef)(
16517
16489
  if (shouldRenderStoryboard) {
16518
16490
  thumbnailContent = renderStoryboard();
16519
16491
  } else if ((0, import_type_guards67.isNotNil)(thumbnailUrl)) {
16520
- thumbnailContent = /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
16492
+ thumbnailContent = /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
16521
16493
  ThumbnailImage,
16522
16494
  {
16523
16495
  thumbnailImageType,
@@ -16527,7 +16499,7 @@ var Thumbnail = (0, import_react87.forwardRef)(
16527
16499
  } else {
16528
16500
  thumbnailContent = null;
16529
16501
  }
16530
- return /* @__PURE__ */ (0, import_jsx_runtime311.jsxs)(
16502
+ return /* @__PURE__ */ (0, import_jsx_runtime310.jsxs)(
16531
16503
  StyledThumbnail,
16532
16504
  {
16533
16505
  ref,
@@ -16552,13 +16524,13 @@ Thumbnail.displayName = "Thumbnail_UI";
16552
16524
 
16553
16525
  // src/components/ThumbnailCollage/ThumbnailCollage.tsx
16554
16526
  var import_react88 = __toESM(require("react"));
16555
- var import_styled_components117 = __toESM(require("styled-components"));
16527
+ var import_styled_components116 = __toESM(require("styled-components"));
16556
16528
  var import_type_guards68 = require("@wistia/type-guards");
16557
- var import_jsx_runtime312 = (
16529
+ var import_jsx_runtime311 = (
16558
16530
  // ThumbnailCollage will fallback to a Thumbnail with a gradient background if no children are provided
16559
16531
  require("react/jsx-runtime")
16560
16532
  );
16561
- var StyledThumbnailCollage = import_styled_components117.default.div`
16533
+ var StyledThumbnailCollage = import_styled_components116.default.div`
16562
16534
  display: grid;
16563
16535
  gap: var(--wui-space-01);
16564
16536
  width: 100%;
@@ -16639,7 +16611,7 @@ var ThumbnailCollage = ({
16639
16611
  children: void 0
16640
16612
  });
16641
16613
  }) : [
16642
- /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(
16614
+ /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
16643
16615
  Thumbnail,
16644
16616
  {
16645
16617
  gradientBackground,
@@ -16648,7 +16620,7 @@ var ThumbnailCollage = ({
16648
16620
  "fallback"
16649
16621
  )
16650
16622
  ];
16651
- return /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(
16623
+ return /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
16652
16624
  StyledThumbnailCollage,
16653
16625
  {
16654
16626
  $gradientBackground: gradientBackground,
@@ -16660,26 +16632,26 @@ var ThumbnailCollage = ({
16660
16632
  };
16661
16633
 
16662
16634
  // src/components/WistiaLogo/WistiaLogo.tsx
16663
- var import_styled_components118 = __toESM(require("styled-components"));
16635
+ var import_styled_components117 = __toESM(require("styled-components"));
16664
16636
  var import_type_guards69 = require("@wistia/type-guards");
16665
- var import_jsx_runtime313 = require("react/jsx-runtime");
16637
+ var import_jsx_runtime312 = require("react/jsx-runtime");
16666
16638
  var renderBrandmark = (brandmarkColor, iconOnly) => {
16667
16639
  if (iconOnly) {
16668
- return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(
16640
+ return /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(
16669
16641
  "g",
16670
16642
  {
16671
16643
  "data-testid": "ui-wistia-logo-brandmark",
16672
16644
  fill: brandmarkColor,
16673
- children: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)("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" })
16645
+ children: /* @__PURE__ */ (0, import_jsx_runtime312.jsx)("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" })
16674
16646
  }
16675
16647
  );
16676
16648
  }
16677
- return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(
16649
+ return /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(
16678
16650
  "g",
16679
16651
  {
16680
16652
  "data-testid": "ui-wistia-logo-brandmark",
16681
16653
  fill: brandmarkColor,
16682
- children: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)("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" })
16654
+ children: /* @__PURE__ */ (0, import_jsx_runtime312.jsx)("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" })
16683
16655
  }
16684
16656
  );
16685
16657
  };
@@ -16687,12 +16659,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
16687
16659
  if (iconOnly) {
16688
16660
  return null;
16689
16661
  }
16690
- return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(
16662
+ return /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(
16691
16663
  "g",
16692
16664
  {
16693
16665
  "data-testid": "ui-wistia-logo-logotype",
16694
16666
  fill: logotypeColor,
16695
- children: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)("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" })
16667
+ children: /* @__PURE__ */ (0, import_jsx_runtime312.jsx)("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" })
16696
16668
  }
16697
16669
  );
16698
16670
  };
@@ -16702,7 +16674,7 @@ var computedViewBox = (iconOnly) => {
16702
16674
  }
16703
16675
  return "0 0 144 31.47";
16704
16676
  };
16705
- var WistiaLogoComponent = import_styled_components118.default.svg`
16677
+ var WistiaLogoComponent = import_styled_components117.default.svg`
16706
16678
  height: ${({ height }) => `${height}px`};
16707
16679
 
16708
16680
  /* ensure it will always fit on mobile */
@@ -16718,12 +16690,12 @@ var WistiaLogoComponent = import_styled_components118.default.svg`
16718
16690
  ${({ $opticallyCentered, $iconOnly }) => {
16719
16691
  if ($opticallyCentered) {
16720
16692
  if ($iconOnly) {
16721
- return import_styled_components118.css`
16693
+ return import_styled_components117.css`
16722
16694
  aspect-ratio: 1;
16723
16695
  padding: 11.85% 3.12% 13.91%;
16724
16696
  `;
16725
16697
  }
16726
- return import_styled_components118.css`
16698
+ return import_styled_components117.css`
16727
16699
  aspect-ratio: 127 / 32;
16728
16700
  `;
16729
16701
  }
@@ -16760,7 +16732,7 @@ var WistiaLogo = ({
16760
16732
  };
16761
16733
  const brandmarkColor = VARIANT_COLORS[variant].brandmark;
16762
16734
  const logotypeColor = VARIANT_COLORS[variant].logotype;
16763
- const Logo = /* @__PURE__ */ (0, import_jsx_runtime313.jsxs)(
16735
+ const Logo = /* @__PURE__ */ (0, import_jsx_runtime312.jsxs)(
16764
16736
  WistiaLogoComponent,
16765
16737
  {
16766
16738
  $hoverColor: hoverColor,
@@ -16773,23 +16745,23 @@ var WistiaLogo = ({
16773
16745
  xmlns: "http://www.w3.org/2000/svg",
16774
16746
  ...props,
16775
16747
  children: [
16776
- /* @__PURE__ */ (0, import_jsx_runtime313.jsx)("title", { children: title }),
16777
- (0, import_type_guards69.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime313.jsx)("desc", { children: description }) : null,
16748
+ /* @__PURE__ */ (0, import_jsx_runtime312.jsx)("title", { children: title }),
16749
+ (0, import_type_guards69.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime312.jsx)("desc", { children: description }) : null,
16778
16750
  renderBrandmark(brandmarkColor, iconOnly),
16779
16751
  renderLogotype(logotypeColor, iconOnly)
16780
16752
  ]
16781
16753
  }
16782
16754
  );
16783
- return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime313.jsx)("a", { href, children: Logo }) : Logo;
16755
+ return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime312.jsx)("a", { href, children: Logo }) : Logo;
16784
16756
  };
16785
16757
  WistiaLogo.displayName = "WistiaLogo_UI";
16786
16758
 
16787
16759
  // src/components/InputPassword/InputPassword.tsx
16788
- var import_styled_components119 = __toESM(require("styled-components"));
16760
+ var import_styled_components118 = __toESM(require("styled-components"));
16789
16761
  var import_react89 = require("react");
16790
16762
  var import_type_guards70 = require("@wistia/type-guards");
16791
- var import_jsx_runtime314 = require("react/jsx-runtime");
16792
- var StyledIconButton = (0, import_styled_components119.default)(IconButton)`
16763
+ var import_jsx_runtime313 = require("react/jsx-runtime");
16764
+ var StyledIconButton = (0, import_styled_components118.default)(IconButton)`
16793
16765
  /* override size for icon button since prop gets changed by Input */
16794
16766
  height: var(--icon-button-size-sm);
16795
16767
  width: var(--icon-button-size-sm);
@@ -16807,13 +16779,13 @@ var InputPassword = (0, import_react89.forwardRef)(
16807
16779
  onVisibilityToggle(newVisibility);
16808
16780
  }
16809
16781
  };
16810
- return /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(
16782
+ return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(
16811
16783
  Input,
16812
16784
  {
16813
16785
  ...props,
16814
16786
  ref,
16815
16787
  disabled,
16816
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(
16788
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(
16817
16789
  StyledIconButton,
16818
16790
  {
16819
16791
  disabled,
@@ -16821,7 +16793,7 @@ var InputPassword = (0, import_react89.forwardRef)(
16821
16793
  onClick: handleClick,
16822
16794
  tabIndex: disabled ? -1 : 0,
16823
16795
  variant: "ghost",
16824
- children: /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(Icon, { type: isVisible ? "preview" : "hide" })
16796
+ children: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(Icon, { type: isVisible ? "preview" : "hide" })
16825
16797
  }
16826
16798
  ),
16827
16799
  type: isVisible ? "text" : "password"
@@ -16834,7 +16806,7 @@ InputPassword.displayName = "InputPassword_UI";
16834
16806
  // src/components/ContextMenu/ContextMenu.tsx
16835
16807
  var import_react90 = require("react");
16836
16808
  var import_type_guards71 = require("@wistia/type-guards");
16837
- var import_jsx_runtime315 = require("react/jsx-runtime");
16809
+ var import_jsx_runtime314 = require("react/jsx-runtime");
16838
16810
  var ContextMenu = ({
16839
16811
  position,
16840
16812
  triggerRef,
@@ -16859,7 +16831,7 @@ var ContextMenu = ({
16859
16831
  return () => null;
16860
16832
  }, [position, triggerRef]);
16861
16833
  const isOpen = (0, import_type_guards71.isNotNil)(position) || isRightClicked;
16862
- return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime315.jsx)(
16834
+ return isOpen ? /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(
16863
16835
  Menu,
16864
16836
  {
16865
16837
  avoidCollisions: false,
@@ -16870,7 +16842,7 @@ var ContextMenu = ({
16870
16842
  onRequestClose();
16871
16843
  }
16872
16844
  },
16873
- trigger: /* @__PURE__ */ (0, import_jsx_runtime315.jsx)(
16845
+ trigger: /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(
16874
16846
  "button",
16875
16847
  {
16876
16848
  "aria-label": "context menu",
@@ -16925,7 +16897,6 @@ var ContextMenu = ({
16925
16897
  ContextMenu,
16926
16898
  ContrastControls,
16927
16899
  DataCard,
16928
- DataCardHoverArrow,
16929
16900
  DataCardTrend,
16930
16901
  DataCards,
16931
16902
  Divider,