@simplybusiness/theme-simplybusiness 1.28.6 → 1.29.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/CHANGELOG.md +26 -0
- package/dist/index.css +66 -2
- package/package.json +7 -7
- package/src/index.css +1 -0
- package/src/variables.css +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @simplybusiness/theme-simplybusiness
|
|
2
2
|
|
|
3
|
+
## 1.29.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 976fafc: Adds RewardBanner component
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [ee4feb1]
|
|
12
|
+
- Updated dependencies [976fafc]
|
|
13
|
+
- @simplybusiness/mobius-journey@8.74.0
|
|
14
|
+
|
|
15
|
+
## 1.28.7
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [57359ca]
|
|
20
|
+
- Updated dependencies [5b28c9f]
|
|
21
|
+
- Updated dependencies [c5efed0]
|
|
22
|
+
- @simplybusiness/mobius-journey@8.73.0
|
|
23
|
+
- @simplybusiness/theme-core@7.10.4
|
|
24
|
+
- @simplybusiness/mobius@5.32.3
|
|
25
|
+
- @simplybusiness/mobius-chatbot@1.5.0
|
|
26
|
+
- @simplybusiness/mobius-datepicker@6.7.16
|
|
27
|
+
- @simplybusiness/mobius-interventions@1.79.3
|
|
28
|
+
|
|
3
29
|
## 1.28.6
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/dist/index.css
CHANGED
|
@@ -861,7 +861,7 @@ a.mobius-button:focus-visible,
|
|
|
861
861
|
-webkit-text-decoration:underline;
|
|
862
862
|
text-decoration:underline;
|
|
863
863
|
cursor:pointer;
|
|
864
|
-
color:var(--color-
|
|
864
|
+
color:var(--color-link-hover);
|
|
865
865
|
}
|
|
866
866
|
.mobius-link:focus-visible{
|
|
867
867
|
box-shadow:var(--box-shadow-default);
|
|
@@ -876,7 +876,7 @@ a.mobius-button:focus-visible,
|
|
|
876
876
|
color:var(--color-link-secondary);
|
|
877
877
|
}
|
|
878
878
|
.mobius-link--secondary:hover,.mobius-link--secondary:active{
|
|
879
|
-
color:var(--color-link-secondary);
|
|
879
|
+
color:var(--color-link-secondary-hover);
|
|
880
880
|
}
|
|
881
881
|
.mobius-list{
|
|
882
882
|
box-sizing:border-box;
|
|
@@ -2570,7 +2570,9 @@ svg:not(:host).svg-inline--mobius-icon{
|
|
|
2570
2570
|
--table-border-width:1px;
|
|
2571
2571
|
--title-decorator-width:8px;
|
|
2572
2572
|
--color-link:var(--color-secondary);
|
|
2573
|
+
--color-link-hover:var(--color-secondary-hover);
|
|
2573
2574
|
--color-link-secondary:var(--color-link);
|
|
2575
|
+
--color-link-secondary-hover:var(--color-link-hover);
|
|
2574
2576
|
}
|
|
2575
2577
|
:root{
|
|
2576
2578
|
--color-pulse:var(--color-focus);
|
|
@@ -5396,6 +5398,66 @@ svg:not(:host).svg-inline--mobius-icon{
|
|
|
5396
5398
|
.mobius-trust-section__list .mobius-list__item-content{
|
|
5397
5399
|
align-items:center;
|
|
5398
5400
|
}
|
|
5401
|
+
.mobius-reward-banner{
|
|
5402
|
+
color:white;
|
|
5403
|
+
text-align:center;
|
|
5404
|
+
font-size:var(--font-size-2);
|
|
5405
|
+
display:flex;
|
|
5406
|
+
justify-content:center;
|
|
5407
|
+
align-items:center;
|
|
5408
|
+
flex-direction:row;
|
|
5409
|
+
box-sizing:border-box;
|
|
5410
|
+
min-height:var(--size-lg);
|
|
5411
|
+
width:100%;
|
|
5412
|
+
max-width:1004px;
|
|
5413
|
+
margin:0 auto;
|
|
5414
|
+
padding:10px var(--size-sm);
|
|
5415
|
+
}
|
|
5416
|
+
.mobius-reward-banner.--is-voucher{
|
|
5417
|
+
background-color:var(--color-reward-banner-voucher-background);
|
|
5418
|
+
}
|
|
5419
|
+
.mobius-reward-banner.--is-raf{
|
|
5420
|
+
background-color:var(--color-reward-banner-raf-background);
|
|
5421
|
+
}
|
|
5422
|
+
.mobius-reward-banner__body{
|
|
5423
|
+
display:grid;
|
|
5424
|
+
grid-template-rows:auto auto;
|
|
5425
|
+
}
|
|
5426
|
+
.mobius-reward-banner__body .mobius-text{
|
|
5427
|
+
color:white;
|
|
5428
|
+
margin:0;
|
|
5429
|
+
display:block;
|
|
5430
|
+
}
|
|
5431
|
+
.mobius-reward-banner .mobius-link{
|
|
5432
|
+
color:white;
|
|
5433
|
+
-webkit-text-decoration:underline;
|
|
5434
|
+
text-decoration:underline;
|
|
5435
|
+
}
|
|
5436
|
+
.mobius-reward-banner.--is-raf::before,
|
|
5437
|
+
.mobius-reward-banner.--is-raf::after{
|
|
5438
|
+
height:30px;
|
|
5439
|
+
width:38px;
|
|
5440
|
+
background-image:url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22utf-8%22%3F%3E%3C%21-- Generator%3A Adobe Illustrator 21.0.2%2C SVG Export Plug-In . SVG Version%3A 6.00 Build 0%29 --%3E%3Csvg version%3D%221.1%22 id%3D%22Calque_1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 x%3D%220px%22 y%3D%220px%22%09 viewBox%3D%220 0 96 76%22 style%3D%22enable-background%3Anew 0 -1.5 96 76%3B%22 xml%3Aspace%3D%22preserve%22%3E%3Cstyle type%3D%22text%2Fcss%22%3E%09.st0%7Bfill%3A%23FDFFFF%3B%7D%09.st1%7Bfill%3A%23FFFFFF%3Bstroke%3A%23111118%3Bstroke-width%3A2%3Bstroke-linejoin%3Around%3B%7D%09.st2%7Bfill%3A%23111118%3B%7D%3C%2Fstyle%3E%3Cg%3E%09%3Cpath class%3D%22st0%22 d%3D%22M22.4%2C58.7L22.4%2C58.7c3.7%2C5%2C3.4%2C8.9-3.3%2C17.4c8.5-1.3%2C13.5-7.2%2C18-14.5l0%2C0c2.4%2C0.1%2C4.8%2C0%2C7.3-0.2%09%09c12.2-1.1%2C22.7-6.3%2C29.2-13.4c-3-1.8-6-4.3-8.1-7.8c3.9%2C1.7%2C8.9%2C1.7%2C12.7%2C1.2c1.2-2.4%2C2.1-5%2C2.4-7.6l15-8.5l-16.8-3.6l0%2C0%09%09C73.3%2C9.7%2C57.2%2C2%2C39.1%2C3.7C17.5%2C5.8%2C1.3%2C20.3%2C2.8%2C36.2C3.7%2C46.2%2C11.5%2C54.4%2C22.4%2C58.7z%22%2F%3E%09%3Cpath class%3D%22st1%22 d%3D%22M20.1%2C55.2L20.1%2C55.2c3.7%2C5%2C3.4%2C8.9-3.3%2C17.4c8.5-1.3%2C13.5-7.2%2C18-14.5l0%2C0c2.4%2C0.1%2C4.8%2C0%2C7.3-0.2%09%09c12.2-1.1%2C22.7-6.3%2C29.2-13.4c-3-1.8-6-4.3-8.1-7.8c3.9%2C1.7%2C8.9%2C1.7%2C12.7%2C1.2c1.2-2.4%2C2.1-5%2C2.4-7.6l15-8.5l-16.8-3.6l0%2C0%09%09C71%2C6.3%2C54.9-1.4%2C36.8%2C0.3C15.2%2C2.3-1%2C16.8%2C0.5%2C32.7C1.4%2C42.7%2C9.2%2C50.9%2C20.1%2C55.2z%22%2F%3E%09%09%3Cellipse transform%3D%22matrix%280.9956 -9.370386e-02 9.370386e-02 0.9956 -1.6922 6.2229%29%22 class%3D%22st2%22 cx%3D%2265.4%22 cy%3D%2221.1%22 rx%3D%222.1%22 ry%3D%224.1%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
|
|
5441
|
+
background-size:contain;
|
|
5442
|
+
background-repeat:no-repeat;
|
|
5443
|
+
background-position:left center;
|
|
5444
|
+
content:"";
|
|
5445
|
+
}
|
|
5446
|
+
.mobius-reward-banner.--is-raf::before{
|
|
5447
|
+
margin-right:100px;
|
|
5448
|
+
}
|
|
5449
|
+
.mobius-reward-banner.--is-raf::after{
|
|
5450
|
+
margin-left:100px;
|
|
5451
|
+
}
|
|
5452
|
+
@media (max-width: 640px){
|
|
5453
|
+
.mobius-reward-banner__body{
|
|
5454
|
+
grid-row-gap:var(--size-sm);
|
|
5455
|
+
}
|
|
5456
|
+
|
|
5457
|
+
.mobius-reward-banner::after, .mobius-reward-banner::before{
|
|
5458
|
+
display:none;
|
|
5459
|
+
}
|
|
5460
|
+
}
|
|
5399
5461
|
.mobius-payment-toggle{
|
|
5400
5462
|
position:relative;
|
|
5401
5463
|
display:grid;
|
|
@@ -7212,6 +7274,8 @@ svg:not(:host).svg-inline--mobius-icon{
|
|
|
7212
7274
|
--section-max-width:552px;
|
|
7213
7275
|
--questionnaire-list-icon:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%22448%22 height%3D%22512%22 viewbox%3D%220 0 24 24%22%3E %3Cpath d%3D%22M448 130L431 147 177.5 399.2l-16.9 16.9-16.9-16.9L17 273.1 0 256.2l33.9-34 17 16.9L160.6 348.3 397.1 112.9l17-16.9L448 130z%22 fill%3D%22%23e943c9%22 %2F%3E%3C%2Fsvg%3E");
|
|
7214
7276
|
--radio-icon-color:var(--color-accent);
|
|
7277
|
+
--color-reward-banner-voucher-background:#00ad93;
|
|
7278
|
+
--color-reward-banner-raf-background:#00adcb;
|
|
7215
7279
|
}
|
|
7216
7280
|
html,
|
|
7217
7281
|
body{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplybusiness/theme-simplybusiness",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.0",
|
|
4
4
|
"main": "dist/index.css",
|
|
5
5
|
"simplyBusiness": {
|
|
6
6
|
"publishToPublicNpm": true
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"./fonts": "./dist/fonts.css"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@simplybusiness/mobius": "^5.32.
|
|
30
|
-
"@simplybusiness/mobius-chatbot": "^1.
|
|
31
|
-
"@simplybusiness/mobius-datepicker": "^6.7.
|
|
32
|
-
"@simplybusiness/mobius-interventions": "^1.79.
|
|
33
|
-
"@simplybusiness/mobius-journey": "^8.
|
|
34
|
-
"@simplybusiness/theme-core": "^7.10.
|
|
29
|
+
"@simplybusiness/mobius": "^5.32.3",
|
|
30
|
+
"@simplybusiness/mobius-chatbot": "^1.5.0",
|
|
31
|
+
"@simplybusiness/mobius-datepicker": "^6.7.16",
|
|
32
|
+
"@simplybusiness/mobius-interventions": "^1.79.3",
|
|
33
|
+
"@simplybusiness/mobius-journey": "^8.74.0",
|
|
34
|
+
"@simplybusiness/theme-core": "^7.10.4"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"build-scripts": "^1.0.1",
|
package/src/index.css
CHANGED
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
@import "@simplybusiness/mobius-journey/src/components/QuoteHelp/QuoteHelp.css";
|
|
77
77
|
@import "@simplybusiness/mobius-journey/src/components/Referral/Referral.css";
|
|
78
78
|
@import "@simplybusiness/mobius-journey/src/components/Referral/TrustSection/TrustSection.css";
|
|
79
|
+
@import "@simplybusiness/mobius-journey/src/components/RewardBanner/RewardBanner.css";
|
|
79
80
|
@import "@simplybusiness/mobius-journey/src/components/shared/PaymentToggle/PaymentToggle.css";
|
|
80
81
|
@import "@simplybusiness/mobius-journey/src/components/shared/PreQCP/styles.css";
|
|
81
82
|
@import "@simplybusiness/mobius-journey/src/components/SkipToNextCoverage/SkipToNextCoverage.css";
|