@oicl/openbridge-webcomponents-svelte 2.0.0-next.11 → 2.0.0-next.13

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.
@@ -20,12 +20,13 @@ import type {Alert} from '@oicl/openbridge-webcomponents/dist/types.js';
20
20
  export interface Events {
21
21
  onAckAllVisibleClick?: (event: ObcAlertListPageAckAllClickEvent) => void;
22
22
  onAckClick?: (event: ObcAckClickEvent) => void;
23
- onRowClick?: (event: ObcRowClickEvent) => void
23
+ onRowClick?: (event: ObcRowClickEvent) => void;
24
+ onSilenceClick?: (event: CustomEvent<void>) => void
24
25
  }
25
26
  export interface Slots {
26
27
  children?: Snippet
27
28
  }
28
- const {onAckAllVisibleClick, onAckClick, onRowClick, class: className, style, children, ...props} = $props<Props & Events & Slots>();
29
+ const {onAckAllVisibleClick, onAckClick, onRowClick, onSilenceClick, class: className, style, children, ...props} = $props<Props & Events & Slots>();
29
30
 
30
31
  </script>
31
32
  <obc-alert-list-page-small
@@ -34,7 +35,8 @@ import type {Alert} from '@oicl/openbridge-webcomponents/dist/types.js';
34
35
  style={style}
35
36
  onack-all-visible-click={onAckAllVisibleClick}
36
37
  onack-click={onAckClick}
37
- onrow-click={onRowClick} >
38
+ onrow-click={onRowClick}
39
+ onsilence-click={onSilenceClick} >
38
40
 
39
41
  {#if children}
40
42
  {@render children()}
@@ -15,6 +15,7 @@ export interface Events {
15
15
  onAckAllVisibleClick?: (event: ObcAlertListPageAckAllClickEvent) => void;
16
16
  onAckClick?: (event: ObcAckClickEvent) => void;
17
17
  onRowClick?: (event: ObcRowClickEvent) => void;
18
+ onSilenceClick?: (event: CustomEvent<void>) => void;
18
19
  }
19
20
  export interface Slots {
20
21
  children?: Snippet;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oicl/openbridge-webcomponents-svelte",
3
- "version": "2.0.0-next.11",
3
+ "version": "2.0.0-next.13",
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.10"
34
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.12"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "svelte": "^5.0.0"