@cometchat/chat-uikit-react 4.3.18 → 4.3.19

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,4 +1,5 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <line y1="-0.75" x2="12.5391" y2="-0.75" transform="matrix(-0.641971 0.766729 -0.836709 -0.547648 19 7.38586)" stroke="#808080" stroke-width="1.5"/>
3
- <path d="M16.6377 7L8.87922 16.3095L5 13.3697" stroke="#808080" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1
+ <svg width="14" height="12" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g opacity="0.8">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.15147 3.15262C9.32528 2.93804 9.29224 2.62319 9.07766 2.44938C8.86308 2.27557 8.54822 2.30861 8.37441 2.52319L3.61414 8.39998L1.626 6.42494C1.4301 6.23032 1.11352 6.23137 0.918901 6.42727C0.724285 6.62318 0.725331 6.93976 0.921238 7.13438L3.30197 9.49942C3.40229 9.59908 3.54012 9.6516 3.68131 9.64398C3.82251 9.63635 3.95388 9.5693 4.04289 9.45942L9.15147 3.15262ZM13.0814 3.16663C13.263 2.95855 13.2415 2.6427 13.0334 2.46115C12.8253 2.27961 12.5095 2.30111 12.3279 2.50919L7.17358 8.41667L6.74794 7.99934C6.55077 7.80601 6.2342 7.80912 6.04087 8.0063C5.84754 8.20348 5.85066 8.52004 6.04783 8.71337L6.85187 9.50172C6.95016 9.59809 7.08383 9.64968 7.22138 9.64433C7.35892 9.63897 7.48818 9.57715 7.57868 9.47343L13.0814 3.16663Z" fill="#9C9CA3"/>
4
+ </g>
4
5
  </svg>
@@ -1,4 +1,5 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <line y1="-0.75" x2="12.5391" y2="-0.75" transform="matrix(-0.641971 0.766729 -0.836709 -0.547648 19 7.38586)" stroke="#39f" stroke-width="1.5"/>
3
- <path d="M16.6377 7L8.87922 16.3095L5 13.3697" stroke="#39f" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
1
+ <svg width="14" height="12" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g opacity="0.8">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M9.15147 3.15262C9.32528 2.93804 9.29224 2.62319 9.07766 2.44938C8.86308 2.27557 8.54822 2.30861 8.37441 2.52319L3.61414 8.39998L1.626 6.42494C1.4301 6.23032 1.11352 6.23137 0.918901 6.42727C0.724285 6.62318 0.725331 6.93976 0.921238 7.13438L3.30197 9.49942C3.40229 9.59908 3.54012 9.6516 3.68131 9.64398C3.82251 9.63635 3.95388 9.5693 4.04289 9.45942L9.15147 3.15262ZM13.0814 3.16663C13.263 2.95855 13.2415 2.6427 13.0334 2.46115C12.8253 2.27961 12.5095 2.30111 12.3279 2.50919L7.17358 8.41667L6.74794 7.99934C6.55077 7.80601 6.2342 7.80912 6.04087 8.0063C5.84754 8.20348 5.85066 8.52004 6.04783 8.71337L6.85187 9.50172C6.95016 9.59809 7.08383 9.64968 7.22138 9.64433C7.35892 9.63897 7.48818 9.57715 7.57868 9.47343L13.0814 3.16663Z" fill="#9C9CA3"/>
4
+ </g>
4
5
  </svg>
package/dist/index.d.ts CHANGED
@@ -932,17 +932,10 @@ interface ICallButtonsBaseProps {
932
932
  onVoiceCallClick?: () => void;
933
933
  onVideoCallClick?: () => void;
934
934
  onError?: (error: CometChat.CometChatException) => void;
935
- }
936
- interface ICallButtonsUserProps extends ICallButtonsBaseProps {
937
- user: CometChat.User;
938
- group?: CometChat.Group | null;
939
- }
940
- interface ICallButtonsGroupProps extends ICallButtonsBaseProps {
941
935
  user?: CometChat.User | null;
942
- group: CometChat.Group;
936
+ group?: CometChat.Group | null;
943
937
  }
944
- type ICallButtonsProps = ICallButtonsUserProps | ICallButtonsGroupProps;
945
- declare const CometChatCallButtons: (props: ICallButtonsProps) => react_jsx_runtime.JSX.Element;
938
+ declare const CometChatCallButtons: (props: ICallButtonsBaseProps) => react_jsx_runtime.JSX.Element;
946
939
 
947
940
  interface IIncomingCallProps {
948
941
  call?: any;
@@ -1596,6 +1589,11 @@ interface IConversationsProps {
1596
1589
  * @defaultValue `SelectionMode.none`
1597
1590
  */
1598
1591
  selectionMode?: SelectionMode;
1592
+ /**
1593
+ * @deprecated
1594
+ *
1595
+ * This property is deprecated as of version 4.3.19 due to newer property 'hideReceipt'. It will be removed in subsequent versions.
1596
+ */
1599
1597
  /**
1600
1598
  * Disable receipt status
1601
1599
  *
@@ -1605,6 +1603,15 @@ interface IConversationsProps {
1605
1603
  * @defaultValue `false`
1606
1604
  */
1607
1605
  disableReceipt?: boolean;
1606
+ /**
1607
+ * hide receipt status
1608
+ *
1609
+ * @remarks
1610
+ * If set to true, the receipt status of the message won't be displayed
1611
+ *
1612
+ * @defaultValue `false`
1613
+ */
1614
+ hideReceipt?: boolean;
1608
1615
  /**
1609
1616
  * List of actions available on mouse over on the default list item component
1610
1617
  */
@@ -2653,7 +2660,13 @@ interface IMessageListProps {
2653
2660
  emptyStateView?: any;
2654
2661
  errorStateView?: any;
2655
2662
  loadingStateView?: any;
2663
+ /**
2664
+ * @deprecated
2665
+ *
2666
+ * This property is deprecated as of version 4.3.19 due to newer property 'hideReceipt'. It will be removed in subsequent versions.
2667
+ */
2656
2668
  disableReceipt?: boolean;
2669
+ hideReceipt?: boolean;
2657
2670
  disableSoundForMessages?: boolean;
2658
2671
  customSoundForMessages?: string;
2659
2672
  readIcon?: string;
@@ -3141,7 +3154,7 @@ interface ContactsProps {
3141
3154
  hideSubmitButton?: boolean;
3142
3155
  selectionLimit?: number;
3143
3156
  tabVisibility?: TabsVisibility;
3144
- contactsStyle: ContactsStyle;
3157
+ contactsStyle?: ContactsStyle;
3145
3158
  selectionMode?: SelectionMode;
3146
3159
  }
3147
3160
  declare const CometChatContacts: (props: ContactsProps) => react_jsx_runtime.JSX.Element;