@wistia/ui 0.6.14-beta.cba86756.15a583b → 0.6.15

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.6.14-beta.cba86756.15a583b
3
+ * @license @wistia/ui v0.6.15
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -86,7 +86,6 @@ __export(index_exports, {
86
86
  Modal: () => Modal,
87
87
  PersistentFileAmountLimitValidator: () => import_validators.PersistentFileAmountLimitValidator,
88
88
  Popover: () => Popover,
89
- ProgressBar: () => ProgressBar,
90
89
  Radio: () => Radio,
91
90
  RadioGroup: () => RadioGroup,
92
91
  RadioMenuItem: () => RadioMenuItem,
@@ -10156,92 +10155,17 @@ var Popover = ({
10156
10155
  };
10157
10156
  Popover.displayName = "Popover";
10158
10157
 
10159
- // src/components/ProgressBar/ProgressBar.tsx
10158
+ // src/components/Radio/Radio.tsx
10159
+ var import_react43 = require("react");
10160
10160
  var import_styled_components63 = __toESM(require("styled-components"));
10161
- var import_react_progress = require("@radix-ui/react-progress");
10162
10161
  var import_type_guards36 = require("@wistia/type-guards");
10163
10162
  var import_jsx_runtime239 = require("react/jsx-runtime");
10164
- var ProgressBarWrapper = import_styled_components63.default.div`
10165
- display: flex;
10166
- align-items: center;
10167
- `;
10168
- var getTranslateValue = (progress, max) => {
10169
- if (progress === 0) {
10170
- return "translateX(-101%)";
10171
- }
10172
- const progressPercentage = progress / max * 100;
10173
- return `translateX(-${100 - progressPercentage}%)`;
10174
- };
10175
- var ProgressBarLabel = import_styled_components63.default.div`
10176
- display: flex;
10177
- line-height: var(--wui-typography-label-3-line-height);
10178
- font-size: var(--wui-typography-label-3-size);
10179
- font-weight: var(--wui-typography-weight-label);
10180
- color: var(--wui-color-text-secondary);
10181
- padding-left: ${({ $position }) => $position === "right" ? "var(--wui-space-01)" : "0"};
10182
- padding-right: ${({ $position }) => $position === "left" ? "var(--wui-space-01)" : "0"};
10183
- `;
10184
- var StyledProgressIndicator = (0, import_styled_components63.default)(import_react_progress.Indicator)`
10185
- background-color: var(--wui-color-bg-fill);
10186
- width: 100%;
10187
- height: 100%;
10188
- border-top-right-radius: var(--wui-border-radius-rounded);
10189
- border-bottom-right-radius: var(--wui-border-radius-rounded);
10190
- transition: transform 660ms cubic-bezier(0.65, 0, 0.35, 1);
10191
- transform: ${({ $progress, $max }) => getTranslateValue($progress, $max)};
10192
- `;
10193
- var StyledProgressBar = (0, import_styled_components63.default)(import_react_progress.Root)`
10194
- position: relative;
10195
- overflow: hidden;
10196
- background: var(--wui-color-bg-surface-secondary);
10197
- border-radius: var(--wui-border-radius-rounded);
10198
- width: 100%;
10199
- height: 8px;
10200
-
10201
- /* Fix overflow clipping in Safari: https://gist.github.com/domske/b66047671c780a238b51c51ffde8d3a0 */
10202
- transform: translateZ(0);
10203
- `;
10204
- var ProgressBar = ({
10205
- progress,
10206
- max = 100,
10207
- children,
10208
- leftLabel,
10209
- rightLabel,
10210
- ...props
10211
- }) => {
10212
- return /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)(ProgressBarWrapper, { children: [
10213
- (0, import_type_guards36.isNotNil)(leftLabel) ? /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(ProgressBarLabel, { $position: "left", children: leftLabel }) : null,
10214
- /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
10215
- StyledProgressBar,
10216
- {
10217
- max,
10218
- value: progress,
10219
- ...props,
10220
- children: /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
10221
- StyledProgressIndicator,
10222
- {
10223
- $max: max,
10224
- $progress: progress
10225
- }
10226
- )
10227
- }
10228
- ),
10229
- (0, import_type_guards36.isNotNil)(rightLabel) ? /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(ProgressBarLabel, { $position: "right", children: rightLabel }) : null
10230
- ] });
10231
- };
10232
- ProgressBar.displayName = "ProgressBar";
10233
-
10234
- // src/components/Radio/Radio.tsx
10235
- var import_react43 = require("react");
10236
- var import_styled_components64 = __toESM(require("styled-components"));
10237
- var import_type_guards37 = require("@wistia/type-guards");
10238
- var import_jsx_runtime240 = require("react/jsx-runtime");
10239
- var StyledLabelWrapper2 = import_styled_components64.default.div`
10163
+ var StyledLabelWrapper2 = import_styled_components63.default.div`
10240
10164
  display: flex;
10241
10165
  flex-direction: column;
10242
10166
  padding-left: var(--wui-space-02);
10243
10167
  `;
10244
- var StyledRadio = import_styled_components64.default.input`
10168
+ var StyledRadio = import_styled_components63.default.input`
10245
10169
  box-shadow: ${({ type }) => type === "checkbox" ? "inset 0 0.5px 1.5px 0 rgba(0, 0, 0, 0.38)" : "none"};
10246
10170
  appearance: none;
10247
10171
  margin: 0;
@@ -10267,11 +10191,11 @@ var StyledRadio = import_styled_components64.default.input`
10267
10191
  transform: scale(1);
10268
10192
  }
10269
10193
  `;
10270
- var disabledStyle2 = import_styled_components64.css`
10194
+ var disabledStyle2 = import_styled_components63.css`
10271
10195
  cursor: not-allowed;
10272
10196
  opacity: 0.5;
10273
10197
  `;
10274
- var errorStyle = import_styled_components64.css`
10198
+ var errorStyle = import_styled_components63.css`
10275
10199
  /* TODO Lamp to design error state */
10276
10200
  &:hover,
10277
10201
  &:focus,
@@ -10279,11 +10203,11 @@ var errorStyle = import_styled_components64.css`
10279
10203
  border-color: transparent !important;
10280
10204
  }
10281
10205
  `;
10282
- var defaultHoverStyle = import_styled_components64.css`
10206
+ var defaultHoverStyle = import_styled_components63.css`
10283
10207
  /* TODO Lamp to design hover state */
10284
10208
  cursor: pointer;
10285
10209
  `;
10286
- var StyledRadioWrapper = import_styled_components64.default.div`
10210
+ var StyledRadioWrapper = import_styled_components63.default.div`
10287
10211
  align-items: baseline;
10288
10212
  border: 1px solid transparent;
10289
10213
  border-radius: 4px;
@@ -10320,14 +10244,14 @@ var Radio = (0, import_react43.forwardRef)(
10320
10244
  ...otherProps
10321
10245
  }, ref) => {
10322
10246
  const generatedId = (0, import_react43.useId)();
10323
- const computedId = (0, import_type_guards37.isNonEmptyString)(id) ? id : `ui-radio-${generatedId}`;
10324
- return /* @__PURE__ */ (0, import_jsx_runtime240.jsxs)(
10247
+ const computedId = (0, import_type_guards36.isNonEmptyString)(id) ? id : `ui-radio-${generatedId}`;
10248
+ return /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)(
10325
10249
  StyledRadioWrapper,
10326
10250
  {
10327
10251
  "aria-invalid": otherProps["aria-invalid"],
10328
10252
  disabled,
10329
10253
  children: [
10330
- /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(
10254
+ /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
10331
10255
  StyledRadio,
10332
10256
  {
10333
10257
  ref,
@@ -10342,8 +10266,8 @@ var Radio = (0, import_react43.forwardRef)(
10342
10266
  ...otherProps
10343
10267
  }
10344
10268
  ),
10345
- /* @__PURE__ */ (0, import_jsx_runtime240.jsxs)(StyledLabelWrapper2, { children: [
10346
- /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(
10269
+ /* @__PURE__ */ (0, import_jsx_runtime239.jsxs)(StyledLabelWrapper2, { children: [
10270
+ /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(
10347
10271
  Label,
10348
10272
  {
10349
10273
  disabled,
@@ -10352,7 +10276,7 @@ var Radio = (0, import_react43.forwardRef)(
10352
10276
  children: label
10353
10277
  }
10354
10278
  ),
10355
- /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(LabelDescription, { children: description })
10279
+ /* @__PURE__ */ (0, import_jsx_runtime239.jsx)(LabelDescription, { children: description })
10356
10280
  ] })
10357
10281
  ]
10358
10282
  }
@@ -10363,13 +10287,13 @@ Radio.displayName = "Radio";
10363
10287
 
10364
10288
  // src/components/SegmentedControl/SegmentedControl.tsx
10365
10289
  var import_react47 = require("react");
10366
- var import_styled_components66 = __toESM(require("styled-components"));
10290
+ var import_styled_components65 = __toESM(require("styled-components"));
10367
10291
  var import_react_toggle_group = require("@radix-ui/react-toggle-group");
10368
- var import_type_guards38 = require("@wistia/type-guards");
10292
+ var import_type_guards37 = require("@wistia/type-guards");
10369
10293
 
10370
10294
  // src/components/SegmentedControl/useSelectedItemMeasurements.tsx
10371
10295
  var import_react44 = require("react");
10372
- var import_jsx_runtime241 = require("react/jsx-runtime");
10296
+ var import_jsx_runtime240 = require("react/jsx-runtime");
10373
10297
  var SelectedItemMeasurementsContext = (0, import_react44.createContext)(
10374
10298
  null
10375
10299
  );
@@ -10384,7 +10308,7 @@ var SelectedItemMeasurementsProvider = ({
10384
10308
  }),
10385
10309
  [selectedItemMeasurements]
10386
10310
  );
10387
- return /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(SelectedItemMeasurementsContext.Provider, { value: contextValue, children });
10311
+ return /* @__PURE__ */ (0, import_jsx_runtime240.jsx)(SelectedItemMeasurementsContext.Provider, { value: contextValue, children });
10388
10312
  };
10389
10313
  var useSelectedItemMeasurements = () => {
10390
10314
  const context = (0, import_react44.useContext)(SelectedItemMeasurementsContext);
@@ -10398,7 +10322,7 @@ var useSelectedItemMeasurements = () => {
10398
10322
 
10399
10323
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
10400
10324
  var import_react46 = require("react");
10401
- var import_styled_components65 = __toESM(require("styled-components"));
10325
+ var import_styled_components64 = __toESM(require("styled-components"));
10402
10326
 
10403
10327
  // src/components/SegmentedControl/useSegmentedControlValue.tsx
10404
10328
  var import_react45 = require("react");
@@ -10413,8 +10337,8 @@ var useSegmentedControlValue = () => {
10413
10337
  };
10414
10338
 
10415
10339
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
10416
- var import_jsx_runtime242 = require("react/jsx-runtime");
10417
- var SelectedItemIndicatorDiv = import_styled_components65.default.div`
10340
+ var import_jsx_runtime241 = require("react/jsx-runtime");
10341
+ var SelectedItemIndicatorDiv = import_styled_components64.default.div`
10418
10342
  background-color: var(--wui-color-bg-fill-white);
10419
10343
  border-radius: var(--wui-border-radius-rounded);
10420
10344
  left: 0;
@@ -10440,7 +10364,7 @@ var SelectedItemIndicator = () => {
10440
10364
  if (!selectedValue) {
10441
10365
  return null;
10442
10366
  }
10443
- return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
10367
+ return /* @__PURE__ */ (0, import_jsx_runtime241.jsx)(
10444
10368
  SelectedItemIndicatorDiv,
10445
10369
  {
10446
10370
  style: {
@@ -10453,8 +10377,8 @@ var SelectedItemIndicator = () => {
10453
10377
  };
10454
10378
 
10455
10379
  // src/components/SegmentedControl/SegmentedControl.tsx
10456
- var import_jsx_runtime243 = require("react/jsx-runtime");
10457
- var segmentedControlStyles = import_styled_components66.css`
10380
+ var import_jsx_runtime242 = require("react/jsx-runtime");
10381
+ var segmentedControlStyles = import_styled_components65.css`
10458
10382
  display: inline-flex;
10459
10383
  background-color: var(--wui-color-bg-surface-secondary);
10460
10384
  border-radius: var(--wui-border-radius-rounded);
@@ -10464,7 +10388,7 @@ var segmentedControlStyles = import_styled_components66.css`
10464
10388
  position: relative;
10465
10389
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
10466
10390
  `;
10467
- var StyledSegmentedControl = (0, import_styled_components66.default)(import_react_toggle_group.Root)`
10391
+ var StyledSegmentedControl = (0, import_styled_components65.default)(import_react_toggle_group.Root)`
10468
10392
  ${segmentedControlStyles}
10469
10393
  `;
10470
10394
  var SegmentedControl = (0, import_react47.forwardRef)(
@@ -10476,10 +10400,10 @@ var SegmentedControl = (0, import_react47.forwardRef)(
10476
10400
  onSelectedValueChange,
10477
10401
  ...props
10478
10402
  }, ref) => {
10479
- if ((0, import_type_guards38.isNil)(children)) {
10403
+ if ((0, import_type_guards37.isNil)(children)) {
10480
10404
  return null;
10481
10405
  }
10482
- return /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(
10406
+ return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(
10483
10407
  StyledSegmentedControl,
10484
10408
  {
10485
10409
  ref,
@@ -10491,8 +10415,8 @@ var SegmentedControl = (0, import_react47.forwardRef)(
10491
10415
  type: "single",
10492
10416
  value: selectedValue,
10493
10417
  ...props,
10494
- children: /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime243.jsxs)(SelectedItemMeasurementsProvider, { children: [
10495
- /* @__PURE__ */ (0, import_jsx_runtime243.jsx)(SelectedItemIndicator, {}),
10418
+ children: /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime242.jsxs)(SelectedItemMeasurementsProvider, { children: [
10419
+ /* @__PURE__ */ (0, import_jsx_runtime242.jsx)(SelectedItemIndicator, {}),
10496
10420
  children
10497
10421
  ] }) })
10498
10422
  }
@@ -10503,27 +10427,27 @@ SegmentedControl.displayName = "SegmentedControl";
10503
10427
 
10504
10428
  // src/components/SegmentedControl/SegmentedControlItem.tsx
10505
10429
  var import_react48 = require("react");
10506
- var import_styled_components67 = __toESM(require("styled-components"));
10430
+ var import_styled_components66 = __toESM(require("styled-components"));
10507
10431
  var import_react_toggle_group2 = require("@radix-ui/react-toggle-group");
10508
- var import_type_guards40 = require("@wistia/type-guards");
10432
+ var import_type_guards39 = require("@wistia/type-guards");
10509
10433
 
10510
10434
  // src/private/helpers/mergeRefs/mergeRefs.ts
10511
- var import_type_guards39 = require("@wistia/type-guards");
10435
+ var import_type_guards38 = require("@wistia/type-guards");
10512
10436
  var mergeRefs = (refs) => (value) => {
10513
10437
  refs.forEach((ref) => {
10514
- if ((0, import_type_guards39.isFunction)(ref)) {
10438
+ if ((0, import_type_guards38.isFunction)(ref)) {
10515
10439
  ref(value);
10516
10440
  return;
10517
10441
  }
10518
- if ((0, import_type_guards39.isNotNil)(ref)) {
10442
+ if ((0, import_type_guards38.isNotNil)(ref)) {
10519
10443
  ref.current = value;
10520
10444
  }
10521
10445
  });
10522
10446
  };
10523
10447
 
10524
10448
  // src/components/SegmentedControl/SegmentedControlItem.tsx
10525
- var import_jsx_runtime244 = require("react/jsx-runtime");
10526
- var segmentedControlItemStyles = import_styled_components67.css`
10449
+ var import_jsx_runtime243 = require("react/jsx-runtime");
10450
+ var segmentedControlItemStyles = import_styled_components66.css`
10527
10451
  all: unset; /* ToggleGroupItem is a button element */
10528
10452
  align-items: center;
10529
10453
  border-radius: var(--wui-border-radius-rounded);
@@ -10582,7 +10506,7 @@ var segmentedControlItemStyles = import_styled_components67.css`
10582
10506
  }
10583
10507
  }
10584
10508
  `;
10585
- var StyledSegmentedControlItem = (0, import_styled_components67.default)(import_react_toggle_group2.Item)`
10509
+ var StyledSegmentedControlItem = (0, import_styled_components66.default)(import_react_toggle_group2.Item)`
10586
10510
  ${segmentedControlItemStyles}
10587
10511
  `;
10588
10512
  var SegmentedControlItem = (0, import_react48.forwardRef)(
@@ -10623,12 +10547,12 @@ var SegmentedControlItem = (0, import_react48.forwardRef)(
10623
10547
  resizeObserver.disconnect();
10624
10548
  };
10625
10549
  }, [selectedValue, setSelectedItemMeasurements, value]);
10626
- return /* @__PURE__ */ (0, import_jsx_runtime244.jsxs)(
10550
+ return /* @__PURE__ */ (0, import_jsx_runtime243.jsxs)(
10627
10551
  StyledSegmentedControlItem,
10628
10552
  {
10629
10553
  ref: combinedRef,
10630
- $hasLabel: (0, import_type_guards40.isNotNil)(label),
10631
- "aria-label": (0, import_type_guards40.isNotNil)(label) ? void 0 : ariaLabel,
10554
+ $hasLabel: (0, import_type_guards39.isNotNil)(label),
10555
+ "aria-label": (0, import_type_guards39.isNotNil)(label) ? void 0 : ariaLabel,
10632
10556
  disabled,
10633
10557
  onClick: handleClick,
10634
10558
  value,
@@ -10645,9 +10569,9 @@ SegmentedControlItem.displayName = "SegmentedControlItem";
10645
10569
  // src/components/Select/Select.tsx
10646
10570
  var import_react_select = require("@radix-ui/react-select");
10647
10571
  var import_react49 = require("react");
10648
- var import_styled_components68 = __toESM(require("styled-components"));
10649
- var import_jsx_runtime245 = require("react/jsx-runtime");
10650
- var StyledTrigger = (0, import_styled_components68.default)(import_react_select.Trigger)`
10572
+ var import_styled_components67 = __toESM(require("styled-components"));
10573
+ var import_jsx_runtime244 = require("react/jsx-runtime");
10574
+ var StyledTrigger = (0, import_styled_components67.default)(import_react_select.Trigger)`
10651
10575
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
10652
10576
  --wui-select-color-bg: var(--wui-color-bg-surface);
10653
10577
  --wui-select-color-bg-disabled: var(--wui-color-bg-surface-disabled);
@@ -10695,7 +10619,7 @@ var StyledTrigger = (0, import_styled_components68.default)(import_react_select.
10695
10619
  background-color: var(--wui-color-bg-surface-disabled);
10696
10620
  }
10697
10621
  `;
10698
- var StyledContent3 = (0, import_styled_components68.default)(import_react_select.Content)`
10622
+ var StyledContent3 = (0, import_styled_components67.default)(import_react_select.Content)`
10699
10623
  --wui-select-content-border: var(--wui-color-border);
10700
10624
  --wui-select-content-bg: var(--wui-color-bg-surface);
10701
10625
  --wui-select-content-border-radius: var(--wui-border-radius-02);
@@ -10723,13 +10647,13 @@ var Select = (0, import_react49.forwardRef)(
10723
10647
  ...props
10724
10648
  }, forwardedRef) => {
10725
10649
  const responsiveFullWidth = useResponsiveProp(fullWidth);
10726
- return /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(
10650
+ return /* @__PURE__ */ (0, import_jsx_runtime244.jsxs)(
10727
10651
  import_react_select.Root,
10728
10652
  {
10729
10653
  ...props,
10730
10654
  onValueChange: onChange,
10731
10655
  children: [
10732
- /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(
10656
+ /* @__PURE__ */ (0, import_jsx_runtime244.jsxs)(
10733
10657
  StyledTrigger,
10734
10658
  {
10735
10659
  ref: forwardedRef,
@@ -10737,8 +10661,8 @@ var Select = (0, import_react49.forwardRef)(
10737
10661
  $fullWidth: responsiveFullWidth,
10738
10662
  ...props,
10739
10663
  children: [
10740
- /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(import_react_select.Value, { placeholder }),
10741
- /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
10664
+ /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(import_react_select.Value, { placeholder }),
10665
+ /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(
10742
10666
  Icon,
10743
10667
  {
10744
10668
  size: "md",
@@ -10748,10 +10672,10 @@ var Select = (0, import_react49.forwardRef)(
10748
10672
  ]
10749
10673
  }
10750
10674
  ),
10751
- /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(StyledContent3, { position: "popper", children: [
10752
- /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(Icon, { type: "caret-up" }) }),
10753
- /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(import_react_select.Viewport, { children }),
10754
- /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(Icon, { type: "caret-down" }) })
10675
+ /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime244.jsxs)(StyledContent3, { position: "popper", children: [
10676
+ /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(Icon, { type: "caret-up" }) }),
10677
+ /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(import_react_select.Viewport, { children }),
10678
+ /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(Icon, { type: "caret-down" }) })
10755
10679
  ] }) })
10756
10680
  ]
10757
10681
  }
@@ -10763,9 +10687,9 @@ Select.displayName = "Select";
10763
10687
  // src/components/Select/SelectOption.tsx
10764
10688
  var import_react_select2 = require("@radix-ui/react-select");
10765
10689
  var import_react50 = require("react");
10766
- var import_styled_components69 = __toESM(require("styled-components"));
10767
- var import_jsx_runtime246 = require("react/jsx-runtime");
10768
- var StyledItem = (0, import_styled_components69.default)(import_react_select2.Item)`
10690
+ var import_styled_components68 = __toESM(require("styled-components"));
10691
+ var import_jsx_runtime245 = require("react/jsx-runtime");
10692
+ var StyledItem = (0, import_styled_components68.default)(import_react_select2.Item)`
10769
10693
  ${variantStyleMap2.body3};
10770
10694
  display: flex;
10771
10695
  padding: var(--wui-select-option-padding);
@@ -10788,25 +10712,25 @@ var StyledItem = (0, import_styled_components69.default)(import_react_select2.It
10788
10712
  background-color: transparent;
10789
10713
  }
10790
10714
  `;
10791
- var StyledIconContainer = import_styled_components69.default.span`
10715
+ var StyledIconContainer = import_styled_components68.default.span`
10792
10716
  width: 12px;
10793
10717
  `;
10794
10718
  var SelectOption = (0, import_react50.forwardRef)(
10795
10719
  ({ children, ...props }, forwardedRef) => {
10796
- return /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(
10720
+ return /* @__PURE__ */ (0, import_jsx_runtime245.jsxs)(
10797
10721
  StyledItem,
10798
10722
  {
10799
10723
  ...props,
10800
10724
  ref: forwardedRef,
10801
10725
  children: [
10802
- /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(StyledIconContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
10726
+ /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(StyledIconContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(
10803
10727
  Icon,
10804
10728
  {
10805
10729
  size: "sm",
10806
10730
  type: "checkmark"
10807
10731
  }
10808
10732
  ) }) }),
10809
- /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(import_react_select2.ItemText, { children })
10733
+ /* @__PURE__ */ (0, import_jsx_runtime245.jsx)(import_react_select2.ItemText, { children })
10810
10734
  ]
10811
10735
  }
10812
10736
  );
@@ -10816,14 +10740,14 @@ SelectOption.displayName = "Option";
10816
10740
 
10817
10741
  // src/components/Select/SelectOptionGroup.tsx
10818
10742
  var import_react_select3 = require("@radix-ui/react-select");
10819
- var import_styled_components70 = __toESM(require("styled-components"));
10820
- var import_jsx_runtime247 = require("react/jsx-runtime");
10821
- var StyledLabel4 = (0, import_styled_components70.default)(import_react_select3.Label)`
10743
+ var import_styled_components69 = __toESM(require("styled-components"));
10744
+ var import_jsx_runtime246 = require("react/jsx-runtime");
10745
+ var StyledLabel4 = (0, import_styled_components69.default)(import_react_select3.Label)`
10822
10746
  padding: var(--wui-select-option-padding);
10823
10747
  `;
10824
10748
  var SelectOptionGroup = ({ children, label, ...props }) => {
10825
- return /* @__PURE__ */ (0, import_jsx_runtime247.jsxs)(import_react_select3.Group, { ...props, children: [
10826
- /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
10749
+ return /* @__PURE__ */ (0, import_jsx_runtime246.jsxs)(import_react_select3.Group, { ...props, children: [
10750
+ /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime246.jsx)(
10827
10751
  Text,
10828
10752
  {
10829
10753
  prominence: "secondary",
@@ -10837,19 +10761,19 @@ var SelectOptionGroup = ({ children, label, ...props }) => {
10837
10761
 
10838
10762
  // src/components/Table/Table.tsx
10839
10763
  var import_react52 = require("react");
10840
- var import_styled_components71 = __toESM(require("styled-components"));
10764
+ var import_styled_components70 = __toESM(require("styled-components"));
10841
10765
 
10842
10766
  // src/components/Table/TableContext.tsx
10843
10767
  var import_react51 = __toESM(require("react"));
10844
10768
  var TableContext = import_react51.default.createContext({ divided: false });
10845
10769
 
10846
10770
  // src/components/Table/Table.tsx
10847
- var import_jsx_runtime248 = require("react/jsx-runtime");
10848
- var StyledTable = import_styled_components71.default.table`
10771
+ var import_jsx_runtime247 = require("react/jsx-runtime");
10772
+ var StyledTable = import_styled_components70.default.table`
10849
10773
  width: 100%;
10850
10774
  border-collapse: collapse;
10851
10775
 
10852
- ${({ $striped }) => $striped && import_styled_components71.css`
10776
+ ${({ $striped }) => $striped && import_styled_components70.css`
10853
10777
  tbody tr:nth-child(even) {
10854
10778
  background-color: var(--wui-color-bg-surface-secondary);
10855
10779
  }
@@ -10862,7 +10786,7 @@ var Table = ({
10862
10786
  ...props
10863
10787
  }) => {
10864
10788
  const contextValue = (0, import_react52.useMemo)(() => ({ divided }), [divided]);
10865
- return /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(TableContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(
10789
+ return /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(TableContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime247.jsx)(
10866
10790
  StyledTable,
10867
10791
  {
10868
10792
  $striped: striped,
@@ -10873,35 +10797,35 @@ var Table = ({
10873
10797
  };
10874
10798
 
10875
10799
  // src/components/Table/TableBody.tsx
10876
- var import_styled_components72 = __toESM(require("styled-components"));
10800
+ var import_styled_components71 = __toESM(require("styled-components"));
10877
10801
 
10878
10802
  // src/components/Table/TableSectionContext.ts
10879
10803
  var import_react53 = require("react");
10880
10804
  var TableSectionContext = (0, import_react53.createContext)(null);
10881
10805
 
10882
10806
  // src/components/Table/TableBody.tsx
10883
- var import_jsx_runtime249 = require("react/jsx-runtime");
10884
- var StyledTbody = import_styled_components72.default.tbody``;
10807
+ var import_jsx_runtime248 = require("react/jsx-runtime");
10808
+ var StyledTbody = import_styled_components71.default.tbody``;
10885
10809
  var TableBody = ({ children, ...props }) => {
10886
- return /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(StyledTbody, { ...props, children }) });
10810
+ return /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(TableSectionContext.Provider, { value: "body", children: /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(StyledTbody, { ...props, children }) });
10887
10811
  };
10888
10812
 
10889
10813
  // src/components/Table/TableCell.tsx
10890
10814
  var import_react54 = require("react");
10891
- var import_styled_components73 = __toESM(require("styled-components"));
10892
- var import_jsx_runtime250 = require("react/jsx-runtime");
10893
- var sharedStyles = import_styled_components73.css`
10815
+ var import_styled_components72 = __toESM(require("styled-components"));
10816
+ var import_jsx_runtime249 = require("react/jsx-runtime");
10817
+ var sharedStyles = import_styled_components72.css`
10894
10818
  color: var(--wui-color-text);
10895
10819
  padding: var(--wui-space-02);
10896
10820
  text-align: left;
10897
10821
  `;
10898
- var StyledTh = import_styled_components73.default.th`
10822
+ var StyledTh = import_styled_components72.default.th`
10899
10823
  ${sharedStyles}
10900
10824
  font-size: var(--wui-typography-body-4-size);
10901
10825
  font-weight: var(--wui-typography-weight-label-bold);
10902
10826
  line-height: var(--wui-typography-body-4-line-height);
10903
10827
  `;
10904
- var StyledTd = import_styled_components73.default.td`
10828
+ var StyledTd = import_styled_components72.default.td`
10905
10829
  ${sharedStyles}
10906
10830
  font-size: var(--wui-typography-body-2-size);
10907
10831
  font-weight: var(--wui-typography-body-2-weight);
@@ -10910,37 +10834,37 @@ var StyledTd = import_styled_components73.default.td`
10910
10834
  var TableCell = ({ children, ...props }) => {
10911
10835
  const section = (0, import_react54.useContext)(TableSectionContext);
10912
10836
  if (section === "head") {
10913
- return /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(StyledTh, { ...props, children });
10837
+ return /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(StyledTh, { ...props, children });
10914
10838
  }
10915
- return /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(StyledTd, { ...props, children });
10839
+ return /* @__PURE__ */ (0, import_jsx_runtime249.jsx)(StyledTd, { ...props, children });
10916
10840
  };
10917
10841
 
10918
10842
  // src/components/Table/TableFooter.tsx
10919
- var import_styled_components74 = __toESM(require("styled-components"));
10920
- var import_jsx_runtime251 = require("react/jsx-runtime");
10921
- var StyledTfoot = import_styled_components74.default.tfoot``;
10843
+ var import_styled_components73 = __toESM(require("styled-components"));
10844
+ var import_jsx_runtime250 = require("react/jsx-runtime");
10845
+ var StyledTfoot = import_styled_components73.default.tfoot``;
10922
10846
  var TableFooter = ({ children, ...props }) => {
10923
- return /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(StyledTfoot, { ...props, children }) });
10847
+ return /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(TableSectionContext.Provider, { value: "footer", children: /* @__PURE__ */ (0, import_jsx_runtime250.jsx)(StyledTfoot, { ...props, children }) });
10924
10848
  };
10925
10849
 
10926
10850
  // src/components/Table/TableHead.tsx
10927
- var import_styled_components75 = __toESM(require("styled-components"));
10928
- var import_jsx_runtime252 = require("react/jsx-runtime");
10929
- var StyledThead = import_styled_components75.default.thead``;
10851
+ var import_styled_components74 = __toESM(require("styled-components"));
10852
+ var import_jsx_runtime251 = require("react/jsx-runtime");
10853
+ var StyledThead = import_styled_components74.default.thead``;
10930
10854
  var TableHead = ({ children, ...props }) => {
10931
- return /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(StyledThead, { ...props, children }) });
10855
+ return /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(TableSectionContext.Provider, { value: "head", children: /* @__PURE__ */ (0, import_jsx_runtime251.jsx)(StyledThead, { ...props, children }) });
10932
10856
  };
10933
10857
 
10934
10858
  // src/components/Table/TableRow.tsx
10935
10859
  var import_react55 = require("react");
10936
- var import_styled_components76 = __toESM(require("styled-components"));
10937
- var import_jsx_runtime253 = require("react/jsx-runtime");
10938
- var StyledTr = import_styled_components76.default.tr`
10860
+ var import_styled_components75 = __toESM(require("styled-components"));
10861
+ var import_jsx_runtime252 = require("react/jsx-runtime");
10862
+ var StyledTr = import_styled_components75.default.tr`
10939
10863
  ${({ $divided }) => $divided && `border-bottom: 1px solid var(--wui-color-border);`}
10940
10864
  `;
10941
10865
  var TableRow = ({ children, ...props }) => {
10942
10866
  const { divided = false } = (0, import_react55.useContext)(TableContext);
10943
- return /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
10867
+ return /* @__PURE__ */ (0, import_jsx_runtime252.jsx)(
10944
10868
  StyledTr,
10945
10869
  {
10946
10870
  $divided: divided,
@@ -10953,19 +10877,19 @@ var TableRow = ({ children, ...props }) => {
10953
10877
  // src/components/Tabs/Tabs.tsx
10954
10878
  var import_react60 = require("react");
10955
10879
  var import_react_tabs4 = require("@radix-ui/react-tabs");
10956
- var import_type_guards42 = require("@wistia/type-guards");
10957
- var import_styled_components81 = __toESM(require("styled-components"));
10880
+ var import_type_guards41 = require("@wistia/type-guards");
10881
+ var import_styled_components80 = __toESM(require("styled-components"));
10958
10882
 
10959
10883
  // src/components/Tabs/TabPanel.tsx
10960
- var import_styled_components77 = __toESM(require("styled-components"));
10884
+ var import_styled_components76 = __toESM(require("styled-components"));
10961
10885
  var import_react_tabs = require("@radix-ui/react-tabs");
10962
- var import_jsx_runtime254 = require("react/jsx-runtime");
10963
- var StyledTabPanel = (0, import_styled_components77.default)(import_react_tabs.Content)`
10886
+ var import_jsx_runtime253 = require("react/jsx-runtime");
10887
+ var StyledTabPanel = (0, import_styled_components76.default)(import_react_tabs.Content)`
10964
10888
  display: flex;
10965
10889
  flex-direction: column;
10966
10890
  `;
10967
10891
  var TabPanel = ({ children, value, ...props }) => {
10968
- return /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
10892
+ return /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(
10969
10893
  StyledTabPanel,
10970
10894
  {
10971
10895
  value,
@@ -10977,10 +10901,10 @@ var TabPanel = ({ children, value, ...props }) => {
10977
10901
  TabPanel.displayName = "TabPanel";
10978
10902
 
10979
10903
  // src/components/Tabs/TabList.tsx
10980
- var import_styled_components78 = __toESM(require("styled-components"));
10904
+ var import_styled_components77 = __toESM(require("styled-components"));
10981
10905
  var import_react_tabs2 = require("@radix-ui/react-tabs");
10982
- var import_jsx_runtime255 = require("react/jsx-runtime");
10983
- var StyledTabList = (0, import_styled_components78.default)(import_react_tabs2.List)`
10906
+ var import_jsx_runtime254 = require("react/jsx-runtime");
10907
+ var StyledTabList = (0, import_styled_components77.default)(import_react_tabs2.List)`
10984
10908
  ${segmentedControlStyles}
10985
10909
 
10986
10910
  margin-bottom: var(--wui-space-04);
@@ -10993,7 +10917,7 @@ var TabList = ({
10993
10917
  ariaLabel,
10994
10918
  ...props
10995
10919
  }) => {
10996
- return /* @__PURE__ */ (0, import_jsx_runtime255.jsx)(
10920
+ return /* @__PURE__ */ (0, import_jsx_runtime254.jsx)(
10997
10921
  StyledTabList,
10998
10922
  {
10999
10923
  $fullWidth: fullWidth,
@@ -11007,9 +10931,9 @@ TabList.displayName = "TabList";
11007
10931
 
11008
10932
  // src/components/Tabs/TabItem.tsx
11009
10933
  var import_react57 = require("react");
11010
- var import_styled_components79 = __toESM(require("styled-components"));
10934
+ var import_styled_components78 = __toESM(require("styled-components"));
11011
10935
  var import_react_tabs3 = require("@radix-ui/react-tabs");
11012
- var import_type_guards41 = require("@wistia/type-guards");
10936
+ var import_type_guards40 = require("@wistia/type-guards");
11013
10937
 
11014
10938
  // src/components/Tabs/useTabsValue.tsx
11015
10939
  var import_react56 = require("react");
@@ -11024,8 +10948,8 @@ var useTabsValue = () => {
11024
10948
  };
11025
10949
 
11026
10950
  // src/components/Tabs/TabItem.tsx
11027
- var import_jsx_runtime256 = require("react/jsx-runtime");
11028
- var StyledTabItem = (0, import_styled_components79.default)(import_react_tabs3.Trigger)`
10951
+ var import_jsx_runtime255 = require("react/jsx-runtime");
10952
+ var StyledTabItem = (0, import_styled_components78.default)(import_react_tabs3.Trigger)`
11029
10953
  ${segmentedControlItemStyles}
11030
10954
 
11031
10955
  &:focus-visible {
@@ -11063,12 +10987,12 @@ var TabItem = (0, import_react57.forwardRef)(
11063
10987
  resizeObserver.disconnect();
11064
10988
  };
11065
10989
  }, [selectedValue, setSelectedItemMeasurements, value]);
11066
- return /* @__PURE__ */ (0, import_jsx_runtime256.jsxs)(
10990
+ return /* @__PURE__ */ (0, import_jsx_runtime255.jsxs)(
11067
10991
  StyledTabItem,
11068
10992
  {
11069
10993
  ref: combinedRef,
11070
- $hasLabel: (0, import_type_guards41.isNotNil)(label),
11071
- "aria-label": (0, import_type_guards41.isNotNil)(label) ? void 0 : ariaLabel,
10994
+ $hasLabel: (0, import_type_guards40.isNotNil)(label),
10995
+ "aria-label": (0, import_type_guards40.isNotNil)(label) ? void 0 : ariaLabel,
11072
10996
  disabled,
11073
10997
  value,
11074
10998
  children: [
@@ -11105,9 +11029,9 @@ var extractTabItems = (children) => {
11105
11029
 
11106
11030
  // src/components/Tabs/SelectedItemIndicator.tsx
11107
11031
  var import_react59 = require("react");
11108
- var import_styled_components80 = __toESM(require("styled-components"));
11109
- var import_jsx_runtime257 = require("react/jsx-runtime");
11110
- var TabsSelectedItemIndicatorDiv = (0, import_styled_components80.default)(SelectedItemIndicatorDiv)`
11032
+ var import_styled_components79 = __toESM(require("styled-components"));
11033
+ var import_jsx_runtime256 = require("react/jsx-runtime");
11034
+ var TabsSelectedItemIndicatorDiv = (0, import_styled_components79.default)(SelectedItemIndicatorDiv)`
11111
11035
  &:has(~ ${StyledTabItem}:focus-visible) {
11112
11036
  outline: 2px solid var(--wui-color-focus-ring);
11113
11037
  }
@@ -11126,7 +11050,7 @@ var SelectedItemIndicator2 = () => {
11126
11050
  if (selectedValue == null) {
11127
11051
  return null;
11128
11052
  }
11129
- return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
11053
+ return /* @__PURE__ */ (0, import_jsx_runtime256.jsx)(
11130
11054
  TabsSelectedItemIndicatorDiv,
11131
11055
  {
11132
11056
  style: {
@@ -11139,19 +11063,19 @@ var SelectedItemIndicator2 = () => {
11139
11063
  };
11140
11064
 
11141
11065
  // src/components/Tabs/Tabs.tsx
11142
- var import_jsx_runtime258 = require("react/jsx-runtime");
11143
- var TabsContainer = import_styled_components81.default.div`
11066
+ var import_jsx_runtime257 = require("react/jsx-runtime");
11067
+ var TabsContainer = import_styled_components80.default.div`
11144
11068
  display: flex;
11145
11069
  flex-direction: column;
11146
11070
  height: ${({ $stickyHeaders }) => $stickyHeaders ? "100%" : "auto"};
11147
11071
  overflow: ${({ $stickyHeaders }) => $stickyHeaders ? "hidden" : "visible"};
11148
11072
  `;
11149
- var StickyTabContent = import_styled_components81.default.div`
11073
+ var StickyTabContent = import_styled_components80.default.div`
11150
11074
  flex: ${({ $stickyHeaders }) => $stickyHeaders ? "1" : "initial"};
11151
11075
  overflow-y: ${({ $stickyHeaders }) => $stickyHeaders ? "auto" : "visible"};
11152
11076
  overflow-x: ${({ $stickyHeaders }) => $stickyHeaders ? "hidden" : "visible"};
11153
11077
  `;
11154
- var StyledTabsRoot = (0, import_styled_components81.default)(import_react_tabs4.Root)`
11078
+ var StyledTabsRoot = (0, import_styled_components80.default)(import_react_tabs4.Root)`
11155
11079
  display: flex;
11156
11080
  flex-direction: column;
11157
11081
  height: ${({ $stickyHeaders }) => $stickyHeaders ? "100%" : "auto"};
@@ -11174,7 +11098,7 @@ var Tabs = (0, import_react60.forwardRef)(
11174
11098
  onValueChange: setInternalSelectedValue
11175
11099
  } : { value: selectedValue, onValueChange: onSelectedValueChange };
11176
11100
  const currentValue = defaultSelectedValue !== void 0 ? internalSelectedValue : selectedValue;
11177
- return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(TabsContainer, { $stickyHeaders: stickyHeaders, children: /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
11101
+ return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(TabsContainer, { $stickyHeaders: stickyHeaders, children: /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
11178
11102
  StyledTabsRoot,
11179
11103
  {
11180
11104
  ref,
@@ -11182,14 +11106,14 @@ var Tabs = (0, import_react60.forwardRef)(
11182
11106
  activationMode: "automatic",
11183
11107
  ...otherProps,
11184
11108
  ...modeProps,
11185
- children: /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(TabsValueProvider, { value: currentValue, children: /* @__PURE__ */ (0, import_jsx_runtime258.jsxs)(SelectedItemMeasurementsProvider, { children: [
11186
- /* @__PURE__ */ (0, import_jsx_runtime258.jsxs)(
11109
+ children: /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(TabsValueProvider, { value: currentValue, children: /* @__PURE__ */ (0, import_jsx_runtime257.jsxs)(SelectedItemMeasurementsProvider, { children: [
11110
+ /* @__PURE__ */ (0, import_jsx_runtime257.jsxs)(
11187
11111
  TabList,
11188
11112
  {
11189
11113
  ariaLabel,
11190
11114
  fullWidth,
11191
11115
  children: [
11192
- /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(SelectedItemIndicator2, {}),
11116
+ /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(SelectedItemIndicator2, {}),
11193
11117
  tabItems.map((tab) => {
11194
11118
  const {
11195
11119
  value,
@@ -11198,8 +11122,8 @@ var Tabs = (0, import_react60.forwardRef)(
11198
11122
  label,
11199
11123
  "aria-label": ariaLabelForTab
11200
11124
  } = tab.props;
11201
- if ((0, import_type_guards42.isNil)(icon)) {
11202
- return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
11125
+ if ((0, import_type_guards41.isNil)(icon)) {
11126
+ return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
11203
11127
  TabItem,
11204
11128
  {
11205
11129
  disabled,
@@ -11209,8 +11133,8 @@ var Tabs = (0, import_react60.forwardRef)(
11209
11133
  value
11210
11134
  );
11211
11135
  }
11212
- if ((0, import_type_guards42.isNotNil)(label)) {
11213
- return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
11136
+ if ((0, import_type_guards41.isNotNil)(label)) {
11137
+ return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
11214
11138
  TabItem,
11215
11139
  {
11216
11140
  disabled,
@@ -11221,8 +11145,8 @@ var Tabs = (0, import_react60.forwardRef)(
11221
11145
  value
11222
11146
  );
11223
11147
  }
11224
- if ((0, import_type_guards42.isNotNil)(ariaLabelForTab)) {
11225
- return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
11148
+ if ((0, import_type_guards41.isNotNil)(ariaLabelForTab)) {
11149
+ return /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
11226
11150
  TabItem,
11227
11151
  {
11228
11152
  "aria-label": ariaLabelForTab,
@@ -11238,7 +11162,7 @@ var Tabs = (0, import_react60.forwardRef)(
11238
11162
  ]
11239
11163
  }
11240
11164
  ),
11241
- /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(StickyTabContent, { $stickyHeaders: stickyHeaders, children: tabItems.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime258.jsx)(
11165
+ /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(StickyTabContent, { $stickyHeaders: stickyHeaders, children: tabItems.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime257.jsx)(
11242
11166
  TabPanel,
11243
11167
  {
11244
11168
  value: tab.props.value,
@@ -11255,18 +11179,18 @@ Tabs.displayName = "Tabs";
11255
11179
 
11256
11180
  // src/components/Tabs/Tab.tsx
11257
11181
  var import_react61 = require("react");
11258
- var import_jsx_runtime259 = require("react/jsx-runtime");
11182
+ var import_jsx_runtime258 = require("react/jsx-runtime");
11259
11183
  var Tab = (0, import_react61.forwardRef)(({ children }, ref) => {
11260
- return /* @__PURE__ */ (0, import_jsx_runtime259.jsx)("div", { ref, children });
11184
+ return /* @__PURE__ */ (0, import_jsx_runtime258.jsx)("div", { ref, children });
11261
11185
  });
11262
11186
  Tab.displayName = "Tab";
11263
11187
 
11264
11188
  // src/components/Tag/Tag.tsx
11265
11189
  var import_react62 = require("react");
11266
- var import_styled_components82 = __toESM(require("styled-components"));
11267
- var import_type_guards43 = require("@wistia/type-guards");
11268
- var import_jsx_runtime260 = require("react/jsx-runtime");
11269
- var TagLabel = import_styled_components82.default.a`
11190
+ var import_styled_components81 = __toESM(require("styled-components"));
11191
+ var import_type_guards42 = require("@wistia/type-guards");
11192
+ var import_jsx_runtime259 = require("react/jsx-runtime");
11193
+ var TagLabel = import_styled_components81.default.a`
11270
11194
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11271
11195
  font-size: var(--wui-typography-label-4-size);
11272
11196
  font-weight: var(--wui-typography-label-4-weight);
@@ -11294,14 +11218,14 @@ var TagLabel = import_styled_components82.default.a`
11294
11218
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
11295
11219
  }
11296
11220
  `;
11297
- var TagDivider = import_styled_components82.default.div`
11221
+ var TagDivider = import_styled_components81.default.div`
11298
11222
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11299
11223
  border-left: 1px solid var(--wui-color-border);
11300
11224
  display: flex;
11301
11225
  height: 14px;
11302
11226
  width: 1px;
11303
11227
  `;
11304
- var StyledRemoveButton = import_styled_components82.default.button`
11228
+ var StyledRemoveButton = import_styled_components81.default.button`
11305
11229
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11306
11230
  all: unset;
11307
11231
  cursor: pointer;
@@ -11329,7 +11253,7 @@ var StyledRemoveButton = import_styled_components82.default.button`
11329
11253
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
11330
11254
  }
11331
11255
  `;
11332
- var StyledTag = import_styled_components82.default.div`
11256
+ var StyledTag = import_styled_components81.default.div`
11333
11257
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
11334
11258
  align-items: center;
11335
11259
  background-color: var(--wui-color-bg-surface-secondary);
@@ -11342,31 +11266,31 @@ var StyledTag = import_styled_components82.default.div`
11342
11266
  }
11343
11267
  `;
11344
11268
  var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
11345
- if ((0, import_type_guards43.isNil)(onClickRemove)) {
11269
+ if ((0, import_type_guards42.isNil)(onClickRemove)) {
11346
11270
  return null;
11347
11271
  }
11348
- if ((0, import_type_guards43.isNil)(onClickRemoveLabel)) {
11272
+ if ((0, import_type_guards42.isNil)(onClickRemoveLabel)) {
11349
11273
  throw new Error(
11350
11274
  "for accessibility, onClickRemoveLabel must be provided if onClickRemove is provided"
11351
11275
  );
11352
11276
  }
11353
- return /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(import_jsx_runtime260.Fragment, { children: [
11354
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(TagDivider, { $colorScheme: colorScheme }),
11355
- /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(
11277
+ return /* @__PURE__ */ (0, import_jsx_runtime259.jsxs)(import_jsx_runtime259.Fragment, { children: [
11278
+ /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(TagDivider, { $colorScheme: colorScheme }),
11279
+ /* @__PURE__ */ (0, import_jsx_runtime259.jsxs)(
11356
11280
  StyledRemoveButton,
11357
11281
  {
11358
11282
  $colorScheme: colorScheme,
11359
11283
  onClick: onClickRemove,
11360
11284
  type: "button",
11361
11285
  children: [
11362
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
11286
+ /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
11363
11287
  Icon,
11364
11288
  {
11365
11289
  size: "sm",
11366
11290
  type: "close"
11367
11291
  }
11368
11292
  ),
11369
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(ScreenReaderOnly, { children: onClickRemoveLabel })
11293
+ /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(ScreenReaderOnly, { children: onClickRemoveLabel })
11370
11294
  ]
11371
11295
  }
11372
11296
  )
@@ -11374,15 +11298,15 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
11374
11298
  };
11375
11299
  var Tag = (0, import_react62.forwardRef)(
11376
11300
  ({ onClickRemove, colorScheme = "inherit", href, label, onClickRemoveLabel, ...otherProps }, ref) => {
11377
- const labelProps = (0, import_type_guards43.isNotNil)(href) && (0, import_type_guards43.isNonEmptyString)(href) ? { href, as: "a" } : { as: "span" };
11378
- return /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(
11301
+ const labelProps = (0, import_type_guards42.isNotNil)(href) && (0, import_type_guards42.isNonEmptyString)(href) ? { href, as: "a" } : { as: "span" };
11302
+ return /* @__PURE__ */ (0, import_jsx_runtime259.jsxs)(
11379
11303
  StyledTag,
11380
11304
  {
11381
11305
  ref,
11382
11306
  $colorScheme: colorScheme,
11383
11307
  ...otherProps,
11384
11308
  children: [
11385
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
11309
+ /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
11386
11310
  TagLabel,
11387
11311
  {
11388
11312
  ...labelProps,
@@ -11390,7 +11314,7 @@ var Tag = (0, import_react62.forwardRef)(
11390
11314
  children: label
11391
11315
  }
11392
11316
  ),
11393
- /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
11317
+ /* @__PURE__ */ (0, import_jsx_runtime259.jsx)(
11394
11318
  RemoveButton,
11395
11319
  {
11396
11320
  colorScheme,
@@ -11406,26 +11330,26 @@ var Tag = (0, import_react62.forwardRef)(
11406
11330
  Tag.displayName = "Tag";
11407
11331
 
11408
11332
  // src/components/WistiaLogo/WistiaLogo.tsx
11409
- var import_styled_components83 = __toESM(require("styled-components"));
11410
- var import_type_guards44 = require("@wistia/type-guards");
11411
- var import_jsx_runtime261 = require("react/jsx-runtime");
11333
+ var import_styled_components82 = __toESM(require("styled-components"));
11334
+ var import_type_guards43 = require("@wistia/type-guards");
11335
+ var import_jsx_runtime260 = require("react/jsx-runtime");
11412
11336
  var renderBrandmark = (brandmarkColor, iconOnly) => {
11413
11337
  if (iconOnly) {
11414
- return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
11338
+ return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
11415
11339
  "g",
11416
11340
  {
11417
11341
  "data-testid": "ui-wistia-logo-brandmark",
11418
11342
  fill: brandmarkColor,
11419
- children: /* @__PURE__ */ (0, import_jsx_runtime261.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" })
11343
+ children: /* @__PURE__ */ (0, import_jsx_runtime260.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" })
11420
11344
  }
11421
11345
  );
11422
11346
  }
11423
- return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
11347
+ return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
11424
11348
  "g",
11425
11349
  {
11426
11350
  "data-testid": "ui-wistia-logo-brandmark",
11427
11351
  fill: brandmarkColor,
11428
- children: /* @__PURE__ */ (0, import_jsx_runtime261.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" })
11352
+ children: /* @__PURE__ */ (0, import_jsx_runtime260.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" })
11429
11353
  }
11430
11354
  );
11431
11355
  };
@@ -11433,12 +11357,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
11433
11357
  if (iconOnly) {
11434
11358
  return null;
11435
11359
  }
11436
- return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
11360
+ return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
11437
11361
  "g",
11438
11362
  {
11439
11363
  "data-testid": "ui-wistia-logo-logotype",
11440
11364
  fill: logotypeColor,
11441
- children: /* @__PURE__ */ (0, import_jsx_runtime261.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" })
11365
+ children: /* @__PURE__ */ (0, import_jsx_runtime260.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" })
11442
11366
  }
11443
11367
  );
11444
11368
  };
@@ -11448,7 +11372,7 @@ var computedViewBox = (iconOnly) => {
11448
11372
  }
11449
11373
  return "0 0 144 31.47";
11450
11374
  };
11451
- var WistiaLogoComponent = import_styled_components83.default.svg`
11375
+ var WistiaLogoComponent = import_styled_components82.default.svg`
11452
11376
  height: ${({ height }) => `${height}px`};
11453
11377
 
11454
11378
  /* ensure it will always fit on mobile */
@@ -11464,12 +11388,12 @@ var WistiaLogoComponent = import_styled_components83.default.svg`
11464
11388
  ${({ $opticallyCentered, $iconOnly }) => {
11465
11389
  if ($opticallyCentered) {
11466
11390
  if ($iconOnly) {
11467
- return import_styled_components83.css`
11391
+ return import_styled_components82.css`
11468
11392
  aspect-ratio: 1;
11469
11393
  padding: 11.85% 3.12% 13.91%;
11470
11394
  `;
11471
11395
  }
11472
- return import_styled_components83.css`
11396
+ return import_styled_components82.css`
11473
11397
  aspect-ratio: 127 / 32;
11474
11398
  `;
11475
11399
  }
@@ -11506,7 +11430,7 @@ var WistiaLogo = ({
11506
11430
  };
11507
11431
  const brandmarkColor = VARIANT_COLORS[variant].brandmark;
11508
11432
  const logotypeColor = VARIANT_COLORS[variant].logotype;
11509
- const Logo = /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(
11433
+ const Logo = /* @__PURE__ */ (0, import_jsx_runtime260.jsxs)(
11510
11434
  WistiaLogoComponent,
11511
11435
  {
11512
11436
  $hoverColor: hoverColor,
@@ -11519,14 +11443,14 @@ var WistiaLogo = ({
11519
11443
  xmlns: "http://www.w3.org/2000/svg",
11520
11444
  ...otherProps,
11521
11445
  children: [
11522
- /* @__PURE__ */ (0, import_jsx_runtime261.jsx)("title", { children: title }),
11523
- (0, import_type_guards44.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime261.jsx)("desc", { children: description }) : null,
11446
+ /* @__PURE__ */ (0, import_jsx_runtime260.jsx)("title", { children: title }),
11447
+ (0, import_type_guards43.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime260.jsx)("desc", { children: description }) : null,
11524
11448
  renderBrandmark(brandmarkColor, iconOnly),
11525
11449
  renderLogotype(logotypeColor, iconOnly)
11526
11450
  ]
11527
11451
  }
11528
11452
  );
11529
- return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime261.jsx)("a", { href, children: Logo }) : Logo;
11453
+ return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime260.jsx)("a", { href, children: Logo }) : Logo;
11530
11454
  };
11531
11455
  WistiaLogo.displayName = "WistiaLogo";
11532
11456
  // Annotate the CommonJS export names for ESM import in node:
@@ -11578,7 +11502,6 @@ WistiaLogo.displayName = "WistiaLogo";
11578
11502
  Modal,
11579
11503
  PersistentFileAmountLimitValidator,
11580
11504
  Popover,
11581
- ProgressBar,
11582
11505
  Radio,
11583
11506
  RadioGroup,
11584
11507
  RadioMenuItem,