Что меняем (позиция примерно символ 1400-1800):
const p=e=>(a.useEffect((()=>{r.J.standWithUkraineSuspendPopupShow()}),[]),a.createElement(s.Zz,{onClose:()=>{e.onClose(),r.J.standWithUkraineSuspendCloseButtonClick()},sanitizedPopupTitle:o.c.sanitizeSuspendTitle(e.popupTitleHTML),sanitizedPopupBody:o.c.sanitizeSuspendBody(e.popupBodyHTML),popupFooter:a.createElement(u,{onLearnMore:()=>{e.onLearnMore(),r.J.standWithUkraineSuspendLearnMoreButtonClick()},sanitizedLearnMoreButtonLabelHTML:o.c.sanitizeSuspendLearnMoreLabel(e.popupLearnMoreButtonLabelHTML)})}))
На что меняем:
const p=e=>(a.useEffect((()=>{}),[]),null)
==============================================================================
ФАЙЛ 2: src/js/standWithUkraineBannerPopup.common.chunk.js
==============================================================================
Что меняем (позиция примерно символ 100-700):
const r=e=>{const t=e.popupHelpButtonLabelHTML?(0,n.sanitize)(e.popupHelpButtonLabelHTML):"How to help",a=e.popupTitleHTML?(0,n.sanitize)(e.popupTitleHTML):"Why did my Grammarly icon change to blue and yellow?",r=e.popupBodyHTML?e.popupBodyHTML.map(n.sanitize):["As a company with a deep connection to Ukraine, we've updated our icon to reflect the colors in the Ukrainian flag to show our support for the people of Ukraine. We invite you to do the same."];return o.createElement(p.Zz,{onClose:e.onClose,sanitizedPopupTitle:a,sanitizedPopupBody:r,popupFooter:o.createElement(o.Fragment,null,o.createElement(l.z,{kind:"primary",className:i.helpButton,onClick:e.onHelpUkraine},o.createElement("span",{dangerouslySetInnerHTML:{__html:t}})))})}
На что меняем:
const r=e=>null
==============================================================================
ФАЙЛ 3: src/css/standWithUkraineBannerPopup.styles.css
==============================================================================
Что меняем (весь файл):
.D75kt{width:100%;margin-bottom:8px}.r4S4i{width:100%;display:flex;justify-content:center;font-family:Inter,sans-serif;font-size:14px;line-height:32px}.L0IlD{padding:0 32px 32px}.L0IlD[data-has-footer=true] .Orx96:last-of-type{margin-bottom:16px}.L0IlD[data-has-footer=false] .Orx96:last-of-type{margin-bottom:0}.XpiGS .hYeJR{margin-bottom:16px;position:relative;width:64px;height:40px}.XpiGS .hYeJR .Te_me{top:0;background-color:#06c}.XpiGS .hYeJR .pHlXZ,.XpiGS .hYeJR .Te_me{position:absolute;left:0;width:64px;height:20px}.XpiGS .hYeJR .pHlXZ{top:20px;background-color:#fc0}.XpiGS .ruQOD{font-weight:700;font-size:16px;line-height:24px;margin-bottom:16px}.Orx96,.XpiGS .ruQOD{font-family:Inter,sans-serif;font-style:normal;color:#0e101a}.Orx96{font-weight:400;font-size:14px;line-height:21px;font-feature-settings:"ss03" on}
На что меняем:
/* Styles removed */
==============================================================================
ФАЙЛ 4: src/css/standWithUkraineGrammarlySuspendedPopup.styles.css
==============================================================================
Что меняем (весь файл):
.nUL6q.nUL6q{width:100%}.L0IlD{padding:0 32px 32px}.L0IlD[data-has-footer=true] .Orx96:last-of-type{margin-bottom:16px}.L0IlD[data-has-footer=false] .Orx96:last-of-type{margin-bottom:0}.XpiGS .hYeJR{margin-bottom:16px;position:relative;width:64px;height:40px}.XpiGS .hYeJR .Te_me{top:0;background-color:#06c}.XpiGS .hYeJR .pHlXZ,.XpiGS .hYeJR .Te_me{position:absolute;left:0;width:64px;height:20px}.XpiGS .hYeJR .pHlXZ{top:20px;background-color:#fc0}.XpiGS .ruQOD{font-weight:700;font-size:16px;line-height:24px;margin-bottom:16px}.Orx96,.XpiGS .ruQOD{font-family:Inter,sans-serif;font-style:normal;color:#0e101a}.Orx96{font-weight:400;font-size:14px;line-height:21px;font-feature-settings:"ss03" on}
На что меняем:
/* Styles removed */