@oicl/openbridge-webcomponents-svelte 2.0.0-next.132 → 2.0.0-next.134

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.
@@ -62,7 +62,13 @@
62
62
  *
63
63
  * Available when `type==signedIn`.
64
64
  */
65
- signedInActions?: ObcUserMenuSignedInAction[]
65
+ signedInActions?: ObcUserMenuSignedInAction[];
66
+ /**
67
+ * Id of the action promoted to a button in the small signed-in layout.
68
+ *
69
+ * Available when `type==signedIn && size==small`.
70
+ */
71
+ primaryActionId?: string | undefined
66
72
  }
67
73
  export interface Events {
68
74
  onSignInClick?: (event: CustomEvent<{username: string, password: string}>) => void;
@@ -58,6 +58,12 @@ export interface Props {
58
58
  * Available when `type==signedIn`.
59
59
  */
60
60
  signedInActions?: ObcUserMenuSignedInAction[];
61
+ /**
62
+ * Id of the action promoted to a button in the small signed-in layout.
63
+ *
64
+ * Available when `type==signedIn && size==small`.
65
+ */
66
+ primaryActionId?: string | undefined;
61
67
  }
62
68
  export interface Events {
63
69
  onSignInClick?: (event: CustomEvent<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oicl/openbridge-webcomponents-svelte",
3
- "version": "2.0.0-next.132",
3
+ "version": "2.0.0-next.134",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@oicl/openbridge-webcomponents": "^2.0.0-next.132"
34
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.134"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "svelte": "^5.0.0"