@ambuj.bhaskar/react-component-library 0.11.4-alpha → 0.11.6-alpha

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
@@ -6,6 +6,21 @@ import * as React_2 from 'react';
6
6
  import { ReactNode } from 'react';
7
7
  import { TimeRangePickerProps } from 'antd';
8
8
 
9
+ export declare const Badge: React.FC<BadgeProps>;
10
+
11
+ export declare interface BadgeProps extends ComponentProps<"div"> {
12
+ badgeContent?: React.ReactNode | string | number;
13
+ variant?: BadgeVariants;
14
+ backgroundColor?: Color;
15
+ textColor?: Color;
16
+ style?: React.CSSProperties;
17
+ }
18
+
19
+ declare enum BadgeVariants {
20
+ LARGE = "l",
21
+ MEDIUM = "m"
22
+ }
23
+
9
24
  declare type BlobType = {
10
25
  detection?: {
11
26
  image?: string;
@@ -351,8 +366,9 @@ declare type TextSize = "xs" | "s" | "m" | "l" | "xl";
351
366
 
352
367
  export declare type ThemeObject = {
353
368
  name?: string;
354
- palette?: ThemeSection;
369
+ colors?: ThemeSection;
355
370
  sizes?: ThemeSection;
371
+ weights?: ThemeSection;
356
372
  };
357
373
 
358
374
  export declare const ThemeProvider: ({ theme, log, children, }: {