@thecb/components 11.6.3-beta.2 → 11.6.3

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
@@ -599,7 +599,17 @@ interface BadgeProps {
599
599
  label: string;
600
600
  Icon?: JSX.Element;
601
601
  iconOnLeft?: boolean;
602
- variant?: "info" | "warn" | "primary" | "primaryHeadline" | "secondary" | "secondaryHeadline" | "success" | "disabled";
602
+ variant?:
603
+ | "info"
604
+ | "warn"
605
+ | "primary"
606
+ | "primaryHeadline"
607
+ | "secondary"
608
+ | "secondaryHeadline"
609
+ | "success"
610
+ | "disabled";
611
+ id?: string;
612
+ extraStyles?: string;
603
613
  }
604
614
 
605
615
  declare const Badge: React.FC<Expand<BadgeProps> & HTMLAttributes<HTMLElement>>;
@@ -1295,8 +1305,8 @@ interface CollapsibleSectionProps {
1295
1305
  extraStyles?: string;
1296
1306
  }
1297
1307
 
1298
- declare const CollapsibleSection: React.FC<Expand<CollapsibleSectionProps> &
1299
- Omit<React.HTMLAttributes<HTMLElement>, 'title'>>; // ommitting title prop to avoid conflicts with component's title prop
1308
+ declare const CollapsibleSection: React.FC<Expand<CollapsibleSectionProps> &
1309
+ Omit<React.HTMLAttributes<HTMLElement>, "title">>; // ommitting title prop to avoid conflicts with component's title prop
1300
1310
 
1301
1311
  interface CopyableProps {
1302
1312
  content: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "11.6.3-beta.2",
3
+ "version": "11.6.3",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -5,7 +5,17 @@ export interface BadgeProps {
5
5
  label: string;
6
6
  Icon?: JSX.Element;
7
7
  iconOnLeft?: boolean;
8
- variant?: "info" | "warn" | "primary" | "primaryHeadline" | "secondary" | "secondaryHeadline" | "success" | "disabled";
8
+ variant?:
9
+ | "info"
10
+ | "warn"
11
+ | "primary"
12
+ | "primaryHeadline"
13
+ | "secondary"
14
+ | "secondaryHeadline"
15
+ | "success"
16
+ | "disabled";
17
+ id?: string;
18
+ extraStyles?: string;
9
19
  }
10
20
 
11
21
  export const Badge: React.FC<Expand<BadgeProps> & HTMLAttributes<HTMLElement>>;
@@ -22,5 +22,5 @@ export interface CollapsibleSectionProps {
22
22
  extraStyles?: string;
23
23
  }
24
24
 
25
- export const CollapsibleSection: React.FC<Expand<CollapsibleSectionProps> &
26
- Omit<React.HTMLAttributes<HTMLElement>, 'title'>>; // ommitting title prop to avoid conflicts with component's title prop
25
+ export const CollapsibleSection: React.FC<Expand<CollapsibleSectionProps> &
26
+ Omit<React.HTMLAttributes<HTMLElement>, "title">>; // ommitting title prop to avoid conflicts with component's title prop