File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
packages/react-use-intercom/src Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' react-use-intercom ' : patch
3
+ ---
4
+
5
+ Add support for zIndex launcher property
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ export const mapMessengerAttributesToRawMessengerAttributes = (
19
19
alignment : attributes . alignment ,
20
20
vertical_padding : attributes . verticalPadding ,
21
21
horizontal_padding : attributes . horizontalPadding ,
22
+ z_index : attributes . zIndex ,
22
23
hide_default_launcher : attributes . hideDefaultLauncher ,
23
24
session_duration : attributes . sessionDuration ,
24
25
action_color : attributes . actionColor ,
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ export type RawMessengerAttributes = {
3
3
alignment ?: string ;
4
4
vertical_padding ?: number ;
5
5
horizontal_padding ?: number ;
6
+ z_index ?: number ;
6
7
hide_default_launcher ?: boolean ;
7
8
session_duration ?: number ;
8
9
action_color ?: string ;
@@ -34,6 +35,11 @@ export type MessengerAttributes = {
34
35
* @see {@link https://docs.intercom.com/configure-intercom-for-your-product-or-site/customize-the-intercom-messenger/customize-the-intercom-messenger-technical }
35
36
*/
36
37
horizontalPadding ?: number ;
38
+ /** Set the z-index of the messenger
39
+ * @remarks The z-index of the messenger. Default value: 2147483001
40
+ * @see {@link https://developers.intercom.com/installing-intercom/web/customization }
41
+ * */
42
+ zIndex ?: number ;
37
43
/** Hide the default launcher icon
38
44
*
39
45
* @remarks Setting to false will forcefully show the launcher icon
You can’t perform that action at this time.
0 commit comments