File tree Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Expand file tree Collapse file tree 3 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 2323 node-version : ' 16.3.0'
2424 cache : ' yarn'
2525 - 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
3027 - run : node index.node.js
3128 - run : yarn test
3229 - run : yarn check-deps
Original file line number Diff line number Diff line change 1- import { handleElementClick } from 'src/embedded/utils' ;
21import { OOTB } from '../types' ;
32import {
43 bannerButtons ,
@@ -11,7 +10,11 @@ import {
1110 defaultTitleStyles ,
1211 textTitleImageDefaultStyle
1312} from './styles' ;
14- import { addButtonClickEvent , getTrimmedText } from 'src/embedded/utils' ;
13+ import {
14+ addButtonClickEvent ,
15+ getTrimmedText ,
16+ handleElementClick
17+ } from 'src/embedded/utils' ;
1518
1619const emptyElement = {
1720 id : '' ,
@@ -99,7 +102,9 @@ export function IterableEmbeddedBanner({
99102 } ">
100103 <div id="${
101104 htmlElements ?. textTitle ?. id
102- } " style="${ defaultTextParentStyles } ; ${ htmlElements ?. textTitle ?. styles } ">
105+ } " style="${ defaultTextParentStyles } ; ${
106+ htmlElements ?. textTitle ?. styles
107+ } ">
103108 ${
104109 trimmedTitle . length
105110 ? `<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({
9696 src="${ message ?. elements ?. mediaUrl } "/>`
9797 : ''
9898 }
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 } ">
102102 ${
103103 trimmedTitle . length
104104 ? `<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