magneto365.ui 2.70.2 → 2.70.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.
@@ -1,6 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { IAvatar, IRatingBadge } from '@components/UI/atoms';
3
- export interface ICandidateProfileAvatar extends React.HTMLAttributes<HTMLDivElement> {
4
- avatar: IAvatar;
3
+ export interface ICandidateProfileAvatar extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick'>, IAvatar {
5
4
  score?: IRatingBadge['score'];
6
5
  }
@@ -0,0 +1 @@
1
+ export declare const useClickOutside: (ref: React.RefObject<HTMLElement>, handler: () => void) => void;
package/dist/index.d.ts CHANGED
@@ -1929,8 +1929,7 @@ declare const CandidateNav: React__default.FC<TCandidateNav> & {
1929
1929
 
1930
1930
  declare type TCandidateProfile = React.HTMLAttributes<HTMLDivElement> & Partial<ICollapseContext$1>;
1931
1931
 
1932
- interface ICandidateProfileAvatar extends React.HTMLAttributes<HTMLDivElement> {
1933
- avatar: IAvatar$1;
1932
+ interface ICandidateProfileAvatar extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick'>, IAvatar$1 {
1934
1933
  score?: IRatingBadge$1['score'];
1935
1934
  }
1936
1935
 
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/W170/talenta.magneto365.ui.git"
6
6
  },
7
- "version": "2.70.2",
7
+ "version": "2.70.3",
8
8
  "description": "Magneto365 UI common components",
9
9
  "scripts": {
10
10
  "lint": "eslint ./src --ext .js,.ts,.jsx,.tsx",