@simplybusiness/theme-simplybusiness 0.5.0 → 0.5.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,23 @@
1
1
  # @simplybusiness/theme-simplybusiness
2
2
 
3
+ ## 0.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [0e58fda]
8
+ - Updated dependencies [705a8a5]
9
+ - Updated dependencies [4d0d10a]
10
+ - Updated dependencies [a768bdc]
11
+ - Updated dependencies [f59d1d8]
12
+ - Updated dependencies [29ba861]
13
+ - Updated dependencies [ae94b43]
14
+ - Updated dependencies [1576f3f]
15
+ - Updated dependencies [c8b1266]
16
+ - Updated dependencies [0e87a0e]
17
+ - Updated dependencies [674f389]
18
+ - Updated dependencies [35129f9]
19
+ - @simplybusiness/mobius-journey@6.6.0
20
+
3
21
  ## 0.5.0
4
22
 
5
23
  ### Minor Changes
package/dist/index.css CHANGED
@@ -3184,6 +3184,7 @@ svg:not(:host).svg-inline--mobius-icon{
3184
3184
  }
3185
3185
  .mobius-cover-toggles-container .mobius-cover-toggle{
3186
3186
  margin-bottom:0;
3187
+ align-self:end;
3187
3188
  }
3188
3189
  .mobius-cover-toggles-container .mobius-select__outer{
3189
3190
  margin-bottom:0;
@@ -3666,32 +3667,54 @@ svg:not(:host).svg-inline--mobius-icon{
3666
3667
  font-weight:var(--font-weight-bold);
3667
3668
  }
3668
3669
  .mobius-quote-card{
3670
+ display:grid;
3671
+ grid-template-areas:"header" "pricing" "coverage" "actions";
3672
+ grid-auto-rows:auto;
3673
+ padding:var(--size-lg) var(--size-sm);
3674
+ font-size:var(--font-size-regular);
3675
+ height:100%;
3669
3676
  margin:0;
3670
3677
  border:1px solid var(--color-border);
3671
3678
  border-radius:var(--radius-2);
3672
3679
  background-color:var(--color-background);
3673
3680
  list-style:none;
3674
3681
  }
3675
- .mobius-quote-card__body{
3676
- padding:var(--size-lg) var(--size-sm);
3677
- font-size:var(--font-size-regular);
3678
- height:100%;
3682
+ @supports (grid-template-rows: subgrid){
3683
+ .mobius-quote-card{
3684
+ grid-template-rows:subgrid;
3685
+ grid-row:span 4;
3679
3686
  }
3687
+ }
3688
+ @media (max-width: 849.99px), (min-width: 1024px){
3689
+ @supports (grid-template-rows: subgrid){
3690
+ .mobius-quote-card > :not(:first-child){
3691
+ margin-top:calc(-1 * var(--size-sm));
3692
+ }
3693
+ }
3694
+ }
3680
3695
  @media (min-width: 850px) and (max-width: 1023px){
3681
- .mobius-quote-card__body{
3682
- display:grid;
3683
- grid-template-areas:"header information pricing" "header information actions";
3684
- grid-template-columns:1fr 1fr 1fr;
3685
- grid-template-rows:auto auto;
3696
+ .mobius-quote-card{
3697
+ grid-template-areas:"header coverage pricing" "header coverage actions";
3698
+ grid-template-columns:repeat(3, 1fr);
3699
+ grid-template-rows:repeat(2, auto);
3686
3700
  row-gap:49px;
3687
3701
  padding:var(--size-lg);
3702
+ grid-row:span 1;
3688
3703
  }
3689
3704
  }
3690
- @supports (-webkit-touch-callout: none) and (not (translate: none)){
3691
- .mobius-quote-card__body > *:not(:last-child){
3692
- margin-bottom:33px;
3693
- }
3705
+ .--is-horizontal .mobius-quote-card{
3706
+ grid-template-areas:"header" "pricing" "actions" "coverage";
3694
3707
  }
3708
+ @media (min-width: 850px){
3709
+ .--is-horizontal .mobius-quote-card{
3710
+ grid-template-areas:"header coverage pricing" "header coverage actions";
3711
+ grid-template-columns:repeat(3, 1fr);
3712
+ grid-template-rows:repeat(2, auto);
3713
+ row-gap:49px;
3714
+ padding:var(--size-lg);
3715
+ grid-row:span 1;
3716
+ }
3717
+ }
3695
3718
  .mobius-quote-card__no-quote{
3696
3719
  gap:var(--size-lg);
3697
3720
  padding:var(--size-sm);
@@ -3752,7 +3775,7 @@ svg:not(:host).svg-inline--mobius-icon{
3752
3775
  }
3753
3776
  .mobius-quote-card__coverage{
3754
3777
  flex-grow:1;
3755
- grid-area:information;
3778
+ grid-area:coverage;
3756
3779
  border-top:1px solid var(--color-border-light);
3757
3780
  padding-top:var(--size-sm);
3758
3781
  margin-bottom:var(--size-md);
@@ -3780,6 +3803,15 @@ svg:not(:host).svg-inline--mobius-icon{
3780
3803
  margin:0;
3781
3804
  font-size:var(--font-size-small-paragraph);
3782
3805
  }
3806
+ @media (min-width: 850px){
3807
+ .--is-horizontal .mobius-quote-card__coverage{
3808
+ border-top:none;
3809
+ border-right:1px solid var(--color-border-light);
3810
+ padding-right:var(--size-sm);
3811
+ margin-bottom:0;
3812
+ margin-right:var(--size-sm);
3813
+ }
3814
+ }
3783
3815
  .mobius-quote-card__coverage-title.mobius-text{
3784
3816
  margin:0 0 16px 0;
3785
3817
  text-transform:uppercase;
@@ -3894,6 +3926,15 @@ svg:not(:host).svg-inline--mobius-icon{
3894
3926
  padding-right:var(--size-sm);
3895
3927
  }
3896
3928
  }
3929
+ @media (min-width: 850px){
3930
+ .--is-horizontal .mobius-quote-card__header{
3931
+ border-right:1px solid var(--color-border-light);
3932
+ border-bottom:none;
3933
+ margin-bottom:0;
3934
+ margin-right:var(--size-sm);
3935
+ padding-right:var(--size-sm);
3936
+ }
3937
+ }
3897
3938
  @supports (-webkit-touch-callout: none) and (not (translate: none)){
3898
3939
  .mobius-quote-card__header-logo{
3899
3940
  margin-bottom:var(--size-xxs);
@@ -4052,8 +4093,13 @@ svg:not(:host).svg-inline--mobius-icon{
4052
4093
  justify-content:flex-end;
4053
4094
  margin-top:0;
4054
4095
  margin-bottom:var(--size-sm);
4055
- min-height:86px;
4096
+ justify-self:end;
4056
4097
  }
4098
+ @supports not (grid-template-rows: subgrid){
4099
+ .mobius-quote-card__ratings{
4100
+ min-height:86px;
4101
+ }
4102
+ }
4057
4103
  .mobius-quote-card__ratings.--has-reinsurer-text{
4058
4104
  padding-top:var(--size-sm);
4059
4105
  }
@@ -4100,6 +4146,9 @@ svg:not(:host).svg-inline--mobius-icon{
4100
4146
  --column-count:3;
4101
4147
  }
4102
4148
  }
4149
+ .mobius-quote-cards__grid.--is-horizontal{
4150
+ --column-count:1;
4151
+ }
4103
4152
  .mobius-quote-card__section{
4104
4153
  position:relative;
4105
4154
  font-size:var(--font-size-regular);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-simplybusiness",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "main": "dist/index.css",
5
5
  "simplyBusiness": {
6
6
  "publishToPublicNpm": true
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "@simplybusiness/mobius": "^5.2.0",
30
30
  "@simplybusiness/mobius-datepicker": "^6.0.5",
31
- "@simplybusiness/mobius-journey": "^6.5.0",
31
+ "@simplybusiness/mobius-journey": "^6.6.0",
32
32
  "@simplybusiness/theme-core": "^7.1.3"
33
33
  },
34
34
  "devDependencies": {