You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No futher action is required for customers who were already using theme-v2.
30
+
31
+
Customers who used to use theme-v1 now need to use theme-v2. Updating from theme-v1 to theme-v2 will require to rewrite your custom CSS code as the new theme has a new variable system, and all the components were restructured. To help you get started please refer our [theming guide](../theming/introduction.mdx).
32
+
33
+
### Removed deprecated features
34
+
35
+
- The [`MessageActionsBoxComponent`](../../components/MessageActionsBoxComponent) no longer accepts the `isOpen` input, the same is true for the [`messageActionsBoxTemplate$`](../../services/CustomTemplatesService/#messageactionsboxtemplate). The `Message` component will take care of hiding/showing the action box component.
36
+
12
37
### Type changes
13
38
14
39
- Event handlers with `Function` type are changed to `() => void`
Copy file name to clipboardExpand all lines: docusaurus/angular_versioned_docs/version-5/components/AttachmentListComponent.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ The following section details how the width and height of images and videos uplo
66
66
67
67
#### Maximum size
68
68
69
-
You can control the maximum size of images and videos with the [`--str-chat__attachment-max-width`](../theming/component-variables.mdx) CSS variable (available only in [theme-v2](../theming/introduction.mdx)). The value of this variable must be a value that can be computed to a valid pixel value using the [`getComputedStyle`](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle) method (for example: `300px`, `10rem`, `calc(300px - var(--margin))`, but not `100%`). If you provide an invalid value, the image and video sizing can break, which can lead to scrolling issues inside the message list (for example the message list isn't scrolled to the bottom when you open a channel).
69
+
You can control the maximum size of images and videos with the [`--str-chat__attachment-max-width`](../theming/component-variables.mdx) CSS variable. The value of this variable must be a value that can be computed to a valid pixel value using the [`getComputedStyle`](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle) method (for example: `300px`, `10rem`, `calc(300px - var(--margin))`, but not `100%`). If you provide an invalid value, the image and video sizing can break, which can lead to scrolling issues inside the message list (for example the message list isn't scrolled to the bottom when you open a channel).
70
70
71
71
If you set an invalid value to the variable, you'll see a warning on the browser's console:
72
72
@@ -122,7 +122,7 @@ The id of the message the attachments belong to
0 commit comments