@wistia/ui 0.13.3 → 0.13.4-beta.05e3f566.3e9870f

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.13.3
3
+ * @license @wistia/ui v0.13.4-beta.05e3f566.3e9870f
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -2776,7 +2776,7 @@ var Ellipsis = ({ children, lines, ...props }) => /* @__PURE__ */ (0, import_jsx
2776
2776
  children
2777
2777
  }
2778
2778
  );
2779
- Ellipsis.displayName = "Ellipsis";
2779
+ Ellipsis.displayName = "Ellipsis_UI";
2780
2780
 
2781
2781
  // src/private/helpers/getColorScheme/getColorScheme.ts
2782
2782
  var import_styled_components15 = require("styled-components");
@@ -7227,7 +7227,7 @@ var Icon = ({
7227
7227
  }
7228
7228
  );
7229
7229
  };
7230
- Icon.displayName = "Icon";
7230
+ Icon.displayName = "Icon_UI";
7231
7231
 
7232
7232
  // src/components/Link/Link.tsx
7233
7233
  var import_react22 = require("react");
@@ -7367,7 +7367,7 @@ var Link = (0, import_react22.forwardRef)(
7367
7367
  return null;
7368
7368
  }
7369
7369
  );
7370
- Link.displayName = "Link";
7370
+ Link.displayName = "Link_UI";
7371
7371
 
7372
7372
  // src/components/Button/Button.tsx
7373
7373
  var import_jsx_runtime197 = require("react/jsx-runtime");
@@ -7509,7 +7509,7 @@ var Button = (0, import_react23.forwardRef)(
7509
7509
  );
7510
7510
  }
7511
7511
  );
7512
- Button.displayName = "Button";
7512
+ Button.displayName = "Button_UI";
7513
7513
 
7514
7514
  // src/components/ActionButton/ActionButton.tsx
7515
7515
  var import_jsx_runtime198 = require("react/jsx-runtime");
@@ -7649,7 +7649,7 @@ var ActionButton = (0, import_react24.forwardRef)(
7649
7649
  );
7650
7650
  }
7651
7651
  );
7652
- ActionButton.displayName = "ActionButton";
7652
+ ActionButton.displayName = "ActionButton_UI";
7653
7653
 
7654
7654
  // src/components/Avatar/Avatar.tsx
7655
7655
  var import_react25 = require("react");
@@ -7721,7 +7721,7 @@ var Image = ({
7721
7721
  ...props
7722
7722
  }
7723
7723
  );
7724
- Image.displayName = "Image";
7724
+ Image.displayName = "Image_UI";
7725
7725
 
7726
7726
  // src/components/ColorSchemeWrapper/ColorSchemeWrapper.tsx
7727
7727
  var import_styled_components24 = __toESM(require("styled-components"));
@@ -7764,7 +7764,7 @@ var ColorSchemeWrapper = ({
7764
7764
  children
7765
7765
  }
7766
7766
  );
7767
- ColorSchemeWrapper.displayName = "ColorSchemeWrapper";
7767
+ ColorSchemeWrapper.displayName = "ColorSchemeWrapper_UI";
7768
7768
 
7769
7769
  // src/components/Avatar/Avatar.tsx
7770
7770
  var import_jsx_runtime201 = require("react/jsx-runtime");
@@ -7901,7 +7901,7 @@ var Avatar = ({
7901
7901
  }
7902
7902
  );
7903
7903
  };
7904
- Avatar.displayName = "Avatar";
7904
+ Avatar.displayName = "Avatar_UI";
7905
7905
 
7906
7906
  // src/components/Badge/Badge.tsx
7907
7907
  var import_react26 = require("react");
@@ -7952,7 +7952,7 @@ var Badge = (0, import_react26.forwardRef)(
7952
7952
  );
7953
7953
  }
7954
7954
  );
7955
- Badge.displayName = "Badge";
7955
+ Badge.displayName = "Badge_UI";
7956
7956
 
7957
7957
  // src/components/Banner/Banner.tsx
7958
7958
  var import_react31 = require("react");
@@ -8144,7 +8144,7 @@ var BoxComponent = (0, import_react27.forwardRef)(
8144
8144
  );
8145
8145
  }
8146
8146
  );
8147
- BoxComponent.displayName = "Box";
8147
+ BoxComponent.displayName = "Box_UI";
8148
8148
  var Box = makePolymorphic(BoxComponent);
8149
8149
 
8150
8150
  // src/components/Heading/Heading.tsx
@@ -8283,7 +8283,7 @@ var HeadingComponent = (0, import_react28.forwardRef)(
8283
8283
  }
8284
8284
  )
8285
8285
  );
8286
- HeadingComponent.displayName = "Heading";
8286
+ HeadingComponent.displayName = "Heading_UI";
8287
8287
  var Heading = makePolymorphic(HeadingComponent);
8288
8288
 
8289
8289
  // src/components/Text/Text.tsx
@@ -8493,7 +8493,7 @@ var TextComponent = (0, import_react29.forwardRef)(
8493
8493
  );
8494
8494
  }
8495
8495
  );
8496
- TextComponent.displayName = "Text";
8496
+ TextComponent.displayName = "Text_UI";
8497
8497
  var Text = makePolymorphic(TextComponent);
8498
8498
 
8499
8499
  // src/components/ButtonGroup/ButtonGroup.tsx
@@ -8573,7 +8573,7 @@ var ButtonGroup = ({
8573
8573
  }
8574
8574
  );
8575
8575
  };
8576
- ButtonGroup.displayName = "ButtonGroup";
8576
+ ButtonGroup.displayName = "ButtonGroup_UI";
8577
8577
 
8578
8578
  // src/components/IconButton/IconButton.tsx
8579
8579
  var import_react30 = require("react");
@@ -8611,7 +8611,7 @@ var IconButton = (0, import_react30.forwardRef)(
8611
8611
  );
8612
8612
  }
8613
8613
  );
8614
- IconButton.displayName = "IconButton";
8614
+ IconButton.displayName = "IconButton_UI";
8615
8615
 
8616
8616
  // src/components/Banner/Banner.tsx
8617
8617
  var import_jsx_runtime208 = require("react/jsx-runtime");
@@ -8787,7 +8787,7 @@ var Banner = ({
8787
8787
  }
8788
8788
  );
8789
8789
  };
8790
- Banner.displayName = "Banner";
8790
+ Banner.displayName = "Banner_UI";
8791
8791
 
8792
8792
  // src/components/Breadcrumbs/Breadcrumbs.tsx
8793
8793
  var import_react32 = require("react");
@@ -8835,7 +8835,7 @@ var Breadcrumbs = ({ children, ...props }) => {
8835
8835
  )
8836
8836
  ] });
8837
8837
  };
8838
- Breadcrumbs.displayName = "Breadcrumbs";
8838
+ Breadcrumbs.displayName = "Breadcrumbs_UI";
8839
8839
 
8840
8840
  // src/components/Breadcrumbs/Breadcrumb.tsx
8841
8841
  var import_styled_components34 = __toESM(require("styled-components"));
@@ -8928,7 +8928,7 @@ var Card = ({
8928
8928
  children
8929
8929
  }
8930
8930
  );
8931
- Card.displayName = "Card";
8931
+ Card.displayName = "Card_UI";
8932
8932
 
8933
8933
  // src/components/Center/Center.tsx
8934
8934
  var import_react33 = require("react");
@@ -8959,7 +8959,7 @@ var Center = (0, import_react33.forwardRef)(
8959
8959
  }
8960
8960
  )
8961
8961
  );
8962
- Center.displayName = "Center";
8962
+ Center.displayName = "Center_UI";
8963
8963
 
8964
8964
  // src/components/Checkbox/Checkbox.tsx
8965
8965
  var import_react38 = require("react");
@@ -9026,7 +9026,7 @@ var ScreenReaderOnly = ({
9026
9026
  }
9027
9027
  return /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(VisuallyHidden, { ...props, children: accessibleText });
9028
9028
  };
9029
- ScreenReaderOnly.displayName = "ScreenReaderOnly";
9029
+ ScreenReaderOnly.displayName = "ScreenReaderOnly_UI";
9030
9030
 
9031
9031
  // src/private/components/FormControlLabel/FormControlLabel.tsx
9032
9032
  var import_jsx_runtime215 = require("react/jsx-runtime");
@@ -9124,7 +9124,7 @@ var StackComponent = (0, import_react34.forwardRef)(
9124
9124
  );
9125
9125
  }
9126
9126
  );
9127
- StackComponent.displayName = "Stack";
9127
+ StackComponent.displayName = "Stack_UI";
9128
9128
  var Stack = makePolymorphic(StackComponent);
9129
9129
 
9130
9130
  // src/components/FormGroup/FormGroup.tsx
@@ -9188,7 +9188,7 @@ var FormGroup = ({
9188
9188
  }
9189
9189
  );
9190
9190
  };
9191
- FormGroup.displayName = "FormGroup";
9191
+ FormGroup.displayName = "FormGroup_UI";
9192
9192
 
9193
9193
  // src/components/Form/Form.tsx
9194
9194
  var import_react36 = require("react");
@@ -9335,7 +9335,7 @@ var CheckboxGroup = ({
9335
9335
  }, [name, derivedValue, onChange]);
9336
9336
  return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(CheckboxGroupContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(FormGroup, { ...props, children }) });
9337
9337
  };
9338
- CheckboxGroup.displayName = "CheckboxGroup";
9338
+ CheckboxGroup.displayName = "CheckboxGroup_UI";
9339
9339
 
9340
9340
  // src/components/Checkbox/Checkbox.tsx
9341
9341
  var import_jsx_runtime220 = require("react/jsx-runtime");
@@ -9499,7 +9499,7 @@ var Checkbox = (0, import_react38.forwardRef)(
9499
9499
  ] });
9500
9500
  }
9501
9501
  );
9502
- Checkbox.displayName = "Checkbox";
9502
+ Checkbox.displayName = "Checkbox_UI";
9503
9503
 
9504
9504
  // src/components/ClickRegion/ClickRegion.tsx
9505
9505
  var import_react39 = require("react");
@@ -9542,7 +9542,7 @@ var ClickRegion = ({ children, targetRef }) => {
9542
9542
  onClick: handleClick
9543
9543
  });
9544
9544
  };
9545
- ClickRegion.displayName = "ClickRegion";
9545
+ ClickRegion.displayName = "ClickRegion_UI";
9546
9546
 
9547
9547
  // src/components/Collapsible/Collapsible.tsx
9548
9548
  var import_react_collapsible = require("@radix-ui/react-collapsible");
@@ -9567,7 +9567,7 @@ var Collapsible = ({
9567
9567
  };
9568
9568
  return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(StyledRoot, { ...controlProps, children });
9569
9569
  };
9570
- Collapsible.displayName = "Collapsible";
9570
+ Collapsible.displayName = "Collapsible_UI";
9571
9571
 
9572
9572
  // src/components/Collapsible/CollapsibleTrigger.tsx
9573
9573
  var import_react40 = require("react");
@@ -9620,7 +9620,7 @@ var CollapsibleTriggerIcon = ({ type, ...props }) => {
9620
9620
  }
9621
9621
  );
9622
9622
  };
9623
- CollapsibleTriggerIcon.displayName = "CollapsibleTriggerIcon";
9623
+ CollapsibleTriggerIcon.displayName = "CollapsibleTriggerIcon_UI";
9624
9624
 
9625
9625
  // src/components/Collapsible/CollapsibleContent.tsx
9626
9626
  var import_styled_components46 = __toESM(require("styled-components"));
@@ -10201,7 +10201,7 @@ var ColorGrid = ({ children }) => {
10201
10201
  }
10202
10202
  );
10203
10203
  };
10204
- ColorGrid.displayName = "ColorGrid";
10204
+ ColorGrid.displayName = "ColorGrid_UI";
10205
10205
 
10206
10206
  // src/components/ColorPicker/ColorGridOption.tsx
10207
10207
  var import_styled_components50 = __toESM(require("styled-components"));
@@ -10411,7 +10411,7 @@ var Tooltip = ({
10411
10411
  }
10412
10412
  );
10413
10413
  };
10414
- Tooltip.displayName = "Tooltip";
10414
+ Tooltip.displayName = "Tooltip_UI";
10415
10415
 
10416
10416
  // src/components/ColorPicker/ColorGridOption.tsx
10417
10417
  var import_jsx_runtime229 = require("react/jsx-runtime");
@@ -10454,7 +10454,7 @@ var ColorGridOption = ({ value, name }) => {
10454
10454
  }
10455
10455
  );
10456
10456
  };
10457
- ColorGridOption.displayName = "ColorGridOption";
10457
+ ColorGridOption.displayName = "ColorGridOption_UI";
10458
10458
 
10459
10459
  // src/components/ColorPicker/ColorList.tsx
10460
10460
  var import_react43 = require("react");
@@ -10488,7 +10488,7 @@ var ColorList = ({ children }) => {
10488
10488
  }
10489
10489
  );
10490
10490
  };
10491
- ColorList.displayName = "ColorList";
10491
+ ColorList.displayName = "ColorList_UI";
10492
10492
 
10493
10493
  // src/components/ColorPicker/ColorListGroup.tsx
10494
10494
  var import_styled_components52 = __toESM(require("styled-components"));
@@ -10518,7 +10518,7 @@ var ColorListGroup = ({ label, children }) => {
10518
10518
  }
10519
10519
  );
10520
10520
  };
10521
- ColorListGroup.displayName = "ColorListGroup";
10521
+ ColorListGroup.displayName = "ColorListGroup_UI";
10522
10522
 
10523
10523
  // src/components/ColorPicker/ColorListOption.tsx
10524
10524
  var import_styled_components53 = __toESM(require("styled-components"));
@@ -10613,7 +10613,7 @@ var ColorListOption = ({ value, name }) => {
10613
10613
  }
10614
10614
  );
10615
10615
  };
10616
- ColorListOption.displayName = "ColorListOption";
10616
+ ColorListOption.displayName = "ColorListOption_UI";
10617
10617
 
10618
10618
  // src/components/ColorPicker/ColorPicker.tsx
10619
10619
  var import_react_popover = require("@radix-ui/react-popover");
@@ -10638,7 +10638,7 @@ var ColorPicker = ({
10638
10638
  }
10639
10639
  ) });
10640
10640
  };
10641
- ColorPicker.displayName = "ColorPicker";
10641
+ ColorPicker.displayName = "ColorPicker_UI";
10642
10642
 
10643
10643
  // src/components/ColorPicker/ColorPickerPopoverContent.tsx
10644
10644
  var import_react_popover2 = require("@radix-ui/react-popover");
@@ -10667,7 +10667,7 @@ var ColorPickerPopoverContent = ({
10667
10667
  }
10668
10668
  ) });
10669
10669
  };
10670
- ColorPickerPopoverContent.displayName = "ColorPickerPopoverContent";
10670
+ ColorPickerPopoverContent.displayName = "ColorPickerPopoverContent_UI";
10671
10671
 
10672
10672
  // src/components/ColorPicker/ColorPickerSection.tsx
10673
10673
  var import_styled_components55 = __toESM(require("styled-components"));
@@ -10678,7 +10678,7 @@ var Container5 = import_styled_components55.default.div`
10678
10678
  var ColorPickerSection = ({ children }) => {
10679
10679
  return /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Container5, { children: /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Stack, { children }) });
10680
10680
  };
10681
- ColorPickerSection.displayName = "ColorPickerSection";
10681
+ ColorPickerSection.displayName = "ColorPickerSection_UI";
10682
10682
 
10683
10683
  // src/components/ColorPicker/ColorPickerTrigger.tsx
10684
10684
  var import_react44 = require("react");
@@ -10691,7 +10691,7 @@ var ValueSwatch = () => {
10691
10691
  const { valueAsHex } = useColorPickerState();
10692
10692
  return /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(ColorSwatch, { value: valueAsHex });
10693
10693
  };
10694
- ValueSwatch.displayName = "ValueSwatch";
10694
+ ValueSwatch.displayName = "ValueSwatch_UI";
10695
10695
 
10696
10696
  // src/components/ColorPicker/ValueNameOrHexCode.tsx
10697
10697
  var import_jsx_runtime238 = require("react/jsx-runtime");
@@ -10699,7 +10699,7 @@ var ValueNameOrHexCode = () => {
10699
10699
  const { valueAsHex } = useColorPickerState();
10700
10700
  return /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(ColorNameOrHexCode, { hexCode: valueAsHex });
10701
10701
  };
10702
- ValueNameOrHexCode.displayName = "ValueNameOrHexCode";
10702
+ ValueNameOrHexCode.displayName = "ValueNameOrHexCode_UI";
10703
10703
 
10704
10704
  // src/components/ColorPicker/ColorPickerTrigger.tsx
10705
10705
  var import_jsx_runtime239 = require("react/jsx-runtime");
@@ -10739,7 +10739,7 @@ var ColorPickerTrigger = (0, import_react44.forwardRef)(
10739
10739
  );
10740
10740
  }
10741
10741
  );
10742
- ColorPickerTrigger.displayName = "ColorPickerTrigger";
10742
+ ColorPickerTrigger.displayName = "ColorPickerTrigger_UI";
10743
10743
 
10744
10744
  // src/components/ColorPicker/ContrastIndicator.tsx
10745
10745
  var import_styled_components57 = __toESM(require("styled-components"));
@@ -10960,7 +10960,7 @@ var Switch = (0, import_react45.forwardRef)(
10960
10960
  ] });
10961
10961
  }
10962
10962
  );
10963
- Switch.displayName = "Switch";
10963
+ Switch.displayName = "Switch_UI";
10964
10964
 
10965
10965
  // src/components/ColorPicker/ContrastEnforcerSwitch.tsx
10966
10966
  var import_jsx_runtime242 = require("react/jsx-runtime");
@@ -11023,7 +11023,7 @@ var ContrastControls = () => {
11023
11023
  /* @__PURE__ */ (0, import_jsx_runtime244.jsx)(ContrastEnforcerSwitch, {})
11024
11024
  ] });
11025
11025
  };
11026
- ContrastControls.displayName = "ContrastControls";
11026
+ ContrastControls.displayName = "ContrastControls_UI";
11027
11027
 
11028
11028
  // src/components/ColorPicker/HexColorInput.tsx
11029
11029
  var import_react48 = require("react");
@@ -11233,7 +11233,7 @@ var Input = (0, import_react47.forwardRef)(
11233
11233
  );
11234
11234
  }
11235
11235
  );
11236
- Input.displayName = "Input";
11236
+ Input.displayName = "Input_UI";
11237
11237
 
11238
11238
  // src/components/ColorPicker/HexColorInput.tsx
11239
11239
  var import_jsx_runtime246 = require("react/jsx-runtime");
@@ -11396,7 +11396,7 @@ var HexColorInput = ({ autoFocus = true }) => {
11396
11396
  }
11397
11397
  );
11398
11398
  };
11399
- HexColorInput.displayName = "HexColorInput";
11399
+ HexColorInput.displayName = "HexColorInput_UI";
11400
11400
 
11401
11401
  // src/components/ColorPicker/HueSlider.tsx
11402
11402
  var import_react50 = require("react");
@@ -11533,7 +11533,7 @@ var HueSlider = () => {
11533
11533
  /* @__PURE__ */ (0, import_jsx_runtime248.jsx)(HSVHueCanvas, { hsv: valueAsHsv })
11534
11534
  ] });
11535
11535
  };
11536
- HueSlider.displayName = "HueSlider";
11536
+ HueSlider.displayName = "HueSlider_UI";
11537
11537
 
11538
11538
  // src/components/ColorPicker/SaturationAndValuePicker.tsx
11539
11539
  var import_react52 = require("react");
@@ -11905,7 +11905,7 @@ var SaturationAndValuePicker = ({
11905
11905
  )
11906
11906
  );
11907
11907
  };
11908
- SaturationAndValuePicker.displayName = "SaturationAndValuePicker";
11908
+ SaturationAndValuePicker.displayName = "SaturationAndValuePicker_UI";
11909
11909
 
11910
11910
  // src/components/Combobox/Combobox.tsx
11911
11911
  var Ariakit = __toESM(require("@ariakit/react"));
@@ -12066,7 +12066,7 @@ var Tag = (0, import_react53.forwardRef)(
12066
12066
  );
12067
12067
  }
12068
12068
  );
12069
- Tag.displayName = "Tag";
12069
+ Tag.displayName = "Tag_UI";
12070
12070
 
12071
12071
  // src/components/Combobox/Combobox.tsx
12072
12072
  var import_jsx_runtime252 = require("react/jsx-runtime");
@@ -12473,6 +12473,7 @@ var DataCard = (props) => {
12473
12473
  {
12474
12474
  ref,
12475
12475
  ...(0, import_type_guards37.isNotNil)(props.beforeAction) ? { beforeAction: props.beforeAction } : {},
12476
+ ...(0, import_type_guards37.isNotNil)(props.reloadDocument) ? { reloadDocument: props.reloadDocument } : {},
12476
12477
  disabled: props.disabled ?? false,
12477
12478
  href: props.href,
12478
12479
  onClick: props.onClick,
@@ -12485,7 +12486,7 @@ var DataCard = (props) => {
12485
12486
  }
12486
12487
  return /* @__PURE__ */ (0, import_jsx_runtime253.jsx)(DataCardInner, { ...props });
12487
12488
  };
12488
- DataCard.displayName = "DataCard";
12489
+ DataCard.displayName = "DataCard_UI";
12489
12490
 
12490
12491
  // src/components/DataCards/DataCards.tsx
12491
12492
  var import_styled_components68 = __toESM(require("styled-components"));
@@ -12519,7 +12520,7 @@ var DataCards = ({
12519
12520
  }
12520
12521
  );
12521
12522
  };
12522
- DataCards.displayName = "DataCards";
12523
+ DataCards.displayName = "DataCards_UI";
12523
12524
 
12524
12525
  // src/components/DataCards/DataCardTrend.tsx
12525
12526
  var import_styled_components69 = __toESM(require("styled-components"));
@@ -12597,7 +12598,7 @@ var Divider = ({ orientation = "horizontal", ...props }) => {
12597
12598
  }
12598
12599
  );
12599
12600
  };
12600
- Divider.displayName = "Divider";
12601
+ Divider.displayName = "Divider_UI";
12601
12602
 
12602
12603
  // src/components/EditableHeading/EditableHeading.tsx
12603
12604
  var import_styled_components71 = __toESM(require("styled-components"));
@@ -12871,7 +12872,7 @@ var Label = ({
12871
12872
  }
12872
12873
  );
12873
12874
  };
12874
- Label.displayName = "Label";
12875
+ Label.displayName = "Label_UI";
12875
12876
 
12876
12877
  // src/components/FormField/FormField.tsx
12877
12878
  var import_jsx_runtime260 = require("react/jsx-runtime");
@@ -13029,7 +13030,7 @@ var FormField = ({
13029
13030
  }
13030
13031
  );
13031
13032
  };
13032
- FormField.displayName = "FormField";
13033
+ FormField.displayName = "FormField_UI";
13033
13034
 
13034
13035
  // src/components/FormGroup/RadioGroup.tsx
13035
13036
  var import_react60 = require("react");
@@ -13056,7 +13057,7 @@ var RadioGroup = ({
13056
13057
  }, [name, derivedValue, onChange]);
13057
13058
  return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(RadioGroupContext.Provider, { value: context, children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(FormGroup, { ...props, children }) });
13058
13059
  };
13059
- RadioGroup.displayName = "RadioGroup";
13060
+ RadioGroup.displayName = "RadioGroup_UI";
13060
13061
 
13061
13062
  // src/components/Grid/Grid.tsx
13062
13063
  var import_react61 = require("react");
@@ -13064,49 +13065,52 @@ var import_styled_components74 = __toESM(require("styled-components"));
13064
13065
  var import_type_guards40 = require("@wistia/type-guards");
13065
13066
  var import_jsx_runtime262 = require("react/jsx-runtime");
13066
13067
  var DEFAULT_ELEMENT5 = "div";
13068
+ var getGridTemplateColumns = (maxColumns, minChildWidth, expandItems) => {
13069
+ if (minChildWidth === "auto" && maxColumns === "auto") {
13070
+ return import_styled_components74.css`
13071
+ grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
13072
+ `;
13073
+ }
13074
+ const gridMode = expandItems ? "auto-fit" : "auto-fill";
13075
+ const minChildWidthValue = minChildWidth === "auto" ? 0 : minChildWidth;
13076
+ if (maxColumns === "auto") {
13077
+ return import_styled_components74.css`
13078
+ grid-template-columns: repeat(${gridMode}, minmax(${minChildWidthValue}px, 1fr));
13079
+ `;
13080
+ }
13081
+ return import_styled_components74.css`
13082
+ /* Adapted from https://9elements.com/blog/building-a-rock-solid-auto-grid/ */
13083
+ --wui-grid-total-column-gap-width: calc(${maxColumns - 1} * var(--wui-grid-column-gap));
13084
+ --wui-grid-max-column-width: calc(
13085
+ (100% - var(--wui-grid-total-column-gap-width)) / ${maxColumns}
13086
+ );
13087
+
13088
+ grid-template-columns: repeat(
13089
+ ${gridMode},
13090
+ minmax(max(${minChildWidthValue}px, var(--wui-grid-max-column-width)), 1fr)
13091
+ );
13092
+ `;
13093
+ };
13067
13094
  var StyledGrid = import_styled_components74.default.div`
13068
13095
  --wui-grid-column-gap: ${({ $columnGap }) => `var(--wui-${$columnGap})`};
13069
13096
  --wui-grid-row-gap: ${({ $rowGap }) => `var(--wui-${$rowGap})`};
13070
- --wui-grid-min-column-size: ${({ $minChildWidth }) => $minChildWidth === "auto" ? "0" : `${$minChildWidth}px`};
13071
- --wui-grid-max-columns: ${({ $maxColumns }) => $maxColumns === "auto" ? "infinity" : $maxColumns};
13072
- --wui-grid-column-gap-count: calc(var(--wui-grid-max-columns) - 1);
13073
- --wui-grid-total-column-gap-width: calc(
13074
- var(--wui-grid-column-gap-count) * var(--wui-grid-column-gap)
13075
- );
13076
- --wui-grid-max-column-width: calc(
13077
- (100% - var(--wui-grid-total-column-gap-width)) / var(--wui-grid-max-columns)
13078
- );
13079
13097
 
13080
13098
  display: grid;
13081
13099
  gap: var(--wui-grid-column-gap) var(--wui-grid-row-gap);
13082
13100
  width: 100%;
13083
13101
 
13084
- ${({ $maxColumns, $minChildWidth }) => {
13085
- if ($maxColumns === "auto" && $minChildWidth === "auto") {
13086
- return import_styled_components74.css`
13087
- grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
13088
- `;
13089
- }
13090
- if ($maxColumns !== "auto" && $minChildWidth === "auto") {
13091
- return import_styled_components74.css`
13092
- grid-template-columns: repeat(${$maxColumns}, minmax(0, 1fr));
13093
- `;
13094
- }
13095
- if ($maxColumns === "auto" && $minChildWidth !== "auto") {
13096
- return import_styled_components74.css`
13097
- grid-template-columns: repeat(auto-fit, minmax(${$minChildWidth}px, 1fr));
13098
- `;
13099
- }
13100
- return import_styled_components74.css`
13101
- grid-template-columns: repeat(
13102
- auto-fit,
13103
- minmax(max(var(--wui-grid-min-column-size), var(--wui-grid-max-column-width)), 1fr)
13104
- );
13105
- `;
13106
- }}
13102
+ ${({ $maxColumns, $minChildWidth, $expandItems }) => getGridTemplateColumns($maxColumns, $minChildWidth, $expandItems)}
13107
13103
  `;
13108
13104
  var GridComponent = (0, import_react61.forwardRef)(
13109
- ({ children, columns = "auto", minChildWidth = "auto", gap = "space-02", renderAs, ...props }, ref) => {
13105
+ ({
13106
+ children,
13107
+ columns = "auto",
13108
+ minChildWidth = "auto",
13109
+ gap = "space-02",
13110
+ expandItems = false,
13111
+ renderAs,
13112
+ ...props
13113
+ }, ref) => {
13110
13114
  const responsiveGap = useResponsiveProp(gap);
13111
13115
  const { column, row } = (0, import_type_guards40.isRecord)(responsiveGap) ? responsiveGap : { column: responsiveGap, row: responsiveGap };
13112
13116
  const responsiveColumns = useResponsiveProp(columns);
@@ -13116,6 +13120,7 @@ var GridComponent = (0, import_react61.forwardRef)(
13116
13120
  {
13117
13121
  ref,
13118
13122
  $columnGap: column,
13123
+ $expandItems: expandItems,
13119
13124
  $maxColumns: responsiveColumns,
13120
13125
  $minChildWidth: responsiveMinChildWidth,
13121
13126
  $rowGap: row,
@@ -13126,7 +13131,7 @@ var GridComponent = (0, import_react61.forwardRef)(
13126
13131
  );
13127
13132
  }
13128
13133
  );
13129
- GridComponent.displayName = "Grid";
13134
+ GridComponent.displayName = "Grid_UI";
13130
13135
  var Grid = makePolymorphic(GridComponent);
13131
13136
 
13132
13137
  // src/components/InputClickToCopy/InputClickToCopy.tsx
@@ -13191,7 +13196,7 @@ var InputClickToCopy = (0, import_react62.forwardRef)(
13191
13196
  );
13192
13197
  }
13193
13198
  );
13194
- InputClickToCopy.displayName = "InputClickToCopy";
13199
+ InputClickToCopy.displayName = "InputClickToCopy_UI";
13195
13200
 
13196
13201
  // src/components/KeyboardShortcut/KeyboardShortcut.tsx
13197
13202
  var import_styled_components76 = __toESM(require("styled-components"));
@@ -13300,7 +13305,7 @@ var KeyboardShortcut = ({
13300
13305
  ]
13301
13306
  }
13302
13307
  );
13303
- KeyboardShortcut.displayName = "KeyboardShortcut";
13308
+ KeyboardShortcut.displayName = "KeyboardShortcut_UI";
13304
13309
 
13305
13310
  // src/components/List/List.tsx
13306
13311
  var import_type_guards44 = require("@wistia/type-guards");
@@ -13319,7 +13324,7 @@ var ListItem = ({ children }) => {
13319
13324
  }
13320
13325
  return /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(ListItemComponent, { children });
13321
13326
  };
13322
- ListItem.displayName = "ListItem";
13327
+ ListItem.displayName = "ListItem_UI";
13323
13328
 
13324
13329
  // src/components/List/List.tsx
13325
13330
  var import_jsx_runtime266 = require("react/jsx-runtime");
@@ -13458,7 +13463,7 @@ var List = ({
13458
13463
  }
13459
13464
  return null;
13460
13465
  };
13461
- List.displayName = "List";
13466
+ List.displayName = "List_UI";
13462
13467
 
13463
13468
  // src/components/Menu/Menu.tsx
13464
13469
  var import_react64 = require("react");
@@ -13623,8 +13628,8 @@ var Menu = (0, import_react64.forwardRef)(
13623
13628
  ) });
13624
13629
  }
13625
13630
  );
13626
- Menu.displayName = "Menu";
13627
- Menu.displayName = "Menu";
13631
+ Menu.displayName = "Menu_UI";
13632
+ Menu.displayName = "Menu_UI";
13628
13633
 
13629
13634
  // src/components/Menu/MenuLabel.tsx
13630
13635
  var import_styled_components80 = __toESM(require("styled-components"));
@@ -13651,7 +13656,7 @@ var MenuLabel = ({ children, ...props }) => {
13651
13656
  }
13652
13657
  );
13653
13658
  };
13654
- MenuLabel.displayName = "MenuLabel";
13659
+ MenuLabel.displayName = "MenuLabel_UI";
13655
13660
 
13656
13661
  // src/components/Menu/SubMenu.tsx
13657
13662
  var import_react66 = require("react");
@@ -13776,7 +13781,7 @@ var MenuItemButton = (0, import_react65.forwardRef)(({ children, appearance, com
13776
13781
  }
13777
13782
  );
13778
13783
  });
13779
- MenuItemButton.displayName = "MenuItemButton";
13784
+ MenuItemButton.displayName = "MenuItemButton_UI";
13780
13785
 
13781
13786
  // src/components/Menu/MenuItemLabelDescription.tsx
13782
13787
  var import_styled_components82 = __toESM(require("styled-components"));
@@ -13863,7 +13868,7 @@ var SubMenu = ({
13863
13868
  /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(StyledMobileSubMenuItems, { children: isExpanded ? children : null })
13864
13869
  ] });
13865
13870
  };
13866
- SubMenu.displayName = "SubMenu";
13871
+ SubMenu.displayName = "SubMenu_UI";
13867
13872
 
13868
13873
  // src/components/Menu/MenuItem.tsx
13869
13874
  var import_react67 = require("react");
@@ -13888,7 +13893,7 @@ var MenuItem = (0, import_react67.forwardRef)(
13888
13893
  );
13889
13894
  }
13890
13895
  );
13891
- MenuItem.displayName = "MenuItem";
13896
+ MenuItem.displayName = "MenuItem_UI";
13892
13897
 
13893
13898
  // src/components/Menu/MenuRadioGroup.tsx
13894
13899
  var import_react_dropdown_menu5 = require("@radix-ui/react-dropdown-menu");
@@ -13896,7 +13901,7 @@ var import_jsx_runtime273 = require("react/jsx-runtime");
13896
13901
  var MenuRadioGroup = ({ children, ...props }) => {
13897
13902
  return /* @__PURE__ */ (0, import_jsx_runtime273.jsx)(import_react_dropdown_menu5.DropdownMenuRadioGroup, { ...props, children });
13898
13903
  };
13899
- MenuRadioGroup.displayName = "MenuRadioGroup";
13904
+ MenuRadioGroup.displayName = "MenuRadioGroup_UI";
13900
13905
 
13901
13906
  // src/components/Menu/RadioMenuItem.tsx
13902
13907
  var import_react_dropdown_menu6 = require("@radix-ui/react-dropdown-menu");
@@ -13930,7 +13935,7 @@ var RadioMenuItem = ({
13930
13935
  }
13931
13936
  );
13932
13937
  };
13933
- RadioMenuItem.displayName = "RadioMenuItem";
13938
+ RadioMenuItem.displayName = "RadioMenuItem_UI";
13934
13939
 
13935
13940
  // src/components/Menu/CheckboxMenuItem.tsx
13936
13941
  var import_react_dropdown_menu7 = require("@radix-ui/react-dropdown-menu");
@@ -14015,7 +14020,7 @@ var CheckboxMenuItem = ({
14015
14020
  }
14016
14021
  );
14017
14022
  };
14018
- CheckboxMenuItem.displayName = "CheckboxMenuItem";
14023
+ CheckboxMenuItem.displayName = "CheckboxMenuItem_UI";
14019
14024
 
14020
14025
  // src/components/Menu/FilterMenu.tsx
14021
14026
  var import_react68 = require("react");
@@ -14117,7 +14122,7 @@ var FilterMenu = (0, import_react68.forwardRef)(
14117
14122
  );
14118
14123
  }
14119
14124
  );
14120
- FilterMenu.displayName = "FilterMenu";
14125
+ FilterMenu.displayName = "FilterMenu_UI";
14121
14126
 
14122
14127
  // src/components/Modal/Modal.tsx
14123
14128
  var import_react71 = require("react");
@@ -14446,7 +14451,7 @@ var Modal = (0, import_react71.forwardRef)(
14446
14451
  );
14447
14452
  }
14448
14453
  );
14449
- Modal.displayName = "Modal";
14454
+ Modal.displayName = "Modal_UI";
14450
14455
 
14451
14456
  // src/components/Popover/Popover.tsx
14452
14457
  var import_react_popover5 = require("@radix-ui/react-popover");
@@ -14536,7 +14541,7 @@ var PopoverArrow = ({ isAnimated }) => {
14536
14541
  }
14537
14542
  ) });
14538
14543
  };
14539
- PopoverArrow.displayName = "PopoverArrow";
14544
+ PopoverArrow.displayName = "PopoverArrow_UI";
14540
14545
 
14541
14546
  // src/components/Popover/Popover.tsx
14542
14547
  var import_jsx_runtime282 = require("react/jsx-runtime");
@@ -14605,7 +14610,7 @@ var Popover2 = ({
14605
14610
  ) })
14606
14611
  ] });
14607
14612
  };
14608
- Popover2.displayName = "Popover";
14613
+ Popover2.displayName = "Popover_UI";
14609
14614
 
14610
14615
  // src/components/ProgressBar/ProgressBar.tsx
14611
14616
  var import_styled_components91 = __toESM(require("styled-components"));
@@ -14684,7 +14689,7 @@ var ProgressBar = ({
14684
14689
  (0, import_type_guards52.isNotNil)(labelRight) ? /* @__PURE__ */ (0, import_jsx_runtime283.jsx)(ProgressBarLabel, { children: labelRight }) : null
14685
14690
  ] });
14686
14691
  };
14687
- ProgressBar.displayName = "ProgressBar";
14692
+ ProgressBar.displayName = "ProgressBar_UI";
14688
14693
 
14689
14694
  // src/components/Radio/Radio.tsx
14690
14695
  var import_react72 = require("react");
@@ -14859,7 +14864,7 @@ var Radio = (0, import_react72.forwardRef)(
14859
14864
  );
14860
14865
  }
14861
14866
  );
14862
- Radio.displayName = "Radio";
14867
+ Radio.displayName = "Radio_UI";
14863
14868
 
14864
14869
  // src/components/RadioCard/RadioCard.tsx
14865
14870
  var import_react74 = require("react");
@@ -15023,7 +15028,7 @@ var RadioCardRoot = (0, import_react73.forwardRef)(
15023
15028
  );
15024
15029
  }
15025
15030
  );
15026
- RadioCardRoot.displayName = "RadioCardRoot";
15031
+ RadioCardRoot.displayName = "RadioCardRoot_UI";
15027
15032
 
15028
15033
  // src/components/RadioCard/RadioCardDefaultLayout.tsx
15029
15034
  var import_styled_components95 = __toESM(require("styled-components"));
@@ -15077,7 +15082,7 @@ var RadioCardIndicator = import_styled_components94.default.div`
15077
15082
  --wui-radio-card-indicator-background-color: var(--wui-color-bg-surface-disabled);
15078
15083
  }
15079
15084
  `;
15080
- RadioCardIndicator.displayName = "RadioCardIndicator";
15085
+ RadioCardIndicator.displayName = "RadioCardIndicator_UI";
15081
15086
 
15082
15087
  // src/components/RadioCard/RadioCardDefaultLayout.tsx
15083
15088
  var import_jsx_runtime286 = require("react/jsx-runtime");
@@ -15125,7 +15130,7 @@ var RadioCardDefaultLayout = ({
15125
15130
  ] })
15126
15131
  ] });
15127
15132
  };
15128
- RadioCardDefaultLayout.displayName = "RadioCardDefaultLayout";
15133
+ RadioCardDefaultLayout.displayName = "RadioCardDefaultLayout_UI";
15129
15134
 
15130
15135
  // src/components/RadioCard/RadioCard.tsx
15131
15136
  var import_jsx_runtime287 = require("react/jsx-runtime");
@@ -15149,7 +15154,7 @@ var RadioCard = (0, import_react74.forwardRef)(
15149
15154
  );
15150
15155
  }
15151
15156
  );
15152
- RadioCard.displayName = "RadioCard";
15157
+ RadioCard.displayName = "RadioCard_UI";
15153
15158
 
15154
15159
  // src/components/RadioCard/RadioCardImage.tsx
15155
15160
  var import_react75 = require("react");
@@ -15177,7 +15182,7 @@ var RadioCardImage = (0, import_react75.forwardRef)(
15177
15182
  );
15178
15183
  }
15179
15184
  );
15180
- RadioCardImage.displayName = "RadioCardImage";
15185
+ RadioCardImage.displayName = "RadioCardImage_UI";
15181
15186
 
15182
15187
  // src/components/SegmentedControl/SegmentedControl.tsx
15183
15188
  var import_react78 = require("react");
@@ -15314,7 +15319,7 @@ var SegmentedControl = (0, import_react78.forwardRef)(
15314
15319
  );
15315
15320
  }
15316
15321
  );
15317
- SegmentedControl.displayName = "SegmentedControl";
15322
+ SegmentedControl.displayName = "SegmentedControl_UI";
15318
15323
 
15319
15324
  // src/components/SegmentedControl/SegmentedControlItem.tsx
15320
15325
  var import_react79 = require("react");
@@ -15448,7 +15453,7 @@ var SegmentedControlItem = (0, import_react79.forwardRef)(
15448
15453
  );
15449
15454
  }
15450
15455
  );
15451
- SegmentedControlItem.displayName = "SegmentedControlItem";
15456
+ SegmentedControlItem.displayName = "SegmentedControlItem_UI";
15452
15457
 
15453
15458
  // src/components/Select/Select.tsx
15454
15459
  var import_react_select = require("@radix-ui/react-select");
@@ -15562,7 +15567,7 @@ var Select = (0, import_react80.forwardRef)(
15562
15567
  );
15563
15568
  }
15564
15569
  );
15565
- Select.displayName = "Select";
15570
+ Select.displayName = "Select_UI";
15566
15571
 
15567
15572
  // src/components/Select/SelectOption.tsx
15568
15573
  var import_react_select2 = require("@radix-ui/react-select");
@@ -15621,7 +15626,7 @@ var SelectOption = (0, import_react81.forwardRef)(
15621
15626
  );
15622
15627
  }
15623
15628
  );
15624
- SelectOption.displayName = "SelectOption";
15629
+ SelectOption.displayName = "SelectOption_UI";
15625
15630
 
15626
15631
  // src/components/Select/SelectOptionGroup.tsx
15627
15632
  var import_react_select3 = require("@radix-ui/react-select");
@@ -15769,7 +15774,7 @@ var Slider = ({
15769
15774
  }
15770
15775
  );
15771
15776
  };
15772
- Slider.displayName = "Slider";
15777
+ Slider.displayName = "Slider_UI";
15773
15778
 
15774
15779
  // src/components/Table/Table.tsx
15775
15780
  var import_styled_components103 = __toESM(require("styled-components"));
@@ -15930,7 +15935,7 @@ var Tabs = ({
15930
15935
  }
15931
15936
  return /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(import_react_tabs.Root, { ...rootProps, children: /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(TabsValueProvider, { value: value ?? defaultValue, children: /* @__PURE__ */ (0, import_jsx_runtime303.jsx)(SelectedItemStyleProvider, { children }) }) });
15932
15937
  };
15933
- Tabs.displayName = "Tabs";
15938
+ Tabs.displayName = "Tabs_UI";
15934
15939
 
15935
15940
  // src/components/Tabs/TabsContent.tsx
15936
15941
  var import_react_tabs2 = require("@radix-ui/react-tabs");
@@ -15938,7 +15943,7 @@ var import_jsx_runtime304 = require("react/jsx-runtime");
15938
15943
  var TabsContent = ({ children, value }) => {
15939
15944
  return /* @__PURE__ */ (0, import_jsx_runtime304.jsx)(import_react_tabs2.Content, { value, children });
15940
15945
  };
15941
- TabsContent.displayName = "TabsContent";
15946
+ TabsContent.displayName = "TabsContent_UI";
15942
15947
 
15943
15948
  // src/components/Tabs/TabsList.tsx
15944
15949
  var import_react_tabs3 = require("@radix-ui/react-tabs");
@@ -15990,7 +15995,7 @@ var TabsList = ({ children, fullWidth = true, ...props }) => {
15990
15995
  }
15991
15996
  );
15992
15997
  };
15993
- TabsList.displayName = "TabsList";
15998
+ TabsList.displayName = "TabsList_UI";
15994
15999
 
15995
16000
  // src/components/Tabs/TabsTrigger.tsx
15996
16001
  var import_react86 = require("react");
@@ -16057,7 +16062,7 @@ var TabsTrigger = (0, import_react86.forwardRef)(
16057
16062
  );
16058
16063
  }
16059
16064
  );
16060
- TabsTrigger.displayName = "TabsTrigger";
16065
+ TabsTrigger.displayName = "TabsTrigger_UI";
16061
16066
 
16062
16067
  // src/components/Thumbnail/ThumbnailBadge.tsx
16063
16068
  var import_styled_components112 = __toESM(require("styled-components"));
@@ -16093,7 +16098,7 @@ var ThumbnailBadge = ({ icon, label, ...props }) => {
16093
16098
  /* @__PURE__ */ (0, import_jsx_runtime308.jsx)("span", { children: label })
16094
16099
  ] });
16095
16100
  };
16096
- ThumbnailBadge.displayName = "ThumbnailBadge";
16101
+ ThumbnailBadge.displayName = "ThumbnailBadge_UI";
16097
16102
 
16098
16103
  // src/components/Thumbnail/Thumbnail.tsx
16099
16104
  var import_react87 = require("react");
@@ -16536,7 +16541,7 @@ var Thumbnail = (0, import_react87.forwardRef)(
16536
16541
  );
16537
16542
  }
16538
16543
  );
16539
- Thumbnail.displayName = "Thumbnail";
16544
+ Thumbnail.displayName = "Thumbnail_UI";
16540
16545
 
16541
16546
  // src/components/ThumbnailCollage/ThumbnailCollage.tsx
16542
16547
  var import_react88 = __toESM(require("react"));
@@ -16770,7 +16775,7 @@ var WistiaLogo = ({
16770
16775
  );
16771
16776
  return href !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime312.jsx)("a", { href, children: Logo }) : Logo;
16772
16777
  };
16773
- WistiaLogo.displayName = "WistiaLogo";
16778
+ WistiaLogo.displayName = "WistiaLogo_UI";
16774
16779
 
16775
16780
  // src/components/InputPassword/InputPassword.tsx
16776
16781
  var import_styled_components118 = __toESM(require("styled-components"));
@@ -16817,7 +16822,7 @@ var InputPassword = (0, import_react89.forwardRef)(
16817
16822
  );
16818
16823
  }
16819
16824
  );
16820
- InputPassword.displayName = "InputPassword";
16825
+ InputPassword.displayName = "InputPassword_UI";
16821
16826
 
16822
16827
  // src/components/ContextMenu/ContextMenu.tsx
16823
16828
  var import_react90 = require("react");