@thecb/components 11.6.3-beta.1 → 11.6.3-beta.2

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
@@ -1295,8 +1295,8 @@ interface CollapsibleSectionProps {
1295
1295
  extraStyles?: string;
1296
1296
  }
1297
1297
 
1298
- declare const CollapsibleSection: React.FC<Expand<CollapsibleSectionProps> &
1299
- React.HTMLAttributes<HTMLElement>>;
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
1300
1300
 
1301
1301
  interface CopyableProps {
1302
1302
  content: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "11.6.3-beta.1",
3
+ "version": "11.6.3-beta.2",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -22,5 +22,5 @@ export interface CollapsibleSectionProps {
22
22
  extraStyles?: string;
23
23
  }
24
24
 
25
- export const CollapsibleSection: React.FC<Expand<CollapsibleSectionProps> &
26
- React.HTMLAttributes<HTMLElement>>;
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