@wistia/ui 0.6.21 → 0.6.22

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.6.21
3
+ * @license @wistia/ui v0.6.22
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -2116,6 +2116,7 @@ var ellipsisStyle = css13`
2116
2116
  overflow: hidden;
2117
2117
  text-overflow: ellipsis;
2118
2118
  white-space: nowrap;
2119
+ display: block;
2119
2120
 
2120
2121
  /*
2121
2122
  Using feature detection (i.e., -webkit-named-image) we only target Safari browsers
@@ -2138,7 +2139,7 @@ var ellipsisStyle = css13`
2138
2139
  var ellipsisFlexParentStyle = css13`
2139
2140
  min-width: 0;
2140
2141
  `;
2141
- var EllipsisComponent = styled.div`
2142
+ var EllipsisComponent = styled.span`
2142
2143
  ${ellipsisStyle};
2143
2144
  ${({ $lines }) => {
2144
2145
  if (isNotNil2($lines)) {
@@ -7414,12 +7415,12 @@ Card.displayName = "Card";
7414
7415
 
7415
7416
  // src/components/Checkbox/Checkbox.tsx
7416
7417
  import { forwardRef as forwardRef6, useId } from "react";
7417
- import styled17, { css as css20 } from "styled-components";
7418
+ import styled18, { css as css20 } from "styled-components";
7418
7419
  import { isNonEmptyString as isNonEmptyString2 } from "@wistia/type-guards";
7419
7420
 
7420
7421
  // src/private/components/FormControlLabel/FormControlLabel.tsx
7421
- import styled16, { css as css19 } from "styled-components";
7422
- import { isNil as isNil12, isNotNil as isNotNil8 } from "@wistia/type-guards";
7422
+ import styled17, { css as css19 } from "styled-components";
7423
+ import { isNil as isNil12, isNotNil as isNotNil9 } from "@wistia/type-guards";
7423
7424
 
7424
7425
  // src/private/components/FormControlLabel/FormControlLabelDescription.tsx
7425
7426
  import styled15, { css as css18 } from "styled-components";
@@ -7457,16 +7458,38 @@ var FormControlLabelDescription = ({
7457
7458
  };
7458
7459
  FormControlLabelDescription.displayName = "FormControlLabelDescription";
7459
7460
 
7461
+ // src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
7462
+ import styled16 from "styled-components";
7463
+ import { isNotNil as isNotNil8 } from "@wistia/type-guards";
7464
+ import { jsx as jsx200 } from "react/jsx-runtime";
7465
+ var VisuallyHidden = styled16.div({ ...visuallyHiddenStyle });
7466
+ var VisuallyHiddenButFocusable = styled16.div({
7467
+ "&:not(:focus-within)": visuallyHiddenStyle
7468
+ });
7469
+ var ScreenReaderOnly = ({
7470
+ text,
7471
+ children,
7472
+ focusable = false,
7473
+ ...otherProps
7474
+ }) => {
7475
+ const accessibleText = isNotNil8(text) ? text : children;
7476
+ if (focusable) {
7477
+ return /* @__PURE__ */ jsx200(VisuallyHiddenButFocusable, { ...otherProps, children: accessibleText });
7478
+ }
7479
+ return /* @__PURE__ */ jsx200(VisuallyHidden, { ...otherProps, children: accessibleText });
7480
+ };
7481
+ ScreenReaderOnly.displayName = "ScreenReaderOnly";
7482
+
7460
7483
  // src/private/components/FormControlLabel/FormControlLabel.tsx
7461
- import { jsx as jsx200, jsxs as jsxs12 } from "react/jsx-runtime";
7484
+ import { jsx as jsx201, jsxs as jsxs12 } from "react/jsx-runtime";
7462
7485
  var disabledStyle2 = css19`
7463
7486
  color: var(--wui-color-text-disabled);
7464
7487
  `;
7465
- var StyledLabelWrapper = styled16.div`
7488
+ var StyledLabelWrapper = styled17.div`
7466
7489
  display: flex;
7467
7490
  flex-direction: column;
7468
7491
  `;
7469
- var StyledFormControlLabel = styled16.label`
7492
+ var StyledFormControlLabel = styled17.label`
7470
7493
  cursor: pointer;
7471
7494
  display: flex;
7472
7495
  align-items: center;
@@ -7485,11 +7508,16 @@ var FormControlLabel = ({
7485
7508
  disabled = false,
7486
7509
  controlSlot,
7487
7510
  htmlFor,
7511
+ hideLabel = false,
7488
7512
  ...props
7489
7513
  }) => {
7490
7514
  if (isNil12(label)) {
7491
7515
  return null;
7492
7516
  }
7517
+ const labelContent = hideLabel ? /* @__PURE__ */ jsx201(ScreenReaderOnly, { children: label }) : /* @__PURE__ */ jsxs12(StyledLabelWrapper, { children: [
7518
+ label,
7519
+ /* @__PURE__ */ jsx201(FormControlLabelDescription, { children: description })
7520
+ ] });
7493
7521
  return /* @__PURE__ */ jsxs12(
7494
7522
  StyledFormControlLabel,
7495
7523
  {
@@ -7497,11 +7525,8 @@ var FormControlLabel = ({
7497
7525
  htmlFor,
7498
7526
  ...props,
7499
7527
  children: [
7500
- isNotNil8(controlSlot) ? controlSlot : null,
7501
- /* @__PURE__ */ jsxs12(StyledLabelWrapper, { children: [
7502
- label,
7503
- /* @__PURE__ */ jsx200(FormControlLabelDescription, { children: description })
7504
- ] })
7528
+ isNotNil9(controlSlot) ? controlSlot : null,
7529
+ labelContent
7505
7530
  ]
7506
7531
  }
7507
7532
  );
@@ -7509,8 +7534,8 @@ var FormControlLabel = ({
7509
7534
  FormControlLabel.displayName = "FormControlLabel";
7510
7535
 
7511
7536
  // src/components/Checkbox/Checkbox.tsx
7512
- import { jsx as jsx201, jsxs as jsxs13 } from "react/jsx-runtime";
7513
- var CheckIcon = () => /* @__PURE__ */ jsx201(
7537
+ import { jsx as jsx202, jsxs as jsxs13 } from "react/jsx-runtime";
7538
+ var CheckIcon = () => /* @__PURE__ */ jsx202(
7514
7539
  "svg",
7515
7540
  {
7516
7541
  fill: "inherit",
@@ -7518,7 +7543,7 @@ var CheckIcon = () => /* @__PURE__ */ jsx201(
7518
7543
  viewBox: "0 0 10 8",
7519
7544
  width: "10",
7520
7545
  xmlns: "http://www.w3.org/2000/svg",
7521
- children: /* @__PURE__ */ jsx201(
7546
+ children: /* @__PURE__ */ jsx202(
7522
7547
  "path",
7523
7548
  {
7524
7549
  d: "M3.47281 7.19303L0.377565 4.07999C0.191609 3.89297 0.191609 3.58973 0.377565 3.40268L1.05098 2.72537C1.23694 2.53833 1.53847 2.53833 1.72442 2.72537L3.80953 4.82245L8.27558 0.330729C8.46154 0.143704 8.76306 0.143704 8.94902 0.330729L9.62244 1.00804C9.8084 1.19506 9.8084 1.49831 9.62244 1.68535L4.14624 7.19305C3.96027 7.38008 3.65876 7.38008 3.47281 7.19303Z",
@@ -7549,7 +7574,7 @@ var inputSizeLarge = css20`
7549
7574
  min-width: 20px;
7550
7575
  min-height: 20px;
7551
7576
  `;
7552
- var StyledCheckboxWrapper = styled17.div`
7577
+ var StyledCheckboxWrapper = styled18.div`
7553
7578
  display: flex;
7554
7579
  margin: 0;
7555
7580
 
@@ -7563,7 +7588,7 @@ var getSizeCss = (size) => {
7563
7588
  if (size === "lg") return inputSizeLarge;
7564
7589
  return inputSizeMedium;
7565
7590
  };
7566
- var StyledCheckboxInput = styled17.div`
7591
+ var StyledCheckboxInput = styled18.div`
7567
7592
  ${({ $size }) => getSizeCss($size)}
7568
7593
  line-height: 0;
7569
7594
  margin: 0;
@@ -7582,7 +7607,7 @@ var StyledCheckboxInput = styled17.div`
7582
7607
  }
7583
7608
  }
7584
7609
  `;
7585
- var StyledHiddenCheckboxInput = styled17.input`
7610
+ var StyledHiddenCheckboxInput = styled18.input`
7586
7611
  ${visuallyHiddenStyle}
7587
7612
 
7588
7613
  /* toggles display of faux-input background-color */
@@ -7607,6 +7632,7 @@ var Checkbox = forwardRef6(
7607
7632
  size = "md",
7608
7633
  value,
7609
7634
  required = false,
7635
+ hideLabel = false,
7610
7636
  ...props
7611
7637
  }, ref) => {
7612
7638
  const generatedId = useId();
@@ -7617,7 +7643,7 @@ var Checkbox = forwardRef6(
7617
7643
  ref,
7618
7644
  disabled,
7619
7645
  children: [
7620
- /* @__PURE__ */ jsx201(
7646
+ /* @__PURE__ */ jsx202(
7621
7647
  StyledHiddenCheckboxInput,
7622
7648
  {
7623
7649
  ...props,
@@ -7632,18 +7658,19 @@ var Checkbox = forwardRef6(
7632
7658
  value
7633
7659
  }
7634
7660
  ),
7635
- /* @__PURE__ */ jsx201(
7661
+ /* @__PURE__ */ jsx202(
7636
7662
  FormControlLabel,
7637
7663
  {
7638
- controlSlot: /* @__PURE__ */ jsx201(
7664
+ controlSlot: /* @__PURE__ */ jsx202(
7639
7665
  StyledCheckboxInput,
7640
7666
  {
7641
7667
  $size: size,
7642
7668
  "data-wui-faux-input": "true",
7643
- children: /* @__PURE__ */ jsx201(CheckIcon, {})
7669
+ children: /* @__PURE__ */ jsx202(CheckIcon, {})
7644
7670
  }
7645
7671
  ),
7646
7672
  description,
7673
+ hideLabel,
7647
7674
  htmlFor: computedId,
7648
7675
  label
7649
7676
  }
@@ -7692,10 +7719,10 @@ ClickRegion.displayName = "ClickRegion";
7692
7719
 
7693
7720
  // src/components/Collapsible/Collapsible.tsx
7694
7721
  import { Root } from "@radix-ui/react-collapsible";
7695
- import { isNotNil as isNotNil9 } from "@wistia/type-guards";
7696
- import styled18 from "styled-components";
7697
- import { jsx as jsx202 } from "react/jsx-runtime";
7698
- var StyledRoot = styled18(Root)`
7722
+ import { isNotNil as isNotNil10 } from "@wistia/type-guards";
7723
+ import styled19 from "styled-components";
7724
+ import { jsx as jsx203 } from "react/jsx-runtime";
7725
+ var StyledRoot = styled19(Root)`
7699
7726
  &[data-state='closed'] [data-wui-collapsible-content] {
7700
7727
  display: -webkit-box;
7701
7728
  -webkit-box-orient: vertical;
@@ -7709,47 +7736,47 @@ var Collapsible = ({
7709
7736
  onOpenChange
7710
7737
  }) => {
7711
7738
  const controlProps = {
7712
- ...isNotNil9(onOpenChange) && isNotNil9(isOpen) ? { open: isOpen, onOpenChange } : {}
7739
+ ...isNotNil10(onOpenChange) && isNotNil10(isOpen) ? { open: isOpen, onOpenChange } : {}
7713
7740
  };
7714
- return /* @__PURE__ */ jsx202(StyledRoot, { ...controlProps, children });
7741
+ return /* @__PURE__ */ jsx203(StyledRoot, { ...controlProps, children });
7715
7742
  };
7716
7743
  Collapsible.displayName = "Collapsible";
7717
7744
 
7718
7745
  // src/components/Collapsible/CollapsibleTrigger.tsx
7719
7746
  import { Children as Children4 } from "react";
7720
7747
  import { Trigger } from "@radix-ui/react-collapsible";
7721
- import { jsx as jsx203 } from "react/jsx-runtime";
7748
+ import { jsx as jsx204 } from "react/jsx-runtime";
7722
7749
  var CollapsibleTrigger = ({ children }) => {
7723
7750
  Children4.only(children);
7724
- return /* @__PURE__ */ jsx203(Trigger, { asChild: true, children });
7751
+ return /* @__PURE__ */ jsx204(Trigger, { asChild: true, children });
7725
7752
  };
7726
7753
 
7727
7754
  // src/components/Collapsible/CollapsibleContent.tsx
7728
- import styled19 from "styled-components";
7755
+ import styled20 from "styled-components";
7729
7756
  import { Content } from "@radix-ui/react-collapsible";
7730
7757
  import { isNotUndefined as isNotUndefined5 } from "@wistia/type-guards";
7731
- import { Fragment as Fragment4, jsx as jsx204, jsxs as jsxs14 } from "react/jsx-runtime";
7732
- var ClampedContent = styled19.div.attrs({ "data-wui-collapsible-content": true })`
7758
+ import { Fragment as Fragment4, jsx as jsx205, jsxs as jsxs14 } from "react/jsx-runtime";
7759
+ var ClampedContent = styled20.div.attrs({ "data-wui-collapsible-content": true })`
7733
7760
  --wui-collapsible-content-clamp-lines: ${({ $clamp }) => $clamp};
7734
7761
  `;
7735
7762
  var CollapsibleContent = ({ clamp, children }) => {
7736
7763
  if (isNotUndefined5(clamp)) {
7737
- return /* @__PURE__ */ jsx204(ClampedContent, { $clamp: clamp, children });
7764
+ return /* @__PURE__ */ jsx205(ClampedContent, { $clamp: clamp, children });
7738
7765
  }
7739
- return /* @__PURE__ */ jsx204(Content, { asChild: true, children: /* @__PURE__ */ jsxs14(Fragment4, { children: [
7766
+ return /* @__PURE__ */ jsx205(Content, { asChild: true, children: /* @__PURE__ */ jsxs14(Fragment4, { children: [
7740
7767
  children,
7741
7768
  " "
7742
7769
  ] }) });
7743
7770
  };
7744
7771
 
7745
7772
  // src/components/DataCards/DataCard.tsx
7746
- import styled21, { keyframes } from "styled-components";
7773
+ import styled22, { keyframes } from "styled-components";
7747
7774
  import { isNotNull } from "@wistia/type-guards";
7748
7775
 
7749
7776
  // src/components/Heading/Heading.tsx
7750
7777
  import { forwardRef as forwardRef7 } from "react";
7751
- import styled20, { css as css21 } from "styled-components";
7752
- import { jsx as jsx205 } from "react/jsx-runtime";
7778
+ import styled21, { css as css21 } from "styled-components";
7779
+ import { jsx as jsx206 } from "react/jsx-runtime";
7753
7780
  var heroStyle = css21`
7754
7781
  --font-family: var(--wui-typography-heading-hero-family);
7755
7782
  --font-size: var(--wui-typography-heading-hero-size);
@@ -7802,7 +7829,7 @@ var variantStyleMap = {
7802
7829
  heading6: heading6TextStyle
7803
7830
  };
7804
7831
  var DEFAULT_ELEMENT2 = "h1";
7805
- var StyledHeading = styled20.div`
7832
+ var StyledHeading = styled21.div`
7806
7833
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
7807
7834
  font-family: var(--font-family);
7808
7835
  font-size: var(--font-size);
@@ -7845,7 +7872,7 @@ var HeadingComponent = forwardRef7(
7845
7872
  variant = "heading1",
7846
7873
  renderAs,
7847
7874
  ...otherProps
7848
- }, ref) => /* @__PURE__ */ jsx205(
7875
+ }, ref) => /* @__PURE__ */ jsx206(
7849
7876
  StyledHeading,
7850
7877
  {
7851
7878
  ref,
@@ -7865,8 +7892,8 @@ HeadingComponent.displayName = "Heading";
7865
7892
  var Heading = makePolymorphic(HeadingComponent);
7866
7893
 
7867
7894
  // src/components/DataCards/DataCard.tsx
7868
- import { jsx as jsx206, jsxs as jsxs15 } from "react/jsx-runtime";
7869
- var StyledDataCard = styled21.div`
7895
+ import { jsx as jsx207, jsxs as jsxs15 } from "react/jsx-runtime";
7896
+ var StyledDataCard = styled22.div`
7870
7897
  ${({ $colorScheme }) => getColorScheme($colorScheme)}
7871
7898
  display: grid;
7872
7899
  grid-template-areas: 'label slot' 'value value';
@@ -7887,7 +7914,7 @@ var shimmer = keyframes`
7887
7914
  background-position: -200% 0;
7888
7915
  }
7889
7916
  `;
7890
- var LoadingBackground = styled21.div`
7917
+ var LoadingBackground = styled22.div`
7891
7918
  background: linear-gradient(
7892
7919
  90deg,
7893
7920
  var(--wui-color-bg-surface-tertiary) 25%,
@@ -7898,27 +7925,27 @@ var LoadingBackground = styled21.div`
7898
7925
  animation: ${shimmer} 1.5s infinite;
7899
7926
  border-radius: var(--wui-border-radius-01);
7900
7927
  `;
7901
- var StyledLoadingLabel = styled21(LoadingBackground)`
7928
+ var StyledLoadingLabel = styled22(LoadingBackground)`
7902
7929
  width: 80px;
7903
7930
  height: var(--wui-typography-heading-6-line-height);
7904
7931
  `;
7905
- var StyledLoadingValue = styled21(LoadingBackground)`
7932
+ var StyledLoadingValue = styled22(LoadingBackground)`
7906
7933
  width: 90%;
7907
7934
  height: var(--wui-typography-heading-3-line-height);
7908
7935
  `;
7909
- var StyledLabel2 = styled21(Heading)`
7936
+ var StyledLabel2 = styled22(Heading)`
7910
7937
  grid-area: label;
7911
7938
  `;
7912
- var StyledValue = styled21(Heading)`
7939
+ var StyledValue = styled22(Heading)`
7913
7940
  grid-area: value;
7914
7941
  `;
7915
- var StyledSlot = styled21.div`
7942
+ var StyledSlot = styled22.div`
7916
7943
  display: flex;
7917
7944
  justify-content: flex-end;
7918
7945
  grid-area: slot;
7919
7946
  align-self: center;
7920
7947
  `;
7921
- var StyledDataCardTrendContainer = styled21.div`
7948
+ var StyledDataCardTrendContainer = styled22.div`
7922
7949
  position: absolute;
7923
7950
  bottom: var(--wui-space-01);
7924
7951
  right: var(--wui-space-01);
@@ -7937,33 +7964,33 @@ var DataCard = ({
7937
7964
  $colorScheme: colorScheme,
7938
7965
  ...props,
7939
7966
  children: [
7940
- /* @__PURE__ */ jsx206(
7967
+ /* @__PURE__ */ jsx207(
7941
7968
  StyledLabel2,
7942
7969
  {
7943
7970
  renderAs: "dt",
7944
7971
  variant: "heading6",
7945
- children: isLoading ? /* @__PURE__ */ jsx206(StyledLoadingLabel, {}) : label
7972
+ children: isLoading ? /* @__PURE__ */ jsx207(StyledLoadingLabel, {}) : label
7946
7973
  }
7947
7974
  ),
7948
- /* @__PURE__ */ jsx206(
7975
+ /* @__PURE__ */ jsx207(
7949
7976
  StyledValue,
7950
7977
  {
7951
7978
  renderAs: "dd",
7952
7979
  variant: "heading3",
7953
- children: isLoading ? /* @__PURE__ */ jsx206(StyledLoadingValue, {}) : value
7980
+ children: isLoading ? /* @__PURE__ */ jsx207(StyledLoadingValue, {}) : value
7954
7981
  }
7955
7982
  ),
7956
- isNotNull(upperRightSlot) && !isLoading && /* @__PURE__ */ jsx206(StyledSlot, { children: upperRightSlot }),
7957
- isNotNull(trend) && !isLoading && /* @__PURE__ */ jsx206(StyledDataCardTrendContainer, { children: trend })
7983
+ isNotNull(upperRightSlot) && !isLoading && /* @__PURE__ */ jsx207(StyledSlot, { children: upperRightSlot }),
7984
+ isNotNull(trend) && !isLoading && /* @__PURE__ */ jsx207(StyledDataCardTrendContainer, { children: trend })
7958
7985
  ]
7959
7986
  }
7960
7987
  );
7961
7988
  DataCard.displayName = "DataCard";
7962
7989
 
7963
7990
  // src/components/DataCards/DataCards.tsx
7964
- import styled22 from "styled-components";
7965
- import { jsx as jsx207 } from "react/jsx-runtime";
7966
- var StyledDataCards = styled22(Box)`
7991
+ import styled23 from "styled-components";
7992
+ import { jsx as jsx208 } from "react/jsx-runtime";
7993
+ var StyledDataCards = styled23(Box)`
7967
7994
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
7968
7995
  margin-top: 0; /* Remove default <dl> style */
7969
7996
  > * {
@@ -7977,7 +8004,7 @@ var DataCards = ({
7977
8004
  colorScheme = "inherit",
7978
8005
  ...props
7979
8006
  }) => {
7980
- return /* @__PURE__ */ jsx207(
8007
+ return /* @__PURE__ */ jsx208(
7981
8008
  StyledDataCards,
7982
8009
  {
7983
8010
  ...props,
@@ -7995,12 +8022,12 @@ var DataCards = ({
7995
8022
  DataCards.displayName = "DataCards";
7996
8023
 
7997
8024
  // src/components/DataCards/DataCardTrend.tsx
7998
- import styled24 from "styled-components";
8025
+ import styled25 from "styled-components";
7999
8026
 
8000
8027
  // src/components/Text/Text.tsx
8001
8028
  import { forwardRef as forwardRef8 } from "react";
8002
- import styled23, { css as css22 } from "styled-components";
8003
- import { jsx as jsx208 } from "react/jsx-runtime";
8029
+ import styled24, { css as css22 } from "styled-components";
8030
+ import { jsx as jsx209 } from "react/jsx-runtime";
8004
8031
  var bodyBoldStyles = css22`
8005
8032
  > strong,
8006
8033
  b {
@@ -8120,7 +8147,7 @@ var variantElementMap2 = {
8120
8147
  label3: labelElement,
8121
8148
  label4: labelElement
8122
8149
  };
8123
- var StyledText = styled23.div`
8150
+ var StyledText = styled24.div`
8124
8151
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8125
8152
  --text-color: ${({ $prominence, $disabled }) => {
8126
8153
  if ($disabled) {
@@ -8177,7 +8204,7 @@ var TextComponent = forwardRef8(
8177
8204
  renderAs,
8178
8205
  ...otherProps
8179
8206
  }, ref) => {
8180
- return /* @__PURE__ */ jsx208(
8207
+ return /* @__PURE__ */ jsx209(
8181
8208
  StyledText,
8182
8209
  {
8183
8210
  ref,
@@ -8199,8 +8226,8 @@ TextComponent.displayName = "Text";
8199
8226
  var Text = makePolymorphic(TextComponent);
8200
8227
 
8201
8228
  // src/components/DataCards/DataCardTrend.tsx
8202
- import { jsx as jsx209, jsxs as jsxs16 } from "react/jsx-runtime";
8203
- var StyledDataCardTrend = styled24.div`
8229
+ import { jsx as jsx210, jsxs as jsxs16 } from "react/jsx-runtime";
8230
+ var StyledDataCardTrend = styled25.div`
8204
8231
  ${({ $outlook }) => getColorScheme($outlook === "positive" ? "success" : "error")};
8205
8232
  background: var(--wui-color-bg-app);
8206
8233
  border-radius: var(--wui-border-radius-rounded);
@@ -8216,7 +8243,7 @@ var DataCardTrend = ({
8216
8243
  ...props
8217
8244
  }) => {
8218
8245
  return /* @__PURE__ */ jsxs16(StyledDataCardTrend, { $outlook: outlook, children: [
8219
- /* @__PURE__ */ jsx209(
8246
+ /* @__PURE__ */ jsx210(
8220
8247
  Icon,
8221
8248
  {
8222
8249
  size: "md",
@@ -8224,7 +8251,7 @@ var DataCardTrend = ({
8224
8251
  ...props
8225
8252
  }
8226
8253
  ),
8227
- /* @__PURE__ */ jsx209(
8254
+ /* @__PURE__ */ jsx210(
8228
8255
  Text,
8229
8256
  {
8230
8257
  prominence: "secondary",
@@ -8236,8 +8263,8 @@ var DataCardTrend = ({
8236
8263
  };
8237
8264
 
8238
8265
  // src/components/Divider/Divider.tsx
8239
- import styled25, { css as css23 } from "styled-components";
8240
- import { jsx as jsx210 } from "react/jsx-runtime";
8266
+ import styled26, { css as css23 } from "styled-components";
8267
+ import { jsx as jsx211 } from "react/jsx-runtime";
8241
8268
  var horizontalBorderCss = css23`
8242
8269
  border-top-color: var(--wui-color-border);
8243
8270
  border-top-style: solid;
@@ -8251,7 +8278,7 @@ var verticalBorderCss = css23`
8251
8278
  min-height: 100%;
8252
8279
  width: 1px;
8253
8280
  `;
8254
- var DividerComponent = styled25.div`
8281
+ var DividerComponent = styled26.div`
8255
8282
  ${({ $orientation }) => {
8256
8283
  switch ($orientation) {
8257
8284
  case "vertical":
@@ -8266,7 +8293,7 @@ var Divider = ({
8266
8293
  orientation = "horizontal",
8267
8294
  ...otherProps
8268
8295
  }) => {
8269
- return /* @__PURE__ */ jsx210(
8296
+ return /* @__PURE__ */ jsx211(
8270
8297
  DividerComponent,
8271
8298
  {
8272
8299
  $orientation: orientation,
@@ -8282,28 +8309,6 @@ Divider.displayName = "Divider";
8282
8309
  import styled29, { css as css26 } from "styled-components";
8283
8310
  import { useState as useState5, useRef as useRef4 } from "react";
8284
8311
 
8285
- // src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
8286
- import styled26 from "styled-components";
8287
- import { isNotNil as isNotNil10 } from "@wistia/type-guards";
8288
- import { jsx as jsx211 } from "react/jsx-runtime";
8289
- var VisuallyHidden = styled26.div({ ...visuallyHiddenStyle });
8290
- var VisuallyHiddenButFocusable = styled26.div({
8291
- "&:not(:focus-within)": visuallyHiddenStyle
8292
- });
8293
- var ScreenReaderOnly = ({
8294
- text,
8295
- children,
8296
- focusable = false,
8297
- ...otherProps
8298
- }) => {
8299
- const accessibleText = isNotNil10(text) ? text : children;
8300
- if (focusable) {
8301
- return /* @__PURE__ */ jsx211(VisuallyHiddenButFocusable, { ...otherProps, children: accessibleText });
8302
- }
8303
- return /* @__PURE__ */ jsx211(VisuallyHidden, { ...otherProps, children: accessibleText });
8304
- };
8305
- ScreenReaderOnly.displayName = "ScreenReaderOnly";
8306
-
8307
8312
  // src/components/Tooltip/Tooltip.tsx
8308
8313
  import {
8309
8314
  Root as TooltipRoot,
@@ -10364,6 +10369,7 @@ var Radio = forwardRef18(
10364
10369
  size = "md",
10365
10370
  value = "false",
10366
10371
  required = false,
10372
+ hideLabel = false,
10367
10373
  ...props
10368
10374
  }, ref) => {
10369
10375
  const generatedId = useId3();
@@ -10401,6 +10407,7 @@ var Radio = forwardRef18(
10401
10407
  }
10402
10408
  ),
10403
10409
  description,
10410
+ hideLabel,
10404
10411
  htmlFor: computedId,
10405
10412
  label
10406
10413
  }