@simplybusiness/theme-core 7.3.0 → 7.3.2

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,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [80e40ef]
8
+ - Updated dependencies [d64d502]
9
+ - Updated dependencies [691d321]
10
+ - Updated dependencies [d9efcc9]
11
+ - @simplybusiness/mobius@5.19.0
12
+
13
+ ## 7.3.1
14
+
15
+ ### Patch Changes
16
+
17
+ - 74b3c30: Move PersistentCartPaymentOptions from journey-components to mobius
18
+ - Updated dependencies [a54330c]
19
+ - Updated dependencies [74b3c30]
20
+ - @simplybusiness/mobius@5.18.0
21
+
3
22
  ## 7.3.0
4
23
 
5
24
  ### Minor Changes
package/dist/index.css CHANGED
@@ -543,7 +543,9 @@ a.mobius-button:focus-visible,
543
543
  --combobox-group-color:var(--color-text);
544
544
  --combobox-group-background-color:#dad6f7;
545
545
  --combobox-selected-background-color:var(--color-primary);
546
- --listbox-height:350px;
546
+ --listbox-height:min-content;
547
+ --listbox-max-height:350px;
548
+ --listbox-max-height-mobile:240px;
547
549
  --listbox-gap:4px;
548
550
  --option-padding:var(--size-xs) var(--size-lg);
549
551
  }
@@ -577,6 +579,11 @@ a.mobius-button:focus-visible,
577
579
  .mobius-combobox--is-expanded .mobius-combobox__list{
578
580
  opacity:1;
579
581
  height:var(--listbox-height);
582
+ max-height:var(--listbox-max-height);
583
+ }
584
+
585
+ .mobius-combobox--is-expanded.mobius-combobox--is-mobile .mobius-combobox__list{
586
+ max-height:var(--listbox-max-height-mobile);
580
587
  }
581
588
 
582
589
  .mobius-combobox__option{
@@ -718,8 +725,18 @@ a.mobius-button:focus-visible,
718
725
  height:var(--drawer-height);
719
726
  max-height:var(--drawer-height);
720
727
  transition:transform var(--drawer-transition-duration) ease-in-out;
728
+ padding-bottom:80px;
721
729
  }
722
730
 
731
+ @supports (height: 100dvh){
732
+
733
+ .mobius-drawer.--top,.mobius-drawer.--bottom{
734
+ height:100dvh;
735
+ max-height:100dvh;
736
+ padding-bottom:0;
737
+ }
738
+ }
739
+
723
740
  .mobius-drawer.--left,.mobius-drawer.--right{
724
741
  bottom:0;
725
742
  width:100%;
@@ -727,6 +744,16 @@ a.mobius-button:focus-visible,
727
744
  height:100vh;
728
745
  max-height:100vh;
729
746
  transition:transform var(--drawer-transition-duration) ease-in-out;
747
+ padding-bottom:80px;
748
+ }
749
+
750
+ @supports (height: 100dvh){
751
+
752
+ .mobius-drawer.--left,.mobius-drawer.--right{
753
+ height:100dvh;
754
+ max-height:100dvh;
755
+ padding-bottom:0;
756
+ }
730
757
  }
731
758
 
732
759
  .mobius-drawer:not(.--should-transition){
@@ -1434,12 +1461,14 @@ a.mobius-button:focus-visible,
1434
1461
  }
1435
1462
 
1436
1463
  .mobius-radio__input{
1464
+ position:relative;
1437
1465
  align-self:center;
1438
- appearance:none;
1439
1466
  margin:0 calc(var(--size-xs) + 2px) 0 0;
1440
- padding:3px;
1441
- outline:2px solid var(--color-primary-light);
1467
+ padding:var(--size-xs);
1468
+ border:2px solid var(--color-primary-light);
1442
1469
  border-radius:50%;
1470
+ -webkit-appearance:none;
1471
+ appearance:none;
1443
1472
  background-color:transparent;
1444
1473
  }
1445
1474
 
@@ -1448,12 +1477,14 @@ a.mobius-button:focus-visible,
1448
1477
  }
1449
1478
 
1450
1479
  .mobius-radio__input::after{
1480
+ position:absolute;
1451
1481
  content:"";
1452
1482
  display:block;
1453
1483
  width:10px;
1454
1484
  height:10px;
1455
1485
  border-radius:50%;
1456
- background-color:transparent;
1486
+ top:3px;
1487
+ left:3px;
1457
1488
  }
1458
1489
 
1459
1490
  .mobius-radio__input:checked::after{
@@ -1461,7 +1492,7 @@ a.mobius-button:focus-visible,
1461
1492
  }
1462
1493
 
1463
1494
  .mobius-radio__input:disabled{
1464
- outline-color:var(--color-border-medium);
1495
+ border-color:var(--color-border-medium);
1465
1496
  }
1466
1497
 
1467
1498
  .mobius-radio__input:disabled:checked::after{
@@ -1508,7 +1539,7 @@ a.mobius-button:focus-visible,
1508
1539
  }
1509
1540
 
1510
1541
  .mobius-radio__label.--is-selected:not(.--is-invalid .mobius-radio__label):not(.--is-disabled) .mobius-radio__input{
1511
- outline-color:var(--color-primary-light);
1542
+ border-color:var(--color-primary-light);
1512
1543
  }
1513
1544
 
1514
1545
  :is(.mobius-radio__label.--is-selected:not(.--is-invalid .mobius-radio__label):not(.--is-disabled) .mobius-radio__input):checked::after{
@@ -1521,7 +1552,7 @@ a.mobius-button:focus-visible,
1521
1552
  }
1522
1553
 
1523
1554
  .mobius-radio__label:hover:not(.--is-disabled):not(.--is-invalid .mobius-radio__label) .mobius-radio__input{
1524
- outline-color:var(--color-primary);
1555
+ border-color:var(--color-primary);
1525
1556
  }
1526
1557
 
1527
1558
  :is(.mobius-radio__label:hover:not(.--is-disabled):not(.--is-invalid .mobius-radio__label) .mobius-radio__input):checked::after{
@@ -1538,7 +1569,7 @@ a.mobius-button:focus-visible,
1538
1569
  }
1539
1570
 
1540
1571
  .mobius-radio__label:focus-within:not(.--is-disabled):not(.--is-invalid .mobius-radio__label:focus-within:not(.--is-disabled)) .mobius-radio__input{
1541
- outline-color:var(--color-primary);
1572
+ border-color:var(--color-primary);
1542
1573
  }
1543
1574
 
1544
1575
  :is(.mobius-radio__label:focus-within:not(.--is-disabled):not(.--is-invalid .mobius-radio__label:focus-within:not(.--is-disabled)) .mobius-radio__input):checked::after{
@@ -1560,7 +1591,7 @@ a.mobius-button:focus-visible,
1560
1591
  }
1561
1592
 
1562
1593
  :is(.--is-invalid .mobius-radio__label:not(.--is-disabled)) .mobius-radio__input{
1563
- outline-color:var(--color-error);
1594
+ border-color:var(--color-error);
1564
1595
  }
1565
1596
 
1566
1597
  :is(:is(.--is-invalid .mobius-radio__label:not(.--is-disabled)) .mobius-radio__input):checked::after{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-core",
3
- "version": "7.3.0",
3
+ "version": "7.3.2",
4
4
  "main": "dist/index.css",
5
5
  "simplyBusiness": {
6
6
  "publishToPublicNpm": true
@@ -26,7 +26,7 @@
26
26
  "./fonts": "./dist/fonts.css"
27
27
  },
28
28
  "dependencies": {
29
- "@simplybusiness/mobius": "^5.17.0"
29
+ "@simplybusiness/mobius": "^5.19.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "css-loader": "^7.1.2",