@wistia/ui 0.14.40 → 0.14.41-beta.877dad2b.ea24cff

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.14.40
3
+ * @license @wistia/ui v0.14.41-beta.877dad2b.ea24cff
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -125,6 +125,8 @@ __export(index_exports, {
125
125
  MenuLabel: () => MenuLabel,
126
126
  MenuRadioGroup: () => MenuRadioGroup,
127
127
  Modal: () => Modal,
128
+ ModalValueProp: () => ModalValueProp,
129
+ ModalValueProps: () => ModalValueProps,
128
130
  PersistentFileAmountLimitValidator: () => import_validators.PersistentFileAmountLimitValidator,
129
131
  Popover: () => Popover,
130
132
  ProgressBar: () => ProgressBar,
@@ -14536,11 +14538,11 @@ var EditableTextLabel = ({ ...props }) => {
14536
14538
  if (!context) {
14537
14539
  throw new Error("EditableTextLabel must be used within an EditableTextRoot context");
14538
14540
  }
14539
- const { id, label } = context;
14541
+ const { id, label, isEditing } = context;
14540
14542
  return /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(
14541
14543
  Label,
14542
14544
  {
14543
- htmlFor: id,
14545
+ ...isEditing && { htmlFor: id },
14544
14546
  ...props,
14545
14547
  children: label
14546
14548
  }
@@ -15418,12 +15420,14 @@ var import_jsx_runtime291 = require("react/jsx-runtime");
15418
15420
  var Header = import_styled_components94.default.header`
15419
15421
  display: flex;
15420
15422
  order: 1;
15423
+ padding: 0 var(--wui-space-05);
15424
+ padding-bottom: 0;
15421
15425
  gap: var(--wui-space-01);
15422
15426
  justify-content: ${({ $hideTitle }) => $hideTitle ? "flex-end" : "space-between"}; /* ensure ModalCloseButton is right-aligned */
15423
15427
 
15424
15428
  /* DialogTitle creates an h2 element which inherits some margin */
15425
15429
  h2 {
15426
- margin: 0 0 var(--wui-space-03);
15430
+ margin: 0;
15427
15431
  padding-right: ${({ $hideCloseButon }) => $hideCloseButon ? "0" : "var(--wui-space-03)"};
15428
15432
  }
15429
15433
 
@@ -15585,15 +15589,15 @@ var StyledModalContent = (0, import_styled_components95.default)(import_react_di
15585
15589
  position: fixed;
15586
15590
  display: flex;
15587
15591
  flex-direction: column;
15592
+ gap: var(--wui-space-03);
15588
15593
  top: 0;
15589
15594
  left: 0;
15590
15595
  width: 100vw;
15591
15596
  height: 100vh;
15592
15597
  z-index: var(--wui-zindex-modal);
15593
15598
  box-sizing: border-box;
15594
- padding: var(--wui-space-05);
15599
+ padding: var(--wui-space-05) 0;
15595
15600
  background-color: var(--wui-color-bg-app);
15596
- overflow: auto;
15597
15601
 
15598
15602
  ${mq.smAndUp} {
15599
15603
  position: fixed;
@@ -15666,11 +15670,21 @@ var ModalBody = import_styled_components97.default.div`
15666
15670
  flex-direction: column;
15667
15671
  display: flex;
15668
15672
  flex: 1 0 0;
15673
+ padding: 0 var(--wui-space-05);
15674
+ `;
15675
+ var ModalScrollArea = import_styled_components97.default.div`
15669
15676
  order: 2;
15677
+ max-height: 90vh;
15678
+ overflow-y: auto;
15679
+ `;
15680
+ var ModalFooter = import_styled_components97.default.footer`
15681
+ padding: 0 var(--wui-space-05);
15682
+ order: 3;
15670
15683
  `;
15671
15684
  var Modal = (0, import_react80.forwardRef)(
15672
15685
  ({
15673
15686
  children,
15687
+ footer,
15674
15688
  hideCloseButton = false,
15675
15689
  hideTitle = false,
15676
15690
  initialFocusRef,
@@ -15708,7 +15722,7 @@ var Modal = (0, import_react80.forwardRef)(
15708
15722
  width,
15709
15723
  ...props,
15710
15724
  children: [
15711
- /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(ModalBody, { children }),
15725
+ /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(ModalScrollArea, { children: /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(ModalBody, { children }) }),
15712
15726
  hideCloseButton && hideTitle ? null : /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(
15713
15727
  ModalHeader,
15714
15728
  {
@@ -15716,7 +15730,8 @@ var Modal = (0, import_react80.forwardRef)(
15716
15730
  hideTitle,
15717
15731
  title
15718
15732
  }
15719
- )
15733
+ ),
15734
+ (0, import_type_guards55.isNotNil)(footer) ? /* @__PURE__ */ (0, import_jsx_runtime293.jsx)(ModalFooter, { children: footer }) : null
15720
15735
  ]
15721
15736
  }
15722
15737
  )
@@ -15727,6 +15742,28 @@ var Modal = (0, import_react80.forwardRef)(
15727
15742
  );
15728
15743
  Modal.displayName = "Modal_UI";
15729
15744
 
15745
+ // src/components/Modal/ModalValueProps.tsx
15746
+ var import_jsx_runtime294 = require("react/jsx-runtime");
15747
+ var ModalValueProps = ({ children }) => {
15748
+ return /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(
15749
+ Stack,
15750
+ {
15751
+ direction: "horizontal",
15752
+ gap: "space-08",
15753
+ children
15754
+ }
15755
+ );
15756
+ };
15757
+ ModalValueProps.displayName = "ModalValueProps_UI";
15758
+ var ModalValueProp = ({ title, image, children }) => {
15759
+ return /* @__PURE__ */ (0, import_jsx_runtime294.jsxs)(Stack, { direction: "vertical", children: [
15760
+ image,
15761
+ /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(Heading, { variant: "heading4", children: title }),
15762
+ children
15763
+ ] });
15764
+ };
15765
+ ModalValueProp.displayName = "ModalValueProp_UI";
15766
+
15730
15767
  // src/components/Popover/Popover.tsx
15731
15768
  var import_react_popover5 = require("@radix-ui/react-popover");
15732
15769
  var import_styled_components99 = __toESM(require("styled-components"));
@@ -15740,7 +15777,7 @@ var getControlProps = (isOpen, onOpenChange) => {
15740
15777
  // src/components/Popover/PopoverArrow.tsx
15741
15778
  var import_react_popover4 = require("@radix-ui/react-popover");
15742
15779
  var import_styled_components98 = __toESM(require("styled-components"));
15743
- var import_jsx_runtime294 = require("react/jsx-runtime");
15780
+ var import_jsx_runtime295 = require("react/jsx-runtime");
15744
15781
  var StyledPath = import_styled_components98.default.path`
15745
15782
  fill: var(--wui-color-border-secondary);
15746
15783
  `;
@@ -15779,7 +15816,7 @@ var StyledCircle = import_styled_components98.default.circle`
15779
15816
  }
15780
15817
  `;
15781
15818
  var PopoverArrow = ({ isAnimated }) => {
15782
- return /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(import_react_popover4.PopoverArrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime294.jsxs)(
15819
+ return /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(import_react_popover4.PopoverArrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)(
15783
15820
  "svg",
15784
15821
  {
15785
15822
  fill: "none",
@@ -15788,8 +15825,8 @@ var PopoverArrow = ({ isAnimated }) => {
15788
15825
  width: "48",
15789
15826
  xmlns: "http://www.w3.org/2000/svg",
15790
15827
  children: [
15791
- /* @__PURE__ */ (0, import_jsx_runtime294.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" }),
15792
- /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(
15828
+ /* @__PURE__ */ (0, import_jsx_runtime295.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" }),
15829
+ /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
15793
15830
  StyledCircle,
15794
15831
  {
15795
15832
  $isAnimated: isAnimated,
@@ -15800,7 +15837,7 @@ var PopoverArrow = ({ isAnimated }) => {
15800
15837
  strokeWidth: "4"
15801
15838
  }
15802
15839
  ),
15803
- /* @__PURE__ */ (0, import_jsx_runtime294.jsx)(
15840
+ /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
15804
15841
  StyledCircle,
15805
15842
  {
15806
15843
  $isAnimated: isAnimated,
@@ -15818,7 +15855,7 @@ var PopoverArrow = ({ isAnimated }) => {
15818
15855
  PopoverArrow.displayName = "PopoverArrow_UI";
15819
15856
 
15820
15857
  // src/components/Popover/Popover.tsx
15821
- var import_jsx_runtime295 = require("react/jsx-runtime");
15858
+ var import_jsx_runtime296 = require("react/jsx-runtime");
15822
15859
  var StyledContent2 = (0, import_styled_components99.default)(import_react_popover5.Content)`
15823
15860
  z-index: var(--wui-zindex-popover);
15824
15861
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
@@ -15858,9 +15895,9 @@ var Popover = ({
15858
15895
  "--wui-popover-max-width": maxWidth,
15859
15896
  "--wui-popover-max-height": maxHeight
15860
15897
  };
15861
- return /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)(import_react_popover5.Root, { ...getControlProps(isOpen, onOpenChange), children: [
15862
- /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(import_react_popover5.Trigger, { asChild: true, children: trigger }),
15863
- /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(import_react_popover5.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime295.jsxs)(
15898
+ return /* @__PURE__ */ (0, import_jsx_runtime296.jsxs)(import_react_popover5.Root, { ...getControlProps(isOpen, onOpenChange), children: [
15899
+ /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(import_react_popover5.Trigger, { asChild: true, children: trigger }),
15900
+ /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(import_react_popover5.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime296.jsxs)(
15864
15901
  StyledContent2,
15865
15902
  {
15866
15903
  $colorScheme: colorScheme,
@@ -15869,17 +15906,17 @@ var Popover = ({
15869
15906
  $unstyled: unstyled,
15870
15907
  style,
15871
15908
  children: [
15872
- !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(import_react_popover5.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(
15909
+ !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(import_react_popover5.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
15873
15910
  IconButton,
15874
15911
  {
15875
15912
  "data-wui-popover-close": true,
15876
15913
  label: "Close",
15877
15914
  variant: "ghost",
15878
- children: /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(Icon, { type: "close" })
15915
+ children: /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(Icon, { type: "close" })
15879
15916
  }
15880
15917
  ) }),
15881
- withArrow ? /* @__PURE__ */ (0, import_jsx_runtime295.jsx)(PopoverArrow, { isAnimated }) : null,
15882
- /* @__PURE__ */ (0, import_jsx_runtime295.jsx)("div", { children })
15918
+ withArrow ? /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(PopoverArrow, { isAnimated }) : null,
15919
+ /* @__PURE__ */ (0, import_jsx_runtime296.jsx)("div", { children })
15883
15920
  ]
15884
15921
  }
15885
15922
  ) })
@@ -15891,7 +15928,7 @@ Popover.displayName = "Popover_UI";
15891
15928
  var import_styled_components100 = __toESM(require("styled-components"));
15892
15929
  var import_react_progress = require("@radix-ui/react-progress");
15893
15930
  var import_type_guards57 = require("@wistia/type-guards");
15894
- var import_jsx_runtime296 = require("react/jsx-runtime");
15931
+ var import_jsx_runtime297 = require("react/jsx-runtime");
15895
15932
  var ProgressBarWrapper = import_styled_components100.default.div`
15896
15933
  --progress-bar-height: 8px;
15897
15934
 
@@ -15945,16 +15982,16 @@ var ProgressBar = ({
15945
15982
  colorScheme = "inherit",
15946
15983
  ...props
15947
15984
  }) => {
15948
- return /* @__PURE__ */ (0, import_jsx_runtime296.jsxs)(ProgressBarWrapper, { children: [
15949
- (0, import_type_guards57.isNotNil)(labelLeft) ? /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(ProgressBarLabel, { children: labelLeft }) : null,
15950
- /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
15985
+ return /* @__PURE__ */ (0, import_jsx_runtime297.jsxs)(ProgressBarWrapper, { children: [
15986
+ (0, import_type_guards57.isNotNil)(labelLeft) ? /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(ProgressBarLabel, { children: labelLeft }) : null,
15987
+ /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
15951
15988
  StyledProgressBar,
15952
15989
  {
15953
15990
  $colorScheme: colorScheme,
15954
15991
  max,
15955
15992
  value: progress,
15956
15993
  ...props,
15957
- children: /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(
15994
+ children: /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
15958
15995
  StyledProgressIndicator,
15959
15996
  {
15960
15997
  $colorScheme: colorScheme,
@@ -15964,7 +16001,7 @@ var ProgressBar = ({
15964
16001
  )
15965
16002
  }
15966
16003
  ),
15967
- (0, import_type_guards57.isNotNil)(labelRight) ? /* @__PURE__ */ (0, import_jsx_runtime296.jsx)(ProgressBarLabel, { children: labelRight }) : null
16004
+ (0, import_type_guards57.isNotNil)(labelRight) ? /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(ProgressBarLabel, { children: labelRight }) : null
15968
16005
  ] });
15969
16006
  };
15970
16007
  ProgressBar.displayName = "ProgressBar_UI";
@@ -15973,7 +16010,7 @@ ProgressBar.displayName = "ProgressBar_UI";
15973
16010
  var import_type_guards58 = require("@wistia/type-guards");
15974
16011
  var import_react81 = require("react");
15975
16012
  var import_styled_components101 = __toESM(require("styled-components"));
15976
- var import_jsx_runtime297 = require("react/jsx-runtime");
16013
+ var import_jsx_runtime298 = require("react/jsx-runtime");
15977
16014
  var sizeSmall2 = import_styled_components101.css`
15978
16015
  --wui-radio-size: 14px;
15979
16016
  --wui-radio-icon-size: 7px;
@@ -16078,14 +16115,14 @@ var Radio = (0, import_react81.forwardRef)(
16078
16115
  const radioName = name ?? contextName;
16079
16116
  const handleOnChange = onChange ?? contextOnChange;
16080
16117
  const isChecked = (0, import_type_guards58.isNotUndefined)(value) && (0, import_type_guards58.isNotUndefined)(contextValue) ? contextValue === value : checked;
16081
- return /* @__PURE__ */ (0, import_jsx_runtime297.jsxs)(
16118
+ return /* @__PURE__ */ (0, import_jsx_runtime298.jsxs)(
16082
16119
  StyledRadioWrapper,
16083
16120
  {
16084
16121
  $disabled: disabled,
16085
16122
  $hideLabel: hideLabel,
16086
16123
  "aria-invalid": props["aria-invalid"],
16087
16124
  children: [
16088
- /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
16125
+ /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(
16089
16126
  StyledHiddenRadioInput,
16090
16127
  {
16091
16128
  ...props,
@@ -16100,10 +16137,10 @@ var Radio = (0, import_react81.forwardRef)(
16100
16137
  value
16101
16138
  }
16102
16139
  ),
16103
- /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(
16140
+ /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(
16104
16141
  FormControlLabel,
16105
16142
  {
16106
- controlSlot: /* @__PURE__ */ (0, import_jsx_runtime297.jsx)(StyledRadioInput, { $size: size }),
16143
+ controlSlot: /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(StyledRadioInput, { $size: size }),
16107
16144
  description,
16108
16145
  disabled,
16109
16146
  hideLabel,
@@ -16125,7 +16162,7 @@ var import_react83 = require("react");
16125
16162
  var import_react82 = require("react");
16126
16163
  var import_styled_components102 = __toESM(require("styled-components"));
16127
16164
  var import_type_guards59 = require("@wistia/type-guards");
16128
- var import_jsx_runtime298 = require("react/jsx-runtime");
16165
+ var import_jsx_runtime299 = require("react/jsx-runtime");
16129
16166
  var checkedStyles = import_styled_components102.css`
16130
16167
  --wui-radio-card-border-color: var(--wui-color-focus-ring);
16131
16168
  --wui-color-icon: var(--wui-color-icon-selected);
@@ -16254,14 +16291,14 @@ var RadioCardRoot = (0, import_react82.forwardRef)(
16254
16291
  const radioName = name ?? contextName;
16255
16292
  const handleOnChange = onChange ?? contextOnChange;
16256
16293
  const isChecked = (0, import_type_guards59.isNotUndefined)(value) && (0, import_type_guards59.isNotUndefined)(contextValue) ? contextValue === value : checked;
16257
- return /* @__PURE__ */ (0, import_jsx_runtime298.jsxs)(
16294
+ return /* @__PURE__ */ (0, import_jsx_runtime299.jsxs)(
16258
16295
  StyledCard2,
16259
16296
  {
16260
16297
  $aspectRatio: aspectRatio,
16261
16298
  $padding: padding,
16262
16299
  htmlFor: computedId,
16263
16300
  children: [
16264
- /* @__PURE__ */ (0, import_jsx_runtime298.jsx)(
16301
+ /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(
16265
16302
  StyledHiddenInput,
16266
16303
  {
16267
16304
  ...props,
@@ -16338,7 +16375,7 @@ var RadioCardIndicator = import_styled_components103.default.div`
16338
16375
  RadioCardIndicator.displayName = "RadioCardIndicator_UI";
16339
16376
 
16340
16377
  // src/components/RadioCard/RadioCardDefaultLayout.tsx
16341
- var import_jsx_runtime299 = require("react/jsx-runtime");
16378
+ var import_jsx_runtime300 = require("react/jsx-runtime");
16342
16379
  var StyledCardContent = import_styled_components104.default.div`
16343
16380
  display: grid;
16344
16381
  grid-auto-flow: column;
@@ -16358,18 +16395,18 @@ var RadioCardDefaultLayout = ({
16358
16395
  description,
16359
16396
  showIndicator = true
16360
16397
  }) => {
16361
- return /* @__PURE__ */ (0, import_jsx_runtime299.jsxs)(StyledCardContent, { children: [
16362
- showIndicator ? /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(StyledIndicatorContainer, { $hasIcon: (0, import_type_guards60.isNotNil)(icon), children: /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(RadioCardIndicator, { "data-testid": "wui-radio-card-indicator" }) }) : null,
16363
- /* @__PURE__ */ (0, import_jsx_runtime299.jsxs)(Stack, { gap: "space-02", children: [
16364
- (0, import_type_guards60.isNotNil)(icon) && /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(StyledCardIcon, { "data-wui-radio-card-icon": true, children: icon }),
16365
- /* @__PURE__ */ (0, import_jsx_runtime299.jsxs)(
16398
+ return /* @__PURE__ */ (0, import_jsx_runtime300.jsxs)(StyledCardContent, { children: [
16399
+ showIndicator ? /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(StyledIndicatorContainer, { $hasIcon: (0, import_type_guards60.isNotNil)(icon), children: /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(RadioCardIndicator, { "data-testid": "wui-radio-card-indicator" }) }) : null,
16400
+ /* @__PURE__ */ (0, import_jsx_runtime300.jsxs)(Stack, { gap: "space-02", children: [
16401
+ (0, import_type_guards60.isNotNil)(icon) && /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(StyledCardIcon, { "data-wui-radio-card-icon": true, children: icon }),
16402
+ /* @__PURE__ */ (0, import_jsx_runtime300.jsxs)(
16366
16403
  Stack,
16367
16404
  {
16368
16405
  gap: "space-01",
16369
16406
  style: (0, import_type_guards60.isNotNil)(icon) ? { paddingLeft: 2 } : void 0,
16370
16407
  children: [
16371
- (0, import_type_guards60.isNotNil)(label) && /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(Text, { variant: "label3", children: /* @__PURE__ */ (0, import_jsx_runtime299.jsx)("strong", { children: label }) }),
16372
- (0, import_type_guards60.isNotNil)(description) && /* @__PURE__ */ (0, import_jsx_runtime299.jsx)(
16408
+ (0, import_type_guards60.isNotNil)(label) && /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(Text, { variant: "label3", children: /* @__PURE__ */ (0, import_jsx_runtime300.jsx)("strong", { children: label }) }),
16409
+ (0, import_type_guards60.isNotNil)(description) && /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(
16373
16410
  Text,
16374
16411
  {
16375
16412
  prominence: "secondary",
@@ -16392,16 +16429,16 @@ var RadioCardChildrenContainer = import_styled_components105.default.div`
16392
16429
  `;
16393
16430
 
16394
16431
  // src/components/RadioCard/RadioCard.tsx
16395
- var import_jsx_runtime300 = require("react/jsx-runtime");
16432
+ var import_jsx_runtime301 = require("react/jsx-runtime");
16396
16433
  var RadioCard = (0, import_react83.forwardRef)(
16397
16434
  ({ icon, label, description, showIndicator, children, ...rootProps }, ref) => {
16398
- return /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(
16435
+ return /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(
16399
16436
  RadioCardRoot,
16400
16437
  {
16401
16438
  ref,
16402
16439
  padding: children != null ? "space-00" : "space-04",
16403
16440
  ...rootProps,
16404
- children: children != null ? /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(RadioCardChildrenContainer, { "data-wui-radio-card-image": "cover", children }) : /* @__PURE__ */ (0, import_jsx_runtime300.jsx)(
16441
+ children: children != null ? /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(RadioCardChildrenContainer, { "data-wui-radio-card-image": "cover", children }) : /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(
16405
16442
  RadioCardDefaultLayout,
16406
16443
  {
16407
16444
  description,
@@ -16418,17 +16455,17 @@ RadioCard.displayName = "RadioCard_UI";
16418
16455
 
16419
16456
  // src/components/RadioCard/RadioCardImage.tsx
16420
16457
  var import_react84 = require("react");
16421
- var import_jsx_runtime301 = require("react/jsx-runtime");
16458
+ var import_jsx_runtime302 = require("react/jsx-runtime");
16422
16459
  var RadioCardImage = (0, import_react84.forwardRef)(
16423
16460
  ({ label, imageSrc, aspectRatio, padding = "space-04", ...rootProps }, ref) => {
16424
- return /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(
16461
+ return /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(
16425
16462
  RadioCardRoot,
16426
16463
  {
16427
16464
  ref,
16428
16465
  ...rootProps,
16429
16466
  aspectRatio,
16430
16467
  padding,
16431
- children: /* @__PURE__ */ (0, import_jsx_runtime301.jsx)(
16468
+ children: /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(
16432
16469
  Image,
16433
16470
  {
16434
16471
  alt: label,
@@ -16448,7 +16485,7 @@ RadioCardImage.displayName = "RadioCardImage_UI";
16448
16485
  var import_react85 = require("react");
16449
16486
  var import_styled_components106 = __toESM(require("styled-components"));
16450
16487
  var import_throttle_debounce2 = require("throttle-debounce");
16451
- var import_jsx_runtime302 = require("react/jsx-runtime");
16488
+ var import_jsx_runtime303 = require("react/jsx-runtime");
16452
16489
  var SHADOW_SIZE_PX = 8;
16453
16490
  var Container10 = import_styled_components106.default.div`
16454
16491
  overflow: hidden;
@@ -16528,12 +16565,12 @@ var ScrollArea = (0, import_react85.forwardRef)(
16528
16565
  (0, import_react85.useEffect)(() => {
16529
16566
  updateShadows();
16530
16567
  }, [updateShadows]);
16531
- return /* @__PURE__ */ (0, import_jsx_runtime302.jsxs)(Container10, { style, children: [
16532
- /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(ShadowAtTop, { $isVisible: shadowState.canScrollUp }),
16533
- /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(ShadowAtBottom, { $isVisible: shadowState.canScrollDown }),
16534
- /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(ShadowAtLeft, { $isVisible: shadowState.canScrollLeft }),
16535
- /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(ShadowAtRight, { $isVisible: shadowState.canScrollRight }),
16536
- /* @__PURE__ */ (0, import_jsx_runtime302.jsx)(
16568
+ return /* @__PURE__ */ (0, import_jsx_runtime303.jsxs)(Container10, { style, children: [
16569
+ /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(ShadowAtTop, { $isVisible: shadowState.canScrollUp }),
16570
+ /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(ShadowAtBottom, { $isVisible: shadowState.canScrollDown }),
16571
+ /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(ShadowAtLeft, { $isVisible: shadowState.canScrollLeft }),
16572
+ /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(ShadowAtRight, { $isVisible: shadowState.canScrollRight }),
16573
+ /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(
16537
16574
  ScrollContainer,
16538
16575
  {
16539
16576
  ref: scrollContainerRef,
@@ -16555,7 +16592,7 @@ var import_type_guards62 = require("@wistia/type-guards");
16555
16592
 
16556
16593
  // src/components/SegmentedControl/useSelectedItemStyle.tsx
16557
16594
  var import_react86 = require("react");
16558
- var import_jsx_runtime303 = require("react/jsx-runtime");
16595
+ var import_jsx_runtime304 = require("react/jsx-runtime");
16559
16596
  var SelectedItemStyleContext = (0, import_react86.createContext)(null);
16560
16597
  var SelectedItemStyleProvider = ({
16561
16598
  children
@@ -16576,7 +16613,7 @@ var SelectedItemStyleProvider = ({
16576
16613
  }),
16577
16614
  [selectedItemIndicatorStyle]
16578
16615
  );
16579
- return /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(SelectedItemStyleContext.Provider, { value: contextValue, children });
16616
+ return /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(SelectedItemStyleContext.Provider, { value: contextValue, children });
16580
16617
  };
16581
16618
  var useSelectedItemStyle = () => {
16582
16619
  const context = (0, import_react86.useContext)(SelectedItemStyleContext);
@@ -16603,7 +16640,7 @@ var useSegmentedControlValue = () => {
16603
16640
  };
16604
16641
 
16605
16642
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
16606
- var import_jsx_runtime304 = require("react/jsx-runtime");
16643
+ var import_jsx_runtime305 = require("react/jsx-runtime");
16607
16644
  var selectedItemIndicatorStyles = import_styled_components107.css`
16608
16645
  background-color: var(--wui-color-bg-fill-white);
16609
16646
  border-radius: var(--wui-border-radius-rounded);
@@ -16625,7 +16662,7 @@ var SelectedItemIndicator = () => {
16625
16662
  if (!selectedValue || (0, import_type_guards61.isUndefined)(selectedItemIndicatorStyle)) {
16626
16663
  return null;
16627
16664
  }
16628
- return /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(
16665
+ return /* @__PURE__ */ (0, import_jsx_runtime305.jsx)(
16629
16666
  SelectedItemIndicatorDiv,
16630
16667
  {
16631
16668
  "data-wui-selected-item-indicator": true,
@@ -16635,7 +16672,7 @@ var SelectedItemIndicator = () => {
16635
16672
  };
16636
16673
 
16637
16674
  // src/components/SegmentedControl/SegmentedControl.tsx
16638
- var import_jsx_runtime305 = require("react/jsx-runtime");
16675
+ var import_jsx_runtime306 = require("react/jsx-runtime");
16639
16676
  var segmentedControlStyles = import_styled_components108.css`
16640
16677
  display: inline-flex;
16641
16678
  background-color: var(--wui-color-bg-surface-secondary);
@@ -16662,7 +16699,7 @@ var SegmentedControl = (0, import_react88.forwardRef)(
16662
16699
  if ((0, import_type_guards62.isNil)(children)) {
16663
16700
  return null;
16664
16701
  }
16665
- return /* @__PURE__ */ (0, import_jsx_runtime305.jsx)(
16702
+ return /* @__PURE__ */ (0, import_jsx_runtime306.jsx)(
16666
16703
  StyledSegmentedControl,
16667
16704
  {
16668
16705
  ref,
@@ -16674,9 +16711,9 @@ var SegmentedControl = (0, import_react88.forwardRef)(
16674
16711
  type: "single",
16675
16712
  value: selectedValue,
16676
16713
  ...props,
16677
- children: /* @__PURE__ */ (0, import_jsx_runtime305.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime305.jsxs)(SelectedItemStyleProvider, { children: [
16714
+ children: /* @__PURE__ */ (0, import_jsx_runtime306.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime306.jsxs)(SelectedItemStyleProvider, { children: [
16678
16715
  children,
16679
- /* @__PURE__ */ (0, import_jsx_runtime305.jsx)(SelectedItemIndicator, {})
16716
+ /* @__PURE__ */ (0, import_jsx_runtime306.jsx)(SelectedItemIndicator, {})
16680
16717
  ] }) })
16681
16718
  }
16682
16719
  );
@@ -16689,7 +16726,7 @@ var import_react89 = require("react");
16689
16726
  var import_styled_components109 = __toESM(require("styled-components"));
16690
16727
  var import_react_toggle_group4 = require("@radix-ui/react-toggle-group");
16691
16728
  var import_type_guards63 = require("@wistia/type-guards");
16692
- var import_jsx_runtime306 = require("react/jsx-runtime");
16729
+ var import_jsx_runtime307 = require("react/jsx-runtime");
16693
16730
  var segmentedControlItemStyles = import_styled_components109.css`
16694
16731
  all: unset; /* ToggleGroupItem is a button element */
16695
16732
  align-items: center;
@@ -16799,7 +16836,7 @@ var SegmentedControlItem = (0, import_react89.forwardRef)(
16799
16836
  resizeObserver.disconnect();
16800
16837
  };
16801
16838
  }, [selectedValue, setSelectedItemMeasurements, value]);
16802
- return /* @__PURE__ */ (0, import_jsx_runtime306.jsxs)(
16839
+ return /* @__PURE__ */ (0, import_jsx_runtime307.jsxs)(
16803
16840
  StyledSegmentedControlItem,
16804
16841
  {
16805
16842
  ref: combinedRef,
@@ -16823,7 +16860,7 @@ SegmentedControlItem.displayName = "SegmentedControlItem_UI";
16823
16860
  var import_react_select = require("@radix-ui/react-select");
16824
16861
  var import_react90 = require("react");
16825
16862
  var import_styled_components110 = __toESM(require("styled-components"));
16826
- var import_jsx_runtime307 = require("react/jsx-runtime");
16863
+ var import_jsx_runtime308 = require("react/jsx-runtime");
16827
16864
  var StyledTrigger2 = (0, import_styled_components110.default)(import_react_select.Trigger)`
16828
16865
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
16829
16866
  ${inputCss};
@@ -16912,8 +16949,8 @@ var Select = (0, import_react90.forwardRef)(
16912
16949
  if (forceOpen) {
16913
16950
  rootProps["open"] = true;
16914
16951
  }
16915
- return /* @__PURE__ */ (0, import_jsx_runtime307.jsxs)(import_react_select.Root, { ...rootProps, children: [
16916
- /* @__PURE__ */ (0, import_jsx_runtime307.jsxs)(
16952
+ return /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)(import_react_select.Root, { ...rootProps, children: [
16953
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)(
16917
16954
  StyledTrigger2,
16918
16955
  {
16919
16956
  ref: forwardedRef,
@@ -16921,8 +16958,8 @@ var Select = (0, import_react90.forwardRef)(
16921
16958
  $fullWidth: responsiveFullWidth,
16922
16959
  ...props,
16923
16960
  children: [
16924
- /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(import_react_select.Value, { placeholder }),
16925
- /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(
16961
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.Value, { placeholder }),
16962
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(
16926
16963
  Icon,
16927
16964
  {
16928
16965
  size: "md",
@@ -16932,10 +16969,10 @@ var Select = (0, import_react90.forwardRef)(
16932
16969
  ]
16933
16970
  }
16934
16971
  ),
16935
- /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime307.jsxs)(StyledContent3, { position: "popper", children: [
16936
- /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(Icon, { type: "caret-up" }) }),
16937
- /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(import_react_select.Viewport, { children }),
16938
- /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime307.jsx)(Icon, { type: "caret-down" }) })
16972
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)(StyledContent3, { position: "popper", children: [
16973
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(Icon, { type: "caret-up" }) }),
16974
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.Viewport, { children }),
16975
+ /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(Icon, { type: "caret-down" }) })
16939
16976
  ] }) })
16940
16977
  ] });
16941
16978
  }
@@ -16947,7 +16984,7 @@ var import_react_select2 = require("@radix-ui/react-select");
16947
16984
  var import_react91 = require("react");
16948
16985
  var import_styled_components111 = __toESM(require("styled-components"));
16949
16986
  var import_type_guards64 = require("@wistia/type-guards");
16950
- var import_jsx_runtime308 = require("react/jsx-runtime");
16987
+ var import_jsx_runtime309 = require("react/jsx-runtime");
16951
16988
  var StyledItem = (0, import_styled_components111.default)(import_react_select2.Item)`
16952
16989
  ${getTypographicStyles("label3")}
16953
16990
  display: flex;
@@ -16974,17 +17011,17 @@ var StyledItem = (0, import_styled_components111.default)(import_react_select2.I
16974
17011
  `;
16975
17012
  var SelectOption = (0, import_react91.forwardRef)(
16976
17013
  ({ children, selectedDisplayValue, ...props }, forwardedRef) => {
16977
- return /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)(
17014
+ return /* @__PURE__ */ (0, import_jsx_runtime309.jsxs)(
16978
17015
  StyledItem,
16979
17016
  {
16980
17017
  ...props,
16981
17018
  ref: forwardedRef,
16982
17019
  children: [
16983
- (0, import_type_guards64.isNotNil)(selectedDisplayValue) ? /* @__PURE__ */ (0, import_jsx_runtime308.jsxs)("div", { children: [
17020
+ (0, import_type_guards64.isNotNil)(selectedDisplayValue) ? /* @__PURE__ */ (0, import_jsx_runtime309.jsxs)("div", { children: [
16984
17021
  children,
16985
- /* @__PURE__ */ (0, import_jsx_runtime308.jsx)("div", { style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select2.ItemText, { children: selectedDisplayValue }) })
16986
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select2.ItemText, { children }),
16987
- /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime308.jsx)(
17022
+ /* @__PURE__ */ (0, import_jsx_runtime309.jsx)("div", { style: { display: "none" }, children: /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(import_react_select2.ItemText, { children: selectedDisplayValue }) })
17023
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(import_react_select2.ItemText, { children }),
17024
+ /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(
16988
17025
  Icon,
16989
17026
  {
16990
17027
  size: "md",
@@ -17001,13 +17038,13 @@ SelectOption.displayName = "SelectOption_UI";
17001
17038
  // src/components/Select/SelectOptionGroup.tsx
17002
17039
  var import_react_select3 = require("@radix-ui/react-select");
17003
17040
  var import_styled_components112 = __toESM(require("styled-components"));
17004
- var import_jsx_runtime309 = require("react/jsx-runtime");
17041
+ var import_jsx_runtime310 = require("react/jsx-runtime");
17005
17042
  var StyledLabel4 = (0, import_styled_components112.default)(import_react_select3.Label)`
17006
17043
  padding: var(--wui-select-option-padding);
17007
17044
  `;
17008
17045
  var SelectOptionGroup = ({ children, label, ...props }) => {
17009
- return /* @__PURE__ */ (0, import_jsx_runtime309.jsxs)(import_react_select3.Group, { ...props, children: [
17010
- /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime309.jsx)(
17046
+ return /* @__PURE__ */ (0, import_jsx_runtime310.jsxs)(import_react_select3.Group, { ...props, children: [
17047
+ /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
17011
17048
  Heading,
17012
17049
  {
17013
17050
  renderAs: "span",
@@ -17023,7 +17060,7 @@ var SelectOptionGroup = ({ children, label, ...props }) => {
17023
17060
  var import_react_slider2 = require("@radix-ui/react-slider");
17024
17061
  var import_styled_components113 = __toESM(require("styled-components"));
17025
17062
  var import_type_guards65 = require("@wistia/type-guards");
17026
- var import_jsx_runtime310 = require("react/jsx-runtime");
17063
+ var import_jsx_runtime311 = require("react/jsx-runtime");
17027
17064
  var SliderContainer = import_styled_components113.default.div`
17028
17065
  --wui-slider-track-color: var(--wui-gray-6);
17029
17066
  --wui-slider-track-border-radius: var(--wui-border-radius-rounded);
@@ -17112,12 +17149,12 @@ var Slider = ({
17112
17149
  onChange(newValue);
17113
17150
  }
17114
17151
  };
17115
- return /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
17152
+ return /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
17116
17153
  SliderContainer,
17117
17154
  {
17118
17155
  ...otherProps,
17119
17156
  "data-testid": dataTestId,
17120
- children: /* @__PURE__ */ (0, import_jsx_runtime310.jsxs)(
17157
+ children: /* @__PURE__ */ (0, import_jsx_runtime311.jsxs)(
17121
17158
  StyledSliderRoot,
17122
17159
  {
17123
17160
  "aria-label": ariaLabel,
@@ -17130,8 +17167,8 @@ var Slider = ({
17130
17167
  step,
17131
17168
  ...value ? { value } : {},
17132
17169
  children: [
17133
- /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(StyledSliderTrack, { "data-testid": `${dataTestId}-track`, children: /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(StyledSliderRange, { "data-testid": `${dataTestId}-range` }) }),
17134
- values.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime310.jsx)(
17170
+ /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(StyledSliderTrack, { "data-testid": `${dataTestId}-track`, children: /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(StyledSliderRange, { "data-testid": `${dataTestId}-range` }) }),
17171
+ values.map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
17135
17172
  StyledSliderThumb,
17136
17173
  {
17137
17174
  "data-testid": `${dataTestId}-thumb-${index}`
@@ -17148,7 +17185,7 @@ Slider.displayName = "Slider_UI";
17148
17185
 
17149
17186
  // src/components/Table/Table.tsx
17150
17187
  var import_styled_components114 = __toESM(require("styled-components"));
17151
- var import_jsx_runtime311 = require("react/jsx-runtime");
17188
+ var import_jsx_runtime312 = require("react/jsx-runtime");
17152
17189
  var StyledTable = import_styled_components114.default.table`
17153
17190
  width: 100%;
17154
17191
  border-collapse: collapse;
@@ -17178,7 +17215,7 @@ var Table = ({
17178
17215
  visuallyHiddenHeader = false,
17179
17216
  ...props
17180
17217
  }) => {
17181
- return /* @__PURE__ */ (0, import_jsx_runtime311.jsx)(
17218
+ return /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(
17182
17219
  StyledTable,
17183
17220
  {
17184
17221
  $divided: divided,
@@ -17199,16 +17236,16 @@ var import_react92 = require("react");
17199
17236
  var TableSectionContext = (0, import_react92.createContext)(null);
17200
17237
 
17201
17238
  // src/components/Table/TableBody.tsx
17202
- var import_jsx_runtime312 = require("react/jsx-runtime");
17239
+ var import_jsx_runtime313 = require("react/jsx-runtime");
17203
17240
  var StyledTableBody = import_styled_components115.default.tbody``;
17204
17241
  var TableBody = ({ children, ...props }) => {
17205
- return /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime312.jsx)(StyledTableBody, { ...props, children }) });
17242
+ return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(StyledTableBody, { ...props, children }) });
17206
17243
  };
17207
17244
 
17208
17245
  // src/components/Table/TableCell.tsx
17209
17246
  var import_react94 = require("react");
17210
17247
  var import_styled_components116 = __toESM(require("styled-components"));
17211
- var import_jsx_runtime313 = require("react/jsx-runtime");
17248
+ var import_jsx_runtime314 = require("react/jsx-runtime");
17212
17249
  var sharedStyles = import_styled_components116.css`
17213
17250
  color: var(--wui-color-text);
17214
17251
  padding: var(--wui-space-02);
@@ -17229,35 +17266,35 @@ var StyledTd = import_styled_components116.default.td`
17229
17266
  var TableCell = ({ children, ...props }) => {
17230
17267
  const section = (0, import_react94.useContext)(TableSectionContext);
17231
17268
  if (section === "head") {
17232
- return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(StyledTh, { ...props, children });
17269
+ return /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(StyledTh, { ...props, children });
17233
17270
  }
17234
- return /* @__PURE__ */ (0, import_jsx_runtime313.jsx)(StyledTd, { ...props, children });
17271
+ return /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(StyledTd, { ...props, children });
17235
17272
  };
17236
17273
 
17237
17274
  // src/components/Table/TableFoot.tsx
17238
17275
  var import_react95 = require("react");
17239
17276
  var import_styled_components117 = __toESM(require("styled-components"));
17240
- var import_jsx_runtime314 = require("react/jsx-runtime");
17277
+ var import_jsx_runtime315 = require("react/jsx-runtime");
17241
17278
  var StyledTableFoot = import_styled_components117.default.tfoot``;
17242
17279
  var TableFoot = ({ children, ...props }) => {
17243
- return /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime314.jsx)(StyledTableFoot, { ...props, children }) });
17280
+ return /* @__PURE__ */ (0, import_jsx_runtime315.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime315.jsx)(StyledTableFoot, { ...props, children }) });
17244
17281
  };
17245
17282
 
17246
17283
  // src/components/Table/TableHead.tsx
17247
17284
  var import_react96 = require("react");
17248
17285
  var import_styled_components118 = __toESM(require("styled-components"));
17249
- var import_jsx_runtime315 = require("react/jsx-runtime");
17286
+ var import_jsx_runtime316 = require("react/jsx-runtime");
17250
17287
  var StyledThead = import_styled_components118.default.thead``;
17251
17288
  var TableHead = ({ children, ...props }) => {
17252
- return /* @__PURE__ */ (0, import_jsx_runtime315.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime315.jsx)(StyledThead, { ...props, children }) });
17289
+ return /* @__PURE__ */ (0, import_jsx_runtime316.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime316.jsx)(StyledThead, { ...props, children }) });
17253
17290
  };
17254
17291
 
17255
17292
  // src/components/Table/TableRow.tsx
17256
17293
  var import_styled_components119 = __toESM(require("styled-components"));
17257
- var import_jsx_runtime316 = require("react/jsx-runtime");
17294
+ var import_jsx_runtime317 = require("react/jsx-runtime");
17258
17295
  var StyledTableRow = import_styled_components119.default.tr``;
17259
17296
  var TableRow = ({ children, ...props }) => {
17260
- return /* @__PURE__ */ (0, import_jsx_runtime316.jsx)(StyledTableRow, { ...props, children });
17297
+ return /* @__PURE__ */ (0, import_jsx_runtime317.jsx)(StyledTableRow, { ...props, children });
17261
17298
  };
17262
17299
 
17263
17300
  // src/components/Tabs/Tabs.tsx
@@ -17278,7 +17315,7 @@ var useTabsValue = () => {
17278
17315
  };
17279
17316
 
17280
17317
  // src/components/Tabs/Tabs.tsx
17281
- var import_jsx_runtime317 = require("react/jsx-runtime");
17318
+ var import_jsx_runtime318 = require("react/jsx-runtime");
17282
17319
  var Tabs = ({
17283
17320
  children,
17284
17321
  value: valueProp,
@@ -17306,15 +17343,15 @@ var Tabs = ({
17306
17343
  if ((0, import_type_guards66.isNotNil)(defaultValue)) {
17307
17344
  rootProps.defaultValue = defaultValue;
17308
17345
  }
17309
- return /* @__PURE__ */ (0, import_jsx_runtime317.jsx)(import_react_tabs.Root, { ...rootProps, children: /* @__PURE__ */ (0, import_jsx_runtime317.jsx)(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ (0, import_jsx_runtime317.jsx)(SelectedItemStyleProvider, { children }) }) });
17346
+ return /* @__PURE__ */ (0, import_jsx_runtime318.jsx)(import_react_tabs.Root, { ...rootProps, children: /* @__PURE__ */ (0, import_jsx_runtime318.jsx)(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ (0, import_jsx_runtime318.jsx)(SelectedItemStyleProvider, { children }) }) });
17310
17347
  };
17311
17348
  Tabs.displayName = "Tabs_UI";
17312
17349
 
17313
17350
  // src/components/Tabs/TabsContent.tsx
17314
17351
  var import_react_tabs2 = require("@radix-ui/react-tabs");
17315
- var import_jsx_runtime318 = require("react/jsx-runtime");
17352
+ var import_jsx_runtime319 = require("react/jsx-runtime");
17316
17353
  var TabsContent = ({ children, value }) => {
17317
- return /* @__PURE__ */ (0, import_jsx_runtime318.jsx)(import_react_tabs2.Content, { value, children });
17354
+ return /* @__PURE__ */ (0, import_jsx_runtime319.jsx)(import_react_tabs2.Content, { value, children });
17318
17355
  };
17319
17356
  TabsContent.displayName = "TabsContent_UI";
17320
17357
 
@@ -17334,14 +17371,14 @@ var TabsSelectedItemIndicatorDiv = (0, import_styled_components120.default)(Sele
17334
17371
  `;
17335
17372
 
17336
17373
  // src/components/Tabs/SelectedTabIndicator.tsx
17337
- var import_jsx_runtime319 = require("react/jsx-runtime");
17374
+ var import_jsx_runtime320 = require("react/jsx-runtime");
17338
17375
  var SelectedTabIndicator = () => {
17339
17376
  const { selectedItemIndicatorStyle } = useSelectedItemStyle();
17340
17377
  const selectedValue = useTabsValue();
17341
17378
  if (selectedValue == null || (0, import_type_guards67.isUndefined)(selectedItemIndicatorStyle)) {
17342
17379
  return null;
17343
17380
  }
17344
- return /* @__PURE__ */ (0, import_jsx_runtime319.jsx)(
17381
+ return /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(
17345
17382
  TabsSelectedItemIndicatorDiv,
17346
17383
  {
17347
17384
  "data-wui-selected-item-indicator": true,
@@ -17351,19 +17388,19 @@ var SelectedTabIndicator = () => {
17351
17388
  };
17352
17389
 
17353
17390
  // src/components/Tabs/TabsList.tsx
17354
- var import_jsx_runtime320 = require("react/jsx-runtime");
17391
+ var import_jsx_runtime321 = require("react/jsx-runtime");
17355
17392
  var StyledRadixTabsList = (0, import_styled_components121.default)(import_react_tabs3.List)`
17356
17393
  ${segmentedControlStyles}
17357
17394
  `;
17358
17395
  var TabsList = ({ children, fullWidth = true, ...props }) => {
17359
- return /* @__PURE__ */ (0, import_jsx_runtime320.jsxs)(
17396
+ return /* @__PURE__ */ (0, import_jsx_runtime321.jsxs)(
17360
17397
  StyledRadixTabsList,
17361
17398
  {
17362
17399
  $fullWidth: fullWidth,
17363
17400
  "aria-label": props["aria-label"],
17364
17401
  children: [
17365
17402
  children,
17366
- /* @__PURE__ */ (0, import_jsx_runtime320.jsx)(SelectedTabIndicator, {})
17403
+ /* @__PURE__ */ (0, import_jsx_runtime321.jsx)(SelectedTabIndicator, {})
17367
17404
  ]
17368
17405
  }
17369
17406
  );
@@ -17386,7 +17423,7 @@ var StyledRadixTabsTrigger = (0, import_styled_components122.default)(import_rea
17386
17423
  `;
17387
17424
 
17388
17425
  // src/components/Tabs/TabsTrigger.tsx
17389
- var import_jsx_runtime321 = require("react/jsx-runtime");
17426
+ var import_jsx_runtime322 = require("react/jsx-runtime");
17390
17427
  var TabsTrigger = (0, import_react99.forwardRef)(
17391
17428
  ({ disabled = false, icon, label, "aria-label": ariaLabel, value, ...otherProps }, forwardedRef) => {
17392
17429
  const selectedValue = useTabsValue();
@@ -17418,7 +17455,7 @@ var TabsTrigger = (0, import_react99.forwardRef)(
17418
17455
  resizeObserver.disconnect();
17419
17456
  };
17420
17457
  }, [selectedValue, setSelectedItemMeasurements, value]);
17421
- return /* @__PURE__ */ (0, import_jsx_runtime321.jsxs)(
17458
+ return /* @__PURE__ */ (0, import_jsx_runtime322.jsxs)(
17422
17459
  StyledRadixTabsTrigger,
17423
17460
  {
17424
17461
  ...otherProps,
@@ -17440,7 +17477,7 @@ TabsTrigger.displayName = "TabsTrigger_UI";
17440
17477
  // src/components/Thumbnail/ThumbnailBadge.tsx
17441
17478
  var import_styled_components123 = __toESM(require("styled-components"));
17442
17479
  var import_type_guards69 = require("@wistia/type-guards");
17443
- var import_jsx_runtime322 = require("react/jsx-runtime");
17480
+ var import_jsx_runtime323 = require("react/jsx-runtime");
17444
17481
  var StyledThumbnailBadge = import_styled_components123.default.div`
17445
17482
  align-items: center;
17446
17483
  background-color: rgb(0 0 0 / 50%);
@@ -17467,9 +17504,9 @@ var StyledThumbnailBadge = import_styled_components123.default.div`
17467
17504
  }
17468
17505
  `;
17469
17506
  var ThumbnailBadge = ({ icon, label, ...props }) => {
17470
- return /* @__PURE__ */ (0, import_jsx_runtime322.jsxs)(StyledThumbnailBadge, { ...props, children: [
17507
+ return /* @__PURE__ */ (0, import_jsx_runtime323.jsxs)(StyledThumbnailBadge, { ...props, children: [
17471
17508
  (0, import_type_guards69.isNotNil)(icon) && icon,
17472
- /* @__PURE__ */ (0, import_jsx_runtime322.jsx)("span", { children: label })
17509
+ /* @__PURE__ */ (0, import_jsx_runtime323.jsx)("span", { children: label })
17473
17510
  ] });
17474
17511
  };
17475
17512
  ThumbnailBadge.displayName = "ThumbnailBadge_UI";
@@ -17614,7 +17651,7 @@ var getBackgroundGradient = (gradientName = void 0) => {
17614
17651
  // src/components/Thumbnail/ThumbnailStoryboardViewer.tsx
17615
17652
  var import_styled_components125 = __toESM(require("styled-components"));
17616
17653
  var import_type_guards71 = require("@wistia/type-guards");
17617
- var import_jsx_runtime323 = require("react/jsx-runtime");
17654
+ var import_jsx_runtime324 = require("react/jsx-runtime");
17618
17655
  var ScrubLine = import_styled_components125.default.div`
17619
17656
  position: absolute;
17620
17657
  top: 0;
@@ -17726,14 +17763,14 @@ var ThumbnailStoryboardViewer = ({
17726
17763
  backgroundPosition,
17727
17764
  backgroundSize
17728
17765
  };
17729
- return /* @__PURE__ */ (0, import_jsx_runtime323.jsxs)(
17766
+ return /* @__PURE__ */ (0, import_jsx_runtime324.jsxs)(
17730
17767
  "div",
17731
17768
  {
17732
17769
  ...props,
17733
17770
  style: viewerStyles,
17734
17771
  children: [
17735
- /* @__PURE__ */ (0, import_jsx_runtime323.jsx)("div", { style: storyboardStyles }),
17736
- showScrubLine ? /* @__PURE__ */ (0, import_jsx_runtime323.jsx)(
17772
+ /* @__PURE__ */ (0, import_jsx_runtime324.jsx)("div", { style: storyboardStyles }),
17773
+ showScrubLine ? /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(
17737
17774
  ScrubLine,
17738
17775
  {
17739
17776
  style: {
@@ -17747,7 +17784,7 @@ var ThumbnailStoryboardViewer = ({
17747
17784
  };
17748
17785
 
17749
17786
  // src/components/Thumbnail/Thumbnail.tsx
17750
- var import_jsx_runtime324 = require("react/jsx-runtime");
17787
+ var import_jsx_runtime325 = require("react/jsx-runtime");
17751
17788
  var WideThumbnailImage = import_styled_components126.default.img`
17752
17789
  height: 100%;
17753
17790
  object-fit: cover;
@@ -17760,7 +17797,7 @@ var SquareThumbnailImage = import_styled_components126.default.img`
17760
17797
  `;
17761
17798
  var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
17762
17799
  if (thumbnailImageType === "wide") {
17763
- return /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(
17800
+ return /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(
17764
17801
  WideThumbnailImage,
17765
17802
  {
17766
17803
  alt: "",
@@ -17769,7 +17806,7 @@ var ThumbnailImage = ({ thumbnailImageType, thumbnailUrl }) => {
17769
17806
  }
17770
17807
  );
17771
17808
  }
17772
- return /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(
17809
+ return /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(
17773
17810
  SquareThumbnailImage,
17774
17811
  {
17775
17812
  alt: "",
@@ -17872,7 +17909,7 @@ var Thumbnail = (0, import_react100.forwardRef)(
17872
17909
  } = storyboard;
17873
17910
  const targetWidth = (0, import_type_guards72.isString)(width) ? parseInt(width, 10) : Number(width);
17874
17911
  const effectiveCursorPosition = isStoryboardReady ? cursorPosition : null;
17875
- return /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(
17912
+ return /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(
17876
17913
  ThumbnailStoryboardViewer,
17877
17914
  {
17878
17915
  cursorPosition: effectiveCursorPosition,
@@ -17892,7 +17929,7 @@ var Thumbnail = (0, import_react100.forwardRef)(
17892
17929
  if (shouldRenderStoryboard) {
17893
17930
  thumbnailContent = renderStoryboard();
17894
17931
  } else if ((0, import_type_guards72.isNotNil)(thumbnailUrl)) {
17895
- thumbnailContent = /* @__PURE__ */ (0, import_jsx_runtime324.jsx)(
17932
+ thumbnailContent = /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(
17896
17933
  ThumbnailImage,
17897
17934
  {
17898
17935
  thumbnailImageType,
@@ -17902,7 +17939,7 @@ var Thumbnail = (0, import_react100.forwardRef)(
17902
17939
  } else {
17903
17940
  thumbnailContent = null;
17904
17941
  }
17905
- return /* @__PURE__ */ (0, import_jsx_runtime324.jsxs)(
17942
+ return /* @__PURE__ */ (0, import_jsx_runtime325.jsxs)(
17906
17943
  StyledThumbnail,
17907
17944
  {
17908
17945
  ref,
@@ -17929,7 +17966,7 @@ Thumbnail.displayName = "Thumbnail_UI";
17929
17966
  var import_react101 = __toESM(require("react"));
17930
17967
  var import_styled_components127 = __toESM(require("styled-components"));
17931
17968
  var import_type_guards73 = require("@wistia/type-guards");
17932
- var import_jsx_runtime325 = (
17969
+ var import_jsx_runtime326 = (
17933
17970
  // ThumbnailCollage will fallback to a Thumbnail with a gradient background if no children are provided
17934
17971
  require("react/jsx-runtime")
17935
17972
  );
@@ -18014,7 +18051,7 @@ var ThumbnailCollage = ({
18014
18051
  children: void 0
18015
18052
  });
18016
18053
  }) : [
18017
- /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(
18054
+ /* @__PURE__ */ (0, import_jsx_runtime326.jsx)(
18018
18055
  Thumbnail,
18019
18056
  {
18020
18057
  gradientBackground,
@@ -18023,7 +18060,7 @@ var ThumbnailCollage = ({
18023
18060
  "fallback"
18024
18061
  )
18025
18062
  ];
18026
- return /* @__PURE__ */ (0, import_jsx_runtime325.jsx)(
18063
+ return /* @__PURE__ */ (0, import_jsx_runtime326.jsx)(
18027
18064
  StyledThumbnailCollage,
18028
18065
  {
18029
18066
  $gradientBackground: gradientBackground,
@@ -18037,24 +18074,24 @@ var ThumbnailCollage = ({
18037
18074
  // src/components/WistiaLogo/WistiaLogo.tsx
18038
18075
  var import_styled_components128 = __toESM(require("styled-components"));
18039
18076
  var import_type_guards74 = require("@wistia/type-guards");
18040
- var import_jsx_runtime326 = require("react/jsx-runtime");
18077
+ var import_jsx_runtime327 = require("react/jsx-runtime");
18041
18078
  var renderBrandmark = (brandmarkColor, iconOnly) => {
18042
18079
  if (iconOnly) {
18043
- return /* @__PURE__ */ (0, import_jsx_runtime326.jsx)(
18080
+ return /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
18044
18081
  "g",
18045
18082
  {
18046
18083
  "data-testid": "ui-wistia-logo-brandmark",
18047
18084
  fill: brandmarkColor,
18048
- children: /* @__PURE__ */ (0, import_jsx_runtime326.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" })
18085
+ children: /* @__PURE__ */ (0, import_jsx_runtime327.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" })
18049
18086
  }
18050
18087
  );
18051
18088
  }
18052
- return /* @__PURE__ */ (0, import_jsx_runtime326.jsx)(
18089
+ return /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
18053
18090
  "g",
18054
18091
  {
18055
18092
  "data-testid": "ui-wistia-logo-brandmark",
18056
18093
  fill: brandmarkColor,
18057
- children: /* @__PURE__ */ (0, import_jsx_runtime326.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" })
18094
+ children: /* @__PURE__ */ (0, import_jsx_runtime327.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" })
18058
18095
  }
18059
18096
  );
18060
18097
  };
@@ -18062,12 +18099,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
18062
18099
  if (iconOnly) {
18063
18100
  return null;
18064
18101
  }
18065
- return /* @__PURE__ */ (0, import_jsx_runtime326.jsx)(
18102
+ return /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
18066
18103
  "g",
18067
18104
  {
18068
18105
  "data-testid": "ui-wistia-logo-logotype",
18069
18106
  fill: logotypeColor,
18070
- children: /* @__PURE__ */ (0, import_jsx_runtime326.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" })
18107
+ children: /* @__PURE__ */ (0, import_jsx_runtime327.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" })
18071
18108
  }
18072
18109
  );
18073
18110
  };
@@ -18135,7 +18172,7 @@ var WistiaLogo = ({
18135
18172
  };
18136
18173
  const brandmarkColor = VARIANT_COLORS[variant].brandmark;
18137
18174
  const logotypeColor = VARIANT_COLORS[variant].logotype;
18138
- const Logo = /* @__PURE__ */ (0, import_jsx_runtime326.jsxs)(
18175
+ const Logo = /* @__PURE__ */ (0, import_jsx_runtime327.jsxs)(
18139
18176
  WistiaLogoComponent,
18140
18177
  {
18141
18178
  $hoverColor: hoverColor,
@@ -18148,21 +18185,21 @@ var WistiaLogo = ({
18148
18185
  xmlns: "http://www.w3.org/2000/svg",
18149
18186
  ...props,
18150
18187
  children: [
18151
- /* @__PURE__ */ (0, import_jsx_runtime326.jsx)("title", { children: title }),
18152
- (0, import_type_guards74.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime326.jsx)("desc", { children: description }) : null,
18188
+ /* @__PURE__ */ (0, import_jsx_runtime327.jsx)("title", { children: title }),
18189
+ (0, import_type_guards74.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime327.jsx)("desc", { children: description }) : null,
18153
18190
  renderBrandmark(brandmarkColor, iconOnly),
18154
18191
  renderLogotype(logotypeColor, iconOnly)
18155
18192
  ]
18156
18193
  }
18157
18194
  );
18158
- return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime326.jsx)("a", { href, children: Logo }) : Logo;
18195
+ return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime327.jsx)("a", { href, children: Logo }) : Logo;
18159
18196
  };
18160
18197
  WistiaLogo.displayName = "WistiaLogo_UI";
18161
18198
 
18162
18199
  // src/components/SplitButton/SplitButton.tsx
18163
18200
  var import_styled_components129 = __toESM(require("styled-components"));
18164
18201
  var import_type_guards75 = require("@wistia/type-guards");
18165
- var import_jsx_runtime327 = require("react/jsx-runtime");
18202
+ var import_jsx_runtime328 = require("react/jsx-runtime");
18166
18203
  var StyledSplitButton = import_styled_components129.default.span`
18167
18204
  white-space: nowrap;
18168
18205
 
@@ -18180,7 +18217,7 @@ var StyledSplitButton = import_styled_components129.default.span`
18180
18217
  var SplitButton = ({
18181
18218
  children,
18182
18219
  menuLabel = "Select an option",
18183
- menuIcon = /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(Icon, { type: "caret-down" }),
18220
+ menuIcon = /* @__PURE__ */ (0, import_jsx_runtime328.jsx)(Icon, { type: "caret-down" }),
18184
18221
  menuItems,
18185
18222
  disabled = false,
18186
18223
  colorScheme = "default",
@@ -18191,8 +18228,8 @@ var SplitButton = ({
18191
18228
  menuProps = {},
18192
18229
  ...props
18193
18230
  }) => {
18194
- return /* @__PURE__ */ (0, import_jsx_runtime327.jsxs)(StyledSplitButton, { children: [
18195
- /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
18231
+ return /* @__PURE__ */ (0, import_jsx_runtime328.jsxs)(StyledSplitButton, { children: [
18232
+ /* @__PURE__ */ (0, import_jsx_runtime328.jsx)(
18196
18233
  Button,
18197
18234
  {
18198
18235
  colorScheme,
@@ -18204,12 +18241,12 @@ var SplitButton = ({
18204
18241
  children
18205
18242
  }
18206
18243
  ),
18207
- (0, import_type_guards75.isNotNil)(menuItems) && /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
18244
+ (0, import_type_guards75.isNotNil)(menuItems) && /* @__PURE__ */ (0, import_jsx_runtime328.jsx)(
18208
18245
  Menu,
18209
18246
  {
18210
18247
  ...menuProps,
18211
18248
  disabled,
18212
- trigger: /* @__PURE__ */ (0, import_jsx_runtime327.jsx)(
18249
+ trigger: /* @__PURE__ */ (0, import_jsx_runtime328.jsx)(
18213
18250
  IconButton,
18214
18251
  {
18215
18252
  colorScheme,
@@ -18316,6 +18353,8 @@ SplitButton.displayName = "SplitButton_UI";
18316
18353
  MenuLabel,
18317
18354
  MenuRadioGroup,
18318
18355
  Modal,
18356
+ ModalValueProp,
18357
+ ModalValueProps,
18319
18358
  PersistentFileAmountLimitValidator,
18320
18359
  Popover,
18321
18360
  ProgressBar,