@nimbus-ds/components 5.58.0-rc.3 → 5.59.0

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.ts CHANGED
@@ -43,12 +43,17 @@ export interface BadgeProperties {
43
43
  /**
44
44
  * Total items to be displayed without badge
45
45
  */
46
- count: number | string;
46
+ count?: number | string;
47
47
  /**
48
48
  * Change the color scheme of the badge.
49
49
  * @default surface
50
50
  */
51
51
  theme?: "surface" | "light";
52
+ /**
53
+ * Change the badge type between a text counter and a dot indicator.
54
+ * @default text
55
+ */
56
+ type?: "text" | "dot";
52
57
  }
53
58
  export type BadgeProps = BadgeProperties & HTMLAttributes<HTMLElement>;
54
59
  export declare const Badge: React.FC<BadgeProps> & BadgeComponents;