@simplybusiness/theme-simplybusiness 2.13.3 → 2.13.5

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,33 @@
1
1
  # @simplybusiness/theme-simplybusiness
2
2
 
3
+ ## 2.13.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 4e49c3e: Transition created for use by Showcase and Recommendation pages
8
+ - Updated dependencies [2dc7a77]
9
+ - Updated dependencies [58a910a]
10
+ - Updated dependencies [f0072cc]
11
+ - Updated dependencies [4e49c3e]
12
+ - Updated dependencies [f9c5b86]
13
+ - Updated dependencies [c83707a]
14
+ - @simplybusiness/mobius-journey@11.34.0
15
+ - @simplybusiness/mobius@6.10.0
16
+ - @simplybusiness/theme-core@7.14.15
17
+ - @simplybusiness/mobius-datepicker@7.3.12
18
+ - @simplybusiness/mobius-chatbot@2.2.12
19
+ - @simplybusiness/mobius-interventions@3.8.2
20
+
21
+ ## 2.13.4
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [9468edc]
26
+ - Updated dependencies [3acb336]
27
+ - Updated dependencies [5d13dfe]
28
+ - @simplybusiness/mobius-journey@11.33.0
29
+ - @simplybusiness/mobius-interventions@3.8.1
30
+
3
31
  ## 2.13.3
4
32
 
5
33
  ### Patch Changes
package/dist/index.css CHANGED
@@ -70,6 +70,34 @@ h6.mobius-accordion__link-text,
70
70
  .mobius-accordion__link-icon.--is-open{
71
71
  transform:rotateZ(-180deg);
72
72
  }
73
+ .mobius-accordion-list{
74
+ display:flex;
75
+ flex-direction:column;
76
+ width:100%;
77
+ }
78
+ .mobius-accordion-list .mobius-accordion__link{
79
+ justify-content:space-between;
80
+ -webkit-text-decoration:none;
81
+ -webkit-text-decoration:none;
82
+ text-decoration:none;
83
+ --accordion-icon-margin:0;
84
+ }
85
+ :is(.mobius-accordion-list .mobius-accordion__link):hover,:is(.mobius-accordion-list .mobius-accordion__link):active{
86
+ -webkit-text-decoration:none;
87
+ -webkit-text-decoration:none;
88
+ text-decoration:none;
89
+ }
90
+ .mobius-accordion-list .mobius-accordion__link-text{
91
+ color:var(--color-text-medium);
92
+ font-size:var(--font-size-regular);
93
+ font-weight:var(--font-weight-semibold);
94
+ }
95
+ .mobius-accordion-list .mobius-accordion__content{
96
+ color:var(--color-text-medium);
97
+ font-size:var(--font-size-regular);
98
+ font-weight:var(--font-weight-light);
99
+ line-height:var(--line-height-normal);
100
+ }
73
101
  .mobius-alert__icon{
74
102
  margin-right:var(--size-sm);
75
103
  }
@@ -2528,7 +2556,9 @@ svg:not(:host).svg-inline--mobius-icon{
2528
2556
  --font-size-4:20px;
2529
2557
  --font-size-5:24px;
2530
2558
  --font-size-6:32px;
2559
+ --font-weight-light:400;
2531
2560
  --font-weight-normal:500;
2561
+ --font-weight-semibold:600;
2532
2562
  --font-weight-bold:700;
2533
2563
  --line-height-normal:1.5;
2534
2564
  --line-height-tight:1.333;
@@ -4227,7 +4257,7 @@ svg:not(:host).svg-inline--mobius-icon{
4227
4257
  .mobius-agreement-question{
4228
4258
  display:flex;
4229
4259
  flex-direction:column;
4230
- gap:var(--spacing-md);
4260
+ gap:var(--size-md);
4231
4261
  }
4232
4262
  .mobius-agreement-question__text{
4233
4263
  color:var(--color-text-medium);
@@ -4243,18 +4273,6 @@ svg:not(:host).svg-inline--mobius-icon{
4243
4273
  .mobius-agreement-question__text strong{
4244
4274
  color:var(--color-text);
4245
4275
  }
4246
- .mobius-agreement-question__text p:last-child{
4247
- margin-bottom:0;
4248
- }
4249
- .mobius-agreement-question__text ul,
4250
- .mobius-agreement-question__text ol{
4251
- margin:0 0 var(--spacing-sm) var(--spacing-md);
4252
- padding-left:var(--spacing-md);
4253
- }
4254
- .mobius-agreement-question__text ul:last-child,
4255
- .mobius-agreement-question__text ol:last-child{
4256
- margin-bottom:0;
4257
- }
4258
4276
  .mobius-question__annual-turnover-select.mobius-select__wrapper{
4259
4277
  margin-bottom:var(--size-lg);
4260
4278
  }
@@ -6485,15 +6503,25 @@ svg:not(:host).svg-inline--mobius-icon{
6485
6503
  transition:height 1s;
6486
6504
  }
6487
6505
  .questionnaire-page__container{
6488
- padding:0 10%;
6489
6506
  display:flex;
6490
- gap:20px;
6507
+ max-width:var(--size-inner-container);
6508
+ margin:auto;
6509
+ gap:var(--size-md);
6491
6510
  }
6492
6511
  .questionnaire-page__questionnaire{
6493
6512
  padding:20px;
6494
6513
  flex:1;
6495
6514
  min-width:60%;
6496
6515
  }
6516
+ .questionnaire-page__questionnaire .mobius-actions{
6517
+ max-width:100%;
6518
+ }
6519
+ .questionnaire-page__questionnaire .mobius-actions__back{
6520
+ font-weight:var(--font-weight-bold);
6521
+ font-size:var(--font-size-4);
6522
+ line-height:24px;
6523
+ padding:var(--button-padding-md);
6524
+ }
6497
6525
  .questionnaire-page__questionnaire .mobius-section__question-container{
6498
6526
  max-width:100%;
6499
6527
  }
@@ -6503,7 +6531,7 @@ svg:not(:host).svg-inline--mobius-icon{
6503
6531
  justify-content:center;
6504
6532
  }
6505
6533
  .questionnaire-page__coverage-summary{
6506
- margin-top:118px;
6534
+ margin-top:142px;
6507
6535
  padding:20px;
6508
6536
  flex:2;
6509
6537
  min-width:30%;
@@ -6549,17 +6577,15 @@ svg:not(:host).svg-inline--mobius-icon{
6549
6577
  }
6550
6578
  .mobius-showcase-explore__subtitle{
6551
6579
  margin:0;
6552
- font-weight:600;
6553
- text-transform:uppercase;
6554
- color:var(--color-text-light);
6580
+ color:var(--color-text-medium);
6555
6581
  }
6556
6582
  .mobius-showcase-explore__list{
6557
6583
  margin:0;
6558
6584
  padding-left:var(--size-lg);
6559
- color:var(--color-text);
6585
+ color:var(--color-text-medium);
6560
6586
  }
6561
6587
  .mobius-showcase-explore__list-item{
6562
- color:var(--color-text);
6588
+ color:var(--color-text-medium);
6563
6589
  }
6564
6590
  .mobius-showcase-explore__form{
6565
6591
  margin-top:auto;
@@ -6640,6 +6666,253 @@ svg:not(:host).svg-inline--mobius-icon{
6640
6666
  .mobius-showcase__pricing .mobius-price-block__value{
6641
6667
  line-height:normal;
6642
6668
  }
6669
+ .mobius-tailoring-coverage-transition__modal{
6670
+ background-color:transparent;
6671
+ }
6672
+ .mobius-tailoring-coverage-transition__modal::backdrop{
6673
+ display:none;
6674
+ }
6675
+ .mobius-tailoring-coverage-transition__fallback{
6676
+ position:relative;
6677
+ width:100%;
6678
+ height:100%;
6679
+ background-color:var(--color-azure-500);
6680
+ animation-duration:300ms, 0s;
6681
+ animation-timing-function:ease-in-out, ease-in-out;
6682
+ animation-delay:1000ms, 1250ms;
6683
+ animation-fill-mode:forwards, forwards;
6684
+ animation-name:fadeOut, hideOverlay;
6685
+ }
6686
+ @media screen and (min-width: 671px){
6687
+ .mobius-tailoring-coverage-transition__fallback{
6688
+ background-color:var(--color-azure-200);
6689
+ }
6690
+ }
6691
+ .mobius-tailoring-coverage-transition__fallback .mobius-tailoring-coverage-transition__loader{
6692
+ position:absolute;
6693
+ width:20px;
6694
+ height:20px;
6695
+ top:50%;
6696
+ left:50%;
6697
+ transform:translate(-50%, -50%);
6698
+ }
6699
+ :is(.mobius-tailoring-coverage-transition__fallback .mobius-tailoring-coverage-transition__loader)::before{
6700
+ border:4px solid var(--color-bubblegum-500);
6701
+ animation:1000ms infinite linear rotate;
6702
+ clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
6703
+ content:"";
6704
+ position:absolute;
6705
+ box-sizing:border-box;
6706
+ top:0;
6707
+ right:0;
6708
+ bottom:0;
6709
+ left:0;
6710
+ border-radius:50%;
6711
+ }
6712
+ .mobius-tailoring-coverage-transition__transition-icon{
6713
+ display:block;
6714
+ height:110px;
6715
+ margin:0 auto;
6716
+ width:110px;
6717
+ animation-duration:3s;
6718
+ animation-timing-function:ease-in-out;
6719
+ animation-fill-mode:forwards;
6720
+ animation-name:fadeIn;
6721
+ rotate:-45deg;
6722
+ }
6723
+ .mobius-tailoring-coverage-transition__overlay{
6724
+ position:relative;
6725
+ width:100%;
6726
+ height:100%;
6727
+ animation-duration:500ms, 0s;
6728
+ animation-delay:3300ms, 3800ms;
6729
+ animation-timing-function:ease-in-out, ease-in-out;
6730
+ animation-fill-mode:forwards, forwards;
6731
+ animation-name:fadeOut, hideOverlay;
6732
+ }
6733
+ .mobius-tailoring-coverage-transition__overlay .mobius-tailoring-coverage-transition__loader{
6734
+ width:110px;
6735
+ height:110px;
6736
+ rotate:45deg;
6737
+ }
6738
+ :is(.mobius-tailoring-coverage-transition__overlay .mobius-tailoring-coverage-transition__loader)::before{
6739
+ border:10px solid var(--color-bubblegum-500);
6740
+ animation-duration:2s;
6741
+ animation-timing-function:linear;
6742
+ animation-fill-mode:forwards;
6743
+ animation-name:prixClipFix;
6744
+ clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
6745
+ content:"";
6746
+ position:absolute;
6747
+ box-sizing:border-box;
6748
+ top:0;
6749
+ right:0;
6750
+ bottom:0;
6751
+ left:0;
6752
+ border-radius:50%;
6753
+ }
6754
+ .mobius-tailoring-coverage-transition__transition{
6755
+ display:flex;
6756
+ align-items:center;
6757
+ justify-content:center;
6758
+ background-color:var(--color-azure-500);
6759
+ animation-duration:800ms;
6760
+ animation-delay:2800ms;
6761
+ animation-timing-function:ease-in-out;
6762
+ animation-fill-mode:forwards;
6763
+ animation-name:fadeInPinkMobile;
6764
+ height:100%;
6765
+ box-sizing:border-box;
6766
+ }
6767
+ @media screen and (min-width: 671px){
6768
+ .mobius-tailoring-coverage-transition__transition{
6769
+ background-color:var(--color-azure-200);
6770
+ animation-name:fadeInPinkDesktop;
6771
+ }
6772
+ }
6773
+ .mobius-tailoring-coverage-transition__content{
6774
+ display:flex;
6775
+ flex-direction:column;
6776
+ align-items:center;
6777
+ justify-content:center;
6778
+ gap:20px;
6779
+ animation-duration:650ms;
6780
+ animation-delay:2800ms;
6781
+ animation-timing-function:ease-in-out;
6782
+ animation-fill-mode:forwards;
6783
+ animation-name:moveUp;
6784
+ }
6785
+ @media screen and (min-width: 671px){
6786
+ .mobius-tailoring-coverage-transition__content{
6787
+ gap:30px;
6788
+ }
6789
+ }
6790
+ .mobius-tailoring-coverage-transition__art--mobile{
6791
+ display:block;
6792
+ }
6793
+ .mobius-tailoring-coverage-transition__art--desktop{
6794
+ display:none;
6795
+ }
6796
+ @media screen and (min-width: 671px){
6797
+ .mobius-tailoring-coverage-transition__art--mobile{
6798
+ display:none;
6799
+ }
6800
+ .mobius-tailoring-coverage-transition__art--desktop{
6801
+ display:block;
6802
+ }
6803
+ }
6804
+ .mobius-tailoring-coverage-transition__trade-image{
6805
+ max-width:220px;
6806
+ width:70vw;
6807
+ }
6808
+ @media screen and (min-width: 671px){
6809
+ .mobius-tailoring-coverage-transition__trade-image{
6810
+ max-width:260px;
6811
+ width:30vw;
6812
+ }
6813
+ }
6814
+ @media (max-height: 600px){
6815
+ .mobius-tailoring-coverage-transition__trade-image{
6816
+ display:none;
6817
+ }
6818
+ }
6819
+ @media screen and (prefers-reduced-motion: reduce){
6820
+ .mobius-tailoring-coverage-transition__fallback .mobius-tailoring-coverage-transition__loader::before{
6821
+ animation:none;
6822
+ }
6823
+
6824
+ .mobius-tailoring-coverage-transition__transition-icon{
6825
+ animation:none;
6826
+ }
6827
+
6828
+ .mobius-tailoring-coverage-transition__overlay .mobius-tailoring-coverage-transition__loader::before{
6829
+ animation:none;
6830
+ }
6831
+
6832
+ .mobius-tailoring-coverage-transition__content{
6833
+ animation-name:none;
6834
+ }
6835
+ }
6836
+ @keyframes fadeInPinkDesktop{
6837
+ 0%{
6838
+ background-color:var(--color-azure-200);
6839
+ }
6840
+
6841
+ 100%{
6842
+ background-color:var(--color-bubblegum-500);
6843
+ }
6844
+ }
6845
+ @keyframes fadeInPinkMobile{
6846
+ 0%{
6847
+ background-color:var(--color-azure-500);
6848
+ }
6849
+
6850
+ 100%{
6851
+ background-color:var(--color-bubblegum-500);
6852
+ }
6853
+ }
6854
+ @keyframes rotate{
6855
+ 100%{
6856
+ transform:rotate(360deg);
6857
+ }
6858
+ }
6859
+ @keyframes fadeIn{
6860
+ 0%{
6861
+ opacity:0;
6862
+ }
6863
+
6864
+ 66%{
6865
+ opacity:0;
6866
+ }
6867
+
6868
+ 100%{
6869
+ opacity:1;
6870
+ }
6871
+ }
6872
+ @keyframes moveUp{
6873
+ 0%{
6874
+ transform:translateY(0);
6875
+ }
6876
+
6877
+ 100%{
6878
+ transform:translateY(-100%);
6879
+ }
6880
+ }
6881
+ @keyframes fadeOut{
6882
+ 0%{
6883
+ opacity:1;
6884
+ }
6885
+
6886
+ 100%{
6887
+ opacity:0;
6888
+ }
6889
+ }
6890
+ @keyframes hideOverlay{
6891
+ 0%{
6892
+ left:0;
6893
+ }
6894
+
6895
+ 100%{
6896
+ left:-100%;
6897
+ }
6898
+ }
6899
+ @keyframes prixClipFix{
6900
+ 0%{
6901
+ clip-path:polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
6902
+ }
6903
+ 25%{
6904
+ clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
6905
+ }
6906
+ 50%{
6907
+ clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
6908
+ }
6909
+ 75%{
6910
+ clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
6911
+ }
6912
+ 100%{
6913
+ clip-path:polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
6914
+ }
6915
+ }
6643
6916
  .mobius-showcase__layout{
6644
6917
  flex-direction:column;
6645
6918
  width:100%;
@@ -7480,7 +7753,7 @@ input[type="date"]::-webkit-datetime-edit-year-field{
7480
7753
  #priceNudgeIntervention .mobius-modal__content{
7481
7754
  margin:0;
7482
7755
  }
7483
- .mobius-interventions__pricing-nudge>.mobius-flex{
7756
+ .mobius-interventions__pricing-nudge > .mobius-flex{
7484
7757
  gap:0;
7485
7758
  }
7486
7759
  .mobius-interventions__pricing-nudge-text{
@@ -7489,6 +7762,12 @@ input[type="date"]::-webkit-datetime-edit-year-field{
7489
7762
  text-align:center;
7490
7763
  text-wrap-style:auto;
7491
7764
  }
7765
+ .mobius-interventions__pricing-nudge-text-large{
7766
+ font-size:36px;
7767
+ margin:24px 0;
7768
+ text-align:center;
7769
+ text-wrap-style:auto;
7770
+ }
7492
7771
  .mobius-interventions__pricing-nudge-subtext{
7493
7772
  font-size:18px;
7494
7773
  margin:0 0 32px 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-simplybusiness",
3
- "version": "2.13.3",
3
+ "version": "2.13.5",
4
4
  "main": "dist/index.css",
5
5
  "simplyBusiness": {
6
6
  "publishToPublicNpm": true
@@ -28,12 +28,12 @@
28
28
  "./fonts": "./dist/fonts.css"
29
29
  },
30
30
  "dependencies": {
31
- "@simplybusiness/mobius": "^6.9.10",
32
- "@simplybusiness/mobius-chatbot": "^2.2.11",
33
- "@simplybusiness/mobius-datepicker": "^7.3.11",
34
- "@simplybusiness/mobius-interventions": "^3.8.0",
35
- "@simplybusiness/mobius-journey": "^11.32.0",
36
- "@simplybusiness/theme-core": "^7.14.14"
31
+ "@simplybusiness/mobius": "^6.10.0",
32
+ "@simplybusiness/mobius-chatbot": "^2.2.12",
33
+ "@simplybusiness/mobius-datepicker": "^7.3.12",
34
+ "@simplybusiness/mobius-interventions": "^3.8.2",
35
+ "@simplybusiness/mobius-journey": "^11.34.0",
36
+ "@simplybusiness/theme-core": "^7.14.15"
37
37
  },
38
38
  "devDependencies": {
39
39
  "build-scripts": "^1.1.0",