@phillips/seldon 1.72.0 → 1.72.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.
@@ -83,8 +83,7 @@
83
83
  }
84
84
 
85
85
  @mixin media($breakpoint, $type: 'min') {
86
- @if $breakpoint == $size-sm {
87
- // $breakpoint-sm: 360px;
86
+ @if $breakpoint == $size-sm or $breakpoint == $breakpoint-sm {
88
87
  @if $type == 'min' {
89
88
  @media (min-width: $breakpoint-sm) {
90
89
  @content;
@@ -98,7 +97,7 @@
98
97
  }
99
98
  }
100
99
 
101
- @if $breakpoint == $size-md {
100
+ @if $breakpoint == $size-md or $breakpoint == $breakpoint-md {
102
101
  // $breakpoint-md: 961px;
103
102
  @if $type == 'min' {
104
103
  @media (min-width: $breakpoint-md) {
@@ -113,7 +112,7 @@
113
112
  }
114
113
  }
115
114
 
116
- @if $breakpoint == $size-lg {
115
+ @if $breakpoint == $size-lg or $breakpoint == $breakpoint-lg {
117
116
  // $breakpoint-lg: 1401px;
118
117
 
119
118
  @if $type == 'min' {
@@ -129,7 +128,7 @@
129
128
  }
130
129
  }
131
130
 
132
- @if $breakpoint == $size-xl {
131
+ @if $breakpoint == $size-xl or $breakpoint == $breakpoint-xl {
133
132
  // $breakpoint-xl: 1801px;
134
133
  @if $type == 'min' {
135
134
  @media (min-width: $breakpoint-xl) {
@@ -92,21 +92,21 @@
92
92
  display: flex;
93
93
  flex-direction: row;
94
94
  justify-content: space-between;
95
- opacity: 0.75;
96
95
 
97
96
  &--hoverable {
98
97
  cursor: pointer;
99
98
 
100
- &:hover {
101
- opacity: 1;
99
+ &:hover,
100
+ &:focus-visible {
101
+ opacity: 0.75;
102
102
  }
103
103
  }
104
104
 
105
105
  &__text {
106
106
  flex: auto;
107
+ font-variation-settings: 'wght' 600;
107
108
 
108
- @include text($body2);
109
- @include DistinctDisplay;
109
+ @include text($string2);
110
110
  }
111
111
 
112
112
  &__text--lg {
@@ -115,15 +115,41 @@
115
115
 
116
116
  &__icon {
117
117
  flex: initial;
118
- height: 1.5rem;
118
+ height: 0.875rem;
119
119
  width: 1.5rem;
120
120
  }
121
121
 
122
122
  &__icon--lg {
123
- height: 2rem;
123
+ height: 1.5rem;
124
124
  width: 2rem;
125
125
  }
126
126
 
127
+ @include media($breakpoint-md) {
128
+ &__icon {
129
+ flex: initial;
130
+ height: 1rem;
131
+ width: 1.5rem;
132
+ }
133
+
134
+ &__icon--lg {
135
+ height: 1.5rem;
136
+ width: 2rem;
137
+ }
138
+ }
139
+
140
+ @include media($breakpoint-xl) {
141
+ &__icon {
142
+ flex: initial;
143
+ height: 1.25rem;
144
+ width: 1.75rem;
145
+ }
146
+
147
+ &__icon--lg {
148
+ height: 2rem;
149
+ width: 3rem;
150
+ }
151
+ }
152
+
127
153
  &--blue-fill {
128
154
  filter: brightness(0) saturate(100%) invert(51%) sepia(72%) saturate(1698%) hue-rotate(191deg) brightness(95%)
129
155
  contrast(86%);
@@ -178,4 +178,10 @@
178
178
  width: 100%;
179
179
  }
180
180
  }
181
+
182
+ .#{$px}-accordion-item-label__icon {
183
+ // slightly larger in header mobile than default
184
+ height: 1rem;
185
+ width: 1.5rem;
186
+ }
181
187
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.72.0",
3
+ "version": "1.72.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"