@mindly/ui-components 3.17.1 → 3.17.2

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,10 +1,14 @@
1
1
  import React from 'react';
2
+ import { InAppBrowserOptions } from '@awesome-cordova-plugins/in-app-browser';
2
3
  declare type ChatMessageProps = {
3
4
  message: string;
4
5
  position: 'left' | 'right';
5
6
  time: number;
6
7
  timeZone?: string;
7
8
  status?: 'loading' | 'sent' | 'viewed';
9
+ messageType?: string;
10
+ target?: string;
11
+ options?: InAppBrowserOptions;
8
12
  };
9
13
  declare const _default: React.NamedExoticComponent<ChatMessageProps>;
10
14
  export default _default;
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@
2
2
  import React, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, ReactText } from 'react';
3
3
  import { JSX as JSX$1 } from '@ionic/core/components';
4
4
  import { ILocalVideoTrack, IRemoteVideoTrack, ILocalAudioTrack, IRemoteAudioTrack } from 'agora-rtc-sdk-ng';
5
+ import { InAppBrowserOptions } from '@awesome-cordova-plugins/in-app-browser';
5
6
 
6
7
  interface ButtonProps {
7
8
  buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
@@ -489,6 +490,9 @@ declare type ChatMessageProps = {
489
490
  time: number;
490
491
  timeZone?: string;
491
492
  status?: 'loading' | 'sent' | 'viewed';
493
+ messageType?: string;
494
+ target?: string;
495
+ options?: InAppBrowserOptions;
492
496
  };
493
497
  declare const _default$7: React.NamedExoticComponent<ChatMessageProps>;
494
498
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.17.1",
3
+ "version": "3.17.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -18,6 +18,8 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "-": "^0.0.1",
21
+ "@awesome-cordova-plugins/core": "^5.45.0",
22
+ "@awesome-cordova-plugins/in-app-browser": "^5.45.0",
21
23
  "@babel/polyfill": "^7.12.1",
22
24
  "@capacitor/keyboard": "^1.2.2",
23
25
  "@ionic/react": "^6.1.11",
@@ -33,6 +35,7 @@
33
35
  "@types/react-dom": "^17.0.9",
34
36
  "agora-rtc-sdk-ng": "^4.12.2",
35
37
  "auto": "^10.32.0",
38
+ "cordova-plugin-inappbrowser": "^5.0.0",
36
39
  "date-fns": "^2.28.0",
37
40
  "luxon": "^2.4.0",
38
41
  "react": "^17.0.2",