Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2600,7 +2600,8 @@
]
},
"ui-kit/angular/call-features",
"ui-kit/angular/campaigns"
"ui-kit/angular/campaigns",
"ui-kit/angular/customization/rtl-support"
]
},
{
Expand Down
18 changes: 18 additions & 0 deletions ui-kit/angular/components/cometchat-action-bubble.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,24 @@ export class ActionMessagesComponent {}
| `messageText` | `string` | `''` | The action/system message text to display. If empty, null, undefined, or whitespace-only, the component renders nothing |
| `iconUrl` | `string` | `''` | URL or path to an icon image displayed alongside the action text |
| `iconErrorColor` | `boolean` | `false` | When true, applies error color styling to the icon (e.g., for missed call indicators) |
| `layoutDirection` | `'ltr' \| 'rtl'` | `undefined` (inherits) | Lays this component out left to right or right to left, overriding the UI Kit's global setting. Unset, it inherits from the UI Kit component around it, then the global setting. See [Layout Direction](#layout-direction) |

---

## Layout Direction

`<cometchat-action-bubble>` follows the UI Kit's layout direction. Pass `layoutDirection` to set it for this component only: it overrides the global setting for `<cometchat-action-bubble>` and the UI Kit components inside it. See [RTL Support](/ui-kit/angular/customization/rtl-support).

```html
<cometchat-action-bubble [message]="message" layoutDirection="rtl"></cometchat-action-bubble>
```

| | |
| --- | --- |
| Type | `'ltr' \| 'rtl'` |
| Default | Not set: inherits from the UI Kit component around it, then the global setting, then the page's `dir` |

---

## Empty State Handling

Expand Down
18 changes: 18 additions & 0 deletions ui-kit/angular/components/cometchat-ai-assistant-chat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,24 @@ export class AiChatComponent implements OnInit {
| `showSuggestedMessages` | `boolean` | `true` | Whether to show suggestion pills above the composer |
| `suggestedMessages` | `string[]` | `[]` | Explicit suggestion pill labels; falls back to `user.getMetadata().suggestedMessages` |
| `greetingTemplate` | `TemplateRef<{ $implicit: CometChat.User }>` | `undefined` | Custom greeting template rendered before the first message |
| `layoutDirection` | `'ltr' \| 'rtl'` | `undefined` (inherits) | Lays this component out left to right or right to left, overriding the UI Kit's global setting. Unset, it inherits from the UI Kit component around it, then the global setting. See [Layout Direction](#layout-direction) |

---

## Layout Direction

`<cometchat-ai-assistant-chat>` follows the UI Kit's layout direction. Pass `layoutDirection` to set it for this component only: it overrides the global setting for `<cometchat-ai-assistant-chat>` and the UI Kit components inside it, including the menus, popovers and dialogs it opens. See [RTL Support](/ui-kit/angular/customization/rtl-support).

```html
<cometchat-ai-assistant-chat [user]="agent" layoutDirection="rtl"></cometchat-ai-assistant-chat>
```

| | |
| --- | --- |
| Type | `'ltr' \| 'rtl'` |
| Default | Not set: inherits from the UI Kit component around it, then the global setting, then the page's `dir` |

---

## Events

Expand Down
20 changes: 20 additions & 0 deletions ui-kit/angular/components/cometchat-audio-bubble.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
| Related | [Components overview](/ui-kit/angular/components/components-overview) · [LLM index](/ui-kit/angular/llms-angular-v5) |

</Accordion>
The `CometChatAudioBubble` component is a sophisticated audio message display component that renders audio messages with real-time waveform visualization and playback controls. It serves as the primary content renderer for audio-based messages in the CometChat Angular UIKit, handling everything from single audio display to complex multi-audio layouts with expand/collapse behavior.

Check warning on line 24 in ui-kit/angular/components/cometchat-audio-bubble.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

Did you really mean 'UIKit'?

## Overview

Expand Down Expand Up @@ -159,6 +159,26 @@
|----------|------|---------|-------------|
| `message` | `CometChat.MediaMessage` | **required** | The CometChat.MediaMessage object to render. Contains audio attachments, metadata, and sender information |
| `alignment` | `MessageBubbleAlignment` | `MessageBubbleAlignment.left` | The alignment of the message bubble. `left` for incoming/receiver messages, `right` for outgoing/sender messages |
| `layoutDirection` | `'ltr' \| 'rtl'` | `undefined` (inherits) | Lays this component out left to right or right to left, overriding the UI Kit's global setting. Unset, it inherits from the UI Kit component around it, then the global setting. See [Layout Direction](#layout-direction) |

---

## Layout Direction

`<cometchat-audio-bubble>` follows the UI Kit's layout direction. Pass `layoutDirection` to set it for this component only: it overrides the global setting for `<cometchat-audio-bubble>` and the UI Kit components inside it. See [RTL Support](/ui-kit/angular/customization/rtl-support).

The audio player (play button, waveform, download and time) always lays out left to right, whatever the setting; the bubble around it still follows the layout.

```html
<cometchat-audio-bubble [message]="message" layoutDirection="rtl"></cometchat-audio-bubble>
```

| | |
| --- | --- |
| Type | `'ltr' \| 'rtl'` |
| Default | Not set: inherits from the UI Kit component around it, then the global setting, then the page's `dir` |

---

## Events

Expand Down
20 changes: 20 additions & 0 deletions ui-kit/angular/components/cometchat-call-bubble.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,26 @@
| `subtitle` | `string` | `undefined` | Optional custom subtitle to override the default status/duration display |
| `buttonText` | `string` | `undefined` | Optional button text for the action button. If provided and non-empty, the button will be displayed |
| `disableInteraction` | `boolean` | `false` | When true, disables the action button and other interactive elements within the bubble |
| `layoutDirection` | `'ltr' \| 'rtl'` | `undefined` (inherits) | Lays this component out left to right or right to left, overriding the UI Kit's global setting. Unset, it inherits from the UI Kit component around it, then the global setting. See [Layout Direction](#layout-direction) |

---

## Layout Direction

`<cometchat-call-bubble>` follows the UI Kit's layout direction. Pass `layoutDirection` to set it for this component only: it overrides the global setting for `<cometchat-call-bubble>` and the UI Kit components inside it. See [RTL Support](/ui-kit/angular/customization/rtl-support).

In RTL, the call-direction arrows (incoming, outgoing and missed) flip. A bare handset stays as drawn.

```html
<cometchat-call-bubble [message]="message" layoutDirection="rtl"></cometchat-call-bubble>
```

| | |
| --- | --- |
| Type | `'ltr' \| 'rtl'` |
| Default | Not set: inherits from the UI Kit component around it, then the global setting, then the page's `dir` |

---

## Events

Expand Down Expand Up @@ -390,7 +410,7 @@
</Tip>

<Info>
All text in the component is localized. The component uses existing localization keys from the UIKit for call-related text.

Check warning on line 413 in ui-kit/angular/components/cometchat-call-bubble.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

Did you really mean 'UIKit'?
</Info>

## Related Components
Expand Down
18 changes: 18 additions & 0 deletions ui-kit/angular/components/cometchat-call-buttons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,24 @@ export class CallButtonsDemoComponent {
| `callSettingsBuilder` | `SessionSettings` | `undefined` | A plain v5 `SessionSettings` object used to override the default call settings in the ongoing call screen. Pass a built `SessionSettings` object — the kit does **not** call `.build()` internally. Follows the three-tier priority: @Input > [GlobalConfig](/ui-kit/angular/customization/global-config) > default. |
| `voiceCallButtonView` | `TemplateRef<any> \| null` | `null` | Replaces the default voice call button with a custom template. |
| `videoCallButtonView` | `TemplateRef<any> \| null` | `null` | Replaces the default video call button with a custom template. |
| `layoutDirection` | `'ltr' \| 'rtl'` | `undefined` (inherits) | Lays this component out left to right or right to left, overriding the UI Kit's global setting. Unset, it inherits from the UI Kit component around it, then the global setting. See [Layout Direction](#layout-direction) |

---

## Layout Direction

`<cometchat-call-buttons>` follows the UI Kit's layout direction. Pass `layoutDirection` to set it for this component only: it overrides the global setting for `<cometchat-call-buttons>` and the UI Kit components inside it, including the menus, popovers and dialogs it opens. See [RTL Support](/ui-kit/angular/customization/rtl-support).

```html
<cometchat-call-buttons [user]="user" layoutDirection="rtl"></cometchat-call-buttons>
```

| | |
| --- | --- |
| Type | `'ltr' \| 'rtl'` |
| Default | Not set: inherits from the UI Kit component around it, then the global setting, then the page's `dir` |

---

## Events

Expand Down
20 changes: 20 additions & 0 deletions ui-kit/angular/components/cometchat-call-logs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
- Visible focus indicators (2px outline) meeting WCAG contrast requirements
- `focus-visible` styling on trailing call buttons with `outline-offset`
- Roving `tabindex` on list items for efficient keyboard navigation
- Trailing call buttons are independently focusable with `tabindex="0"`

Check warning on line 99 in ui-kit/angular/components/cometchat-call-logs.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

Did you really mean 'focusable'?

**WCAG 2.1 Compliance:**
- ✅ 2.1.1 Keyboard (Level A) — All functionality available via keyboard
Expand Down Expand Up @@ -155,6 +155,7 @@
| `showScrollbar` | `boolean` | `false` | Whether to show the scrollbar on the call logs list. |
| `callSettingsBuilder` | `CallSettingsBuilder` | `undefined` | Custom `CallSettingsBuilder` to override the default call settings used in the ongoing call overlay. Follows the three-tier priority: @Input > [GlobalConfig](/ui-kit/angular/customization/global-config) > default. |
| `onError` | `((error: CometChat.CometChatException) => void) \| null` | `null` | Error callback invoked when any error occurs during operations such as fetching call logs or initiating calls. |
| `layoutDirection` | `'ltr' \| 'rtl'` | `undefined` (inherits) | Lays this component out left to right or right to left, overriding the UI Kit's global setting. Unset, it inherits from the UI Kit component around it, then the global setting. See [Layout Direction](#layout-direction) |

### Template Properties

Expand All @@ -170,6 +171,25 @@
| `emptyView` | `TemplateRef<any>` | `undefined` | Custom template for the empty state when no call logs are available. |
| `errorView` | `TemplateRef<any>` | `undefined` | Custom template for the error state when call log fetching fails. |

---

## Layout Direction

`<cometchat-call-logs>` follows the UI Kit's layout direction. Pass `layoutDirection` to set it for this component only: it overrides the global setting for `<cometchat-call-logs>` and the UI Kit components inside it, including the menus, popovers and dialogs it opens. See [RTL Support](/ui-kit/angular/customization/rtl-support).

In RTL, the call-direction arrows (incoming, outgoing and missed, voice and video) flip. A bare handset stays as drawn.

```html
<cometchat-call-logs layoutDirection="rtl"></cometchat-call-logs>
```

| | |
| --- | --- |
| Type | `'ltr' \| 'rtl'` |
| Default | Not set: inherits from the UI Kit component around it, then the global setting, then the page's `dir` |

---

## Events

| Event | Payload Type | Description |
Expand Down
18 changes: 18 additions & 0 deletions ui-kit/angular/components/cometchat-card-bubble.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

## Overview

The UIKit is a **render-only** consumer of cards: it draws cards delivered by the SDK and forwards card actions to your app. It never parses or mutates the card body, and never sends or creates cards. When a card message arrives, the UIKit routes it to this bubble automatically.

Check warning on line 29 in ui-kit/angular/components/cometchat-card-bubble.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

Did you really mean 'UIKit'?

Check warning on line 29 in ui-kit/angular/components/cometchat-card-bubble.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

Did you really mean 'UIKit'?

<Tip>
**Design cards visually with [Card Builder](/card-builder/overview).** Build your card messages in the CometChat Dashboard and export the Card Schema JSON — instead of writing it by hand.
Expand All @@ -35,7 +35,7 @@
The component follows a strict **render-only contract**:

- **Render-only** — the raw card payload from `message.getCard()` is serialized verbatim and handed to the prebuilt `CometChatCardView` renderer (from [`@cometchat/cards-angular`](https://www.npmjs.com/package/@cometchat/cards-angular)) as a `cardJson` string. The UI Kit performs **zero transformation** of the payload.
- **No behavior** — the bubble runs no action logic of its own. When a user taps an interactive element, the renderer's raw action is **pure-forwarded** on two channels (see [Card Actions](#card-actions)); your app owns all behavior.

Check warning on line 38 in ui-kit/angular/components/cometchat-card-bubble.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

Did you really mean 'renderer's'?
- **Graceful fallback** — when the payload is empty or invalid, a single-line fallback text is shown instead of an empty bubble (see [Fallback Behavior](#fallback-behavior)).

<Info>
Expand Down Expand Up @@ -118,11 +118,29 @@
| `alignment` | `MessageBubbleAlignment` | `MessageBubbleAlignment.left` | Bubble alignment. `left` for incoming/receiver messages, `right` for outgoing/sender messages. Kept for parity with the text bubble. |
| `themeMode` | `CometChatCardThemeMode` | `'auto'` | Renderer theme mode. One of `'auto'`, `'light'`, or `'dark'`. Passed straight to `CometChatCardView`. |
| `themeOverride` | `CometChatCardThemeOverride` | `undefined` | Optional renderer theme overrides (colors, spacing, typography for the rendered card). Passed straight to `CometChatCardView`. |
| `layoutDirection` | `'ltr' \| 'rtl'` | `undefined` (inherits) | Lays this component out left to right or right to left, overriding the UI Kit's global setting. Unset, it inherits from the UI Kit component around it, then the global setting. See [Layout Direction](#layout-direction) |

<Note>
`CometChatCardThemeMode` and `CometChatCardThemeOverride` are exported by `@cometchat/cards-angular`. Type these inputs precisely — passing `unknown` will fail strict-template AOT compilation.
</Note>

---

## Layout Direction

`<cometchat-card-bubble>` follows the UI Kit's layout direction. Pass `layoutDirection` to set it for this component only: it overrides the global setting for `<cometchat-card-bubble>` and the UI Kit components inside it. See [RTL Support](/ui-kit/angular/customization/rtl-support).

```html
<cometchat-card-bubble [message]="message" layoutDirection="rtl"></cometchat-card-bubble>
```

| | |
| --- | --- |
| Type | `'ltr' \| 'rtl'` |
| Default | Not set: inherits from the UI Kit component around it, then the global setting, then the page's `dir` |

---

## Events

| Event | Payload Type | Description |
Expand Down Expand Up @@ -256,7 +274,7 @@
- **Standalone Component** — import and use independently.
- **Change Detection** — `OnPush` for optimal performance; uses Angular signals for the card payload and fallback.
- **Renderer dependency** — `CometChatCardViewComponent` from `@cometchat/cards-angular`.
- **Callback before schema** — the renderer's `(onAction)` output is bound before `[cardJson]` is assigned, so the action callback is registered before the card schema is rendered.

Check warning on line 277 in ui-kit/angular/components/cometchat-card-bubble.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

Did you really mean 'renderer's'?

## Related

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,24 @@ export class InteractiveDocumentComponent {
| `message` | `CometChat.CustomMessage` | **required** | The CometChat.CustomMessage object containing collaborative document metadata |
| `alignment` | `MessageBubbleAlignment` | `MessageBubbleAlignment.left` | The alignment of the message bubble. `left` for incoming/receiver messages, `right` for outgoing/sender messages |
| `disableInteraction` | `boolean` | `false` | When true, disables the action button and other interactive elements within the bubble |
| `layoutDirection` | `'ltr' \| 'rtl'` | `undefined` (inherits) | Lays this component out left to right or right to left, overriding the UI Kit's global setting. Unset, it inherits from the UI Kit component around it, then the global setting. See [Layout Direction](#layout-direction) |

---

## Layout Direction

`<cometchat-collaborative-document-bubble>` follows the UI Kit's layout direction. Pass `layoutDirection` to set it for this component only: it overrides the global setting for `<cometchat-collaborative-document-bubble>` and the UI Kit components inside it. See [RTL Support](/ui-kit/angular/customization/rtl-support).

```html
<cometchat-collaborative-document-bubble [message]="message" layoutDirection="rtl"></cometchat-collaborative-document-bubble>
```

| | |
| --- | --- |
| Type | `'ltr' \| 'rtl'` |
| Default | Not set: inherits from the UI Kit component around it, then the global setting, then the page's `dir` |

---

## Events

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,24 @@ export class InteractiveWhiteboardComponent {
| `message` | `CometChat.CustomMessage` | **required** | The CometChat.CustomMessage object containing collaborative whiteboard metadata |
| `alignment` | `MessageBubbleAlignment` | `MessageBubbleAlignment.left` | The alignment of the message bubble. `left` for incoming/receiver messages, `right` for outgoing/sender messages |
| `disableInteraction` | `boolean` | `false` | When true, disables the action button and other interactive elements within the bubble |
| `layoutDirection` | `'ltr' \| 'rtl'` | `undefined` (inherits) | Lays this component out left to right or right to left, overriding the UI Kit's global setting. Unset, it inherits from the UI Kit component around it, then the global setting. See [Layout Direction](#layout-direction) |

---

## Layout Direction

`<cometchat-collaborative-whiteboard-bubble>` follows the UI Kit's layout direction. Pass `layoutDirection` to set it for this component only: it overrides the global setting for `<cometchat-collaborative-whiteboard-bubble>` and the UI Kit components inside it. See [RTL Support](/ui-kit/angular/customization/rtl-support).

```html
<cometchat-collaborative-whiteboard-bubble [message]="message" layoutDirection="rtl"></cometchat-collaborative-whiteboard-bubble>
```

| | |
| --- | --- |
| Type | `'ltr' \| 'rtl'` |
| Default | Not set: inherits from the UI Kit component around it, then the global setting, then the page's `dir` |

---

## Events

Expand Down
18 changes: 18 additions & 0 deletions ui-kit/angular/components/cometchat-conversation-item.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
| Property | Type | Default | Description |
|----------|------|---------|-------------|
| `conversation` | `CometChat.Conversation` | — | **Required.** The conversation object to render |
| `layoutDirection` | `'ltr' \| 'rtl'` | `undefined` (inherits) | Lays this component out left to right or right to left, overriding the UI Kit's global setting. Unset, it inherits from the UI Kit component around it, then the global setting. See [Layout Direction](#layout-direction) |

### State Input Properties

Expand Down Expand Up @@ -175,6 +176,23 @@
| `subtitleView` | `TemplateRef<{$implicit: Conversation}>` | `undefined` | Custom template for the subtitle section |
| `trailingView` | `TemplateRef<{$implicit: Conversation}>` | `undefined` | Custom template for the trailing section (timestamp, badge area) |

---

## Layout Direction

`<cometchat-conversation-item>` follows the UI Kit's layout direction. Pass `layoutDirection` to set it for this component only: it overrides the global setting for `<cometchat-conversation-item>` and the UI Kit components inside it, including the menus, popovers and dialogs it opens. See [RTL Support](/ui-kit/angular/customization/rtl-support).

```html
<cometchat-conversation-item [conversation]="conversation" layoutDirection="rtl"></cometchat-conversation-item>
```

| | |
| --- | --- |
| Type | `'ltr' \| 'rtl'` |
| Default | Not set: inherits from the UI Kit component around it, then the global setting, then the page's `dir` |

---

## Events

| Event | Payload Type | Description |
Expand Down Expand Up @@ -806,7 +824,7 @@
</Tip>

<Warning>
When handling granular click events (avatarClick, titleClick, etc.), the component automatically calls `stopPropagation()` to prevent the main `itemClick` event from firing. Design your event handlers accordingly.

Check warning on line 827 in ui-kit/angular/components/cometchat-conversation-item.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

'avatarClick' looks like code; format it as code.

Check warning on line 827 in ui-kit/angular/components/cometchat-conversation-item.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

'titleClick' looks like code; format it as code.
</Warning>

<Info>
Expand Down
18 changes: 18 additions & 0 deletions ui-kit/angular/components/cometchat-conversations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
- `aria-label` with conversation details (name, last message, unread count)
- `aria-selected` indicates selected conversations
- `aria-live="polite"` region for screen reader announcements
- Proper `tabindex` management (roving tabindex pattern)

Check warning on line 84 in ui-kit/angular/components/cometchat-conversations.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

Did you really mean 'tabindex'?

**Screen Reader Support:**
- Announces conversation details when focused
Expand All @@ -94,7 +94,7 @@
- Visible focus indicators (2px border) meeting WCAG contrast requirements
- Focus trap within modals (delete confirmation)
- Focus restoration after closing overlays
- Roving tabindex for efficient keyboard navigation

Check warning on line 97 in ui-kit/angular/components/cometchat-conversations.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

Did you really mean 'tabindex'?
- High contrast mode support

**WCAG 2.1 Compliance:**
Expand Down Expand Up @@ -185,6 +185,7 @@
| `hideGroupType` | `boolean` | `false` | Hide group type icons for group conversations |
| `showScrollbar` | `boolean` | `false` | Show/hide scrollbar in conversation list |
| `showSearchBar` | `boolean` | `false` | Show/hide search bar in header |
| `layoutDirection` | `'ltr' \| 'rtl'` | `undefined` (inherits) | Lays this component out left to right or right to left, overriding the UI Kit's global setting. Unset, it inherits from the UI Kit component around it, then the global setting. See [Layout Direction](#layout-direction) |

### Data Configuration Properties

Expand Down Expand Up @@ -227,6 +228,23 @@
| `subtitleView` | `TemplateRef<{$implicit: Conversation}>` | `undefined` | Custom template for subtitle section (message preview) |
| `trailingView` | `TemplateRef<{$implicit: Conversation}>` | `undefined` | Custom template for trailing section (timestamp, badges) |

---

## Layout Direction

`<cometchat-conversations>` follows the UI Kit's layout direction. Pass `layoutDirection` to set it for this component only: it overrides the global setting for `<cometchat-conversations>` and the UI Kit components inside it, including the menus, popovers and dialogs it opens. See [RTL Support](/ui-kit/angular/customization/rtl-support).

```html
<cometchat-conversations layoutDirection="rtl"></cometchat-conversations>
```

| | |
| --- | --- |
| Type | `'ltr' \| 'rtl'` |
| Default | Not set: inherits from the UI Kit component around it, then the global setting, then the page's `dir` |

---

## Events

| Event | Payload Type | Description |
Expand Down
18 changes: 18 additions & 0 deletions ui-kit/angular/components/cometchat-delete-bubble.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,25 @@
| Property | Type | Default | Description |
|----------|------|---------|-------------|
| `isSentByMe` | `boolean` | `false` | Determines sender (outgoing) or receiver (incoming) styling. When `true`, applies primary color background with white text/icon. When `false`, applies neutral background with neutral text/icon |
| `text` | `string` | `undefined` | Optional custom text to display instead of the default localized text. If not provided, uses the "message_deleted" localization key |

Check warning on line 138 in ui-kit/angular/components/cometchat-delete-bubble.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

Vale.Spelling

'message_deleted' looks like code; format it as code.
| `layoutDirection` | `'ltr' \| 'rtl'` | `undefined` (inherits) | Lays this component out left to right or right to left, overriding the UI Kit's global setting. Unset, it inherits from the UI Kit component around it, then the global setting. See [Layout Direction](#layout-direction) |

---

## Layout Direction

`<cometchat-delete-bubble>` follows the UI Kit's layout direction. Pass `layoutDirection` to set it for this component only: it overrides the global setting for `<cometchat-delete-bubble>` and the UI Kit components inside it. See [RTL Support](/ui-kit/angular/customization/rtl-support).

```html
<cometchat-delete-bubble [message]="message" layoutDirection="rtl"></cometchat-delete-bubble>
```

| | |
| --- | --- |
| Type | `'ltr' \| 'rtl'` |
| Default | Not set: inherits from the UI Kit component around it, then the global setting, then the page's `dir` |

---

## Customization

Expand Down
Loading