@wistia/ui 0.4.8-beta.2116c6fb.fdbbdee → 0.4.8-beta.25eae1b2.b10e708

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.8-beta.2116c6fb.fdbbdee
3
+ * @license @wistia/ui v0.4.8-beta.25eae1b2.b10e708
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -40,7 +40,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
40
40
  var index_exports = {};
41
41
  __export(index_exports, {
42
42
  ActionButton: () => ActionButton,
43
- AnalyticsCard: () => AnalyticsCard,
44
43
  Avatar: () => Avatar,
45
44
  Badge: () => Badge,
46
45
  Box: () => Box,
@@ -76,6 +75,8 @@ __export(index_exports, {
76
75
  RadioGroup: () => RadioGroup,
77
76
  RadioMenuItem: () => RadioMenuItem,
78
77
  ScreenReaderOnly: () => ScreenReaderOnly,
78
+ SegmentedControl: () => SegmentedControl,
79
+ SegmentedControlItem: () => SegmentedControlItem,
79
80
  Select: () => Select,
80
81
  SelectOption: () => SelectOption,
81
82
  SelectOptionGroup: () => SelectOptionGroup,
@@ -5472,12 +5473,25 @@ var generateHref = (href, type, disabled) => {
5472
5473
  var isButton = (props) => (0, import_type_guards10.isUndefined)(props.href);
5473
5474
  var isLink = (props) => (0, import_type_guards10.isNotUndefined)(props.href);
5474
5475
  var StyledLink = import_styled_components17.default.a`
5476
+ --link-icon-size: 14px;
5477
+
5475
5478
  ${({ href }) => (0, import_type_guards10.isNil)(href) && buttonResetCss};
5476
5479
  ${({ $colorScheme }) => getColorScheme($colorScheme)}
5477
5480
  cursor: pointer;
5478
5481
  font-family: var(--wui-typography-family-default);
5479
5482
  color: var(--wui-color-text-link);
5480
5483
  text-decoration: ${({ $underline }) => $underline ? "underline" : "none"};
5484
+ display: inline-flex;
5485
+ align-items: baseline;
5486
+ gap: var(--wui-space-01);
5487
+
5488
+ /* This ensure that the icon is the corect color when the style is solid or the button is disabled */
5489
+ && {
5490
+ svg {
5491
+ width: var(--link-icon-size);
5492
+ height: var(--link-icon-size);
5493
+ }
5494
+ }
5481
5495
  `;
5482
5496
  var Link = (0, import_react11.forwardRef)(
5483
5497
  ({
@@ -5487,6 +5501,8 @@ var Link = (0, import_react11.forwardRef)(
5487
5501
  disabled = false,
5488
5502
  colorScheme = "inherit",
5489
5503
  underline = false,
5504
+ leftIcon,
5505
+ rightIcon,
5490
5506
  ...props
5491
5507
  }, ref) => {
5492
5508
  const inRouterContext = (0, import_react_router_dom.useInRouterContext)();
@@ -5545,13 +5561,17 @@ var Link = (0, import_react11.forwardRef)(
5545
5561
  to: to ?? "",
5546
5562
  children
5547
5563
  }
5548
- ) : /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
5564
+ ) : /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)(
5549
5565
  StyledLink,
5550
5566
  {
5551
5567
  as: "a",
5552
5568
  ...combinedProps,
5553
5569
  href: to,
5554
- children
5570
+ children: [
5571
+ leftIcon ?? null,
5572
+ children,
5573
+ rightIcon ?? null
5574
+ ]
5555
5575
  }
5556
5576
  );
5557
5577
  }
@@ -6024,7 +6044,7 @@ var StyledBadge = import_styled_components22.default.div`
6024
6044
  padding: var(--wui-space-01) var(--wui-space-02);
6025
6045
  width: fit-content;
6026
6046
 
6027
- /* TODO should these be a token? */
6047
+ /* Icon component size */
6028
6048
  svg {
6029
6049
  height: 12px;
6030
6050
  width: 12px;
@@ -8438,12 +8458,143 @@ var Radio = (0, import_react39.forwardRef)(
8438
8458
  );
8439
8459
  Radio.displayName = "Radio";
8440
8460
 
8441
- // src/components/Tag/Tag.tsx
8461
+ // src/components/SegmentedControl/SegmentedControl.tsx
8442
8462
  var import_react40 = require("react");
8443
8463
  var import_styled_components51 = __toESM(require("styled-components"));
8464
+ var import_react_toggle_group = require("@radix-ui/react-toggle-group");
8444
8465
  var import_type_guards30 = require("@wistia/type-guards");
8445
8466
  var import_jsx_runtime203 = require("react/jsx-runtime");
8446
- var TagLabel = import_styled_components51.default.a`
8467
+ var StyledSegmentedControl = (0, import_styled_components51.default)(import_react_toggle_group.Root)`
8468
+ display: inline-flex;
8469
+ background-color: var(--wui-color-bg-surface-secondary);
8470
+ border-radius: var(--wui-border-radius-rounded);
8471
+ border: 2px solid var(--wui-color-bg-surface-secondary);
8472
+ gap: var(--wui-space-01);
8473
+ width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
8474
+ `;
8475
+ var SegmentedControl = (0, import_react40.forwardRef)(
8476
+ ({
8477
+ children,
8478
+ disabled = false,
8479
+ fullWidth = false,
8480
+ selectedValue,
8481
+ onSelectedValueChange,
8482
+ ...props
8483
+ }, ref) => {
8484
+ if ((0, import_type_guards30.isNil)(children)) {
8485
+ return null;
8486
+ }
8487
+ return /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(
8488
+ StyledSegmentedControl,
8489
+ {
8490
+ ref,
8491
+ $fullWidth: fullWidth,
8492
+ disabled,
8493
+ loop: true,
8494
+ onValueChange: onSelectedValueChange,
8495
+ rovingFocus: true,
8496
+ type: "single",
8497
+ value: selectedValue,
8498
+ ...props,
8499
+ children
8500
+ }
8501
+ );
8502
+ }
8503
+ );
8504
+ SegmentedControl.displayName = "SegmentedControl";
8505
+
8506
+ // src/components/SegmentedControl/SegmentedControlItem.tsx
8507
+ var import_react41 = require("react");
8508
+ var import_styled_components52 = __toESM(require("styled-components"));
8509
+ var import_react_toggle_group2 = require("@radix-ui/react-toggle-group");
8510
+ var import_type_guards31 = require("@wistia/type-guards");
8511
+ var import_jsx_runtime204 = require("react/jsx-runtime");
8512
+ var StyledSegmentedControlItem = (0, import_styled_components52.default)(import_react_toggle_group2.Item)`
8513
+ all: unset; /* ToggleGroupItem is a button element */
8514
+ align-items: center;
8515
+ border-radius: var(--wui-border-radius-rounded);
8516
+ color: var(--wui-color-text-secondary);
8517
+ cursor: pointer;
8518
+ display: flex;
8519
+ flex-grow: 1;
8520
+ flex-shrink: 1;
8521
+ font-size: var(--wui-typography-label-3-size);
8522
+ justify-content: center;
8523
+ padding: 6px 8px;
8524
+ user-select: none;
8525
+
8526
+ /* Icon component */
8527
+ svg {
8528
+ height: 16px;
8529
+ width: 16px;
8530
+
8531
+ /* add right margin if there's a label and an icon */
8532
+ ${({ $hasLabel }) => $hasLabel ? "margin-right: var(--wui-space-01)" : ""}
8533
+ }
8534
+
8535
+ &:hover {
8536
+ background-color: var(--wui-color-bg-surface-secondary-hover);
8537
+ }
8538
+
8539
+ &:focus-visible {
8540
+ outline: 2px solid var(--wui-color-focus-ring);
8541
+ }
8542
+
8543
+ &[data-state='on'] {
8544
+ background-color: var(--wui-color-bg-fill-white);
8545
+ color: var(--wui-color-text-selected);
8546
+ cursor: default;
8547
+ }
8548
+
8549
+ &:focus-visible,
8550
+ &[data-state='on'] {
8551
+ svg path {
8552
+ fill: var(--wui-color-focus-ring);
8553
+ }
8554
+ }
8555
+
8556
+ &[data-disabled] {
8557
+ cursor: not-allowed;
8558
+
8559
+ &:hover {
8560
+ background-color: inherit;
8561
+ }
8562
+ }
8563
+ `;
8564
+ var SegmentedControlItem = (0, import_react41.forwardRef)(
8565
+ ({ disabled, icon, label, "aria-label": ariaLabel, value }, ref) => {
8566
+ const handleClick = (event) => {
8567
+ const target = event.target;
8568
+ const { state } = target.dataset;
8569
+ if (state === "on") {
8570
+ event.preventDefault();
8571
+ }
8572
+ };
8573
+ return /* @__PURE__ */ (0, import_jsx_runtime204.jsxs)(
8574
+ StyledSegmentedControlItem,
8575
+ {
8576
+ ref,
8577
+ $hasLabel: (0, import_type_guards31.isNotNil)(label),
8578
+ "aria-label": (0, import_type_guards31.isNotNil)(label) ? void 0 : ariaLabel,
8579
+ disabled,
8580
+ onClick: handleClick,
8581
+ value,
8582
+ children: [
8583
+ icon,
8584
+ label
8585
+ ]
8586
+ }
8587
+ );
8588
+ }
8589
+ );
8590
+ SegmentedControlItem.displayName = "SegmentedControlItem";
8591
+
8592
+ // src/components/Tag/Tag.tsx
8593
+ var import_react42 = require("react");
8594
+ var import_styled_components53 = __toESM(require("styled-components"));
8595
+ var import_type_guards32 = require("@wistia/type-guards");
8596
+ var import_jsx_runtime205 = require("react/jsx-runtime");
8597
+ var TagLabel = import_styled_components53.default.a`
8447
8598
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8448
8599
  font-size: var(--wui-typography-label-4-size);
8449
8600
  font-weight: var(--wui-typography-label-4-weight);
@@ -8471,14 +8622,14 @@ var TagLabel = import_styled_components51.default.a`
8471
8622
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
8472
8623
  }
8473
8624
  `;
8474
- var TagDivider = import_styled_components51.default.div`
8625
+ var TagDivider = import_styled_components53.default.div`
8475
8626
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8476
8627
  border-left: 1px solid var(--wui-color-border);
8477
8628
  display: flex;
8478
8629
  height: 14px;
8479
8630
  width: 1px;
8480
8631
  `;
8481
- var StyledRemoveButton = import_styled_components51.default.button`
8632
+ var StyledRemoveButton = import_styled_components53.default.button`
8482
8633
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8483
8634
  all: unset;
8484
8635
  cursor: pointer;
@@ -8506,7 +8657,7 @@ var StyledRemoveButton = import_styled_components51.default.button`
8506
8657
  box-shadow: inset 0 0 0 2px var(--wui-color-border-secondary);
8507
8658
  }
8508
8659
  `;
8509
- var StyledTag = import_styled_components51.default.div`
8660
+ var StyledTag = import_styled_components53.default.div`
8510
8661
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8511
8662
  align-items: center;
8512
8663
  background-color: var(--wui-color-bg-surface-secondary);
@@ -8515,47 +8666,47 @@ var StyledTag = import_styled_components51.default.div`
8515
8666
  overflow: hidden;
8516
8667
  `;
8517
8668
  var RemoveButton = ({ onClickRemove, onClickRemoveLabel, colorScheme }) => {
8518
- if ((0, import_type_guards30.isNil)(onClickRemove)) {
8669
+ if ((0, import_type_guards32.isNil)(onClickRemove)) {
8519
8670
  return null;
8520
8671
  }
8521
- if ((0, import_type_guards30.isNil)(onClickRemoveLabel)) {
8672
+ if ((0, import_type_guards32.isNil)(onClickRemoveLabel)) {
8522
8673
  throw new Error(
8523
8674
  "for accessibility, onClickRemoveLabel must be provided if onClickRemove is provided"
8524
8675
  );
8525
8676
  }
8526
- return /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)(import_jsx_runtime203.Fragment, { children: [
8527
- /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(TagDivider, { $colorScheme: colorScheme }),
8528
- /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)(
8677
+ return /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)(import_jsx_runtime205.Fragment, { children: [
8678
+ /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(TagDivider, { $colorScheme: colorScheme }),
8679
+ /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)(
8529
8680
  StyledRemoveButton,
8530
8681
  {
8531
8682
  $colorScheme: colorScheme,
8532
8683
  onClick: onClickRemove,
8533
8684
  type: "button",
8534
8685
  children: [
8535
- /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(
8686
+ /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(
8536
8687
  Icon,
8537
8688
  {
8538
8689
  size: "sm",
8539
8690
  type: "close"
8540
8691
  }
8541
8692
  ),
8542
- /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(ScreenReaderOnly, { children: onClickRemoveLabel })
8693
+ /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(ScreenReaderOnly, { children: onClickRemoveLabel })
8543
8694
  ]
8544
8695
  }
8545
8696
  )
8546
8697
  ] });
8547
8698
  };
8548
- var Tag = (0, import_react40.forwardRef)(
8699
+ var Tag = (0, import_react42.forwardRef)(
8549
8700
  ({ onClickRemove, colorScheme = "inherit", href, label, onClickRemoveLabel, ...otherProps }, ref) => {
8550
- const labelProps = (0, import_type_guards30.isNotNil)(href) && (0, import_type_guards30.isNonEmptyString)(href) ? { href, as: "a" } : { as: "span" };
8551
- return /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)(
8701
+ const labelProps = (0, import_type_guards32.isNotNil)(href) && (0, import_type_guards32.isNonEmptyString)(href) ? { href, as: "a" } : { as: "span" };
8702
+ return /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)(
8552
8703
  StyledTag,
8553
8704
  {
8554
8705
  ref,
8555
8706
  $colorScheme: colorScheme,
8556
8707
  ...otherProps,
8557
8708
  children: [
8558
- /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(
8709
+ /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(
8559
8710
  TagLabel,
8560
8711
  {
8561
8712
  ...labelProps,
@@ -8563,7 +8714,7 @@ var Tag = (0, import_react40.forwardRef)(
8563
8714
  children: label
8564
8715
  }
8565
8716
  ),
8566
- /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(
8717
+ /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(
8567
8718
  RemoveButton,
8568
8719
  {
8569
8720
  colorScheme,
@@ -8580,16 +8731,16 @@ Tag.displayName = "Tag";
8580
8731
 
8581
8732
  // src/components/Tooltip/Tooltip.tsx
8582
8733
  var import_react_tooltip2 = require("@radix-ui/react-tooltip");
8583
- var import_styled_components52 = __toESM(require("styled-components"));
8584
- var import_jsx_runtime204 = require("react/jsx-runtime");
8585
- var CompactTooltipStyles = import_styled_components52.css`
8734
+ var import_styled_components54 = __toESM(require("styled-components"));
8735
+ var import_jsx_runtime206 = require("react/jsx-runtime");
8736
+ var CompactTooltipStyles = import_styled_components54.css`
8586
8737
  --tooltip-font-size: var(--wui-typography-label-4-size);
8587
8738
  --tooltip-line-height: var(--wui-typography-label-4-line-height);
8588
8739
  --tooltip-font-weight: var(--wui-typography-label-4-weight);
8589
8740
  --tooltip-horizontal-padding: var(--wui-space-02);
8590
8741
  --tooltip-vertical-padding: var(--wui-space-03);
8591
8742
  `;
8592
- var StyledContent = (0, import_styled_components52.default)(import_react_tooltip2.Content)`
8743
+ var StyledContent = (0, import_styled_components54.default)(import_react_tooltip2.Content)`
8593
8744
  --tooltip-font-family: var(--wui-typography-family-default);
8594
8745
  --tooltip-border-radius: var(--wui-border-radius-05);
8595
8746
  --tooltip-bg: var(--wui-color-bg-tooltip);
@@ -8647,14 +8798,14 @@ var Tooltip = ({
8647
8798
  if (forceOpen === true) {
8648
8799
  rootProps.open = true;
8649
8800
  }
8650
- return /* @__PURE__ */ (0, import_jsx_runtime204.jsxs)(
8801
+ return /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)(
8651
8802
  import_react_tooltip2.Root,
8652
8803
  {
8653
8804
  delayDuration: delay,
8654
8805
  ...rootProps,
8655
8806
  children: [
8656
- /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(import_react_tooltip2.Trigger, { asChild: true, children }),
8657
- /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(import_react_tooltip2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime204.jsxs)(
8807
+ /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(import_react_tooltip2.Trigger, { asChild: true, children }),
8808
+ /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(import_react_tooltip2.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)(
8658
8809
  StyledContent,
8659
8810
  {
8660
8811
  $compact: compact,
@@ -8662,7 +8813,7 @@ var Tooltip = ({
8662
8813
  sideOffset: hideArrow ? VISUAL_OFFSET : VISUAL_OFFSET - 2,
8663
8814
  children: [
8664
8815
  content,
8665
- !hideArrow ? /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(import_react_tooltip2.Arrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(
8816
+ !hideArrow ? /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(import_react_tooltip2.Arrow, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(
8666
8817
  "svg",
8667
8818
  {
8668
8819
  fill: "var(--tooltip-bg)",
@@ -8671,7 +8822,7 @@ var Tooltip = ({
8671
8822
  viewBox: "0 0 12 8",
8672
8823
  width: "12",
8673
8824
  xmlns: "http://www.w3.org/2000/svg",
8674
- children: /* @__PURE__ */ (0, import_jsx_runtime204.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" })
8825
+ children: /* @__PURE__ */ (0, import_jsx_runtime206.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" })
8675
8826
  }
8676
8827
  ) }) : null
8677
8828
  ]
@@ -8684,26 +8835,26 @@ var Tooltip = ({
8684
8835
  Tooltip.displayName = "Tooltip";
8685
8836
 
8686
8837
  // src/components/WistiaLogo/WistiaLogo.tsx
8687
- var import_styled_components53 = __toESM(require("styled-components"));
8688
- var import_type_guards31 = require("@wistia/type-guards");
8689
- var import_jsx_runtime205 = require("react/jsx-runtime");
8838
+ var import_styled_components55 = __toESM(require("styled-components"));
8839
+ var import_type_guards33 = require("@wistia/type-guards");
8840
+ var import_jsx_runtime207 = require("react/jsx-runtime");
8690
8841
  var renderBrandmark = (brandmarkColor, iconOnly) => {
8691
8842
  if (iconOnly) {
8692
- return /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(
8843
+ return /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(
8693
8844
  "g",
8694
8845
  {
8695
8846
  "data-testid": "ui-wistia-logo-brandmark",
8696
8847
  fill: brandmarkColor,
8697
- children: /* @__PURE__ */ (0, import_jsx_runtime205.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" })
8848
+ children: /* @__PURE__ */ (0, import_jsx_runtime207.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" })
8698
8849
  }
8699
8850
  );
8700
8851
  }
8701
- return /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(
8852
+ return /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(
8702
8853
  "g",
8703
8854
  {
8704
8855
  "data-testid": "ui-wistia-logo-brandmark",
8705
8856
  fill: brandmarkColor,
8706
- children: /* @__PURE__ */ (0, import_jsx_runtime205.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" })
8857
+ children: /* @__PURE__ */ (0, import_jsx_runtime207.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" })
8707
8858
  }
8708
8859
  );
8709
8860
  };
@@ -8711,12 +8862,12 @@ var renderLogotype = (logotypeColor, iconOnly) => {
8711
8862
  if (iconOnly) {
8712
8863
  return null;
8713
8864
  }
8714
- return /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(
8865
+ return /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(
8715
8866
  "g",
8716
8867
  {
8717
8868
  "data-testid": "ui-wistia-logo-logotype",
8718
8869
  fill: logotypeColor,
8719
- children: /* @__PURE__ */ (0, import_jsx_runtime205.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" })
8870
+ children: /* @__PURE__ */ (0, import_jsx_runtime207.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" })
8720
8871
  }
8721
8872
  );
8722
8873
  };
@@ -8726,7 +8877,7 @@ var computedViewBox = (iconOnly) => {
8726
8877
  }
8727
8878
  return "0 0 144 31.47";
8728
8879
  };
8729
- var WistiaLogoComponent = import_styled_components53.default.svg`
8880
+ var WistiaLogoComponent = import_styled_components55.default.svg`
8730
8881
  height: ${({ height }) => `${height}px`};
8731
8882
 
8732
8883
  /* ensure it will always fit on mobile */
@@ -8768,7 +8919,7 @@ var WistiaLogo = ({
8768
8919
  };
8769
8920
  const brandmarkColor = VARIANT_COLORS[variant].brandmark;
8770
8921
  const logotypeColor = VARIANT_COLORS[variant].logotype;
8771
- const Logo = /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)(
8922
+ const Logo = /* @__PURE__ */ (0, import_jsx_runtime207.jsxs)(
8772
8923
  WistiaLogoComponent,
8773
8924
  {
8774
8925
  $hoverColor: hoverColor,
@@ -8778,23 +8929,23 @@ var WistiaLogo = ({
8778
8929
  xmlns: "http://www.w3.org/2000/svg",
8779
8930
  ...otherProps,
8780
8931
  children: [
8781
- /* @__PURE__ */ (0, import_jsx_runtime205.jsx)("title", { children: title }),
8782
- (0, import_type_guards31.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime205.jsx)("desc", { children: description }) : null,
8932
+ /* @__PURE__ */ (0, import_jsx_runtime207.jsx)("title", { children: title }),
8933
+ (0, import_type_guards33.isNotNil)(description) ? /* @__PURE__ */ (0, import_jsx_runtime207.jsx)("desc", { children: description }) : null,
8783
8934
  renderBrandmark(brandmarkColor, iconOnly),
8784
8935
  renderLogotype(logotypeColor, iconOnly)
8785
8936
  ]
8786
8937
  }
8787
8938
  );
8788
- return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime205.jsx)("a", { href, children: Logo }) : Logo;
8939
+ return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime207.jsx)("a", { href, children: Logo }) : Logo;
8789
8940
  };
8790
8941
  WistiaLogo.displayName = "WistiaLogo";
8791
8942
 
8792
8943
  // src/components/Select/Select.tsx
8793
8944
  var import_react_select = require("@radix-ui/react-select");
8794
- var import_react41 = require("react");
8795
- var import_styled_components54 = __toESM(require("styled-components"));
8796
- var import_jsx_runtime206 = require("react/jsx-runtime");
8797
- var StyledTrigger = (0, import_styled_components54.default)(import_react_select.Trigger)`
8945
+ var import_react43 = require("react");
8946
+ var import_styled_components56 = __toESM(require("styled-components"));
8947
+ var import_jsx_runtime208 = require("react/jsx-runtime");
8948
+ var StyledTrigger = (0, import_styled_components56.default)(import_react_select.Trigger)`
8798
8949
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8799
8950
  --wui-select-color-bg: var(--wui-color-bg-surface);
8800
8951
  --wui-select-color-bg-disabled: var(--wui-color-bg-surface-disabled);
@@ -8835,7 +8986,7 @@ var StyledTrigger = (0, import_styled_components54.default)(import_react_select.
8835
8986
  background-color: var(--wui-color-bg-surface-disabled);
8836
8987
  }
8837
8988
  `;
8838
- var StyledContent2 = (0, import_styled_components54.default)(import_react_select.Content)`
8989
+ var StyledContent2 = (0, import_styled_components56.default)(import_react_select.Content)`
8839
8990
  --wui-select-content-border: var(--wui-color-border);
8840
8991
  --wui-select-content-bg: var(--wui-color-bg-surface);
8841
8992
  --wui-select-content-border-radius: var(--wui-border-radius-02);
@@ -8851,7 +9002,7 @@ var StyledContent2 = (0, import_styled_components54.default)(import_react_select
8851
9002
  padding: var(--wui-select-option-padding);
8852
9003
  min-width: 200px;
8853
9004
  `;
8854
- var Select = (0, import_react41.forwardRef)(
9005
+ var Select = (0, import_react43.forwardRef)(
8855
9006
  ({
8856
9007
  colorScheme = "inherit",
8857
9008
  children,
@@ -8861,13 +9012,13 @@ var Select = (0, import_react41.forwardRef)(
8861
9012
  ...props
8862
9013
  }, forwardedRef) => {
8863
9014
  const responsiveFullWidth = useResponsiveProp(fullWidth);
8864
- return /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)(
9015
+ return /* @__PURE__ */ (0, import_jsx_runtime208.jsxs)(
8865
9016
  import_react_select.Root,
8866
9017
  {
8867
9018
  ...props,
8868
9019
  onValueChange: onChange,
8869
9020
  children: [
8870
- /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)(
9021
+ /* @__PURE__ */ (0, import_jsx_runtime208.jsxs)(
8871
9022
  StyledTrigger,
8872
9023
  {
8873
9024
  ref: forwardedRef,
@@ -8875,8 +9026,8 @@ var Select = (0, import_react41.forwardRef)(
8875
9026
  $fullWidth: responsiveFullWidth,
8876
9027
  ...props,
8877
9028
  children: [
8878
- /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(import_react_select.Value, { placeholder }),
8879
- /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(
9029
+ /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(import_react_select.Value, { placeholder }),
9030
+ /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(
8880
9031
  Icon,
8881
9032
  {
8882
9033
  size: "md",
@@ -8886,10 +9037,10 @@ var Select = (0, import_react41.forwardRef)(
8886
9037
  ]
8887
9038
  }
8888
9039
  ),
8889
- /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)(StyledContent2, { position: "popper", children: [
8890
- /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(Icon, { type: "caret-up" }) }),
8891
- /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(import_react_select.Viewport, { children }),
8892
- /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(Icon, { type: "caret-down" }) })
9040
+ /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(import_react_select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime208.jsxs)(StyledContent2, { position: "popper", children: [
9041
+ /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(import_react_select.ScrollUpButton, { children: /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(Icon, { type: "caret-up" }) }),
9042
+ /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(import_react_select.Viewport, { children }),
9043
+ /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(import_react_select.ScrollDownButton, { children: /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(Icon, { type: "caret-down" }) })
8893
9044
  ] }) })
8894
9045
  ]
8895
9046
  }
@@ -8900,10 +9051,10 @@ Select.displayName = "Select";
8900
9051
 
8901
9052
  // src/components/Select/SelectOption.tsx
8902
9053
  var import_react_select2 = require("@radix-ui/react-select");
8903
- var import_react42 = require("react");
8904
- var import_styled_components55 = __toESM(require("styled-components"));
8905
- var import_jsx_runtime207 = require("react/jsx-runtime");
8906
- var StyledItem = (0, import_styled_components55.default)(import_react_select2.Item)`
9054
+ var import_react44 = require("react");
9055
+ var import_styled_components57 = __toESM(require("styled-components"));
9056
+ var import_jsx_runtime209 = require("react/jsx-runtime");
9057
+ var StyledItem = (0, import_styled_components57.default)(import_react_select2.Item)`
8907
9058
  ${variantStyleMap2.body3};
8908
9059
  display: flex;
8909
9060
  padding: var(--wui-select-option-padding);
@@ -8926,25 +9077,25 @@ var StyledItem = (0, import_styled_components55.default)(import_react_select2.It
8926
9077
  background-color: transparent;
8927
9078
  }
8928
9079
  `;
8929
- var StyledIconContainer = import_styled_components55.default.span`
9080
+ var StyledIconContainer = import_styled_components57.default.span`
8930
9081
  width: 12px;
8931
9082
  `;
8932
- var SelectOption = (0, import_react42.forwardRef)(
9083
+ var SelectOption = (0, import_react44.forwardRef)(
8933
9084
  ({ children, ...props }, forwardedRef) => {
8934
- return /* @__PURE__ */ (0, import_jsx_runtime207.jsxs)(
9085
+ return /* @__PURE__ */ (0, import_jsx_runtime209.jsxs)(
8935
9086
  StyledItem,
8936
9087
  {
8937
9088
  ...props,
8938
9089
  ref: forwardedRef,
8939
9090
  children: [
8940
- /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(StyledIconContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(
9091
+ /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(StyledIconContainer, { children: /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(import_react_select2.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
8941
9092
  Icon,
8942
9093
  {
8943
9094
  size: "sm",
8944
9095
  type: "checkmark"
8945
9096
  }
8946
9097
  ) }) }),
8947
- /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(import_react_select2.ItemText, { children })
9098
+ /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(import_react_select2.ItemText, { children })
8948
9099
  ]
8949
9100
  }
8950
9101
  );
@@ -8954,14 +9105,14 @@ SelectOption.displayName = "Option";
8954
9105
 
8955
9106
  // src/components/Select/SelectOptionGroup.tsx
8956
9107
  var import_react_select3 = require("@radix-ui/react-select");
8957
- var import_styled_components56 = __toESM(require("styled-components"));
8958
- var import_jsx_runtime208 = require("react/jsx-runtime");
8959
- var StyledLabel3 = (0, import_styled_components56.default)(import_react_select3.Label)`
9108
+ var import_styled_components58 = __toESM(require("styled-components"));
9109
+ var import_jsx_runtime210 = require("react/jsx-runtime");
9110
+ var StyledLabel3 = (0, import_styled_components58.default)(import_react_select3.Label)`
8960
9111
  padding: var(--wui-select-option-padding);
8961
9112
  `;
8962
9113
  var SelectOptionGroup = ({ children, label, ...props }) => {
8963
- return /* @__PURE__ */ (0, import_jsx_runtime208.jsxs)(import_react_select3.Group, { ...props, children: [
8964
- /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(StyledLabel3, { children: /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(
9114
+ return /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(import_react_select3.Group, { ...props, children: [
9115
+ /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(StyledLabel3, { children: /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(
8965
9116
  Text,
8966
9117
  {
8967
9118
  prominence: "secondary",
@@ -8972,72 +9123,9 @@ var SelectOptionGroup = ({ children, label, ...props }) => {
8972
9123
  children
8973
9124
  ] });
8974
9125
  };
8975
-
8976
- // src/components/AnalyticsCards/AnalyticsCard.tsx
8977
- var import_styled_components57 = __toESM(require("styled-components"));
8978
- var import_type_guards32 = require("@wistia/type-guards");
8979
- var import_jsx_runtime209 = require("react/jsx-runtime");
8980
- var StyledAnalyticsCard = import_styled_components57.default.div`
8981
- ${({ $colorScheme }) => getColorScheme($colorScheme)}
8982
- display: grid;
8983
- grid-template-areas: 'label slot' 'value value';
8984
- grid-template-rows: auto auto;
8985
- grid-template-columns: auto auto;
8986
- gap: var(--wui-space-01);
8987
- padding: var(--wui-space-03);
8988
- background: var(--wui-color-bg-surface-secondary);
8989
- flex: 1;
8990
- border-radius: var(--wui-border-radius-02);
8991
- `;
8992
- var StyledLabel4 = (0, import_styled_components57.default)(Heading)`
8993
- grid-area: label;
8994
- `;
8995
- var StyledValue = (0, import_styled_components57.default)(Heading)`
8996
- grid-area: value;
8997
- `;
8998
- var StyledSlot = import_styled_components57.default.div`
8999
- display: flex;
9000
- justify-content: flex-end;
9001
- grid-area: slot;
9002
- align-self: center;
9003
- `;
9004
- var AnalyticsCard = ({
9005
- label,
9006
- value,
9007
- slot,
9008
- colorScheme = "inherit",
9009
- ...props
9010
- }) => /* @__PURE__ */ (0, import_jsx_runtime209.jsxs)(
9011
- StyledAnalyticsCard,
9012
- {
9013
- $colorScheme: colorScheme,
9014
- ...props,
9015
- children: [
9016
- /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
9017
- StyledLabel4,
9018
- {
9019
- renderAs: "dt",
9020
- variant: "heading6",
9021
- children: label
9022
- }
9023
- ),
9024
- /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
9025
- StyledValue,
9026
- {
9027
- renderAs: "dd",
9028
- variant: "heading3",
9029
- children: value
9030
- }
9031
- ),
9032
- (0, import_type_guards32.isNotNull)(slot) && /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(StyledSlot, { children: slot })
9033
- ]
9034
- }
9035
- );
9036
- AnalyticsCard.displayName = "AnalyticsCard";
9037
9126
  // Annotate the CommonJS export names for ESM import in node:
9038
9127
  0 && (module.exports = {
9039
9128
  ActionButton,
9040
- AnalyticsCard,
9041
9129
  Avatar,
9042
9130
  Badge,
9043
9131
  Box,
@@ -9073,6 +9161,8 @@ AnalyticsCard.displayName = "AnalyticsCard";
9073
9161
  RadioGroup,
9074
9162
  RadioMenuItem,
9075
9163
  ScreenReaderOnly,
9164
+ SegmentedControl,
9165
+ SegmentedControlItem,
9076
9166
  Select,
9077
9167
  SelectOption,
9078
9168
  SelectOptionGroup,