@phillips/seldon 1.195.0 → 1.195.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.
@@ -505,3 +505,8 @@ $mobile-minimum-clickable-area: 44px;
505
505
  ///
506
506
  $search-size: var(--search-size);
507
507
  $header-height: var(--header-height);
508
+
509
+ /// Drawer min height Token
510
+ /// Used to ensure the drawer button area is always at least the minimum height
511
+ /// This is calculated as the (button label height) + (Drawer panel padding) + (Button's internal padding)
512
+ $drawer-button-area-min-height: calc($button-label-line-height + $spacing-md * 2 + $spacing-sm * 2);
@@ -505,6 +505,11 @@ $mobile-minimum-clickable-area: 44px;
505
505
  ///
506
506
  $search-size: var(--search-size);
507
507
  $header-height: var(--header-height);
508
+
509
+ /// Drawer min height Token
510
+ /// Used to ensure the drawer button area is always at least the minimum height
511
+ /// This is calculated as the (button label height) + (Drawer panel padding) + (Button's internal padding)
512
+ $drawer-button-area-min-height: calc($button-label-line-height + $spacing-md * 2 + $spacing-sm * 2);
508
513
  `;
509
514
  export {
510
515
  e as default
@@ -36,6 +36,10 @@
36
36
  padding: $spacing-md;
37
37
  width: 100%;
38
38
 
39
+ @media (min-width: $breakpoint-md) {
40
+ min-height: $drawer-button-area-min-height;
41
+ }
42
+
39
43
  @media (min-width: $breakpoint-xl) {
40
44
  gap: 0;
41
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.195.0",
3
+ "version": "1.195.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"