@simplybusiness/theme-simplybusiness 1.12.4 → 1.13.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,29 @@
1
1
  # @simplybusiness/theme-simplybusiness
2
2
 
3
+ ## 1.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0fd403d: Add CoverOption and CoverOptions components (Personalised Cover Page experiment)
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [0fd403d]
12
+ - @simplybusiness/mobius-journey@6.66.0
13
+ - @simplybusiness/mobius@5.22.0
14
+ - @simplybusiness/mobius-datepicker@6.4.7
15
+ - @simplybusiness/theme-core@7.4.3
16
+
17
+ ## 1.12.5
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [712a195]
22
+ - @simplybusiness/mobius-journey@6.65.0
23
+ - @simplybusiness/mobius@5.21.0
24
+ - @simplybusiness/mobius-datepicker@6.4.6
25
+ - @simplybusiness/theme-core@7.4.2
26
+
3
27
  ## 1.12.4
4
28
 
5
29
  ### Patch Changes
package/dist/index.css CHANGED
@@ -2771,6 +2771,47 @@ svg:not(:host).svg-inline--mobius-icon{
2771
2771
  .mobius-agent-resources .mobius-link-button{
2772
2772
  text-align:center;
2773
2773
  }
2774
+ .mobius-cover-option{
2775
+ box-sizing:border-box;
2776
+ width:100%;
2777
+ padding:var(--size-sm);
2778
+ line-height:var(--line-height-normal);
2779
+ border:var(--border-default);
2780
+ border-color:var(--color-neutral-300);
2781
+ border-radius:var(--radius-1);
2782
+ transition:border-color 0.15s;
2783
+ }
2784
+ .mobius-cover-option--is-checked{
2785
+ border-color:var(--color-primary);
2786
+ }
2787
+ .mobius-cover-option--is-checked .mobius-cover-option__primary-text{
2788
+ color:unset;
2789
+ }
2790
+ .mobius-cover-option__header{
2791
+ margin-bottom:10px;
2792
+ }
2793
+ .mobius-cover-option__primary-text{
2794
+ margin:0;
2795
+ color:var(--color-text-medium);
2796
+ }
2797
+ .mobius-cover-option .mobius-accordion__content{
2798
+ color:var(--color-text-medium);
2799
+ }
2800
+ .mobius-cover-option .mobius-select__outer{
2801
+ margin-top:var(--size-sm)
2802
+ }
2803
+ @media only screen and (min-width: 641px){
2804
+ .mobius-cover-option .mobius-select__wrapper{
2805
+ max-width:66.67%;
2806
+ }
2807
+ }
2808
+ .mobius-cover-option__limit-button{
2809
+ padding:0;
2810
+ margin-bottom:10px;
2811
+ }
2812
+ .mobius-cover-option__limit-button .mobius-icon{
2813
+ margin-left:var(--size-xxs);
2814
+ }
2774
2815
  .mobius-cover-toggles-container__outer.--is-payment-aside{
2775
2816
  display:grid;
2776
2817
  grid-template-columns:1fr;
@@ -3356,6 +3397,8 @@ svg:not(:host).svg-inline--mobius-icon{
3356
3397
  .mobius-personalised-cover__container.--is-md{
3357
3398
  max-width:626px;
3358
3399
  border-radius:var(--radius-2);
3400
+ display:grid;
3401
+ gap:var(--size-sm);
3359
3402
  }
3360
3403
  .mobius-personalised-cover__actions{
3361
3404
  display:grid;
@@ -5819,54 +5862,58 @@ svg:not(:host).svg-inline--mobius-icon{
5819
5862
  height:60px;
5820
5863
  }
5821
5864
  .mobius-interventions__trade-based-claims{
5822
- width:min(90%, 750px);
5823
- }
5865
+ width:min(90%, 750px);
5866
+ }
5824
5867
  .mobius-interventions__trade-based-claims-logo{
5825
- max-width:30%;
5826
- min-width:100px;
5827
- }
5868
+ max-width:30%;
5869
+ min-width:100px;
5870
+ }
5828
5871
  .mobius-interventions__trade-based-claims-text-flexbox{
5829
- min-width:50%;
5830
- }
5872
+ min-width:50%;
5873
+ }
5831
5874
  .mobius-interventions__trade-based-claims-text{
5832
- font-size:25px;
5833
- line-height:1.4;
5834
- margin:0;
5835
- text-wrap:stable;
5836
- }
5875
+ font-size:25px;
5876
+ line-height:1.4;
5877
+ margin:0;
5878
+ text-wrap:stable;
5879
+ }
5880
+ .mobius-interventions__trade-based-claims-text-fineprint{
5881
+ color:#5D5D60;
5882
+ line-height:16px;
5883
+ font-size:12px;
5884
+ }
5837
5885
  .mobius-interventions__trade-based-claims-text-subheading{
5838
- font-weight:var(--font-weight-normal);
5839
- }
5840
- .mobius-interventions__trade-based-claims-fineprint{
5841
- font-size:12px;
5842
- color:#5D5D60;
5843
- }
5886
+ font-weight:var(--font-weight-normal);
5887
+ }
5844
5888
  .mobius-interventions__trade-based-claims-close-button{
5845
- margin-top:5%;
5846
- }
5889
+ margin-top:5%;
5890
+ }
5847
5891
  .mobius-interventions__trade-based-claims-cta-button{
5848
- font-weight:var(--font-weight-normal);
5849
- }
5892
+ margin-top:10%;
5893
+ font-weight:var(--font-weight-normal);
5894
+ }
5850
5895
  .mobius-interventions__trade-based-claims .mobius-modal__close{
5851
- display:none;
5852
- }
5853
- .mobius-interventions__trade-based-claims-cta-spacer{
5854
- margin-top:10%;
5855
- }
5896
+ display:none;
5897
+ }
5856
5898
  .mobius-interventions__trade-based-claims-homebuilder{
5857
- background-position:center center;
5858
- background-repeat:no-repeat;
5859
- background-size:contain;
5860
- height:224px;
5861
- width:757px;
5862
- background-image:url(c169e5139b1db7e633b9.png);
5863
- }
5899
+ background-position:center center;
5900
+ background-repeat:no-repeat;
5901
+ background-size:contain;
5902
+ height:224px;
5903
+ width:757px;
5904
+ background-image:url(c169e5139b1db7e633b9.png);
5905
+ }
5864
5906
  @media only screen and (max-width: 750px){
5865
- .mobius-interventions__trade-based-claims-homebuilder{
5866
- width:100%;
5867
- height:330px;
5868
- }
5907
+ .mobius-interventions__trade-based-claims-homebuilder{
5908
+ height:280px;
5909
+ width:100%;
5910
+ margin:0%;
5911
+ }
5912
+
5913
+ .mobius-interventions__trade-based-claims-cta-button{
5914
+ margin-top:0%;
5869
5915
  }
5916
+ }
5870
5917
  :root,
5871
5918
  :host{
5872
5919
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-simplybusiness",
3
- "version": "1.12.4",
3
+ "version": "1.13.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.20.1",
30
- "@simplybusiness/mobius-datepicker": "^6.4.5",
31
- "@simplybusiness/mobius-journey": "^6.64.0",
32
- "@simplybusiness/theme-core": "^7.4.1"
29
+ "@simplybusiness/mobius": "^5.22.0",
30
+ "@simplybusiness/mobius-datepicker": "^6.4.7",
31
+ "@simplybusiness/mobius-journey": "^6.66.0",
32
+ "@simplybusiness/theme-core": "^7.4.3"
33
33
  },
34
34
  "devDependencies": {
35
35
  "css-loader": "^7.1.2",
package/src/index.css CHANGED
@@ -10,6 +10,7 @@
10
10
  @import "@simplybusiness/mobius-journey/src/components/AgentActions/AgentActions.css";
11
11
  @import "@simplybusiness/mobius-journey/src/components/AgentReferral/InfoCard/InfoCard.css";
12
12
  @import "@simplybusiness/mobius-journey/src/components/AgentResources/AgentResources.css";
13
+ @import "@simplybusiness/mobius-journey/src/components/CoverOptions/CoverOption/CoverOption.css";
13
14
  @import "@simplybusiness/mobius-journey/src/components/CoverTogglesContainer/CoverTogglesContainer.css";
14
15
  @import "@simplybusiness/mobius-journey/src/components/CoverageSummary/CoverageSummary.css";
15
16
  @import "@simplybusiness/mobius-journey/src/components/CoverageSummary/PaymentSummary/PaymentSummary.css";