@wistia/ui 0.4.0 → 0.4.2-beta.1edded51.b4258de

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.4.0
3
+ * @license @wistia/ui v0.4.2-beta.1edded51.b4258de
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -47,6 +47,7 @@ __export(index_exports, {
47
47
  Breadcrumbs: () => Breadcrumbs,
48
48
  Button: () => Button,
49
49
  ButtonGroup: () => ButtonGroup,
50
+ Card: () => Card,
50
51
  Checkbox: () => Checkbox,
51
52
  CheckboxGroup: () => CheckboxGroup,
52
53
  CheckboxMenuItem: () => CheckboxMenuItem,
@@ -6141,18 +6142,69 @@ var ButtonGroup = ({
6141
6142
  };
6142
6143
  ButtonGroup.displayName = "ButtonGroup";
6143
6144
 
6145
+ // src/components/Card/Card.tsx
6146
+ var import_styled_components25 = __toESM(require("styled-components"));
6147
+ var import_jsx_runtime169 = require("react/jsx-runtime");
6148
+ var StyledCard = (0, import_styled_components25.default)(Box)`
6149
+ ${({ $colorScheme }) => getColorScheme($colorScheme)};
6150
+ box-sizing: border-box;
6151
+ padding: ${({ $paddingSize }) => `var(--wui-${$paddingSize})`};
6152
+ background-color: ${({ $backgroundColor }) => $backgroundColor};
6153
+ outline: 2px solid ${({ $borderColor }) => $borderColor};
6154
+ outline-offset: -2px;
6155
+ border-radius: var(--wui-border-radius-02);
6156
+ display: flex;
6157
+ `;
6158
+ var prominenceMap = {
6159
+ default: {
6160
+ backgroundColor: "var(--wui-color-bg-surface)",
6161
+ borderColor: "var(--wui-color-border)"
6162
+ },
6163
+ secondary: {
6164
+ backgroundColor: "var(--wui-color-bg-surface-secondary)",
6165
+ borderColor: "var(--wui-color-border-secondary)"
6166
+ },
6167
+ tertiary: {
6168
+ backgroundColor: "var(--wui-color-bg-surface-tertiary)",
6169
+ borderColor: "var(--wui-color-border-secondary)"
6170
+ }
6171
+ };
6172
+ var Card = ({
6173
+ children,
6174
+ paddingSize = "space-03",
6175
+ gap = "space-03",
6176
+ direction = "column",
6177
+ colorScheme = "inherit",
6178
+ prominence = "secondary",
6179
+ border = false,
6180
+ ...props
6181
+ }) => /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(
6182
+ StyledCard,
6183
+ {
6184
+ $backgroundColor: prominenceMap[prominence].backgroundColor,
6185
+ $borderColor: border ? prominenceMap[prominence].borderColor : "transparent",
6186
+ $colorScheme: colorScheme,
6187
+ $paddingSize: paddingSize,
6188
+ direction,
6189
+ gap,
6190
+ ...props,
6191
+ children
6192
+ }
6193
+ );
6194
+ Card.displayName = "Card";
6195
+
6144
6196
  // src/components/Checkbox/Checkbox.tsx
6145
6197
  var import_react15 = require("react");
6146
6198
  var import_react_checkbox = require("@radix-ui/react-checkbox");
6147
- var import_styled_components28 = __toESM(require("styled-components"));
6199
+ var import_styled_components29 = __toESM(require("styled-components"));
6148
6200
  var import_type_guards17 = require("@wistia/type-guards");
6149
6201
 
6150
6202
  // src/components/Label/Label.tsx
6151
- var import_styled_components26 = __toESM(require("styled-components"));
6203
+ var import_styled_components27 = __toESM(require("styled-components"));
6152
6204
 
6153
6205
  // src/components/Heading/Heading.tsx
6154
6206
  var import_react14 = require("react");
6155
- var import_styled_components25 = __toESM(require("styled-components"));
6207
+ var import_styled_components26 = __toESM(require("styled-components"));
6156
6208
 
6157
6209
  // src/private/helpers/makePolymorphic/makePolymorphic.tsx
6158
6210
  var makePolymorphic = (component) => {
@@ -6160,44 +6212,44 @@ var makePolymorphic = (component) => {
6160
6212
  };
6161
6213
 
6162
6214
  // src/components/Heading/Heading.tsx
6163
- var import_jsx_runtime169 = require("react/jsx-runtime");
6164
- var heroStyle = import_styled_components25.css`
6215
+ var import_jsx_runtime170 = require("react/jsx-runtime");
6216
+ var heroStyle = import_styled_components26.css`
6165
6217
  --font-family: var(--wui-typography-heading-hero-family);
6166
6218
  --font-size: var(--wui-typography-heading-hero-size);
6167
6219
  --font-weight: var(--wui-typography-heading-hero-weight);
6168
6220
  --line-height: var(--wui-typography-heading-hero-line-height);
6169
6221
  `;
6170
- var heading1TextStyle = import_styled_components25.css`
6222
+ var heading1TextStyle = import_styled_components26.css`
6171
6223
  --font-family: var(--wui-typography-heading-1-family);
6172
6224
  --font-size: var(--wui-typography-heading-1-size);
6173
6225
  --font-weight: var(--wui-typography-heading-1-weight);
6174
6226
  --line-height: var(--wui-typography-heading-1-line-height);
6175
6227
  `;
6176
- var heading2TextStyle = import_styled_components25.css`
6228
+ var heading2TextStyle = import_styled_components26.css`
6177
6229
  --font-family: var(--wui-typography-heading-2-family);
6178
6230
  --font-size: var(--wui-typography-heading-2-size);
6179
6231
  --font-weight: var(--wui-typography-heading-2-weight);
6180
6232
  --line-height: var(--wui-typography-heading-2-line-height);
6181
6233
  `;
6182
- var heading3TextStyle = import_styled_components25.css`
6234
+ var heading3TextStyle = import_styled_components26.css`
6183
6235
  --font-family: var(--wui-typography-heading-3-family);
6184
6236
  --font-size: var(--wui-typography-heading-3-size);
6185
6237
  --font-weight: var(--wui-typography-heading-3-weight);
6186
6238
  --line-height: var(--wui-typography-heading-3-line-height);
6187
6239
  `;
6188
- var heading4TextStyle = import_styled_components25.css`
6240
+ var heading4TextStyle = import_styled_components26.css`
6189
6241
  --font-family: var(--wui-typography-heading-4-family);
6190
6242
  --font-size: var(--wui-typography-heading-4-size);
6191
6243
  --font-weight: var(--wui-typography-heading-4-weight);
6192
6244
  --line-height: var(--wui-typography-heading-4-line-height);
6193
6245
  `;
6194
- var heading5TextStyle = import_styled_components25.css`
6246
+ var heading5TextStyle = import_styled_components26.css`
6195
6247
  --font-family: var(--wui-typography-heading-5-family);
6196
6248
  --font-size: var(--wui-typography-heading-5-size);
6197
6249
  --font-weight: var(--wui-typography-heading-5-weight);
6198
6250
  --line-height: var(--wui-typography-heading-5-line-height);
6199
6251
  `;
6200
- var heading6TextStyle = import_styled_components25.css`
6252
+ var heading6TextStyle = import_styled_components26.css`
6201
6253
  --font-family: var(--wui-typography-heading-6-family);
6202
6254
  --font-size: var(--wui-typography-heading-6-size);
6203
6255
  --font-weight: var(--wui-typography-heading-6-weight);
@@ -6213,7 +6265,7 @@ var variantStyleMap = {
6213
6265
  heading6: heading6TextStyle
6214
6266
  };
6215
6267
  var DEFAULT_ELEMENT = "h1";
6216
- var StyledHeading = import_styled_components25.default.div`
6268
+ var StyledHeading = import_styled_components26.default.div`
6217
6269
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
6218
6270
  font-family: var(--font-family);
6219
6271
  font-size: var(--font-size);
@@ -6222,16 +6274,16 @@ var StyledHeading = import_styled_components25.default.div`
6222
6274
  color: var(--wui-color-text);
6223
6275
  ${({ $variant }) => variantStyleMap[$variant]}
6224
6276
  ${({ $ellipsis }) => $ellipsis && ellipsisStyle};
6225
- ${({ $inline }) => $inline && import_styled_components25.css`
6277
+ ${({ $inline }) => $inline && import_styled_components26.css`
6226
6278
  display: inline-block;
6227
6279
  `}
6228
- ${({ $disabled }) => $disabled && import_styled_components25.css`
6280
+ ${({ $disabled }) => $disabled && import_styled_components26.css`
6229
6281
  color: var(--wui-color-text-disabled);
6230
6282
  `}
6231
- ${({ $preventUserSelect }) => $preventUserSelect && import_styled_components25.css`
6283
+ ${({ $preventUserSelect }) => $preventUserSelect && import_styled_components26.css`
6232
6284
  user-select: none;
6233
6285
  `}
6234
- ${({ $align }) => import_styled_components25.css`
6286
+ ${({ $align }) => import_styled_components26.css`
6235
6287
  text-align: ${$align};
6236
6288
  `}
6237
6289
  margin: 0;
@@ -6256,7 +6308,7 @@ var HeadingComponent = (0, import_react14.forwardRef)(
6256
6308
  variant = "heading1",
6257
6309
  renderAs,
6258
6310
  ...otherProps
6259
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(
6311
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(
6260
6312
  StyledHeading,
6261
6313
  {
6262
6314
  ref,
@@ -6276,8 +6328,8 @@ HeadingComponent.displayName = "Heading";
6276
6328
  var Heading = makePolymorphic(HeadingComponent);
6277
6329
 
6278
6330
  // src/components/Label/Label.tsx
6279
- var import_jsx_runtime170 = require("react/jsx-runtime");
6280
- var requiredStyle = import_styled_components26.css`
6331
+ var import_jsx_runtime171 = require("react/jsx-runtime");
6332
+ var requiredStyle = import_styled_components27.css`
6281
6333
  &::after {
6282
6334
  color: var(--wui-color-text-error);
6283
6335
  display: inline;
@@ -6285,10 +6337,10 @@ var requiredStyle = import_styled_components26.css`
6285
6337
  content: '*';
6286
6338
  }
6287
6339
  `;
6288
- var disabledStyle = import_styled_components26.css`
6340
+ var disabledStyle = import_styled_components27.css`
6289
6341
  color: var(--wui-color-text-disabled);
6290
6342
  `;
6291
- var StyledLabel2 = (0, import_styled_components26.default)(Heading).attrs({
6343
+ var StyledLabel2 = (0, import_styled_components27.default)(Heading).attrs({
6292
6344
  variant: "heading6",
6293
6345
  renderAs: "label"
6294
6346
  })`
@@ -6317,7 +6369,7 @@ var Label = ({
6317
6369
  required = false,
6318
6370
  screenReaderOnly = false,
6319
6371
  ...otherProps
6320
- }) => /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(
6372
+ }) => /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
6321
6373
  StyledLabel2,
6322
6374
  {
6323
6375
  ...otherProps,
@@ -6331,10 +6383,10 @@ var Label = ({
6331
6383
  Label.displayName = "Label";
6332
6384
 
6333
6385
  // src/components/Label/LabelDescription.tsx
6334
- var import_styled_components27 = __toESM(require("styled-components"));
6386
+ var import_styled_components28 = __toESM(require("styled-components"));
6335
6387
  var import_type_guards16 = require("@wistia/type-guards");
6336
- var import_jsx_runtime171 = require("react/jsx-runtime");
6337
- var StyledLabelDescription = import_styled_components27.default.div`
6388
+ var import_jsx_runtime172 = require("react/jsx-runtime");
6389
+ var StyledLabelDescription = import_styled_components28.default.div`
6338
6390
  color: var(--wui-color-text-secondary);
6339
6391
  font-size: var(--wui-typography-body-4-size);
6340
6392
  font-weight: var(--wui-typography-body-4-weight);
@@ -6347,13 +6399,13 @@ var LabelDescription = ({
6347
6399
  if ((0, import_type_guards16.isNil)(children)) {
6348
6400
  return null;
6349
6401
  }
6350
- return /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(StyledLabelDescription, { ...props, children });
6402
+ return /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(StyledLabelDescription, { ...props, children });
6351
6403
  };
6352
6404
  LabelDescription.displayName = "LabelDescription";
6353
6405
 
6354
6406
  // src/components/Checkbox/Checkbox.tsx
6355
- var import_jsx_runtime172 = require("react/jsx-runtime");
6356
- var CheckIcon = () => /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
6407
+ var import_jsx_runtime173 = require("react/jsx-runtime");
6408
+ var CheckIcon = () => /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
6357
6409
  "svg",
6358
6410
  {
6359
6411
  fill: "inherit",
@@ -6361,7 +6413,7 @@ var CheckIcon = () => /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
6361
6413
  viewBox: "0 0 10 8",
6362
6414
  width: "10",
6363
6415
  xmlns: "http://www.w3.org/2000/svg",
6364
- children: /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
6416
+ children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
6365
6417
  "path",
6366
6418
  {
6367
6419
  d: "M3.47281 7.19303L0.377565 4.07999C0.191609 3.89297 0.191609 3.58973 0.377565 3.40268L1.05098 2.72537C1.23694 2.53833 1.53847 2.53833 1.72442 2.72537L3.80953 4.82245L8.27558 0.330729C8.46154 0.143704 8.76306 0.143704 8.94902 0.330729L9.62244 1.00804C9.8084 1.19506 9.8084 1.49831 9.62244 1.68535L4.14624 7.19305C3.96027 7.38008 3.65876 7.38008 3.47281 7.19303Z",
@@ -6370,7 +6422,7 @@ var CheckIcon = () => /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
6370
6422
  )
6371
6423
  }
6372
6424
  );
6373
- var StyledCheckboxWrapper = import_styled_components28.default.div`
6425
+ var StyledCheckboxWrapper = import_styled_components29.default.div`
6374
6426
  display: flex;
6375
6427
  align-items: center;
6376
6428
  cursor: pointer;
@@ -6384,7 +6436,7 @@ var StyledCheckboxWrapper = import_styled_components28.default.div`
6384
6436
  background-color: #efefef;
6385
6437
  }
6386
6438
  `;
6387
- var StyledCheckboxRoot = (0, import_styled_components28.default)(import_react_checkbox.Root)`
6439
+ var StyledCheckboxRoot = (0, import_styled_components29.default)(import_react_checkbox.Root)`
6388
6440
  all: unset; /* CheckboxRoot renders as a button element, so we need to reset all styles */
6389
6441
  background-color: var(--wui-color-bg-fill-white);
6390
6442
  min-width: 16px;
@@ -6418,10 +6470,10 @@ var StyledCheckboxRoot = (0, import_styled_components28.default)(import_react_ch
6418
6470
  /* TODO Lamp to design focus state */
6419
6471
  }
6420
6472
  `;
6421
- var StyledCheckboxIndicator = (0, import_styled_components28.default)(import_react_checkbox.Indicator)`
6473
+ var StyledCheckboxIndicator = (0, import_styled_components29.default)(import_react_checkbox.Indicator)`
6422
6474
  display: flex;
6423
6475
  `;
6424
- var StyledLabelWrapper = import_styled_components28.default.div`
6476
+ var StyledLabelWrapper = import_styled_components29.default.div`
6425
6477
  display: flex;
6426
6478
  flex-direction: column;
6427
6479
  margin-left: var(--wui-space-02);
@@ -6442,8 +6494,8 @@ var Checkbox = (0, import_react15.forwardRef)(
6442
6494
  }, ref) => {
6443
6495
  const generatedId = (0, import_react15.useId)();
6444
6496
  const computedId = (0, import_type_guards17.isNonEmptyString)(id) ? id : `wistia-ui-checkbox-group-${generatedId}`;
6445
- return /* @__PURE__ */ (0, import_jsx_runtime172.jsxs)(StyledCheckboxWrapper, { children: [
6446
- /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
6497
+ return /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)(StyledCheckboxWrapper, { children: [
6498
+ /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
6447
6499
  StyledCheckboxRoot,
6448
6500
  {
6449
6501
  ref,
@@ -6468,11 +6520,11 @@ var Checkbox = (0, import_react15.forwardRef)(
6468
6520
  required,
6469
6521
  value,
6470
6522
  ...otherProps,
6471
- children: /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(StyledCheckboxIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(CheckIcon, {}) })
6523
+ children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(StyledCheckboxIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(CheckIcon, {}) })
6472
6524
  }
6473
6525
  ),
6474
- /* @__PURE__ */ (0, import_jsx_runtime172.jsxs)(StyledLabelWrapper, { children: [
6475
- /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(
6526
+ /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)(StyledLabelWrapper, { children: [
6527
+ /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
6476
6528
  Label,
6477
6529
  {
6478
6530
  disabled,
@@ -6481,7 +6533,7 @@ var Checkbox = (0, import_react15.forwardRef)(
6481
6533
  children: label
6482
6534
  }
6483
6535
  ),
6484
- /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(LabelDescription, { children: description })
6536
+ /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(LabelDescription, { children: description })
6485
6537
  ] })
6486
6538
  ] });
6487
6539
  }
@@ -6489,22 +6541,22 @@ var Checkbox = (0, import_react15.forwardRef)(
6489
6541
  Checkbox.displayName = "Checkbox";
6490
6542
 
6491
6543
  // src/components/Divider/Divider.tsx
6492
- var import_styled_components29 = __toESM(require("styled-components"));
6493
- var import_jsx_runtime173 = require("react/jsx-runtime");
6494
- var horizontalBorderCss = import_styled_components29.css`
6544
+ var import_styled_components30 = __toESM(require("styled-components"));
6545
+ var import_jsx_runtime174 = require("react/jsx-runtime");
6546
+ var horizontalBorderCss = import_styled_components30.css`
6495
6547
  border-top-color: var(--wui-color-border);
6496
6548
  border-top-style: solid;
6497
6549
  border-top-width: 1px;
6498
6550
  clear: both; /* for horizontal dividers, ensure it clears any floats */
6499
6551
  height: 0;
6500
6552
  `;
6501
- var verticalBorderCss = import_styled_components29.css`
6553
+ var verticalBorderCss = import_styled_components30.css`
6502
6554
  background-color: var(--wui-color-border);
6503
6555
  max-width: 1px;
6504
6556
  min-height: 100%;
6505
6557
  width: 1px;
6506
6558
  `;
6507
- var DividerComponent = import_styled_components29.default.div`
6559
+ var DividerComponent = import_styled_components30.default.div`
6508
6560
  ${({ $orientation }) => {
6509
6561
  switch ($orientation) {
6510
6562
  case "vertical":
@@ -6519,7 +6571,7 @@ var Divider = ({
6519
6571
  orientation = "horizontal",
6520
6572
  ...otherProps
6521
6573
  }) => {
6522
- return /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(
6574
+ return /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(
6523
6575
  DividerComponent,
6524
6576
  {
6525
6577
  $orientation: orientation,
@@ -6533,15 +6585,15 @@ Divider.displayName = "Divider";
6533
6585
 
6534
6586
  // src/components/Form/Form.tsx
6535
6587
  var import_react17 = require("react");
6536
- var import_styled_components31 = __toESM(require("styled-components"));
6588
+ var import_styled_components32 = __toESM(require("styled-components"));
6537
6589
  var import_type_guards18 = require("@wistia/type-guards");
6538
6590
 
6539
6591
  // src/components/Stack/Stack.tsx
6540
6592
  var import_react16 = require("react");
6541
- var import_styled_components30 = __toESM(require("styled-components"));
6542
- var import_jsx_runtime174 = require("react/jsx-runtime");
6593
+ var import_styled_components31 = __toESM(require("styled-components"));
6594
+ var import_jsx_runtime175 = require("react/jsx-runtime");
6543
6595
  var DEFAULT_ELEMENT2 = "div";
6544
- var StyledStack = import_styled_components30.default.div`
6596
+ var StyledStack = import_styled_components31.default.div`
6545
6597
  display: flex;
6546
6598
  flex-direction: ${({ $direction }) => $direction === "horizontal" ? "row" : "column"};
6547
6599
  gap: ${({ $gap }) => `var(--wui-${$gap})`};
@@ -6550,7 +6602,7 @@ var StackComponent = (0, import_react16.forwardRef)(
6550
6602
  ({ renderAs, direction = "vertical", gap = "space-02", ...props }, ref) => {
6551
6603
  const responsiveGap = useResponsiveProp(gap);
6552
6604
  const responsiveDirection = useResponsiveProp(direction);
6553
- return /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(
6605
+ return /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(
6554
6606
  StyledStack,
6555
6607
  {
6556
6608
  ref,
@@ -6566,8 +6618,8 @@ StackComponent.displayName = "Stack";
6566
6618
  var Stack = makePolymorphic(StackComponent);
6567
6619
 
6568
6620
  // src/components/Form/Form.tsx
6569
- var import_jsx_runtime175 = require("react/jsx-runtime");
6570
- var StyledForm = import_styled_components31.default.form`
6621
+ var import_jsx_runtime176 = require("react/jsx-runtime");
6622
+ var StyledForm = import_styled_components32.default.form`
6571
6623
  --form-default-width: 690px;
6572
6624
 
6573
6625
  max-width: ${({ $fullWidth }) => $fullWidth ? "auto" : "var(--form-default-width)"};
@@ -6636,7 +6688,7 @@ var FormComponent = ({ children, action, values = {}, validate, fullWidth = fals
6636
6688
  }, [values, errors, id, hasSubmitted]);
6637
6689
  return (
6638
6690
  // @ts-expect-error - generic context providers are a giant pain
6639
- /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(FormContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(
6691
+ /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(FormContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(
6640
6692
  Stack,
6641
6693
  {
6642
6694
  gap: "space-05",
@@ -6695,9 +6747,9 @@ var useFormState = (action, initialData = {}) => {
6695
6747
  // src/components/Form/FormErrorSummary.tsx
6696
6748
  var import_react19 = require("react");
6697
6749
  var import_type_guards19 = require("@wistia/type-guards");
6698
- var import_jsx_runtime176 = require("react/jsx-runtime");
6750
+ var import_jsx_runtime177 = require("react/jsx-runtime");
6699
6751
  var ErrorItem = ({ name, error, formId }) => {
6700
- return /* @__PURE__ */ (0, import_jsx_runtime176.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(Link, { href: `${formId}-${name}`, children: error }) }, name);
6752
+ return /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(Link, { href: `${formId}-${name}`, children: error }) }, name);
6701
6753
  };
6702
6754
  var FormErrorSummary = ({ description }) => {
6703
6755
  const ref = (0, import_react19.useRef)(null);
@@ -6706,10 +6758,10 @@ var FormErrorSummary = ({ description }) => {
6706
6758
  if (isValid || !hasSubmitted) {
6707
6759
  return null;
6708
6760
  }
6709
- return /* @__PURE__ */ (0, import_jsx_runtime176.jsxs)("div", { ref, children: [
6710
- /* @__PURE__ */ (0, import_jsx_runtime176.jsx)("p", { children: description }),
6711
- /* @__PURE__ */ (0, import_jsx_runtime176.jsx)("ul", { children: Object.entries(errors).filter(([, error]) => (0, import_type_guards19.isNotUndefined)(error)).map(
6712
- ([name, error]) => (0, import_type_guards19.isArray)(error) ? error.map((err) => /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(
6761
+ return /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)("div", { ref, children: [
6762
+ /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("p", { children: description }),
6763
+ /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("ul", { children: Object.entries(errors).filter(([, error]) => (0, import_type_guards19.isNotUndefined)(error)).map(
6764
+ ([name, error]) => (0, import_type_guards19.isArray)(error) ? error.map((err) => /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(
6713
6765
  ErrorItem,
6714
6766
  {
6715
6767
  error: err,
@@ -6717,7 +6769,7 @@ var FormErrorSummary = ({ description }) => {
6717
6769
  name
6718
6770
  },
6719
6771
  err
6720
- )) : /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(
6772
+ )) : /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(
6721
6773
  ErrorItem,
6722
6774
  {
6723
6775
  error: error ?? "",
@@ -6732,94 +6784,94 @@ var FormErrorSummary = ({ description }) => {
6732
6784
 
6733
6785
  // src/components/FormField/FormField.tsx
6734
6786
  var import_react23 = require("react");
6735
- var import_styled_components34 = __toESM(require("styled-components"));
6787
+ var import_styled_components35 = __toESM(require("styled-components"));
6736
6788
  var import_type_guards20 = require("@wistia/type-guards");
6737
6789
 
6738
6790
  // src/components/Text/Text.tsx
6739
6791
  var import_react20 = require("react");
6740
- var import_styled_components32 = __toESM(require("styled-components"));
6741
- var import_jsx_runtime177 = require("react/jsx-runtime");
6742
- var bodyBoldStyles = import_styled_components32.css`
6792
+ var import_styled_components33 = __toESM(require("styled-components"));
6793
+ var import_jsx_runtime178 = require("react/jsx-runtime");
6794
+ var bodyBoldStyles = import_styled_components33.css`
6743
6795
  > strong,
6744
6796
  b {
6745
6797
  font-weight: var(--wui-typography-weight-body-bold);
6746
6798
  }
6747
6799
  `;
6748
- var labelBoldStyles = import_styled_components32.css`
6800
+ var labelBoldStyles = import_styled_components33.css`
6749
6801
  > strong,
6750
6802
  b {
6751
6803
  font-weight: var(--wui-typography-weight-label-bold);
6752
6804
  }
6753
6805
  `;
6754
- var body1TextStyle = import_styled_components32.css`
6806
+ var body1TextStyle = import_styled_components33.css`
6755
6807
  --font-family: var(--wui-typography-body-1-family);
6756
6808
  --font-size: var(--wui-typography-body-1-size);
6757
6809
  --font-weight: var(--wui-typography-body-1-weight);
6758
6810
  --line-height: var(--wui-typography-body-1-line-height);
6759
6811
  ${bodyBoldStyles}
6760
6812
  `;
6761
- var body2TextStyle = import_styled_components32.css`
6813
+ var body2TextStyle = import_styled_components33.css`
6762
6814
  --font-family: var(--wui-typography-body-2-family);
6763
6815
  --font-size: var(--wui-typography-body-2-size);
6764
6816
  --font-weight: var(--wui-typography-body-2-weight);
6765
6817
  --line-height: var(--wui-typography-body-2-line-height);
6766
6818
  ${bodyBoldStyles}
6767
6819
  `;
6768
- var body3TextStyle = import_styled_components32.css`
6820
+ var body3TextStyle = import_styled_components33.css`
6769
6821
  --font-family: var(--wui-typography-body-3-family);
6770
6822
  --font-size: var(--wui-typography-body-3-size);
6771
6823
  --font-weight: var(--wui-typography-body-3-weight);
6772
6824
  --line-height: var(--wui-typography-body-3-line-height);
6773
6825
  ${bodyBoldStyles}
6774
6826
  `;
6775
- var body4TextStyle = import_styled_components32.css`
6827
+ var body4TextStyle = import_styled_components33.css`
6776
6828
  --font-family: var(--wui-typography-body-4-family);
6777
6829
  --font-size: var(--wui-typography-body-4-size);
6778
6830
  --font-weight: var(--wui-typography-body-4-weight);
6779
6831
  --line-height: var(--wui-typography-body-4-line-height);
6780
6832
  ${bodyBoldStyles}
6781
6833
  `;
6782
- var label1TextStyle = import_styled_components32.css`
6834
+ var label1TextStyle = import_styled_components33.css`
6783
6835
  --font-family: var(--wui-typography-label-1-family);
6784
6836
  --font-size: var(--wui-typography-label-1-size);
6785
6837
  --font-weight: var(--wui-typography-label-1-weight);
6786
6838
  --line-height: var(--wui-typography-label-1-line-height);
6787
6839
  ${labelBoldStyles}
6788
6840
  `;
6789
- var label2TextStyle = import_styled_components32.css`
6841
+ var label2TextStyle = import_styled_components33.css`
6790
6842
  --font-family: var(--wui-typography-label-2-family);
6791
6843
  --font-size: var(--wui-typography-label-2-size);
6792
6844
  --font-weight: var(--wui-typography-label-2-weight);
6793
6845
  --line-height: var(--wui-typography-label-2-line-height);
6794
6846
  ${labelBoldStyles}
6795
6847
  `;
6796
- var label3TextStyle = import_styled_components32.css`
6848
+ var label3TextStyle = import_styled_components33.css`
6797
6849
  --font-family: var(--wui-typography-label-3-family);
6798
6850
  --font-size: var(--wui-typography-label-3-size);
6799
6851
  --font-weight: var(--wui-typography-label-3-weight);
6800
6852
  --line-height: var(--wui-typography-label-3-line-height);
6801
6853
  ${labelBoldStyles}
6802
6854
  `;
6803
- var label4TextStyle = import_styled_components32.css`
6855
+ var label4TextStyle = import_styled_components33.css`
6804
6856
  --font-family: var(--wui-typography-label-4-family);
6805
6857
  --font-size: var(--wui-typography-label-4-size);
6806
6858
  --font-weight: var(--wui-typography-label-4-weight);
6807
6859
  --line-height: var(--wui-typography-label-4-line-height);
6808
6860
  ${labelBoldStyles}
6809
6861
  `;
6810
- var body1MonoTextStyle = import_styled_components32.css`
6862
+ var body1MonoTextStyle = import_styled_components33.css`
6811
6863
  ${body1TextStyle};
6812
6864
  --font-family: var(--wui-typography-family-mono);
6813
6865
  `;
6814
- var body2MonoTextStyle = import_styled_components32.css`
6866
+ var body2MonoTextStyle = import_styled_components33.css`
6815
6867
  ${body2TextStyle};
6816
6868
  --font-family: var(--wui-typography-family-mono);
6817
6869
  `;
6818
- var body3MonoTextStyle = import_styled_components32.css`
6870
+ var body3MonoTextStyle = import_styled_components33.css`
6819
6871
  ${body3TextStyle};
6820
6872
  --font-family: var(--wui-typography-family-mono);
6821
6873
  `;
6822
- var body4MonoTextStyle = import_styled_components32.css`
6874
+ var body4MonoTextStyle = import_styled_components33.css`
6823
6875
  ${body4TextStyle};
6824
6876
  --font-family: var(--wui-typography-family-mono);
6825
6877
  `;
@@ -6837,7 +6889,7 @@ var variantStyleMap2 = {
6837
6889
  label3: label3TextStyle,
6838
6890
  label4: label4TextStyle
6839
6891
  };
6840
- var StyledText = import_styled_components32.default.div`
6892
+ var StyledText = import_styled_components33.default.div`
6841
6893
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
6842
6894
  --text-color: ${({ $prominence, $disabled }) => {
6843
6895
  if ($disabled) {
@@ -6861,19 +6913,19 @@ var StyledText = import_styled_components32.default.div`
6861
6913
  margin: 0;
6862
6914
  ${({ $variant }) => variantStyleMap2[$variant]}
6863
6915
  ${({ $ellipsis }) => $ellipsis && ellipsisStyle};
6864
- ${({ $inline }) => $inline && import_styled_components32.css`
6916
+ ${({ $inline }) => $inline && import_styled_components33.css`
6865
6917
  display: inline-block;
6866
6918
  `}
6867
- ${({ $disabled }) => $disabled && import_styled_components32.css`
6919
+ ${({ $disabled }) => $disabled && import_styled_components33.css`
6868
6920
  --text-color: var(--wui-color-text-disabled);
6869
6921
  `}
6870
- ${({ $preventUserSelect }) => $preventUserSelect && import_styled_components32.css`
6922
+ ${({ $preventUserSelect }) => $preventUserSelect && import_styled_components33.css`
6871
6923
  user-select: none;
6872
6924
  `}
6873
- ${({ $align }) => import_styled_components32.css`
6925
+ ${({ $align }) => import_styled_components33.css`
6874
6926
  text-align: ${$align};
6875
6927
  `}
6876
- ${({ as }) => as === "p" && import_styled_components32.css`
6928
+ ${({ as }) => as === "p" && import_styled_components33.css`
6877
6929
  display: block;
6878
6930
  `}
6879
6931
  `;
@@ -6891,7 +6943,7 @@ var TextComponent = (0, import_react20.forwardRef)(
6891
6943
  renderAs,
6892
6944
  ...otherProps
6893
6945
  }, ref) => {
6894
- return /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(
6946
+ return /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
6895
6947
  StyledText,
6896
6948
  {
6897
6949
  ref,
@@ -6916,25 +6968,25 @@ var Text = makePolymorphic(TextComponent);
6916
6968
  var import_react22 = require("react");
6917
6969
 
6918
6970
  // src/components/FormGroup/FormGroup.tsx
6919
- var import_styled_components33 = __toESM(require("styled-components"));
6971
+ var import_styled_components34 = __toESM(require("styled-components"));
6920
6972
  var import_react21 = require("react");
6921
- var import_jsx_runtime178 = require("react/jsx-runtime");
6922
- var StyledFieldset = import_styled_components33.default.fieldset`
6973
+ var import_jsx_runtime179 = require("react/jsx-runtime");
6974
+ var StyledFieldset = import_styled_components34.default.fieldset`
6923
6975
  border: 0;
6924
6976
  `;
6925
- var StyledLegend = import_styled_components33.default.legend`
6977
+ var StyledLegend = import_styled_components34.default.legend`
6926
6978
  margin-bottom: var(--space-01);
6927
6979
  `;
6928
6980
  var FormGroup = ({ children, label, ...props }) => {
6929
6981
  const ref = (0, import_react21.useRef)();
6930
- return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(
6982
+ return /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(
6931
6983
  Stack,
6932
6984
  {
6933
6985
  ...props,
6934
6986
  ref,
6935
6987
  renderAs: StyledFieldset,
6936
6988
  children: [
6937
- /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(
6989
+ /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(
6938
6990
  Heading,
6939
6991
  {
6940
6992
  renderAs: StyledLegend,
@@ -6950,7 +7002,7 @@ var FormGroup = ({ children, label, ...props }) => {
6950
7002
  FormGroup.displayName = "FormGroup";
6951
7003
 
6952
7004
  // src/components/FormGroup/CheckboxGroup.tsx
6953
- var import_jsx_runtime179 = require("react/jsx-runtime");
7005
+ var import_jsx_runtime180 = require("react/jsx-runtime");
6954
7006
  var CheckboxGroupContext = (0, import_react22.createContext)(null);
6955
7007
  var CheckboxGroup = ({
6956
7008
  children,
@@ -6965,13 +7017,13 @@ var CheckboxGroup = ({
6965
7017
  onChange
6966
7018
  };
6967
7019
  }, [name, onChange]);
6968
- return /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(CheckboxGroupContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(FormGroup, { ...props, children }) });
7020
+ return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(CheckboxGroupContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(FormGroup, { ...props, children }) });
6969
7021
  };
6970
7022
  CheckboxGroup.displayName = "CheckboxGroup";
6971
7023
 
6972
7024
  // src/components/FormField/FormField.tsx
6973
- var import_jsx_runtime180 = require("react/jsx-runtime");
6974
- var StyledFormField = import_styled_components34.default.div`
7025
+ var import_jsx_runtime181 = require("react/jsx-runtime");
7026
+ var StyledFormField = import_styled_components35.default.div`
6975
7027
  --form-field-spacing: var(--wui-space-01);
6976
7028
  --form-field-error-color: var(--wui-color-text-secondary-error);
6977
7029
 
@@ -6979,7 +7031,7 @@ var StyledFormField = import_styled_components34.default.div`
6979
7031
  flex-direction: column;
6980
7032
  gap: var(--form-field-spacing);
6981
7033
  `;
6982
- var StyledErrorList = import_styled_components34.default.ul`
7034
+ var StyledErrorList = import_styled_components35.default.ul`
6983
7035
  margin: 0;
6984
7036
  padding: 0;
6985
7037
  padding-left: var(--wui-space-04);
@@ -6989,7 +7041,7 @@ var StyledErrorList = import_styled_components34.default.ul`
6989
7041
  `;
6990
7042
  var ErrorMessages = ({ errors, id }) => {
6991
7043
  const isMultipleErrors = (0, import_type_guards20.isArray)(errors);
6992
- return isMultipleErrors ? /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(StyledErrorList, { children: errors.map((error, index) => /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(
7044
+ return isMultipleErrors ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(StyledErrorList, { children: errors.map((error, index) => /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
6993
7045
  Text,
6994
7046
  {
6995
7047
  colorScheme: "error",
@@ -6999,7 +7051,7 @@ var ErrorMessages = ({ errors, id }) => {
6999
7051
  children: error
7000
7052
  },
7001
7053
  `${id}-${index}`
7002
- )) }) : /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(
7054
+ )) }) : /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
7003
7055
  Text,
7004
7056
  {
7005
7057
  colorScheme: "error",
@@ -7056,10 +7108,10 @@ var FormField = ({
7056
7108
  };
7057
7109
  }
7058
7110
  import_react23.Children.only(children);
7059
- return /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)(StyledFormField, { ...props, children: [
7060
- !isInlineLabel && /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(Label, { htmlFor: id, children: label }),
7111
+ return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)(StyledFormField, { ...props, children: [
7112
+ !isInlineLabel && /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(Label, { htmlFor: id, children: label }),
7061
7113
  (0, import_react23.cloneElement)(children, childProps),
7062
- (0, import_type_guards20.isNotNil)(computedError) ? /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(
7114
+ (0, import_type_guards20.isNotNil)(computedError) ? /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
7063
7115
  ErrorMessages,
7064
7116
  {
7065
7117
  errors: computedError,
@@ -7072,7 +7124,7 @@ FormField.displayName = "FormField";
7072
7124
 
7073
7125
  // src/components/FormGroup/RadioGroup.tsx
7074
7126
  var import_react24 = require("react");
7075
- var import_jsx_runtime181 = require("react/jsx-runtime");
7127
+ var import_jsx_runtime182 = require("react/jsx-runtime");
7076
7128
  var RadioGroupContext = (0, import_react24.createContext)(null);
7077
7129
  var RadioGroup = ({
7078
7130
  children,
@@ -7087,15 +7139,15 @@ var RadioGroup = ({
7087
7139
  onChange
7088
7140
  };
7089
7141
  }, [name, onChange]);
7090
- return /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(RadioGroupContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(FormGroup, { ...props, children }) });
7142
+ return /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(RadioGroupContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(FormGroup, { ...props, children }) });
7091
7143
  };
7092
7144
  RadioGroup.displayName = "RadioGroup";
7093
7145
 
7094
7146
  // src/components/IconButton/IconButton.tsx
7095
7147
  var import_react25 = require("react");
7096
- var import_styled_components35 = __toESM(require("styled-components"));
7097
- var import_jsx_runtime182 = require("react/jsx-runtime");
7098
- var StyledButton2 = (0, import_styled_components35.default)(Button)`
7148
+ var import_styled_components36 = __toESM(require("styled-components"));
7149
+ var import_jsx_runtime183 = require("react/jsx-runtime");
7150
+ var StyledButton2 = (0, import_styled_components36.default)(Button)`
7099
7151
  --icon-button-size-sm: 24px;
7100
7152
  --icon-button-size-md: 32px;
7101
7153
  --icon-button-size-lg: 40px;
@@ -7112,7 +7164,7 @@ var StyledButton2 = (0, import_styled_components35.default)(Button)`
7112
7164
  var IconButton = (0, import_react25.forwardRef)(
7113
7165
  ({ children, label, size = "md", ...props }, ref) => {
7114
7166
  const responsiveSize = useResponsiveProp(size);
7115
- return /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(
7167
+ return /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(
7116
7168
  StyledButton2,
7117
7169
  {
7118
7170
  ...props,
@@ -7131,10 +7183,10 @@ IconButton.displayName = "IconButton";
7131
7183
 
7132
7184
  // src/components/Input/Input.tsx
7133
7185
  var import_react26 = require("react");
7134
- var import_styled_components36 = __toESM(require("styled-components"));
7186
+ var import_styled_components37 = __toESM(require("styled-components"));
7135
7187
  var import_type_guards21 = require("@wistia/type-guards");
7136
- var import_jsx_runtime183 = require("react/jsx-runtime");
7137
- var inputStyles = import_styled_components36.css`
7188
+ var import_jsx_runtime184 = require("react/jsx-runtime");
7189
+ var inputStyles = import_styled_components37.css`
7138
7190
  --wui-input-color-bg: var(--wui-color-bg-surface);
7139
7191
  --wui-input-color-bg-disabled: var(--wui-color-bg-surface-disabled);
7140
7192
  --wui-input-color-border: var(--wui-color-border);
@@ -7175,7 +7227,7 @@ var inputStyles = import_styled_components36.css`
7175
7227
  }
7176
7228
  }
7177
7229
  `;
7178
- var StyledInputContainer = import_styled_components36.default.div`
7230
+ var StyledInputContainer = import_styled_components37.default.div`
7179
7231
  display: inline-flex;
7180
7232
  position: relative;
7181
7233
  ${inputStyles};
@@ -7219,18 +7271,24 @@ var StyledInputContainer = import_styled_components36.default.div`
7219
7271
  padding-right: 32px;
7220
7272
  }
7221
7273
  `;
7274
+ var isValidRef = (ref) => {
7275
+ return typeof ref === "object" && ref !== null && "current" in ref && (0, import_type_guards21.isNotNil)(ref.current);
7276
+ };
7222
7277
  var Input = (0, import_react26.forwardRef)(
7223
7278
  ({
7224
7279
  fullWidth = false,
7225
7280
  monospace = false,
7226
7281
  type = "text",
7282
+ autoSelect = false,
7227
7283
  leftIcon,
7228
7284
  rightIcon,
7229
7285
  ...props
7230
- }, ref) => {
7286
+ }, externalRef) => {
7287
+ const internalRef = (0, import_react26.useRef)();
7288
+ const ref = isValidRef(externalRef) ? externalRef : internalRef;
7231
7289
  let leftIconToDisplay = leftIcon;
7232
7290
  if ((0, import_type_guards21.isNil)(leftIcon) && type === "search") {
7233
- leftIconToDisplay = /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(Icon, { type: "search" });
7291
+ leftIconToDisplay = /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(Icon, { type: "search" });
7234
7292
  }
7235
7293
  if ((0, import_type_guards21.isNotNil)(leftIconToDisplay)) {
7236
7294
  leftIconToDisplay = (0, import_react26.cloneElement)(leftIconToDisplay, {
@@ -7245,24 +7303,36 @@ var Input = (0, import_react26.forwardRef)(
7245
7303
  className: "wui-input-right-icon"
7246
7304
  });
7247
7305
  }
7248
- return /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)(
7306
+ const handleFocus = (event) => {
7307
+ if ((0, import_type_guards21.isNotNil)(props.onFocus)) {
7308
+ props.onFocus(event);
7309
+ }
7310
+ if (autoSelect && ref && "current" in ref) {
7311
+ requestAnimationFrame(() => {
7312
+ ref.current?.select();
7313
+ });
7314
+ }
7315
+ };
7316
+ return /* @__PURE__ */ (0, import_jsx_runtime184.jsxs)(
7249
7317
  StyledInputContainer,
7250
7318
  {
7251
7319
  $fullWidth: fullWidth,
7252
7320
  $monospace: monospace,
7253
7321
  children: [
7254
7322
  leftIconToDisplay ?? null,
7255
- type === "multiline" ? /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(
7323
+ type === "multiline" ? /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(
7256
7324
  "textarea",
7257
7325
  {
7258
7326
  ...props,
7259
- ref
7327
+ ref,
7328
+ onFocus: handleFocus
7260
7329
  }
7261
- ) : /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(
7330
+ ) : /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(
7262
7331
  "input",
7263
7332
  {
7264
7333
  ...props,
7265
7334
  ref,
7335
+ onFocus: handleFocus,
7266
7336
  type
7267
7337
  }
7268
7338
  ),
@@ -7275,11 +7345,11 @@ var Input = (0, import_react26.forwardRef)(
7275
7345
  Input.displayName = "Input";
7276
7346
 
7277
7347
  // src/components/Menu/Menu.tsx
7278
- var import_styled_components37 = __toESM(require("styled-components"));
7348
+ var import_styled_components38 = __toESM(require("styled-components"));
7279
7349
  var import_react_dropdown_menu = require("@radix-ui/react-dropdown-menu");
7280
7350
  var import_type_guards22 = require("@wistia/type-guards");
7281
- var import_jsx_runtime184 = require("react/jsx-runtime");
7282
- var open = import_styled_components37.keyframes`
7351
+ var import_jsx_runtime185 = require("react/jsx-runtime");
7352
+ var open = import_styled_components38.keyframes`
7283
7353
  from {
7284
7354
  opacity: 0;
7285
7355
  transform: scale(.97) translateY(-8px);
@@ -7289,7 +7359,7 @@ var open = import_styled_components37.keyframes`
7289
7359
  transform: scale(1);
7290
7360
  }
7291
7361
  `;
7292
- var close = import_styled_components37.keyframes`
7362
+ var close = import_styled_components38.keyframes`
7293
7363
  from {
7294
7364
  opacity: 1;
7295
7365
  transform: scale(1);
@@ -7299,7 +7369,7 @@ var close = import_styled_components37.keyframes`
7299
7369
  transform: scale(.97) translateY(-8px);
7300
7370
  }
7301
7371
  `;
7302
- var menuContentCss = import_styled_components37.css`
7372
+ var menuContentCss = import_styled_components38.css`
7303
7373
  --menu-font-family: var(--wui-typography-family-default);
7304
7374
  --menu-bg: var(--wui-color-bg-surface);
7305
7375
  --menu-shadow: 0 0 64px 0 rgba(0 0 0 / 8%); /* TODO - Need a box-shadow token */
@@ -7338,7 +7408,7 @@ var menuContentCss = import_styled_components37.css`
7338
7408
  margin: var(--wui-space-02) 0;
7339
7409
  }
7340
7410
  `;
7341
- var menuItemCss = import_styled_components37.css`
7411
+ var menuItemCss = import_styled_components38.css`
7342
7412
  --menu-label-description-gap: var(--wui-space-01);
7343
7413
  --menu-item-inner-gap: var(--wui-space-03);
7344
7414
  --menu-item-left-icon-size: 24px;
@@ -7348,7 +7418,7 @@ var menuItemCss = import_styled_components37.css`
7348
7418
  --menu-label-font-weight: var(--wui-typography-label-3-weight);
7349
7419
  --menu-label-line-height: var(--wui-typography-label-3-line-height);
7350
7420
  `;
7351
- var compactMenuItemCss = import_styled_components37.css`
7421
+ var compactMenuItemCss = import_styled_components38.css`
7352
7422
  --menu-label-description-gap: 0;
7353
7423
  --menu-item-inner-gap: var(--wui-space-02);
7354
7424
  --menu-item-left-icon-size: 16px;
@@ -7358,7 +7428,7 @@ var compactMenuItemCss = import_styled_components37.css`
7358
7428
  --menu-label-font-weight: var(--wui-typography-label-4-weight);
7359
7429
  --menu-label-line-height: var(--wui-typography-label-4-line-height);
7360
7430
  `;
7361
- var MenuContent = (0, import_styled_components37.default)(import_react_dropdown_menu.DropdownMenuContent)`
7431
+ var MenuContent = (0, import_styled_components38.default)(import_react_dropdown_menu.DropdownMenuContent)`
7362
7432
  ${menuContentCss}
7363
7433
  ${({ $compact }) => $compact ? compactMenuItemCss : menuItemCss}
7364
7434
  `;
@@ -7384,24 +7454,24 @@ var Menu = ({
7384
7454
  onOpenChange: () => null
7385
7455
  };
7386
7456
  }
7387
- return /* @__PURE__ */ (0, import_jsx_runtime184.jsxs)(
7457
+ return /* @__PURE__ */ (0, import_jsx_runtime185.jsxs)(
7388
7458
  import_react_dropdown_menu.DropdownMenu,
7389
7459
  {
7390
7460
  modal: false,
7391
7461
  ...controlProps,
7392
7462
  children: [
7393
- /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(import_react_dropdown_menu.DropdownMenuTrigger, { asChild: true, children: (0, import_type_guards22.isNotUndefined)(trigger) ? trigger : /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(
7463
+ /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(import_react_dropdown_menu.DropdownMenuTrigger, { asChild: true, children: (0, import_type_guards22.isNotUndefined)(trigger) ? trigger : /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
7394
7464
  Button,
7395
7465
  {
7396
7466
  "aria-expanded": isOpen,
7397
7467
  disabled,
7398
7468
  forceState: isOpen ? "active" : void 0,
7399
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(Icon, { type: "caret-down" }),
7469
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(Icon, { type: "caret-down" }),
7400
7470
  ...triggerProps,
7401
7471
  children: label
7402
7472
  }
7403
7473
  ) }),
7404
- /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(import_react_dropdown_menu.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime184.jsx)(
7474
+ /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(import_react_dropdown_menu.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
7405
7475
  MenuContent,
7406
7476
  {
7407
7477
  ...props,
@@ -7421,19 +7491,19 @@ var Menu = ({
7421
7491
  Menu.displayName = "Menu";
7422
7492
 
7423
7493
  // src/components/Menu/MenuLabel.tsx
7424
- var import_styled_components38 = __toESM(require("styled-components"));
7494
+ var import_styled_components39 = __toESM(require("styled-components"));
7425
7495
  var import_react_dropdown_menu2 = require("@radix-ui/react-dropdown-menu");
7426
- var import_jsx_runtime185 = require("react/jsx-runtime");
7427
- var StyledMenuLabel = (0, import_styled_components38.default)(import_react_dropdown_menu2.DropdownMenuLabel)`
7496
+ var import_jsx_runtime186 = require("react/jsx-runtime");
7497
+ var StyledMenuLabel = (0, import_styled_components39.default)(import_react_dropdown_menu2.DropdownMenuLabel)`
7428
7498
  padding: var(--wui-space-02);
7429
7499
  `;
7430
7500
  var MenuLabel = ({ children, ...props }) => {
7431
- return /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
7501
+ return /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(
7432
7502
  StyledMenuLabel,
7433
7503
  {
7434
7504
  asChild: true,
7435
7505
  ...props,
7436
- children: /* @__PURE__ */ (0, import_jsx_runtime185.jsx)(
7506
+ children: /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(
7437
7507
  Heading,
7438
7508
  {
7439
7509
  renderAs: "span",
@@ -7449,16 +7519,16 @@ MenuLabel.displayName = "MenuLabel";
7449
7519
 
7450
7520
  // src/components/Menu/SubMenu.tsx
7451
7521
  var import_react28 = require("react");
7452
- var import_styled_components41 = __toESM(require("styled-components"));
7522
+ var import_styled_components42 = __toESM(require("styled-components"));
7453
7523
  var import_react_dropdown_menu3 = require("@radix-ui/react-dropdown-menu");
7454
7524
  var import_type_guards24 = require("@wistia/type-guards");
7455
7525
 
7456
7526
  // src/components/Menu/MenuItemButton.tsx
7457
7527
  var import_react27 = require("react");
7458
- var import_styled_components39 = __toESM(require("styled-components"));
7528
+ var import_styled_components40 = __toESM(require("styled-components"));
7459
7529
  var import_type_guards23 = require("@wistia/type-guards");
7460
- var import_jsx_runtime186 = require("react/jsx-runtime");
7461
- var StyledButton3 = (0, import_styled_components39.default)(Button)`
7530
+ var import_jsx_runtime187 = require("react/jsx-runtime");
7531
+ var StyledButton3 = (0, import_styled_components40.default)(Button)`
7462
7532
  ${({ colorScheme }) => getColorScheme(colorScheme)};
7463
7533
 
7464
7534
  display: flex;
@@ -7496,7 +7566,7 @@ var StyledButton3 = (0, import_styled_components39.default)(Button)`
7496
7566
  padding-left: var(--wui-space-04);
7497
7567
  }
7498
7568
  `;
7499
- var StyledLeftIconContainer = import_styled_components39.default.div`
7569
+ var StyledLeftIconContainer = import_styled_components40.default.div`
7500
7570
  height: var(--menu-item-left-icon-size);
7501
7571
  width: var(--menu-item-left-icon-size);
7502
7572
 
@@ -7505,7 +7575,7 @@ var StyledLeftIconContainer = import_styled_components39.default.div`
7505
7575
  width: var(--menu-item-left-icon-size);
7506
7576
  }
7507
7577
  `;
7508
- var StyledRightIconContainer = import_styled_components39.default.div`
7578
+ var StyledRightIconContainer = import_styled_components40.default.div`
7509
7579
  height: var(--menu-item-right-icon-size);
7510
7580
  width: var(--menu-item-right-icon-size);
7511
7581
 
@@ -7514,13 +7584,13 @@ var StyledRightIconContainer = import_styled_components39.default.div`
7514
7584
  width: var(--menu-item-right-icon-size);
7515
7585
  }
7516
7586
  `;
7517
- var StyledLabelAndDescriptionContainer = import_styled_components39.default.div`
7587
+ var StyledLabelAndDescriptionContainer = import_styled_components40.default.div`
7518
7588
  display: flex;
7519
7589
  flex-direction: column;
7520
7590
  gap: var(--menu-label-description-gap);
7521
7591
  flex-basis: 100%;
7522
7592
  `;
7523
- var StyledBadgeContainer = import_styled_components39.default.div`
7593
+ var StyledBadgeContainer = import_styled_components40.default.div`
7524
7594
  align-self: start;
7525
7595
  justify-self: end;
7526
7596
  font-size: var(--wui-typography-label-4-size);
@@ -7535,7 +7605,7 @@ var MenuItemButton = (0, import_react27.forwardRef)(({ children, appearance, com
7535
7605
  colorScheme = "error";
7536
7606
  }
7537
7607
  if (appearance === "gated") {
7538
- badge = /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(
7608
+ badge = /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(
7539
7609
  Icon,
7540
7610
  {
7541
7611
  colorScheme: "purple",
@@ -7547,7 +7617,7 @@ var MenuItemButton = (0, import_react27.forwardRef)(({ children, appearance, com
7547
7617
  }
7548
7618
  );
7549
7619
  }
7550
- return /* @__PURE__ */ (0, import_jsx_runtime186.jsxs)(
7620
+ return /* @__PURE__ */ (0, import_jsx_runtime187.jsxs)(
7551
7621
  StyledButton3,
7552
7622
  {
7553
7623
  ...props,
@@ -7557,10 +7627,10 @@ var MenuItemButton = (0, import_react27.forwardRef)(({ children, appearance, com
7557
7627
  fullWidth: true,
7558
7628
  unstyled: true,
7559
7629
  children: [
7560
- props.leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(StyledLeftIconContainer, { children: props.leftIcon }) : null,
7561
- /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(StyledLabelAndDescriptionContainer, { children }),
7562
- (0, import_type_guards23.isNotNil)(badge) || (0, import_type_guards23.isNotNil)(command) ? /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(StyledBadgeContainer, { children: badge ?? command }) : null,
7563
- props.rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime186.jsx)(StyledRightIconContainer, { children: props.rightIcon }) : null
7630
+ props.leftIcon ? /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(StyledLeftIconContainer, { children: props.leftIcon }) : null,
7631
+ /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(StyledLabelAndDescriptionContainer, { children }),
7632
+ (0, import_type_guards23.isNotNil)(badge) || (0, import_type_guards23.isNotNil)(command) ? /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(StyledBadgeContainer, { children: badge ?? command }) : null,
7633
+ props.rightIcon ? /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(StyledRightIconContainer, { children: props.rightIcon }) : null
7564
7634
  ]
7565
7635
  }
7566
7636
  );
@@ -7568,23 +7638,23 @@ var MenuItemButton = (0, import_react27.forwardRef)(({ children, appearance, com
7568
7638
  MenuItemButton.displayName = "MenuItemButton";
7569
7639
 
7570
7640
  // src/components/Menu/MenuItemLabelDescription.tsx
7571
- var import_styled_components40 = __toESM(require("styled-components"));
7572
- var import_jsx_runtime187 = require("react/jsx-runtime");
7573
- var StyledMenuItemLabel = import_styled_components40.default.span``;
7574
- var StyledMenuItemDescription = (0, import_styled_components40.default)(Text).attrs({
7641
+ var import_styled_components41 = __toESM(require("styled-components"));
7642
+ var import_jsx_runtime188 = require("react/jsx-runtime");
7643
+ var StyledMenuItemLabel = import_styled_components41.default.span``;
7644
+ var StyledMenuItemDescription = (0, import_styled_components41.default)(Text).attrs({
7575
7645
  variant: "body4",
7576
7646
  prominence: "secondary"
7577
7647
  })``;
7578
7648
  var MenuItemLabel = ({ children }) => {
7579
- return /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(StyledMenuItemLabel, { children });
7649
+ return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(StyledMenuItemLabel, { children });
7580
7650
  };
7581
7651
  var MenuItemDescription = ({ children }) => {
7582
- return /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(StyledMenuItemDescription, { children });
7652
+ return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(StyledMenuItemDescription, { children });
7583
7653
  };
7584
7654
 
7585
7655
  // src/components/Menu/SubMenu.tsx
7586
- var import_jsx_runtime188 = require("react/jsx-runtime");
7587
- var SubMenuContent = (0, import_styled_components41.default)(import_react_dropdown_menu3.DropdownMenuSubContent)`
7656
+ var import_jsx_runtime189 = require("react/jsx-runtime");
7657
+ var SubMenuContent = (0, import_styled_components42.default)(import_react_dropdown_menu3.DropdownMenuSubContent)`
7588
7658
  ${menuContentCss}
7589
7659
  width: 298px;
7590
7660
 
@@ -7592,10 +7662,10 @@ var SubMenuContent = (0, import_styled_components41.default)(import_react_dropdo
7592
7662
  transform: translateX(-100%) !important;
7593
7663
  }
7594
7664
  `;
7595
- var StyledMobileSubMenuItems = import_styled_components41.default.div`
7665
+ var StyledMobileSubMenuItems = import_styled_components42.default.div`
7596
7666
  margin-left: var(--wui-space-04);
7597
7667
  `;
7598
- var StyledSubTrigger = (0, import_styled_components41.default)(import_react_dropdown_menu3.DropdownMenuSubTrigger)`
7668
+ var StyledSubTrigger = (0, import_styled_components42.default)(import_react_dropdown_menu3.DropdownMenuSubTrigger)`
7599
7669
  outline: none;
7600
7670
 
7601
7671
  &[data-state='open'],
@@ -7606,11 +7676,11 @@ var StyledSubTrigger = (0, import_styled_components41.default)(import_react_drop
7606
7676
  var SubMenuTrigger = (props) => {
7607
7677
  const { isSmAndUp } = useMq();
7608
7678
  const Trigger2 = isSmAndUp ? StyledSubTrigger : import_react_dropdown_menu3.DropdownMenuItem;
7609
- return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(Trigger2, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(
7679
+ return /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(Trigger2, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
7610
7680
  MenuItemButton,
7611
7681
  {
7612
7682
  ...props,
7613
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(Icon, { type: "caret-right" })
7683
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(Icon, { type: "caret-right" })
7614
7684
  }
7615
7685
  ) });
7616
7686
  };
@@ -7623,14 +7693,14 @@ var SubMenu = ({
7623
7693
  }) => {
7624
7694
  const { isSmAndUp } = useMq();
7625
7695
  const [isExpanded, setIsExpanded] = (0, import_react28.useState)(false);
7626
- return isSmAndUp ? /* @__PURE__ */ (0, import_jsx_runtime188.jsxs)(import_react_dropdown_menu3.DropdownMenuSub, { onOpenChange, children: [
7627
- /* @__PURE__ */ (0, import_jsx_runtime188.jsxs)(SubMenuTrigger, { ...props, children: [
7628
- /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(MenuItemLabel, { children: label }),
7629
- (0, import_type_guards24.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(MenuItemDescription, { children: description }) : null
7696
+ return isSmAndUp ? /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)(import_react_dropdown_menu3.DropdownMenuSub, { onOpenChange, children: [
7697
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)(SubMenuTrigger, { ...props, children: [
7698
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(MenuItemLabel, { children: label }),
7699
+ (0, import_type_guards24.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(MenuItemDescription, { children: description }) : null
7630
7700
  ] }),
7631
- /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(import_react_dropdown_menu3.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(SubMenuContent, { children }) })
7632
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime188.jsxs)(import_react_dropdown_menu3.DropdownMenuGroup, { children: [
7633
- /* @__PURE__ */ (0, import_jsx_runtime188.jsxs)(
7701
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(import_react_dropdown_menu3.DropdownMenuPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(SubMenuContent, { children }) })
7702
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)(import_react_dropdown_menu3.DropdownMenuGroup, { children: [
7703
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)(
7634
7704
  SubMenuTrigger,
7635
7705
  {
7636
7706
  ...props,
@@ -7639,12 +7709,12 @@ var SubMenu = ({
7639
7709
  setIsExpanded((prev) => !prev);
7640
7710
  },
7641
7711
  children: [
7642
- /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(MenuItemLabel, { children: label }),
7643
- /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(MenuItemDescription, { children: description })
7712
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(MenuItemLabel, { children: label }),
7713
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(MenuItemDescription, { children: description })
7644
7714
  ]
7645
7715
  }
7646
7716
  ),
7647
- /* @__PURE__ */ (0, import_jsx_runtime188.jsx)(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
7717
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
7648
7718
  ] });
7649
7719
  };
7650
7720
  SubMenu.displayName = "SubMenu";
@@ -7652,15 +7722,15 @@ SubMenu.displayName = "SubMenu";
7652
7722
  // src/components/Menu/MenuItem.tsx
7653
7723
  var import_react29 = require("react");
7654
7724
  var import_react_dropdown_menu4 = require("@radix-ui/react-dropdown-menu");
7655
- var import_jsx_runtime189 = require("react/jsx-runtime");
7725
+ var import_jsx_runtime190 = require("react/jsx-runtime");
7656
7726
  var MenuItem = (0, import_react29.forwardRef)(
7657
7727
  ({ onSelect = () => null, ...props }, ref) => {
7658
- return /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
7728
+ return /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
7659
7729
  import_react_dropdown_menu4.DropdownMenuItem,
7660
7730
  {
7661
7731
  asChild: true,
7662
7732
  onSelect,
7663
- children: /* @__PURE__ */ (0, import_jsx_runtime189.jsx)(
7733
+ children: /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(
7664
7734
  MenuItemButton,
7665
7735
  {
7666
7736
  ...props,
@@ -7676,10 +7746,10 @@ MenuItem.displayName = "MenuItem";
7676
7746
 
7677
7747
  // src/components/Menu/MenuRadioGroup.tsx
7678
7748
  var import_react_dropdown_menu5 = require("@radix-ui/react-dropdown-menu");
7679
- var import_jsx_runtime190 = require("react/jsx-runtime");
7749
+ var import_jsx_runtime191 = require("react/jsx-runtime");
7680
7750
  var MenuRadioGroup = ({ children, label, ...props }) => {
7681
- return /* @__PURE__ */ (0, import_jsx_runtime190.jsxs)(import_react_dropdown_menu5.DropdownMenuRadioGroup, { ...props, children: [
7682
- /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(MenuLabel, { children: label }),
7751
+ return /* @__PURE__ */ (0, import_jsx_runtime191.jsxs)(import_react_dropdown_menu5.DropdownMenuRadioGroup, { ...props, children: [
7752
+ /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(MenuLabel, { children: label }),
7683
7753
  children
7684
7754
  ] });
7685
7755
  };
@@ -7687,11 +7757,11 @@ MenuRadioGroup.displayName = "MenuRadioGroup";
7687
7757
 
7688
7758
  // src/components/Menu/RadioMenuItem.tsx
7689
7759
  var import_react_dropdown_menu6 = require("@radix-ui/react-dropdown-menu");
7690
- var import_jsx_runtime191 = require("react/jsx-runtime");
7760
+ var import_jsx_runtime192 = require("react/jsx-runtime");
7691
7761
  var RadioMenuItem = ({
7692
7762
  onSelect,
7693
7763
  value,
7694
- indicator = /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(
7764
+ indicator = /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
7695
7765
  Icon,
7696
7766
  {
7697
7767
  size: "sm",
@@ -7701,17 +7771,17 @@ var RadioMenuItem = ({
7701
7771
  ...props
7702
7772
  }) => {
7703
7773
  const extraProps = onSelect ? { onSelect } : {};
7704
- return /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(
7774
+ return /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
7705
7775
  import_react_dropdown_menu6.DropdownMenuRadioItem,
7706
7776
  {
7707
7777
  ...extraProps,
7708
7778
  asChild: true,
7709
7779
  value,
7710
- children: /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(
7780
+ children: /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
7711
7781
  MenuItemButton,
7712
7782
  {
7713
7783
  ...props,
7714
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(import_react_dropdown_menu6.DropdownMenuItemIndicator, { children: indicator })
7784
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(import_react_dropdown_menu6.DropdownMenuItemIndicator, { children: indicator })
7715
7785
  }
7716
7786
  )
7717
7787
  }
@@ -7721,9 +7791,9 @@ RadioMenuItem.displayName = "RadioMenuItem";
7721
7791
 
7722
7792
  // src/components/Menu/CheckboxMenuItem.tsx
7723
7793
  var import_react_dropdown_menu7 = require("@radix-ui/react-dropdown-menu");
7724
- var import_jsx_runtime192 = require("react/jsx-runtime");
7794
+ var import_jsx_runtime193 = require("react/jsx-runtime");
7725
7795
  var CheckboxIndicator2 = ({ checked, ...props }) => {
7726
- return checked ? /* @__PURE__ */ (0, import_jsx_runtime192.jsxs)(
7796
+ return checked ? /* @__PURE__ */ (0, import_jsx_runtime193.jsxs)(
7727
7797
  "svg",
7728
7798
  {
7729
7799
  ...props,
@@ -7733,14 +7803,14 @@ var CheckboxIndicator2 = ({ checked, ...props }) => {
7733
7803
  width: "24",
7734
7804
  xmlns: "http://www.w3.org/2000/svg",
7735
7805
  children: [
7736
- /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
7806
+ /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
7737
7807
  "path",
7738
7808
  {
7739
7809
  d: "m4 8c0-2.20914 1.79086-4 4-4h8c2.2091 0 4 1.79086 4 4v8c0 2.2091-1.7909 4-4 4h-8c-2.20914 0-4-1.7909-4-4z",
7740
7810
  fill: "#2949e5"
7741
7811
  }
7742
7812
  ),
7743
- /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
7813
+ /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
7744
7814
  "path",
7745
7815
  {
7746
7816
  d: "m10.4728 15.1931-3.09523-3.1131c-.18596-.187-.18596-.4902 0-.6773l.67341-.6773c.18596-.187.48749-.187.67344 0l2.08508 2.0971 4.4661-4.49174c.1859-.18703.4875-.18703.6734 0l.6734.67731c.186.18703.186.49027 0 .67731l-5.4762 5.50772c-.1859.187-.4874.187-.6734 0z",
@@ -7749,7 +7819,7 @@ var CheckboxIndicator2 = ({ checked, ...props }) => {
7749
7819
  )
7750
7820
  ]
7751
7821
  }
7752
- ) : /* @__PURE__ */ (0, import_jsx_runtime192.jsxs)(
7822
+ ) : /* @__PURE__ */ (0, import_jsx_runtime193.jsxs)(
7753
7823
  "svg",
7754
7824
  {
7755
7825
  ...props,
@@ -7759,14 +7829,14 @@ var CheckboxIndicator2 = ({ checked, ...props }) => {
7759
7829
  width: "24",
7760
7830
  xmlns: "http://www.w3.org/2000/svg",
7761
7831
  children: [
7762
- /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
7832
+ /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
7763
7833
  "path",
7764
7834
  {
7765
7835
  d: "m8 4.5h8c1.933 0 3.5 1.567 3.5 3.5v8c0 1.933-1.567 3.5-3.5 3.5h-8c-1.933 0-3.5-1.567-3.5-3.5v-8c0-1.933 1.567-3.5 3.5-3.5z",
7766
7836
  fill: "#fcfcfd"
7767
7837
  }
7768
7838
  ),
7769
- /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
7839
+ /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
7770
7840
  "path",
7771
7841
  {
7772
7842
  d: "m8 4.5h8c1.933 0 3.5 1.567 3.5 3.5v8c0 1.933-1.567 3.5-3.5 3.5h-8c-1.933 0-3.5-1.567-3.5-3.5v-8c0-1.933 1.567-3.5 3.5-3.5z",
@@ -7783,18 +7853,18 @@ var CheckboxMenuItem = ({
7783
7853
  onCheckedChange,
7784
7854
  ...props
7785
7855
  }) => {
7786
- return /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
7856
+ return /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
7787
7857
  import_react_dropdown_menu7.DropdownMenuCheckboxItem,
7788
7858
  {
7789
7859
  asChild: true,
7790
7860
  checked,
7791
7861
  onCheckedChange,
7792
7862
  onSelect,
7793
- children: /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(
7863
+ children: /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
7794
7864
  MenuItemButton,
7795
7865
  {
7796
7866
  ...props,
7797
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(CheckboxIndicator2, { checked })
7867
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(CheckboxIndicator2, { checked })
7798
7868
  }
7799
7869
  )
7800
7870
  }
@@ -7804,39 +7874,39 @@ CheckboxMenuItem.displayName = "CheckboxMenuItem";
7804
7874
 
7805
7875
  // src/components/Modal/Modal.tsx
7806
7876
  var import_react33 = require("react");
7807
- var import_styled_components47 = __toESM(require("styled-components"));
7877
+ var import_styled_components48 = __toESM(require("styled-components"));
7808
7878
  var import_react_dialog4 = require("@radix-ui/react-dialog");
7809
7879
  var import_type_guards27 = require("@wistia/type-guards");
7810
7880
 
7811
7881
  // src/components/Modal/ModalHeader.tsx
7812
- var import_styled_components44 = __toESM(require("styled-components"));
7882
+ var import_styled_components45 = __toESM(require("styled-components"));
7813
7883
  var import_react_dialog2 = require("@radix-ui/react-dialog");
7814
7884
 
7815
7885
  // src/components/Modal/ModalCloseButton.tsx
7816
- var import_styled_components42 = __toESM(require("styled-components"));
7886
+ var import_styled_components43 = __toESM(require("styled-components"));
7817
7887
  var import_react_dialog = require("@radix-ui/react-dialog");
7818
- var import_jsx_runtime193 = require("react/jsx-runtime");
7819
- var CloseButton = (0, import_styled_components42.default)(import_react_dialog.Close)`
7888
+ var import_jsx_runtime194 = require("react/jsx-runtime");
7889
+ var CloseButton = (0, import_styled_components43.default)(import_react_dialog.Close)`
7820
7890
  align-self: start;
7821
7891
  `;
7822
7892
  var ModalCloseButton = () => {
7823
- return /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(CloseButton, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
7893
+ return /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(CloseButton, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(
7824
7894
  IconButton,
7825
7895
  {
7826
7896
  label: "Dismiss modal",
7827
7897
  size: "sm",
7828
7898
  variant: "ghost",
7829
- children: /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(Icon, { type: "close" })
7899
+ children: /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(Icon, { type: "close" })
7830
7900
  }
7831
7901
  ) });
7832
7902
  };
7833
7903
 
7834
7904
  // src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
7835
- var import_styled_components43 = __toESM(require("styled-components"));
7905
+ var import_styled_components44 = __toESM(require("styled-components"));
7836
7906
  var import_type_guards25 = require("@wistia/type-guards");
7837
- var import_jsx_runtime194 = require("react/jsx-runtime");
7838
- var VisuallyHidden = import_styled_components43.default.div({ ...visuallyHiddenStyle });
7839
- var VisuallyHiddenButFocusable = import_styled_components43.default.div({
7907
+ var import_jsx_runtime195 = require("react/jsx-runtime");
7908
+ var VisuallyHidden = import_styled_components44.default.div({ ...visuallyHiddenStyle });
7909
+ var VisuallyHiddenButFocusable = import_styled_components44.default.div({
7840
7910
  "&:not(:focus-within)": visuallyHiddenStyle
7841
7911
  });
7842
7912
  var ScreenReaderOnly = ({
@@ -7847,15 +7917,15 @@ var ScreenReaderOnly = ({
7847
7917
  }) => {
7848
7918
  const accessibleText = (0, import_type_guards25.isNotNil)(text) ? text : children;
7849
7919
  if (focusable) {
7850
- return /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(VisuallyHiddenButFocusable, { ...otherProps, children: accessibleText });
7920
+ return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(VisuallyHiddenButFocusable, { ...otherProps, children: accessibleText });
7851
7921
  }
7852
- return /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(VisuallyHidden, { ...otherProps, children: accessibleText });
7922
+ return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(VisuallyHidden, { ...otherProps, children: accessibleText });
7853
7923
  };
7854
7924
  ScreenReaderOnly.displayName = "ScreenReaderOnly";
7855
7925
 
7856
7926
  // src/components/Modal/ModalHeader.tsx
7857
- var import_jsx_runtime195 = require("react/jsx-runtime");
7858
- var Header = import_styled_components44.default.header`
7927
+ var import_jsx_runtime196 = require("react/jsx-runtime");
7928
+ var Header = import_styled_components45.default.header`
7859
7929
  display: flex;
7860
7930
  order: 1;
7861
7931
  gap: var(--wui-space-01);
@@ -7867,7 +7937,7 @@ var Header = import_styled_components44.default.header`
7867
7937
  margin-top: 0;
7868
7938
  }
7869
7939
  `;
7870
- var Title = (0, import_styled_components44.default)(import_react_dialog2.Title)`
7940
+ var Title = (0, import_styled_components45.default)(import_react_dialog2.Title)`
7871
7941
  font-family: var(--wui-typography-heading-2-family);
7872
7942
  line-height: var(--wui-typography-heading-2-line-height);
7873
7943
  font-size: var(--wui-typography-heading-2-size);
@@ -7879,15 +7949,15 @@ var ModalHeader = ({
7879
7949
  hideCloseButton
7880
7950
  }) => {
7881
7951
  const TitleWrapper = hideTitle ? ScreenReaderOnly : Title;
7882
- return /* @__PURE__ */ (0, import_jsx_runtime195.jsxs)(Header, { children: [
7883
- /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(TitleWrapper, { children: title }),
7884
- hideCloseButton ? null : /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(ModalCloseButton, {})
7952
+ return /* @__PURE__ */ (0, import_jsx_runtime196.jsxs)(Header, { children: [
7953
+ /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(TitleWrapper, { children: title }),
7954
+ hideCloseButton ? null : /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(ModalCloseButton, {})
7885
7955
  ] });
7886
7956
  };
7887
7957
 
7888
7958
  // src/components/Modal/ModalContent.tsx
7889
7959
  var import_react31 = require("react");
7890
- var import_styled_components45 = __toESM(require("styled-components"));
7960
+ var import_styled_components46 = __toESM(require("styled-components"));
7891
7961
  var import_react_dialog3 = require("@radix-ui/react-dialog");
7892
7962
 
7893
7963
  // src/private/hooks/useFocusRestore/useFocusRestore.ts
@@ -7910,8 +7980,8 @@ var useFocusRestore = () => {
7910
7980
  };
7911
7981
 
7912
7982
  // src/components/Modal/ModalContent.tsx
7913
- var import_jsx_runtime196 = require("react/jsx-runtime");
7914
- var StyledModalContent = (0, import_styled_components45.default)(import_react_dialog3.Content)`
7983
+ var import_jsx_runtime197 = require("react/jsx-runtime");
7984
+ var StyledModalContent = (0, import_styled_components46.default)(import_react_dialog3.Content)`
7915
7985
  background-color: var(--wui-color-bg-app);
7916
7986
  box-sizing: border-box;
7917
7987
  display: flex;
@@ -7954,7 +8024,7 @@ var StyledModalContent = (0, import_styled_components45.default)(import_react_di
7954
8024
  var ModalContent = (0, import_react31.forwardRef)(
7955
8025
  ({ fullHeight, width, children, ...otherProps }, ref) => {
7956
8026
  useFocusRestore();
7957
- return /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(
8027
+ return /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(
7958
8028
  StyledModalContent,
7959
8029
  {
7960
8030
  ref,
@@ -7969,8 +8039,8 @@ var ModalContent = (0, import_react31.forwardRef)(
7969
8039
 
7970
8040
  // src/private/components/Backdrop/Backdrop.tsx
7971
8041
  var import_react32 = require("react");
7972
- var import_styled_components46 = __toESM(require("styled-components"));
7973
- var import_jsx_runtime197 = require("react/jsx-runtime");
8042
+ var import_styled_components47 = __toESM(require("styled-components"));
8043
+ var import_jsx_runtime198 = require("react/jsx-runtime");
7974
8044
  var backdropAnimationDuration = 150;
7975
8045
  var alignVerticalMap = {
7976
8046
  stretch: "normal",
@@ -7983,7 +8053,7 @@ var alignHorizontalMap = {
7983
8053
  center: "center",
7984
8054
  right: "end"
7985
8055
  };
7986
- var BackdropComponent = import_styled_components46.default.div`
8056
+ var BackdropComponent = import_styled_components47.default.div`
7987
8057
  align-items: ${({ $alignVertical }) => alignVerticalMap[$alignVertical]};
7988
8058
  animation-name: backdropShow;
7989
8059
  animation-duration: ${() => `${backdropAnimationDuration}ms`};
@@ -8007,7 +8077,7 @@ var BackdropComponent = import_styled_components46.default.div`
8007
8077
  }
8008
8078
  `;
8009
8079
  var Backdrop = (0, import_react32.forwardRef)(
8010
- ({ alignHorizontal = "center", alignVertical = "center", children, ...otherProps }, ref) => /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(
8080
+ ({ alignHorizontal = "center", alignVertical = "center", children, ...otherProps }, ref) => /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
8011
8081
  BackdropComponent,
8012
8082
  {
8013
8083
  ref,
@@ -8021,8 +8091,8 @@ var Backdrop = (0, import_react32.forwardRef)(
8021
8091
  Backdrop.displayName = "Backdrop";
8022
8092
 
8023
8093
  // src/components/Modal/Modal.tsx
8024
- var import_jsx_runtime198 = require("react/jsx-runtime");
8025
- var ModalBody = import_styled_components47.default.div`
8094
+ var import_jsx_runtime199 = require("react/jsx-runtime");
8095
+ var ModalBody = import_styled_components48.default.div`
8026
8096
  flex-direction: column;
8027
8097
  display: flex;
8028
8098
  order: 2;
@@ -8040,7 +8110,7 @@ var Modal = (0, import_react33.forwardRef)(
8040
8110
  width,
8041
8111
  ...props
8042
8112
  }, ref) => {
8043
- return /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
8113
+ return /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
8044
8114
  import_react_dialog4.Root,
8045
8115
  {
8046
8116
  onOpenChange: (open2) => {
@@ -8049,9 +8119,9 @@ var Modal = (0, import_react33.forwardRef)(
8049
8119
  }
8050
8120
  },
8051
8121
  open: isOpen,
8052
- children: /* @__PURE__ */ (0, import_jsx_runtime198.jsxs)(import_react_dialog4.Portal, { children: [
8053
- /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(Backdrop, {}),
8054
- /* @__PURE__ */ (0, import_jsx_runtime198.jsxs)(
8122
+ children: /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)(import_react_dialog4.Portal, { children: [
8123
+ /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(Backdrop, {}),
8124
+ /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)(
8055
8125
  ModalContent,
8056
8126
  {
8057
8127
  ref,
@@ -8068,8 +8138,8 @@ var Modal = (0, import_react33.forwardRef)(
8068
8138
  width,
8069
8139
  ...props,
8070
8140
  children: [
8071
- /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(ModalBody, { children }),
8072
- /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
8141
+ /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(ModalBody, { children }),
8142
+ /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
8073
8143
  ModalHeader,
8074
8144
  {
8075
8145
  hideCloseButton,
@@ -8089,15 +8159,15 @@ Modal.displayName = "Modal";
8089
8159
 
8090
8160
  // src/components/Radio/Radio.tsx
8091
8161
  var import_react34 = require("react");
8092
- var import_styled_components48 = __toESM(require("styled-components"));
8162
+ var import_styled_components49 = __toESM(require("styled-components"));
8093
8163
  var import_type_guards28 = require("@wistia/type-guards");
8094
- var import_jsx_runtime199 = require("react/jsx-runtime");
8095
- var StyledLabelWrapper2 = import_styled_components48.default.div`
8164
+ var import_jsx_runtime200 = require("react/jsx-runtime");
8165
+ var StyledLabelWrapper2 = import_styled_components49.default.div`
8096
8166
  display: flex;
8097
8167
  flex-direction: column;
8098
8168
  padding-left: var(--wui-space-02);
8099
8169
  `;
8100
- var StyledRadio = import_styled_components48.default.input`
8170
+ var StyledRadio = import_styled_components49.default.input`
8101
8171
  box-shadow: ${({ type }) => type === "checkbox" ? "inset 0 0.5px 1.5px 0 rgba(0, 0, 0, 0.38)" : "none"};
8102
8172
  appearance: none;
8103
8173
  margin: 0;
@@ -8123,11 +8193,11 @@ var StyledRadio = import_styled_components48.default.input`
8123
8193
  transform: scale(1);
8124
8194
  }
8125
8195
  `;
8126
- var disabledStyle2 = import_styled_components48.css`
8196
+ var disabledStyle2 = import_styled_components49.css`
8127
8197
  cursor: not-allowed;
8128
8198
  opacity: 0.5;
8129
8199
  `;
8130
- var errorStyle = import_styled_components48.css`
8200
+ var errorStyle = import_styled_components49.css`
8131
8201
  /* TODO Lamp to design error state */
8132
8202
  &:hover,
8133
8203
  &:focus,
@@ -8135,11 +8205,11 @@ var errorStyle = import_styled_components48.css`
8135
8205
  border-color: transparent !important;
8136
8206
  }
8137
8207
  `;
8138
- var defaultHoverStyle = import_styled_components48.css`
8208
+ var defaultHoverStyle = import_styled_components49.css`
8139
8209
  /* TODO Lamp to design hover state */
8140
8210
  cursor: pointer;
8141
8211
  `;
8142
- var StyledRadioWrapper = import_styled_components48.default.div`
8212
+ var StyledRadioWrapper = import_styled_components49.default.div`
8143
8213
  align-items: baseline;
8144
8214
  border: 1px solid transparent;
8145
8215
  border-radius: 4px;
@@ -8177,13 +8247,13 @@ var Radio = (0, import_react34.forwardRef)(
8177
8247
  }, ref) => {
8178
8248
  const generatedId = (0, import_react34.useId)();
8179
8249
  const computedId = (0, import_type_guards28.isNonEmptyString)(id) ? id : `ui-radio-${generatedId}`;
8180
- return /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)(
8250
+ return /* @__PURE__ */ (0, import_jsx_runtime200.jsxs)(
8181
8251
  StyledRadioWrapper,
8182
8252
  {
8183
8253
  "aria-invalid": otherProps["aria-invalid"],
8184
8254
  disabled,
8185
8255
  children: [
8186
- /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
8256
+ /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
8187
8257
  StyledRadio,
8188
8258
  {
8189
8259
  ref,
@@ -8198,8 +8268,8 @@ var Radio = (0, import_react34.forwardRef)(
8198
8268
  ...otherProps
8199
8269
  }
8200
8270
  ),
8201
- /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)(StyledLabelWrapper2, { children: [
8202
- /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(
8271
+ /* @__PURE__ */ (0, import_jsx_runtime200.jsxs)(StyledLabelWrapper2, { children: [
8272
+ /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
8203
8273
  Label,
8204
8274
  {
8205
8275
  disabled,
@@ -8208,7 +8278,7 @@ var Radio = (0, import_react34.forwardRef)(
8208
8278
  children: label
8209
8279
  }
8210
8280
  ),
8211
- /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(LabelDescription, { children: description })
8281
+ /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(LabelDescription, { children: description })
8212
8282
  ] })
8213
8283
  ]
8214
8284
  }
@@ -8219,10 +8289,10 @@ Radio.displayName = "Radio";
8219
8289
 
8220
8290
  // src/components/Tag/Tag.tsx
8221
8291
  var import_react35 = require("react");
8222
- var import_styled_components49 = __toESM(require("styled-components"));
8292
+ var import_styled_components50 = __toESM(require("styled-components"));
8223
8293
  var import_type_guards29 = require("@wistia/type-guards");
8224
- var import_jsx_runtime200 = require("react/jsx-runtime");
8225
- var TagLabel = import_styled_components49.default.a`
8294
+ var import_jsx_runtime201 = require("react/jsx-runtime");
8295
+ var TagLabel = import_styled_components50.default.a`
8226
8296
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8227
8297
  font-size: var(--wui-typography-label-4-size);
8228
8298
  font-weight: var(--wui-typography-label-4-weight);
@@ -8250,14 +8320,14 @@ var TagLabel = import_styled_components49.default.a`
8250
8320
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
8251
8321
  }
8252
8322
  `;
8253
- var TagDivider = import_styled_components49.default.div`
8323
+ var TagDivider = import_styled_components50.default.div`
8254
8324
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8255
8325
  border-left: 1px solid var(--wui-color-border);
8256
8326
  display: flex;
8257
8327
  height: 14px;
8258
8328
  width: 1px;
8259
8329
  `;
8260
- var StyledRemoveButton = import_styled_components49.default.button`
8330
+ var StyledRemoveButton = import_styled_components50.default.button`
8261
8331
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8262
8332
  all: unset;
8263
8333
  cursor: pointer;
@@ -8285,7 +8355,7 @@ var StyledRemoveButton = import_styled_components49.default.button`
8285
8355
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
8286
8356
  }
8287
8357
  `;
8288
- var StyledTag = import_styled_components49.default.div`
8358
+ var StyledTag = import_styled_components50.default.div`
8289
8359
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8290
8360
  align-items: center;
8291
8361
  background-color: var(--wui-color-bg-surface-secondary);
@@ -8302,23 +8372,23 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
8302
8372
  "for accessibility, onClickRemoveLabel must be provided if onClickRemove is provided"
8303
8373
  );
8304
8374
  }
8305
- return /* @__PURE__ */ (0, import_jsx_runtime200.jsxs)(import_jsx_runtime200.Fragment, { children: [
8306
- /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(TagDivider, { $colorScheme: colorScheme }),
8307
- /* @__PURE__ */ (0, import_jsx_runtime200.jsxs)(
8375
+ return /* @__PURE__ */ (0, import_jsx_runtime201.jsxs)(import_jsx_runtime201.Fragment, { children: [
8376
+ /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(TagDivider, { $colorScheme: colorScheme }),
8377
+ /* @__PURE__ */ (0, import_jsx_runtime201.jsxs)(
8308
8378
  StyledRemoveButton,
8309
8379
  {
8310
8380
  $colorScheme: colorScheme,
8311
8381
  onClick: onClickRemove,
8312
8382
  type: "button",
8313
8383
  children: [
8314
- /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
8384
+ /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
8315
8385
  Icon,
8316
8386
  {
8317
8387
  size: "sm",
8318
8388
  type: "close"
8319
8389
  }
8320
8390
  ),
8321
- /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(ScreenReaderOnly, { children: onClickRemoveLabel })
8391
+ /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(ScreenReaderOnly, { children: onClickRemoveLabel })
8322
8392
  ]
8323
8393
  }
8324
8394
  )
@@ -8327,14 +8397,14 @@ var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
8327
8397
  var Tag = (0, import_react35.forwardRef)(
8328
8398
  ({ onClickRemove, colorScheme = "inherit", href, label, onClickRemoveLabel, ...otherProps }, ref) => {
8329
8399
  const labelProps = (0, import_type_guards29.isNotNil)(href) && (0, import_type_guards29.isNonEmptyString)(href) ? { href, as: "a" } : { as: "span" };
8330
- return /* @__PURE__ */ (0, import_jsx_runtime200.jsxs)(
8400
+ return /* @__PURE__ */ (0, import_jsx_runtime201.jsxs)(
8331
8401
  StyledTag,
8332
8402
  {
8333
8403
  ref,
8334
8404
  $colorScheme: colorScheme,
8335
8405
  ...otherProps,
8336
8406
  children: [
8337
- /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
8407
+ /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
8338
8408
  TagLabel,
8339
8409
  {
8340
8410
  ...labelProps,
@@ -8342,7 +8412,7 @@ var Tag = (0, import_react35.forwardRef)(
8342
8412
  children: label
8343
8413
  }
8344
8414
  ),
8345
- /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(
8415
+ /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
8346
8416
  RemoveButton,
8347
8417
  {
8348
8418
  colorScheme,
@@ -8359,16 +8429,16 @@ Tag.displayName = "Tag";
8359
8429
 
8360
8430
  // src/components/Tooltip/Tooltip.tsx
8361
8431
  var import_react_tooltip2 = require("@radix-ui/react-tooltip");
8362
- var import_styled_components50 = __toESM(require("styled-components"));
8363
- var import_jsx_runtime201 = require("react/jsx-runtime");
8364
- var CompactTooltipStyles = import_styled_components50.css`
8432
+ var import_styled_components51 = __toESM(require("styled-components"));
8433
+ var import_jsx_runtime202 = require("react/jsx-runtime");
8434
+ var CompactTooltipStyles = import_styled_components51.css`
8365
8435
  --tooltip-font-size: var(--wui-typography-label-4-size);
8366
8436
  --tooltip-line-height: var(--wui-typography-label-4-line-height);
8367
8437
  --tooltip-font-weight: var(--wui-typography-label-4-weight);
8368
8438
  --tooltip-horizontal-padding: var(--wui-space-02);
8369
8439
  --tooltip-vertical-padding: var(--wui-space-03);
8370
8440
  `;
8371
- var StyledContent = (0, import_styled_components50.default)(import_react_tooltip2.Content)`
8441
+ var StyledContent = (0, import_styled_components51.default)(import_react_tooltip2.Content)`
8372
8442
  --tooltip-font-family: var(--wui-typography-family-default);
8373
8443
  --tooltip-border-radius: var(--wui-border-radius-05);
8374
8444
  --tooltip-bg: var(--wui-color-bg-tooltip);
@@ -8426,14 +8496,14 @@ var Tooltip = ({
8426
8496
  if (forceOpen === true) {
8427
8497
  rootProps.open = true;
8428
8498
  }
8429
- return /* @__PURE__ */ (0, import_jsx_runtime201.jsxs)(
8499
+ return /* @__PURE__ */ (0, import_jsx_runtime202.jsxs)(
8430
8500
  import_react_tooltip2.Root,
8431
8501
  {
8432
8502
  delayDuration: delay,
8433
8503
  ...rootProps,
8434
8504
  children: [
8435
- /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(import_react_tooltip2.Trigger, { asChild: true, children }),
8436
- /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(import_react_tooltip2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime201.jsxs)(
8505
+ /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(import_react_tooltip2.Trigger, { asChild: true, children }),
8506
+ /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(import_react_tooltip2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime202.jsxs)(
8437
8507
  StyledContent,
8438
8508
  {
8439
8509
  $compact: compact,
@@ -8441,7 +8511,7 @@ var Tooltip = ({
8441
8511
  sideOffset: hideArrow ? VISUAL_OFFSET : VISUAL_OFFSET - 2,
8442
8512
  children: [
8443
8513
  content,
8444
- !hideArrow ? /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(import_react_tooltip2.Arrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
8514
+ !hideArrow ? /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(import_react_tooltip2.Arrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(
8445
8515
  "svg",
8446
8516
  {
8447
8517
  fill: "var(--tooltip-bg)",
@@ -8450,7 +8520,7 @@ var Tooltip = ({
8450
8520
  viewBox: "0 0 12 8",
8451
8521
  width: "12",
8452
8522
  xmlns: "http://www.w3.org/2000/svg",
8453
- children: /* @__PURE__ */ (0, import_jsx_runtime201.jsx)("path", { d: "M6.8 6.93333C6.4 7.46667 5.6 7.46667 5.2 6.93333L-2.54292e-07 -1.04907e-06L12 0L6.8 6.93333Z" })
8523
+ children: /* @__PURE__ */ (0, import_jsx_runtime202.jsx)("path", { d: "M6.8 6.93333C6.4 7.46667 5.6 7.46667 5.2 6.93333L-2.54292e-07 -1.04907e-06L12 0L6.8 6.93333Z" })
8454
8524
  }
8455
8525
  ) }) : null
8456
8526
  ]
@@ -8463,26 +8533,26 @@ var Tooltip = ({
8463
8533
  Tooltip.displayName = "Tooltip";
8464
8534
 
8465
8535
  // src/components/WistiaLogo/WistiaLogo.tsx
8466
- var import_styled_components51 = __toESM(require("styled-components"));
8536
+ var import_styled_components52 = __toESM(require("styled-components"));
8467
8537
  var import_type_guards30 = require("@wistia/type-guards");
8468
- var import_jsx_runtime202 = require("react/jsx-runtime");
8538
+ var import_jsx_runtime203 = require("react/jsx-runtime");
8469
8539
  var renderBrandmark = (brandmarkColor, iconOnly) => {
8470
8540
  if (iconOnly) {
8471
- return /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(
8541
+ return /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(
8472
8542
  "g",
8473
8543
  {
8474
8544
  "data-testid": "ui-wistia-logo-brandmark",
8475
8545
  fill: brandmarkColor,
8476
- children: /* @__PURE__ */ (0, import_jsx_runtime202.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" })
8546
+ children: /* @__PURE__ */ (0, import_jsx_runtime203.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" })
8477
8547
  }
8478
8548
  );
8479
8549
  }
8480
- return /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(
8550
+ return /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(
8481
8551
  "g",
8482
8552
  {
8483
8553
  "data-testid": "ui-wistia-logo-brandmark",
8484
8554
  fill: brandmarkColor,
8485
- children: /* @__PURE__ */ (0, import_jsx_runtime202.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" })
8555
+ children: /* @__PURE__ */ (0, import_jsx_runtime203.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" })
8486
8556
  }
8487
8557
  );
8488
8558
  };
@@ -8490,12 +8560,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
8490
8560
  if (iconOnly) {
8491
8561
  return null;
8492
8562
  }
8493
- return /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(
8563
+ return /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(
8494
8564
  "g",
8495
8565
  {
8496
8566
  "data-testid": "ui-wistia-logo-logotype",
8497
8567
  fill: logotypeColor,
8498
- children: /* @__PURE__ */ (0, import_jsx_runtime202.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" })
8568
+ children: /* @__PURE__ */ (0, import_jsx_runtime203.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" })
8499
8569
  }
8500
8570
  );
8501
8571
  };
@@ -8505,7 +8575,7 @@ var computedViewBox = (iconOnly) => {
8505
8575
  }
8506
8576
  return "0 0 144 31.47";
8507
8577
  };
8508
- var WistiaLogoComponent = import_styled_components51.default.svg`
8578
+ var WistiaLogoComponent = import_styled_components52.default.svg`
8509
8579
  height: ${({ height }) => `${height}px`};
8510
8580
 
8511
8581
  /* ensure it will always fit on mobile */
@@ -8547,7 +8617,7 @@ var WistiaLogo = ({
8547
8617
  };
8548
8618
  const brandmarkColor = VARIANT_COLORS[variant].brandmark;
8549
8619
  const logotypeColor = VARIANT_COLORS[variant].logotype;
8550
- const Logo = /* @__PURE__ */ (0, import_jsx_runtime202.jsxs)(
8620
+ const Logo = /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)(
8551
8621
  WistiaLogoComponent,
8552
8622
  {
8553
8623
  $hoverColor: hoverColor,
@@ -8557,21 +8627,21 @@ var WistiaLogo = ({
8557
8627
  xmlns: "http://www.w3.org/2000/svg",
8558
8628
  ...otherProps,
8559
8629
  children: [
8560
- /* @__PURE__ */ (0, import_jsx_runtime202.jsx)("title", { children: title }),
8561
- (0, import_type_guards30.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime202.jsx)("desc", { children: description }) : null,
8630
+ /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("title", { children: title }),
8631
+ (0, import_type_guards30.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("desc", { children: description }) : null,
8562
8632
  renderBrandmark(brandmarkColor, iconOnly),
8563
8633
  renderLogotype(logotypeColor, iconOnly)
8564
8634
  ]
8565
8635
  }
8566
8636
  );
8567
- return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime202.jsx)("a", { href, children: Logo }) : Logo;
8637
+ return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("a", { href, children: Logo }) : Logo;
8568
8638
  };
8569
8639
  WistiaLogo.displayName = "WistiaLogo";
8570
8640
 
8571
8641
  // src/components/Breadcrumbs/Breadcrumbs.tsx
8572
- var import_styled_components52 = __toESM(require("styled-components"));
8573
- var import_jsx_runtime203 = require("react/jsx-runtime");
8574
- var StyledBreadcrumbs = import_styled_components52.default.nav`
8642
+ var import_styled_components53 = __toESM(require("styled-components"));
8643
+ var import_jsx_runtime204 = require("react/jsx-runtime");
8644
+ var StyledBreadcrumbs = import_styled_components53.default.nav`
8575
8645
  display: flex;
8576
8646
  align-items: center;
8577
8647
  gap: var(--wui-space-01);
@@ -8581,7 +8651,7 @@ var StyledBreadcrumbs = import_styled_components52.default.nav`
8581
8651
  }
8582
8652
  `;
8583
8653
  var Breadcrumbs = ({ children, ...props }) => {
8584
- return /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(
8654
+ return /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(
8585
8655
  StyledBreadcrumbs,
8586
8656
  {
8587
8657
  "aria-label": "Breadcrumbs",
@@ -8593,10 +8663,10 @@ var Breadcrumbs = ({ children, ...props }) => {
8593
8663
  Breadcrumbs.displayName = "Breadcrumbs";
8594
8664
 
8595
8665
  // src/components/Breadcrumbs/Breadcrumb.tsx
8596
- var import_jsx_runtime204 = require("react/jsx-runtime");
8666
+ var import_jsx_runtime205 = require("react/jsx-runtime");
8597
8667
  var Breadcrumb = ({ icon, href, children }) => {
8598
- return /* @__PURE__ */ (0, import_jsx_runtime204.jsxs)(import_jsx_runtime204.Fragment, { children: [
8599
- /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(
8668
+ return /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)(import_jsx_runtime205.Fragment, { children: [
8669
+ /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(
8600
8670
  Button,
8601
8671
  {
8602
8672
  href,
@@ -8605,7 +8675,7 @@ var Breadcrumb = ({ icon, href, children }) => {
8605
8675
  children
8606
8676
  }
8607
8677
  ),
8608
- /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(
8678
+ /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(
8609
8679
  Icon,
8610
8680
  {
8611
8681
  size: "sm",
@@ -8614,6 +8684,9 @@ var Breadcrumb = ({ icon, href, children }) => {
8614
8684
  )
8615
8685
  ] });
8616
8686
  };
8687
+
8688
+ // src/index.ts
8689
+ console.log("test");
8617
8690
  // Annotate the CommonJS export names for ESM import in node:
8618
8691
  0 && (module.exports = {
8619
8692
  ActionButton,
@@ -8624,6 +8697,7 @@ var Breadcrumb = ({ icon, href, children }) => {
8624
8697
  Breadcrumbs,
8625
8698
  Button,
8626
8699
  ButtonGroup,
8700
+ Card,
8627
8701
  Checkbox,
8628
8702
  CheckboxGroup,
8629
8703
  CheckboxMenuItem,