@wistia/ui 0.18.6-beta.d1ced901.ff69145 → 0.18.7-beta.823403c9.f095550

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.d.mts CHANGED
@@ -589,7 +589,7 @@ type BadgeProps = ComponentPropsWithoutRef<'div'> & {
589
589
  /**
590
590
  * The text to display in the `Badge`
591
591
  */
592
- label: ReactNode;
592
+ label?: ReactNode;
593
593
  /**
594
594
  * The variant of the `Badge`
595
595
  */
@@ -610,7 +610,7 @@ declare const Badge: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProp
610
610
  /**
611
611
  * The text to display in the `Badge`
612
612
  */
613
- label: ReactNode;
613
+ label?: ReactNode;
614
614
  /**
615
615
  * The variant of the `Badge`
616
616
  */
package/dist/index.d.ts CHANGED
@@ -589,7 +589,7 @@ type BadgeProps = ComponentPropsWithoutRef<'div'> & {
589
589
  /**
590
590
  * The text to display in the `Badge`
591
591
  */
592
- label: ReactNode;
592
+ label?: ReactNode;
593
593
  /**
594
594
  * The variant of the `Badge`
595
595
  */
@@ -610,7 +610,7 @@ declare const Badge: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProp
610
610
  /**
611
611
  * The text to display in the `Badge`
612
612
  */
613
- label: ReactNode;
613
+ label?: ReactNode;
614
614
  /**
615
615
  * The variant of the `Badge`
616
616
  */
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.18.6-beta.d1ced901.ff69145
3
+ * @license @wistia/ui v0.18.7-beta.823403c9.f095550
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -8412,7 +8412,7 @@ var Badge = forwardRef4(
8412
8412
  $variant: variant,
8413
8413
  children: [
8414
8414
  hasIcon ? icon : null,
8415
- /* @__PURE__ */ jsx209("span", { children: label })
8415
+ isNotNil9(label) ? /* @__PURE__ */ jsx209("span", { children: label }) : null
8416
8416
  ]
8417
8417
  }
8418
8418
  );