@simplybusiness/theme-simplybusiness 2.6.0 → 2.7.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,34 @@
1
1
  # @simplybusiness/theme-simplybusiness
2
2
 
3
+ ## 2.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e8ff62c: Switches to theme level import of ScrollableText.css
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [28ddeda]
12
+ - Updated dependencies [1b71bb3]
13
+ - Updated dependencies [3693ca4]
14
+ - Updated dependencies [e8ff62c]
15
+ - Updated dependencies [182bc5d]
16
+ - @simplybusiness/mobius-journey@11.9.0
17
+ - @simplybusiness/mobius@6.7.2
18
+ - @simplybusiness/mobius-chatbot@2.0.31
19
+ - @simplybusiness/mobius-datepicker@7.1.25
20
+ - @simplybusiness/mobius-interventions@3.1.3
21
+ - @simplybusiness/theme-core@7.13.22
22
+
23
+ ## 2.6.1
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies [d1d7990]
28
+ - Updated dependencies [76d49c1]
29
+ - Updated dependencies [ee2e382]
30
+ - @simplybusiness/mobius-journey@11.8.0
31
+
3
32
  ## 2.6.0
4
33
 
5
34
  ### Minor Changes
package/dist/index.css CHANGED
@@ -1547,6 +1547,7 @@ h6.mobius-accordion__link-text,
1547
1547
  padding-right:var(--size-xxl);
1548
1548
  font-family:var(--font-family);
1549
1549
  font-size:var(--font-size-regular);
1550
+ color:var(--color-text);
1550
1551
  border:var(--border-default);
1551
1552
  border-radius:var(--input-border-radius);
1552
1553
  background-color:var(--color-background-input);
@@ -4129,10 +4130,13 @@ svg:not(:host).svg-inline--mobius-icon{
4129
4130
  border-radius:var(--radius-1);
4130
4131
  padding:var(--size-sm);
4131
4132
  }
4132
- .mobius-section__personalised-cover-group--has-children{
4133
- display:grid;
4134
- gap:var(--size-sm);
4135
- }
4133
+ .mobius-section__personalised-cover-group.--is-invalid{
4134
+ border:2px solid var(--color-error);
4135
+ }
4136
+ .mobius-section__personalised-cover-group.--has-children{
4137
+ display:grid;
4138
+ gap:var(--size-sm);
4139
+ }
4136
4140
  .mobius-question__help-link{
4137
4141
  display:inline-flex;
4138
4142
  align-items:center;
@@ -5880,54 +5884,54 @@ svg:not(:host).svg-inline--mobius-icon{
5880
5884
  justify-content:flex-start;
5881
5885
  }
5882
5886
  }
5883
- .agreement-content{
5887
+ .mobius-underwriter-legal-agreements__agreement-content{
5884
5888
  color:var(--color-text-medium);
5885
5889
  }
5886
- .agreement-content :is(h1, h2, h3, h4, h5, h6){
5890
+ .mobius-underwriter-legal-agreements__agreement-content :is(h1, h2, h3, h4, h5, h6){
5887
5891
  color:var(--color-text);
5888
5892
  margin-top:0;
5889
5893
  margin-bottom:15px;
5890
5894
  }
5891
- .agreement-content h1,
5892
- .agreement-content h2,
5893
- .agreement-content h3{
5895
+ .mobius-underwriter-legal-agreements__agreement-content h1,
5896
+ .mobius-underwriter-legal-agreements__agreement-content h2,
5897
+ .mobius-underwriter-legal-agreements__agreement-content h3{
5894
5898
  text-align:center;
5895
5899
  }
5896
- .agreement-content .client_information{
5900
+ .mobius-underwriter-legal-agreements__agreement-content .client_information{
5897
5901
  margin-top:10px;
5898
5902
  margin-bottom:10px;
5899
5903
  }
5900
- .agreement-content .client_information p{
5904
+ .mobius-underwriter-legal-agreements__agreement-content .client_information p{
5901
5905
  margin:1px;
5902
5906
  }
5903
- .agreement-content .signature_block{
5907
+ .mobius-underwriter-legal-agreements__agreement-content .signature_block{
5904
5908
  margin-top:10px;
5905
5909
  margin-bottom:10px;
5906
5910
  }
5907
- .agreement-content .signature_block p,
5908
- .agreement-content .signature_block h4{
5911
+ .mobius-underwriter-legal-agreements__agreement-content .signature_block p,
5912
+ .mobius-underwriter-legal-agreements__agreement-content .signature_block h4{
5909
5913
  margin:1px;
5910
5914
  }
5911
- .agreement-content .signature{
5915
+ .mobius-underwriter-legal-agreements__agreement-content .signature{
5912
5916
  width:200px;
5913
5917
  height:auto;
5914
5918
  font-size:20px;
5915
5919
  }
5916
- .bullet-list{
5920
+ .mobius-underwriter-legal-agreements__bullet-list{
5917
5921
  margin:0;
5918
5922
  padding-left:20px;
5919
5923
  list-style:none;
5920
5924
  }
5921
- .carrier-title{
5925
+ .mobius-underwriter-legal-agreements__carrier-title{
5922
5926
  font-size:24px;
5923
5927
  font-weight:600;
5924
5928
  margin-bottom:20px;
5925
5929
  color:var(--color-text);
5926
5930
  }
5927
- .checkbox{
5931
+ .mobius-underwriter-legal-agreements__checkbox{
5928
5932
  display:none;
5929
5933
  }
5930
- .checkbox-container{
5934
+ .mobius-underwriter-legal-agreements__checkbox-container{
5931
5935
  border:1px solid var(--color-border);
5932
5936
  border-radius:10px;
5933
5937
  padding:20px;
@@ -5937,25 +5941,25 @@ svg:not(:host).svg-inline--mobius-icon{
5937
5941
  gap:15px;
5938
5942
  padding:25px 25px 25px 15px;
5939
5943
  }
5940
- .checkbox-label{
5944
+ .mobius-underwriter-legal-agreements__checkbox-label{
5941
5945
  color:var(--color-text-medium);
5942
5946
  cursor:pointer;
5943
5947
  flex:1;
5944
5948
  }
5945
- .form-actions{
5949
+ .mobius-underwriter-legal-agreements__form-actions{
5946
5950
  margin-top:80px;
5947
5951
  display:flex;
5948
5952
  justify-content:space-between;
5949
5953
  align-items:center;
5950
5954
  }
5951
- .main-checkbox{
5955
+ .mobius-underwriter-legal-agreements__main-checkbox{
5952
5956
  display:none;
5953
5957
  }
5954
- .legal-agreements-column{
5958
+ .mobius-underwriter-legal-agreements__legal-agreements-column{
5955
5959
  flex:1;
5956
5960
  min-width:0;
5957
5961
  }
5958
- .page-container{
5962
+ .mobius-underwriter-legal-agreements__page-container{
5959
5963
  margin:0 auto;
5960
5964
  padding:20px;
5961
5965
  font-family:Arial, sans-serif;
@@ -5964,12 +5968,12 @@ svg:not(:host).svg-inline--mobius-icon{
5964
5968
  gap:40px;
5965
5969
  }
5966
5970
  @media (max-width: 768px){
5967
- .page-container{
5971
+ .mobius-underwriter-legal-agreements__page-container{
5968
5972
  flex-direction:column;
5969
5973
  gap:20px;
5970
5974
  }
5971
5975
  }
5972
- .page-title{
5976
+ .mobius-underwriter-legal-agreements__page-title{
5973
5977
  font-weight:bold;
5974
5978
  font-size:32px;
5975
5979
  margin-top:0;
@@ -5977,29 +5981,23 @@ svg:not(:host).svg-inline--mobius-icon{
5977
5981
  padding-bottom:0;
5978
5982
  color:var(--color-text);
5979
5983
  }
5980
- .price-summary-column{
5984
+ .mobius-underwriter-legal-agreements__price-summary-column{
5981
5985
  width:340px;
5982
5986
  flex-shrink:0;
5983
5987
  }
5984
5988
  @media (max-width: 768px){
5985
- .price-summary-column{
5989
+ .mobius-underwriter-legal-agreements__price-summary-column{
5986
5990
  width:100%;
5987
5991
  }
5988
5992
  }
5989
- .scrollable-section{
5990
- height:100%;
5991
- box-sizing:border-box;
5992
- overflow-y:scroll;
5993
- padding-right:10px;
5994
- }
5995
- .section-title{
5993
+ .mobius-underwriter-legal-agreements__section-title{
5996
5994
  font-size:20px;
5997
5995
  font-weight:600;
5998
5996
  margin-top:10px;
5999
5997
  margin-bottom:10px;
6000
5998
  color:var(--color-text);
6001
5999
  }
6002
- .styled-checkbox{
6000
+ .mobius-underwriter-legal-agreements__styled-checkbox{
6003
6001
  height:25px;
6004
6002
  width:25px;
6005
6003
  border:2px solid var(--color-border);
@@ -6010,11 +6008,11 @@ svg:not(:host).svg-inline--mobius-icon{
6010
6008
  border-radius:3px;
6011
6009
  border-color:var(--color-primary-light);
6012
6010
  }
6013
- .styled-checkbox.checked{
6011
+ .mobius-underwriter-legal-agreements__styled-checkbox.checked{
6014
6012
  background-color:var(--color-primary);
6015
6013
  border-color:var(--color-primary);
6016
6014
  }
6017
- .styled-checkbox::after{
6015
+ .mobius-underwriter-legal-agreements__styled-checkbox::after{
6018
6016
  content:"";
6019
6017
  position:absolute;
6020
6018
  top:2.5px;
@@ -6026,33 +6024,11 @@ svg:not(:host).svg-inline--mobius-icon{
6026
6024
  transform:rotate(45deg);
6027
6025
  opacity:0;
6028
6026
  }
6029
- .styled-checkbox.checked::after{
6027
+ .mobius-underwriter-legal-agreements__styled-checkbox.checked::after{
6030
6028
  border:solid var(--color-text-inverted);
6031
6029
  border-width:0 4px 4px 0;
6032
6030
  opacity:1;
6033
6031
  }
6034
- .styled-container{
6035
- margin-bottom:30px;
6036
- border:1px solid var(--color-border);
6037
- border-radius:10px;
6038
- padding-top:30px;
6039
- padding-bottom:15px;
6040
- height:400px;
6041
- box-sizing:border-box;
6042
- position:relative;
6043
- border-radius:10px;
6044
- margin-bottom:20px;
6045
- }
6046
- .styled-container::after{
6047
- content:" ";
6048
- width:100%;
6049
- height:30px;
6050
- background:linear-gradient(to top, var(--color-background), rgb(255 255 255 / 50%));
6051
- position:absolute;
6052
- bottom:0;
6053
- left:0;
6054
- border-radius:10px;
6055
- }
6056
6032
  .mobius-trust-section__header{
6057
6033
  border-bottom-right-radius:0;
6058
6034
  border-bottom-left-radius:0;
@@ -6131,6 +6107,33 @@ svg:not(:host).svg-inline--mobius-icon{
6131
6107
  display:none;
6132
6108
  }
6133
6109
  }
6110
+ .mobius-scrollable-text__content{
6111
+ height:100%;
6112
+ box-sizing:border-box;
6113
+ overflow-y:scroll;
6114
+ padding-right:10px;
6115
+ padding-left:20px;
6116
+ }
6117
+ .mobius-scrollable-text{
6118
+ margin-bottom:20px;
6119
+ border:1px solid var(--color-border);
6120
+ border-radius:10px;
6121
+ padding-top:30px;
6122
+ padding-bottom:15px;
6123
+ height:400px;
6124
+ box-sizing:border-box;
6125
+ position:relative;
6126
+ }
6127
+ .mobius-scrollable-text::after{
6128
+ content:" ";
6129
+ width:100%;
6130
+ height:30px;
6131
+ background:linear-gradient(to top, var(--color-background), rgb(255 255 255 / 50%));
6132
+ position:absolute;
6133
+ bottom:0;
6134
+ left:0;
6135
+ border-radius:10px;
6136
+ }
6134
6137
  .mobius-payment-toggle{
6135
6138
  position:relative;
6136
6139
  display:grid;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-simplybusiness",
3
- "version": "2.6.0",
3
+ "version": "2.7.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": "^6.7.1",
30
- "@simplybusiness/mobius-chatbot": "^2.0.30",
31
- "@simplybusiness/mobius-datepicker": "^7.1.24",
32
- "@simplybusiness/mobius-interventions": "^3.1.2",
33
- "@simplybusiness/mobius-journey": "^11.7.0",
34
- "@simplybusiness/theme-core": "^7.13.21"
29
+ "@simplybusiness/mobius": "^6.7.2",
30
+ "@simplybusiness/mobius-chatbot": "^2.0.31",
31
+ "@simplybusiness/mobius-datepicker": "^7.1.25",
32
+ "@simplybusiness/mobius-interventions": "^3.1.3",
33
+ "@simplybusiness/mobius-journey": "^11.9.0",
34
+ "@simplybusiness/theme-core": "^7.13.22"
35
35
  },
36
36
  "devDependencies": {
37
37
  "build-scripts": "^1.0.2",
package/src/index.css CHANGED
@@ -83,6 +83,7 @@
83
83
  @import "@simplybusiness/mobius-journey/src/components/UnderwriterLegalAgreements/UnderwriterLegalAgreements.css";
84
84
  @import "@simplybusiness/mobius-journey/src/components/Referral/TrustSection/TrustSection.css";
85
85
  @import "@simplybusiness/mobius-journey/src/components/RewardBanner/RewardBanner.css";
86
+ @import "@simplybusiness/mobius-journey/src/components/ScrollableText/ScrollableText.css";
86
87
  @import "@simplybusiness/mobius-journey/src/components/shared/PaymentToggle/PaymentToggle.css";
87
88
  @import "@simplybusiness/mobius-journey/src/components/shared/PreQCP/styles.css";
88
89
  @import "@simplybusiness/mobius-journey/src/components/SkipToNextCoverage/SkipToNextCoverage.css";