@wistia/ui 0.6.21 → 0.6.22-beta.40584006.8e9fb4e

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.6.21
3
+ * @license @wistia/ui v0.6.22-beta.40584006.8e9fb4e
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -1248,6 +1248,7 @@ var colorAliasTokens = import_styled_components4.css`
1248
1248
 
1249
1249
  /* Disabled */
1250
1250
  --wui-color-bg-surface-disabled: var(--wui-gray-3);
1251
+ --wui-color-bg-border-disabled: var(--wui-gray-4);
1251
1252
  --wui-color-icon-disabled: var(--wui-gray-8);
1252
1253
  --wui-color-text-disabled: var(--wui-gray-10);
1253
1254
  --wui-color-focus-ring-disabled: var(--wui-gray-6);
@@ -2233,6 +2234,7 @@ var ellipsisStyle = import_styled_components14.css`
2233
2234
  overflow: hidden;
2234
2235
  text-overflow: ellipsis;
2235
2236
  white-space: nowrap;
2237
+ display: block;
2236
2238
 
2237
2239
  /*
2238
2240
  Using feature detection (i.e., -webkit-named-image) we only target Safari browsers
@@ -2255,7 +2257,7 @@ var ellipsisStyle = import_styled_components14.css`
2255
2257
  var ellipsisFlexParentStyle = import_styled_components14.css`
2256
2258
  min-width: 0;
2257
2259
  `;
2258
- var EllipsisComponent = import_styled_components14.default.div`
2260
+ var EllipsisComponent = import_styled_components14.default.span`
2259
2261
  ${ellipsisStyle};
2260
2262
  ${({ $lines }) => {
2261
2263
  if ((0, import_type_guards8.isNotNil)($lines)) {
@@ -7531,12 +7533,12 @@ Card.displayName = "Card";
7531
7533
 
7532
7534
  // src/components/Checkbox/Checkbox.tsx
7533
7535
  var import_react18 = require("react");
7534
- var import_styled_components33 = __toESM(require("styled-components"));
7535
- var import_type_guards21 = require("@wistia/type-guards");
7536
+ var import_styled_components34 = __toESM(require("styled-components"));
7537
+ var import_type_guards22 = require("@wistia/type-guards");
7536
7538
 
7537
7539
  // src/private/components/FormControlLabel/FormControlLabel.tsx
7538
- var import_styled_components32 = __toESM(require("styled-components"));
7539
- var import_type_guards20 = require("@wistia/type-guards");
7540
+ var import_styled_components33 = __toESM(require("styled-components"));
7541
+ var import_type_guards21 = require("@wistia/type-guards");
7540
7542
 
7541
7543
  // src/private/components/FormControlLabel/FormControlLabelDescription.tsx
7542
7544
  var import_styled_components31 = __toESM(require("styled-components"));
@@ -7574,16 +7576,39 @@ var FormControlLabelDescription = ({
7574
7576
  };
7575
7577
  FormControlLabelDescription.displayName = "FormControlLabelDescription";
7576
7578
 
7577
- // src/private/components/FormControlLabel/FormControlLabel.tsx
7579
+ // src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
7580
+ var import_styled_components32 = __toESM(require("styled-components"));
7581
+ var import_type_guards20 = require("@wistia/type-guards");
7578
7582
  var import_jsx_runtime200 = require("react/jsx-runtime");
7579
- var disabledStyle2 = import_styled_components32.css`
7583
+ var VisuallyHidden = import_styled_components32.default.div({ ...visuallyHiddenStyle });
7584
+ var VisuallyHiddenButFocusable = import_styled_components32.default.div({
7585
+ "&:not(:focus-within)": visuallyHiddenStyle
7586
+ });
7587
+ var ScreenReaderOnly = ({
7588
+ text,
7589
+ children,
7590
+ focusable = false,
7591
+ ...otherProps
7592
+ }) => {
7593
+ const accessibleText = (0, import_type_guards20.isNotNil)(text) ? text : children;
7594
+ if (focusable) {
7595
+ return /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(VisuallyHiddenButFocusable, { ...otherProps, children: accessibleText });
7596
+ }
7597
+ return /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(VisuallyHidden, { ...otherProps, children: accessibleText });
7598
+ };
7599
+ ScreenReaderOnly.displayName = "ScreenReaderOnly";
7600
+
7601
+ // src/private/components/FormControlLabel/FormControlLabel.tsx
7602
+ var import_jsx_runtime201 = require("react/jsx-runtime");
7603
+ var disabledStyle2 = import_styled_components33.css`
7604
+ cursor: not-allowed;
7580
7605
  color: var(--wui-color-text-disabled);
7581
7606
  `;
7582
- var StyledLabelWrapper = import_styled_components32.default.div`
7607
+ var StyledLabelWrapper = import_styled_components33.default.div`
7583
7608
  display: flex;
7584
7609
  flex-direction: column;
7585
7610
  `;
7586
- var StyledFormControlLabel = import_styled_components32.default.label`
7611
+ var StyledFormControlLabel = import_styled_components33.default.label`
7587
7612
  cursor: pointer;
7588
7613
  display: flex;
7589
7614
  align-items: center;
@@ -7602,23 +7627,25 @@ var FormControlLabel = ({
7602
7627
  disabled = false,
7603
7628
  controlSlot,
7604
7629
  htmlFor,
7630
+ hideLabel = false,
7605
7631
  ...props
7606
7632
  }) => {
7607
- if ((0, import_type_guards20.isNil)(label)) {
7633
+ if ((0, import_type_guards21.isNil)(label)) {
7608
7634
  return null;
7609
7635
  }
7610
- return /* @__PURE__ */ (0, import_jsx_runtime200.jsxs)(
7636
+ const labelContent = hideLabel ? /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(ScreenReaderOnly, { children: label }) : /* @__PURE__ */ (0, import_jsx_runtime201.jsxs)(StyledLabelWrapper, { children: [
7637
+ label,
7638
+ /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(FormControlLabelDescription, { children: description })
7639
+ ] });
7640
+ return /* @__PURE__ */ (0, import_jsx_runtime201.jsxs)(
7611
7641
  StyledFormControlLabel,
7612
7642
  {
7613
7643
  $disabled: disabled,
7614
7644
  htmlFor,
7615
7645
  ...props,
7616
7646
  children: [
7617
- (0, import_type_guards20.isNotNil)(controlSlot) ? controlSlot : null,
7618
- /* @__PURE__ */ (0, import_jsx_runtime200.jsxs)(StyledLabelWrapper, { children: [
7619
- label,
7620
- /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(FormControlLabelDescription, { children: description })
7621
- ] })
7647
+ (0, import_type_guards21.isNotNil)(controlSlot) ? controlSlot : null,
7648
+ labelContent
7622
7649
  ]
7623
7650
  }
7624
7651
  );
@@ -7626,8 +7653,8 @@ var FormControlLabel = ({
7626
7653
  FormControlLabel.displayName = "FormControlLabel";
7627
7654
 
7628
7655
  // src/components/Checkbox/Checkbox.tsx
7629
- var import_jsx_runtime201 = require("react/jsx-runtime");
7630
- var CheckIcon = () => /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
7656
+ var import_jsx_runtime202 = require("react/jsx-runtime");
7657
+ var CheckIcon = () => /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(
7631
7658
  "svg",
7632
7659
  {
7633
7660
  fill: "inherit",
@@ -7635,7 +7662,7 @@ var CheckIcon = () => /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
7635
7662
  viewBox: "0 0 10 8",
7636
7663
  width: "10",
7637
7664
  xmlns: "http://www.w3.org/2000/svg",
7638
- children: /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
7665
+ children: /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(
7639
7666
  "path",
7640
7667
  {
7641
7668
  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",
@@ -7644,67 +7671,63 @@ var CheckIcon = () => /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
7644
7671
  )
7645
7672
  }
7646
7673
  );
7647
- var disabledStyle3 = import_styled_components33.css`
7648
- cursor: not-allowed;
7649
- opacity: 0.5;
7650
- `;
7651
- var inputSizeSmall = import_styled_components33.css`
7674
+ var inputSizeSmall = import_styled_components34.css`
7652
7675
  width: 14px;
7653
7676
  height: 14px;
7654
7677
  min-width: 14px;
7655
7678
  min-height: 14px;
7656
7679
  `;
7657
- var inputSizeMedium = import_styled_components33.css`
7680
+ var inputSizeMedium = import_styled_components34.css`
7658
7681
  width: 16px;
7659
7682
  height: 16px;
7660
7683
  min-width: 16px;
7661
7684
  min-height: 16px;
7662
7685
  `;
7663
- var inputSizeLarge = import_styled_components33.css`
7686
+ var inputSizeLarge = import_styled_components34.css`
7664
7687
  width: 20px;
7665
7688
  height: 20px;
7666
7689
  min-width: 20px;
7667
7690
  min-height: 20px;
7668
7691
  `;
7669
- var StyledCheckboxWrapper = import_styled_components33.default.div`
7692
+ var StyledCheckboxWrapper = import_styled_components34.default.div`
7670
7693
  display: flex;
7671
7694
  margin: 0;
7672
7695
 
7673
7696
  /* TODO this solves a problem but potentially causes and a11y issue */
7674
7697
  user-select: none;
7675
-
7676
- ${({ disabled }) => disabled && disabledStyle3};
7677
7698
  `;
7678
7699
  var getSizeCss = (size) => {
7679
7700
  if (size === "sm") return inputSizeSmall;
7680
7701
  if (size === "lg") return inputSizeLarge;
7681
7702
  return inputSizeMedium;
7682
7703
  };
7683
- var StyledCheckboxInput = import_styled_components33.default.div`
7704
+ var StyledCheckboxInput = import_styled_components34.default.div`
7684
7705
  ${({ $size }) => getSizeCss($size)}
7685
7706
  line-height: 0;
7686
7707
  margin: 0;
7687
- border: 1px solid var(--wui-color-border);
7688
7708
  border-radius: var(--wui-border-radius-01);
7689
- background-color: var(--wui-color-bg-fill-white);
7690
7709
  display: grid;
7691
7710
  place-content: center;
7692
7711
  align-self: flex-start;
7712
+ background-color: ${({ $disabled }) => $disabled ? "var(--wui-color-bg-surface-disabled)" : "var(--wui-color-bg-surface)"};
7713
+ border: 1px solid
7714
+ ${({ $disabled }) => $disabled ? "var(--wui-color-icon-disabled)" : "var(--wui-color-border)"};
7693
7715
 
7716
+ /* checkmark icon */
7694
7717
  svg {
7695
7718
  display: none;
7696
7719
 
7697
7720
  path {
7698
- fill: var(--wui-color-bg-fill-white);
7721
+ fill: ${({ $disabled }) => $disabled ? "var(--wui-color-icon-disabled)" : "var(--wui-color-bg-fill-white)"};
7699
7722
  }
7700
7723
  }
7701
7724
  `;
7702
- var StyledHiddenCheckboxInput = import_styled_components33.default.input`
7725
+ var StyledHiddenCheckboxInput = import_styled_components34.default.input`
7703
7726
  ${visuallyHiddenStyle}
7704
7727
 
7705
7728
  /* toggles display of faux-input background-color */
7706
7729
  &:checked + label [data-wui-faux-input='true'] {
7707
- background-color: var(--wui-color-bg-fill);
7730
+ background-color: ${({ disabled }) => disabled ? "var(--wui-color-bg-surface-disabled)" : "var(--wui-color-bg-fill)"};
7708
7731
  }
7709
7732
 
7710
7733
  /* toggles display of CheckIcon */
@@ -7724,50 +7747,47 @@ var Checkbox = (0, import_react18.forwardRef)(
7724
7747
  size = "md",
7725
7748
  value,
7726
7749
  required = false,
7750
+ hideLabel = false,
7727
7751
  ...props
7728
7752
  }, ref) => {
7729
7753
  const generatedId = (0, import_react18.useId)();
7730
- const computedId = (0, import_type_guards21.isNonEmptyString)(id) ? id : `wistia-ui-checkbox-${generatedId}`;
7731
- return /* @__PURE__ */ (0, import_jsx_runtime201.jsxs)(
7732
- StyledCheckboxWrapper,
7733
- {
7734
- ref,
7735
- disabled,
7736
- children: [
7737
- /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
7738
- StyledHiddenCheckboxInput,
7754
+ const computedId = (0, import_type_guards22.isNonEmptyString)(id) ? id : `wistia-ui-checkbox-${generatedId}`;
7755
+ return /* @__PURE__ */ (0, import_jsx_runtime202.jsxs)(StyledCheckboxWrapper, { disabled, children: [
7756
+ /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(
7757
+ StyledHiddenCheckboxInput,
7758
+ {
7759
+ ...props,
7760
+ ref,
7761
+ checked,
7762
+ disabled,
7763
+ id: computedId,
7764
+ name,
7765
+ onChange,
7766
+ required,
7767
+ type: "checkbox",
7768
+ value
7769
+ }
7770
+ ),
7771
+ /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(
7772
+ FormControlLabel,
7773
+ {
7774
+ controlSlot: /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(
7775
+ StyledCheckboxInput,
7739
7776
  {
7740
- ...props,
7741
- ref,
7742
- checked,
7743
- disabled,
7744
- id: computedId,
7745
- name,
7746
- onChange,
7747
- required,
7748
- type: "checkbox",
7749
- value
7777
+ $disabled: disabled,
7778
+ $size: size,
7779
+ "data-wui-faux-input": "true",
7780
+ children: /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(CheckIcon, {})
7750
7781
  }
7751
7782
  ),
7752
- /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
7753
- FormControlLabel,
7754
- {
7755
- controlSlot: /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(
7756
- StyledCheckboxInput,
7757
- {
7758
- $size: size,
7759
- "data-wui-faux-input": "true",
7760
- children: /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(CheckIcon, {})
7761
- }
7762
- ),
7763
- description,
7764
- htmlFor: computedId,
7765
- label
7766
- }
7767
- )
7768
- ]
7769
- }
7770
- );
7783
+ description,
7784
+ disabled,
7785
+ hideLabel,
7786
+ htmlFor: computedId,
7787
+ label
7788
+ }
7789
+ )
7790
+ ] });
7771
7791
  }
7772
7792
  );
7773
7793
  Checkbox.displayName = "Checkbox";
@@ -7809,10 +7829,10 @@ ClickRegion.displayName = "ClickRegion";
7809
7829
 
7810
7830
  // src/components/Collapsible/Collapsible.tsx
7811
7831
  var import_react_collapsible = require("@radix-ui/react-collapsible");
7812
- var import_type_guards22 = require("@wistia/type-guards");
7813
- var import_styled_components34 = __toESM(require("styled-components"));
7814
- var import_jsx_runtime202 = require("react/jsx-runtime");
7815
- var StyledRoot = (0, import_styled_components34.default)(import_react_collapsible.Root)`
7832
+ var import_type_guards23 = require("@wistia/type-guards");
7833
+ var import_styled_components35 = __toESM(require("styled-components"));
7834
+ var import_jsx_runtime203 = require("react/jsx-runtime");
7835
+ var StyledRoot = (0, import_styled_components35.default)(import_react_collapsible.Root)`
7816
7836
  &[data-state='closed'] [data-wui-collapsible-content] {
7817
7837
  display: -webkit-box;
7818
7838
  -webkit-box-orient: vertical;
@@ -7826,84 +7846,84 @@ var Collapsible = ({
7826
7846
  onOpenChange
7827
7847
  }) => {
7828
7848
  const controlProps = {
7829
- ...(0, import_type_guards22.isNotNil)(onOpenChange) && (0, import_type_guards22.isNotNil)(isOpen) ? { open: isOpen, onOpenChange } : {}
7849
+ ...(0, import_type_guards23.isNotNil)(onOpenChange) && (0, import_type_guards23.isNotNil)(isOpen) ? { open: isOpen, onOpenChange } : {}
7830
7850
  };
7831
- return /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(StyledRoot, { ...controlProps, children });
7851
+ return /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(StyledRoot, { ...controlProps, children });
7832
7852
  };
7833
7853
  Collapsible.displayName = "Collapsible";
7834
7854
 
7835
7855
  // src/components/Collapsible/CollapsibleTrigger.tsx
7836
7856
  var import_react20 = require("react");
7837
7857
  var import_react_collapsible2 = require("@radix-ui/react-collapsible");
7838
- var import_jsx_runtime203 = require("react/jsx-runtime");
7858
+ var import_jsx_runtime204 = require("react/jsx-runtime");
7839
7859
  var CollapsibleTrigger = ({ children }) => {
7840
7860
  import_react20.Children.only(children);
7841
- return /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(import_react_collapsible2.Trigger, { asChild: true, children });
7861
+ return /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(import_react_collapsible2.Trigger, { asChild: true, children });
7842
7862
  };
7843
7863
 
7844
7864
  // src/components/Collapsible/CollapsibleContent.tsx
7845
- var import_styled_components35 = __toESM(require("styled-components"));
7865
+ var import_styled_components36 = __toESM(require("styled-components"));
7846
7866
  var import_react_collapsible3 = require("@radix-ui/react-collapsible");
7847
- var import_type_guards23 = require("@wistia/type-guards");
7848
- var import_jsx_runtime204 = require("react/jsx-runtime");
7849
- var ClampedContent = import_styled_components35.default.div.attrs({ "data-wui-collapsible-content": true })`
7867
+ var import_type_guards24 = require("@wistia/type-guards");
7868
+ var import_jsx_runtime205 = require("react/jsx-runtime");
7869
+ var ClampedContent = import_styled_components36.default.div.attrs({ "data-wui-collapsible-content": true })`
7850
7870
  --wui-collapsible-content-clamp-lines: ${({ $clamp }) => $clamp};
7851
7871
  `;
7852
7872
  var CollapsibleContent = ({ clamp, children }) => {
7853
- if ((0, import_type_guards23.isNotUndefined)(clamp)) {
7854
- return /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(ClampedContent, { $clamp: clamp, children });
7873
+ if ((0, import_type_guards24.isNotUndefined)(clamp)) {
7874
+ return /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(ClampedContent, { $clamp: clamp, children });
7855
7875
  }
7856
- return /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(import_react_collapsible3.Content, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime204.jsxs)(import_jsx_runtime204.Fragment, { children: [
7876
+ return /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(import_react_collapsible3.Content, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)(import_jsx_runtime205.Fragment, { children: [
7857
7877
  children,
7858
7878
  " "
7859
7879
  ] }) });
7860
7880
  };
7861
7881
 
7862
7882
  // src/components/DataCards/DataCard.tsx
7863
- var import_styled_components37 = __toESM(require("styled-components"));
7864
- var import_type_guards24 = require("@wistia/type-guards");
7883
+ var import_styled_components38 = __toESM(require("styled-components"));
7884
+ var import_type_guards25 = require("@wistia/type-guards");
7865
7885
 
7866
7886
  // src/components/Heading/Heading.tsx
7867
7887
  var import_react21 = require("react");
7868
- var import_styled_components36 = __toESM(require("styled-components"));
7869
- var import_jsx_runtime205 = require("react/jsx-runtime");
7870
- var heroStyle = import_styled_components36.css`
7888
+ var import_styled_components37 = __toESM(require("styled-components"));
7889
+ var import_jsx_runtime206 = require("react/jsx-runtime");
7890
+ var heroStyle = import_styled_components37.css`
7871
7891
  --font-family: var(--wui-typography-heading-hero-family);
7872
7892
  --font-size: var(--wui-typography-heading-hero-size);
7873
7893
  --font-weight: var(--wui-typography-heading-hero-weight);
7874
7894
  --line-height: var(--wui-typography-heading-hero-line-height);
7875
7895
  `;
7876
- var heading1TextStyle = import_styled_components36.css`
7896
+ var heading1TextStyle = import_styled_components37.css`
7877
7897
  --font-family: var(--wui-typography-heading-1-family);
7878
7898
  --font-size: var(--wui-typography-heading-1-size);
7879
7899
  --font-weight: var(--wui-typography-heading-1-weight);
7880
7900
  --line-height: var(--wui-typography-heading-1-line-height);
7881
7901
  `;
7882
- var heading2TextStyle = import_styled_components36.css`
7902
+ var heading2TextStyle = import_styled_components37.css`
7883
7903
  --font-family: var(--wui-typography-heading-2-family);
7884
7904
  --font-size: var(--wui-typography-heading-2-size);
7885
7905
  --font-weight: var(--wui-typography-heading-2-weight);
7886
7906
  --line-height: var(--wui-typography-heading-2-line-height);
7887
7907
  `;
7888
- var heading3TextStyle = import_styled_components36.css`
7908
+ var heading3TextStyle = import_styled_components37.css`
7889
7909
  --font-family: var(--wui-typography-heading-3-family);
7890
7910
  --font-size: var(--wui-typography-heading-3-size);
7891
7911
  --font-weight: var(--wui-typography-heading-3-weight);
7892
7912
  --line-height: var(--wui-typography-heading-3-line-height);
7893
7913
  `;
7894
- var heading4TextStyle = import_styled_components36.css`
7914
+ var heading4TextStyle = import_styled_components37.css`
7895
7915
  --font-family: var(--wui-typography-heading-4-family);
7896
7916
  --font-size: var(--wui-typography-heading-4-size);
7897
7917
  --font-weight: var(--wui-typography-heading-4-weight);
7898
7918
  --line-height: var(--wui-typography-heading-4-line-height);
7899
7919
  `;
7900
- var heading5TextStyle = import_styled_components36.css`
7920
+ var heading5TextStyle = import_styled_components37.css`
7901
7921
  --font-family: var(--wui-typography-heading-5-family);
7902
7922
  --font-size: var(--wui-typography-heading-5-size);
7903
7923
  --font-weight: var(--wui-typography-heading-5-weight);
7904
7924
  --line-height: var(--wui-typography-heading-5-line-height);
7905
7925
  `;
7906
- var heading6TextStyle = import_styled_components36.css`
7926
+ var heading6TextStyle = import_styled_components37.css`
7907
7927
  --font-family: var(--wui-typography-heading-6-family);
7908
7928
  --font-size: var(--wui-typography-heading-6-size);
7909
7929
  --font-weight: var(--wui-typography-heading-6-weight);
@@ -7919,7 +7939,7 @@ var variantStyleMap = {
7919
7939
  heading6: heading6TextStyle
7920
7940
  };
7921
7941
  var DEFAULT_ELEMENT2 = "h1";
7922
- var StyledHeading = import_styled_components36.default.div`
7942
+ var StyledHeading = import_styled_components37.default.div`
7923
7943
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
7924
7944
  font-family: var(--font-family);
7925
7945
  font-size: var(--font-size);
@@ -7928,16 +7948,16 @@ var StyledHeading = import_styled_components36.default.div`
7928
7948
  color: var(--wui-color-text);
7929
7949
  ${({ $variant }) => variantStyleMap[$variant]}
7930
7950
  ${({ $ellipsis }) => $ellipsis && ellipsisStyle};
7931
- ${({ $inline }) => $inline && import_styled_components36.css`
7951
+ ${({ $inline }) => $inline && import_styled_components37.css`
7932
7952
  display: inline-block;
7933
7953
  `}
7934
- ${({ $disabled }) => $disabled && import_styled_components36.css`
7954
+ ${({ $disabled }) => $disabled && import_styled_components37.css`
7935
7955
  color: var(--wui-color-text-disabled);
7936
7956
  `}
7937
- ${({ $preventUserSelect }) => $preventUserSelect && import_styled_components36.css`
7957
+ ${({ $preventUserSelect }) => $preventUserSelect && import_styled_components37.css`
7938
7958
  user-select: none;
7939
7959
  `}
7940
- ${({ $align }) => import_styled_components36.css`
7960
+ ${({ $align }) => import_styled_components37.css`
7941
7961
  text-align: ${$align};
7942
7962
  `}
7943
7963
  margin: 0;
@@ -7962,7 +7982,7 @@ var HeadingComponent = (0, import_react21.forwardRef)(
7962
7982
  variant = "heading1",
7963
7983
  renderAs,
7964
7984
  ...otherProps
7965
- }, ref) => /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(
7985
+ }, ref) => /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(
7966
7986
  StyledHeading,
7967
7987
  {
7968
7988
  ref,
@@ -7982,8 +8002,8 @@ HeadingComponent.displayName = "Heading";
7982
8002
  var Heading = makePolymorphic(HeadingComponent);
7983
8003
 
7984
8004
  // src/components/DataCards/DataCard.tsx
7985
- var import_jsx_runtime206 = require("react/jsx-runtime");
7986
- var StyledDataCard = import_styled_components37.default.div`
8005
+ var import_jsx_runtime207 = require("react/jsx-runtime");
8006
+ var StyledDataCard = import_styled_components38.default.div`
7987
8007
  ${({ $colorScheme }) => getColorScheme($colorScheme)}
7988
8008
  display: grid;
7989
8009
  grid-template-areas: 'label slot' 'value value';
@@ -7996,7 +8016,7 @@ var StyledDataCard = import_styled_components37.default.div`
7996
8016
  border-radius: var(--wui-border-radius-02);
7997
8017
  position: relative;
7998
8018
  `;
7999
- var shimmer = import_styled_components37.keyframes`
8019
+ var shimmer = import_styled_components38.keyframes`
8000
8020
  0% {
8001
8021
  background-position: 200% 0;
8002
8022
  }
@@ -8004,7 +8024,7 @@ var shimmer = import_styled_components37.keyframes`
8004
8024
  background-position: -200% 0;
8005
8025
  }
8006
8026
  `;
8007
- var LoadingBackground = import_styled_components37.default.div`
8027
+ var LoadingBackground = import_styled_components38.default.div`
8008
8028
  background: linear-gradient(
8009
8029
  90deg,
8010
8030
  var(--wui-color-bg-surface-tertiary) 25%,
@@ -8015,27 +8035,27 @@ var LoadingBackground = import_styled_components37.default.div`
8015
8035
  animation: ${shimmer} 1.5s infinite;
8016
8036
  border-radius: var(--wui-border-radius-01);
8017
8037
  `;
8018
- var StyledLoadingLabel = (0, import_styled_components37.default)(LoadingBackground)`
8038
+ var StyledLoadingLabel = (0, import_styled_components38.default)(LoadingBackground)`
8019
8039
  width: 80px;
8020
8040
  height: var(--wui-typography-heading-6-line-height);
8021
8041
  `;
8022
- var StyledLoadingValue = (0, import_styled_components37.default)(LoadingBackground)`
8042
+ var StyledLoadingValue = (0, import_styled_components38.default)(LoadingBackground)`
8023
8043
  width: 90%;
8024
8044
  height: var(--wui-typography-heading-3-line-height);
8025
8045
  `;
8026
- var StyledLabel2 = (0, import_styled_components37.default)(Heading)`
8046
+ var StyledLabel2 = (0, import_styled_components38.default)(Heading)`
8027
8047
  grid-area: label;
8028
8048
  `;
8029
- var StyledValue = (0, import_styled_components37.default)(Heading)`
8049
+ var StyledValue = (0, import_styled_components38.default)(Heading)`
8030
8050
  grid-area: value;
8031
8051
  `;
8032
- var StyledSlot = import_styled_components37.default.div`
8052
+ var StyledSlot = import_styled_components38.default.div`
8033
8053
  display: flex;
8034
8054
  justify-content: flex-end;
8035
8055
  grid-area: slot;
8036
8056
  align-self: center;
8037
8057
  `;
8038
- var StyledDataCardTrendContainer = import_styled_components37.default.div`
8058
+ var StyledDataCardTrendContainer = import_styled_components38.default.div`
8039
8059
  position: absolute;
8040
8060
  bottom: var(--wui-space-01);
8041
8061
  right: var(--wui-space-01);
@@ -8048,39 +8068,39 @@ var DataCard = ({
8048
8068
  isLoading = false,
8049
8069
  trend,
8050
8070
  ...props
8051
- }) => /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)(
8071
+ }) => /* @__PURE__ */ (0, import_jsx_runtime207.jsxs)(
8052
8072
  StyledDataCard,
8053
8073
  {
8054
8074
  $colorScheme: colorScheme,
8055
8075
  ...props,
8056
8076
  children: [
8057
- /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(
8077
+ /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(
8058
8078
  StyledLabel2,
8059
8079
  {
8060
8080
  renderAs: "dt",
8061
8081
  variant: "heading6",
8062
- children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(StyledLoadingLabel, {}) : label
8082
+ children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(StyledLoadingLabel, {}) : label
8063
8083
  }
8064
8084
  ),
8065
- /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(
8085
+ /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(
8066
8086
  StyledValue,
8067
8087
  {
8068
8088
  renderAs: "dd",
8069
8089
  variant: "heading3",
8070
- children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(StyledLoadingValue, {}) : value
8090
+ children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(StyledLoadingValue, {}) : value
8071
8091
  }
8072
8092
  ),
8073
- (0, import_type_guards24.isNotNull)(upperRightSlot) && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(StyledSlot, { children: upperRightSlot }),
8074
- (0, import_type_guards24.isNotNull)(trend) && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(StyledDataCardTrendContainer, { children: trend })
8093
+ (0, import_type_guards25.isNotNull)(upperRightSlot) && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(StyledSlot, { children: upperRightSlot }),
8094
+ (0, import_type_guards25.isNotNull)(trend) && !isLoading && /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(StyledDataCardTrendContainer, { children: trend })
8075
8095
  ]
8076
8096
  }
8077
8097
  );
8078
8098
  DataCard.displayName = "DataCard";
8079
8099
 
8080
8100
  // src/components/DataCards/DataCards.tsx
8081
- var import_styled_components38 = __toESM(require("styled-components"));
8082
- var import_jsx_runtime207 = require("react/jsx-runtime");
8083
- var StyledDataCards = (0, import_styled_components38.default)(Box)`
8101
+ var import_styled_components39 = __toESM(require("styled-components"));
8102
+ var import_jsx_runtime208 = require("react/jsx-runtime");
8103
+ var StyledDataCards = (0, import_styled_components39.default)(Box)`
8084
8104
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8085
8105
  margin-top: 0; /* Remove default <dl> style */
8086
8106
  > * {
@@ -8094,7 +8114,7 @@ var DataCards = ({
8094
8114
  colorScheme = "inherit",
8095
8115
  ...props
8096
8116
  }) => {
8097
- return /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(
8117
+ return /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(
8098
8118
  StyledDataCards,
8099
8119
  {
8100
8120
  ...props,
@@ -8112,25 +8132,25 @@ var DataCards = ({
8112
8132
  DataCards.displayName = "DataCards";
8113
8133
 
8114
8134
  // src/components/DataCards/DataCardTrend.tsx
8115
- var import_styled_components40 = __toESM(require("styled-components"));
8135
+ var import_styled_components41 = __toESM(require("styled-components"));
8116
8136
 
8117
8137
  // src/components/Text/Text.tsx
8118
8138
  var import_react22 = require("react");
8119
- var import_styled_components39 = __toESM(require("styled-components"));
8120
- var import_jsx_runtime208 = require("react/jsx-runtime");
8121
- var bodyBoldStyles = import_styled_components39.css`
8139
+ var import_styled_components40 = __toESM(require("styled-components"));
8140
+ var import_jsx_runtime209 = require("react/jsx-runtime");
8141
+ var bodyBoldStyles = import_styled_components40.css`
8122
8142
  > strong,
8123
8143
  b {
8124
8144
  font-weight: var(--wui-typography-weight-body-bold);
8125
8145
  }
8126
8146
  `;
8127
- var labelBoldStyles = import_styled_components39.css`
8147
+ var labelBoldStyles = import_styled_components40.css`
8128
8148
  > strong,
8129
8149
  b {
8130
8150
  font-weight: var(--wui-typography-weight-label-bold);
8131
8151
  }
8132
8152
  `;
8133
- var body1TextStyle = import_styled_components39.css`
8153
+ var body1TextStyle = import_styled_components40.css`
8134
8154
  --font-family: var(--wui-typography-body-1-family);
8135
8155
  --font-size: var(--wui-typography-body-1-size);
8136
8156
  --font-weight: var(--wui-typography-body-1-weight);
@@ -8138,7 +8158,7 @@ var body1TextStyle = import_styled_components39.css`
8138
8158
  --paragraph-spacing: var(--wui-typography-body-1-paragraph-spacing);
8139
8159
  ${bodyBoldStyles}
8140
8160
  `;
8141
- var body2TextStyle = import_styled_components39.css`
8161
+ var body2TextStyle = import_styled_components40.css`
8142
8162
  --font-family: var(--wui-typography-body-2-family);
8143
8163
  --font-size: var(--wui-typography-body-2-size);
8144
8164
  --font-weight: var(--wui-typography-body-2-weight);
@@ -8146,7 +8166,7 @@ var body2TextStyle = import_styled_components39.css`
8146
8166
  --paragraph-spacing: var(--wui-typography-body-2-paragraph-spacing);
8147
8167
  ${bodyBoldStyles}
8148
8168
  `;
8149
- var body3TextStyle = import_styled_components39.css`
8169
+ var body3TextStyle = import_styled_components40.css`
8150
8170
  --font-family: var(--wui-typography-body-3-family);
8151
8171
  --font-size: var(--wui-typography-body-3-size);
8152
8172
  --font-weight: var(--wui-typography-body-3-weight);
@@ -8154,7 +8174,7 @@ var body3TextStyle = import_styled_components39.css`
8154
8174
  --paragraph-spacing: var(--wui-typography-body-3-paragraph-spacing);
8155
8175
  ${bodyBoldStyles}
8156
8176
  `;
8157
- var body4TextStyle = import_styled_components39.css`
8177
+ var body4TextStyle = import_styled_components40.css`
8158
8178
  --font-family: var(--wui-typography-body-4-family);
8159
8179
  --font-size: var(--wui-typography-body-4-size);
8160
8180
  --font-weight: var(--wui-typography-body-4-weight);
@@ -8162,47 +8182,47 @@ var body4TextStyle = import_styled_components39.css`
8162
8182
  --paragraph-spacing: var(--wui-typography-body-4-paragraph-spacing);
8163
8183
  ${bodyBoldStyles}
8164
8184
  `;
8165
- var label1TextStyle = import_styled_components39.css`
8185
+ var label1TextStyle = import_styled_components40.css`
8166
8186
  --font-family: var(--wui-typography-label-1-family);
8167
8187
  --font-size: var(--wui-typography-label-1-size);
8168
8188
  --font-weight: var(--wui-typography-label-1-weight);
8169
8189
  --line-height: var(--wui-typography-label-1-line-height);
8170
8190
  ${labelBoldStyles}
8171
8191
  `;
8172
- var label2TextStyle = import_styled_components39.css`
8192
+ var label2TextStyle = import_styled_components40.css`
8173
8193
  --font-family: var(--wui-typography-label-2-family);
8174
8194
  --font-size: var(--wui-typography-label-2-size);
8175
8195
  --font-weight: var(--wui-typography-label-2-weight);
8176
8196
  --line-height: var(--wui-typography-label-2-line-height);
8177
8197
  ${labelBoldStyles}
8178
8198
  `;
8179
- var label3TextStyle = import_styled_components39.css`
8199
+ var label3TextStyle = import_styled_components40.css`
8180
8200
  --font-family: var(--wui-typography-label-3-family);
8181
8201
  --font-size: var(--wui-typography-label-3-size);
8182
8202
  --font-weight: var(--wui-typography-label-3-weight);
8183
8203
  --line-height: var(--wui-typography-label-3-line-height);
8184
8204
  ${labelBoldStyles}
8185
8205
  `;
8186
- var label4TextStyle = import_styled_components39.css`
8206
+ var label4TextStyle = import_styled_components40.css`
8187
8207
  --font-family: var(--wui-typography-label-4-family);
8188
8208
  --font-size: var(--wui-typography-label-4-size);
8189
8209
  --font-weight: var(--wui-typography-label-4-weight);
8190
8210
  --line-height: var(--wui-typography-label-4-line-height);
8191
8211
  ${labelBoldStyles}
8192
8212
  `;
8193
- var body1MonoTextStyle = import_styled_components39.css`
8213
+ var body1MonoTextStyle = import_styled_components40.css`
8194
8214
  ${body1TextStyle};
8195
8215
  --font-family: var(--wui-typography-family-mono);
8196
8216
  `;
8197
- var body2MonoTextStyle = import_styled_components39.css`
8217
+ var body2MonoTextStyle = import_styled_components40.css`
8198
8218
  ${body2TextStyle};
8199
8219
  --font-family: var(--wui-typography-family-mono);
8200
8220
  `;
8201
- var body3MonoTextStyle = import_styled_components39.css`
8221
+ var body3MonoTextStyle = import_styled_components40.css`
8202
8222
  ${body3TextStyle};
8203
8223
  --font-family: var(--wui-typography-family-mono);
8204
8224
  `;
8205
- var body4MonoTextStyle = import_styled_components39.css`
8225
+ var body4MonoTextStyle = import_styled_components40.css`
8206
8226
  ${body4TextStyle};
8207
8227
  --font-family: var(--wui-typography-family-mono);
8208
8228
  `;
@@ -8237,7 +8257,7 @@ var variantElementMap2 = {
8237
8257
  label3: labelElement,
8238
8258
  label4: labelElement
8239
8259
  };
8240
- var StyledText = import_styled_components39.default.div`
8260
+ var StyledText = import_styled_components40.default.div`
8241
8261
  ${({ $colorScheme }) => getColorScheme($colorScheme)};
8242
8262
  --text-color: ${({ $prominence, $disabled }) => {
8243
8263
  if ($disabled) {
@@ -8261,19 +8281,19 @@ var StyledText = import_styled_components39.default.div`
8261
8281
  margin: 0;
8262
8282
  ${({ $variant }) => variantStyleMap2[$variant]}
8263
8283
  ${({ $ellipsis }) => $ellipsis && ellipsisStyle};
8264
- ${({ $inline }) => $inline && import_styled_components39.css`
8284
+ ${({ $inline }) => $inline && import_styled_components40.css`
8265
8285
  display: inline-block;
8266
8286
  `}
8267
- ${({ $disabled }) => $disabled && import_styled_components39.css`
8287
+ ${({ $disabled }) => $disabled && import_styled_components40.css`
8268
8288
  --text-color: var(--wui-color-text-disabled);
8269
8289
  `}
8270
- ${({ $preventUserSelect }) => $preventUserSelect && import_styled_components39.css`
8290
+ ${({ $preventUserSelect }) => $preventUserSelect && import_styled_components40.css`
8271
8291
  user-select: none;
8272
8292
  `}
8273
- ${({ $align }) => import_styled_components39.css`
8293
+ ${({ $align }) => import_styled_components40.css`
8274
8294
  text-align: ${$align};
8275
8295
  `}
8276
- ${({ as }) => as === "p" && import_styled_components39.css`
8296
+ ${({ as }) => as === "p" && import_styled_components40.css`
8277
8297
  display: block;
8278
8298
 
8279
8299
  + p {
@@ -8294,7 +8314,7 @@ var TextComponent = (0, import_react22.forwardRef)(
8294
8314
  renderAs,
8295
8315
  ...otherProps
8296
8316
  }, ref) => {
8297
- return /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(
8317
+ return /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
8298
8318
  StyledText,
8299
8319
  {
8300
8320
  ref,
@@ -8316,8 +8336,8 @@ TextComponent.displayName = "Text";
8316
8336
  var Text = makePolymorphic(TextComponent);
8317
8337
 
8318
8338
  // src/components/DataCards/DataCardTrend.tsx
8319
- var import_jsx_runtime209 = require("react/jsx-runtime");
8320
- var StyledDataCardTrend = import_styled_components40.default.div`
8339
+ var import_jsx_runtime210 = require("react/jsx-runtime");
8340
+ var StyledDataCardTrend = import_styled_components41.default.div`
8321
8341
  ${({ $outlook }) => getColorScheme($outlook === "positive" ? "success" : "error")};
8322
8342
  background: var(--wui-color-bg-app);
8323
8343
  border-radius: var(--wui-border-radius-rounded);
@@ -8332,8 +8352,8 @@ var DataCardTrend = ({
8332
8352
  children,
8333
8353
  ...props
8334
8354
  }) => {
8335
- return /* @__PURE__ */ (0, import_jsx_runtime209.jsxs)(StyledDataCardTrend, { $outlook: outlook, children: [
8336
- /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
8355
+ return /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(StyledDataCardTrend, { $outlook: outlook, children: [
8356
+ /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(
8337
8357
  Icon,
8338
8358
  {
8339
8359
  size: "md",
@@ -8341,7 +8361,7 @@ var DataCardTrend = ({
8341
8361
  ...props
8342
8362
  }
8343
8363
  ),
8344
- /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
8364
+ /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(
8345
8365
  Text,
8346
8366
  {
8347
8367
  prominence: "secondary",
@@ -8353,22 +8373,22 @@ var DataCardTrend = ({
8353
8373
  };
8354
8374
 
8355
8375
  // src/components/Divider/Divider.tsx
8356
- var import_styled_components41 = __toESM(require("styled-components"));
8357
- var import_jsx_runtime210 = require("react/jsx-runtime");
8358
- var horizontalBorderCss = import_styled_components41.css`
8376
+ var import_styled_components42 = __toESM(require("styled-components"));
8377
+ var import_jsx_runtime211 = require("react/jsx-runtime");
8378
+ var horizontalBorderCss = import_styled_components42.css`
8359
8379
  border-top-color: var(--wui-color-border);
8360
8380
  border-top-style: solid;
8361
8381
  border-top-width: 1px;
8362
8382
  clear: both; /* for horizontal dividers, ensure it clears any floats */
8363
8383
  height: 0;
8364
8384
  `;
8365
- var verticalBorderCss = import_styled_components41.css`
8385
+ var verticalBorderCss = import_styled_components42.css`
8366
8386
  background-color: var(--wui-color-border);
8367
8387
  max-width: 1px;
8368
8388
  min-height: 100%;
8369
8389
  width: 1px;
8370
8390
  `;
8371
- var DividerComponent = import_styled_components41.default.div`
8391
+ var DividerComponent = import_styled_components42.default.div`
8372
8392
  ${({ $orientation }) => {
8373
8393
  switch ($orientation) {
8374
8394
  case "vertical":
@@ -8383,7 +8403,7 @@ var Divider = ({
8383
8403
  orientation = "horizontal",
8384
8404
  ...otherProps
8385
8405
  }) => {
8386
- return /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(
8406
+ return /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(
8387
8407
  DividerComponent,
8388
8408
  {
8389
8409
  $orientation: orientation,
@@ -8399,28 +8419,6 @@ Divider.displayName = "Divider";
8399
8419
  var import_styled_components45 = __toESM(require("styled-components"));
8400
8420
  var import_react24 = require("react");
8401
8421
 
8402
- // src/components/ScreenReaderOnly/ScreenReaderOnly.tsx
8403
- var import_styled_components42 = __toESM(require("styled-components"));
8404
- var import_type_guards25 = require("@wistia/type-guards");
8405
- var import_jsx_runtime211 = require("react/jsx-runtime");
8406
- var VisuallyHidden = import_styled_components42.default.div({ ...visuallyHiddenStyle });
8407
- var VisuallyHiddenButFocusable = import_styled_components42.default.div({
8408
- "&:not(:focus-within)": visuallyHiddenStyle
8409
- });
8410
- var ScreenReaderOnly = ({
8411
- text,
8412
- children,
8413
- focusable = false,
8414
- ...otherProps
8415
- }) => {
8416
- const accessibleText = (0, import_type_guards25.isNotNil)(text) ? text : children;
8417
- if (focusable) {
8418
- return /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(VisuallyHiddenButFocusable, { ...otherProps, children: accessibleText });
8419
- }
8420
- return /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(VisuallyHidden, { ...otherProps, children: accessibleText });
8421
- };
8422
- ScreenReaderOnly.displayName = "ScreenReaderOnly";
8423
-
8424
8422
  // src/components/Tooltip/Tooltip.tsx
8425
8423
  var import_react_tooltip2 = require("@radix-ui/react-tooltip");
8426
8424
  var import_styled_components43 = __toESM(require("styled-components"));
@@ -9056,7 +9054,7 @@ var requiredStyle = import_styled_components48.css`
9056
9054
  content: '*';
9057
9055
  }
9058
9056
  `;
9059
- var disabledStyle4 = import_styled_components48.css`
9057
+ var disabledStyle3 = import_styled_components48.css`
9060
9058
  color: var(--wui-color-text-disabled);
9061
9059
  `;
9062
9060
  var StyledLabel3 = import_styled_components48.default.label`
@@ -9080,7 +9078,7 @@ var StyledLabel3 = import_styled_components48.default.label`
9080
9078
  }
9081
9079
 
9082
9080
  ${({ $screenReaderOnly }) => $screenReaderOnly && visuallyHiddenStyle}
9083
- ${({ $disabled }) => $disabled && disabledStyle4}
9081
+ ${({ $disabled }) => $disabled && disabledStyle3}
9084
9082
  ${({ $required }) => $required && requiredStyle}
9085
9083
  `;
9086
9084
  var Label = ({
@@ -10431,7 +10429,7 @@ var StyledRadioInput = import_styled_components65.default.div`
10431
10429
  }
10432
10430
  }
10433
10431
  `;
10434
- var disabledStyle5 = import_styled_components65.css`
10432
+ var disabledStyle4 = import_styled_components65.css`
10435
10433
  cursor: not-allowed;
10436
10434
  opacity: 0.5;
10437
10435
  `;
@@ -10442,7 +10440,7 @@ var StyledRadioWrapper = import_styled_components65.default.div`
10442
10440
  /* TODO this solves a problem but potentially causes and a11y issue */
10443
10441
  user-select: none;
10444
10442
 
10445
- ${({ $disabled }) => $disabled && disabledStyle5};
10443
+ ${({ $disabled }) => $disabled && disabledStyle4};
10446
10444
  `;
10447
10445
  var Radio = (0, import_react43.forwardRef)(
10448
10446
  ({
@@ -10456,6 +10454,7 @@ var Radio = (0, import_react43.forwardRef)(
10456
10454
  size = "md",
10457
10455
  value = "false",
10458
10456
  required = false,
10457
+ hideLabel = false,
10459
10458
  ...props
10460
10459
  }, ref) => {
10461
10460
  const generatedId = (0, import_react43.useId)();
@@ -10493,6 +10492,7 @@ var Radio = (0, import_react43.forwardRef)(
10493
10492
  }
10494
10493
  ),
10495
10494
  description,
10495
+ hideLabel,
10496
10496
  htmlFor: computedId,
10497
10497
  label
10498
10498
  }