@phillips/seldon 1.215.0 → 1.217.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.
Files changed (165) hide show
  1. package/dist/components/Accordion/Accordion.stories.d.ts +1 -1
  2. package/dist/components/Accordion/AccordionItem.js +101 -105
  3. package/dist/components/Accordion/types.d.ts +9 -3
  4. package/dist/components/Accordion/types.js +1 -1
  5. package/dist/components/Accordion/utils.d.ts +3 -3
  6. package/dist/components/Accordion/utils.js +7 -7
  7. package/dist/components/AddToCalendar/AddToCalendar.js +24 -25
  8. package/dist/components/Article/Article.js +17 -17
  9. package/dist/components/Breadcrumb/BreadcrumbItem.js +13 -13
  10. package/dist/components/Button/Button.d.ts +4 -0
  11. package/dist/components/Button/Button.js +71 -53
  12. package/dist/components/Button/Button.stories.d.ts +7 -1
  13. package/dist/components/ComboBox/ComboBox.js +33 -29
  14. package/dist/components/ComposedModal/ComposedModal.js +33 -33
  15. package/dist/components/ComposedModal/ComposedModal.stories.d.ts +1 -0
  16. package/dist/components/Countdown/Countdown.js +90 -51
  17. package/dist/components/Countdown/Duration.d.ts +3 -1
  18. package/dist/components/Countdown/Duration.js +17 -9
  19. package/dist/components/Countdown/types.d.ts +2 -1
  20. package/dist/components/Countdown/types.js +1 -1
  21. package/dist/components/DescriptiveRadioButton/DescriptiveRadioButton.js +21 -21
  22. package/dist/components/Detail/Detail.d.ts +2 -0
  23. package/dist/components/Detail/Detail.js +27 -16
  24. package/dist/components/Detail/Detail.stories.d.ts +35 -2
  25. package/dist/components/Detail/index.d.ts +1 -0
  26. package/dist/components/Detail/types.d.ts +5 -0
  27. package/dist/components/Detail/types.js +4 -0
  28. package/dist/components/Drawer/DrawerHeader.js +22 -20
  29. package/dist/components/ExitGateCard/ExitGateCard.js +29 -29
  30. package/dist/components/FavoritingTileButton/FavoritingTileButton.js +30 -31
  31. package/dist/components/Filter/Filter.js +36 -34
  32. package/dist/components/Filter/FilterHeader.d.ts +4 -0
  33. package/dist/components/Filter/FilterHeader.js +30 -22
  34. package/dist/components/Input/Input.js +43 -39
  35. package/dist/components/Input/Input.stories.d.ts +16 -0
  36. package/dist/components/Link/Link.js +17 -18
  37. package/dist/components/Link/Link.stories.d.ts +17 -1
  38. package/dist/components/Link/types.d.ts +9 -4
  39. package/dist/components/Link/types.js +3 -3
  40. package/dist/components/LinkBlock/LinkBlock.js +19 -11
  41. package/dist/components/Modal/Modal.d.ts +0 -4
  42. package/dist/components/Modal/Modal.js +6 -6
  43. package/dist/components/Navigation/NavigationItem/NavigationItem.js +31 -23
  44. package/dist/components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js +37 -39
  45. package/dist/components/Navigation/NavigationList/NavigationList.js +5 -5
  46. package/dist/components/Pagination/Pagination.js +22 -21
  47. package/dist/components/ProgressIndicator/ProgressIndicator.js +22 -22
  48. package/dist/components/Search/Search.js +55 -53
  49. package/dist/components/Search/SearchResults/SearchResults.js +16 -16
  50. package/dist/components/Select/Select.d.ts +4 -0
  51. package/dist/components/Select/Select.js +51 -45
  52. package/dist/components/Select/Select.stories.d.ts +1 -0
  53. package/dist/components/Tabs/TabsContainer.js +1 -1
  54. package/dist/components/Tags/Tags.js +32 -30
  55. package/dist/components/Text/Text.js +17 -9
  56. package/dist/components/Text/types.d.ts +42 -1
  57. package/dist/components/Text/types.js +3 -3
  58. package/dist/components/Text/utils.js +40 -7
  59. package/dist/components/TextArea/TextArea.js +38 -34
  60. package/dist/components/Toast/Toast.js +4 -4
  61. package/dist/index.js +192 -190
  62. package/dist/patterns/AccountPageHeader/AccountPageHeader.js +45 -28
  63. package/dist/patterns/BidSnapshot/BidMessage.d.ts +6 -1
  64. package/dist/patterns/BidSnapshot/BidMessage.js +14 -13
  65. package/dist/patterns/BidSnapshot/BidSnapshot.d.ts +11 -1
  66. package/dist/patterns/BidSnapshot/BidSnapshot.js +76 -64
  67. package/dist/patterns/BidSnapshot/BidSnapshot.stories.d.ts +114 -0
  68. package/dist/patterns/CountryPicker/CountryPickerCountryList.js +5 -5
  69. package/dist/patterns/CountryPicker/CountryPickerModal.js +8 -8
  70. package/dist/patterns/CountryPicker/CountryPickerOption.js +22 -20
  71. package/dist/patterns/CountryPicker/CountryPickerTrigger.js +39 -38
  72. package/dist/patterns/DetailList/DetailList.d.ts +7 -2
  73. package/dist/patterns/DetailList/DetailList.js +25 -24
  74. package/dist/patterns/DetailList/DetailList.stories.d.ts +1 -0
  75. package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.js +52 -52
  76. package/dist/patterns/FavoritesCollectionTile/FavoritesCollectionTile.stories.d.ts +1 -0
  77. package/dist/patterns/FiltersInline/FilterButton.js +41 -25
  78. package/dist/patterns/FiltersInline/FilterDropdownMenuDesktop.js +50 -52
  79. package/dist/patterns/FiltersInline/FilterDropdownMenuMobile.js +31 -31
  80. package/dist/patterns/HeroBanner/HeroBanner.js +21 -21
  81. package/dist/patterns/LanguageSelector/LanguageSelector.js +26 -28
  82. package/dist/patterns/ObjectTile/ObjectTile.js +66 -73
  83. package/dist/patterns/ObjectTile/ObjectTile.stories.d.ts +36 -0
  84. package/dist/patterns/PhoneNumberInput/PhoneNumberInput.js +7 -6
  85. package/dist/patterns/SaleCard/SaleCard.js +31 -39
  86. package/dist/patterns/SaleCard/SaleCard.stories.d.ts +1 -1
  87. package/dist/patterns/SaleCard/SaleCardActions.js +9 -8
  88. package/dist/patterns/SaleHeaderBanner/SaleHeaderBanner.js +49 -49
  89. package/dist/patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js +19 -12
  90. package/dist/patterns/Social/Social.js +22 -22
  91. package/dist/patterns/Subscribe/Subscribe.js +57 -55
  92. package/dist/patterns/Subscribe/Subscribe.stories.d.ts +0 -1
  93. package/dist/patterns/TextBanner/TextBanner.js +12 -12
  94. package/dist/patterns/UserManagement/UserManagement.js +13 -13
  95. package/dist/patterns/ViewingDetails/ViewingDetails.d.ts +4 -0
  96. package/dist/patterns/ViewingDetails/ViewingDetails.js +36 -34
  97. package/dist/patterns/ViewingDetails/ViewingDetails.stories.d.ts +2 -0
  98. package/dist/patterns/ViewingDetails/ViewingDetailsMock.d.ts +2 -0
  99. package/dist/scss/_reset.scss +4 -0
  100. package/dist/scss/_type.scss +172 -65
  101. package/dist/scss/_vars.scss +92 -197
  102. package/dist/scss/_vars.scss.js +94 -199
  103. package/dist/scss/componentStyles.scss +181 -0
  104. package/dist/scss/components/Accordion/_accordion.scss +14 -28
  105. package/dist/scss/components/AddToCalendar/_addToCalendar.scss +0 -4
  106. package/dist/scss/components/Breadcrumb/_breadcrumb.scss +8 -1
  107. package/dist/scss/components/Button/_button.scss +40 -7
  108. package/dist/scss/components/ComboBox/_combobox.scss +7 -5
  109. package/dist/scss/components/ComposedModal/_composedModal.scss +0 -4
  110. package/dist/scss/components/Countdown/_countdown.scss +8 -9
  111. package/dist/scss/components/Countdown/_duration.scss +0 -2
  112. package/dist/scss/components/DatePicker/_datePicker.scss +11 -10
  113. package/dist/scss/components/Detail/_detail.scss +15 -6
  114. package/dist/scss/components/Divider/_divider.scss +3 -3
  115. package/dist/scss/components/Drawer/_drawerHeader.scss +0 -7
  116. package/dist/scss/components/Dropdown/_dropdown.scss +2 -2
  117. package/dist/scss/components/FavoritingTileButton/_favoritingTileButton.scss +5 -0
  118. package/dist/scss/components/Filter/_filter.scss +13 -10
  119. package/dist/scss/components/Icon/_icon.stories.scss +1 -1
  120. package/dist/scss/components/IconButton/_iconButton.scss +3 -5
  121. package/dist/scss/components/Input/_input.scss +22 -14
  122. package/dist/scss/components/Link/_link.scss +29 -8
  123. package/dist/scss/components/LinkBlock/_linkBlock.scss +5 -1
  124. package/dist/scss/components/LinkList/_linkList.scss +6 -0
  125. package/dist/scss/components/Modal/_modal.scss +2 -2
  126. package/dist/scss/components/Navigation/NavigationItem/_navigationItem.scss +30 -14
  127. package/dist/scss/components/Navigation/NavigationItemTrigger/_navigationItemTrigger.scss +2 -2
  128. package/dist/scss/components/Navigation/NavigationList/_navigationList.scss +5 -4
  129. package/dist/scss/components/NotificationBanner/_notificationBanner.scss +10 -21
  130. package/dist/scss/components/Pagination/_pagination.scss +17 -1
  131. package/dist/scss/components/ProgressIndicator/_progressIndicator.scss +5 -0
  132. package/dist/scss/components/Search/SearchResults/_searchResults.scss +5 -0
  133. package/dist/scss/components/Search/_search.scss +3 -11
  134. package/dist/scss/components/Search/_searchButton.scss +0 -1
  135. package/dist/scss/components/Select/_select.scss +8 -3
  136. package/dist/scss/components/Tabs/_tabs.scss +1 -6
  137. package/dist/scss/components/Tags/_tags.scss +1 -2
  138. package/dist/scss/components/TextArea/_textArea.scss +2 -4
  139. package/dist/scss/components/TextSymbol/_textSymbol.scss +1 -4
  140. package/dist/scss/patterns/AccountPageHeader/_accountPageHeader.scss +4 -0
  141. package/dist/scss/patterns/BidSnapshot/_bidSnapshot.scss +12 -11
  142. package/dist/scss/patterns/CountryPicker/_countryPickerModal.scss +4 -0
  143. package/dist/scss/patterns/CountryPicker/_countryPickerOption.scss +3 -0
  144. package/dist/scss/patterns/CountryPicker/_countryPickerTrigger.scss +4 -7
  145. package/dist/scss/patterns/DetailList/_detailList.scss +8 -2
  146. package/dist/scss/patterns/FavoritesCollectionTile/_favoritesCollectionTile.scss +6 -8
  147. package/dist/scss/patterns/FilterMenu/_filterMenu.scss +2 -1
  148. package/dist/scss/patterns/FiltersInline/_filterButton.scss +12 -2
  149. package/dist/scss/patterns/FiltersInline/_filterDropdownMenu.scss +1 -9
  150. package/dist/scss/patterns/FiltersInline/_filtersInline.scss +5 -0
  151. package/dist/scss/patterns/HeroBanner/_heroBanner.scss +5 -6
  152. package/dist/scss/patterns/LanguageSelector/_languageSelector.scss +4 -0
  153. package/dist/scss/patterns/ObjectTile/_objectTile.scss +13 -12
  154. package/dist/scss/patterns/PhoneNumberInput/_phoneNumberInput.scss +9 -2
  155. package/dist/scss/patterns/SaleCard/_saleCard.scss +7 -23
  156. package/dist/scss/patterns/SaleHeaderBanner/_saleHeaderBanner.scss +16 -3
  157. package/dist/scss/patterns/Social/_social.scss +5 -1
  158. package/dist/scss/patterns/Subscribe/_subscribe.scss +0 -12
  159. package/dist/scss/patterns/TextBanner/_textBanner.scss +9 -3
  160. package/dist/scss/patterns/ViewingDetails/_viewingDetails.scss +15 -3
  161. package/dist/scss/site-furniture/Footer/_footer.scss +24 -4
  162. package/dist/scss/site-furniture/Header/_header.scss +12 -4
  163. package/dist/site-furniture/Footer/Footer.js +4 -4
  164. package/dist/site-furniture/Header/Header.js +76 -57
  165. package/package.json +4 -3
@@ -1,20 +1,21 @@
1
1
  @use '../../allPartials' as *;
2
2
 
3
3
  .#{$px}-button {
4
- @include bodyText;
5
- @include labelText($button);
4
+ // we need this because we can't be sure that the Text component is being used as a child of the Button component
5
+ @include text($labelMedium);
6
6
 
7
7
  align-items: center;
8
8
  background-color: $pure-black;
9
- border: 1px solid transparent;
9
+ border: 2px solid transparent;
10
10
  border-radius: $radius-3xl;
11
11
  color: $pure-white;
12
12
  cursor: pointer;
13
13
  display: inline-flex;
14
14
  font-variation-settings: 'wght' 600;
15
15
  gap: $margin-xsm;
16
+ height: 44px; // TODO: this is temporary as we will revisit the button in a new ticket
16
17
  justify-content: center;
17
- padding: $snw-button-padding $padding-sm;
18
+ padding: 0 $padding-sm;
18
19
  position: relative;
19
20
  transition:
20
21
  color 0.25s,
@@ -22,8 +23,13 @@
22
23
 
23
24
  svg {
24
25
  fill: $pure-white;
25
- height: $button-label-line-height;
26
- width: $button-label-line-height;
26
+ height: calc($font-size-label-small * 1.3);
27
+ width: calc($font-size-label-small * 1.3);
28
+
29
+ @include media($breakpoint-md) {
30
+ height: calc($font-size-label-small * 1.4);
31
+ width: calc($font-size-label-small * 1.4);
32
+ }
27
33
 
28
34
  path {
29
35
  fill: $pure-white;
@@ -31,6 +37,26 @@
31
37
  }
32
38
  }
33
39
 
40
+ &--primary,
41
+ &--secondary,
42
+ &--ghost,
43
+ &--tertiary {
44
+ &.#{$px}-link {
45
+ text-decoration: none;
46
+ }
47
+ }
48
+
49
+ &:not(.#{$px}-button--link) {
50
+ &.#{$px}-button--primary {
51
+ color: $white-100;
52
+ }
53
+
54
+ .#{$px}-text {
55
+ color: inherit;
56
+ font-variation-settings: inherit;
57
+ }
58
+ }
59
+
34
60
  &:hover {
35
61
  background-color: $button-hover;
36
62
 
@@ -55,17 +81,24 @@
55
81
  height: auto;
56
82
  padding: 0;
57
83
  text-decoration: underline;
84
+ .#{$px}-text {
85
+ font-variation-settings: 'wght' 400;
86
+ }
58
87
 
59
88
  &:hover {
60
89
  background-color: transparent;
61
90
  color: $pure-black;
91
+
92
+ .#{$px}-text {
93
+ cursor: pointer;
94
+ }
62
95
  }
63
96
  }
64
97
 
65
98
  &--secondary,
66
99
  &--ghost {
67
100
  background-color: $pure-white;
68
- border: 1px solid $pure-black;
101
+ border: 2px solid $pure-black;
69
102
  color: $pure-black;
70
103
  transition: border 0.3s ease-out;
71
104
  z-index: 0;
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  &__input {
26
- @include text($string2);
26
+ @include text($bodyMedium);
27
27
 
28
28
  accent-color: $black-100;
29
29
  border: 1px solid $black-100;
@@ -61,8 +61,6 @@
61
61
  }
62
62
 
63
63
  &__label {
64
- @include text($string2);
65
-
66
64
  color: $pure-black;
67
65
  display: inline-block;
68
66
  font-variation-settings: 'wght' 600;
@@ -146,7 +144,7 @@
146
144
  padding: $padding-micro $padding-xsm;
147
145
  transition: background-color 0.1s ease;
148
146
 
149
- @include text($string2);
147
+ @include text($bodyMedium);
150
148
 
151
149
  &:hover,
152
150
  &[data-selected='true'] {
@@ -168,8 +166,12 @@
168
166
  overflow: hidden;
169
167
  }
170
168
 
169
+ &__empty-validation {
170
+ line-height: $spacing-sm;
171
+ }
172
+
171
173
  &__item__invalid-text {
172
- @include text($string2);
174
+ @include text($bodySmall);
173
175
 
174
176
  align-items: center;
175
177
  display: flex;
@@ -12,10 +12,6 @@ $breakpoint-mobile-small: 450px;
12
12
  padding-bottom: $spacing-lg;
13
13
  }
14
14
 
15
- &__title {
16
- margin: $spacing-md $spacing-lg $spacing-sm;
17
- }
18
-
19
15
  &__body {
20
16
  margin: 0 $spacing-lg $spacing-md;
21
17
  max-height: var('--max-modal-body-height');
@@ -1,8 +1,6 @@
1
1
  @use '../../allPartials' as *;
2
2
 
3
3
  .#{$px}-countdown {
4
- @include text($body2);
5
-
6
4
  align-items: center;
7
5
  border-bottom: none;
8
6
  display: flex;
@@ -18,24 +16,25 @@
18
16
  }
19
17
 
20
18
  &__countdown-container {
21
- @include text($heading5);
22
-
23
19
  align-items: center;
24
20
  display: flex;
25
21
  flex-shrink: 0;
26
22
  gap: $spacing-sm;
27
23
  justify-content: center;
28
24
  text-transform: inherit;
25
+
26
+ .#{$px}-text {
27
+ font-variation-settings: 'wght' 600;
28
+ }
29
+
30
+ .#{$px}-duration {
31
+ font-variation-settings: 'wght' 600;
32
+ }
29
33
  }
30
34
 
31
35
  &--compact {
32
36
  .#{$px}-countdown__countdown-container {
33
37
  gap: $spacing-xsm;
34
-
35
- @include Montserrat;
36
- .#{$px}-duration {
37
- @include Montserrat;
38
- }
39
38
  }
40
39
  }
41
40
 
@@ -1,8 +1,6 @@
1
1
  @use '../../allPartials' as *;
2
2
 
3
3
  .#{$px}-duration {
4
- @include text($heading5);
5
-
6
4
  display: flex;
7
5
  gap: $spacing-micro;
8
6
  }
@@ -2,9 +2,11 @@
2
2
  @use '../../allPartials' as *;
3
3
  @import 'flatpickr/dist/flatpickr.css';
4
4
 
5
- .flatpickr-calendar {
6
- @include DistinctText;
5
+ .#{$px}-date-picker {
6
+ font-size: $font-size-body-medium;
7
+ }
7
8
 
9
+ .flatpickr-calendar {
8
10
  .flatpickr-day,
9
11
  .flatpickr-day.selected,
10
12
  .flatpickr-day:hover,
@@ -29,8 +31,6 @@
29
31
  font-variation-settings: 'wght' 700;
30
32
  position: relative;
31
33
 
32
- @include DistinctDisplay;
33
-
34
34
  &::after {
35
35
  background-color: $pure-black;
36
36
  bottom: 2px;
@@ -55,19 +55,20 @@
55
55
  .flatpickr-current-month,
56
56
  .flatpickr-monthDropdown-months,
57
57
  .flatpickr-current-month input.cur-year {
58
- @include DistinctDisplay;
59
-
60
- font-size: 1rem;
61
58
  text-transform: uppercase;
62
59
  }
63
60
 
64
61
  .flatpickr-weekday {
65
- @include DistinctDisplay;
66
-
67
62
  font-variation-settings: 'wght' 700;
68
63
  }
69
64
 
70
- .flatpickr-current-month {
65
+ .flatpickr-current-month.flatpickr-current-month {
66
+ @include text($labelLarge);
67
+
68
+ .cur-year {
69
+ @include text($labelLarge);
70
+ }
71
+
71
72
  padding: 0.65rem 0 0;
72
73
  }
73
74
 
@@ -8,15 +8,12 @@
8
8
  display: flex;
9
9
  gap: $spacing-md;
10
10
 
11
- @include text($string2);
12
-
13
- &__label {
11
+ &__label-section {
14
12
  flex-shrink: 0;
15
- font-variation-settings: 'wght' 600;
16
13
  width: 160px;
17
14
 
18
- @media (max-width: $breakpoint-lg) {
19
- width: 128px;
15
+ &--label.#{$px}-text {
16
+ font-variation-settings: 'wght' 600;
20
17
  }
21
18
 
22
19
  @media (max-width: $breakpoint-md) {
@@ -27,6 +24,14 @@
27
24
  width: 96px;
28
25
  }
29
26
 
27
+ &--has-sub-label {
28
+ width: 240px;
29
+
30
+ @media (max-width: $breakpoint-sm) {
31
+ width: 120px;
32
+ }
33
+ }
34
+
30
35
  &--no-wrap {
31
36
  width: unset;
32
37
 
@@ -48,6 +53,10 @@
48
53
  }
49
54
  }
50
55
 
56
+ &__sub-label {
57
+ text-wrap: nowrap;
58
+ }
59
+
51
60
  &__value {
52
61
  font-variation-settings: 'wght' 400;
53
62
  }
@@ -4,10 +4,10 @@
4
4
  margin: $spacing-sm 0;
5
5
 
6
6
  &-line {
7
- background-color: $keyline-gray;
7
+ background-color: $bg-border;
8
8
  border: none;
9
- border-top: 1px solid $keyline-gray;
10
- color: $keyline-gray;
9
+ border-top: 1px solid $bg-border;
10
+ color: $bg-border;
11
11
  display: block;
12
12
  height: 1px;
13
13
  margin: 1em 0;
@@ -21,18 +21,11 @@
21
21
 
22
22
  &__hr {
23
23
  border-bottom: 2px solid $light-gray;
24
- margin-bottom: $spacing-sm;
25
24
  width: 100%;
26
25
  }
27
26
 
28
27
  &__title {
29
- @include DistinctDisplay;
30
-
31
- color: $text-default;
32
- font-size: $heading-size4;
33
28
  font-variation-settings: 'wght' 600;
34
- line-height: $body-line-height-size1;
35
- margin-top: 4px; // better visual align with the close icon
36
29
  overflow: hidden;
37
30
  text-align: center;
38
31
  text-overflow: ellipsis;
@@ -1,7 +1,7 @@
1
1
  @use '../../allPartials' as *;
2
2
 
3
3
  .#{$px}-dropdown {
4
- @include text($body3);
4
+ @include text($bodySmall);
5
5
 
6
6
  &__trigger {
7
7
  align-items: center;
@@ -77,7 +77,7 @@
77
77
  }
78
78
 
79
79
  &__item {
80
- @include text($body3);
80
+ @include text($bodySmall);
81
81
 
82
82
  align-items: center;
83
83
  display: flex;
@@ -21,6 +21,11 @@
21
21
  gap: $spacing-micro;
22
22
  overflow: hidden;
23
23
 
24
+ &--action,
25
+ &--number {
26
+ font-variation-settings: 'wght' 600;
27
+ }
28
+
24
29
  span {
25
30
  color: inherit;
26
31
  overflow: hidden;
@@ -30,16 +30,16 @@ $chevron-scale: 0.8;
30
30
 
31
31
  .#{$px}-filter {
32
32
  &-header {
33
- margin-bottom: $spacing-md;
33
+ margin-bottom: $spacing-sm;
34
34
 
35
35
  legend {
36
36
  padding-inline: 0; // needed for default browser styles
37
37
  }
38
38
 
39
39
  &__back {
40
- @include text($body2); // workaround where the tertiary button text is not scaling at different breakpoints
41
-
42
- margin-top: $spacing-sm;
40
+ .#{$px}-text.#{$px}-text--labelMedium {
41
+ font-variation-settings: 'wght' 600;
42
+ }
43
43
  }
44
44
  }
45
45
 
@@ -57,15 +57,12 @@ $chevron-scale: 0.8;
57
57
  display: flex;
58
58
  flex-direction: column;
59
59
  gap: $spacing-sm;
60
- padding-bottom: $spacing-sm;
61
60
 
62
61
  .#{$px}-input {
63
62
  align-items: center;
64
63
  height: unset;
65
64
 
66
65
  &__label {
67
- @include text($body2);
68
-
69
66
  color: inherit;
70
67
  margin-bottom: 0;
71
68
  }
@@ -77,14 +74,18 @@ $chevron-scale: 0.8;
77
74
  width: $body-line-height-size3;
78
75
  }
79
76
 
80
- &__validation {
77
+ &__validation,
78
+ &__empty-validation {
81
79
  display: none;
82
80
  }
83
81
  }
84
82
  }
85
83
 
86
84
  &__view-all {
87
- @include text($body2); // workaround where the tertiary button text is not scaling at different breakpoints
85
+ align-items: center;
86
+ display: flex;
87
+ flex-direction: row;
88
+ justify-content: center;
88
89
  }
89
90
 
90
91
  &.is-opening {
@@ -101,8 +102,10 @@ $chevron-scale: 0.8;
101
102
  &__wrapper {
102
103
  display: flex;
103
104
  flex-direction: row;
104
- height: 40px;
105
105
  justify-content: space-between;
106
+ .#{$px}-text {
107
+ font-variation-settings: 'wght' 600;
108
+ }
106
109
  }
107
110
  }
108
111
  }
@@ -19,7 +19,7 @@
19
19
  padding: 8px;
20
20
  text-align: center;
21
21
 
22
- @include text($string2);
22
+ @include text($bodySmall);
23
23
  }
24
24
 
25
25
  .icon-wrapper {
@@ -95,15 +95,13 @@
95
95
  }
96
96
 
97
97
  &:hover {
98
- background-color: $button-hover;
99
-
100
98
  & svg {
101
- color: $pure-white;
102
- fill: $pure-white;
99
+ color: $cta-hover;
100
+ fill: $cta-hover;
103
101
  margin-inline-end: unset;
104
102
 
105
103
  path {
106
- fill: $pure-white;
104
+ fill: $cta-hover;
107
105
  }
108
106
  }
109
107
  }
@@ -9,27 +9,19 @@ $lg: #{$px}-input--lg;
9
9
  flex-direction: column;
10
10
  width: 100%;
11
11
 
12
- &--hidden {
12
+ &--hidden,
13
+ &__label--hidden {
13
14
  @include hidden;
14
15
  }
15
16
 
16
- &__label {
17
- @include text($string2);
18
-
19
- color: $pure-black;
17
+ &__label.#{$px}-text {
20
18
  font-variation-settings: 'wght' 600;
21
- margin-bottom: 0.5rem;
19
+ margin-bottom: $spacing-xsm;
22
20
  width: fit-content;
23
21
  word-break: break-word;
24
-
25
- &--hidden {
26
- @include hidden;
27
- }
28
22
  }
29
23
 
30
24
  &__wrapper {
31
- @include text($string2);
32
-
33
25
  accent-color: $black-100;
34
26
  align-items: center;
35
27
  border: 1px solid $black-100;
@@ -42,7 +34,8 @@ $lg: #{$px}-input--lg;
42
34
  position: relative;
43
35
 
44
36
  &::placeholder {
45
- font-variation-settings: 'wght' 400;
37
+ color: $cta-inactive;
38
+ font-variation-settings: 'wght' 600;
46
39
  }
47
40
 
48
41
  &:focus-visible,
@@ -52,6 +45,8 @@ $lg: #{$px}-input--lg;
52
45
 
53
46
  .#{$px}-input__wrapper__input,
54
47
  .#{$px}-input__input {
48
+ @include text($bodyMedium);
49
+
55
50
  border: none;
56
51
  margin: 0;
57
52
  padding: 0;
@@ -72,7 +67,7 @@ $lg: #{$px}-input--lg;
72
67
  }
73
68
 
74
69
  &__input {
75
- @include text($string2);
70
+ @include text($bodyMedium);
76
71
 
77
72
  accent-color: $black-100;
78
73
  border: 1px solid $black-100;
@@ -103,6 +98,10 @@ $lg: #{$px}-input--lg;
103
98
  overflow: hidden;
104
99
  }
105
100
 
101
+ &__empty-validation {
102
+ line-height: $spacing-sm;
103
+ }
104
+
106
105
  // Inline
107
106
  &--inline {
108
107
  align-items: center;
@@ -197,9 +196,18 @@ $lg: #{$px}-input--lg;
197
196
 
198
197
  .#{$px}-radio-input,
199
198
  .#{$px}-checkbox-input {
199
+ .#{$px}-input__label {
200
+ @include text($bodyMedium);
201
+
202
+ font-variation-settings: 'wght' 600;
203
+ margin-bottom: 0;
204
+ }
205
+
200
206
  .#{$px}-input__input {
201
207
  align-self: flex-start;
202
208
  cursor: pointer;
209
+ height: 16px;
210
+ width: 16px;
203
211
  }
204
212
 
205
213
  &.#{$px}-input--inline {
@@ -4,23 +4,44 @@
4
4
  color: $pure-black;
5
5
  text-decoration: none;
6
6
 
7
- &--email,
8
- &--link {
9
- @include underline;
7
+ &--email.#{$px}-link--email,
8
+ &--link.#{$px}-link--link,
9
+ &--linkSmall,
10
+ &--linkMedium,
11
+ &--linkLarge {
12
+ @include underline($offset: 1px);
13
+ }
14
+
15
+ &--linkLarge {
16
+ @include text($linkLarge);
17
+ }
18
+
19
+ &--linkMedium {
20
+ @include text($linkMedium);
21
+ }
22
+
23
+ &--linkSmall {
24
+ @include text($linkSmall);
25
+ }
26
+
27
+ &--linkStylised {
28
+ @include text($linkStylised);
10
29
  }
11
30
 
12
31
  &--email,
13
32
  &--link {
14
33
  &:hover,
15
34
  &:focus-visible {
16
- @include underline($color: $dark-gray);
17
-
18
35
  color: $dark-gray;
19
36
  }
20
37
  }
21
38
 
22
39
  &--email {
23
- @include text($email);
40
+ @include text($linkMedium);
41
+
42
+ .#{$px}-text {
43
+ font-variation-settings: 'wght' 600;
44
+ }
24
45
  }
25
46
 
26
47
  &--link {
@@ -28,7 +49,7 @@
28
49
  }
29
50
 
30
51
  &--snwHeaderLink {
31
- @include text($snwHeaderLink);
52
+ @include text($linkStylised);
32
53
 
33
54
  padding: 0.5rem 0.625rem calc(0.5rem + 2px); // 1 px so that the bottom border of the nav counts as part of the button
34
55
  position: relative;
@@ -51,7 +72,7 @@
51
72
  &--snwFlyoutLink {
52
73
  border-bottom: 1px solid transparent;
53
74
 
54
- @include text($snwFlyoutLink);
75
+ @include text($linkLarge);
55
76
 
56
77
  &:hover,
57
78
  &:focus-visible {
@@ -4,9 +4,13 @@
4
4
  align-items: center;
5
5
  display: flex;
6
6
  flex-direction: column;
7
- gap: $spacing-xsm;
7
+ gap: $spacing-micro;
8
8
  text-align: center;
9
9
 
10
+ &__link .#{$px}-text {
11
+ font-variation-settings: 'wght' 400;
12
+ }
13
+
10
14
  &__description.#{$px}-text {
11
15
  margin-bottom: 0;
12
16
  }
@@ -5,6 +5,12 @@
5
5
  max-width: 30rem;
6
6
  }
7
7
 
8
+ .#{$px}-link {
9
+ .seldon-text--link {
10
+ text-decoration: none;
11
+ }
12
+ }
13
+
8
14
  &--item {
9
15
  // mobile first
10
16
  grid-column: span 2;
@@ -26,8 +26,8 @@
26
26
 
27
27
  &__close {
28
28
  position: absolute;
29
- right: 0.4rem;
30
- top: 0.4rem;
29
+ right: $spacing-sm;
30
+ top: $spacing-sm;
31
31
  z-index: 100;
32
32
  }
33
33
  }