@wistia/ui 0.18.6 → 0.18.7

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
3
+ * @license @wistia/ui v0.18.7
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -8291,7 +8291,7 @@ var Badge = forwardRef4(
8291
8291
  $variant: variant,
8292
8292
  children: [
8293
8293
  hasIcon ? icon : null,
8294
- /* @__PURE__ */ jsx205("span", { children: label })
8294
+ isNotNil9(label) ? /* @__PURE__ */ jsx205("span", { children: label }) : null
8295
8295
  ]
8296
8296
  }
8297
8297
  );