@wistia/ui 0.13.3 → 0.13.4-beta.055fd582.3ad4a4e

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.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.13.3
3
+ * @license @wistia/ui v0.13.4-beta.055fd582.3ad4a4e
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -2617,7 +2617,7 @@ var Ellipsis = ({ children, lines, ...props }) => /* @__PURE__ */ jsx4(
2617
2617
  children
2618
2618
  }
2619
2619
  );
2620
- Ellipsis.displayName = "Ellipsis";
2620
+ Ellipsis.displayName = "Ellipsis_UI";
2621
2621
 
2622
2622
  // src/private/helpers/getColorScheme/getColorScheme.ts
2623
2623
  import { css as css14 } from "styled-components";
@@ -7068,7 +7068,7 @@ var Icon = ({
7068
7068
  }
7069
7069
  );
7070
7070
  };
7071
- Icon.displayName = "Icon";
7071
+ Icon.displayName = "Icon_UI";
7072
7072
 
7073
7073
  // src/components/Link/Link.tsx
7074
7074
  import { forwardRef } from "react";
@@ -7208,7 +7208,7 @@ var Link = forwardRef(
7208
7208
  return null;
7209
7209
  }
7210
7210
  );
7211
- Link.displayName = "Link";
7211
+ Link.displayName = "Link_UI";
7212
7212
 
7213
7213
  // src/components/Button/Button.tsx
7214
7214
  import { Fragment, jsx as jsx197, jsxs as jsxs9 } from "react/jsx-runtime";
@@ -7350,7 +7350,7 @@ var Button = forwardRef2(
7350
7350
  );
7351
7351
  }
7352
7352
  );
7353
- Button.displayName = "Button";
7353
+ Button.displayName = "Button_UI";
7354
7354
 
7355
7355
  // src/components/ActionButton/ActionButton.tsx
7356
7356
  import { jsx as jsx198, jsxs as jsxs10 } from "react/jsx-runtime";
@@ -7490,7 +7490,7 @@ var ActionButton = forwardRef3(
7490
7490
  );
7491
7491
  }
7492
7492
  );
7493
- ActionButton.displayName = "ActionButton";
7493
+ ActionButton.displayName = "ActionButton_UI";
7494
7494
 
7495
7495
  // src/components/Avatar/Avatar.tsx
7496
7496
  import { useState as useState9, useMemo as useMemo4, useEffect as useEffect7 } from "react";
@@ -7562,7 +7562,7 @@ var Image = ({
7562
7562
  ...props
7563
7563
  }
7564
7564
  );
7565
- Image.displayName = "Image";
7565
+ Image.displayName = "Image_UI";
7566
7566
 
7567
7567
  // src/components/ColorSchemeWrapper/ColorSchemeWrapper.tsx
7568
7568
  import styled8 from "styled-components";
@@ -7605,7 +7605,7 @@ var ColorSchemeWrapper = ({
7605
7605
  children
7606
7606
  }
7607
7607
  );
7608
- ColorSchemeWrapper.displayName = "ColorSchemeWrapper";
7608
+ ColorSchemeWrapper.displayName = "ColorSchemeWrapper_UI";
7609
7609
 
7610
7610
  // src/components/Avatar/Avatar.tsx
7611
7611
  import { jsx as jsx201, jsxs as jsxs11 } from "react/jsx-runtime";
@@ -7742,7 +7742,7 @@ var Avatar = ({
7742
7742
  }
7743
7743
  );
7744
7744
  };
7745
- Avatar.displayName = "Avatar";
7745
+ Avatar.displayName = "Avatar_UI";
7746
7746
 
7747
7747
  // src/components/Badge/Badge.tsx
7748
7748
  import { forwardRef as forwardRef4 } from "react";
@@ -7793,7 +7793,7 @@ var Badge = forwardRef4(
7793
7793
  );
7794
7794
  }
7795
7795
  );
7796
- Badge.displayName = "Badge";
7796
+ Badge.displayName = "Badge_UI";
7797
7797
 
7798
7798
  // src/components/Banner/Banner.tsx
7799
7799
  import { useEffect as useEffect8, useState as useState10, useMemo as useMemo5 } from "react";
@@ -7985,7 +7985,7 @@ var BoxComponent = forwardRef5(
7985
7985
  );
7986
7986
  }
7987
7987
  );
7988
- BoxComponent.displayName = "Box";
7988
+ BoxComponent.displayName = "Box_UI";
7989
7989
  var Box = makePolymorphic(BoxComponent);
7990
7990
 
7991
7991
  // src/components/Heading/Heading.tsx
@@ -8124,7 +8124,7 @@ var HeadingComponent = forwardRef6(
8124
8124
  }
8125
8125
  )
8126
8126
  );
8127
- HeadingComponent.displayName = "Heading";
8127
+ HeadingComponent.displayName = "Heading_UI";
8128
8128
  var Heading = makePolymorphic(HeadingComponent);
8129
8129
 
8130
8130
  // src/components/Text/Text.tsx
@@ -8334,7 +8334,7 @@ var TextComponent = forwardRef7(
8334
8334
  );
8335
8335
  }
8336
8336
  );
8337
- TextComponent.displayName = "Text";
8337
+ TextComponent.displayName = "Text_UI";
8338
8338
  var Text = makePolymorphic(TextComponent);
8339
8339
 
8340
8340
  // src/components/ButtonGroup/ButtonGroup.tsx
@@ -8414,7 +8414,7 @@ var ButtonGroup = ({
8414
8414
  }
8415
8415
  );
8416
8416
  };
8417
- ButtonGroup.displayName = "ButtonGroup";
8417
+ ButtonGroup.displayName = "ButtonGroup_UI";
8418
8418
 
8419
8419
  // src/components/IconButton/IconButton.tsx
8420
8420
  import { Children, cloneElement as cloneElement2, forwardRef as forwardRef8 } from "react";
@@ -8452,7 +8452,7 @@ var IconButton = forwardRef8(
8452
8452
  );
8453
8453
  }
8454
8454
  );
8455
- IconButton.displayName = "IconButton";
8455
+ IconButton.displayName = "IconButton_UI";
8456
8456
 
8457
8457
  // src/components/Banner/Banner.tsx
8458
8458
  import { jsx as jsx208, jsxs as jsxs13 } from "react/jsx-runtime";
@@ -8628,7 +8628,7 @@ var Banner = ({
8628
8628
  }
8629
8629
  );
8630
8630
  };
8631
- Banner.displayName = "Banner";
8631
+ Banner.displayName = "Banner_UI";
8632
8632
 
8633
8633
  // src/components/Breadcrumbs/Breadcrumbs.tsx
8634
8634
  import { Children as Children2 } from "react";
@@ -8676,7 +8676,7 @@ var Breadcrumbs = ({ children, ...props }) => {
8676
8676
  )
8677
8677
  ] });
8678
8678
  };
8679
- Breadcrumbs.displayName = "Breadcrumbs";
8679
+ Breadcrumbs.displayName = "Breadcrumbs_UI";
8680
8680
 
8681
8681
  // src/components/Breadcrumbs/Breadcrumb.tsx
8682
8682
  import styled18 from "styled-components";
@@ -8769,7 +8769,7 @@ var Card = ({
8769
8769
  children
8770
8770
  }
8771
8771
  );
8772
- Card.displayName = "Card";
8772
+ Card.displayName = "Card_UI";
8773
8773
 
8774
8774
  // src/components/Center/Center.tsx
8775
8775
  import { forwardRef as forwardRef9 } from "react";
@@ -8800,7 +8800,7 @@ var Center = forwardRef9(
8800
8800
  }
8801
8801
  )
8802
8802
  );
8803
- Center.displayName = "Center";
8803
+ Center.displayName = "Center_UI";
8804
8804
 
8805
8805
  // src/components/Checkbox/Checkbox.tsx
8806
8806
  import { forwardRef as forwardRef12, useId as useId2 } from "react";
@@ -8867,7 +8867,7 @@ var ScreenReaderOnly = ({
8867
8867
  }
8868
8868
  return /* @__PURE__ */ jsx214(VisuallyHidden, { ...props, children: accessibleText });
8869
8869
  };
8870
- ScreenReaderOnly.displayName = "ScreenReaderOnly";
8870
+ ScreenReaderOnly.displayName = "ScreenReaderOnly_UI";
8871
8871
 
8872
8872
  // src/private/components/FormControlLabel/FormControlLabel.tsx
8873
8873
  import { jsx as jsx215, jsxs as jsxs16 } from "react/jsx-runtime";
@@ -8965,7 +8965,7 @@ var StackComponent = forwardRef10(
8965
8965
  );
8966
8966
  }
8967
8967
  );
8968
- StackComponent.displayName = "Stack";
8968
+ StackComponent.displayName = "Stack_UI";
8969
8969
  var Stack = makePolymorphic(StackComponent);
8970
8970
 
8971
8971
  // src/components/FormGroup/FormGroup.tsx
@@ -9029,7 +9029,7 @@ var FormGroup = ({
9029
9029
  }
9030
9030
  );
9031
9031
  };
9032
- FormGroup.displayName = "FormGroup";
9032
+ FormGroup.displayName = "FormGroup_UI";
9033
9033
 
9034
9034
  // src/components/Form/Form.tsx
9035
9035
  import { forwardRef as forwardRef11, useRef as useRef8, useMemo as useMemo6, createContext as createContext3, useState as useState11, useId } from "react";
@@ -9176,7 +9176,7 @@ var CheckboxGroup = ({
9176
9176
  }, [name, derivedValue, onChange]);
9177
9177
  return /* @__PURE__ */ jsx219(CheckboxGroupContext.Provider, { value: context, children: /* @__PURE__ */ jsx219(FormGroup, { ...props, children }) });
9178
9178
  };
9179
- CheckboxGroup.displayName = "CheckboxGroup";
9179
+ CheckboxGroup.displayName = "CheckboxGroup_UI";
9180
9180
 
9181
9181
  // src/components/Checkbox/Checkbox.tsx
9182
9182
  import { jsx as jsx220, jsxs as jsxs18 } from "react/jsx-runtime";
@@ -9340,7 +9340,7 @@ var Checkbox = forwardRef12(
9340
9340
  ] });
9341
9341
  }
9342
9342
  );
9343
- Checkbox.displayName = "Checkbox";
9343
+ Checkbox.displayName = "Checkbox_UI";
9344
9344
 
9345
9345
  // src/components/ClickRegion/ClickRegion.tsx
9346
9346
  import { Children as Children3, cloneElement as cloneElement3, useCallback as useCallback8, useEffect as useEffect9 } from "react";
@@ -9383,7 +9383,7 @@ var ClickRegion = ({ children, targetRef }) => {
9383
9383
  onClick: handleClick
9384
9384
  });
9385
9385
  };
9386
- ClickRegion.displayName = "ClickRegion";
9386
+ ClickRegion.displayName = "ClickRegion_UI";
9387
9387
 
9388
9388
  // src/components/Collapsible/Collapsible.tsx
9389
9389
  import { Root as CollapsibleRoot } from "@radix-ui/react-collapsible";
@@ -9408,7 +9408,7 @@ var Collapsible = ({
9408
9408
  };
9409
9409
  return /* @__PURE__ */ jsx221(StyledRoot, { ...controlProps, children });
9410
9410
  };
9411
- Collapsible.displayName = "Collapsible";
9411
+ Collapsible.displayName = "Collapsible_UI";
9412
9412
 
9413
9413
  // src/components/Collapsible/CollapsibleTrigger.tsx
9414
9414
  import { Children as Children4 } from "react";
@@ -9461,7 +9461,7 @@ var CollapsibleTriggerIcon = ({ type, ...props }) => {
9461
9461
  }
9462
9462
  );
9463
9463
  };
9464
- CollapsibleTriggerIcon.displayName = "CollapsibleTriggerIcon";
9464
+ CollapsibleTriggerIcon.displayName = "CollapsibleTriggerIcon_UI";
9465
9465
 
9466
9466
  // src/components/Collapsible/CollapsibleContent.tsx
9467
9467
  import styled30 from "styled-components";
@@ -10050,7 +10050,7 @@ var ColorGrid = ({ children }) => {
10050
10050
  }
10051
10051
  );
10052
10052
  };
10053
- ColorGrid.displayName = "ColorGrid";
10053
+ ColorGrid.displayName = "ColorGrid_UI";
10054
10054
 
10055
10055
  // src/components/ColorPicker/ColorGridOption.tsx
10056
10056
  import styled34 from "styled-components";
@@ -10266,7 +10266,7 @@ var Tooltip = ({
10266
10266
  }
10267
10267
  );
10268
10268
  };
10269
- Tooltip.displayName = "Tooltip";
10269
+ Tooltip.displayName = "Tooltip_UI";
10270
10270
 
10271
10271
  // src/components/ColorPicker/ColorGridOption.tsx
10272
10272
  import { jsx as jsx229 } from "react/jsx-runtime";
@@ -10309,7 +10309,7 @@ var ColorGridOption = ({ value, name }) => {
10309
10309
  }
10310
10310
  );
10311
10311
  };
10312
- ColorGridOption.displayName = "ColorGridOption";
10312
+ ColorGridOption.displayName = "ColorGridOption_UI";
10313
10313
 
10314
10314
  // src/components/ColorPicker/ColorList.tsx
10315
10315
  import { useCallback as useCallback11 } from "react";
@@ -10343,7 +10343,7 @@ var ColorList = ({ children }) => {
10343
10343
  }
10344
10344
  );
10345
10345
  };
10346
- ColorList.displayName = "ColorList";
10346
+ ColorList.displayName = "ColorList_UI";
10347
10347
 
10348
10348
  // src/components/ColorPicker/ColorListGroup.tsx
10349
10349
  import styled36 from "styled-components";
@@ -10373,7 +10373,7 @@ var ColorListGroup = ({ label, children }) => {
10373
10373
  }
10374
10374
  );
10375
10375
  };
10376
- ColorListGroup.displayName = "ColorListGroup";
10376
+ ColorListGroup.displayName = "ColorListGroup_UI";
10377
10377
 
10378
10378
  // src/components/ColorPicker/ColorListOption.tsx
10379
10379
  import styled37 from "styled-components";
@@ -10468,7 +10468,7 @@ var ColorListOption = ({ value, name }) => {
10468
10468
  }
10469
10469
  );
10470
10470
  };
10471
- ColorListOption.displayName = "ColorListOption";
10471
+ ColorListOption.displayName = "ColorListOption_UI";
10472
10472
 
10473
10473
  // src/components/ColorPicker/ColorPicker.tsx
10474
10474
  import { Root as PopoverRoot } from "@radix-ui/react-popover";
@@ -10493,7 +10493,7 @@ var ColorPicker = ({
10493
10493
  }
10494
10494
  ) });
10495
10495
  };
10496
- ColorPicker.displayName = "ColorPicker";
10496
+ ColorPicker.displayName = "ColorPicker_UI";
10497
10497
 
10498
10498
  // src/components/ColorPicker/ColorPickerPopoverContent.tsx
10499
10499
  import { Content as PopoverContent, Portal as PopoverPortal } from "@radix-ui/react-popover";
@@ -10522,7 +10522,7 @@ var ColorPickerPopoverContent = ({
10522
10522
  }
10523
10523
  ) });
10524
10524
  };
10525
- ColorPickerPopoverContent.displayName = "ColorPickerPopoverContent";
10525
+ ColorPickerPopoverContent.displayName = "ColorPickerPopoverContent_UI";
10526
10526
 
10527
10527
  // src/components/ColorPicker/ColorPickerSection.tsx
10528
10528
  import styled39 from "styled-components";
@@ -10533,7 +10533,7 @@ var Container5 = styled39.div`
10533
10533
  var ColorPickerSection = ({ children }) => {
10534
10534
  return /* @__PURE__ */ jsx236(Container5, { children: /* @__PURE__ */ jsx236(Stack, { children }) });
10535
10535
  };
10536
- ColorPickerSection.displayName = "ColorPickerSection";
10536
+ ColorPickerSection.displayName = "ColorPickerSection_UI";
10537
10537
 
10538
10538
  // src/components/ColorPicker/ColorPickerTrigger.tsx
10539
10539
  import { forwardRef as forwardRef13 } from "react";
@@ -10546,7 +10546,7 @@ var ValueSwatch = () => {
10546
10546
  const { valueAsHex } = useColorPickerState();
10547
10547
  return /* @__PURE__ */ jsx237(ColorSwatch, { value: valueAsHex });
10548
10548
  };
10549
- ValueSwatch.displayName = "ValueSwatch";
10549
+ ValueSwatch.displayName = "ValueSwatch_UI";
10550
10550
 
10551
10551
  // src/components/ColorPicker/ValueNameOrHexCode.tsx
10552
10552
  import { jsx as jsx238 } from "react/jsx-runtime";
@@ -10554,7 +10554,7 @@ var ValueNameOrHexCode = () => {
10554
10554
  const { valueAsHex } = useColorPickerState();
10555
10555
  return /* @__PURE__ */ jsx238(ColorNameOrHexCode, { hexCode: valueAsHex });
10556
10556
  };
10557
- ValueNameOrHexCode.displayName = "ValueNameOrHexCode";
10557
+ ValueNameOrHexCode.displayName = "ValueNameOrHexCode_UI";
10558
10558
 
10559
10559
  // src/components/ColorPicker/ColorPickerTrigger.tsx
10560
10560
  import { jsx as jsx239, jsxs as jsxs25 } from "react/jsx-runtime";
@@ -10594,7 +10594,7 @@ var ColorPickerTrigger = forwardRef13(
10594
10594
  );
10595
10595
  }
10596
10596
  );
10597
- ColorPickerTrigger.displayName = "ColorPickerTrigger";
10597
+ ColorPickerTrigger.displayName = "ColorPickerTrigger_UI";
10598
10598
 
10599
10599
  // src/components/ColorPicker/ContrastIndicator.tsx
10600
10600
  import styled41 from "styled-components";
@@ -10815,7 +10815,7 @@ var Switch = forwardRef14(
10815
10815
  ] });
10816
10816
  }
10817
10817
  );
10818
- Switch.displayName = "Switch";
10818
+ Switch.displayName = "Switch_UI";
10819
10819
 
10820
10820
  // src/components/ColorPicker/ContrastEnforcerSwitch.tsx
10821
10821
  import { jsx as jsx242 } from "react/jsx-runtime";
@@ -10878,7 +10878,7 @@ var ContrastControls = () => {
10878
10878
  /* @__PURE__ */ jsx244(ContrastEnforcerSwitch, {})
10879
10879
  ] });
10880
10880
  };
10881
- ContrastControls.displayName = "ContrastControls";
10881
+ ContrastControls.displayName = "ContrastControls_UI";
10882
10882
 
10883
10883
  // src/components/ColorPicker/HexColorInput.tsx
10884
10884
  import { useCallback as useCallback13, useEffect as useEffect11, useRef as useRef10, useState as useState12 } from "react";
@@ -11088,7 +11088,7 @@ var Input = forwardRef15(
11088
11088
  );
11089
11089
  }
11090
11090
  );
11091
- Input.displayName = "Input";
11091
+ Input.displayName = "Input_UI";
11092
11092
 
11093
11093
  // src/components/ColorPicker/HexColorInput.tsx
11094
11094
  import { jsx as jsx246 } from "react/jsx-runtime";
@@ -11251,7 +11251,7 @@ var HexColorInput = ({ autoFocus = true }) => {
11251
11251
  }
11252
11252
  );
11253
11253
  };
11254
- HexColorInput.displayName = "HexColorInput";
11254
+ HexColorInput.displayName = "HexColorInput_UI";
11255
11255
 
11256
11256
  // src/components/ColorPicker/HueSlider.tsx
11257
11257
  import { useCallback as useCallback14, useMemo as useMemo9 } from "react";
@@ -11392,7 +11392,7 @@ var HueSlider = () => {
11392
11392
  /* @__PURE__ */ jsx248(HSVHueCanvas, { hsv: valueAsHsv })
11393
11393
  ] });
11394
11394
  };
11395
- HueSlider.displayName = "HueSlider";
11395
+ HueSlider.displayName = "HueSlider_UI";
11396
11396
 
11397
11397
  // src/components/ColorPicker/SaturationAndValuePicker.tsx
11398
11398
  import { useCallback as useCallback15, useEffect as useEffect14, useLayoutEffect as useLayoutEffect4, useMemo as useMemo10, useRef as useRef13, useState as useState13 } from "react";
@@ -11764,7 +11764,7 @@ var SaturationAndValuePicker = ({
11764
11764
  )
11765
11765
  );
11766
11766
  };
11767
- SaturationAndValuePicker.displayName = "SaturationAndValuePicker";
11767
+ SaturationAndValuePicker.displayName = "SaturationAndValuePicker_UI";
11768
11768
 
11769
11769
  // src/components/Combobox/Combobox.tsx
11770
11770
  import * as Ariakit from "@ariakit/react";
@@ -11933,7 +11933,7 @@ var Tag = forwardRef16(
11933
11933
  );
11934
11934
  }
11935
11935
  );
11936
- Tag.displayName = "Tag";
11936
+ Tag.displayName = "Tag_UI";
11937
11937
 
11938
11938
  // src/components/Combobox/Combobox.tsx
11939
11939
  import { jsx as jsx252, jsxs as jsxs33 } from "react/jsx-runtime";
@@ -12184,7 +12184,7 @@ var Combobox2 = ({
12184
12184
  // src/components/DataCards/DataCard.tsx
12185
12185
  import { useRef as useRef15 } from "react";
12186
12186
  import styled50, { keyframes as keyframes2 } from "styled-components";
12187
- import { isNotNil as isNotNil20, isNotNull } from "@wistia/type-guards";
12187
+ import { isNotNil as isNotNil20 } from "@wistia/type-guards";
12188
12188
  import { jsx as jsx253, jsxs as jsxs34 } from "react/jsx-runtime";
12189
12189
  var StyledDataCard = styled50.div`
12190
12190
  display: grid;
@@ -12199,6 +12199,11 @@ var StyledDataCard = styled50.div`
12199
12199
  position: relative;
12200
12200
  transition: background var(--wui-motion-duration-01) var(--wui-motion-ease);
12201
12201
 
12202
+ &:has([data-wui-data-card-subtitle]) {
12203
+ grid-template-areas: 'label slot' 'value value' 'subtitle subtitle';
12204
+ grid-template-rows: auto auto auto;
12205
+ }
12206
+
12202
12207
  &[data-click-region] {
12203
12208
  [data-wui-data-card-hover-icon] {
12204
12209
  opacity: 0;
@@ -12285,6 +12290,9 @@ var StyledDataCardTrendContainer = styled50.div`
12285
12290
  bottom: var(--wui-space-01);
12286
12291
  right: var(--wui-space-01);
12287
12292
  `;
12293
+ var StyledSubtitle = styled50(Text)`
12294
+ grid-area: subtitle;
12295
+ `;
12288
12296
  var DataCardInner = ({
12289
12297
  label,
12290
12298
  value,
@@ -12292,6 +12300,7 @@ var DataCardInner = ({
12292
12300
  colorScheme = "inherit",
12293
12301
  isLoading = false,
12294
12302
  trend,
12303
+ subtitle,
12295
12304
  ...props
12296
12305
  }) => /* @__PURE__ */ jsxs34(
12297
12306
  StyledDataCard,
@@ -12315,8 +12324,16 @@ var DataCardInner = ({
12315
12324
  children: isLoading ? /* @__PURE__ */ jsx253(StyledLoadingValue, {}) : value
12316
12325
  }
12317
12326
  ),
12318
- isNotNull(upperRightSlot) && !isLoading && /* @__PURE__ */ jsx253(StyledSlot, { children: upperRightSlot }),
12319
- isNotNull(trend) && !isLoading && /* @__PURE__ */ jsx253(StyledDataCardTrendContainer, { children: trend })
12327
+ isNotNil20(upperRightSlot) && !isLoading && /* @__PURE__ */ jsx253(StyledSlot, { children: upperRightSlot }),
12328
+ isNotNil20(subtitle) && !isLoading && /* @__PURE__ */ jsx253(
12329
+ StyledSubtitle,
12330
+ {
12331
+ "data-wui-data-card-subtitle": true,
12332
+ variant: "label4",
12333
+ children: subtitle
12334
+ }
12335
+ ),
12336
+ isNotNil20(trend) && !isLoading && /* @__PURE__ */ jsx253(StyledDataCardTrendContainer, { children: trend })
12320
12337
  ]
12321
12338
  }
12322
12339
  );
@@ -12340,6 +12357,7 @@ var DataCard = (props) => {
12340
12357
  {
12341
12358
  ref,
12342
12359
  ...isNotNil20(props.beforeAction) ? { beforeAction: props.beforeAction } : {},
12360
+ ...isNotNil20(props.reloadDocument) ? { reloadDocument: props.reloadDocument } : {},
12343
12361
  disabled: props.disabled ?? false,
12344
12362
  href: props.href,
12345
12363
  onClick: props.onClick,
@@ -12352,7 +12370,7 @@ var DataCard = (props) => {
12352
12370
  }
12353
12371
  return /* @__PURE__ */ jsx253(DataCardInner, { ...props });
12354
12372
  };
12355
- DataCard.displayName = "DataCard";
12373
+ DataCard.displayName = "DataCard_UI";
12356
12374
 
12357
12375
  // src/components/DataCards/DataCards.tsx
12358
12376
  import styled51 from "styled-components";
@@ -12377,6 +12395,7 @@ var DataCards = ({
12377
12395
  ...props,
12378
12396
  $cardMaxWidth: cardMaxWidth,
12379
12397
  $colorScheme: colorScheme,
12398
+ alignItems: "stretch",
12380
12399
  direction: "row",
12381
12400
  fill: "horizontal",
12382
12401
  gap: "space-02",
@@ -12386,7 +12405,7 @@ var DataCards = ({
12386
12405
  }
12387
12406
  );
12388
12407
  };
12389
- DataCards.displayName = "DataCards";
12408
+ DataCards.displayName = "DataCards_UI";
12390
12409
 
12391
12410
  // src/components/DataCards/DataCardTrend.tsx
12392
12411
  import styled52 from "styled-components";
@@ -12464,7 +12483,7 @@ var Divider = ({ orientation = "horizontal", ...props }) => {
12464
12483
  }
12465
12484
  );
12466
12485
  };
12467
- Divider.displayName = "Divider";
12486
+ Divider.displayName = "Divider_UI";
12468
12487
 
12469
12488
  // src/components/EditableHeading/EditableHeading.tsx
12470
12489
  import styled54, { css as css30 } from "styled-components";
@@ -12738,7 +12757,7 @@ var Label = ({
12738
12757
  }
12739
12758
  );
12740
12759
  };
12741
- Label.displayName = "Label";
12760
+ Label.displayName = "Label_UI";
12742
12761
 
12743
12762
  // src/components/FormField/FormField.tsx
12744
12763
  import { Fragment as Fragment7, jsx as jsx260, jsxs as jsxs38 } from "react/jsx-runtime";
@@ -12896,7 +12915,7 @@ var FormField = ({
12896
12915
  }
12897
12916
  );
12898
12917
  };
12899
- FormField.displayName = "FormField";
12918
+ FormField.displayName = "FormField_UI";
12900
12919
 
12901
12920
  // src/components/FormGroup/RadioGroup.tsx
12902
12921
  import { createContext as createContext6, useMemo as useMemo12, useContext as useContext7 } from "react";
@@ -12923,7 +12942,7 @@ var RadioGroup = ({
12923
12942
  }, [name, derivedValue, onChange]);
12924
12943
  return /* @__PURE__ */ jsx261(RadioGroupContext.Provider, { value: context, children: /* @__PURE__ */ jsx261(FormGroup, { ...props, children }) });
12925
12944
  };
12926
- RadioGroup.displayName = "RadioGroup";
12945
+ RadioGroup.displayName = "RadioGroup_UI";
12927
12946
 
12928
12947
  // src/components/Grid/Grid.tsx
12929
12948
  import { forwardRef as forwardRef17 } from "react";
@@ -12993,7 +13012,7 @@ var GridComponent = forwardRef17(
12993
13012
  );
12994
13013
  }
12995
13014
  );
12996
- GridComponent.displayName = "Grid";
13015
+ GridComponent.displayName = "Grid_UI";
12997
13016
  var Grid = makePolymorphic(GridComponent);
12998
13017
 
12999
13018
  // src/components/InputClickToCopy/InputClickToCopy.tsx
@@ -13058,7 +13077,7 @@ var InputClickToCopy = forwardRef18(
13058
13077
  );
13059
13078
  }
13060
13079
  );
13061
- InputClickToCopy.displayName = "InputClickToCopy";
13080
+ InputClickToCopy.displayName = "InputClickToCopy_UI";
13062
13081
 
13063
13082
  // src/components/KeyboardShortcut/KeyboardShortcut.tsx
13064
13083
  import styled59 from "styled-components";
@@ -13167,7 +13186,7 @@ var KeyboardShortcut = ({
13167
13186
  ]
13168
13187
  }
13169
13188
  );
13170
- KeyboardShortcut.displayName = "KeyboardShortcut";
13189
+ KeyboardShortcut.displayName = "KeyboardShortcut_UI";
13171
13190
 
13172
13191
  // src/components/List/List.tsx
13173
13192
  import { isNotNil as isNotNil23 } from "@wistia/type-guards";
@@ -13186,7 +13205,7 @@ var ListItem = ({ children }) => {
13186
13205
  }
13187
13206
  return /* @__PURE__ */ jsx265(ListItemComponent, { children });
13188
13207
  };
13189
- ListItem.displayName = "ListItem";
13208
+ ListItem.displayName = "ListItem_UI";
13190
13209
 
13191
13210
  // src/components/List/List.tsx
13192
13211
  import { jsx as jsx266, jsxs as jsxs40 } from "react/jsx-runtime";
@@ -13325,7 +13344,7 @@ var List = ({
13325
13344
  }
13326
13345
  return null;
13327
13346
  };
13328
- List.displayName = "List";
13347
+ List.displayName = "List_UI";
13329
13348
 
13330
13349
  // src/components/Menu/Menu.tsx
13331
13350
  import { forwardRef as forwardRef19, useMemo as useMemo13 } from "react";
@@ -13495,8 +13514,8 @@ var Menu = forwardRef19(
13495
13514
  ) });
13496
13515
  }
13497
13516
  );
13498
- Menu.displayName = "Menu";
13499
- Menu.displayName = "Menu";
13517
+ Menu.displayName = "Menu_UI";
13518
+ Menu.displayName = "Menu_UI";
13500
13519
 
13501
13520
  // src/components/Menu/MenuLabel.tsx
13502
13521
  import styled63 from "styled-components";
@@ -13523,7 +13542,7 @@ var MenuLabel = ({ children, ...props }) => {
13523
13542
  }
13524
13543
  );
13525
13544
  };
13526
- MenuLabel.displayName = "MenuLabel";
13545
+ MenuLabel.displayName = "MenuLabel_UI";
13527
13546
 
13528
13547
  // src/components/Menu/SubMenu.tsx
13529
13548
  import { useState as useState18 } from "react";
@@ -13655,7 +13674,7 @@ var MenuItemButton = forwardRef20(({ children, appearance, command, icon, ...pro
13655
13674
  }
13656
13675
  );
13657
13676
  });
13658
- MenuItemButton.displayName = "MenuItemButton";
13677
+ MenuItemButton.displayName = "MenuItemButton_UI";
13659
13678
 
13660
13679
  // src/components/Menu/MenuItemLabelDescription.tsx
13661
13680
  import styled65 from "styled-components";
@@ -13742,7 +13761,7 @@ var SubMenu = ({
13742
13761
  /* @__PURE__ */ jsx271(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
13743
13762
  ] });
13744
13763
  };
13745
- SubMenu.displayName = "SubMenu";
13764
+ SubMenu.displayName = "SubMenu_UI";
13746
13765
 
13747
13766
  // src/components/Menu/MenuItem.tsx
13748
13767
  import { forwardRef as forwardRef21 } from "react";
@@ -13767,7 +13786,7 @@ var MenuItem = forwardRef21(
13767
13786
  );
13768
13787
  }
13769
13788
  );
13770
- MenuItem.displayName = "MenuItem";
13789
+ MenuItem.displayName = "MenuItem_UI";
13771
13790
 
13772
13791
  // src/components/Menu/MenuRadioGroup.tsx
13773
13792
  import {
@@ -13777,7 +13796,7 @@ import { jsx as jsx273 } from "react/jsx-runtime";
13777
13796
  var MenuRadioGroup = ({ children, ...props }) => {
13778
13797
  return /* @__PURE__ */ jsx273(DropdownMenuRadioGroup, { ...props, children });
13779
13798
  };
13780
- MenuRadioGroup.displayName = "MenuRadioGroup";
13799
+ MenuRadioGroup.displayName = "MenuRadioGroup_UI";
13781
13800
 
13782
13801
  // src/components/Menu/RadioMenuItem.tsx
13783
13802
  import {
@@ -13814,7 +13833,7 @@ var RadioMenuItem = ({
13814
13833
  }
13815
13834
  );
13816
13835
  };
13817
- RadioMenuItem.displayName = "RadioMenuItem";
13836
+ RadioMenuItem.displayName = "RadioMenuItem_UI";
13818
13837
 
13819
13838
  // src/components/Menu/CheckboxMenuItem.tsx
13820
13839
  import {
@@ -13902,7 +13921,7 @@ var CheckboxMenuItem = ({
13902
13921
  }
13903
13922
  );
13904
13923
  };
13905
- CheckboxMenuItem.displayName = "CheckboxMenuItem";
13924
+ CheckboxMenuItem.displayName = "CheckboxMenuItem_UI";
13906
13925
 
13907
13926
  // src/components/Menu/FilterMenu.tsx
13908
13927
  import { Children as Children7, forwardRef as forwardRef22 } from "react";
@@ -14004,7 +14023,7 @@ var FilterMenu = forwardRef22(
14004
14023
  );
14005
14024
  }
14006
14025
  );
14007
- FilterMenu.displayName = "FilterMenu";
14026
+ FilterMenu.displayName = "FilterMenu_UI";
14008
14027
 
14009
14028
  // src/components/Modal/Modal.tsx
14010
14029
  import { forwardRef as forwardRef24 } from "react";
@@ -14333,7 +14352,7 @@ var Modal = forwardRef24(
14333
14352
  );
14334
14353
  }
14335
14354
  );
14336
- Modal.displayName = "Modal";
14355
+ Modal.displayName = "Modal_UI";
14337
14356
 
14338
14357
  // src/components/Popover/Popover.tsx
14339
14358
  import { Root as Root2, Trigger as Trigger2, Portal, Content as Content2, Close } from "@radix-ui/react-popover";
@@ -14423,7 +14442,7 @@ var PopoverArrow = ({ isAnimated }) => {
14423
14442
  }
14424
14443
  ) });
14425
14444
  };
14426
- PopoverArrow.displayName = "PopoverArrow";
14445
+ PopoverArrow.displayName = "PopoverArrow_UI";
14427
14446
 
14428
14447
  // src/components/Popover/Popover.tsx
14429
14448
  import { jsx as jsx282, jsxs as jsxs49 } from "react/jsx-runtime";
@@ -14492,7 +14511,7 @@ var Popover2 = ({
14492
14511
  ) })
14493
14512
  ] });
14494
14513
  };
14495
- Popover2.displayName = "Popover";
14514
+ Popover2.displayName = "Popover_UI";
14496
14515
 
14497
14516
  // src/components/ProgressBar/ProgressBar.tsx
14498
14517
  import styled74 from "styled-components";
@@ -14571,7 +14590,7 @@ var ProgressBar = ({
14571
14590
  isNotNil31(labelRight) ? /* @__PURE__ */ jsx283(ProgressBarLabel, { children: labelRight }) : null
14572
14591
  ] });
14573
14592
  };
14574
- ProgressBar.displayName = "ProgressBar";
14593
+ ProgressBar.displayName = "ProgressBar_UI";
14575
14594
 
14576
14595
  // src/components/Radio/Radio.tsx
14577
14596
  import { forwardRef as forwardRef25, useId as useId4 } from "react";
@@ -14746,7 +14765,7 @@ var Radio = forwardRef25(
14746
14765
  );
14747
14766
  }
14748
14767
  );
14749
- Radio.displayName = "Radio";
14768
+ Radio.displayName = "Radio_UI";
14750
14769
 
14751
14770
  // src/components/RadioCard/RadioCard.tsx
14752
14771
  import { forwardRef as forwardRef27 } from "react";
@@ -14910,7 +14929,7 @@ var RadioCardRoot = forwardRef26(
14910
14929
  );
14911
14930
  }
14912
14931
  );
14913
- RadioCardRoot.displayName = "RadioCardRoot";
14932
+ RadioCardRoot.displayName = "RadioCardRoot_UI";
14914
14933
 
14915
14934
  // src/components/RadioCard/RadioCardDefaultLayout.tsx
14916
14935
  import styled78 from "styled-components";
@@ -14964,7 +14983,7 @@ var RadioCardIndicator = styled77.div`
14964
14983
  --wui-radio-card-indicator-background-color: var(--wui-color-bg-surface-disabled);
14965
14984
  }
14966
14985
  `;
14967
- RadioCardIndicator.displayName = "RadioCardIndicator";
14986
+ RadioCardIndicator.displayName = "RadioCardIndicator_UI";
14968
14987
 
14969
14988
  // src/components/RadioCard/RadioCardDefaultLayout.tsx
14970
14989
  import { jsx as jsx286, jsxs as jsxs53 } from "react/jsx-runtime";
@@ -15012,7 +15031,7 @@ var RadioCardDefaultLayout = ({
15012
15031
  ] })
15013
15032
  ] });
15014
15033
  };
15015
- RadioCardDefaultLayout.displayName = "RadioCardDefaultLayout";
15034
+ RadioCardDefaultLayout.displayName = "RadioCardDefaultLayout_UI";
15016
15035
 
15017
15036
  // src/components/RadioCard/RadioCard.tsx
15018
15037
  import { jsx as jsx287 } from "react/jsx-runtime";
@@ -15036,7 +15055,7 @@ var RadioCard = forwardRef27(
15036
15055
  );
15037
15056
  }
15038
15057
  );
15039
- RadioCard.displayName = "RadioCard";
15058
+ RadioCard.displayName = "RadioCard_UI";
15040
15059
 
15041
15060
  // src/components/RadioCard/RadioCardImage.tsx
15042
15061
  import { forwardRef as forwardRef28 } from "react";
@@ -15064,7 +15083,7 @@ var RadioCardImage = forwardRef28(
15064
15083
  );
15065
15084
  }
15066
15085
  );
15067
- RadioCardImage.displayName = "RadioCardImage";
15086
+ RadioCardImage.displayName = "RadioCardImage_UI";
15068
15087
 
15069
15088
  // src/components/SegmentedControl/SegmentedControl.tsx
15070
15089
  import { forwardRef as forwardRef29 } from "react";
@@ -15201,7 +15220,7 @@ var SegmentedControl = forwardRef29(
15201
15220
  );
15202
15221
  }
15203
15222
  );
15204
- SegmentedControl.displayName = "SegmentedControl";
15223
+ SegmentedControl.displayName = "SegmentedControl_UI";
15205
15224
 
15206
15225
  // src/components/SegmentedControl/SegmentedControlItem.tsx
15207
15226
  import { forwardRef as forwardRef30, useEffect as useEffect18, useRef as useRef19 } from "react";
@@ -15335,7 +15354,7 @@ var SegmentedControlItem = forwardRef30(
15335
15354
  );
15336
15355
  }
15337
15356
  );
15338
- SegmentedControlItem.displayName = "SegmentedControlItem";
15357
+ SegmentedControlItem.displayName = "SegmentedControlItem_UI";
15339
15358
 
15340
15359
  // src/components/Select/Select.tsx
15341
15360
  import {
@@ -15458,7 +15477,7 @@ var Select = forwardRef31(
15458
15477
  );
15459
15478
  }
15460
15479
  );
15461
- Select.displayName = "Select";
15480
+ Select.displayName = "Select_UI";
15462
15481
 
15463
15482
  // src/components/Select/SelectOption.tsx
15464
15483
  import { Item, ItemText, ItemIndicator } from "@radix-ui/react-select";
@@ -15517,7 +15536,7 @@ var SelectOption = forwardRef32(
15517
15536
  );
15518
15537
  }
15519
15538
  );
15520
- SelectOption.displayName = "SelectOption";
15539
+ SelectOption.displayName = "SelectOption_UI";
15521
15540
 
15522
15541
  // src/components/Select/SelectOptionGroup.tsx
15523
15542
  import { Group, Label as Label3 } from "@radix-ui/react-select";
@@ -15670,7 +15689,7 @@ var Slider = ({
15670
15689
  }
15671
15690
  );
15672
15691
  };
15673
- Slider.displayName = "Slider";
15692
+ Slider.displayName = "Slider_UI";
15674
15693
 
15675
15694
  // src/components/Table/Table.tsx
15676
15695
  import styled86, { css as css43 } from "styled-components";
@@ -15831,7 +15850,7 @@ var Tabs = ({
15831
15850
  }
15832
15851
  return /* @__PURE__ */ jsx302(RadixTabsRoot, { ...rootProps, children: /* @__PURE__ */ jsx302(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ jsx302(SelectedItemStyleProvider, { children }) }) });
15833
15852
  };
15834
- Tabs.displayName = "Tabs";
15853
+ Tabs.displayName = "Tabs_UI";
15835
15854
 
15836
15855
  // src/components/Tabs/TabsContent.tsx
15837
15856
  import { Content as RadixTabsContent } from "@radix-ui/react-tabs";
@@ -15839,7 +15858,7 @@ import { jsx as jsx303 } from "react/jsx-runtime";
15839
15858
  var TabsContent = ({ children, value }) => {
15840
15859
  return /* @__PURE__ */ jsx303(RadixTabsContent, { value, children });
15841
15860
  };
15842
- TabsContent.displayName = "TabsContent";
15861
+ TabsContent.displayName = "TabsContent_UI";
15843
15862
 
15844
15863
  // src/components/Tabs/TabsList.tsx
15845
15864
  import { List as RadixTabList } from "@radix-ui/react-tabs";
@@ -15891,7 +15910,7 @@ var TabsList = ({ children, fullWidth = true, ...props }) => {
15891
15910
  }
15892
15911
  );
15893
15912
  };
15894
- TabsList.displayName = "TabsList";
15913
+ TabsList.displayName = "TabsList_UI";
15895
15914
 
15896
15915
  // src/components/Tabs/TabsTrigger.tsx
15897
15916
  import { forwardRef as forwardRef33, useEffect as useEffect19, useRef as useRef20 } from "react";
@@ -15958,7 +15977,7 @@ var TabsTrigger = forwardRef33(
15958
15977
  );
15959
15978
  }
15960
15979
  );
15961
- TabsTrigger.displayName = "TabsTrigger";
15980
+ TabsTrigger.displayName = "TabsTrigger_UI";
15962
15981
 
15963
15982
  // src/components/Thumbnail/ThumbnailBadge.tsx
15964
15983
  import styled95 from "styled-components";
@@ -15994,7 +16013,7 @@ var ThumbnailBadge = ({ icon, label, ...props }) => {
15994
16013
  /* @__PURE__ */ jsx306("span", { children: label })
15995
16014
  ] });
15996
16015
  };
15997
- ThumbnailBadge.displayName = "ThumbnailBadge";
16016
+ ThumbnailBadge.displayName = "ThumbnailBadge_UI";
15998
16017
 
15999
16018
  // src/components/Thumbnail/Thumbnail.tsx
16000
16019
  import { forwardRef as forwardRef34, useState as useState21, useRef as useRef21, useCallback as useCallback18, useMemo as useMemo15 } from "react";
@@ -16437,7 +16456,7 @@ var Thumbnail = forwardRef34(
16437
16456
  );
16438
16457
  }
16439
16458
  );
16440
- Thumbnail.displayName = "Thumbnail";
16459
+ Thumbnail.displayName = "Thumbnail_UI";
16441
16460
 
16442
16461
  // src/components/ThumbnailCollage/ThumbnailCollage.tsx
16443
16462
  import React2 from "react";
@@ -16669,7 +16688,7 @@ var WistiaLogo = ({
16669
16688
  );
16670
16689
  return href !== void 0 ? /* @__PURE__ */ jsx310("a", { href, children: Logo }) : Logo;
16671
16690
  };
16672
- WistiaLogo.displayName = "WistiaLogo";
16691
+ WistiaLogo.displayName = "WistiaLogo_UI";
16673
16692
 
16674
16693
  // src/components/InputPassword/InputPassword.tsx
16675
16694
  import styled100 from "styled-components";
@@ -16716,7 +16735,7 @@ var InputPassword = forwardRef35(
16716
16735
  );
16717
16736
  }
16718
16737
  );
16719
- InputPassword.displayName = "InputPassword";
16738
+ InputPassword.displayName = "InputPassword_UI";
16720
16739
 
16721
16740
  // src/components/ContextMenu/ContextMenu.tsx
16722
16741
  import { useEffect as useEffect20, useState as useState23 } from "react";