@simplybusiness/theme-simplybusiness 1.9.18 → 1.10.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 CHANGED
@@ -1,5 +1,31 @@
1
1
  # @simplybusiness/theme-simplybusiness
2
2
 
3
+ ## 1.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a4df851: add sticky footer for qcp experiment
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [a4df851]
12
+ - Updated dependencies [ee284ad]
13
+ - Updated dependencies [03622ef]
14
+ - @simplybusiness/mobius-journey@6.55.0
15
+
16
+ ## 1.9.19
17
+
18
+ ### Patch Changes
19
+
20
+ - c91bed5: Export journey-component atoms
21
+ - Updated dependencies [c91bed5]
22
+ - Updated dependencies [f0b6a77]
23
+ - Updated dependencies [c91bed5]
24
+ - @simplybusiness/mobius-journey@6.54.0
25
+ - @simplybusiness/mobius@5.19.1
26
+ - @simplybusiness/mobius-datepicker@6.4.2
27
+ - @simplybusiness/theme-core@7.3.3
28
+
3
29
  ## 1.9.18
4
30
 
5
31
  ### Patch Changes
package/dist/index.css CHANGED
@@ -308,8 +308,7 @@ h6.mobius-accordion__link-text,
308
308
  .mobius-button:where(.--variant-link){
309
309
  --button-content-color:var(--color-secondary);
310
310
  appearance:none;
311
- border:none;
312
- padding:0;
311
+ padding:var(--size-xxs);
313
312
  background-color:transparent;
314
313
  font-weight:normal;
315
314
  }
@@ -324,7 +323,6 @@ h6.mobius-accordion__link-text,
324
323
  }
325
324
  .mobius-button:where(.--variant-link):focus-visible{
326
325
  box-shadow:0 0 0 var(--size-focus-ring) var(--color-focus);
327
- padding:3px 0;
328
326
  }
329
327
  .mobius-button.--is-disabled:where(.--variant-link){
330
328
  --button-content-color:var(--color-text-light);
@@ -5172,6 +5170,78 @@ svg:not(:host).svg-inline--mobius-icon{
5172
5170
  color:var(--color-primary);
5173
5171
  background-color:var(--color-background-highlight);
5174
5172
  }
5173
+ .mobius-sticky-footer{
5174
+ box-sizing:border-box;
5175
+ position:fixed;
5176
+ bottom:0;
5177
+ width:100%;
5178
+ box-shadow:0 -2px 5px rgba(0, 0, 0, 0.1);
5179
+ padding:20px 0;
5180
+ background-color:var(--color-background-highlight);
5181
+ display:grid;
5182
+ grid-auto-flow:column;
5183
+ justify-content:center;
5184
+ align-items:center;
5185
+ gap:42px;
5186
+ }
5187
+ .mobius-sticky-footer--hidden{
5188
+ opacity:0;
5189
+ transition:opacity;
5190
+ transition-delay:6s;
5191
+ transition-duration:1s;
5192
+ pointer-events:none;
5193
+ }
5194
+ .mobius-sticky-footer__content{
5195
+ display:flex;
5196
+ color:var(--color-primary);
5197
+ gap:var(--size-xs);
5198
+ }
5199
+ .mobius-sticky-footer__content > .mobius-text{
5200
+ margin:0;
5201
+ }
5202
+ .mobius-sticky-footer__button{
5203
+ border-radius:100px;
5204
+ display:grid;
5205
+ grid-auto-flow:column;
5206
+ align-items:center;
5207
+ gap:var(--size-xs);
5208
+ font-weight:var(--font-weight-normal);
5209
+ }
5210
+ .mobius-sticky-footer__button > svg{
5211
+ height:var(--size-md);
5212
+ width:var(--size-md);
5213
+ }
5214
+ .mobius-sticky-footer__explain{
5215
+ color:var(--color-primary);
5216
+ font-weight:var(--font-weight-normal);
5217
+ text-align:center;
5218
+ font-size:var(--font-size-2);
5219
+ line-height:var(--line-height-normal);
5220
+ }
5221
+ .mobius-sticky-footer__explain-headline{
5222
+ font-size:var(--font-size-3);
5223
+ line-height:var(--line-height-normal);
5224
+ display:block;
5225
+ }
5226
+ @media (max-width: 768px){
5227
+ .mobius-sticky-footer{
5228
+ padding:16px;
5229
+ }
5230
+
5231
+ .mobius-sticky-footer__content > .mobius-text{
5232
+ font-size:var(--font-size-3);
5233
+ line-height:var(--line-height-normal);
5234
+ }
5235
+
5236
+ .mobius-sticky-footer__explain{
5237
+ text-align:left;
5238
+ }
5239
+
5240
+ .mobius-sticky-footer__explain-headline{
5241
+ font-size:var(--font-size-2);
5242
+ line-height:var(--line-height-normal);
5243
+ }
5244
+ }
5175
5245
  .mobius-agent-referral-container{
5176
5246
  display:grid;
5177
5247
  grid-template-columns:1fr;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-simplybusiness",
3
- "version": "1.9.18",
3
+ "version": "1.10.0",
4
4
  "main": "dist/index.css",
5
5
  "simplyBusiness": {
6
6
  "publishToPublicNpm": true
@@ -26,10 +26,10 @@
26
26
  "./fonts": "./dist/fonts.css"
27
27
  },
28
28
  "dependencies": {
29
- "@simplybusiness/mobius": "^5.19.0",
30
- "@simplybusiness/mobius-datepicker": "^6.4.1",
31
- "@simplybusiness/mobius-journey": "^6.53.1",
32
- "@simplybusiness/theme-core": "^7.3.2"
29
+ "@simplybusiness/mobius": "^5.19.1",
30
+ "@simplybusiness/mobius-datepicker": "^6.4.2",
31
+ "@simplybusiness/mobius-journey": "^6.55.0",
32
+ "@simplybusiness/theme-core": "^7.3.3"
33
33
  },
34
34
  "devDependencies": {
35
35
  "css-loader": "^7.1.2",
package/src/index.css CHANGED
@@ -67,6 +67,7 @@
67
67
  @import "@simplybusiness/mobius-journey/src/components/Referral/TrustSection/TrustSection.css";
68
68
  @import "@simplybusiness/mobius-journey/src/components/shared/PaymentToggle/PaymentToggle.css";
69
69
  @import "@simplybusiness/mobius-journey/src/components/TradeSelector/TradeSelector.css";
70
+ @import "@simplybusiness/mobius-journey/src/components/Footer/StickyFooter.css";
70
71
  @import "@simplybusiness/mobius-journey/src/pages/AgentReferralPage/AgentReferralContainer.css";
71
72
  @import "@simplybusiness/mobius-journey/src/pages/Main.css";
72
73