@wistia/ui 0.5.7 → 0.6.0-beta.1ca5cd23.8077d2d

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.5.7
3
+ * @license @wistia/ui v0.6.0-beta.1ca5cd23.8077d2d
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -78,6 +78,7 @@ __export(index_exports, {
78
78
  MenuLabel: () => MenuLabel,
79
79
  MenuRadioGroup: () => MenuRadioGroup,
80
80
  Modal: () => Modal,
81
+ Popover: () => Popover,
81
82
  Radio: () => Radio,
82
83
  RadioGroup: () => RadioGroup,
83
84
  RadioMenuItem: () => RadioMenuItem,
@@ -6756,7 +6757,12 @@ var ButtonGroupComponent = import_styled_components28.default.div`
6756
6757
  display: flex;
6757
6758
 
6758
6759
  /* this helps ensure that primary buttons appear at the top of the column */
6759
- flex-direction: ${({ $align }) => $align === "right" ? "column-reverse" : "column"};
6760
+ flex-direction: ${({ $collapse, $align }) => {
6761
+ if (!$collapse) {
6762
+ return "row";
6763
+ }
6764
+ return $align === "right" ? "column-reverse" : "column";
6765
+ }};
6760
6766
  gap: var(--wui-space-02);
6761
6767
  align-items: center;
6762
6768
  justify-content: ${({ $align }) => getAlignment($align)};
@@ -6776,6 +6782,7 @@ var ButtonGroup = ({
6776
6782
  children,
6777
6783
  align = "left",
6778
6784
  fullWidth = false,
6785
+ collapseOnSmallScreens = true,
6779
6786
  ...otherProps
6780
6787
  }) => {
6781
6788
  if ((0, import_type_guards18.isNil)(children)) {
@@ -6785,6 +6792,7 @@ var ButtonGroup = ({
6785
6792
  ButtonGroupComponent,
6786
6793
  {
6787
6794
  $align: align,
6795
+ $collapse: collapseOnSmallScreens,
6788
6796
  $fullWidth: fullWidth,
6789
6797
  ...otherProps,
6790
6798
  children
@@ -8127,9 +8135,18 @@ var FormContext = (0, import_react25.createContext)({
8127
8135
  values: {},
8128
8136
  errors: {},
8129
8137
  hasSubmitted: false,
8130
- formId: ""
8138
+ formId: "",
8139
+ labelPosition: "block"
8131
8140
  });
8132
- var FormComponent = ({ children, action, values = {}, validate, fullWidth = false, ...props }, forwardedRef) => {
8141
+ var FormComponent = ({
8142
+ children,
8143
+ action,
8144
+ values = {},
8145
+ labelPosition = "block",
8146
+ validate,
8147
+ fullWidth = false,
8148
+ ...props
8149
+ }, forwardedRef) => {
8133
8150
  const [errors, setErrors] = (0, import_react25.useState)({});
8134
8151
  const [hasSubmitted, setHasSubmitted] = (0, import_react25.useState)(false);
8135
8152
  const innerRef = (0, import_react25.useRef)();
@@ -8181,19 +8198,20 @@ var FormComponent = ({ children, action, values = {}, validate, fullWidth = fals
8181
8198
  values,
8182
8199
  errors,
8183
8200
  hasSubmitted,
8184
- formId: id
8201
+ formId: id,
8202
+ labelPosition
8185
8203
  };
8186
- }, [values, errors, id, hasSubmitted]);
8204
+ }, [labelPosition, values, errors, id, hasSubmitted]);
8187
8205
  return (
8188
8206
  // @ts-expect-error - generic context providers are a giant pain
8189
8207
  /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(FormContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
8190
8208
  Stack,
8191
8209
  {
8192
- gap: "space-05",
8193
8210
  ...props,
8194
8211
  ref,
8195
8212
  $fullWidth: fullWidth,
8196
8213
  as: StyledForm,
8214
+ gap: "space-05",
8197
8215
  id,
8198
8216
  onBlur: handleBlur,
8199
8217
  onReset: handleReset,
@@ -8247,7 +8265,7 @@ var import_react27 = require("react");
8247
8265
  var import_type_guards27 = require("@wistia/type-guards");
8248
8266
  var import_jsx_runtime190 = require("react/jsx-runtime");
8249
8267
  var ErrorItem = ({ name, error, formId }) => {
8250
- return /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(Link, { href: `${formId}-${name}`, children: error }) }, name);
8268
+ return /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(Link, { href: `#${formId}-${name}`, children: error }) }, name);
8251
8269
  };
8252
8270
  var FormErrorSummary = ({ description }) => {
8253
8271
  const ref = (0, import_react27.useRef)(null);
@@ -8346,11 +8364,27 @@ CheckboxGroup.displayName = "CheckboxGroup";
8346
8364
  var import_jsx_runtime193 = require("react/jsx-runtime");
8347
8365
  var StyledFormField = import_styled_components48.default.div`
8348
8366
  --form-field-spacing: var(--wui-space-01);
8367
+ --form-field-spacing-inline: var(--wui-space-02);
8349
8368
  --form-field-error-color: var(--wui-color-text-secondary-error);
8350
8369
 
8351
- display: flex;
8352
- flex-direction: column;
8370
+ display: grid;
8353
8371
  gap: var(--form-field-spacing);
8372
+ justify-content: flex-start;
8373
+ align-items: center;
8374
+ grid-template-columns: auto 1fr;
8375
+ grid-template-rows: auto 1fr;
8376
+
8377
+ &[data-label-position='inline'] {
8378
+ gap: var(--form-field-spacing-inline);
8379
+ grid-template-columns: minmax(auto, 1fr) 1fr;
8380
+ grid-template-rows: 1fr auto;
8381
+ }
8382
+
8383
+ &[data-label-position='block'] {
8384
+ gap: var(--form-field-spacing);
8385
+ grid-template-columns: 1fr;
8386
+ grid-template-rows: 1fr;
8387
+ }
8354
8388
  `;
8355
8389
  var StyledErrorList = import_styled_components48.default.ul`
8356
8390
  margin: 0;
@@ -8390,18 +8424,20 @@ var FormField = ({
8390
8424
  name,
8391
8425
  error,
8392
8426
  value,
8427
+ labelPosition,
8428
+ id,
8393
8429
  ...props
8394
8430
  }) => {
8395
8431
  const formState = (0, import_react30.useContext)(FormContext);
8396
8432
  const checkboxGroup = (0, import_react30.useContext)(CheckboxGroupContext);
8397
- const id = props.id ?? `${formState.formId}-${name}`;
8398
- const isInlineLabel = children.type === Checkbox;
8433
+ const isIntegratedLabel = children.type === Checkbox;
8434
+ const computedId = id ?? `${formState.formId}-${name}`;
8399
8435
  const computedError = error ?? formState.errors[name];
8400
8436
  const defaultValue = formState.values[name];
8401
8437
  let childProps = {
8402
8438
  name,
8403
- id,
8404
- label: isInlineLabel ? label : void 0,
8439
+ id: computedId,
8440
+ label: isIntegratedLabel ? label : void 0,
8405
8441
  ...props
8406
8442
  };
8407
8443
  if ((0, import_type_guards28.isUndefined)(value) && (0, import_type_guards28.isNotUndefined)(defaultValue)) {
@@ -8425,21 +8461,31 @@ var FormField = ({
8425
8461
  name: computedName,
8426
8462
  onChange: handleChange,
8427
8463
  "aria-invalid": (0, import_type_guards28.isNotNil)(error),
8428
- "aria-describedby": (0, import_type_guards28.isNotNil)(error) ? `${id}-error` : void 0
8464
+ "aria-describedby": (0, import_type_guards28.isNotNil)(error) ? `${computedId}-error` : void 0
8429
8465
  };
8430
8466
  }
8431
8467
  import_react30.Children.only(children);
8432
- return /* @__PURE__ */ (0, import_jsx_runtime193.jsxs)(StyledFormField, { ...props, children: [
8433
- !isInlineLabel && /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(Label, { htmlFor: id, children: label }),
8434
- (0, import_react30.cloneElement)(children, childProps),
8435
- (0, import_type_guards28.isNotNil)(computedError) ? /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
8436
- ErrorMessages,
8437
- {
8438
- errors: computedError,
8439
- id: `${id}-error`
8440
- }
8441
- ) : null
8442
- ] });
8468
+ return /* @__PURE__ */ (0, import_jsx_runtime193.jsxs)(
8469
+ StyledFormField,
8470
+ {
8471
+ ...props,
8472
+ "data-label-position": labelPosition ?? formState.labelPosition,
8473
+ children: [
8474
+ !isIntegratedLabel && /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(Label, { htmlFor: computedId, children: label }),
8475
+ (0, import_react30.cloneElement)(children, childProps),
8476
+ (0, import_type_guards28.isNotNil)(computedError) ? /* @__PURE__ */ (0, import_jsx_runtime193.jsxs)(import_jsx_runtime193.Fragment, { children: [
8477
+ /* @__PURE__ */ (0, import_jsx_runtime193.jsx)("div", {}),
8478
+ /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
8479
+ ErrorMessages,
8480
+ {
8481
+ errors: computedError,
8482
+ id: `${computedId}-error`
8483
+ }
8484
+ )
8485
+ ] }) : null
8486
+ ]
8487
+ }
8488
+ );
8443
8489
  };
8444
8490
  FormField.displayName = "FormField";
8445
8491
 
@@ -8850,8 +8896,8 @@ var StyledSubTrigger = (0, import_styled_components54.default)(import_react_drop
8850
8896
  `;
8851
8897
  var SubMenuTrigger = (props) => {
8852
8898
  const { isSmAndUp } = useMq();
8853
- const Trigger4 = isSmAndUp ? StyledSubTrigger : import_react_dropdown_menu3.DropdownMenuItem;
8854
- return /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(Trigger4, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
8899
+ const Trigger5 = isSmAndUp ? StyledSubTrigger : import_react_dropdown_menu3.DropdownMenuItem;
8900
+ return /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(Trigger5, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
8855
8901
  MenuItemButton,
8856
8902
  {
8857
8903
  ...props,
@@ -9313,17 +9359,81 @@ var Modal = (0, import_react41.forwardRef)(
9313
9359
  );
9314
9360
  Modal.displayName = "Modal";
9315
9361
 
9316
- // src/components/Radio/Radio.tsx
9317
- var import_react42 = require("react");
9362
+ // src/components/Popover/Popover.tsx
9363
+ var import_react_popover = require("@radix-ui/react-popover");
9318
9364
  var import_styled_components60 = __toESM(require("styled-components"));
9365
+
9366
+ // src/private/helpers/getControls/getControlProps.tsx
9319
9367
  var import_type_guards34 = require("@wistia/type-guards");
9368
+ var getControlProps = (isOpen, onOpenChange) => {
9369
+ return (0, import_type_guards34.isNotNil)(onOpenChange) && (0, import_type_guards34.isNotNil)(isOpen) ? { open: isOpen, onOpenChange } : {};
9370
+ };
9371
+
9372
+ // src/components/Popover/Popover.tsx
9320
9373
  var import_jsx_runtime210 = require("react/jsx-runtime");
9321
- var StyledLabelWrapper2 = import_styled_components60.default.div`
9374
+ var StyledContent2 = (0, import_styled_components60.default)(import_react_popover.Content)`
9375
+ border-radius: var(--wui-border-radius-02);
9376
+ padding: var(--wui-space-04);
9377
+ max-width: 320px;
9378
+ background-color: var(--wui-color-bg-surface);
9379
+ box-shadow: var(--wui-elevation-01);
9380
+ border: 1px solid var(--wui-color-border);
9381
+
9382
+ [data-wui-popover-close] {
9383
+ position: absolute;
9384
+ top: var(--wui-space-02);
9385
+ right: var(--wui-space-02);
9386
+ }
9387
+ `;
9388
+ var StyledArrow = (0, import_styled_components60.default)(import_react_popover.Arrow)`
9389
+ fill: white;
9390
+ display: none;
9391
+ `;
9392
+ var Popover = ({
9393
+ children,
9394
+ trigger,
9395
+ isOpen = false,
9396
+ hideCloseButton = false,
9397
+ onOpenChange,
9398
+ ...props
9399
+ }) => {
9400
+ return /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(import_react_popover.Root, { ...getControlProps(isOpen, onOpenChange), children: [
9401
+ /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(import_react_popover.Trigger, { asChild: true, children: trigger }),
9402
+ /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(import_react_popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(
9403
+ StyledContent2,
9404
+ {
9405
+ sideOffset: 5,
9406
+ ...props,
9407
+ children: [
9408
+ /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(StyledArrow, {}),
9409
+ !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(import_react_popover.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(
9410
+ IconButton,
9411
+ {
9412
+ "data-wui-popover-close": true,
9413
+ label: "Close",
9414
+ variant: "ghost",
9415
+ children: /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Icon, { type: "close" })
9416
+ }
9417
+ ) }),
9418
+ /* @__PURE__ */ (0, import_jsx_runtime210.jsx)("div", { children })
9419
+ ]
9420
+ }
9421
+ ) })
9422
+ ] });
9423
+ };
9424
+ Popover.displayName = "Popover";
9425
+
9426
+ // src/components/Radio/Radio.tsx
9427
+ var import_react42 = require("react");
9428
+ var import_styled_components61 = __toESM(require("styled-components"));
9429
+ var import_type_guards35 = require("@wistia/type-guards");
9430
+ var import_jsx_runtime211 = require("react/jsx-runtime");
9431
+ var StyledLabelWrapper2 = import_styled_components61.default.div`
9322
9432
  display: flex;
9323
9433
  flex-direction: column;
9324
9434
  padding-left: var(--wui-space-02);
9325
9435
  `;
9326
- var StyledRadio = import_styled_components60.default.input`
9436
+ var StyledRadio = import_styled_components61.default.input`
9327
9437
  box-shadow: ${({ type }) => type === "checkbox" ? "inset 0 0.5px 1.5px 0 rgba(0, 0, 0, 0.38)" : "none"};
9328
9438
  appearance: none;
9329
9439
  margin: 0;
@@ -9349,11 +9459,11 @@ var StyledRadio = import_styled_components60.default.input`
9349
9459
  transform: scale(1);
9350
9460
  }
9351
9461
  `;
9352
- var disabledStyle2 = import_styled_components60.css`
9462
+ var disabledStyle2 = import_styled_components61.css`
9353
9463
  cursor: not-allowed;
9354
9464
  opacity: 0.5;
9355
9465
  `;
9356
- var errorStyle = import_styled_components60.css`
9466
+ var errorStyle = import_styled_components61.css`
9357
9467
  /* TODO Lamp to design error state */
9358
9468
  &:hover,
9359
9469
  &:focus,
@@ -9361,11 +9471,11 @@ var errorStyle = import_styled_components60.css`
9361
9471
  border-color: transparent !important;
9362
9472
  }
9363
9473
  `;
9364
- var defaultHoverStyle = import_styled_components60.css`
9474
+ var defaultHoverStyle = import_styled_components61.css`
9365
9475
  /* TODO Lamp to design hover state */
9366
9476
  cursor: pointer;
9367
9477
  `;
9368
- var StyledRadioWrapper = import_styled_components60.default.div`
9478
+ var StyledRadioWrapper = import_styled_components61.default.div`
9369
9479
  align-items: baseline;
9370
9480
  border: 1px solid transparent;
9371
9481
  border-radius: 4px;
@@ -9402,14 +9512,14 @@ var Radio = (0, import_react42.forwardRef)(
9402
9512
  ...otherProps
9403
9513
  }, ref) => {
9404
9514
  const generatedId = (0, import_react42.useId)();
9405
- const computedId = (0, import_type_guards34.isNonEmptyString)(id) ? id : `ui-radio-${generatedId}`;
9406
- return /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(
9515
+ const computedId = (0, import_type_guards35.isNonEmptyString)(id) ? id : `ui-radio-${generatedId}`;
9516
+ return /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)(
9407
9517
  StyledRadioWrapper,
9408
9518
  {
9409
9519
  "aria-invalid": otherProps["aria-invalid"],
9410
9520
  disabled,
9411
9521
  children: [
9412
- /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(
9522
+ /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
9413
9523
  StyledRadio,
9414
9524
  {
9415
9525
  ref,
@@ -9424,8 +9534,8 @@ var Radio = (0, import_react42.forwardRef)(
9424
9534
  ...otherProps
9425
9535
  }
9426
9536
  ),
9427
- /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(StyledLabelWrapper2, { children: [
9428
- /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(
9537
+ /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)(StyledLabelWrapper2, { children: [
9538
+ /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
9429
9539
  Label,
9430
9540
  {
9431
9541
  disabled,
@@ -9434,7 +9544,7 @@ var Radio = (0, import_react42.forwardRef)(
9434
9544
  children: label
9435
9545
  }
9436
9546
  ),
9437
- /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(LabelDescription, { children: description })
9547
+ /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(LabelDescription, { children: description })
9438
9548
  ] })
9439
9549
  ]
9440
9550
  }
@@ -9445,13 +9555,13 @@ Radio.displayName = "Radio";
9445
9555
 
9446
9556
  // src/components/SegmentedControl/SegmentedControl.tsx
9447
9557
  var import_react46 = require("react");
9448
- var import_styled_components62 = __toESM(require("styled-components"));
9558
+ var import_styled_components63 = __toESM(require("styled-components"));
9449
9559
  var import_react_toggle_group = require("@radix-ui/react-toggle-group");
9450
- var import_type_guards35 = require("@wistia/type-guards");
9560
+ var import_type_guards36 = require("@wistia/type-guards");
9451
9561
 
9452
9562
  // src/components/SegmentedControl/useSelectedItemMeasurements.tsx
9453
9563
  var import_react43 = require("react");
9454
- var import_jsx_runtime211 = require("react/jsx-runtime");
9564
+ var import_jsx_runtime212 = require("react/jsx-runtime");
9455
9565
  var SelectedItemMeasurementsContext = (0, import_react43.createContext)(
9456
9566
  null
9457
9567
  );
@@ -9466,7 +9576,7 @@ var SelectedItemMeasurementsProvider = ({
9466
9576
  }),
9467
9577
  [selectedItemMeasurements]
9468
9578
  );
9469
- return /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(SelectedItemMeasurementsContext.Provider, { value: contextValue, children });
9579
+ return /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(SelectedItemMeasurementsContext.Provider, { value: contextValue, children });
9470
9580
  };
9471
9581
  var useSelectedItemMeasurements = () => {
9472
9582
  const context = (0, import_react43.useContext)(SelectedItemMeasurementsContext);
@@ -9480,7 +9590,7 @@ var useSelectedItemMeasurements = () => {
9480
9590
 
9481
9591
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
9482
9592
  var import_react45 = require("react");
9483
- var import_styled_components61 = __toESM(require("styled-components"));
9593
+ var import_styled_components62 = __toESM(require("styled-components"));
9484
9594
 
9485
9595
  // src/components/SegmentedControl/useSegmentedControlValue.tsx
9486
9596
  var import_react44 = require("react");
@@ -9495,9 +9605,9 @@ var useSegmentedControlValue = () => {
9495
9605
  };
9496
9606
 
9497
9607
  // src/components/SegmentedControl/SelectedItemIndicator.tsx
9498
- var import_jsx_runtime212 = require("react/jsx-runtime");
9608
+ var import_jsx_runtime213 = require("react/jsx-runtime");
9499
9609
  var Z_INDEX_TO_SIT_BEHIND_SIBLINGS = -1;
9500
- var SelectedItemIndicatorDiv = import_styled_components61.default.div`
9610
+ var SelectedItemIndicatorDiv = import_styled_components62.default.div`
9501
9611
  background-color: var(--wui-color-bg-fill-white);
9502
9612
  border-radius: var(--wui-border-radius-rounded);
9503
9613
  left: 0;
@@ -9522,7 +9632,7 @@ var SelectedItemIndicator = () => {
9522
9632
  if (!selectedValue) {
9523
9633
  return null;
9524
9634
  }
9525
- return /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
9635
+ return /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
9526
9636
  SelectedItemIndicatorDiv,
9527
9637
  {
9528
9638
  style: {
@@ -9535,8 +9645,8 @@ var SelectedItemIndicator = () => {
9535
9645
  };
9536
9646
 
9537
9647
  // src/components/SegmentedControl/SegmentedControl.tsx
9538
- var import_jsx_runtime213 = require("react/jsx-runtime");
9539
- var segmentedControlStyles = import_styled_components62.css`
9648
+ var import_jsx_runtime214 = require("react/jsx-runtime");
9649
+ var segmentedControlStyles = import_styled_components63.css`
9540
9650
  display: inline-flex;
9541
9651
  background-color: var(--wui-color-bg-surface-secondary);
9542
9652
  border-radius: var(--wui-border-radius-rounded);
@@ -9546,7 +9656,7 @@ var segmentedControlStyles = import_styled_components62.css`
9546
9656
  position: relative;
9547
9657
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
9548
9658
  `;
9549
- var StyledSegmentedControl = (0, import_styled_components62.default)(import_react_toggle_group.Root)`
9659
+ var StyledSegmentedControl = (0, import_styled_components63.default)(import_react_toggle_group.Root)`
9550
9660
  ${segmentedControlStyles}
9551
9661
  `;
9552
9662
  var SegmentedControl = (0, import_react46.forwardRef)(
@@ -9558,10 +9668,10 @@ var SegmentedControl = (0, import_react46.forwardRef)(
9558
9668
  onSelectedValueChange,
9559
9669
  ...props
9560
9670
  }, ref) => {
9561
- if ((0, import_type_guards35.isNil)(children)) {
9671
+ if ((0, import_type_guards36.isNil)(children)) {
9562
9672
  return null;
9563
9673
  }
9564
- return /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
9674
+ return /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
9565
9675
  StyledSegmentedControl,
9566
9676
  {
9567
9677
  ref,
@@ -9573,8 +9683,8 @@ var SegmentedControl = (0, import_react46.forwardRef)(
9573
9683
  type: "single",
9574
9684
  value: selectedValue,
9575
9685
  ...props,
9576
- children: /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(SelectedItemMeasurementsProvider, { children: [
9577
- /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(SelectedItemIndicator, {}),
9686
+ children: /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(SegmentedControlValueProvider, { value: selectedValue, children: /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)(SelectedItemMeasurementsProvider, { children: [
9687
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(SelectedItemIndicator, {}),
9578
9688
  children
9579
9689
  ] }) })
9580
9690
  }
@@ -9585,27 +9695,27 @@ SegmentedControl.displayName = "SegmentedControl";
9585
9695
 
9586
9696
  // src/components/SegmentedControl/SegmentedControlItem.tsx
9587
9697
  var import_react47 = require("react");
9588
- var import_styled_components63 = __toESM(require("styled-components"));
9698
+ var import_styled_components64 = __toESM(require("styled-components"));
9589
9699
  var import_react_toggle_group2 = require("@radix-ui/react-toggle-group");
9590
- var import_type_guards37 = require("@wistia/type-guards");
9700
+ var import_type_guards38 = require("@wistia/type-guards");
9591
9701
 
9592
9702
  // src/private/helpers/mergeRefs/mergeRefs.ts
9593
- var import_type_guards36 = require("@wistia/type-guards");
9703
+ var import_type_guards37 = require("@wistia/type-guards");
9594
9704
  var mergeRefs = (refs) => (value) => {
9595
9705
  refs.forEach((ref) => {
9596
- if ((0, import_type_guards36.isFunction)(ref)) {
9706
+ if ((0, import_type_guards37.isFunction)(ref)) {
9597
9707
  ref(value);
9598
9708
  return;
9599
9709
  }
9600
- if ((0, import_type_guards36.isNotNil)(ref)) {
9710
+ if ((0, import_type_guards37.isNotNil)(ref)) {
9601
9711
  ref.current = value;
9602
9712
  }
9603
9713
  });
9604
9714
  };
9605
9715
 
9606
9716
  // src/components/SegmentedControl/SegmentedControlItem.tsx
9607
- var import_jsx_runtime214 = require("react/jsx-runtime");
9608
- var segmentedControlItemStyles = import_styled_components63.css`
9717
+ var import_jsx_runtime215 = require("react/jsx-runtime");
9718
+ var segmentedControlItemStyles = import_styled_components64.css`
9609
9719
  all: unset; /* ToggleGroupItem is a button element */
9610
9720
  align-items: center;
9611
9721
  border-radius: var(--wui-border-radius-rounded);
@@ -9665,7 +9775,7 @@ var segmentedControlItemStyles = import_styled_components63.css`
9665
9775
  }
9666
9776
  }
9667
9777
  `;
9668
- var StyledSegmentedControlItem = (0, import_styled_components63.default)(import_react_toggle_group2.Item)`
9778
+ var StyledSegmentedControlItem = (0, import_styled_components64.default)(import_react_toggle_group2.Item)`
9669
9779
  ${segmentedControlItemStyles}
9670
9780
  `;
9671
9781
  var SegmentedControlItem = (0, import_react47.forwardRef)(
@@ -9706,12 +9816,12 @@ var SegmentedControlItem = (0, import_react47.forwardRef)(
9706
9816
  resizeObserver.disconnect();
9707
9817
  };
9708
9818
  }, [selectedValue, setSelectedItemMeasurements, value]);
9709
- return /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)(
9819
+ return /* @__PURE__ */ (0, import_jsx_runtime215.jsxs)(
9710
9820
  StyledSegmentedControlItem,
9711
9821
  {
9712
9822
  ref: combinedRef,
9713
- $hasLabel: (0, import_type_guards37.isNotNil)(label),
9714
- "aria-label": (0, import_type_guards37.isNotNil)(label) ? void 0 : ariaLabel,
9823
+ $hasLabel: (0, import_type_guards38.isNotNil)(label),
9824
+ "aria-label": (0, import_type_guards38.isNotNil)(label) ? void 0 : ariaLabel,
9715
9825
  disabled,
9716
9826
  onClick: handleClick,
9717
9827
  value,
@@ -9728,18 +9838,18 @@ SegmentedControlItem.displayName = "SegmentedControlItem";
9728
9838
  // src/components/Tabs/Tabs.tsx
9729
9839
  var import_react52 = require("react");
9730
9840
  var import_react_tabs4 = require("@radix-ui/react-tabs");
9731
- var import_type_guards39 = require("@wistia/type-guards");
9841
+ var import_type_guards40 = require("@wistia/type-guards");
9732
9842
 
9733
9843
  // src/components/Tabs/TabPanel.tsx
9734
- var import_styled_components64 = __toESM(require("styled-components"));
9844
+ var import_styled_components65 = __toESM(require("styled-components"));
9735
9845
  var import_react_tabs = require("@radix-ui/react-tabs");
9736
- var import_jsx_runtime215 = require("react/jsx-runtime");
9737
- var StyledTabPanel = (0, import_styled_components64.default)(import_react_tabs.Content)`
9846
+ var import_jsx_runtime216 = require("react/jsx-runtime");
9847
+ var StyledTabPanel = (0, import_styled_components65.default)(import_react_tabs.Content)`
9738
9848
  display: flex;
9739
9849
  flex-direction: column;
9740
9850
  `;
9741
9851
  var TabPanel = ({ children, value, ...props }) => {
9742
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
9852
+ return /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
9743
9853
  StyledTabPanel,
9744
9854
  {
9745
9855
  value,
@@ -9751,10 +9861,10 @@ var TabPanel = ({ children, value, ...props }) => {
9751
9861
  TabPanel.displayName = "TabPanel";
9752
9862
 
9753
9863
  // src/components/Tabs/TabList.tsx
9754
- var import_styled_components65 = __toESM(require("styled-components"));
9864
+ var import_styled_components66 = __toESM(require("styled-components"));
9755
9865
  var import_react_tabs2 = require("@radix-ui/react-tabs");
9756
- var import_jsx_runtime216 = require("react/jsx-runtime");
9757
- var StyledTabList = (0, import_styled_components65.default)(import_react_tabs2.List)`
9866
+ var import_jsx_runtime217 = require("react/jsx-runtime");
9867
+ var StyledTabList = (0, import_styled_components66.default)(import_react_tabs2.List)`
9758
9868
  ${segmentedControlStyles}
9759
9869
 
9760
9870
  margin-bottom: var(--wui-space-04);
@@ -9765,7 +9875,7 @@ var TabList = ({
9765
9875
  ariaLabel,
9766
9876
  ...props
9767
9877
  }) => {
9768
- return /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(
9878
+ return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
9769
9879
  StyledTabList,
9770
9880
  {
9771
9881
  $fullWidth: fullWidth,
@@ -9779,9 +9889,9 @@ TabList.displayName = "TabList";
9779
9889
 
9780
9890
  // src/components/Tabs/TabItem.tsx
9781
9891
  var import_react49 = require("react");
9782
- var import_styled_components66 = __toESM(require("styled-components"));
9892
+ var import_styled_components67 = __toESM(require("styled-components"));
9783
9893
  var import_react_tabs3 = require("@radix-ui/react-tabs");
9784
- var import_type_guards38 = require("@wistia/type-guards");
9894
+ var import_type_guards39 = require("@wistia/type-guards");
9785
9895
 
9786
9896
  // src/components/Tabs/useTabsValue.tsx
9787
9897
  var import_react48 = require("react");
@@ -9796,8 +9906,8 @@ var useTabsValue = () => {
9796
9906
  };
9797
9907
 
9798
9908
  // src/components/Tabs/TabItem.tsx
9799
- var import_jsx_runtime217 = require("react/jsx-runtime");
9800
- var StyledTabItem = (0, import_styled_components66.default)(import_react_tabs3.Trigger)`
9909
+ var import_jsx_runtime218 = require("react/jsx-runtime");
9910
+ var StyledTabItem = (0, import_styled_components67.default)(import_react_tabs3.Trigger)`
9801
9911
  ${segmentedControlItemStyles}
9802
9912
 
9803
9913
  &:focus-visible {
@@ -9835,12 +9945,12 @@ var TabItem = (0, import_react49.forwardRef)(
9835
9945
  resizeObserver.disconnect();
9836
9946
  };
9837
9947
  }, [selectedValue, setSelectedItemMeasurements, value]);
9838
- return /* @__PURE__ */ (0, import_jsx_runtime217.jsxs)(
9948
+ return /* @__PURE__ */ (0, import_jsx_runtime218.jsxs)(
9839
9949
  StyledTabItem,
9840
9950
  {
9841
9951
  ref: combinedRef,
9842
- $hasLabel: (0, import_type_guards38.isNotNil)(label),
9843
- "aria-label": (0, import_type_guards38.isNotNil)(label) ? void 0 : ariaLabel,
9952
+ $hasLabel: (0, import_type_guards39.isNotNil)(label),
9953
+ "aria-label": (0, import_type_guards39.isNotNil)(label) ? void 0 : ariaLabel,
9844
9954
  disabled,
9845
9955
  value,
9846
9956
  children: [
@@ -9877,9 +9987,9 @@ var extractTabItems = (children) => {
9877
9987
 
9878
9988
  // src/components/Tabs/SelectedItemIndicator.tsx
9879
9989
  var import_react51 = require("react");
9880
- var import_styled_components67 = __toESM(require("styled-components"));
9881
- var import_jsx_runtime218 = require("react/jsx-runtime");
9882
- var TabsSelectedItemIndicatorDiv = (0, import_styled_components67.default)(SelectedItemIndicatorDiv)`
9990
+ var import_styled_components68 = __toESM(require("styled-components"));
9991
+ var import_jsx_runtime219 = require("react/jsx-runtime");
9992
+ var TabsSelectedItemIndicatorDiv = (0, import_styled_components68.default)(SelectedItemIndicatorDiv)`
9883
9993
  &:has(~ ${StyledTabItem}:focus-visible) {
9884
9994
  outline: 2px solid var(--wui-color-focus-ring);
9885
9995
  }
@@ -9898,7 +10008,7 @@ var SelectedItemIndicator2 = () => {
9898
10008
  if (selectedValue == null) {
9899
10009
  return null;
9900
10010
  }
9901
- return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(
10011
+ return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
9902
10012
  TabsSelectedItemIndicatorDiv,
9903
10013
  {
9904
10014
  style: {
@@ -9911,7 +10021,7 @@ var SelectedItemIndicator2 = () => {
9911
10021
  };
9912
10022
 
9913
10023
  // src/components/Tabs/Tabs.tsx
9914
- var import_jsx_runtime219 = require("react/jsx-runtime");
10024
+ var import_jsx_runtime220 = require("react/jsx-runtime");
9915
10025
  var Tabs = (0, import_react52.forwardRef)(
9916
10026
  ({
9917
10027
  children,
@@ -9928,25 +10038,25 @@ var Tabs = (0, import_react52.forwardRef)(
9928
10038
  defaultValue: defaultSelectedValue,
9929
10039
  onValueChange: setInternalSelectedValue
9930
10040
  } : { value: selectedValue, onValueChange: onSelectedValueChange };
9931
- return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
10041
+ return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
9932
10042
  import_react_tabs4.Root,
9933
10043
  {
9934
10044
  ref,
9935
10045
  activationMode: "automatic",
9936
10046
  ...otherProps,
9937
10047
  ...modeProps,
9938
- children: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
10048
+ children: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
9939
10049
  TabsValueProvider,
9940
10050
  {
9941
10051
  value: defaultSelectedValue !== void 0 ? internalSelectedValue : selectedValue,
9942
- children: /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(SelectedItemMeasurementsProvider, { children: [
9943
- /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(
10052
+ children: /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(SelectedItemMeasurementsProvider, { children: [
10053
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(
9944
10054
  TabList,
9945
10055
  {
9946
10056
  ariaLabel,
9947
10057
  fullWidth,
9948
10058
  children: [
9949
- /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(SelectedItemIndicator2, {}),
10059
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(SelectedItemIndicator2, {}),
9950
10060
  tabItems.map((tab) => {
9951
10061
  const {
9952
10062
  value,
@@ -9955,8 +10065,8 @@ var Tabs = (0, import_react52.forwardRef)(
9955
10065
  label,
9956
10066
  "aria-label": ariaLabelForTab
9957
10067
  } = tab.props;
9958
- if ((0, import_type_guards39.isNil)(icon)) {
9959
- return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
10068
+ if ((0, import_type_guards40.isNil)(icon)) {
10069
+ return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
9960
10070
  TabItem,
9961
10071
  {
9962
10072
  disabled,
@@ -9966,8 +10076,8 @@ var Tabs = (0, import_react52.forwardRef)(
9966
10076
  value
9967
10077
  );
9968
10078
  }
9969
- if ((0, import_type_guards39.isNotNil)(label)) {
9970
- return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
10079
+ if ((0, import_type_guards40.isNotNil)(label)) {
10080
+ return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
9971
10081
  TabItem,
9972
10082
  {
9973
10083
  disabled,
@@ -9978,8 +10088,8 @@ var Tabs = (0, import_react52.forwardRef)(
9978
10088
  value
9979
10089
  );
9980
10090
  }
9981
- if ((0, import_type_guards39.isNotNil)(ariaLabelForTab)) {
9982
- return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
10091
+ if ((0, import_type_guards40.isNotNil)(ariaLabelForTab)) {
10092
+ return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
9983
10093
  TabItem,
9984
10094
  {
9985
10095
  "aria-label": ariaLabelForTab,
@@ -9995,7 +10105,7 @@ var Tabs = (0, import_react52.forwardRef)(
9995
10105
  ]
9996
10106
  }
9997
10107
  ),
9998
- tabItems.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
10108
+ tabItems.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
9999
10109
  TabPanel,
10000
10110
  {
10001
10111
  value: tab.props.value,
@@ -10014,18 +10124,18 @@ Tabs.displayName = "Tabs";
10014
10124
 
10015
10125
  // src/components/Tabs/Tab.tsx
10016
10126
  var import_react53 = require("react");
10017
- var import_jsx_runtime220 = require("react/jsx-runtime");
10127
+ var import_jsx_runtime221 = require("react/jsx-runtime");
10018
10128
  var Tab = (0, import_react53.forwardRef)(({ children }, ref) => {
10019
- return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("div", { ref, children });
10129
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { ref, children });
10020
10130
  });
10021
10131
  Tab.displayName = "Tab";
10022
10132
 
10023
10133
  // src/components/Tag/Tag.tsx
10024
10134
  var import_react54 = require("react");
10025
- var import_styled_components68 = __toESM(require("styled-components"));
10026
- var import_type_guards40 = require("@wistia/type-guards");
10027
- var import_jsx_runtime221 = require("react/jsx-runtime");
10028
- var TagLabel = import_styled_components68.default.a`
10135
+ var import_styled_components69 = __toESM(require("styled-components"));
10136
+ var import_type_guards41 = require("@wistia/type-guards");
10137
+ var import_jsx_runtime222 = require("react/jsx-runtime");
10138
+ var TagLabel = import_styled_components69.default.a`
10029
10139
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
10030
10140
  font-size: var(--wui-typography-label-4-size);
10031
10141
  font-weight: var(--wui-typography-label-4-weight);
@@ -10053,14 +10163,14 @@ var TagLabel = import_styled_components68.default.a`
10053
10163
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
10054
10164
  }
10055
10165
  `;
10056
- var TagDivider = import_styled_components68.default.div`
10166
+ var TagDivider = import_styled_components69.default.div`
10057
10167
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
10058
10168
  border-left: 1px solid var(--wui-color-border);
10059
10169
  display: flex;
10060
10170
  height: 14px;
10061
10171
  width: 1px;
10062
10172
  `;
10063
- var StyledRemoveButton = import_styled_components68.default.button`
10173
+ var StyledRemoveButton = import_styled_components69.default.button`
10064
10174
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
10065
10175
  all: unset;
10066
10176
  cursor: pointer;
@@ -10088,7 +10198,7 @@ var StyledRemoveButton = import_styled_components68.default.button`
10088
10198
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
10089
10199
  }
10090
10200
  `;
10091
- var StyledTag = import_styled_components68.default.div`
10201
+ var StyledTag = import_styled_components69.default.div`
10092
10202
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
10093
10203
  align-items: center;
10094
10204
  background-color: var(--wui-color-bg-surface-secondary);
@@ -10101,31 +10211,31 @@ var StyledTag = import_styled_components68.default.div`
10101
10211
  }
10102
10212
  `;
10103
10213
  var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
10104
- if ((0, import_type_guards40.isNil)(onClickRemove)) {
10214
+ if ((0, import_type_guards41.isNil)(onClickRemove)) {
10105
10215
  return null;
10106
10216
  }
10107
- if ((0, import_type_guards40.isNil)(onClickRemoveLabel)) {
10217
+ if ((0, import_type_guards41.isNil)(onClickRemoveLabel)) {
10108
10218
  throw new Error(
10109
10219
  "for accessibility, onClickRemoveLabel must be provided if onClickRemove is provided"
10110
10220
  );
10111
10221
  }
10112
- return /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(import_jsx_runtime221.Fragment, { children: [
10113
- /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(TagDivider, { $colorScheme: colorScheme }),
10114
- /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(
10222
+ return /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(import_jsx_runtime222.Fragment, { children: [
10223
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(TagDivider, { $colorScheme: colorScheme }),
10224
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(
10115
10225
  StyledRemoveButton,
10116
10226
  {
10117
10227
  $colorScheme: colorScheme,
10118
10228
  onClick: onClickRemove,
10119
10229
  type: "button",
10120
10230
  children: [
10121
- /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
10231
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
10122
10232
  Icon,
10123
10233
  {
10124
10234
  size: "sm",
10125
10235
  type: "close"
10126
10236
  }
10127
10237
  ),
10128
- /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(ScreenReaderOnly, { children: onClickRemoveLabel })
10238
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(ScreenReaderOnly, { children: onClickRemoveLabel })
10129
10239
  ]
10130
10240
  }
10131
10241
  )
@@ -10133,15 +10243,15 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
10133
10243
  };
10134
10244
  var Tag = (0, import_react54.forwardRef)(
10135
10245
  ({ onClickRemove, colorScheme = "inherit", href, label, onClickRemoveLabel, ...otherProps }, ref) => {
10136
- const labelProps = (0, import_type_guards40.isNotNil)(href) && (0, import_type_guards40.isNonEmptyString)(href) ? { href, as: "a" } : { as: "span" };
10137
- return /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(
10246
+ const labelProps = (0, import_type_guards41.isNotNil)(href) && (0, import_type_guards41.isNonEmptyString)(href) ? { href, as: "a" } : { as: "span" };
10247
+ return /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(
10138
10248
  StyledTag,
10139
10249
  {
10140
10250
  ref,
10141
10251
  $colorScheme: colorScheme,
10142
10252
  ...otherProps,
10143
10253
  children: [
10144
- /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
10254
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
10145
10255
  TagLabel,
10146
10256
  {
10147
10257
  ...labelProps,
@@ -10149,7 +10259,7 @@ var Tag = (0, import_react54.forwardRef)(
10149
10259
  children: label
10150
10260
  }
10151
10261
  ),
10152
- /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
10262
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
10153
10263
  RemoveButton,
10154
10264
  {
10155
10265
  colorScheme,
@@ -10165,26 +10275,26 @@ var Tag = (0, import_react54.forwardRef)(
10165
10275
  Tag.displayName = "Tag";
10166
10276
 
10167
10277
  // src/components/WistiaLogo/WistiaLogo.tsx
10168
- var import_styled_components69 = __toESM(require("styled-components"));
10169
- var import_type_guards41 = require("@wistia/type-guards");
10170
- var import_jsx_runtime222 = require("react/jsx-runtime");
10278
+ var import_styled_components70 = __toESM(require("styled-components"));
10279
+ var import_type_guards42 = require("@wistia/type-guards");
10280
+ var import_jsx_runtime223 = require("react/jsx-runtime");
10171
10281
  var renderBrandmark = (brandmarkColor, iconOnly) => {
10172
10282
  if (iconOnly) {
10173
- return /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
10283
+ return /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
10174
10284
  "g",
10175
10285
  {
10176
10286
  "data-testid": "ui-wistia-logo-brandmark",
10177
10287
  fill: brandmarkColor,
10178
- children: /* @__PURE__ */ (0, import_jsx_runtime222.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" })
10288
+ children: /* @__PURE__ */ (0, import_jsx_runtime223.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" })
10179
10289
  }
10180
10290
  );
10181
10291
  }
10182
- return /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
10292
+ return /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
10183
10293
  "g",
10184
10294
  {
10185
10295
  "data-testid": "ui-wistia-logo-brandmark",
10186
10296
  fill: brandmarkColor,
10187
- children: /* @__PURE__ */ (0, import_jsx_runtime222.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" })
10297
+ children: /* @__PURE__ */ (0, import_jsx_runtime223.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" })
10188
10298
  }
10189
10299
  );
10190
10300
  };
@@ -10192,12 +10302,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
10192
10302
  if (iconOnly) {
10193
10303
  return null;
10194
10304
  }
10195
- return /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
10305
+ return /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
10196
10306
  "g",
10197
10307
  {
10198
10308
  "data-testid": "ui-wistia-logo-logotype",
10199
10309
  fill: logotypeColor,
10200
- children: /* @__PURE__ */ (0, import_jsx_runtime222.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" })
10310
+ children: /* @__PURE__ */ (0, import_jsx_runtime223.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" })
10201
10311
  }
10202
10312
  );
10203
10313
  };
@@ -10207,7 +10317,7 @@ var computedViewBox = (iconOnly) => {
10207
10317
  }
10208
10318
  return "0 0 144 31.47";
10209
10319
  };
10210
- var WistiaLogoComponent = import_styled_components69.default.svg`
10320
+ var WistiaLogoComponent = import_styled_components70.default.svg`
10211
10321
  height: ${({ height }) => `${height}px`};
10212
10322
 
10213
10323
  /* ensure it will always fit on mobile */
@@ -10249,7 +10359,7 @@ var WistiaLogo = ({
10249
10359
  };
10250
10360
  const brandmarkColor = VARIANT_COLORS[variant].brandmark;
10251
10361
  const logotypeColor = VARIANT_COLORS[variant].logotype;
10252
- const Logo = /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(
10362
+ const Logo = /* @__PURE__ */ (0, import_jsx_runtime223.jsxs)(
10253
10363
  WistiaLogoComponent,
10254
10364
  {
10255
10365
  $hoverColor: hoverColor,
@@ -10259,23 +10369,23 @@ var WistiaLogo = ({
10259
10369
  xmlns: "http://www.w3.org/2000/svg",
10260
10370
  ...otherProps,
10261
10371
  children: [
10262
- /* @__PURE__ */ (0, import_jsx_runtime222.jsx)("title", { children: title }),
10263
- (0, import_type_guards41.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime222.jsx)("desc", { children: description }) : null,
10372
+ /* @__PURE__ */ (0, import_jsx_runtime223.jsx)("title", { children: title }),
10373
+ (0, import_type_guards42.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime223.jsx)("desc", { children: description }) : null,
10264
10374
  renderBrandmark(brandmarkColor, iconOnly),
10265
10375
  renderLogotype(logotypeColor, iconOnly)
10266
10376
  ]
10267
10377
  }
10268
10378
  );
10269
- return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime222.jsx)("a", { href, children: Logo }) : Logo;
10379
+ return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime223.jsx)("a", { href, children: Logo }) : Logo;
10270
10380
  };
10271
10381
  WistiaLogo.displayName = "WistiaLogo";
10272
10382
 
10273
10383
  // src/components/Select/Select.tsx
10274
10384
  var import_react_select = require("@radix-ui/react-select");
10275
10385
  var import_react55 = require("react");
10276
- var import_styled_components70 = __toESM(require("styled-components"));
10277
- var import_jsx_runtime223 = require("react/jsx-runtime");
10278
- var StyledTrigger = (0, import_styled_components70.default)(import_react_select.Trigger)`
10386
+ var import_styled_components71 = __toESM(require("styled-components"));
10387
+ var import_jsx_runtime224 = require("react/jsx-runtime");
10388
+ var StyledTrigger = (0, import_styled_components71.default)(import_react_select.Trigger)`
10279
10389
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
10280
10390
  --wui-select-color-bg: var(--wui-color-bg-surface);
10281
10391
  --wui-select-color-bg-disabled: var(--wui-color-bg-surface-disabled);
@@ -10316,7 +10426,7 @@ var StyledTrigger = (0, import_styled_components70.default)(import_react_select.
10316
10426
  background-color: var(--wui-color-bg-surface-disabled);
10317
10427
  }
10318
10428
  `;
10319
- var StyledContent2 = (0, import_styled_components70.default)(import_react_select.Content)`
10429
+ var StyledContent3 = (0, import_styled_components71.default)(import_react_select.Content)`
10320
10430
  --wui-select-content-border: var(--wui-color-border);
10321
10431
  --wui-select-content-bg: var(--wui-color-bg-surface);
10322
10432
  --wui-select-content-border-radius: var(--wui-border-radius-02);
@@ -10331,6 +10441,7 @@ var StyledContent2 = (0, import_styled_components70.default)(import_react_select
10331
10441
  border-radius: var(--wui-select-content-border-radius);
10332
10442
  padding: var(--wui-select-option-padding);
10333
10443
  min-width: 200px;
10444
+ z-index: var(--wui-zindex-menu);
10334
10445
  `;
10335
10446
  var Select = (0, import_react55.forwardRef)(
10336
10447
  ({
@@ -10342,13 +10453,13 @@ var Select = (0, import_react55.forwardRef)(
10342
10453
  ...props
10343
10454
  }, forwardedRef) => {
10344
10455
  const responsiveFullWidth = useResponsiveProp(fullWidth);
10345
- return /* @__PURE__ */ (0, import_jsx_runtime223.jsxs)(
10456
+ return /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)(
10346
10457
  import_react_select.Root,
10347
10458
  {
10348
10459
  ...props,
10349
10460
  onValueChange: onChange,
10350
10461
  children: [
10351
- /* @__PURE__ */ (0, import_jsx_runtime223.jsxs)(
10462
+ /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)(
10352
10463
  StyledTrigger,
10353
10464
  {
10354
10465
  ref: forwardedRef,
@@ -10356,8 +10467,8 @@ var Select = (0, import_react55.forwardRef)(
10356
10467
  $fullWidth: responsiveFullWidth,
10357
10468
  ...props,
10358
10469
  children: [
10359
- /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(import_react_select.Value, { placeholder }),
10360
- /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
10470
+ /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(import_react_select.Value, { placeholder }),
10471
+ /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
10361
10472
  Icon,
10362
10473
  {
10363
10474
  size: "md",
@@ -10367,10 +10478,10 @@ var Select = (0, import_react55.forwardRef)(
10367
10478
  ]
10368
10479
  }
10369
10480
  ),
10370
- /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime223.jsxs)(StyledContent2, { position: "popper", children: [
10371
- /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(Icon, { type: "caret-up" }) }),
10372
- /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(import_react_select.Viewport, { children }),
10373
- /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(Icon, { type: "caret-down" }) })
10481
+ /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)(StyledContent3, { position: "popper", children: [
10482
+ /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(Icon, { type: "caret-up" }) }),
10483
+ /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(import_react_select.Viewport, { children }),
10484
+ /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(Icon, { type: "caret-down" }) })
10374
10485
  ] }) })
10375
10486
  ]
10376
10487
  }
@@ -10382,9 +10493,9 @@ Select.displayName = "Select";
10382
10493
  // src/components/Select/SelectOption.tsx
10383
10494
  var import_react_select2 = require("@radix-ui/react-select");
10384
10495
  var import_react56 = require("react");
10385
- var import_styled_components71 = __toESM(require("styled-components"));
10386
- var import_jsx_runtime224 = require("react/jsx-runtime");
10387
- var StyledItem = (0, import_styled_components71.default)(import_react_select2.Item)`
10496
+ var import_styled_components72 = __toESM(require("styled-components"));
10497
+ var import_jsx_runtime225 = require("react/jsx-runtime");
10498
+ var StyledItem = (0, import_styled_components72.default)(import_react_select2.Item)`
10388
10499
  ${variantStyleMap2.body3};
10389
10500
  display: flex;
10390
10501
  padding: var(--wui-select-option-padding);
@@ -10407,25 +10518,25 @@ var StyledItem = (0, import_styled_components71.default)(import_react_select2.It
10407
10518
  background-color: transparent;
10408
10519
  }
10409
10520
  `;
10410
- var StyledIconContainer = import_styled_components71.default.span`
10521
+ var StyledIconContainer = import_styled_components72.default.span`
10411
10522
  width: 12px;
10412
10523
  `;
10413
10524
  var SelectOption = (0, import_react56.forwardRef)(
10414
10525
  ({ children, ...props }, forwardedRef) => {
10415
- return /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)(
10526
+ return /* @__PURE__ */ (0, import_jsx_runtime225.jsxs)(
10416
10527
  StyledItem,
10417
10528
  {
10418
10529
  ...props,
10419
10530
  ref: forwardedRef,
10420
10531
  children: [
10421
- /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(StyledIconContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
10532
+ /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(StyledIconContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
10422
10533
  Icon,
10423
10534
  {
10424
10535
  size: "sm",
10425
10536
  type: "checkmark"
10426
10537
  }
10427
10538
  ) }) }),
10428
- /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(import_react_select2.ItemText, { children })
10539
+ /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(import_react_select2.ItemText, { children })
10429
10540
  ]
10430
10541
  }
10431
10542
  );
@@ -10435,14 +10546,14 @@ SelectOption.displayName = "Option";
10435
10546
 
10436
10547
  // src/components/Select/SelectOptionGroup.tsx
10437
10548
  var import_react_select3 = require("@radix-ui/react-select");
10438
- var import_styled_components72 = __toESM(require("styled-components"));
10439
- var import_jsx_runtime225 = require("react/jsx-runtime");
10440
- var StyledLabel4 = (0, import_styled_components72.default)(import_react_select3.Label)`
10549
+ var import_styled_components73 = __toESM(require("styled-components"));
10550
+ var import_jsx_runtime226 = require("react/jsx-runtime");
10551
+ var StyledLabel4 = (0, import_styled_components73.default)(import_react_select3.Label)`
10441
10552
  padding: var(--wui-select-option-padding);
10442
10553
  `;
10443
10554
  var SelectOptionGroup = ({ children, label, ...props }) => {
10444
- return /* @__PURE__ */ (0, import_jsx_runtime225.jsxs)(import_react_select3.Group, { ...props, children: [
10445
- /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
10555
+ return /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)(import_react_select3.Group, { ...props, children: [
10556
+ /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(StyledLabel4, { children: /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
10446
10557
  Text,
10447
10558
  {
10448
10559
  prominence: "secondary",
@@ -10494,6 +10605,7 @@ var SelectOptionGroup = ({ children, label, ...props }) => {
10494
10605
  MenuLabel,
10495
10606
  MenuRadioGroup,
10496
10607
  Modal,
10608
+ Popover,
10497
10609
  Radio,
10498
10610
  RadioGroup,
10499
10611
  RadioMenuItem,