@simplybusiness/theme-simplybusiness 1.9.19 → 1.10.1

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,28 @@
1
1
  # @simplybusiness/theme-simplybusiness
2
2
 
3
+ ## 1.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [80c483e]
8
+ - @simplybusiness/theme-core@7.4.0
9
+ - @simplybusiness/mobius@5.20.0
10
+ - @simplybusiness/mobius-datepicker@6.4.3
11
+ - @simplybusiness/mobius-journey@6.55.1
12
+
13
+ ## 1.10.0
14
+
15
+ ### Minor Changes
16
+
17
+ - a4df851: add sticky footer for qcp experiment
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [a4df851]
22
+ - Updated dependencies [ee284ad]
23
+ - Updated dependencies [03622ef]
24
+ - @simplybusiness/mobius-journey@6.55.0
25
+
3
26
  ## 1.9.19
4
27
 
5
28
  ### Patch Changes
package/dist/index.css CHANGED
@@ -1670,6 +1670,56 @@ a.mobius-button:focus-visible,
1670
1670
  gap:var(--size-xl);
1671
1671
  }
1672
1672
  :root,
1673
+ :host{
1674
+ --transition-duration:0.15s;
1675
+ }
1676
+ .mobius-switch{
1677
+ position:relative;
1678
+ display:inline-block;
1679
+ border-radius:30px;
1680
+ width:55px;
1681
+ height:30px;
1682
+ }
1683
+ .mobius-switch input{
1684
+ opacity:0;
1685
+ width:0;
1686
+ height:0;
1687
+ }
1688
+ :is(.mobius-switch input):focus-visible + .mobius-switch__slider{
1689
+ box-shadow:var(--box-shadow-default);
1690
+ }
1691
+ .mobius-switch__slider{
1692
+ position:absolute;
1693
+ cursor:pointer;
1694
+ border-radius:30px;
1695
+ top:0;
1696
+ left:0;
1697
+ right:0;
1698
+ bottom:0;
1699
+ background-color:var(--color-border);
1700
+ transition:var(--transition-duration);
1701
+ }
1702
+ .mobius-switch__slider:before{
1703
+ position:absolute;
1704
+ content:"";
1705
+ border-radius:50%;
1706
+ height:26px;
1707
+ width:26px;
1708
+ left:3px;
1709
+ bottom:2px;
1710
+ background-color:var(--color-background);
1711
+ transition:var(--transition-duration);
1712
+ }
1713
+ .mobius-switch--checked .mobius-switch__slider{
1714
+ background-color:var(--color-primary);
1715
+ }
1716
+ :is(.mobius-switch--checked .mobius-switch__slider):hover{
1717
+ background-color:var(--color-primary-hover);
1718
+ }
1719
+ .mobius-switch--checked .mobius-switch__slider:before{
1720
+ transform:translateX(23px);
1721
+ }
1722
+ :root,
1673
1723
  :host{
1674
1724
  --table-border-width:1px;
1675
1725
  }
@@ -5170,6 +5220,78 @@ svg:not(:host).svg-inline--mobius-icon{
5170
5220
  color:var(--color-primary);
5171
5221
  background-color:var(--color-background-highlight);
5172
5222
  }
5223
+ .mobius-sticky-footer{
5224
+ box-sizing:border-box;
5225
+ position:fixed;
5226
+ bottom:0;
5227
+ width:100%;
5228
+ box-shadow:0 -2px 5px rgba(0, 0, 0, 0.1);
5229
+ padding:20px 0;
5230
+ background-color:var(--color-background-highlight);
5231
+ display:grid;
5232
+ grid-auto-flow:column;
5233
+ justify-content:center;
5234
+ align-items:center;
5235
+ gap:42px;
5236
+ }
5237
+ .mobius-sticky-footer--hidden{
5238
+ opacity:0;
5239
+ transition:opacity;
5240
+ transition-delay:6s;
5241
+ transition-duration:1s;
5242
+ pointer-events:none;
5243
+ }
5244
+ .mobius-sticky-footer__content{
5245
+ display:flex;
5246
+ color:var(--color-primary);
5247
+ gap:var(--size-xs);
5248
+ }
5249
+ .mobius-sticky-footer__content > .mobius-text{
5250
+ margin:0;
5251
+ }
5252
+ .mobius-sticky-footer__button{
5253
+ border-radius:100px;
5254
+ display:grid;
5255
+ grid-auto-flow:column;
5256
+ align-items:center;
5257
+ gap:var(--size-xs);
5258
+ font-weight:var(--font-weight-normal);
5259
+ }
5260
+ .mobius-sticky-footer__button > svg{
5261
+ height:var(--size-md);
5262
+ width:var(--size-md);
5263
+ }
5264
+ .mobius-sticky-footer__explain{
5265
+ color:var(--color-primary);
5266
+ font-weight:var(--font-weight-normal);
5267
+ text-align:center;
5268
+ font-size:var(--font-size-2);
5269
+ line-height:var(--line-height-normal);
5270
+ }
5271
+ .mobius-sticky-footer__explain-headline{
5272
+ font-size:var(--font-size-3);
5273
+ line-height:var(--line-height-normal);
5274
+ display:block;
5275
+ }
5276
+ @media (max-width: 768px){
5277
+ .mobius-sticky-footer{
5278
+ padding:16px;
5279
+ }
5280
+
5281
+ .mobius-sticky-footer__content > .mobius-text{
5282
+ font-size:var(--font-size-3);
5283
+ line-height:var(--line-height-normal);
5284
+ }
5285
+
5286
+ .mobius-sticky-footer__explain{
5287
+ text-align:left;
5288
+ }
5289
+
5290
+ .mobius-sticky-footer__explain-headline{
5291
+ font-size:var(--font-size-2);
5292
+ line-height:var(--line-height-normal);
5293
+ }
5294
+ }
5173
5295
  .mobius-agent-referral-container{
5174
5296
  display:grid;
5175
5297
  grid-template-columns:1fr;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-simplybusiness",
3
- "version": "1.9.19",
3
+ "version": "1.10.1",
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.1",
30
- "@simplybusiness/mobius-datepicker": "^6.4.2",
31
- "@simplybusiness/mobius-journey": "^6.54.0",
32
- "@simplybusiness/theme-core": "^7.3.3"
29
+ "@simplybusiness/mobius": "^5.20.0",
30
+ "@simplybusiness/mobius-datepicker": "^6.4.3",
31
+ "@simplybusiness/mobius-journey": "^6.55.1",
32
+ "@simplybusiness/theme-core": "^7.4.0"
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