Skip to content

Commit 3935b96

Browse files
Update UiKit to v4.3.12
1 parent 54affa3 commit 3935b96

File tree

53 files changed

+2636
-1668
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+2636
-1668
lines changed

CONTRIBUTING.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# Contributing
2+
3+
When contributing to this repository, please first discuss the change you wish to make via issue,
4+
email, or any other method with the owners of this repository before making a change.
5+
6+
Please note we have a code of conduct, please follow it in all your interactions with the project.
7+
8+
## Pull Request Process
9+
10+
1. Ensure any install or build dependencies are removed before the end of the layer when doing a
11+
build.
12+
2. Update the README.md with details of changes to the interface, this includes new environment
13+
variables, exposed ports, useful file locations and container parameters.
14+
3. Increase the version numbers in any examples files and the README.md to the new version that this
15+
Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/).
16+
4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you
17+
do not have permission to do that, you may request the second reviewer to merge it for you.
18+
19+
## Code of Conduct
20+
21+
### Our Pledge
22+
23+
In the interest of fostering an open and welcoming environment, we as
24+
contributors and maintainers pledge to making participation in our project and
25+
our community a harassment-free experience for everyone, regardless of age, body
26+
size, disability, ethnicity, gender identity and expression, level of experience,
27+
nationality, personal appearance, race, religion, or sexual identity and
28+
orientation.
29+
30+
### Our Standards
31+
32+
Examples of behavior that contributes to creating a positive environment
33+
include:
34+
35+
- Using welcoming and inclusive language
36+
- Being respectful of differing viewpoints and experiences
37+
- Gracefully accepting constructive criticism
38+
- Focusing on what is best for the community
39+
- Showing empathy towards other community members
40+
41+
Examples of unacceptable behavior by participants include:
42+
43+
- The use of sexualized language or imagery and unwelcome sexual attention or
44+
advances
45+
- Trolling, insulting/derogatory comments, and personal or political attacks
46+
- Public or private harassment
47+
- Publishing others' private information, such as a physical or electronic
48+
address, without explicit permission
49+
- Other conduct which could reasonably be considered inappropriate in a
50+
professional setting
51+
52+
### Our Responsibilities
53+
54+
Project maintainers are responsible for clarifying the standards of acceptable
55+
behavior and are expected to take appropriate and fair corrective action in
56+
response to any instances of unacceptable behavior.
57+
58+
Project maintainers have the right and responsibility to remove, edit, or
59+
reject comments, commits, code, wiki edits, issues, and other contributions
60+
that are not aligned to this Code of Conduct, or to ban temporarily or
61+
permanently any contributor for other behaviors that they deem inappropriate,
62+
threatening, offensive, or harmful.
63+
64+
### Scope
65+
66+
This Code of Conduct applies both within project spaces and in public spaces
67+
when an individual is representing the project or its community. Examples of
68+
representing a project or community include using an official project e-mail
69+
address, posting via an official social media account, or acting as an appointed
70+
representative at an online or offline event. Representation of a project may be
71+
further defined and clarified by project maintainers.
72+
73+
### Enforcement
74+
75+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
76+
reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
77+
complaints will be reviewed and investigated and will result in a response that
78+
is deemed necessary and appropriate to the circumstances. The project team is
79+
obligated to maintain confidentiality with regard to the reporter of an incident.
80+
Further details of specific enforcement policies may be posted separately.
81+
82+
Project maintainers who do not follow or enforce the Code of Conduct in good
83+
faith may face temporary or permanent repercussions as determined by other
84+
members of the project's leadership.
85+
86+
### Attribution
87+
88+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
89+
available at [http://contributor-covenant.org/version/1/4][version]
90+
91+
[homepage]: http://contributor-covenant.org
92+
[version]: http://contributor-covenant.org/version/1/4/

dist/assets/locked.svg

100755100644
File mode changed.

dist/assets/placeholder.png

7.8 KB
Loading

dist/assets/private.svg

100755100644
File mode changed.

dist/index.d.ts

Lines changed: 30 additions & 145 deletions
Large diffs are not rendered by default.

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/types/Calling/CallingExtensionDecorator.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ export declare class CallingExtensionDecorator extends DataSourceDecorator {
6868
getCallActionMessage(_message: CometChat.Call): string;
6969
getDefaultAudioCallMessageBubble(_message: CometChat.Call, _alignment: MessageBubbleAlignment, _theme: CometChatTheme): import("react/jsx-runtime").JSX.Element;
7070
getDefaultVideoCallMessageBubble(_message: CometChat.Call, _alignment: MessageBubbleAlignment, _theme: CometChatTheme): import("react/jsx-runtime").JSX.Element;
71-
getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalParams?: any): string;
71+
getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations?: any): string;
7272
getAuxiliaryHeaderMenu(user?: CometChat.User, group?: CometChat.Group): any[];
7373
}
Lines changed: 7 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,20 @@
11
import { CallButtonsStyle } from "@cometchat/uikit-shared";
2-
import { CometChat } from "@cometchat/chat-sdk-javascript";
3-
interface ICallButtonsBaseProps {
2+
interface ICallButtonsProps {
3+
user?: CometChat.User;
4+
group?: CometChat.Group;
45
voiceCallIconURL?: string;
56
voiceCallIconText?: string;
67
voiceCallIconHoverText?: string;
78
videoCallIconURL?: string;
89
videoCallIconText?: string;
910
videoCallIconHoverText?: string;
1011
callButtonsStyle?: CallButtonsStyle;
11-
onVoiceCallClick?: () => void;
12-
onVideoCallClick?: () => void;
13-
onError?: (error: CometChat.CometChatException) => void;
12+
onVoiceCallClick?: Function | undefined;
13+
onVideoCallClick?: Function | undefined;
14+
onError?: Function;
1415
}
15-
interface ICallButtonsUserProps extends ICallButtonsBaseProps {
16-
user: CometChat.User;
17-
group?: CometChat.Group | null;
18-
}
19-
interface ICallButtonsGroupProps extends ICallButtonsBaseProps {
20-
user?: CometChat.User | null;
21-
group: CometChat.Group;
22-
}
23-
type ICallButtonsProps = ICallButtonsUserProps | ICallButtonsGroupProps;
2416
declare const CometChatCallButtons: {
2517
(props: ICallButtonsProps): import("react/jsx-runtime").JSX.Element;
26-
defaultProps: {
27-
voiceCallIconURL: string;
28-
voiceCallIconText: any;
29-
voiceCallIconHoverText: any;
30-
videoCallIconURL: string;
31-
videoCallIconText: any;
32-
videoCallIconHoverText: any;
33-
callButtonsStyle: {
34-
width: string;
35-
height: string;
36-
border: string;
37-
borderRadius: string;
38-
background: string;
39-
};
40-
onVoiceCallClick: undefined;
41-
onVideoCallClick: undefined;
42-
onError: (error: CometChat.CometChatException) => void;
43-
};
18+
defaultProps: ICallButtonsProps;
4419
};
4520
export { CometChatCallButtons };
Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
import { CallLogDetailsStyle, CallLogHistoryConfiguration, CallLogParticipantsConfiguration, CallLogRecordingsConfiguration } from "@cometchat/uikit-shared";
2-
import { CometChatDetailsTemplate, CometChatTheme } from "@cometchat/uikit-resources";
31
import { AvatarStyle } from "@cometchat/uikit-elements";
4-
import { CometChat } from "@cometchat/chat-sdk-javascript";
2+
import { CometChatTheme, CometChatDetailsTemplate } from "@cometchat/uikit-resources";
3+
import { CallLogDetailsStyle, CallLogHistoryConfiguration, CallLogParticipantsConfiguration, CallLogRecordingsConfiguration } from "@cometchat/uikit-shared";
54
interface ICallLogDetailsProps {
65
title?: string;
76
backIconUrl?: string;
8-
call: CometChat.Call;
7+
call: any;
98
onBackClick?: Function;
109
avatarStyle?: AvatarStyle;
1110
data?: (callLog: any, loggedInUser: CometChat.User, theme: CometChatTheme) => CometChatDetailsTemplate[];
@@ -16,16 +15,6 @@ interface ICallLogDetailsProps {
1615
}
1716
declare const CometChatCallLogDetails: {
1817
(props: ICallLogDetailsProps): import("react/jsx-runtime").JSX.Element;
19-
defaultProps: {
20-
title: any;
21-
backIconUrl: string;
22-
onBackClick: undefined;
23-
avatarStyle: AvatarStyle;
24-
data: (callLog: any, loggedInUser: CometChat.User, theme: CometChatTheme) => CometChatDetailsTemplate[];
25-
callLogHistoryConfiguration: CallLogHistoryConfiguration;
26-
callLogParticipantsConfiguration: CallLogParticipantsConfiguration;
27-
callLogRecordingsConfiguration: CallLogRecordingsConfiguration;
28-
callLogDetailsStyle: CallLogDetailsStyle;
29-
};
18+
defaultProps: ICallLogDetailsProps;
3019
};
3120
export { CometChatCallLogDetails };

0 commit comments

Comments
 (0)