@simplybusiness/theme-simplybusiness 1.22.3 → 1.22.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,34 @@
1
1
  # @simplybusiness/theme-simplybusiness
2
2
 
3
+ ## 1.22.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [684af7a]
8
+ - Updated dependencies [3fe112a]
9
+ - Updated dependencies [84d277b]
10
+ - @simplybusiness/mobius-interventions@1.64.0
11
+ - @simplybusiness/mobius-journey@8.34.1
12
+
13
+ ## 1.22.4
14
+
15
+ ### Patch Changes
16
+
17
+ - fc78088: chore: add missing dependencies
18
+ - c7a4ec3: chore: hoist custom css properties to variables files and remove colocated definitions
19
+ - Updated dependencies [fc78088]
20
+ - Updated dependencies [c62940a]
21
+ - Updated dependencies [c7a4ec3]
22
+ - Updated dependencies [0466afa]
23
+ - Updated dependencies [4de5d05]
24
+ - Updated dependencies [e077113]
25
+ - @simplybusiness/mobius-interventions@1.63.0
26
+ - @simplybusiness/mobius-datepicker@6.7.0
27
+ - @simplybusiness/mobius-chatbot@1.4.12
28
+ - @simplybusiness/mobius-journey@8.34.0
29
+ - @simplybusiness/theme-core@7.8.3
30
+ - @simplybusiness/mobius@5.29.3
31
+
3
32
  ## 1.22.3
4
33
 
5
34
  ### Patch Changes
package/dist/index.css CHANGED
@@ -143,16 +143,6 @@ h6.mobius-accordion__link-text,
143
143
  margin-left:var(--size-xs);
144
144
  margin-right:var(--size-xs);
145
145
  }
146
- :root,
147
- :host{
148
- --button-primary-font-variation:normal;
149
- --button-primary-color:var(--color-primary);
150
- --button-primary-content-color:var(--color-text-inverted);
151
- --button-primary-hover-color:var(--color-primary-hover);
152
- --button-secondary-color:var(--color-secondary);
153
- --button-secondary-hover-color:var(--color-secondary-hover);
154
- --button-border-radius:var(--radius-1);
155
- }
156
146
  .mobius-button{
157
147
  box-sizing:border-box;
158
148
  display:inline-block;
@@ -456,18 +446,6 @@ a.mobius-button:focus-visible,
456
446
  .mobius-checkbox-group:where(.--is-optional) > :where(.mobius-label)::after{
457
447
  content:" (optional)";
458
448
  }
459
- :root,
460
- :host{
461
- --combobox-border-color:#ccc;
462
- --combobox-group-color:var(--color-text);
463
- --combobox-group-background-color:#dad6f7;
464
- --combobox-selected-background-color:var(--color-primary);
465
- --listbox-height:min-content;
466
- --listbox-max-height:350px;
467
- --listbox-max-height-mobile:240px;
468
- --listbox-gap:4px;
469
- --option-padding:var(--size-xs) var(--size-lg);
470
- }
471
449
  .mobius-combobox{
472
450
  interpolate-size:allow-keywords;
473
451
  position:relative;
@@ -733,10 +711,6 @@ a.mobius-button:focus-visible,
733
711
  font-family:var(--font-family);
734
712
  overflow-y:auto;
735
713
  }
736
- :root,
737
- :host{
738
- --dropdown-menu-max-width:200px;
739
- }
740
714
  .mobius-dropdown-menu{
741
715
  position:relative;
742
716
  max-width:var(--dropdown-menu-max-width);
@@ -855,11 +829,6 @@ a.mobius-button:focus-visible,
855
829
  transform:rotate(1turn);
856
830
  }
857
831
  }
858
- :root,
859
- :host{
860
- --label-font-weight:var(--font-weight-bold);
861
- --label-font-variation-settings:normal;
862
- }
863
832
  .mobius-label{
864
833
  box-sizing:border-box;
865
834
  font-size:var(--font-size-regular);
@@ -951,17 +920,11 @@ a.mobius-button:focus-visible,
951
920
  .mobius-loading-indicator{
952
921
  color:var(--color-primary);
953
922
  }
954
- :root,
955
- :host,
956
- ::backdrop{
957
- --modal-transition-duration:0;
958
- --backdrop-color:#18181d;
959
- }
960
- @media (prefers-reduced-motion: no-preference){
923
+ @media (prefers-reduced-motion: ){
961
924
  :root,
962
925
  :host,
963
926
  ::backdrop{
964
- --modal-transition-duration:300ms;
927
+ --modal-transition-duration:0;
965
928
  }
966
929
  }
967
930
  .mobius-modal{
@@ -1094,10 +1057,6 @@ a.mobius-button:focus-visible,
1094
1057
  margin:var(--size-md) 0;
1095
1058
  }
1096
1059
  }
1097
- :root,
1098
- :host{
1099
- --number-input-max-width:none;
1100
- }
1101
1060
  .mobius-number-field{
1102
1061
  box-sizing:border-box;
1103
1062
  width:100%;
@@ -1372,10 +1331,6 @@ a.mobius-button:focus-visible,
1372
1331
  margin-bottom:var(--size-xs);
1373
1332
  padding-top:calc(var(--size-xxs) - 1px);
1374
1333
  }
1375
- :root,
1376
- :host{
1377
- --segment-border:var(--size-border-width) solid var(--color-border-light);
1378
- }
1379
1334
  .mobius-segment-group{
1380
1335
  box-sizing:border-box;
1381
1336
  display:flex;
@@ -1501,10 +1456,6 @@ a.mobius-button:focus-visible,
1501
1456
  margin:0;
1502
1457
  margin-bottom:var(--size-sm);
1503
1458
  }
1504
- :root,
1505
- :host{
1506
- --select-wrapper-max-width:none;
1507
- }
1508
1459
  .mobius-select__outer{
1509
1460
  box-sizing:border-box;
1510
1461
  width:100%;
@@ -1575,14 +1526,6 @@ a.mobius-button:focus-visible,
1575
1526
  .mobius-select__icon.--is-invalid{
1576
1527
  color:var(--color-error);
1577
1528
  }
1578
- :root,
1579
- :host{
1580
- --slider-primary-track-background:var(--color-primary-lighter);
1581
- --slider-primary-thumb-background:var(--color-primary);
1582
- --slider-secondary-track-background:var(--color-accent-lighter);
1583
- --slider-secondary-thumb-background:var(--color-accent);
1584
- --thumb-size:20px;
1585
- }
1586
1529
  .mobius-slider{
1587
1530
  position:relative;
1588
1531
  display:grid;
@@ -1700,10 +1643,6 @@ a.mobius-button:focus-visible,
1700
1643
  .mobius-stack.--gap-xl{
1701
1644
  gap:var(--size-xl);
1702
1645
  }
1703
- :root,
1704
- :host{
1705
- --switch-transition-duration:0.15s;
1706
- }
1707
1646
  .mobius-switch{
1708
1647
  position:relative;
1709
1648
  display:inline-block;
@@ -1759,10 +1698,6 @@ a.mobius-button:focus-visible,
1759
1698
  .mobius-switch--disabled.mobius-switch--checked .mobius-switch__slider{
1760
1699
  background-color:var(--color-primary-light);
1761
1700
  }
1762
- :root,
1763
- :host{
1764
- --table-border-width:1px;
1765
- }
1766
1701
  .mobius-table{
1767
1702
  display:table;
1768
1703
  box-sizing:border-box;
@@ -1939,10 +1874,6 @@ a.mobius-button:focus-visible,
1939
1874
  box-sizing:border-box;
1940
1875
  width:100%;
1941
1876
  }
1942
- :root,
1943
- :host{
1944
- --text-input-max-width:none;
1945
- }
1946
1877
  .mobius-text-field{
1947
1878
  box-sizing:border-box;
1948
1879
  width:100%;
@@ -2067,10 +1998,6 @@ a.mobius-button:focus-visible,
2067
1998
  .mobius-text-field__input.--is-disabled{
2068
1999
  cursor:not-allowed;
2069
2000
  }
2070
- :root,
2071
- :host{
2072
- --title-decorator-width:8px;
2073
- }
2074
2001
  .mobius-title{
2075
2002
  display:flex;
2076
2003
  padding-left:var(--size-sm);
@@ -2570,7 +2497,7 @@ svg:not(:host).svg-inline--mobius-icon{
2570
2497
  --listbox-gap:4px;
2571
2498
  --option-padding:var(--size-xs) var(--size-lg);
2572
2499
  --drawer-transition-duration:200ms;
2573
- --modal-transition-duration:0;
2500
+ --modal-transition-duration:300ms;
2574
2501
  --backdrop-color:#18181d;
2575
2502
  --label-color:var(--color-text);
2576
2503
  --label-font-weight:var(--font-weight-bold);
@@ -3159,16 +3086,6 @@ svg:not(:host).svg-inline--mobius-icon{
3159
3086
  line-height:var(--line-height-normal);
3160
3087
  }
3161
3088
  }
3162
- :root,
3163
- :host{
3164
- --header-border-color:transparent;
3165
- --header-logo:url("data:image/svg+xml,%3Csvg width%3D%22143%22 height%3D%2241%22 fill%3D%22none%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg clip-path%3D%22url%28%23a%29%22%3E%3Cpath d%3D%22M72.703 12.73c0-2.694-2.15-3.619-4.047-4.433-1.408-.605-2.618-1.12-2.618-2.24 0-.938.815-1.544 2.075-1.544 1.113 0 1.904.48 2.433.79.202.109.505.242.79.15a.875.875 0 0 0 .49-.48l.362-.678c.276-.517.179-.96-.29-1.3-.56-.425-1.976-1.133-3.744-1.133-2.892 0-4.912 1.782-4.912 4.334 0 2.614 2.126 3.563 4.003 4.4 1.43.64 2.66 1.189 2.66 2.34 0 .951-.8 1.564-2.034 1.564-1.364 0-2.346-.7-2.828-1.038l-.024-.018c-.57-.32-.957-.26-1.298.216l-.441.656c-.47.656-.157 1.072.14 1.331a7.618 7.618 0 0 0 4.451 1.501c2.845 0 4.832-1.816 4.832-4.418ZM77.396 15.937V7.182c0-.621-.329-.96-.925-.96h-.887c-.596 0-.924.342-.924.96v8.755c0 .63.313.96.924.96h.887c.604.005.925-.33.925-.96ZM75.553 5.04h.804c.554 0 .859-.305.859-.857v-.56c0-.557-.313-.875-.859-.875h-.804c-.541 0-.84.31-.84.875v.557c.005.555.303.86.84.86ZM97.922 26.956h.804c.553 0 .858-.304.858-.856v-.56c0-.557-.312-.875-.858-.875h-.804c-.542 0-.84.31-.84.875v.56c.001.552.3.856.84.856ZM91.3 5.972c-1.623 0-2.539 1.035-3.12 2.053-.47-1.344-1.515-2.053-3.038-2.053-1.446 0-2.264.96-2.882 1.944V7.18c0-.62-.328-.96-.924-.96h-.782c-.596 0-.925.342-.925.96v8.757c0 .63.321.96.925.96h.887c.604 0 .923-.335.923-.96v-3.84c0-2.429.938-3.536 2.174-3.536 1.059 0 1.272.763 1.272 1.995v5.38c0 .623.334.96.938.96h.886c.605 0 .924-.334.924-.96v-3.84c0-2.428.92-3.535 2.134-3.535 1.095 0 1.31.8 1.31 1.995v5.38c0 .631.328.96.94.96h.866c.608 0 .938-.342.938-.96V10.06c.016-2.714-1.15-4.088-3.446-4.088ZM102.724 17.148c2.833 0 4.81-2.298 4.81-5.589 0-3.342-1.877-5.587-4.669-5.587a3.793 3.793 0 0 0-1.809.412 3.89 3.89 0 0 0-1.414 1.225v-.571c0-.498-.361-.82-.923-.82h-.64c-.602 0-.94.35-.94.96v12.866c0 .622.335.96.94.96h.864c.626 0 .939-.334.939-.96v-3.696c0-.229-.011-.427-.024-.58.34.442.775.797 1.273 1.037.498.24 1.043.357 1.593.343Zm-2.925-5.526c0-1.48.655-3.208 2.503-3.208 1.459 0 2.44 1.28 2.44 3.187 0 1.881-.997 3.147-2.48 3.147-1.617 0-2.463-1.573-2.463-3.126ZM113.505 16.02v-.7c0-.48-.26-.788-.712-.84-.355-.038-.718-.204-.718-1.153V3.071c0-.611-.336-.96-.925-.96h-.885c-.596 0-.924.343-.924.96v10.461c0 1.366.366 2.338 1.095 2.891.677.522 1.542.581 2.133.581s.936-.344.936-.984ZM123.489 6.218h-1.009c-.549 0-.888.26-1.04.788l-1.81 5.368c-.098.334-.203.77-.27 1.06a16.883 16.883 0 0 0-.313-1.107l-1.929-5.342c-.178-.523-.508-.767-1.04-.767h-1.095c-.444 0-.651.178-.746.32-.096.143-.168.412.011.82l3.891 9.27-.351.894c-.263.64-.808 1.335-1.541 1.335a1.59 1.59 0 0 1-.684-.176h-.017c-.454-.11-.806.072-1.02.531l-.18.448a.975.975 0 0 0-.061.782.834.834 0 0 0 .498.464c.464.2.96.308 1.464.32 1.72 0 3.147-1.054 3.798-2.817l4.223-11.061c.11-.32.094-.608-.048-.811-.143-.203-.393-.319-.731-.319ZM71.486 31.086c1.026-.64 1.635-1.79 1.635-3.125 0-2.346-1.779-3.863-4.537-3.863h-4.26c-.595 0-.924.343-.924.96v12.866c0 .63.313.96.925.96h4.33c1.418 0 2.637-.36 3.522-1.043.989-.76 1.51-1.898 1.51-3.291 0-1.63-.856-2.972-2.201-3.464Zm-5.319-1.028V26.58h2.38c1.073 0 1.713.64 1.713 1.707 0 1.067-.65 1.77-1.654 1.77l-2.438.001Zm4.657 4.335c0 1.245-.757 2.016-1.975 2.016h-2.674v-4.011h2.681c1.2 0 1.976.784 1.976 1.995h-.008ZM84.184 28.209h-.865c-.61 0-.938.342-.938.96v3.945c0 2.36-1.442 3.434-2.781 3.434-1.06 0-1.493-.59-1.493-2.037v-5.338c0-.622-.336-.96-.938-.96h-.867c-.599 0-.938.352-.938.96v5.877c0 2.72 1.232 4.088 3.663 4.088a4.062 4.062 0 0 0 1.97-.504 4.173 4.173 0 0 0 1.498-1.403v.698c0 .63.313.96.924.96h.783c.61 0 .938-.343.938-.96v-8.756c-.01-.612-.358-.964-.956-.964ZM91.533 32.462c-.966-.343-1.802-.64-1.802-1.28 0-.8.81-.927 1.292-.927.667.022 1.32.194 1.913.506.584.26 1.006.134 1.252-.373l.203-.374c.263-.56.136-1.028-.342-1.28a5.74 5.74 0 0 0-2.908-.773c-2.408 0-4.025 1.304-4.025 3.245 0 2.201 1.835 2.864 3.308 3.396.96.346 1.787.64 1.787 1.27 0 .596-.51.96-1.332.96-.974 0-1.702-.404-2.19-.67l-.068-.038c-.559-.298-.951-.224-1.275.238l-.243.37a1.007 1.007 0 0 0-.19.782.843.843 0 0 0 .419.528 6.005 6.005 0 0 0 3.479 1.087c2.358 0 4.006-1.368 4.006-3.327.01-2.172-1.816-2.822-3.284-3.34ZM98.835 28.209h-.887c-.596 0-.924.342-.924.96v8.755c0 .63.313.96.924.96h.887c.604 0 .923-.333.923-.96v-8.75c0-.613-.336-.965-.923-.965ZM108.676 27.962a4.018 4.018 0 0 0-2.025.498 4.13 4.13 0 0 0-1.523 1.453v-.743c0-.622-.328-.96-.924-.96h-.782c-.596 0-.925.343-.925.96v8.756c0 .63.313.96.925.96h.886c.604 0 .925-.333.925-.96v-4.047c0-1.93 1.203-3.331 2.861-3.331 1.075 0 1.513.59 1.513 2.037v5.344c0 .62.336.96.938.96h.867c.616 0 .938-.333.938-.96V32.05c.01-2.712-1.229-4.088-3.674-4.088ZM119.735 27.962c-3.128 0-5.318 2.298-5.318 5.59 0 3.236 2.362 5.586 5.617 5.586a6.486 6.486 0 0 0 3.541-1.062c.469-.285.59-.754.313-1.29l-.239-.408c-.277-.499-.689-.608-1.252-.33h-.011a4.058 4.058 0 0 1-2.163.663c-1.631 0-2.787-1.046-2.972-2.675h6.155a.977.977 0 0 0 .688-.288c.184-.184.29-.435.296-.698-.006-3.088-1.832-5.088-4.655-5.088Zm-.061 2.175c1.132 0 1.897.829 1.971 2.121h-4.327c.268-1.312 1.162-2.121 2.356-2.121ZM130.416 32.462c-.967-.343-1.802-.64-1.802-1.28 0-.8.808-.927 1.292-.927.666.022 1.32.194 1.913.506.583.26 1.006.134 1.251-.373l.204-.374c.262-.56.136-1.028-.343-1.28a5.74 5.74 0 0 0-2.908-.773c-2.407 0-4.026 1.304-4.026 3.245 0 2.201 1.836 2.864 3.31 3.396.959.346 1.786.64 1.786 1.27 0 .596-.512.96-1.333.96-.973 0-1.7-.404-2.18-.67l-.069-.038c-.559-.298-.951-.224-1.275.238l-.242.37a.997.997 0 0 0-.191.782.834.834 0 0 0 .419.528 6.006 6.006 0 0 0 3.479 1.087c2.359 0 4.006-1.368 4.006-3.327.003-2.172-1.824-2.822-3.291-3.34ZM139.706 32.462c-.967-.343-1.802-.64-1.802-1.28 0-.8.808-.927 1.29-.927a4.43 4.43 0 0 1 1.915.506c.583.26 1.006.134 1.251-.373l.205-.374c.263-.56.136-1.028-.344-1.28a5.722 5.722 0 0 0-2.906-.773c-2.408 0-4.027 1.304-4.027 3.245 0 2.201 1.837 2.864 3.31 3.396.959.346 1.787.64 1.787 1.27 0 .596-.512.96-1.332.96-.974 0-1.701-.404-2.19-.67l-.068-.038c-.56-.298-.953-.224-1.277.238l-.241.37a1.021 1.021 0 0 0-.191.782.835.835 0 0 0 .42.528 6.003 6.003 0 0 0 3.479 1.087c2.357 0 4.006-1.368 4.006-3.327.009-2.172-1.818-2.822-3.285-3.34Z%22 fill%3D%22%230E0A2B%22%2F%3E%3Cpath d%3D%22M24.04 24.6c.648 1.306.972 2.797.972 4.471.01 1.52-.277 3.025-.844 4.429a10.884 10.884 0 0 1-2.417 3.64c-1.048 1.043-2.369 1.866-3.962 2.467a14.853 14.853 0 0 1-5.275.893 17.608 17.608 0 0 1-6.648-1.237c-2.044-.825-3.691-1.725-4.942-2.699a2.857 2.857 0 0 1-.73-.826c-.128-.234-.191-.5-.183-.77a.699.699 0 0 1 0-.266c.034-.408.227-.842.574-1.303l1.198-1.73c.417-.584.87-.912 1.356-.983a.956.956 0 0 1 .235-.026c.429 0 .918.17 1.469.512 2.634 1.929 5.189 2.892 7.665 2.891 1.74 0 3.12-.409 4.14-1.227.486-.37.878-.854 1.144-1.41.265-.557.397-1.17.384-1.79a4.017 4.017 0 0 0-.6-2.149 5.765 5.765 0 0 0-1.62-1.707 19.23 19.23 0 0 0-2.366-1.389 70.772 70.772 0 0 0-2.797-1.3 68.755 68.755 0 0 1-2.91-1.362 19.955 19.955 0 0 1-2.768-1.67 14.455 14.455 0 0 1-2.346-2.08A8.36 8.36 0 0 1 1.16 15.22a10.182 10.182 0 0 1-.595-3.538c0-2.21.565-4.172 1.694-5.886a10.997 10.997 0 0 1 4.587-3.931C8.776.955 10.939.5 13.337.5a17.077 17.077 0 0 1 5.654.917c1.756.613 3.128 1.292 4.12 2.035.71.515 1.066 1.118 1.067 1.808a2.662 2.662 0 0 1-.392 1.304l-.97 1.776c-.4.797-.95 1.195-1.649 1.195a2.837 2.837 0 0 1-1.387-.433 29.67 29.67 0 0 0-1.782-1.018 11.32 11.32 0 0 0-2.107-.774 9.909 9.909 0 0 0-2.71-.38c-1.764 0-3.169.401-4.215 1.202a3.75 3.75 0 0 0-1.17 1.388 3.844 3.844 0 0 0-.394 1.788 3.864 3.864 0 0 0 .98 2.603 8.3 8.3 0 0 0 2.527 1.949 47.68 47.68 0 0 0 3.441 1.589 49.272 49.272 0 0 1 3.755 1.76 21.08 21.08 0 0 1 3.42 2.201 9.276 9.276 0 0 1 2.516 3.19Zm33.055 3.182c0 3.459-1.223 6.582-3.441 8.8-2.392 2.38-5.818 3.638-9.907 3.638H32.458c-2.576 0-4.52-1.986-4.52-4.62V5.405a4.72 4.72 0 0 1 .319-1.783c.22-.567.547-1.084.963-1.521.429-.425.936-.76 1.491-.985a4.447 4.447 0 0 1 1.747-.324h9.532c3.617 0 6.68 1.187 8.859 3.435 2.01 2.068 3.117 4.924 3.117 8.034 0 2.482-.661 4.542-2.022 6.286 1.393.781 2.585 1.89 3.477 3.234 1.106 1.691 1.674 3.71 1.674 6.002ZM44.29 19.474c.053-.032 5.201-3.27 5.201-7.212 0-1.898-.648-3.61-1.82-4.821-1.667-1.717-4.004-2.08-5.673-2.08h-9.574V35.636h11.312c2.896 0 5.239-.8 6.775-2.338 1.348-1.342 2.091-3.302 2.091-5.516 0-1.372-.313-2.536-.912-3.463V24.298c-1.44-2.537-7.233-4.086-7.29-4.1l-.886-.234.776-.49Z%22 fill%3D%22url%28%23b%29%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3ClinearGradient id%3D%22b%22 x1%3D%2247.666%22 y1%3D%2242.689%22 x2%3D%225.867%22 y2%3D%221.824%22 gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop stop-color%3D%22%234632D8%22%2F%3E%3Cstop offset%3D%221%22 stop-color%3D%22%239084E8%22%2F%3E%3C%2FlinearGradient%3E%3CclipPath id%3D%22a%22%3E%3Cpath fill%3D%22%23fff%22 transform%3D%22translate%280 .5%29%22 d%3D%22M0 0h143v40H0z%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E");
3166
- --header-background-color:var(--color-background);
3167
- --header-text-color:var(--color-text);
3168
- --header-link-color:var(--color-secondary);
3169
- --header-phone-icon-color:var(--color-secondary);
3170
- --header-powered-by-icon-color:var(--color-text-medium);
3171
- }
3172
3089
  .mobius-header{
3173
3090
  border-bottom:var(--size-border-width) solid var(--header-border-color);
3174
3091
  }
@@ -4113,11 +4030,6 @@ svg:not(:host).svg-inline--mobius-icon{
4113
4030
  .mobius-radio-buttons-question.--is-vertical .mobius-radio__label:not(:last-child){
4114
4031
  margin-bottom:var(--size-sm);
4115
4032
  }
4116
- :root,
4117
- :host{
4118
- --section-max-width:552px;
4119
- --questionnaire-list-icon:url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%22448%22 height%3D%22512%22 viewbox%3D%220 0 24 24%22%3E %3Cpath d%3D%22M448 130L431 147 177.5 399.2l-16.9 16.9-16.9-16.9L17 273.1 0 256.2l33.9-34 17 16.9L160.6 348.3 397.1 112.9l17-16.9L448 130z%22 fill%3D%22%23e943c9%22 %2F%3E%3C%2Fsvg%3E");
4120
- }
4121
4033
  .mobius-section{
4122
4034
  margin-bottom:var(--size-xxl);
4123
4035
  }
@@ -5552,10 +5464,6 @@ svg:not(:host).svg-inline--mobius-icon{
5552
5464
  .mobius-trust-section__list .mobius-list__item-content{
5553
5465
  align-items:center;
5554
5466
  }
5555
- :root,
5556
- :host{
5557
- --duration:0.15s;
5558
- }
5559
5467
  .mobius-payment-toggle{
5560
5468
  position:relative;
5561
5469
  display:grid;
@@ -5581,7 +5489,7 @@ svg:not(:host).svg-inline--mobius-icon{
5581
5489
  background-color:var(--color-primary);
5582
5490
  border-radius:50px;
5583
5491
  transform:translateX(2px);
5584
- transition:all var(--duration) ease-in-out;
5492
+ transition:all var(--payment-toggle-duration) ease-in-out;
5585
5493
  }
5586
5494
  .mobius-payment-toggle:active,.mobius-payment-toggle:hover,.mobius-payment-toggle:focus-visible{
5587
5495
  border-color:var(--color-primary-hover);
@@ -5616,7 +5524,7 @@ svg:not(:host).svg-inline--mobius-icon{
5616
5524
  padding:calc(var(--size-xs) - 1px);
5617
5525
  font-weight:var(--font-weight-bold);
5618
5526
  color:var(--color-text-inverted);
5619
- transition:color var(--duration) ease-in-out;
5527
+ transition:color var(--payment-toggle-duration) ease-in-out;
5620
5528
  }
5621
5529
  .mobius-payment-toggle__text.--yearly{
5622
5530
  color:var(--color-primary);
@@ -6210,10 +6118,6 @@ svg:not(:host).svg-inline--mobius-icon{
6210
6118
  .mobius-quote-details-form__buy_button{
6211
6119
  padding:10px 18px;
6212
6120
  }
6213
- :root,
6214
- :host{
6215
- --date-picker-day-size:38px;
6216
- }
6217
6121
  .mobius-date-picker__container{
6218
6122
  position:relative;
6219
6123
  }
@@ -7004,8 +6908,8 @@ svg:not(:host).svg-inline--mobius-icon{
7004
6908
  background-color:var(--color-background);
7005
6909
  }
7006
6910
  .mobius-discount-voucher-button.mobius-button:where(.--variant-secondary):where(:hover){
7007
- background-color:var(--button-variant-secondary-hover-color);
7008
- }
6911
+ background-color:var(--button-secondary-color);
6912
+ --button-content-color:var(--color-background)}
7009
6913
  .mobius-discount-voucher-button.discount-voucher__button--desktop{
7010
6914
  min-width:238px;
7011
6915
  text-align:center;
@@ -7552,6 +7456,7 @@ svg:not(:host).svg-inline--mobius-icon{
7552
7456
  --header-phone-icon-color:var(--color-secondary);
7553
7457
  --header-powered-by-icon-color:var(--color-text-medium);
7554
7458
  --header-gap:24px;
7459
+ --payment-toggle-duration:0.15s;
7555
7460
  --progress-steps-shape-size:44px;
7556
7461
  --progress-steps-shape-size-lg:64px;
7557
7462
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-simplybusiness",
3
- "version": "1.22.3",
3
+ "version": "1.22.5",
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": "^5.29.2",
30
- "@simplybusiness/mobius-chatbot": "^1.4.11",
31
- "@simplybusiness/mobius-datepicker": "^6.6.0",
32
- "@simplybusiness/mobius-interventions": "^1.62.0",
33
- "@simplybusiness/mobius-journey": "^8.33.3",
34
- "@simplybusiness/theme-core": "^7.8.2"
29
+ "@simplybusiness/mobius": "^5.29.3",
30
+ "@simplybusiness/mobius-chatbot": "^1.4.12",
31
+ "@simplybusiness/mobius-datepicker": "^6.7.0",
32
+ "@simplybusiness/mobius-interventions": "^1.64.0",
33
+ "@simplybusiness/mobius-journey": "^8.34.1",
34
+ "@simplybusiness/theme-core": "^7.8.3"
35
35
  },
36
36
  "devDependencies": {
37
37
  "css-loader": "^7.1.2",
@@ -49,6 +49,7 @@
49
49
  "sass": "^1.89.0",
50
50
  "sass-loader": "^16.0.5",
51
51
  "webpack": "^5.99.9",
52
- "webpack-cli": "^6.0.1"
52
+ "webpack-cli": "^6.0.1",
53
+ "webpack-remove-empty-scripts": "^1.1.1"
53
54
  }
54
55
  }
package/src/variables.css CHANGED
@@ -13,6 +13,9 @@
13
13
  --header-powered-by-icon-color: var(--color-text-medium);
14
14
  --header-gap: 24px;
15
15
 
16
+ /* Payment toggle */
17
+ --payment-toggle-duration: 0.15s;
18
+
16
19
  /* Progress Steps */
17
20
  --progress-steps-shape-size: 44px;
18
21
  --progress-steps-shape-size-lg: 64px;