@phillips/seldon 1.73.2 → 1.74.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.
@@ -34,7 +34,6 @@
34
34
 
35
35
  & > &__submenu {
36
36
  align-items: flex-start;
37
- border-top: 1px solid $light-gray;
38
37
  height: fit-content;
39
38
  max-height: 0;
40
39
  opacity: 0;
@@ -44,14 +43,12 @@
44
43
  right: 0;
45
44
  top: calc($header-height + 1px);
46
45
  transition:
47
- max-height 0.2s ease-in-out,
48
- opacity 0s ease-in-out 0.2s,
49
- z-index 0s ease-in-out 0.2s;
46
+ max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
47
+ opacity 0.2s cubic-bezier(0.65, 0, 0.35, 1);
50
48
  width: 100%;
51
- z-index: -1;
52
49
  .#{$px}-nav__list__section {
53
50
  opacity: 0;
54
- transition: opacity 0.5s ease-in-out;
51
+ transition: opacity 0.3s cubic-bezier(0.33, 1, 0.68, 1);
55
52
  }
56
53
  }
57
54
 
@@ -60,10 +57,7 @@
60
57
  max-height: 700px;
61
58
  opacity: 1;
62
59
  pointer-events: all;
63
- transition:
64
- max-height 0.25s ease-in-out,
65
- z-index 0s ease-in-out 0.25s;
66
- z-index: 1;
60
+ transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
67
61
 
68
62
  .#{$px}-nav__list__section {
69
63
  opacity: 1;
@@ -1,7 +1,7 @@
1
1
  @use '../../../allPartials' as *;
2
2
 
3
- $opacity-transition: opacity 0.25s ease-in;
4
- $top-transition: top 0.25s ease-in 0.1s;
3
+ $opacity-transition: opacity 0.2s cubic-bezier(0.65, 0, 0.35, 1);
4
+ $top-transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
5
5
 
6
6
  .#{$px}-nav__list {
7
7
  align-items: flex-start;
@@ -1,5 +1,7 @@
1
1
  @use '../../allPartials' as *;
2
2
 
3
+ $social_icon_height: 1.75rem;
4
+
3
5
  .#{$px}-social {
4
6
  align-items: center;
5
7
  display: inline-flex;
@@ -33,6 +35,10 @@
33
35
  text-align: left;
34
36
  text-decoration: underline;
35
37
 
38
+ &.#{$px}-social__button {
39
+ font-variation-settings: 'wght' 600;
40
+ }
41
+
36
42
  &:hover {
37
43
  background-color: unset;
38
44
  color: unset;
@@ -44,31 +50,39 @@
44
50
  }
45
51
  }
46
52
 
47
- ul {
48
- align-items: center;
49
- border-top: 1px solid #eae8e4;
50
- display: flex;
51
- gap: 0 1.25rem;
52
- justify-content: center;
53
- list-style: none;
54
- margin: $spacing-md 0 0;
55
- padding: $spacing-sm 0 0;
56
- width: 100%;
57
-
58
- @include media($size-md) {
59
- gap: 0 1rem;
60
- justify-content: flex-start;
61
- margin: $spacing-md 0 $spacing-md;
53
+ &.#{$px}-social {
54
+ ul {
55
+ align-items: center;
56
+ border-top: 1px solid #eae8e4;
57
+ display: flex;
58
+ gap: 0 1.75rem;
59
+ justify-content: center;
60
+ list-style: none;
61
+ margin: $spacing-md 0 0;
62
62
  padding: $spacing-sm 0 0;
63
63
  width: 100%;
64
- }
65
64
 
66
- li {
67
- cursor: pointer;
65
+ @include media($size-md) {
66
+ gap: 0 2rem;
67
+ justify-content: flex-start;
68
+ margin: $spacing-md 0 $spacing-md;
69
+ padding: $spacing-sm 0 0;
70
+ width: 100%;
71
+ }
72
+
73
+ li {
74
+ cursor: pointer;
75
+ height: $social_icon_height;
76
+
77
+ svg {
78
+ height: $social_icon_height;
79
+ width: $social_icon_height;
80
+ }
81
+ }
68
82
  }
69
- }
70
83
 
71
- a {
72
- display: inline-block;
84
+ a {
85
+ display: inline-block;
86
+ }
73
87
  }
74
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.73.2",
3
+ "version": "1.74.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"