@oicl/openbridge-webcomponents-react 2.0.0-next.154 → 2.0.0-next.155

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,18 +1,18 @@
1
1
  import { EventName } from '@lit/react';
2
2
  import { ObcUserMenu as ObcUserMenuElement } from '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';
3
+ import { ObcUserMenuRecentUserClickEvent } from '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';
4
+ export type { ObcUserMenuRecentUserClickEvent } from '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';
3
5
  export declare const ObcUserMenu: import("@lit/react").ReactWebComponent<ObcUserMenuElement, {
4
6
  onSignInClick: EventName<CustomEvent<{
5
7
  username?: string;
6
8
  password?: string;
7
9
  }>>;
8
10
  onSignOutClick: EventName<CustomEvent<void>>;
11
+ onUseAnotherAccountClick: EventName<CustomEvent<void>>;
9
12
  onSignedInActionClick: EventName<CustomEvent<{
10
13
  id: string;
11
14
  label: string;
12
15
  }>>;
13
- onRecentUserClick: EventName<CustomEvent<{
14
- initials: string;
15
- label: string;
16
- }>>;
16
+ onRecentUserClick: EventName<ObcUserMenuRecentUserClickEvent>;
17
17
  }>;
18
18
  //# sourceMappingURL=user-menu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user-menu.d.ts","sourceRoot":"","sources":["../../src/components/user-menu/user-menu.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,WAAW,IAAI,kBAAkB,EAAC,MAAM,uEAAuE,CAAC;AAMxH,eAAO,MAAM,WAAW;mBAMc,SAAS,CAAC,WAAW,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;oBAC5D,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;2BACb,SAAS,CAAC,WAAW,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;uBAC5D,SAAS,CAAC,WAAW,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;EAEpG,CAAC"}
1
+ {"version":3,"file":"user-menu.d.ts","sourceRoot":"","sources":["../../src/components/user-menu/user-menu.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,WAAW,IAAI,kBAAkB,EAAC,MAAM,uEAAuE,CAAC;AACxH,OAAO,EAAC,+BAA+B,EAAC,MAAM,uEAAuE,CAAC;AACtH,YAAY,EAAC,+BAA+B,EAAC,MAAM,uEAAuE,CAAC;AAI3H,eAAO,MAAM,WAAW;mBAMc,SAAS,CAAC,WAAW,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;oBAC5D,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;8BACP,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;2BAClC,SAAS,CAAC,WAAW,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;uBAC5D,SAAS,CAAC,+BAA+B,CAAC;EAErF,CAAC"}
@@ -8,6 +8,7 @@ export const ObcUserMenu = createComponent({
8
8
  events: {
9
9
  onSignInClick: 'sign-in-click',
10
10
  onSignOutClick: 'sign-out-click',
11
+ onUseAnotherAccountClick: 'use-another-account-click',
11
12
  onSignedInActionClick: 'signed-in-action-click',
12
13
  onRecentUserClick: 'recent-user-click',
13
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"user-menu.js","sourceRoot":"","sources":["../../src/components/user-menu/user-menu.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,WAAW,IAAI,kBAAkB,EAAC,MAAM,uEAAuE,CAAC;AAMxH,MAAM,CAAC,MAAM,WAAW,GAAG,eAAe,CAAC;IACzC,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,eAAe;IACxB,YAAY,EAAE,kBAAkB;IAChC,MAAM,EAAE;QAEN,aAAa,EAAE,eAAiF;QAChG,cAAc,EAAE,gBAAgD;QAChE,qBAAqB,EAAE,wBAA+E;QACtG,iBAAiB,EAAE,mBAAgF;KACpG;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcUserMenu as ObcUserMenuElement} from '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';\n \n \n \n\n \n export const ObcUserMenu = createComponent({\n react: React,\n tagName: 'obc-user-menu',\n elementClass: ObcUserMenuElement,\n events: {\n \n onSignInClick: 'sign-in-click' as EventName<CustomEvent<{username?: string, password?: string}>>,\n onSignOutClick: 'sign-out-click' as EventName<CustomEvent<void>>,\n onSignedInActionClick: 'signed-in-action-click' as EventName<CustomEvent<{id: string, label: string}>>,\n onRecentUserClick: 'recent-user-click' as EventName<CustomEvent<{initials: string, label: string}>>,\n }\n });\n \n "]}
1
+ {"version":3,"file":"user-menu.js","sourceRoot":"","sources":["../../src/components/user-menu/user-menu.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,WAAW,IAAI,kBAAkB,EAAC,MAAM,uEAAuE,CAAC;AAMxH,MAAM,CAAC,MAAM,WAAW,GAAG,eAAe,CAAC;IACzC,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,eAAe;IACxB,YAAY,EAAE,kBAAkB;IAChC,MAAM,EAAE;QAEN,aAAa,EAAE,eAAiF;QAChG,cAAc,EAAE,gBAAgD;QAChE,wBAAwB,EAAE,2BAA2D;QACrF,qBAAqB,EAAE,wBAA+E;QACtG,iBAAiB,EAAE,mBAAiE;KACrF;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcUserMenu as ObcUserMenuElement} from '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';\n import {ObcUserMenuRecentUserClickEvent} from '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';\n export type {ObcUserMenuRecentUserClickEvent} from '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';\n \n\n \n export const ObcUserMenu = createComponent({\n react: React,\n tagName: 'obc-user-menu',\n elementClass: ObcUserMenuElement,\n events: {\n \n onSignInClick: 'sign-in-click' as EventName<CustomEvent<{username?: string, password?: string}>>,\n onSignOutClick: 'sign-out-click' as EventName<CustomEvent<void>>,\n onUseAnotherAccountClick: 'use-another-account-click' as EventName<CustomEvent<void>>,\n onSignedInActionClick: 'signed-in-action-click' as EventName<CustomEvent<{id: string, label: string}>>,\n onRecentUserClick: 'recent-user-click' as EventName<ObcUserMenuRecentUserClickEvent>,\n }\n });\n \n "]}
package/package.json CHANGED
@@ -5,9 +5,9 @@
5
5
  "build": "tsc",
6
6
  "build:watch": "tsc --watch"
7
7
  },
8
- "version": "2.0.0-next.154",
8
+ "version": "2.0.0-next.155",
9
9
  "dependencies": {
10
- "@oicl/openbridge-webcomponents": "^2.0.0-next.154",
10
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.155",
11
11
  "@lit/react": "^1.0.0"
12
12
  },
13
13
  "peerDependencies": {