@skyscanner/backpack-web 38.6.1 → 38.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bpk-component-inset-banner/src/BpkInsetBannerV2/BpkInsetBannerSponsored.js +1 -3
- package/bpk-component-inset-banner/src/BpkInsetBannerV2/BpkInsetBannerSponsored.module.css +1 -1
- package/bpk-component-inset-banner/src/BpkInsetBannerV2/common-types.d.ts +0 -1
- package/bpk-component-modal/src/BpkModalInner.js +1 -1
- package/package.json +1 -1
|
@@ -53,8 +53,7 @@ const BpkInsetBannerSponsored = ({
|
|
|
53
53
|
children: logo && /*#__PURE__*/_jsx("img", {
|
|
54
54
|
className: getClassName('bpk-inset-banner--image'),
|
|
55
55
|
src: logo,
|
|
56
|
-
alt: ariaAdScenicA11yLabel
|
|
57
|
-
"aria-hidden": true
|
|
56
|
+
alt: ariaAdScenicA11yLabel
|
|
58
57
|
})
|
|
59
58
|
}), /*#__PURE__*/_jsxs("div", {
|
|
60
59
|
className: getClassName('bpk-inset-banner--text-container'),
|
|
@@ -74,7 +73,6 @@ const BpkInsetBannerSponsored = ({
|
|
|
74
73
|
e.preventDefault();
|
|
75
74
|
},
|
|
76
75
|
children: [/*#__PURE__*/_jsx("button", {
|
|
77
|
-
"aria-label": callToAction?.buttonA11yLabel,
|
|
78
76
|
className: getClassName('bpk-inset-banner--cta-button'),
|
|
79
77
|
"data-testid": "ctaBtn",
|
|
80
78
|
"aria-hidden": "false",
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
* See the License for the specific language governing permissions and
|
|
16
16
|
* limitations under the License.
|
|
17
17
|
*/
|
|
18
|
-
.bpk-inset-banner{display:grid;padding:.5rem 1rem;grid-template-columns:auto 1fr auto;grid-template-areas:"logo content cta";align-items:center;border-radius:.5rem}@media(max-width: 32rem){.bpk-inset-banner{grid-template-columns:1fr auto;grid-template-areas:"logo cta" "content content"}}.bpk-inset-banner--logo{grid-area:logo}.bpk-inset-banner--with-image{border-radius:.5rem .5rem 0 0}.bpk-inset-banner--on-light{color:#161616;fill:#161616}.bpk-inset-banner--on-dark{color:#fff;fill:#fff}.bpk-inset-banner--image{max-height:
|
|
18
|
+
.bpk-inset-banner{display:grid;padding:.5rem 1rem;grid-template-columns:auto 1fr auto;grid-template-areas:"logo content cta";align-items:center;border-radius:.5rem}@media(max-width: 32rem){.bpk-inset-banner{grid-template-columns:1fr auto;grid-template-areas:"logo cta" "content content"}}.bpk-inset-banner--logo{height:100%;grid-area:logo}@media(min-width: 32.0625rem){.bpk-inset-banner--logo{display:flex;align-items:center}}.bpk-inset-banner--with-image{border-radius:.5rem .5rem 0 0}.bpk-inset-banner--on-light{color:#161616;fill:#161616}.bpk-inset-banner--on-dark{color:#fff;fill:#fff}.bpk-inset-banner--image{max-height:1.5rem;object-fit:contain;padding-inline-end:1rem}.bpk-inset-banner--text-container{display:flex;grid-area:content;flex-direction:column;word-wrap:break-word}.bpk-inset-banner--cta-text{display:flex;align-items:center}.bpk-inset-banner--cta-button{all:unset}.bpk-inset-banner--cta-button:focus-visible{outline:.125rem solid #0062e3;outline-offset:.125rem}.bpk-inset-banner--cta-container{display:flex;height:100%;grid-area:cta;cursor:pointer}@media(max-width: 32rem){.bpk-inset-banner--cta-container{align-items:flex-start}}.bpk-inset-banner--cta-content{display:flex;align-items:center}.bpk-inset-banner--cta-info-icon{display:flex;align-items:center;margin-inline-start:.5rem}.bpk-inset-banner--bottom-sheet-content{display:flex;padding-bottom:2rem;flex-direction:row}.bpk-inset-banner--bottom-sheet-icon{display:flex;fill:#161616;margin-inline-end:1.5rem}.bpk-inset-banner--bottom-sheet-text{display:flex;flex-direction:column}.bpk-inset-banner--bottom-sheet-title{margin-bottom:.5rem;color:#161616}.bpk-inset-banner--bottom-sheet-description{color:#161616}.bpk-inset-banner-image-container{min-height:7.5rem;border-radius:0 0 .5rem .5rem;overflow:hidden}
|
|
@@ -101,7 +101,7 @@ const BpkModalInner = ({
|
|
|
101
101
|
leadingButton: accessoryViewFinal,
|
|
102
102
|
trailingButton: closeText ? /*#__PURE__*/_jsx(BpkButtonLink, {
|
|
103
103
|
onClick: onClose,
|
|
104
|
-
|
|
104
|
+
alternate: modalStyle === MODAL_STYLING.surfaceContrast,
|
|
105
105
|
children: closeText
|
|
106
106
|
}) : /*#__PURE__*/_jsx(BpkCloseButton, {
|
|
107
107
|
label: closeLabel,
|