@wistia/ui 0.4.8-beta.25eae1b2.b10e708 → 0.4.8-beta.2b6f4638.29587ac

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