@inera/ids-react 4.6.0 → 4.6.1

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,2 +1,5 @@
1
1
  import { IDSHeaderAvatar as HeaderAvatar } from '@inera/ids-core/components/header/avatar/header-avatar-element';
2
- export declare const IDSHeaderAvatar: import("@lit-labs/react").ReactWebComponent<HeaderAvatar, {}>;
2
+ export declare const IDSHeaderAvatar: import("@lit-labs/react").ReactWebComponent<HeaderAvatar, {
3
+ onClosed: string;
4
+ onExpanded: string;
5
+ }>;
@@ -6,6 +6,10 @@ const IDSHeaderAvatar = createComponent({
6
6
  tagName: 'ids-header-avatar',
7
7
  elementClass: IDSHeaderAvatar$1,
8
8
  react: React,
9
+ events: {
10
+ onClosed: 'closed',
11
+ onExpanded: 'expanded'
12
+ }
9
13
  });
10
14
 
11
15
  export { IDSHeaderAvatar };
@@ -1,4 +1,5 @@
1
1
  import { IDSHeaderMobileMenu as HeaderMobileMenu } from '@inera/ids-core/components/header/mobile-menu/header-mobile-menu-element';
2
2
  export declare const IDSHeaderMobileMenu: import("@lit-labs/react").ReactWebComponent<HeaderMobileMenu, {
3
- onDidToggleExpansion: string;
3
+ onClosed: string;
4
+ onExpanded: string;
4
5
  }>;
@@ -7,7 +7,8 @@ const IDSHeaderMobileMenu = createComponent({
7
7
  elementClass: IDSHeaderMobileMenu$1,
8
8
  react: React,
9
9
  events: {
10
- onDidToggleExpansion: 'didToggleExpansion'
10
+ onClosed: 'closed',
11
+ onExpanded: 'expanded'
11
12
  },
12
13
  });
13
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inera/ids-react",
3
- "version": "4.6.0",
3
+ "version": "4.6.1",
4
4
  "peerDependencies": {
5
5
  "react": "*"
6
6
  },