@nethesis/phone-island 0.7.29 → 0.7.30

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.
package/README.md CHANGED
@@ -3,14 +3,17 @@
3
3
  A fully standalone component for managing calls, video calls, screen sharing and more...
4
4
 
5
5
  ## Preview
6
+
6
7
  ### Closed
8
+
7
9
  ![pi-close](https://user-images.githubusercontent.com/6152486/205046804-98037726-7b2a-408b-b247-7053f0fc08e0.png)
8
10
 
9
11
  ### Open
10
- ![pi-open](https://user-images.githubusercontent.com/6152486/205046912-e32d81ad-781e-4985-bb35-397be675b4b7.png)
11
12
 
13
+ ![pi-open](https://user-images.githubusercontent.com/6152486/205046912-e32d81ad-781e-4985-bb35-397be675b4b7.png)
12
14
 
13
15
  ## Structure
16
+
14
17
  ```mermaid
15
18
  flowchart LR
16
19
  Views[Island] --> Call(Call)
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The helper function to dispatch events
3
+ *
4
+ * @param name The name of the event
5
+ * @param data The data object
6
+ * @param element The target element
7
+ */
8
+ export declare const eventDispatch: (name: string, data: any, element?: HTMLElement | Window) => void;
@@ -1,3 +1,3 @@
1
1
  export * from './useEventListener';
2
2
  export * from './useIsomorphicLayoutEffect';
3
- export * from './useEventDispatch';
3
+ export * from './eventDispatch';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nethesis/phone-island",
3
3
  "author": "Nethesis",
4
- "version": "0.7.29",
4
+ "version": "0.7.30",
5
5
  "description": "NethVoice CTI Phone Island",
6
6
  "keywords": [
7
7
  "nethserver",
@@ -1 +0,0 @@
1
- export declare const useEventDispatch: (name: string, data: any, element?: HTMLElement | Window) => void;