File tree 3 files changed +12
-10
lines changed
3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 23
23
node-version : ' 16.3.0'
24
24
cache : ' yarn'
25
25
- run : yarn install --frozen-lockfile
26
- - run : yarn typecheck
27
- - run : yarn format
28
- - run : yarn build
29
- - run : yarn build:node
26
+ - run : yarn prepublishOnly
30
27
- run : node index.node.js
31
28
- run : yarn test
32
29
- run : yarn check-deps
Original file line number Diff line number Diff line change 1
- import { handleElementClick } from 'src/embedded/utils' ;
2
1
import { OOTB } from '../types' ;
3
2
import {
4
3
bannerButtons ,
@@ -11,7 +10,11 @@ import {
11
10
defaultTitleStyles ,
12
11
textTitleImageDefaultStyle
13
12
} from './styles' ;
14
- import { addButtonClickEvent , getTrimmedText } from 'src/embedded/utils' ;
13
+ import {
14
+ addButtonClickEvent ,
15
+ getTrimmedText ,
16
+ handleElementClick
17
+ } from 'src/embedded/utils' ;
15
18
16
19
const emptyElement = {
17
20
id : '' ,
@@ -99,7 +102,9 @@ export function IterableEmbeddedBanner({
99
102
} ">
100
103
<div id="${
101
104
htmlElements ?. textTitle ?. id
102
- } " style="${ defaultTextParentStyles } ; ${ htmlElements ?. textTitle ?. styles } ">
105
+ } " style="${ defaultTextParentStyles } ; ${
106
+ htmlElements ?. textTitle ?. styles
107
+ } ">
103
108
${
104
109
trimmedTitle . length
105
110
? `<text id="${ htmlElements ?. title ?. id } " style="${ defaultTitleStyles } ; ${ htmlElements ?. title ?. styles } ">${ trimmedTitle } </text>`
Original file line number Diff line number Diff line change @@ -96,9 +96,9 @@ export function IterableEmbeddedCard({
96
96
src="${ message ?. elements ?. mediaUrl } "/>`
97
97
: ''
98
98
}
99
- <div id="${ htmlElements ?. textTitle ?. id } " style=" ${ defaultTextParentStyles } ; ${
100
- htmlElements ?. textTitle ?. styles
101
- } ">
99
+ <div id="${
100
+ htmlElements ?. textTitle ?. id
101
+ } " style=" ${ defaultTextParentStyles } ; ${ htmlElements ?. textTitle ?. styles } ">
102
102
${
103
103
trimmedTitle . length
104
104
? `<text class="titleText" id="${ htmlElements ?. title ?. id } " style="${ defaultTitleStyles } ${ htmlElements ?. title ?. styles } ">${ trimmedTitle } </text>`
You can’t perform that action at this time.
0 commit comments